@camstack/addon-admin-ui 1.2.635 → 1.2.636

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 (130) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/assets/{Addons-it-7xyWO.js → Addons-BPHEBwgB.js} +3 -3
  3. package/dist/assets/{AdminPage-C28MWSEJ.js → AdminPage-D13CJb8Q.js} +1 -1
  4. package/dist/assets/{AdminSectionedPage-N7ZzoaCA.js → AdminSectionedPage-BMFLLxeJ.js} +1 -1
  5. package/dist/assets/{AiProfiles-DvvGmPqc.js → AiProfiles-BS82tvr_.js} +2 -2
  6. package/dist/assets/{Authentication-CdkAuFpQ.js → Authentication-Fcsaeo6T.js} +1 -1
  7. package/dist/assets/Build-L6hr034C.js +39 -0
  8. package/dist/assets/{Calendars-Bl2YxKcY.js → Calendars-Sq4Gc6IV.js} +1 -1
  9. package/dist/assets/{CameraGrids-BmuQfQwD.js → CameraGrids-SZQaxv-J.js} +1 -1
  10. package/dist/assets/{Cluster-BHVazygn.js → Cluster-AYu0bC0y.js} +1 -1
  11. package/dist/assets/CompositionBlockEditor-DLKzOT_Z.js +2 -0
  12. package/dist/assets/CompositionEditorPage-D9X-zVQH.js +1 -0
  13. package/dist/assets/{Data-DMpGwsud.js → Data-m24XW_1A.js} +2 -2
  14. package/dist/assets/DeviceDetail-CtBuTHpi.js +2 -0
  15. package/dist/assets/{Devices-DfUS0XHQ.js → Devices-DruLtWCC.js} +1 -1
  16. package/dist/assets/{EmbedPlayerPage-CXqkku3M.js → EmbedPlayerPage-BDyIh4lQ.js} +1 -1
  17. package/dist/assets/{History-Bu9dClRP.js → History-B7zXtCqx.js} +1 -1
  18. package/dist/assets/{Identity-P-9FfQY9.js → Identity-D7h9VlxP.js} +1 -1
  19. package/dist/assets/InstancesTable-DJAoGLT7.js +1 -0
  20. package/dist/assets/{IntegrationDetail-Ckv-pM-X.js → IntegrationDetail-_DjBAUfS.js} +1 -1
  21. package/dist/assets/{Integrations-DM8ICLWP.js → Integrations-D_D9IsZx.js} +2 -2
  22. package/dist/assets/{Integrations-BAN_fC9m.js → Integrations-RdXuFBLO.js} +1 -1
  23. package/dist/assets/{Library-Boz_glAa.js → Library-Bo5VMPHU.js} +1 -1
  24. package/dist/assets/{Locations-G2ggYLH1.js → Locations-Bzbx2I8T.js} +2 -2
  25. package/dist/assets/{Logs-BUWUMnM2.js → Logs-DPHzCD-k.js} +1 -1
  26. package/dist/assets/{MaskShapeCanvas-GSzxL0sb.js → MaskShapeCanvas-ByGbdZex.js} +1 -1
  27. package/dist/assets/{MotionZonesSettings-zuXI8WDy.js → MotionZonesSettings-CiobfarF.js} +1 -1
  28. package/dist/assets/MyAccess-a5m99pH9.js +2 -0
  29. package/dist/assets/{Network-Q3AVjSDy.js → Network-6_mGQvda.js} +1 -1
  30. package/dist/assets/{NodeAddonsSettingsPanel-DY9KrknX.js → NodeAddonsSettingsPanel-8E1KZ_Zn.js} +1 -1
  31. package/dist/assets/Notifications-CANpi0fl.js +1 -0
  32. package/dist/assets/{Pipeline-DzMkRdB8.js → Pipeline-DXy1uxGI.js} +1 -1
  33. package/dist/assets/{PrivacyMaskSettings-B4NUHvPx.js → PrivacyMaskSettings-CG3fC1u9.js} +1 -1
  34. package/dist/assets/{Recordings-d918Fao6.js → Recordings-U1FdSuDg.js} +1 -1
  35. package/dist/assets/{ScanSubnetEditor-C7Np_Myd.js → ScanSubnetEditor-Daxor7Ws.js} +1 -1
  36. package/dist/assets/{SceneMonitorEditor-D5EfTLG4.js → SceneMonitorEditor-DoUH3vKa.js} +1 -1
  37. package/dist/assets/{SessionsList--ByXUdry.js → SessionsList-CLG4ubwk.js} +1 -1
  38. package/dist/assets/{Showroom-CpQU2YYQ.js → Showroom-BHPAz8BT.js} +1 -1
  39. package/dist/assets/{StorageLocationsTable-Cb-zvsAa.js → StorageLocationsTable-R3JA97a5.js} +1 -1
  40. package/dist/assets/{System-c-od2eUi.js → System-BP4Cs93o.js} +1 -1
  41. package/dist/assets/{Templates-DbOHcEoP.js → Templates-XTi8n4d2.js} +1 -1
  42. package/dist/assets/{Terminal-vgjKTZ6i.js → Terminal-BCojSdwl.js} +1 -1
  43. package/dist/assets/{TrainingProviders-DwApoYD1.js → TrainingProviders-DNZfikzc.js} +1 -1
  44. package/dist/assets/{Viewer-wmQSDFx4.js → Viewer-B5-4q7UR.js} +1 -1
  45. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BJYMJYN7.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CsPCUaXy.js} +1 -1
  46. package/dist/assets/{action-draft-SrqFGFVW.js → action-draft-BOfrcBkB.js} +1 -1
  47. package/dist/assets/{archive-CnD3EIbI.js → archive-CbCQODIH.js} +1 -1
  48. package/dist/assets/{assignment-candidates-JnnkKMNk.js → assignment-candidates-BVHvGld8.js} +1 -1
  49. package/dist/assets/{authed-media-b_KsU6o6.js → authed-media-D1AyMZAW.js} +1 -1
  50. package/dist/assets/{bell-off-DXoIeft3.js → bell-off-0BRa5Xnw.js} +1 -1
  51. package/dist/assets/{boxes-2HiFvbRi.js → boxes-DwaGiTWo.js} +1 -1
  52. package/dist/assets/{calendar-clock-BdVpCjGZ.js → calendar-clock-DxXmjbX-.js} +1 -1
  53. package/dist/assets/{circle-arrow-up-DtE1a3jK.js → circle-arrow-up-QFgY2pDM.js} +1 -1
  54. package/dist/assets/circle-slash-D1PU0Pws.js +1 -0
  55. package/dist/assets/{client-DtixJSIH.js → client-C0lbTORN.js} +7 -7
  56. package/dist/assets/create-composition-rjKVG7Ea.js +2 -0
  57. package/dist/assets/crop-BE9be46d.js +1 -0
  58. package/dist/assets/{database-zap-hwvWqFAr.js → database-zap-DM49YcQ2.js} +1 -1
  59. package/dist/assets/{device-integration-icon-JcbJW-sx.js → device-integration-icon-DpDOvLri.js} +1 -1
  60. package/dist/assets/device-picker-model-CUDIDEin.js +1 -0
  61. package/dist/assets/dist-CqSJqAHI.js +839 -0
  62. package/dist/assets/{dist-DtXy-_hV.js → dist-HZnBedB7.js} +1 -1
  63. package/dist/assets/{eraser-0igUeEn4.js → eraser-C49V6Xgz.js} +1 -1
  64. package/dist/assets/{file-up-Bim5lEKk.js → file-up-DJCy37j8.js} +1 -1
  65. package/dist/assets/{hard-drive-download-BqaDoqeT.js → hard-drive-download-CvIZPfEe.js} +1 -1
  66. package/dist/assets/{hostInit-Zt1c3yOY.js → hostInit-CfH1B74s.js} +1 -1
  67. package/dist/assets/{icons-DWvhrrHw.js → icons-BAw5ExT5.js} +1 -1
  68. package/dist/assets/index-DosV7QmO.js +4 -0
  69. package/dist/assets/{key-OpPYfUdn.js → key-QeyFcY2r.js} +1 -1
  70. package/dist/assets/{languages-NKFv36FH.js → languages-flftEeCc.js} +1 -1
  71. package/dist/assets/{layers-BYYEeSk8.js → layers-I2gIsH5w.js} +1 -1
  72. package/dist/assets/{link-2-off-BQUSK1Q1.js → link-2-off-CDW3nS2X.js} +1 -1
  73. package/dist/assets/{linked-devices-model-CNibZiAj.js → linked-devices-model-BTKuEEFr.js} +1 -1
  74. package/dist/assets/{memory-stick-FrjSgbSx.js → memory-stick-3dE96Zxv.js} +1 -1
  75. package/dist/assets/{message-square-plus-R1KzFT_3.js → message-square-plus-DGwEztIa.js} +1 -1
  76. package/dist/assets/{mf-entry-bootstrap-0-b11ec2f0.js → mf-entry-bootstrap-0-eac89cb1.js} +2 -2
  77. package/dist/assets/{mic-off-D-uv270W.js → mic-off-BmdlN5My.js} +1 -1
  78. package/dist/assets/{monitor-off-23GJfNCk.js → monitor-off-wdJY3-q4.js} +1 -1
  79. package/dist/assets/{monitor-smartphone-Bv9btLO7.js → monitor-smartphone-Bl6voNmx.js} +1 -1
  80. package/dist/assets/mount-CUDIDEin.js +1 -0
  81. package/dist/assets/{player-overlays-DS6dT7SD.js → player-overlays-K3LnyuXU.js} +1 -1
  82. package/dist/assets/remoteEntry-R0h-c7zx.js +1 -0
  83. package/dist/assets/{ruler-B5-PAq3K.js → ruler-2SK6v4x2.js} +1 -1
  84. package/dist/assets/{scan-eye-B6Jzl98g.js → scan-eye-C8_EFUcN.js} +1 -1
  85. package/dist/assets/{scissors-DSuf9Nu7.js → scissors-C6KYQIFW.js} +1 -1
  86. package/dist/assets/{search-x-DikQGG4z.js → search-x-D-Hg9O-Y.js} +1 -1
  87. package/dist/assets/{send-DjOMX7BE.js → send-CAIDeIAh.js} +1 -1
  88. package/dist/assets/{settings-2-RGt6KSqH.js → settings-2-CjaITzm2.js} +1 -1
  89. package/dist/assets/{shapes-C2fW7MJb.js → shapes-DtaNsx8G.js} +1 -1
  90. package/dist/assets/{sigma-BhKqPZ7F.js → sigma-PjHLdD5t.js} +1 -1
  91. package/dist/assets/src-BnhYqWbx.js +169 -0
  92. package/dist/assets/{step-inspector-model-BuQhYJra.js → step-inspector-model-vWbbAD3j.js} +1 -1
  93. package/dist/assets/{table-2-CMyjawoR.js → table-2-C9VskvlI.js} +1 -1
  94. package/dist/assets/{timer-reset-B7vcTXYk.js → timer-reset-5MpoA_ms.js} +1 -1
  95. package/dist/assets/{ungroup-cZrrI4SI.js → ungroup-BA2l_gxU.js} +1 -1
  96. package/dist/assets/{unlink-CU8i3fPe.js → unlink-iGZ9azi9.js} +1 -1
  97. package/dist/assets/{usb-CZTccxRm.js → usb-B7ktYeJc.js} +1 -1
  98. package/dist/assets/{use-scenes-feed-DzJr-F4l.js → use-scenes-feed-Z9dHPg2s.js} +1 -1
  99. package/dist/assets/{use-stationary-objects-DWdYOvvX.js → use-stationary-objects-xEWFdcbm.js} +1 -1
  100. package/dist/assets/{useAdminDeviceRemoval-BRmWRglP.js → useAdminDeviceRemoval-BskV-B_E.js} +1 -1
  101. package/dist/assets/useEventInvalidation-CUDIDEin.js +1 -0
  102. package/dist/assets/{useNodeUrlSelection-BHycntFj.js → useNodeUrlSelection-PpcSePkt.js} +1 -1
  103. package/dist/assets/useTemplateSave-DlVM9rMd.js +1 -0
  104. package/dist/assets/user-round-Bo7YdtBg.js +1 -0
  105. package/dist/assets/{user-x-C8J-JEQi.js → user-x-D3xK9W1_.js} +1 -1
  106. package/dist/assets/{variable-B1tjLNN5.js → variable-CWUlGlqi.js} +1 -1
  107. package/dist/assets/{video-lKXIQOeO.js → video-DBmZRVRb.js} +1 -1
  108. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-aKVCr1TV.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BDhTmtK9.js} +2 -2
  109. package/dist/index.html +7 -7
  110. package/dist/server/addon.js +28 -6
  111. package/package.json +2 -2
  112. package/dist/assets/Build-Dj-J_LDL.js +0 -39
  113. package/dist/assets/CompositionBlockEditor-BJo6-Hg-.js +0 -2
  114. package/dist/assets/CompositionEditorPage-CSgC3j3b.js +0 -1
  115. package/dist/assets/DeviceDetail-C5qPLFqX.js +0 -2
  116. package/dist/assets/InstancesTable-D2wYEpEv.js +0 -1
  117. package/dist/assets/MyAccess-BEvsl84G.js +0 -2
  118. package/dist/assets/Notifications-B09FRQLf.js +0 -1
  119. package/dist/assets/circle-slash-DD5DGeBE.js +0 -1
  120. package/dist/assets/create-composition-CdHcgM5T.js +0 -2
  121. package/dist/assets/crop-DtJsKDRR.js +0 -1
  122. package/dist/assets/device-picker-model-BhZ3nUKX.js +0 -1
  123. package/dist/assets/dist-DN98Ncd8.js +0 -839
  124. package/dist/assets/index-IUYaCNr3.js +0 -4
  125. package/dist/assets/mount-BhZ3nUKX.js +0 -1
  126. package/dist/assets/remoteEntry-C8Nu6Wkp.js +0 -1
  127. package/dist/assets/src-D1sUPCi1.js +0 -169
  128. package/dist/assets/useEventInvalidation-BhZ3nUKX.js +0 -1
  129. package/dist/assets/useTemplateSave-BIt_84s3.js +0 -1
  130. package/dist/assets/user-round-Cdt6x46z.js +0 -1
@@ -1 +0,0 @@
1
- import{C as e,J as t,K as n,R as r,S as i,V as a,Y as o,et as s,k as c,o as l,x as u,z as d}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-CEyXHAdg.js";import{Jn as f,Or as ee,Tr as p,V as te,Yn as m,Yt as h,ct as ne,er as re,gt as ie,ia as ae,kn as g,zn as _}from"./player-overlays-DS6dT7SD.js";import{Mr as v}from"./client-DtixJSIH.js";import{t as oe}from"./link-2-off-BQUSK1Q1.js";import{Ai as se,Da as y,Dn as b,Dt as ce,Gr as x,Hn as le,Jr as S,Mi as C,Mt as ue,On as w,Ur as T,Wr as E,Yn as de,Yr as D,hf as O,hr as k,ki as fe,kt as A,qn as pe,rc as j,ri as me,xa as M,zi as N}from"./src-D1sUPCi1.js";import{t as P}from"./useTranslation-BJr-n0es.js";import{$ as he,Fr as ge,G as F,Ir as _e,Rr as I,X as L,Y as R,Z as ve,at as z,ct as ye,et as be,it as B,lt as xe,nt as Se,ot as Ce,r as we,rt as Te,st as Ee,tt as V}from"./index-IUYaCNr3.js";import{t as H}from"./NodeAddonsSettingsPanel-DY9KrknX.js";s();var De=[[[`addons`,`listCapabilityProviders`]],[[`addons`,`list`]]],U=`text-[10px]`;function W(){let e=l();return M({onSuccess:()=>{for(let t of De)e.invalidateQueries({queryKey:t})}})}function G({addonId:e,displayName:t,message:n}){let{t:r}=P(),a=ne(),o=W();return i(O,{icon:o.isPending?p:_,variant:`ghost`,size:`sm`,"aria-label":r(`integrationHub.addonControls.restartNamed`,`Restart {{name}}`,{name:t}),disabled:o.isPending,onClick:()=>void a({title:r(`integrationHub.addonControls.restart2`,`Restart "{{displayName}}"?`,{displayName:t}),message:n,confirmLabel:r(`integrationHub.addonControls.restart`,`Restart`),variant:`danger`}).then(t=>t?o.mutateAsync({addonId:e}):void 0)})}function Oe({addonId:e,displayName:t,iconOnly:n=!1,description:r}){let{t:a}=P(),o=W(),s=r??a(`integrationHub.addonControls.restartingTheAddonBouncesIts`,`Restarting the addon bounces its subprocess — the provider will briefly drop and reconnect automatically.`);return n?i(G,{addonId:e,displayName:t,message:s}):i(le,{label:a(`integrationHub.addonControls.restart`,`Restart`),icon:_,size:`sm`,title:a(`integrationHub.addonControls.restart2`,`Restart "{{displayName}}"?`,{displayName:t}),description:s,confirmLabel:a(`integrationHub.addonControls.restart`,`Restart`),triggerVariant:`ghost`,confirmVariant:`danger`,disabled:o.isPending,action:()=>o.mutateAsync({addonId:e})})}var ke=600,K=c(null);function q({id:n,title:r,icon:a,actions:o,framed:s=!1,children:c}){let{t:l}=P(),f=d(K),p=t(null),m=`integration-section-${n}`;J(p,f,n);let h=e(u,{children:[f===null?null:i(I,{to:f.sectionHref(n),"aria-label":l(`integrationHub.integrationSection.linkTo`,`Link to {{title}}`,{title:r}),title:l(`integrationHub.integrationSection.linkTo`,`Link to {{title}}`,{title:r}),className:`rounded p-0.5 text-foreground-subtle/60 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40`,children:i(ee,{className:`h-3 w-3`,"aria-hidden":!0})}),o]});return s?i(`div`,{ref:p,className:`scroll-mt-4`,children:i(pe,{headingId:m,title:r,icon:a,actions:h,children:c})}):e(`section`,{ref:p,"aria-labelledby":m,className:`scroll-mt-4 space-y-2`,children:[e(`header`,{className:`flex min-h-7 flex-wrap items-center gap-2 px-0.5`,children:[a!==void 0&&i(a,{className:`h-3.5 w-3.5 shrink-0 text-foreground-subtle`,"aria-hidden":!0}),i(`h2`,{id:m,className:`${te} min-w-0 flex-1`,children:r}),h]}),c]})}function J(e,t,n){let r=t?.requestedSection===n,i=t?.integrationId;a(()=>{if(!r)return;let t=()=>e.current?.scrollIntoView?.({block:`start`});t();let n=!1,i=()=>{n=!0},a=[`wheel`,`touchmove`,`keydown`];for(let e of a)window.addEventListener(e,i,{once:!0,passive:!0});let o=window.setTimeout(()=>{n||t()},ke);return()=>{window.clearTimeout(o);for(let e of a)window.removeEventListener(e,i)}},[r,i,e])}s();var Y=`max-h-72`,X=[{kind:`logs`,labelKey:`common.logs`,icon:g},{kind:`events`,labelKey:`common.events`,icon:ae}];function Ae({addonId:t,switcher:n}){let{t:r}=P(),[a,s]=o(`logs`);return e(q,{id:we,title:r(`integrationHub.addonIntegrationBody.activity`,`Activity`),framed:!0,actions:i(`div`,{className:`flex flex-wrap items-center gap-2`,children:i(`div`,{role:`group`,"aria-label":r(`integrationHub.addonIntegrationBody.activityStream`,`Activity stream`),className:`flex items-center gap-1`,children:X.map(({kind:t,labelKey:n,icon:o})=>e(N,{variant:`unstyled`,type:`button`,"aria-pressed":a===t,onClick:()=>s(t),className:`inline-flex items-center gap-1 rounded px-2 py-0.5 text-[11px] font-medium transition-colors ${a===t?`bg-primary/10 text-primary`:`text-foreground-subtle hover:bg-surface-hover hover:text-foreground`}`,children:[i(o,{className:`h-3 w-3`,"aria-hidden":!0}),r(n)]},t))})}),children:[n!==void 0&&i(`div`,{className:`px-3 pt-2`,children:n}),a===`logs`?i(w,{addonId:t,maxHeight:Y,showFilters:!1}):i(b,{addonId:t,category:`addon.*`,maxHeight:Y})]})}function Z({addonId:t,title:n=`Settings`,subtitle:r,fieldScope:a,onClose:o}){return i(T,{open:!0,onOpenChange:e=>!e&&o(),children:e(x,{width:`lg`,placement:`sheet-on-mobile`,scroll:`body`,className:`md:max-w-3xl`,children:[e(S,{children:[i(D,{children:n}),r&&i(`p`,{className:`text-xs text-foreground-subtle`,children:r})]}),i(E,{children:i(H,{nodeId:null,addonIds:[t],level:`global`,...a===void 0?{}:{fieldScope:a}})})]})})}function Q({addonId:e,title:t,onClose:n}){return i(Z,{addonId:e,title:t,fieldScope:`cluster`,onClose:n})}s();var $={md:{tile:`h-10 w-10 rounded-lg`,img:`h-7 w-7 rounded-md p-1`,fallback:`h-5 w-5`},sm:{tile:`h-5 w-5 rounded`,img:`h-5 w-5 rounded p-0.5`,fallback:`h-3.5 w-3.5`}};function je({addonId:e,fallback:t,tileClassName:n,size:r=`md`}){let[a,s]=o(!1),c=F(e),l=$[r];return i(`div`,{className:`${l.tile} flex items-center justify-center shrink-0 ${n}`,children:a||!c?i(t,{className:l.fallback,"aria-hidden":!0}):i(`img`,{src:c,alt:``,className:`${l.img} bg-white ring-1 ring-black/5`,onError:()=>s(!0)})})}var Me={ok:`bg-success`,off:`bg-foreground-subtle/60`,error:`bg-danger`,unknown:`border border-foreground-subtle bg-transparent`};function Ne(e,t){switch(t){case`ok`:return e(`instances.health.ok`,`Healthy`);case`error`:return e(`instances.health.error`,`Error`);case`off`:return e(`instances.health.off`,`Off`);case`unknown`:return e(`instances.health.unknown`,`Unknown`)}}function Pe({pills:t,selected:n,onSelect:r,fallbackIcon:a,install:o}){let{t:s}=P(),c=t.length>1;return!c&&o===void 0?null:i(`div`,{className:`px-3 pt-2`,children:e(`div`,{className:`flex flex-wrap items-center gap-1.5`,children:[c&&i(`div`,{role:`group`,"aria-label":s(`instances.filterByProvider`,`Filter by provider`),className:`flex min-w-0 flex-wrap items-center gap-1.5`,children:t.map(t=>e(N,{variant:`unstyled`,type:`button`,"aria-pressed":n===t.addonId,"data-testid":`instance-pill-${t.addonId}`,onClick:()=>r(n===t.addonId?null:t.addonId),className:`inline-flex min-w-0 max-w-full items-center gap-1.5 rounded-full border py-1 pl-1 pr-2.5 text-xs transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 ${n===t.addonId?`border-primary bg-primary/10 text-primary font-medium`:`border-border bg-surface text-foreground-subtle hover:bg-surface-hover hover:text-foreground`}`,children:[i(je,{addonId:t.addonId,fallback:a,tileClassName:``,size:`sm`}),i(`span`,{className:`truncate`,children:t.name}),i(`span`,{className:`shrink-0 text-[10px] font-normal text-foreground-subtle`,children:t.count}),i(`span`,{className:`h-1.5 w-1.5 shrink-0 rounded-full ${Me[t.health]}`,"aria-hidden":!0}),i(`span`,{className:`sr-only`,children:Ne(s,t.health)})]},t.addonId))}),o!==void 0&&e(I,{to:v(o.capability),className:`inline-flex min-w-0 max-w-full items-center gap-1.5 rounded-full border py-1 pl-1 pr-2.5 text-xs transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 border-dashed border-border pl-2 text-foreground-subtle hover:border-primary/50 hover:text-foreground`,children:[i(f,{className:`h-3.5 w-3.5 shrink-0`,"aria-hidden":!0}),i(`span`,{className:`truncate`,children:o.label})]})]})})}function Fe({providers:t,title:n,onPick:r,onCancel:a}){let{t:o}=P();return e(A,{open:!0,onClose:a,title:n,width:`lg`,children:[i(`p`,{className:`mb-3 text-xs text-foreground-muted`,children:o(`providerInstances.pickProvider`,`Choose which provider the new one belongs to.`)}),i(`div`,{className:`grid grid-cols-1 gap-2 sm:grid-cols-2`,children:t.map(t=>e(`button`,{type:`button`,onClick:()=>r(t.addonId),className:`flex flex-col items-start gap-1 rounded-lg border border-border bg-surface px-3 py-3 text-left text-xs transition-colors hover:border-primary/50 hover:bg-surface-hover`,children:[i(`span`,{className:`font-medium text-foreground`,children:t.name}),t.description.length>0&&i(`span`,{className:`line-clamp-2 text-[11px] text-foreground-subtle`,children:t.description})]},t.addonId))})]})}function Ie(e){let t=j({onSuccess:e.onSuccess,onError:t=>e.onError?.(t.message)});return{mutate:e=>t.mutate({...e}),isPending:t.isPending}}s();function Le({row:t,pinning:n,onChanged:r}){let{t:a}=P(),s=l(),[c,u]=o(null),d=Ie({onSuccess:()=>{u(null),s.invalidateQueries({queryKey:[L]}),r?.()},onError:u});return e(`span`,{className:`flex flex-col items-end gap-1`,children:[i(k,{checked:t.enabled,disabled:d.isPending,"aria-label":a(`providerInstances.enable`,`Enable {{name}}`,{name:t.name}),"data-testid":`instance-switch-${t.id}`,onCheckedChange:e=>{u(null),d.mutate({addonId:t.addonId,id:t.id,enabled:e})}}),n>0&&i(`span`,{className:`text-[11px] text-foreground-subtle`,children:a(`providerInstances.pinnedBy`,{count:n})}),c!==null&&i(`span`,{className:`text-[11px] text-danger`,role:`alert`,children:a(`providerInstances.switchFailed`,`Could not change {{name}}: {{message}}`,{name:t.name,message:c})})]})}s();var Re=`instance`;function ze(e){let t=[e.status?.detail,e.lastCheckedAt===void 0?void 0:new Date(e.lastCheckedAt).toLocaleString()].filter(e=>e!==void 0&&e.length>0);return t.length>0?t.join(` · `):void 0}function Be({row:t}){let{t:n}=P();return t.enabled?e(`span`,{className:`flex flex-wrap items-center gap-1`,children:[i(C,{variant:t.configured?`success`:`default`,children:t.configured?n(`providerInstances.configured`,`Configured`):n(`providerInstances.notConfigured`,`Not configured`)}),t.status!==void 0&&i(C,{variant:t.status.state===`error`?`danger`:t.status.state===`ok`?`success`:`default`,title:ze(t),children:z(t.status)})]}):i(`span`,{className:`flex flex-wrap items-center gap-1`,children:i(C,{variant:`default`,children:n(`providerInstances.off`,`Off`)})})}function Ve({row:e,functionCap:t}){let{t:n}=P(),r=l(),a=y({onSuccess:()=>void r.invalidateQueries()});return i(k,{checked:e.isActive,disabled:a.isPending,"aria-label":n(`providerInstances.enable`,`Enable {{name}}`,{name:e.providerName}),onCheckedChange:n=>a.mutate({capName:t,addonId:e.addonId,enabled:n})})}function He({functionCap:t,icon:a,title:s,subtitle:c,emptyTitle:d,emptyDescription:te,addLabel:ae,install:g,extraColumns:_,lead:v,rowActions:y,fixedRowActions:b,canDelete:x,pageActions:le,typedId:S,rowFilter:w}){let{t:T}=P(),E=ie(),D=l(),k=ne(),A=ve(t),j=ce({editKey:Re,newKey:`${Re}-new`}),[M,F]=o(null),[I,R]=o(null),z=fe({functionCap:`notification-output`}),B=r(e=>Ce(z.data??[],e).length,[z.data]),[Se,we]=o(null),[H,De]=o(null),U=n(()=>he(A.holders),[A.holders]),W=n(()=>Te(A.functionProviders,A.rows,A.displayNames),[A.functionProviders,A.rows,A.displayNames]),G=W.some(e=>e.addonId===H)?H:null,ke=n(()=>{let e=be(A.rows,G);return w===void 0?e:e.filter(w)},[A.rows,G,w]),K=r(e=>A.displayNames.get(e)??e,[A.displayNames]),q=r(async e=>{F(e.key),R(null);try{let t=await E.trpcClient.integrationInstances.testInstance.mutate({addonId:e.addonId,id:e.id,values:{}});R({name:e.name,verdict:xe(t)})}catch(t){let n=t instanceof Error?t.message:String(t);R({name:e.name,verdict:{status:`inconclusive`,error:n}})}finally{F(null)}},[E]),J=r(async e=>{let t=Ce(z.data??[],e.id),n=t.length>0?` ${T(`providerInstances.deletePinned`,`These notification targets use it and will stop delivering: {{names}}.`,{names:t.join(`, `)})}`:``;if(await k({title:T(`providerInstances.deleteTitle`,`Delete {{name}}?`,{name:e.name}),message:`${T(`providerInstances.deleteMessage`,`The record and its stored credentials are removed.`)}${n}`,confirmLabel:T(`common.delete`,`Delete`),variant:`danger`}))try{await E.trpcClient.integrationInstances.deleteInstance.mutate({addonId:e.addonId,id:e.id}),await D.invalidateQueries({queryKey:[L]})}catch(t){Ee({title:T(`providerInstances.deleteFailed`,`Could not delete`),message:`${e.name}: ${t instanceof Error?t.message:String(t)}`,severity:`critical`})}},[k,D,E,T,z.data]),Y=n(()=>A.rows.some(e=>e.kind===`instance`&&e.kindLabel!==void 0),[A.rows]),X=r((e,t)=>{e!==void 0&&_e(ge(e,t),()=>{D.invalidateQueries({queryKey:[L]})})},[D]),Ae=n(()=>[{key:`name`,nowrap:!1,header:T(`providerInstances.colName`,`Name`),sortValue:e=>e.name,render:t=>e(`span`,{className:`flex flex-col`,children:[i(`span`,{className:`font-medium ${t.kind===`instance`&&!t.enabled?`text-foreground-muted`:`text-foreground`}`,children:t.name}),t.kind===`fixed`&&t.description.length>0&&i(`span`,{className:`line-clamp-2 text-[11px] text-foreground-subtle`,title:t.description,children:t.description})]})},{key:`provider`,header:T(`providerInstances.colProvider`,`Provider`),sortValue:e=>e.providerName,render:e=>i(`span`,{className:`text-foreground-muted`,children:e.providerName})},...Y?[{key:`kind`,header:T(`providerInstances.colKind`,`Kind`),sortValue:e=>e.kind===`instance`?e.kindLabel??``:``,render:e=>i(`span`,{className:`text-foreground-muted`,children:e.kind===`instance`?e.kindLabel??``:``})}]:[],{key:`state`,header:T(`instances.colStatus`,`Status`),notSortableReason:T(`providerInstances.stateNotSortable`,`A row carries a badge, not a value to order by.`),render:e=>e.kind===`instance`?i(Be,{row:e}):i(C,{variant:e.isActive?`success`:`default`,children:e.isActive?T(`instances.active`,`Active`):T(`providerInstances.off`,`Off`)})},{key:`on`,header:T(`providerInstances.colOn`,`On`),notSortableReason:T(`providerInstances.onNotSortable`,`A switch is not a value to order by.`),render:e=>e.kind===`fixed`?i(Ve,{row:e,functionCap:t}):i(Le,{row:e,pinning:B(e.id)})},..._??[],{key:`actions`,align:`right`,notSortableReason:T(`providerInstances.actionsNotSortable`,`Row actions are not values.`),render:t=>e(`span`,{className:`inline-flex items-center gap-1`,children:[t.kind===`instance`&&t.connectPath!==void 0&&i(O,{icon:ee,variant:`ghost`,size:`sm`,"aria-label":T(`providerInstances.connectRow`,`Connect {{name}}`,{name:t.name}),onClick:()=>X(t.connectPath,t.id)}),t.kind===`instance`&&t.disconnectPath!==void 0&&i(O,{icon:oe,variant:`ghost`,size:`sm`,"aria-label":T(`providerInstances.disconnectRow`,`Disconnect {{name}}`,{name:t.name}),onClick:()=>X(t.disconnectPath,t.id)}),t.kind===`instance`&&t.canTest&&i(O,{icon:M===t.key?p:m,variant:`ghost`,size:`sm`,"aria-label":T(`providerInstances.testRow`,`Test {{name}}`,{name:t.name}),disabled:M!==null,onClick:()=>void q(t)}),t.kind===`instance`&&y?.(t),t.kind===`fixed`&&b?.(t),i(O,{icon:re,variant:`ghost`,size:`sm`,"aria-label":T(`providerInstances.editRow`,`Edit {{name}}`,{name:t.name}),onClick:()=>j.openEdit(V(t.addonId,t.kind===`instance`?t.id:void 0))}),i(Oe,{iconOnly:!0,addonId:t.addonId,displayName:t.providerName,description:T(`providerInstances.restartConfirm`,`Restarts the addon on the hub. If it shares a runner group, every addon in that group restarts with it.`)}),t.kind===`instance`&&(x?.(t)??!0)&&i(O,{icon:h,variant:`ghost`,size:`sm`,"aria-label":T(`providerInstances.deleteRow`,`Delete {{name}}`,{name:t.name}),onClick:()=>void J(t)})]})}],[_,j,t,B,y,b,x,J,X,q,Y,T,M]),Z;Z=A.state===`error`?i(`div`,{className:`p-3`,children:i(se,{title:T(`providerInstances.loadFailed`,`Could not load the list`),message:A.error??``,onRetry:A.refetch})}):A.state===`pending`?e(`div`,{className:`flex items-center gap-2 p-3 text-xs text-foreground-subtle`,children:[i(p,{className:`h-3 w-3 animate-spin`}),T(`providerInstances.loading`,`Loading…`)]}):A.rows.length===0?i(me,{icon:a,title:d,description:te}):i(de,{columns:Ae,rows:ke,rowKey:e=>e.key,bordered:!1,emptyMessage:T(`instances.noneForProvider`,`This provider has no instance yet.`)});let Q=A.holders.filter(e=>!U.includes(e)).map(e=>K(e.addonId)),$=U.length>0?void 0:Q.length>0?T(`instances.addBlocked`,`{{names}}: only one instance is allowed and it already exists.`,{names:Q.join(`, `)}):T(`instances.addNone`,`No provider here can hold instances.`);return e(pe,{headingId:`provider-instances-${t}`,title:s,icon:a,children:[i(`p`,{className:`px-3 pt-2 text-xs text-foreground-muted`,children:c}),A.state===`ready`&&$!==void 0&&i(`p`,{className:`px-3 pt-1 text-[11px] text-foreground-subtle`,children:$}),A.state===`ready`&&e(u,{children:[e(ue,{children:[le?.(A.rows.filter(e=>e.kind===`instance`)),e(N,{size:`sm`,variant:`primary`,disabled:$!==void 0,title:$,onClick:()=>{let e=U.find(e=>e.addonId===G)??(U.length===1?U[0]:void 0);e===void 0?j.openNew():j.openEdit(V(e.addonId,null))},children:[i(f,{className:`h-3.5 w-3.5`}),ae]})]}),i(Pe,{pills:W,selected:G,onSelect:De,fallbackIcon:a,...g===void 0?{}:{install:g}})]}),Z,A.state===`ready`&&A.rows.length>0&&i(Ue,{rows:A.rows,selected:Se,onSelect:we}),I!==null&&e(`div`,{className:`space-y-1 p-3`,children:[i(`p`,{className:`text-[11px] font-medium text-foreground`,children:I.name}),i(ye,{verdict:I.verdict})]}),A.state===`ready`&&j.state.mode===`new`&&i(Fe,{title:ae,providers:U.map(e=>({addonId:e.addonId,name:K(e.addonId),description:A.descriptions.get(e.addonId)??``})),onPick:e=>j.openEdit(V(e,null)),onCancel:j.close}),A.state===`ready`&&j.state.mode===`edit`&&i(We,{refValue:j.state.id,data:A,nameOf:K,onClose:j.close,onOpen:(e,t)=>j.openEdit(V(e,t)),...v===void 0?{}:{lead:v},...S===void 0?{}:{typedId:S}},j.state.id)]})}function Ue({rows:e,selected:t,onSelect:r}){let{t:a}=P(),o=n(()=>B(e),[e]),s=o[0];if(s===void 0)return null;let c=o.find(e=>e.addonId===t)??s;return i(`div`,{className:`p-3`,children:i(Ae,{addonId:c.addonId,switcher:o.length>1?i(`div`,{role:`group`,"aria-label":a(`providerInstances.activityProvider`,`Activity of`),className:`flex flex-wrap items-center gap-1`,children:o.map(e=>i(N,{variant:`unstyled`,type:`button`,"aria-pressed":e.addonId===c.addonId,onClick:()=>r(e.addonId),className:`rounded px-2 py-0.5 text-[11px] font-medium transition-colors ${e.addonId===c.addonId?`bg-primary/10 text-primary`:`text-foreground-subtle hover:bg-surface-hover hover:text-foreground`}`,children:e.name},e.addonId))}):void 0})})}function We({refValue:e,data:t,nameOf:n,onClose:r,onOpen:a,lead:o,typedId:s}){let c=Se(e);if(c.kind===`fixed`)return i(Q,{addonId:c.addonId,title:n(c.addonId),onClose:r});let l=t.holders.find(e=>e.addonId===c.addonId);if(l===void 0)return null;let u=c.kind===`instance`?l.instances.find(e=>e.id===c.id)??null:null;if(c.kind===`instance`&&u===null)return null;let d=t.rows.find(e=>e.kind===`instance`&&e.addonId===c.addonId&&e.id===u?.id);return i(Ge,{addonId:c.addonId,...o!==void 0&&d!==void 0?{lead:o(d)}:{},providerName:n(c.addonId),description:l.description,instance:u,onClose:r,onOpen:a,...s===void 0?{}:{typedId:s}})}function Ge(e){let{onOpen:n,onClose:r,onSaved:a,...o}=e,s=t(null),c=e.instance===null;return i(R,{...o,onSaved:e=>{c&&(s.current=e),a?.(e)},onClose:()=>{s.current===null?r():n(e.addonId,s.current)}})}export{je as n,U as r,He as t};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./browser-BHo8W_uH.js","./rolldown-runtime-Cyuzqnbw.js"])))=>i.map(i=>d[i]);
2
- import{a as e}from"./rolldown-runtime-Cyuzqnbw.js";import{t}from"./vite-preload-helper-kNaey6uv.js";import{C as n,J as r,K as i,S as a,V as o,Y as s,a as c,et as l,t as u,x as d}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-CEyXHAdg.js";import{Cn as f,Fi as p,Kt as m,Nr as h,Oa as g,Or as _,Pi as v,Q as y,Sr as b,Tr as x,Yt as S,_i as C,ct as w,er as T,fa as E,gt as D,pn as O,ri as k,ut as A}from"./player-overlays-DS6dT7SD.js";import{gi as j,hi as M}from"./client-DtixJSIH.js";import{c as N,f as ee}from"./video-lKXIQOeO.js";import{t as te}from"./monitor-smartphone-Bv9btLO7.js";import{t as ne}from"./unlink-CU8i3fPe.js";import{Ec as re,Hf as P,Hr as F,Ht as I,Oc as ie,Vn as ae,Vr as oe,bi as se,mf as L,zi as R}from"./src-D1sUPCi1.js";import{t as ce}from"./i18n-xBJb_nV7.js";import{t as z}from"./useTranslation-BJr-n0es.js";import"./mount-BhZ3nUKX.js";import{c as le,i as ue,l as B,s as V}from"./sso-popup-C1hR2YBu.js";import{I as H,Lr as U,Ur as de,n as W,zr as G}from"./index-IUYaCNr3.js";import{t as fe}from"./AdminSectionedPage-N7ZzoaCA.js";import{t as pe}from"./AdminPage-C28MWSEJ.js";import{D as me,O as he,_ as ge,a as _e,h as ve,r as ye,t as be,w as xe}from"./SessionsList--ByXUdry.js";l();var Se=`${M}/connect`,K={public:0,mesh:1,lan:2,"lan-ipv6":3};function Ce(e){switch(e.kind){case`public`:return e.interfaceKind===`vpn`?`mesh`:`public`;case`lan-ipv4`:return`lan`;case`lan-ipv6`:return`lan-ipv6`;case`custom`:return`public`;case`loopback`:case`app-link`:return null}}function q(e){return j(e)}function we(e){return e.startsWith(`https://`)}function Te(e){let t=e.flatMap(e=>{let t=Ce(e),n=q(e.baseUrl);return t===null||n===null?[]:[{endpoint:e,tier:t,origin:n}]}).toSorted((e,t)=>K[e.tier]-K[t.tier]||Number(t.endpoint.plausible)-Number(e.endpoint.plausible)||e.endpoint.priority-t.endpoint.priority),n=new Set;return t.flatMap(({endpoint:e,tier:t,origin:r})=>n.has(r)?[]:(n.add(r),[{origin:r,label:e.label,tier:t,secure:we(r),plausible:e.plausible}]))}function Ee(e,t,n=null){for(let r of[t,n]){if(r===null)continue;let t=q(r),n=e.find(e=>e.origin===t);if(n!==void 0)return n}return e[0]??null}function De(e){let t=new URL(Se);return t.searchParams.set(`hub`,e),t.toString()}var Oe=176,J={scheme:`https`};function ke(){let{t:e}=z(),t=ie(J),r=re(J).data?.roles.publicEndpoint.resolved??null;return n(`div`,{className:`rounded-lg border border-border bg-surface overflow-hidden`,children:[n(`div`,{className:`px-4 py-2.5 border-b border-border flex items-center gap-2`,children:[a(O,{className:`h-3.5 w-3.5 text-foreground-subtle`}),a(`div`,{className:`text-xs font-semibold text-foreground`,children:e(`connectPhone.title`)})]}),n(`div`,{className:`p-4 space-y-3`,children:[a(`p`,{className:`text-[11px] text-foreground-subtle`,children:e(`connectPhone.description`)}),t.isPending?n(`div`,{className:`flex items-center gap-2 text-[11px] text-foreground-subtle`,children:[a(x,{className:`h-3.5 w-3.5 animate-spin`}),e(`connectPhone.loading`)]}):t.isError?n(`div`,{className:`flex items-start gap-2 text-[11px] text-danger`,children:[a(m,{className:`h-3.5 w-3.5 mt-0.5 shrink-0`}),n(`div`,{className:`flex-1 min-w-0 space-y-1.5`,children:[a(`div`,{className:`break-words`,children:e(`connectPhone.error`,{message:t.error.message})}),a(R,{size:`sm`,variant:`ghost`,onClick:()=>void t.refetch(),children:e(`connectPhone.retry`)})]})]}):a(Ae,{candidates:Te(t.data.endpoints),preferredOrigin:r})]})]})}function Ae({candidates:e,preferredOrigin:t}){let{t:r}=z(),[o,c]=s(null),l=Ee(e,o,t),u=i(()=>l?De(l.origin):null,[l]);if(l===null||u===null)return a(`p`,{className:`text-[11px] text-foreground-subtle`,children:r(`connectPhone.empty`)});let d=e=>r(`connectPhone.tier.${e}`),f=e.map(e=>({value:e.origin,label:`${d(e.tier)} — ${e.origin}`}));return n(`div`,{className:`flex flex-col sm:flex-row gap-4`,children:[a(oe,{value:u,size:Oe,alt:r(`connectPhone.qrAlt`),className:`self-start`}),n(`div`,{className:`flex-1 min-w-0 space-y-3`,children:[n(`label`,{className:`block space-y-1`,children:[a(`span`,{className:`text-[11px] font-medium text-foreground`,children:r(`connectPhone.addressLabel`)}),a(A,{value:l.origin,options:f,onChange:e=>c(e.target.value)}),n(`span`,{className:`block text-[10px] text-foreground-subtle`,children:[d(l.tier),` · `,l.label]})]}),!l.secure&&a(Y,{text:r(`connectPhone.insecure`)}),!l.plausible&&a(Y,{text:r(`connectPhone.implausible`)}),n(`div`,{className:`space-y-1`,children:[a(`span`,{className:`text-[11px] font-medium text-foreground`,children:r(`connectPhone.linkLabel`)}),n(`div`,{className:`flex items-center gap-1 rounded-md border border-border bg-background px-2 py-1`,children:[a(`code`,{className:`flex-1 min-w-0 font-mono text-[11px] text-foreground break-all select-all`,children:u}),a(ae,{value:u,srLabel:r(`connectPhone.linkLabel`)})]})]}),a(`p`,{className:`text-[11px] text-foreground-subtle`,children:r(`connectPhone.signInHint`)})]})]})}function Y({text:e}){return n(`div`,{className:`flex items-start gap-2 rounded-md border border-warning/30 bg-warning/5 px-2.5 py-1.5 text-[11px] text-foreground`,children:[a(m,{className:`h-3.5 w-3.5 text-warning mt-0.5 shrink-0`}),a(`span`,{children:e})]})}l();function je(e){return new Date(e).toLocaleDateString()}function Me(){let{t:e}=z(),t=w(),i=P.useUtils(),c=P.auth.listLinkableProviders.useQuery(),l=P.auth.listOwnExternalIdentities.useQuery(),[u,d]=s(null),[f,m]=s(()=>B(window.location.search)),h=r(null),g=W(`Linking a sign-in account`),b=r(null);o(()=>()=>b.current?.(),[]);let[S,C]=s(null);o(()=>{if(f===null)return;let e=new URL(window.location.href);e.searchParams.delete(`linked`),e.searchParams.delete(`linkError`),window.history.replaceState({},``,e.pathname+e.search+e.hash)},[f]);let T=P.auth.beginExternalLink.useMutation({onSuccess:({url:e})=>{let t=h.current;if(h.current=null,t===null||t.closed){window.location.assign(e);return}let n=e=>{C(null),m(B(`?${e}`)),i.auth.listOwnExternalIdentities.invalidate()};b.current?.(),b.current=V(t,{onReturn:e=>{e.target===`profile`&&n(e.query)},onDone:e=>{e.target===`profile`&&n(e.query)},onClosed:()=>{b.current?.(),b.current=null,i.auth.listOwnExternalIdentities.invalidate()}}),t.location.href=y(le(e))},onError:e=>{h.current?.close(),h.current=null,C(null),d(e.message)}}),E=P.auth.unlinkOwnExternalIdentity.useMutation({onSuccess:()=>void i.auth.listOwnExternalIdentities.invalidate(),onError:e=>d(e.message)}),D=c.data??[],O=l.data??[],k=S!==null&&O.some(e=>e.provider===S);if(o(()=>{!k||S===null||(C(null),m({kind:`linked`,provider:S}))},[k,S]),D.length===0&&O.length===0)return null;let A=new Set(O.map(e=>e.provider)),j=e=>D.find(t=>t.provider===e)?.label??e,M=async(n,r)=>{await t({title:e(`users.linkedSignInsSection.unlinkSignInAccount`,`Unlink sign-in account`),message:e(`users.linkedSignInsSection.stopSigningInWithThis`,`Stop signing in with this {{label}} account?`,{label:r}),confirmLabel:e(`users.linkedSignInsSection.unlink`,`Unlink`),variant:`danger`})&&(d(null),E.mutate({provider:n.provider,subject:n.subject}))};return n(`div`,{"data-testid":`linked-sign-ins`,className:`rounded-lg border border-border bg-surface overflow-hidden`,children:[g.dialog,n(`div`,{className:`px-4 py-2.5 border-b border-border flex items-center gap-2`,children:[a(_,{className:`h-3.5 w-3.5 text-foreground-subtle`}),a(`div`,{className:`text-xs font-semibold text-foreground`,children:e(`users.linkedSignInsSection.linkedSignInAccounts`,`Linked sign-in accounts`)})]}),n(`div`,{className:`p-4 space-y-3`,children:[a(`p`,{className:`text-[11px] text-foreground-subtle`,children:e(`users.linkedSignInsSection.signInWithAnExternal`,`Sign in with an external account instead of your password. Only accounts you link here can sign you in; your two-factor authentication still applies.`)}),f?.kind===`linked`&&n(`div`,{className:`flex items-center gap-2 rounded-md border border-emerald-500/30 bg-emerald-500/5 px-3 py-2 text-xs text-foreground`,children:[a(v,{className:`h-3.5 w-3.5 text-emerald-500 shrink-0`}),e(`users.linkedSignIns.linkedNotice`,{provider:j(f.provider)})]}),(f?.kind===`error`||u)&&n(`div`,{className:`flex items-center gap-2 rounded-md border border-danger/20 bg-danger/10 px-3 py-2 text-xs text-danger`,children:[a(p,{className:`h-3.5 w-3.5 shrink-0`}),u??(f?.kind===`error`?f.message:``)]}),O.length>0&&a(`ul`,{className:`divide-y divide-border rounded-md border border-border`,children:O.map(t=>{let r=t.providerLabel??t.provider;return n(`li`,{className:`flex items-center gap-3 px-3 py-2 text-xs`,children:[n(`div`,{className:`flex-1 min-w-0`,children:[n(`div`,{className:`font-medium text-foreground truncate`,children:[r,!t.available&&a(`span`,{className:`ml-2 rounded bg-foreground-subtle/15 px-1.5 py-0.5 text-[10px] font-normal text-foreground-subtle`,children:e(`users.linkedSignInsSection.providerUnavailable`,`provider unavailable`)})]}),a(`div`,{className:`text-[11px] text-foreground-subtle truncate`,children:e(`users.linkedSignIns.linkedOn`,{label:t.label??t.subject,date:je(t.linkedAt)})})]}),n(R,{variant:`unstyled`,onClick:()=>void M(t,r),disabled:E.isPending,className:`inline-flex items-center gap-1 rounded px-2 py-1 text-[10px] text-danger hover:bg-danger/10 disabled:opacity-50`,children:[a(ne,{className:`h-3 w-3`}),e(`users.linkedSignInsSection.unlink`,`Unlink`)]})]},`${t.provider}|${t.subject}`)})}),a(`div`,{className:`flex flex-wrap gap-2`,children:D.filter(e=>!A.has(e.provider)).map(t=>n(R,{variant:`unstyled`,onClick:()=>{d(null),m(null),g.requestProof().then(e=>{e!==null&&(h.current=ue(null),C(h.current===null?null:t.provider),T.mutate({provider:t.provider,reauthToken:e}))})},disabled:T.isPending,className:`inline-flex items-center gap-1.5 rounded border border-border px-2.5 py-1 text-[11px] font-medium text-foreground hover:bg-surface-hover disabled:opacity-50`,children:[T.isPending&&T.variables?.provider===t.provider?a(x,{className:`h-3 w-3 animate-spin`}):a(_,{className:`h-3 w-3`}),e(`users.linkedSignIns.link`,{provider:t.label})]},t.provider))})]})]})}l();function Ne({value:r,size:i=192}){let{t:c}=z(),[l,u]=s(null),[d,f]=s(null);if(o(()=>{let n=!1;return t(()=>import(`./browser-BHo8W_uH.js`).then(t=>e(t.default,1)).then(async e=>{if(n)return;let t=e.create;if(typeof t!=`function`){f(`qrcode.create() unavailable in installed version`);return}try{let e=t(r,{errorCorrectionLevel:`M`});n||u(e)}catch(e){n||f(e instanceof Error?e.message:`QR generation failed`)}}),__vite__mapDeps([0,1]),import.meta.url).catch(()=>{n||f(`qrcode library not installed`)}),()=>{n=!0}},[r]),d)return a(`div`,{className:`flex items-center justify-center text-[10px] text-foreground-subtle text-center p-4`,style:{width:i,height:i},children:c(`users.totpQrCode.qrRenderingUnavailableUseThe`,`QR rendering unavailable — use the secret below.`)});if(!l)return a(`div`,{className:`flex items-center justify-center text-[10px] text-foreground-subtle animate-pulse`,style:{width:i,height:i},children:c(`users.totpQrCode.generating`,`Generating…`)});let p=l.modules.size,m=i/p,h=[];for(let e=0;e<p;e++)for(let t=0;t<p;t++)l.modules.data[e*p+t]&&h.push(a(`rect`,{x:t*m,y:e*m,width:m,height:m,fill:`currentColor`},`${t}-${e}`));return n(`svg`,{width:i,height:i,viewBox:`0 0 ${i} ${i}`,className:`text-black`,children:[a(`rect`,{x:0,y:0,width:i,height:i,fill:`white`}),h]})}l();function Pe(){let{t:e}=z(),t=D(),[r,i]=s(``),[o,c]=s(``),[l,d]=s(``),[f,m]=s(null),h=u({mutationFn:e=>t.changeOwnPassword(e),onSuccess:()=>{m({kind:`success`,msg:`Password updated.`}),i(``),c(``),d(``)},onError:e=>{m({kind:`error`,msg:e instanceof Error?e.message:`Update failed`})}}),g=o.length>0&&l.length>0&&o!==l,_=o.length>0&&o.length<8,y=r.length>=1&&o.length>=8&&o===l;return n(`div`,{className:`rounded-lg border border-border bg-surface overflow-hidden`,children:[n(`div`,{className:`px-4 py-2.5 border-b border-border flex items-center gap-2`,children:[a(ee,{className:`h-3.5 w-3.5 text-foreground-subtle`}),a(`div`,{className:`text-xs font-semibold text-foreground`,children:e(`systemPage.myAccess.changePassword`,`Change password`)})]}),n(`div`,{className:`p-4 space-y-3`,children:[a(X,{label:e(`systemPage.myAccess.currentPassword`,`Current password`),value:r,onChange:i,autoComplete:`current-password`}),a(X,{label:e(`systemPage.myAccess.newPassword`,`New password`),value:o,onChange:c,autoComplete:`new-password`,hint:e(`systemPage.myAccess.atLeast8Characters`,`At least 8 characters.`)}),a(X,{label:e(`systemPage.myAccess.confirmNewPassword`,`Confirm new password`),value:l,onChange:d,autoComplete:`new-password`}),(g||_)&&a(`div`,{className:`text-[11px] text-danger`,children:g?e(`systemPage.myAccess.passwordsDoNotMatch`,`Passwords do not match.`):e(`systemPage.myAccess.newPasswordMustBeAt`,`New password must be at least 8 characters.`)}),f&&n(`div`,{className:`text-[11px] flex items-center gap-1 ${f.kind===`success`?`text-success`:`text-danger`}`,children:[f.kind===`success`?a(v,{className:`h-3 w-3`}):a(p,{className:`h-3 w-3`}),f.msg]}),a(`div`,{className:`flex justify-end`,children:n(R,{onClick:()=>{m(null),h.mutate({currentPassword:r,newPassword:o})},disabled:!y||h.isPending,children:[h.isPending?a(x,{className:`h-3 w-3 animate-spin`}):a(b,{className:`h-3 w-3`}),e(`systemPage.myAccess.updatePassword`,`Update password`)]})})]})]})}function X({label:e,value:t,onChange:r,autoComplete:i,hint:o}){return n(`div`,{className:`space-y-1`,children:[a(`label`,{className:`text-[10px] uppercase tracking-wide text-foreground-subtle`,children:e}),a(L,{type:`password`,value:t,onChange:e=>r(e.target.value),autoComplete:i,className:`w-full rounded border border-border bg-background px-2 py-1.5 text-xs text-foreground focus:outline-none focus:ring-1 focus:ring-primary`}),o&&a(`div`,{className:`text-[10px] text-foreground-subtle`,children:o})]})}function Fe({username:e}){let{t}=z(),r=D(),l=c({queryKey:[`auth`,`getOwnTotpStatus`],queryFn:()=>r.getOwnTotpStatus()}),f=l.data,[m,h]=s(null),[g,_]=s(``),[y,b]=s(null),[S,w]=s(!1),T=u({mutationFn:()=>r.setupOwnTotp(),onSuccess:e=>{h({secret:e.secret,otpauthUrl:e.otpauthUrl}),_(``),b(null)},onError:e=>b(e instanceof Error?e.message:`Setup failed`)}),E=u({mutationFn:e=>r.confirmOwnTotp(e),onSuccess:()=>{h(null),_(``),b(null),l.refetch()},onError:e=>b(e instanceof Error?e.message:`Confirmation failed — code did not match`)}),k=W(`Turning off two-factor authentication`),A=u({mutationFn:async()=>{let e=await k.requestProof();return e===null?null:r.disableOwnTotp({reauthToken:e})},onSuccess:()=>{b(null),l.refetch()},onError:e=>b(e instanceof Error?e.message:`Disable failed`)});o(()=>{if(!S)return;let e=setTimeout(()=>w(!1),1500);return()=>clearTimeout(e)},[S]);let j=i(()=>l.isLoading?`loading`:m?`setup_in_progress`:f?.enabled?`enrolled`:`not_enrolled`,[l.isLoading,f?.enabled,m]);return n(`div`,{className:`rounded-lg border border-border bg-surface overflow-hidden`,children:[k.dialog,n(`div`,{className:`px-4 py-2.5 border-b border-border flex items-center gap-2`,children:[a(O,{className:`h-3.5 w-3.5 text-foreground-subtle`}),a(`div`,{className:`text-xs font-semibold text-foreground`,children:t(`systemPage.myAccess.twoFactorAuthentication`,`Two-factor authentication`)})]}),n(`div`,{className:`p-4 space-y-3`,children:[j===`loading`&&n(`div`,{className:`flex items-center gap-2 text-xs text-foreground-subtle`,children:[a(x,{className:`h-3.5 w-3.5 animate-spin`}),t(`systemPage.myAccess.checkingStatus`,`Checking status…`)]}),j===`not_enrolled`&&n(d,{children:[a(`div`,{className:`text-xs text-foreground-subtle`,children:t(`systemPage.myAccess.2faIsnTActiveOn`,`2FA isn't active on your account. Enable it to require a 6-digit code from your authenticator app at every login.`)}),a(`div`,{className:`flex justify-end`,children:n(R,{onClick:()=>{b(null),T.mutate()},disabled:T.isPending,children:[T.isPending?a(x,{className:`h-3 w-3 animate-spin`}):a(O,{className:`h-3 w-3`}),t(`systemPage.myAccess.enable2fa`,`Enable 2FA`)]})})]}),j===`setup_in_progress`&&m&&n(d,{children:[a(`div`,{className:`text-[11px] text-foreground-subtle`,children:a(U,{i18nKey:`systemPage.myAccess.scanQr`,values:{username:e},components:{mono:a(`span`,{className:`font-mono`})}})}),n(`div`,{className:`flex flex-col items-center gap-3`,children:[a(`div`,{className:`rounded-lg border border-border bg-white p-3`,children:a(Ne,{value:m.otpauthUrl,size:180})}),n(`div`,{className:`w-full`,children:[a(`div`,{className:`text-[10px] uppercase tracking-wide text-foreground-subtle mb-1`,children:t(`systemPage.myAccess.secretManualEntry`,`Secret (manual entry)`)}),n(`div`,{className:`flex items-center gap-2 rounded border border-border bg-surface-hover/30 px-2 py-1.5`,children:[a(`code`,{className:`text-[11px] font-mono text-foreground break-all flex-1`,children:m.secret}),n(R,{variant:`ghost`,onClick:()=>{m&&navigator.clipboard.writeText(m.secret).then(()=>w(!0))},children:[S?a(v,{className:`h-3 w-3 text-success`}):a(C,{className:`h-3 w-3`}),S?t(`systemPage.myAccess.copied`,`Copied`):t(`common.copy`,`Copy`)]})]})]})]}),n(`div`,{className:`space-y-1`,children:[a(`label`,{className:`text-[10px] uppercase tracking-wide text-foreground-subtle`,children:`6-digit code`}),a(L,{type:`text`,inputMode:`numeric`,autoComplete:`one-time-code`,placeholder:`123456`,value:g,onChange:e=>_(e.target.value.replace(/\D/g,``).slice(0,6)),className:`w-full rounded-md border border-border bg-surface px-3 py-2 text-center text-lg font-mono tracking-widest text-foreground focus:outline-none focus:ring-2 focus:ring-primary`})]}),y&&n(`div`,{className:`text-[11px] text-danger flex items-center gap-1`,children:[a(p,{className:`h-3 w-3`}),y]}),n(`div`,{className:`flex justify-end gap-2`,children:[a(R,{variant:`outline`,onClick:()=>{h(null),b(null),_(``)},children:t(`common.cancel`,`Cancel`)}),n(R,{onClick:()=>{b(null),E.mutate({code:g})},disabled:E.isPending||g.length!==6,children:[E.isPending?a(x,{className:`h-3 w-3 animate-spin`}):a(v,{className:`h-3 w-3`}),t(`common.confirm`,`Confirm`)]})]})]}),j===`enrolled`&&f&&n(d,{children:[n(`div`,{className:`rounded-md border border-success/30 bg-success/5 px-3 py-2.5 flex items-start gap-2.5`,children:[a(v,{className:`h-4 w-4 mt-0.5 text-success shrink-0`}),n(`div`,{className:`text-xs text-foreground space-y-0.5`,children:[a(`div`,{className:`font-medium`,children:t(`systemPage.myAccess.2faIsActive`,`2FA is active`)}),a(`div`,{className:`text-foreground-subtle`,children:t(`common.enrolledOn`,{when:f.confirmedAt?new Date(f.confirmedAt).toLocaleString():`—`})})]})]}),y&&n(`div`,{className:`text-[11px] text-danger flex items-center gap-1`,children:[a(p,{className:`h-3 w-3`}),y]}),a(`div`,{className:`flex justify-end`,children:n(R,{variant:`danger`,onClick:()=>{b(null),A.mutate()},disabled:A.isPending,children:[A.isPending?a(x,{className:`h-3 w-3 animate-spin`}):a(O,{className:`h-3 w-3`}),t(`systemPage.myAccess.disable2fa`,`Disable 2FA`)]})})]})]})]})}function Ie(){return se(`auth-webauthn/passkey-enrollment`)?a(F,{widgetId:`auth-webauthn/passkey-enrollment`,host:`dashboard`}):null}l();function Z(e){return e.message.length>0?e.message:ce.t(`auth.authAuditSection.requestFailed`)}function Le(){let{t:e}=z(),{logout:t}=H(),r=w(),i=P.useUtils(),o=P.auth.listOwnSessions.useQuery(),[c,l]=s(null),u=P.auth.revokeOwnSession.useMutation({onSuccess:()=>void i.auth.listOwnSessions.invalidate(),onError:e=>l(`Sign out failed: ${Z(e)}`)}),d=P.auth.logout.useMutation({onSuccess:()=>t(),onError:e=>l(`Sign out failed: ${Z(e)}`)}),f=async t=>{await r({title:e(`auth.mySessionsSection.signOutThisSession`,`Sign out this session`),message:e(`auth.mySessionsSection.willHaveToSignIn`,`{{label}} will have to sign in again.`,{label:ge(t.client).label}),confirmLabel:e(`auth.mySessionsSection.signOut`,`Sign out`),variant:`danger`})&&(l(null),u.mutate({id:t.id}))},p=async()=>{await r({title:e(`auth.mySessionsSection.signOutEverywhere`,`Sign out everywhere`),message:e(`auth.mySessionsSection.everySessionOfYourAccount`,`Every session of your account ends, this browser included: you will be signed out here too and every device has to sign in again.`),confirmLabel:e(`auth.mySessionsSection.signOutEverywhere`,`Sign out everywhere`),variant:`danger`})&&(l(null),d.mutate({everywhere:!0}))};return n(`div`,{"data-testid":`my-sessions`,className:`rounded-lg border border-border bg-surface overflow-hidden`,children:[n(`div`,{className:`px-4 py-2.5 border-b border-border flex items-center gap-2`,children:[a(te,{className:`h-3.5 w-3.5 text-foreground-subtle`}),a(`div`,{className:`text-xs font-semibold text-foreground`,children:e(`auth.mySessionsSection.activeSessions`,`Active sessions`)})]}),n(`div`,{className:`p-4 space-y-3`,children:[a(`p`,{className:`text-[11px] text-foreground-subtle`,children:e(`auth.mySessionsSection.theBrowsersAndAppsSigned`,`The browsers and apps signed in to your account. Signing one out ends it at once.`)}),c!==null&&a(`div`,{className:`text-[11px] text-danger`,children:c}),a(be,{sessions:o.data??[],isLoading:o.isLoading,loadError:o.isError?o.error?.message??e(`auth.authAuditSection.requestFailed`):null,emptyText:`No active sessions.`,onRevoke:e=>void f(e),revokingId:u.isPending?u.variables?.id??null:null}),a(`div`,{className:`flex justify-end`,children:n(R,{variant:`unstyled`,onClick:()=>void p(),disabled:d.isPending,className:`inline-flex items-center gap-1.5 rounded border border-danger/40 px-2.5 py-1 text-[11px] font-medium text-danger hover:bg-danger/10 disabled:opacity-50`,children:[d.isPending?a(x,{className:`h-3 w-3 animate-spin`}):a(N,{className:`h-3 w-3`}),e(`auth.mySessionsSection.signOutEverywhere`,`Sign out everywhere`)]})})]})]})}l();var Re=`You`;function Q(){let{t:e}=z(),t=w(),n=P.useUtils(),r=P.auth.listOwnDeviceCredentials.useQuery(),[o,c]=s(null),l=P.auth.revokeOwnDeviceCredential.useMutation({onSuccess:e=>{e.revoked||c(`That device could not be revoked - it may already be gone.`),n.auth.listOwnDeviceCredentials.invalidate()},onError:e=>c(`Revoke failed: ${e.message}`)}),u=i(()=>(r.data??[]).map(e=>ye(e,Re)),[r.data]),d=async n=>{await t({title:e(`certificates.myDevicesSection.revoke`,`Revoke "{{name}}"?`,{name:n.name}),message:e(`certificates.myDevicesSection.theDeviceStopsSigningIn`,`The device stops signing in at once and its open sessions end. To use it again you have to pair it anew. This cannot be undone.`),confirmLabel:e(`certificates.myDevicesSection.revoke2`,`Revoke`),variant:`danger`})&&(c(null),l.mutate({id:n.id}))},f={label:e(`certificates.myDevicesSection.revoke2`,`Revoke`),icon:E,isAvailable:_e,onRun:e=>void d(e),busyId:l.isPending?l.variables?.id??null:null,disabled:l.isPending};return a(me,{id:`my-devices`,title:e(`certificates.myDevicesSection.myDevices`,`My devices`),icon:O,description:e(`certificates.myDevicesSection.phonesThatStaySignedIn`,`Phones that stay signed in to your account with a certificate. If one is lost, revoke it here and it is signed out at once.`),notice:he(o),onDismissNotice:()=>c(null),children:a(xe,{rows:u,label:e(`certificates.devicesCard.label`),isLoading:r.isPending,loadError:r.error===null?null:r.error.message||`Request failed`,emptyText:`No devices are signed in with a certificate.`,hideOwner:!0,expiresNone:`—`,action:f})})}var $={profile:`profile`,signIn:`sign-in`,sessions:`sessions`,tokens:`tokens`},ze=[`linked`,`linkError`],Be={view:{icon:k,cls:`bg-foreground-subtle/15 text-foreground-subtle`},create:{icon:T,cls:`bg-primary/15 text-primary`},delete:{icon:S,cls:`bg-danger/15 text-danger`}};function Ve(){let{t:e}=z(),{user:t,logout:r}=H(),[i]=de(),o=e(`system.myAccess`,`My access`);if(!t)return a(pe,{icon:f,title:o,children:a(`div`,{className:`text-xs text-foreground-subtle`,children:e(`systemPage.myAccess.notSignedIn`,`Not signed in.`)})});if(i.get(`tab`)===`preferences`)return a(G,{to:`/system/settings`,replace:!0});if(ze.some(e=>i.has(e))&&!i.has(`tab`)){let e=new URLSearchParams(i);return e.set(`tab`,$.signIn),a(G,{to:`?${e.toString()}`,replace:!0})}return a(fe,{icon:f,title:o,subtitle:e(`systemPage.myAccess.subtitle`,`Your account, how you sign in, where you are signed in, and your tokens.`),sectionsLabel:e(`systemPage.myAccess.sectionsLabel`,`My access sections`),defaultSection:$.profile,actions:n(R,{variant:`outline`,onClick:r,children:[a(N,{className:`h-3 w-3`}),e(`systemPage.myAccess.signOut`,`Sign out`)]}),sections:[{id:$.profile,label:e(`systemPage.myAccess.sections.profile`,`Profile`),content:a(He,{user:t})},{id:$.signIn,label:e(`systemPage.myAccess.sections.signIn`,`Sign-in & security`),content:n(`div`,{className:`space-y-4`,children:[a(Pe,{}),a(Fe,{username:t.username}),a(Ie,{}),a(Me,{})]})},{id:$.sessions,label:e(`systemPage.myAccess.sections.sessions`,`Sessions & devices`),content:n(`div`,{className:`space-y-4`,children:[a(Le,{}),a(Q,{}),a(ke,{})]})},{id:$.tokens,label:e(`systemPage.myAccess.sections.tokens`,`Tokens`),content:a(ve,{ownOnly:!0})}]})}function He({user:e}){let{t}=z(),r=e.isAdmin,i=e.scopes??[];return n(`div`,{className:`space-y-4`,children:[n(`div`,{className:`rounded-lg border border-border bg-surface px-4 py-3 flex items-center gap-3`,children:[a(`div`,{className:`flex h-10 w-10 items-center justify-center rounded-full bg-primary/10 text-primary font-semibold text-base`,children:e.username.slice(0,1).toUpperCase()}),n(`div`,{className:`flex-1 min-w-0`,children:[a(`div`,{className:`text-sm font-semibold text-foreground truncate`,children:e.username}),n(`div`,{className:`text-[11px] text-foreground-subtle`,children:[r?t(`systemPage.myAccess.administrator`,`Administrator`):t(`systemPage.myAccess.user`,`User`),` `,a(U,{i18nKey:`systemPage.myAccess.sessionId`,values:{id:e.id.slice(0,8)},components:{mono:a(`span`,{className:`font-mono`})}})]})]})]}),r&&n(`div`,{className:`rounded-lg border border-primary/30 bg-primary/5 px-4 py-3 text-xs text-foreground flex items-start gap-2.5`,children:[a(h,{className:`h-4 w-4 text-primary mt-0.5 shrink-0`}),n(`div`,{children:[a(`div`,{className:`font-semibold text-foreground`,children:t(`systemPage.myAccess.unrestrictedAccess`,`Unrestricted access`)}),a(`p`,{className:`text-foreground-subtle mt-0.5`,children:t(`systemPage.myAccess.adminSessionsBypassThePer`,`Admin sessions bypass the per-call scope check. Every protected endpoint is reachable regardless of the list below.`)})]})]}),i.length>0&&a(Ue,{scopes:i})]})}function Ue({scopes:e}){let{t}=z(),r=g();return n(`div`,{className:`rounded-lg border border-border bg-surface overflow-hidden`,children:[n(`div`,{className:`px-4 py-2 border-b border-border`,children:[a(`div`,{className:`text-xs font-semibold text-foreground`,children:t(`systemPage.myAccess.grantedScopes`,`Granted scopes`)}),a(`div`,{className:`text-[10px] text-foreground-subtle`,children:t(`systemPage.myAccess.bakedIntoYourSessionToken`,`Baked into your session token at login; sign out + back in to refresh after changes.`)})]}),n(`div`,{className:`grid grid-cols-[100px_1fr_240px] gap-3 px-4 py-2 text-[10px] uppercase tracking-wide text-foreground-subtle border-b border-border`,children:[a(`div`,{children:t(`systemPage.myAccess.type`,`Type`)}),a(`div`,{children:t(`systemPage.myAccess.target`,`Target`)}),a(`div`,{children:t(`systemPage.myAccess.access`,`Access`)})]}),a(`ul`,{className:`divide-y divide-border`,children:e.map((e,i)=>n(`li`,{className:`grid grid-cols-[100px_1fr_240px] gap-3 px-4 py-2.5 items-center text-xs`,children:[a(`span`,{className:`font-mono text-foreground-subtle`,children:e.type}),a(`span`,{className:`font-mono text-foreground`,children:e.type===`device`?I(e.selector,r):e.target}),a(`div`,{className:`flex items-center gap-1`,children:[`view`,`create`,`delete`].map(r=>{let i=e.access.includes(r),{icon:o,cls:s}=Be[r];return n(`span`,{className:`inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-[10px] font-medium ${i?s:`bg-transparent text-foreground-subtle/40 line-through`}`,title:i?t(`systemPage.myAccess.can`,`Can {{a}}`,{a:r}):t(`systemPage.myAccess.cannot`,`Cannot {{a}}`,{a:r}),children:[a(o,{className:`h-3 w-3`}),r]},r)})})]},i))})]})}export{Ve as MyAccessPage};