@nodefony/studio 10.0.0-alpha.7 → 10.0.0-alpha.9

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 (158) hide show
  1. package/dist/_virtual/{_@oxc-project_runtime@0.150.0 → _@oxc-project_runtime@0.151.0}/helpers/esm/decorate.js +1 -1
  2. package/dist/_virtual/{_@oxc-project_runtime@0.150.0 → _@oxc-project_runtime@0.151.0}/helpers/esm/decorateMetadata.js +1 -1
  3. package/dist/_virtual/{_@oxc-project_runtime@0.150.0 → _@oxc-project_runtime@0.151.0}/helpers/esm/decorateParam.js +1 -1
  4. package/dist/frontend/assets/{Accordion-DhCGbIpd.js → Accordion-DcD2UgdH.js} +1 -1
  5. package/dist/frontend/assets/{ActionsLiveGraph-BNMaitaA.js → ActionsLiveGraph-Bx-VAwSQ.js} +1 -1
  6. package/dist/frontend/assets/ApiKeys-Cmr47HeG.js +2 -0
  7. package/dist/frontend/assets/{ArchitectureLiveGraph-ChA__Bls.js → ArchitectureLiveGraph-c9ij2hXd.js} +1 -1
  8. package/dist/frontend/assets/{Audit-B2v8D4Ld.js → Audit-DP6Nki1E.js} +1 -1
  9. package/dist/frontend/assets/{BackplaneLiveGraph-BY14rAkX.js → BackplaneLiveGraph-ClFqSiw0.js} +1 -1
  10. package/dist/frontend/assets/Breadcrumbs-CMEBhNFL.js +1 -0
  11. package/dist/frontend/assets/{BrickStoreChip-DB-3rEzi.js → BrickStoreChip-D8Y3DZy0.js} +1 -1
  12. package/dist/frontend/assets/{Chat-D6GMup61.js → Chat-CeR3IUmv.js} +1 -1
  13. package/dist/frontend/assets/Chip-CWZLG1tp.js +1 -0
  14. package/dist/frontend/assets/Cluster-hKpaTMr0.js +1 -0
  15. package/dist/frontend/assets/Collapse-B5eGiuCX.js +1 -0
  16. package/dist/frontend/assets/{ConfigPage-QzvdgY9J.js → ConfigPage-DwV4PLXP.js} +1 -1
  17. package/dist/frontend/assets/ConnectorCard-CGd9sBLF.js +11 -0
  18. package/dist/frontend/assets/Create-D8G0Fgz9.js +2 -0
  19. package/dist/frontend/assets/{DashboardSupervision-D16USONk.js → DashboardSupervision-Dj2McLYQ.js} +1 -1
  20. package/dist/frontend/assets/Database-L28Hnsut.js +1 -0
  21. package/dist/frontend/assets/{DbLogo-C3v6r7k1.js → DbLogo-bnxDpPCc.js} +1 -1
  22. package/dist/frontend/assets/{Documentation-DkA0kLdH.js → Documentation-CQ5q2k2b.js} +1 -1
  23. package/dist/frontend/assets/{FanOutLiveGraph-CI8zxV4a.js → FanOutLiveGraph--yUP7s0q.js} +1 -1
  24. package/dist/frontend/assets/{Firewall-D-UgTJfY.js → Firewall-D559b4aW.js} +1 -1
  25. package/dist/frontend/assets/{IconAdjustments-BoDPGw0S.js → IconAdjustments-CEO4pz7R.js} +1 -1
  26. package/dist/frontend/assets/{IconAdjustmentsAlt-Bu_fgva6.js → IconAdjustmentsAlt-DYl6o1yP.js} +1 -1
  27. package/dist/frontend/assets/{IconAdjustmentsHorizontal-E066rmzK.js → IconAdjustmentsHorizontal-CYIfkQ32.js} +1 -1
  28. package/dist/frontend/assets/{IconAffiliate-CsEEb3NP.js → IconAffiliate-16u_-89E.js} +1 -1
  29. package/dist/frontend/assets/{IconApps-BhSlbyM3.js → IconApps-DnbLWbFB.js} +1 -1
  30. package/dist/frontend/assets/{IconArchive-DzkjATSz.js → IconArchive-pjMSl5G0.js} +1 -1
  31. package/dist/frontend/assets/{IconArrowDown-BiC6xOH-.js → IconArrowDown-C68QshWb.js} +1 -1
  32. package/dist/frontend/assets/{IconArrowLeft-DPOjD_iz.js → IconArrowLeft-BFRWjzmv.js} +1 -1
  33. package/dist/frontend/assets/{IconArrowUp-DGi00i-1.js → IconArrowUp-L4PIvFFw.js} +1 -1
  34. package/dist/frontend/assets/IconArrowsExchange-C55GSXZj.js +1 -0
  35. package/dist/frontend/assets/{IconArrowsSplit2-BykPVQoG.js → IconArrowsSplit2-E-Iei2rZ.js} +1 -1
  36. package/dist/frontend/assets/IconBan-CvGLXEsc.js +1 -0
  37. package/dist/frontend/assets/{IconBook-C6Ml8SK8.js → IconBook-Bwvwi82q.js} +1 -1
  38. package/dist/frontend/assets/{IconCircleCheck-CIkhaWBx.js → IconCircleCheck-C7X9y_z5.js} +1 -1
  39. package/dist/frontend/assets/{IconCircleDot-CXf7n5vW.js → IconCircleDot-wxznCU9D.js} +1 -1
  40. package/dist/frontend/assets/IconCircuitResistor-BZ3qUbbe.js +1 -0
  41. package/dist/frontend/assets/{IconCode-C08c8RDD.js → IconCode-9RsxVkXP.js} +1 -1
  42. package/dist/frontend/assets/{IconDeviceDesktop-0r3JqufS.js → IconDeviceDesktop-C9GNnLQs.js} +1 -1
  43. package/dist/frontend/assets/{IconDots-BdhKbmmq.js → IconDots-Cqk6qziZ.js} +1 -1
  44. package/dist/frontend/assets/{IconDownload-BdyQkW63.js → IconDownload-Bl7fihEI.js} +1 -1
  45. package/dist/frontend/assets/{IconEye-Cw79VHp1.js → IconEye-C5h5xGRG.js} +1 -1
  46. package/dist/frontend/assets/{IconFile-DPC5QY4Q.js → IconFile-Q4hjrfUx.js} +1 -1
  47. package/dist/frontend/assets/{IconFolder-Y-5Ucw-v.js → IconFolder-BVNtaq_k.js} +1 -1
  48. package/dist/frontend/assets/{IconGitBranch-CXbhJt-8.js → IconGitBranch-CO6WF19I.js} +1 -1
  49. package/dist/frontend/assets/{IconHeartRateMonitor-CaOpfmkz.js → IconHeartRateMonitor-BlwaRgf8.js} +1 -1
  50. package/dist/frontend/assets/{IconHelpCircle-Bg13awwX.js → IconHelpCircle-B_Ar83Op.js} +1 -1
  51. package/dist/frontend/assets/{IconLayoutGrid-2M2elcMW.js → IconLayoutGrid-BDiUezo4.js} +1 -1
  52. package/dist/frontend/assets/{IconNetwork-C0dSPJ2s.js → IconNetwork-DibUvoc1.js} +1 -1
  53. package/dist/frontend/assets/{IconPackages-DkYFe1f7.js → IconPackages-DqHJDiXB.js} +1 -1
  54. package/dist/frontend/assets/{IconPencil-DwwQhUYf.js → IconPencil-DydgnmQR.js} +1 -1
  55. package/dist/frontend/assets/{IconPlayerPause-Do3_pA4Y.js → IconPlayerPause-BaMXYCnh.js} +1 -1
  56. package/dist/frontend/assets/IconPlayerPlay-yHYBRhzN.js +1 -0
  57. package/dist/frontend/assets/IconPlus-CzUWhrV_.js +1 -0
  58. package/dist/frontend/assets/{IconPuzzle-CxT0a-6J.js → IconPuzzle-nfmgGGqt.js} +1 -1
  59. package/dist/frontend/assets/{IconRecycle-kecJFV9n.js → IconRecycle-Doc4V7D2.js} +1 -1
  60. package/dist/frontend/assets/{IconSend-vHD0khjU.js → IconSend-BoLW0rbg.js} +1 -1
  61. package/dist/frontend/assets/{IconServer2-C_rsj4J7.js → IconServer2-MHcdXuTI.js} +1 -1
  62. package/dist/frontend/assets/{IconShieldOff-CHticzdj.js → IconShieldOff-X7hylh0H.js} +1 -1
  63. package/dist/frontend/assets/{IconSitemap-BheWM1pd.js → IconSitemap-D78aPiA6.js} +1 -1
  64. package/dist/frontend/assets/{IconStack2-DUtdVXJL.js → IconStack2-DVKXvSgU.js} +1 -1
  65. package/dist/frontend/assets/{IconTerminal2-CX499Ljs.js → IconTerminal2-Cwt77uSB.js} +1 -1
  66. package/dist/frontend/assets/{IconUserOff-CLtveOoS.js → IconUserOff-DsM8DIij.js} +1 -1
  67. package/dist/frontend/assets/{IconWorld-YrHl65pi.js → IconWorld-BQMUVV9m.js} +1 -1
  68. package/dist/frontend/assets/{List-7FsJDv7_.js → List-7M-1ZllE.js} +1 -1
  69. package/dist/frontend/assets/{LogVisuals-BW_sZMTj.js → LogVisuals-CqPfY7XN.js} +1 -1
  70. package/dist/frontend/assets/Logs-CGiPUWng.js +1 -0
  71. package/dist/frontend/assets/Migrations-FmNKP3JJ.js +3 -0
  72. package/dist/frontend/assets/ModuleDetail-DncVxvXd.js +1 -0
  73. package/dist/frontend/assets/{Modules-DR5peqtn.js → Modules-DRDKcaGS.js} +1 -1
  74. package/dist/frontend/assets/OrmConnector-CYLWW79y.js +1 -0
  75. package/dist/frontend/assets/{OrmEntity-DK03uMDz.js → OrmEntity-BJP4FbJb.js} +1 -1
  76. package/dist/frontend/assets/OrmOverview-BxOtNS3p.js +1 -0
  77. package/dist/frontend/assets/{OrmWorker-DT1vU6Xr.js → OrmWorker-CsbH2xKc.js} +1 -1
  78. package/dist/frontend/assets/{Playground-D-R7QeLX.js → Playground-hC8m1FL5.js} +1 -1
  79. package/dist/frontend/assets/{ProbesLiveGraph-CyXf-pvf.js → ProbesLiveGraph-CqWtsFFE.js} +1 -1
  80. package/dist/frontend/assets/{Profile-B26TYhqE.js → Profile-C0ftKGCQ.js} +2 -2
  81. package/dist/frontend/assets/{ProfileFields-U16YWoM8.js → ProfileFields-COafZQPx.js} +1 -1
  82. package/dist/frontend/assets/Progress-m_y5xhWD.js +1 -0
  83. package/dist/frontend/assets/{ProtocoleLiveGraph-BQsR7Gvv.js → ProtocoleLiveGraph-CzXvEgdm.js} +1 -1
  84. package/dist/frontend/assets/{RealtimeConsole-BQMlcvOv.js → RealtimeConsole-CN3cQsMZ.js} +1 -1
  85. package/dist/frontend/assets/{RingProgress-Dy11cixN.js → RingProgress-BvBrCwft.js} +1 -1
  86. package/dist/frontend/assets/{Roadmap-D7AAXgb0.js → Roadmap-DCtla21d.js} +1 -1
  87. package/dist/frontend/assets/{RoleSwitch-nb9Dlx7U.js → RoleSwitch-B5MBcRsV.js} +1 -1
  88. package/dist/frontend/assets/Roles-BgU7IE5K.js +1 -0
  89. package/dist/frontend/assets/{RoutesView-Dy1fBHSn.js → RoutesView-zoCMzANk.js} +1 -1
  90. package/dist/frontend/assets/Runtime-CLmDZubl.js +1 -0
  91. package/dist/frontend/assets/Sessions-Bivwsubp.js +1 -0
  92. package/dist/frontend/assets/Skeleton-BLZzrF5_.js +1 -0
  93. package/dist/frontend/assets/{Slider-B2QA9ZID.js → Slider-BhIuF0f8.js} +1 -1
  94. package/dist/frontend/assets/{StoresView-DdI84onz.js → StoresView-DeNYb4MM.js} +1 -1
  95. package/dist/frontend/assets/{System-92SKBGVR.js → System-DPkw3K_i.js} +1 -1
  96. package/dist/frontend/assets/{TagsInput-DPXC53MJ.js → TagsInput-lj5Y7G46.js} +1 -1
  97. package/dist/frontend/assets/{Textarea-cEYQX9Db.js → Textarea-Dk7ghycM.js} +1 -1
  98. package/dist/frontend/assets/{TraceView-DASWJb_C.js → TraceView-DrjMHeuI.js} +1 -1
  99. package/dist/frontend/assets/{Twin-BK_D2Mug.js → Twin-C23lJk-n.js} +2 -2
  100. package/dist/frontend/assets/{UserProfile-DBwF3Mlk.js → UserProfile-DEjcLOcr.js} +1 -1
  101. package/dist/frontend/assets/Users-CqoYI2w5.js +1 -0
  102. package/dist/frontend/assets/{Webhooks-4X2UzujV.js → Webhooks-DYl-lbmT.js} +1 -1
  103. package/dist/frontend/assets/{Workspace-CnvhY-as.js → Workspace-CkzTFvYZ.js} +1 -1
  104. package/dist/frontend/assets/{apiKeysModel-r3-menrC.js → apiKeysModel-DBAOaYC0.js} +1 -1
  105. package/dist/frontend/assets/{auditFormat-C2b2hjcG.js → auditFormat-DE2vEKju.js} +1 -1
  106. package/dist/frontend/assets/{auditModel-DC7671n4.js → auditModel-BAWQ_IDX.js} +1 -1
  107. package/dist/frontend/assets/{configModel-DM0WYlSJ.js → configModel-B16NX6gr.js} +1 -1
  108. package/dist/frontend/assets/{eventFlow-CU5f80id.js → eventFlow-BizPI2m5.js} +1 -1
  109. package/dist/frontend/assets/{hooks-B_zjBfG6.js → hooks-DSlOqywY.js} +1 -1
  110. package/dist/frontend/assets/index-DtGb44Tj.js +28 -0
  111. package/dist/frontend/assets/ormConnectorInsights-DI8rGchN.js +1 -0
  112. package/dist/frontend/assets/{profileVisuals-DBjyof0n.js → profileVisuals-BaDIZ1HE.js} +1 -1
  113. package/dist/frontend/assets/rolesModel-BqkpwhLp.js +1 -0
  114. package/dist/frontend/assets/stores-De-nwotA.js +1 -0
  115. package/dist/frontend/assets/ui-BuLVKSvk.js +319 -0
  116. package/dist/frontend/assets/useBlockSource-C63XHcdA.js +1 -0
  117. package/dist/frontend/assets/{useSocketLiveData-C90GBIec.js → useSocketLiveData-CljozSOr.js} +1 -1
  118. package/dist/frontend/assets/{usersFormat-BPPdugDo.js → usersFormat-DehFyjh3.js} +1 -1
  119. package/dist/frontend/index.html +11 -11
  120. package/dist/index.js +2 -2
  121. package/dist/nodefony/controller/StudioController.js +2 -2
  122. package/dist/nodefony/controller/StudioCreateController.js +9 -23
  123. package/dist/nodefony/controller/StudioRealtimeController.js +10 -30
  124. package/dist/nodefony/src/adminFetch.js +30 -0
  125. package/dist/nodefony/src/createSpec.js +116 -0
  126. package/dist/types/nodefony/controller/StudioRealtimeController.d.ts +0 -10
  127. package/dist/types/nodefony/src/adminFetch.d.ts +18 -0
  128. package/dist/types/nodefony/src/createSpec.d.ts +68 -0
  129. package/docs/index.md +9 -9
  130. package/docs/workspace.md +10 -10
  131. package/package.json +25 -26
  132. package/dist/frontend/assets/ApiKeys-CZLwt7vX.js +0 -2
  133. package/dist/frontend/assets/Breadcrumbs-mVZzArSM.js +0 -1
  134. package/dist/frontend/assets/Chip-9Et-ufDp.js +0 -1
  135. package/dist/frontend/assets/Cluster-C87gLErL.js +0 -1
  136. package/dist/frontend/assets/Collapse-CoLJdgJp.js +0 -1
  137. package/dist/frontend/assets/ConnectorCard-B25lhNU4.js +0 -11
  138. package/dist/frontend/assets/Create-BviGHgQp.js +0 -2
  139. package/dist/frontend/assets/Database-edpP-je6.js +0 -1
  140. package/dist/frontend/assets/IconArrowsExchange-Cs_uex1f.js +0 -1
  141. package/dist/frontend/assets/IconBan-DnAx6TI8.js +0 -1
  142. package/dist/frontend/assets/IconCircuitResistor-DugMhC11.js +0 -1
  143. package/dist/frontend/assets/IconPlayerPlay-B9Ok1hGB.js +0 -1
  144. package/dist/frontend/assets/IconPlus-T9jAG1uZ.js +0 -1
  145. package/dist/frontend/assets/Logs-D7OsBMQZ.js +0 -1
  146. package/dist/frontend/assets/Migrations-D4EuVTDM.js +0 -3
  147. package/dist/frontend/assets/ModuleDetail-oqxIYKtd.js +0 -1
  148. package/dist/frontend/assets/OrmOverview-DUzez59V.js +0 -1
  149. package/dist/frontend/assets/Progress-DECXzWqk.js +0 -1
  150. package/dist/frontend/assets/Roles-B_qeb4I0.js +0 -1
  151. package/dist/frontend/assets/Runtime-me5H9Fxs.js +0 -1
  152. package/dist/frontend/assets/Sessions-Dk4wXLj6.js +0 -1
  153. package/dist/frontend/assets/Skeleton-CYBIwDDn.js +0 -1
  154. package/dist/frontend/assets/Users-Dw5Do7eY.js +0 -1
  155. package/dist/frontend/assets/index-CIQdXaPf.js +0 -28
  156. package/dist/frontend/assets/stores-B2RcyMN6.js +0 -1
  157. package/dist/frontend/assets/ui-Bs-M5MwD.js +0 -319
  158. package/dist/frontend/assets/useBlockSource-9aiHlHoa.js +0 -1
@@ -1 +1 @@
1
- import{k as e}from"./src-Dvwdl2PF.js";import{$t as t,Bt as n,Ct as r,Et as i,Gt as a,H as o,Hn as s,K as c,Kt as l,Mn as u,Rt as d,Ut as f,V as p,Wn as m,Xt as h,an as g,di as ee,et as te,gt as _,it as v,n as y,nn as b,nt as ne,on as x,or as re,q as ie,sn as S,vn as C,wt as ae,yn as w}from"./ui-Bs-M5MwD.js";import{c as T}from"./stores-B2RcyMN6.js";import{t as oe}from"./IconBan-DnAx6TI8.js";import{t as E}from"./IconShieldOff-CHticzdj.js";import{i as se,o as ce,r as le,t as ue}from"./auditFormat-C2b2hjcG.js";import{t as de}from"./IconWorld-YrHl65pi.js";import{G as fe,L as pe,O as D,Q as me,R as he,j as O,k,ut as ge,vt as A,w as j,x as M,y as N}from"./index-CIQdXaPf.js";import{s as _e}from"./auditModel-DC7671n4.js";import{a as ve,c as P,i as F,n as I,o as ye,r as L,s as be,t as xe}from"./firewallModel-DKOWcjIb.js";var Se=i(`outline`,`hand-stop`,`HandStop`,[[`path`,{d:`M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5`,key:`svg-0`}],[`path`,{d:`M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5`,key:`svg-1`}],[`path`,{d:`M14 5.5a1.5 1.5 0 0 1 3 0v6.5`,key:`svg-2`}],[`path`,{d:`M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47`,key:`svg-3`}]]),R=i(`outline`,`heading`,`Heading`,[[`path`,{d:`M7 12h10`,key:`svg-0`}],[`path`,{d:`M7 5v14`,key:`svg-1`}],[`path`,{d:`M17 5v14`,key:`svg-2`}],[`path`,{d:`M15 19h4`,key:`svg-3`}],[`path`,{d:`M15 5h4`,key:`svg-4`}],[`path`,{d:`M5 19h4`,key:`svg-5`}],[`path`,{d:`M5 5h4`,key:`svg-6`}]]),z=i(`outline`,`login-2`,`Login2`,[[`path`,{d:`M9 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2`,key:`svg-0`}],[`path`,{d:`M3 12h13l-3 -3`,key:`svg-1`}],[`path`,{d:`M13 15l3 -3`,key:`svg-2`}]]),Ce=i(`outline`,`ticket`,`Ticket`,[[`path`,{d:`M15 5l0 2`,key:`svg-0`}],[`path`,{d:`M15 11l0 2`,key:`svg-1`}],[`path`,{d:`M15 17l0 2`,key:`svg-2`}],[`path`,{d:`M5 5h14a2 2 0 0 1 2 2v3a2 2 0 0 0 0 4v3a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-3a2 2 0 0 0 0 -4v-3a2 2 0 0 1 2 -2`,key:`svg-3`}]]),we=i(`outline`,`user-question`,`UserQuestion`,[[`path`,{d:`M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0`,key:`svg-0`}],[`path`,{d:`M6 21v-2a4 4 0 0 1 4 -4h3.5`,key:`svg-1`}],[`path`,{d:`M19 22v.01`,key:`svg-2`}],[`path`,{d:`M19 19a2.003 2.003 0 0 0 .914 -3.782a1.98 1.98 0 0 0 -2.414 .483`,key:`svg-3`}]]),B=e(ee(),1),V=re();function H({on:e,onLabel:t=`Activé`,offLabel:n=`Désactivé`}){return(0,V.jsx)(S,{variant:`light`,color:e?`teal`:`gray`,leftSection:e?(0,V.jsx)(_,{size:12}):(0,V.jsx)(M,{size:12}),style:{textTransform:`none`},children:e?t:n})}function U({security:e}){return(0,V.jsx)(S,{variant:e?`light`:`outline`,color:e?`teal`:`orange`,leftSection:e?(0,V.jsx)(D,{size:12}):(0,V.jsx)(E,{size:12}),style:{textTransform:`none`},children:e?`Protégée`:`Publique`})}function W({stateless:e}){return(0,V.jsx)(l,{label:e?`Stateless : chaque requête porte sa preuve (JWT / clé API), aucun registre serveur.`:`Stateful : session serveur posée au login (cookie opaque révocable, BFF).`,withinPortal:!0,multiline:!0,w:260,children:(0,V.jsx)(S,{variant:`dot`,color:e?`grape`:`cyan`,style:{textTransform:`none`},children:e?`Stateless`:`Session BFF`})})}function G({mode:e}){return(0,V.jsx)(l,{label:e===`all`?`Tous les authenticators doivent passer (MFA) — le dernier porte l'identité.`:`Le premier authenticator qui reconnaît la requête authentifie.`,withinPortal:!0,multiline:!0,w:260,children:(0,V.jsx)(S,{variant:`light`,color:e===`all`?`red`:`blue`,style:{textTransform:`none`},children:e===`all`?`MFA (all)`:`first`})})}function K({name:e}){let t=I[e],n=e===`anonymous`?we:t?ne:Ce;return(0,V.jsx)(S,{variant:`light`,color:t?.color??`gray`,leftSection:(0,V.jsx)(n,{size:12}),style:{textTransform:`none`},children:be(e)})}function Te({mounted:e}){return(0,V.jsx)(S,{variant:e?`filled`:`light`,color:e?`teal`:`gray`,leftSection:e?(0,V.jsx)(pe,{size:12}):(0,V.jsx)(he,{size:12}),style:{textTransform:`none`},children:e?`Monté`:`Disponible`})}function q({k:e,children:t}){return(0,V.jsxs)(u,{justify:`space-between`,wrap:`nowrap`,gap:`xl`,align:`flex-start`,children:[(0,V.jsx)(C,{size:`sm`,c:`dimmed`,style:{flexShrink:0},children:e}),(0,V.jsx)(m,{style:{textAlign:`right`,minWidth:0},children:t})]})}function J({names:e}){return e.length===0?(0,V.jsx)(C,{size:`sm`,c:`dimmed`,fs:`italic`,children:`aucun`}):(0,V.jsx)(u,{gap:4,justify:`flex-end`,wrap:`wrap`,children:e.map(e=>(0,V.jsx)(K,{name:e},e))})}function Ee({zones:e}){let[t,n]=(0,B.useState)(null),r=(0,B.useMemo)(()=>[{key:`name`,header:`Zone`,sortable:!0,value:e=>e.name,render:e=>(0,V.jsx)(C,{fw:600,size:`sm`,children:e.name}),size:160},{key:`pattern`,header:`Pattern d'URL`,value:e=>e.pattern,render:e=>(0,V.jsx)(b,{children:e.pattern}),size:230},{key:`host`,header:`Hôte`,value:e=>e.host??``,render:e=>e.host?(0,V.jsx)(b,{children:e.host}):(0,V.jsx)(C,{size:`sm`,c:`dimmed`,children:`tous`}),size:130},{key:`security`,header:`Accès`,filterable:!0,filterType:`select`,value:e=>e.security?`Protégée`:`Publique`,render:e=>(0,V.jsx)(U,{security:e.security}),size:120},{key:`mode`,header:`Mode`,filterable:!0,filterType:`select`,value:e=>e.mode,render:e=>(0,V.jsx)(G,{mode:e.mode}),size:110},{key:`identity`,header:`Identité`,value:e=>e.stateless?`Stateless`:`Session BFF`,render:e=>(0,V.jsx)(W,{stateless:e.stateless}),size:130},{key:`authenticators`,header:`Authenticators`,value:e=>e.authenticators.join(`, `),render:e=>(0,V.jsx)(J,{names:e.authenticators}),size:260},{key:`realtime`,header:`WS`,align:`right`,value:e=>e.realtime?`1`:`0`,render:e=>(0,V.jsx)(S,{variant:`dot`,color:e.realtime?`teal`:`gray`,style:{textTransform:`none`},children:e.realtime?`oui`:`non`}),size:90}],[]);return(0,V.jsxs)(f,{gap:`md`,children:[(0,V.jsxs)(u,{gap:`xs`,children:[(0,V.jsxs)(C,{size:`sm`,c:`dimmed`,children:[e.length,` zone(s) montée(s), triées par spécificité (pattern le plus long d'abord).`]}),(0,V.jsx)(o,{title:`Zones de sécurité (SecuredArea)`,version:L,summary:`Une zone = un pattern d'URL + sa chaîne d'authenticators. Le firewall teste les zones par spécificité ; la première dont le pattern matche capture la requête.`,sections:[{label:`Comment lire`,body:`« Protégée » = Zero Trust (preuve requise, 401 sinon). « Publique » = accès libre explicite. Le mode décrit la chaîne d'authenticators (first = le premier qui reconnaît ; all = MFA).`},{label:`WebSocket`,body:`« WS oui » = la zone gouverne AUSSI les frames temps réel (api.request + subscribe) : invariant api.request {path} ≤ GET {path}.`},{label:`Si vide`,body:`Aucune zone = aucune URL protégée (le firewall court-circuite, 0 coût). Déclaration via defineSecurityConfig({ areas }).`}]})]}),e.length===0&&(0,V.jsxs)(w,{variant:`light`,color:`orange`,icon:(0,V.jsx)(E,{size:18}),title:`Aucune zone configurée`,children:[`Aucune zone de sécurité n'est montée : le firewall laisse passer toutes les requêtes (court-circuit hot-path). Déclarez des zones via`,` `,(0,V.jsx)(b,{children:`defineSecurityConfig({ areas })`}),`.`]}),(0,V.jsx)(y,{mode:`client`,data:e,columns:r,getRowId:e=>e.name,onRowClick:e=>n(e),initialSort:{key:`name`,dir:`asc`},searchable:!0,searchPlaceholder:`Rechercher une zone (nom, pattern, hôte…)`,pageSize:25,height:460,persist:{key:`studio.firewall.zones`,storage:`session`},emptyMessage:`Aucune zone.`}),(0,V.jsx)(h,{opened:t!==null,onClose:()=>n(null),title:t?(0,V.jsxs)(u,{gap:`xs`,children:[(0,V.jsxs)(C,{fw:700,children:[`Zone « `,t.name,` »`]}),(0,V.jsx)(U,{security:t.security})]}):``,centered:!0,size:`lg`,children:t&&(0,V.jsxs)(f,{gap:`sm`,children:[(0,V.jsx)(q,{k:`Pattern d'URL`,children:(0,V.jsx)(b,{children:t.pattern})}),(0,V.jsx)(q,{k:`Hôte / vhost`,children:t.host?(0,V.jsx)(b,{children:t.host}):(0,V.jsx)(C,{size:`sm`,c:`dimmed`,children:`tous domaines`})}),(0,V.jsx)(q,{k:`Accès`,children:(0,V.jsx)(U,{security:t.security})}),(0,V.jsx)(q,{k:`Mode de chaîne`,children:(0,V.jsx)(G,{mode:t.mode})}),(0,V.jsx)(q,{k:`Stratégie d'identité`,children:(0,V.jsx)(W,{stateless:t.stateless})}),(0,V.jsx)(q,{k:`Anonyme autorisé`,children:(0,V.jsx)(S,{variant:`light`,color:t.allowsAnonymous?`orange`:`gray`,style:{textTransform:`none`},children:t.allowsAnonymous?`oui (explicite)`:`non`})}),(0,V.jsx)(q,{k:`Frames WebSocket`,children:(0,V.jsx)(S,{variant:`dot`,color:t.realtime?`teal`:`gray`,style:{textTransform:`none`},children:t.realtime?`gouvernées`:`exclues (HTTP only)`})}),(0,V.jsx)(q,{k:`Authenticators`,children:(0,V.jsx)(J,{names:t.authenticators})}),(0,V.jsx)(w,{variant:`light`,color:`gray`,icon:(0,V.jsx)(v,{size:16}),mt:`xs`,children:(0,V.jsxs)(C,{size:`xs`,children:[`Ordre d'exécution : les authenticators sont essayés dans l'ordre listé. En mode `,(0,V.jsx)(b,{children:`first`}),`, le premier qui reconnaît la requête authentifie ; en mode `,(0,V.jsx)(b,{children:`all`}),`, tous doivent passer (le dernier porte l'identité).`]})})]})})]})}function Y({k:e,children:t}){return(0,V.jsxs)(u,{justify:`space-between`,wrap:`nowrap`,gap:`md`,align:`flex-start`,children:[(0,V.jsx)(C,{size:`sm`,c:`dimmed`,style:{flexShrink:0},children:e}),(0,V.jsx)(m,{style:{textAlign:`right`,minWidth:0},children:t})]})}function X({children:e}){return(0,V.jsx)(C,{size:`sm`,style:{wordBreak:`break-word`},children:e})}function Z({items:e}){return e.length===0?(0,V.jsx)(C,{size:`sm`,c:`dimmed`,fs:`italic`,children:`aucune`}):(0,V.jsx)(u,{gap:4,justify:`flex-end`,wrap:`wrap`,children:e.map(e=>(0,V.jsx)(b,{children:e},e))})}function Q({icon:e,title:n,enabled:r,doc:i,children:a}){return(0,V.jsx)(t.Col,{span:{base:12,md:6},children:(0,V.jsxs)(g,{withBorder:!0,radius:`md`,p:`lg`,h:`100%`,children:[(0,V.jsxs)(u,{justify:`space-between`,wrap:`nowrap`,mb:`sm`,children:[(0,V.jsxs)(u,{gap:`xs`,wrap:`nowrap`,children:[(0,V.jsx)(d,{variant:`light`,color:r?`teal`:`gray`,radius:`sm`,children:e}),(0,V.jsx)(C,{fw:700,children:n}),(0,V.jsx)(o,{title:n,version:L,summary:i.summary,sections:i.sections})]}),(0,V.jsx)(H,{on:r})]}),(0,V.jsx)(f,{gap:6,style:{opacity:r?1:.55},children:a})]})})}function De({defenses:e}){if(!e)return(0,V.jsx)(w,{variant:`light`,color:`red`,icon:(0,V.jsx)(v,{size:18}),title:`Défenses indisponibles`,children:`La configuration de sécurité est invalide au boot — le firewall est fail-closed (toutes les requêtes rejetées). Corrigez la config pour que les défenses se résolvent.`});let{csrf:n,cors:r,headers:i,rateLimit:a}=e;return(0,V.jsxs)(t,{children:[(0,V.jsxs)(Q,{icon:(0,V.jsx)(D,{size:18}),title:`CSRF`,enabled:n.enabled,doc:{summary:`Protège des requêtes forgées cross-site. Défense primaire = Fetch Metadata (Sec-Fetch-Site, infalsifiable), repli Origin/Referer.`,sections:[{label:`Synchronizer token`,body:`« Armé » = @CsrfProtect dispose d'un secret HMAC (config en prod, éphémère en dev). La VALEUR du secret n'est jamais exposée.`}]},children:[(0,V.jsx)(Y,{k:`Fetch Metadata`,children:(0,V.jsx)(H,{on:n.fetchMetadata})}),(0,V.jsx)(Y,{k:`Repli Origin/Referer`,children:(0,V.jsx)(H,{on:n.checkOrigin})}),(0,V.jsx)(Y,{k:`Strict same-origin`,children:(0,V.jsx)(H,{on:n.strictSameSite,onLabel:`Strict`,offLabel:`Tolérant`})}),(0,V.jsx)(Y,{k:`Cookie SameSite`,children:(0,V.jsx)(b,{children:n.sameSite})}),(0,V.jsx)(Y,{k:`Synchronizer token`,children:(0,V.jsx)(H,{on:n.synchronizerToken,onLabel:`Armé`,offLabel:`Inactif`})}),(0,V.jsx)(Y,{k:`Origines de confiance`,children:(0,V.jsx)(Z,{items:n.trustedOrigins})})]}),(0,V.jsxs)(Q,{icon:(0,V.jsx)(de,{size:18}),title:`CORS`,enabled:r.enabled,doc:{summary:"Cross-Origin Resource Sharing : quelles origines tierces peuvent lire les réponses. `*` + credentials est interdit au boot (OWASP).",sections:[{label:`Credentials`,body:`« Activé » = cookies cross-origin autorisés (exige une whitelist d'origines explicite).`}]},children:[(0,V.jsx)(Y,{k:`Origines autorisées`,children:(0,V.jsx)(Z,{items:r.origins})}),(0,V.jsx)(Y,{k:`Credentials`,children:(0,V.jsx)(H,{on:r.credentials})}),(0,V.jsx)(Y,{k:`Méthodes`,children:(0,V.jsx)(X,{children:r.methods.join(`, `)})}),(0,V.jsx)(Y,{k:`En-têtes autorisés`,children:(0,V.jsx)(X,{children:r.allowedHeaders.join(`, `)})}),(0,V.jsx)(Y,{k:`Cache préflight`,children:(0,V.jsxs)(b,{children:[r.maxAgeS,`s`]})})]}),(0,V.jsxs)(Q,{icon:(0,V.jsx)(R,{size:18}),title:`En-têtes de sécurité`,enabled:i.enabled,doc:{summary:`CSP, Referrer-Policy, isolation cross-origin (COOP/COEP/CORP)… Le socle transport (HSTS/nosniff/frameguard) est posé par @nodefony/http.`,sections:[{label:`CSP`,body:`Politique « secure-but-usable » : seul script-src est strict (self + nonce par requête = défense XSS). Le {{nonce}} est substitué à chaque requête.`}]},children:[(0,V.jsx)(Y,{k:`HSTS (transport)`,children:(0,V.jsx)(H,{on:i.hsts})}),(0,V.jsx)(Y,{k:`Nonce CSP / requête`,children:(0,V.jsx)(H,{on:i.cspNonces})}),(0,V.jsx)(Y,{k:`Frameguard`,children:(0,V.jsx)(b,{children:i.frameguard})}),(0,V.jsx)(Y,{k:`nosniff (transport)`,children:(0,V.jsx)(H,{on:i.noSniff})}),(0,V.jsx)(Y,{k:`Referrer-Policy`,children:(0,V.jsx)(b,{children:i.referrerPolicy})}),(0,V.jsxs)(m,{children:[(0,V.jsx)(C,{size:`sm`,c:`dimmed`,mb:4,children:`Content-Security-Policy`}),(0,V.jsx)(s.Autosize,{mah:110,children:(0,V.jsx)(b,{block:!0,style:{fontSize:11,whiteSpace:`pre-wrap`},children:i.csp})})]})]}),(0,V.jsxs)(Q,{icon:(0,V.jsx)(Se,{size:18}),title:`Throttle de login`,enabled:a.enabled,doc:{summary:`Backoff progressif par identifiant (NIST SP 800-63B) : pas de verrouillage dur (qui offrirait un déni de service gratuit sur le compte victime). Bloqué → 429 + Retry-After.`,sections:[]},children:[(0,V.jsx)(Y,{k:`Essais libres`,children:(0,V.jsx)(b,{children:a.freeAttempts})}),(0,V.jsx)(Y,{k:`Délai initial`,children:(0,V.jsxs)(b,{children:[a.baseDelayS,`s`]})}),(0,V.jsx)(Y,{k:`Plafond du délai`,children:(0,V.jsxs)(b,{children:[a.capDelayS,`s`]})})]})]})}var Oe=A(()=>{let e=T(),n=(0,B.useCallback)(async()=>{try{return await e.api.getAbsolute(ve)}catch(e){throw Error(P(e),{cause:e})}},[e]),{data:i,loading:a,error:s,reload:l}=N(n),p=i?.roles??[];return(0,V.jsxs)(f,{gap:`md`,children:[(0,V.jsxs)(u,{gap:`xs`,children:[(0,V.jsxs)(C,{size:`sm`,c:`dimmed`,children:[p.length,` rôle(s) avec héritage déclaré.`]}),(0,V.jsx)(o,{title:`Hiérarchie de rôles`,version:L,summary:`Niveau A de l'autorisation : un rôle hérite des droits des rôles listés. La résolution est transitive et précalculée au boot (cycles détectés → erreur).`,sections:[{label:`Comment lire`,body:`« ROLE_ADMIN → ROLE_USER, ROLE_X » signifie qu'un porteur de ROLE_ADMIN satisfait aussi toute exigence de ROLE_USER ou ROLE_X (héritage résolu).`},{label:`Si vide`,body:`Aucun héritage déclaré : chaque rôle ne couvre que lui-même. Déclaration via defineSecurityConfig({ roleHierarchy }).`}]})]}),(0,V.jsxs)(c,{loading:a&&!i,error:s,empty:!a&&p.length===0,emptyMessage:`Aucune hiérarchie de rôles déclarée.`,onRetry:l,children:[(0,V.jsx)(t,{children:p.map(e=>(0,V.jsx)(t.Col,{span:{base:12,md:6},children:(0,V.jsxs)(g,{withBorder:!0,radius:`md`,p:`md`,h:`100%`,children:[(0,V.jsxs)(u,{gap:`xs`,wrap:`nowrap`,mb:`xs`,children:[(0,V.jsx)(d,{variant:`light`,color:`indigo`,radius:`sm`,size:`sm`,children:(0,V.jsx)(j,{size:15})}),(0,V.jsx)(b,{style:{fontWeight:700},children:e.role})]}),e.inherits.length===0?(0,V.jsx)(C,{size:`sm`,c:`dimmed`,fs:`italic`,children:`n'hérite d'aucun autre rôle`}):(0,V.jsxs)(u,{gap:6,align:`center`,wrap:`wrap`,children:[(0,V.jsx)(d,{variant:`subtle`,color:`gray`,size:`sm`,children:(0,V.jsx)(r,{size:14})}),e.inherits.map(e=>(0,V.jsx)(S,{variant:`light`,color:`indigo`,style:{textTransform:`none`},children:e},e))]})]})},e.role))}),(0,V.jsx)(w,{variant:`light`,color:`gray`,icon:(0,V.jsx)(v,{size:16}),mt:`xs`,children:(0,V.jsxs)(C,{size:`xs`,children:[`Le dispatch d'autorisation route `,(0,V.jsx)(b,{children:`ROLE_*`}),` vers cette hiérarchie, `,(0,V.jsx)(b,{children:`PERM_*`}),` vers le RBAC ORM, et le reste vers les voters (P6.8). Cette vue couvre le niveau A (rôles).`]})})]})]})}),ke=[{value:`24h`,label:`24 h`},{value:`7d`,label:`7 j`},{value:`all`,label:`Tout`}],Ae=A(()=>{let e=T(),[n,r]=(0,B.useState)(`7d`),i=(0,B.useCallback)(async()=>{let t=_e(n,Date.now()),r=t===void 0?``:`&since=${t}`,i=(e,t)=>`${xe}?category=auth&outcome=${e}&limit=${t}${r}`;try{let[t,n,r]=await Promise.all([e.api.getAbsolute(i(`success`,1)),e.api.getAbsolute(i(`failure`,1)),e.api.getAbsolute(i(`denied`,20))]);return{success:t.total??0,failure:n.total??0,denied:r.total??0,recentDenied:r.items}}catch(e){throw Error(P(e),{cause:e})}},[e,n]),{data:s,loading:l,error:d,reload:m}=N(i);return(0,V.jsxs)(f,{gap:`md`,children:[(0,V.jsxs)(u,{justify:`space-between`,wrap:`wrap`,children:[(0,V.jsxs)(u,{gap:`xs`,children:[(0,V.jsx)(C,{size:`sm`,c:`dimmed`,children:`Événements d'authentification sur la période.`}),(0,V.jsx)(o,{title:`Statistiques d'authentification`,version:L,summary:`Dérivées du journal d'audit de sécurité (catégorie « auth »). La boucle se referme : ce que le firewall journalise alimente ces compteurs.`,sections:[{label:`Issues`,body:`Réussites = login validé. Échecs = preuve présentée mais invalide (mot de passe, signature). Refus = Zero Trust (aucune preuve dans une zone protégée).`},{label:`Exactitude`,body:`Les compteurs sont comptés côté serveur (total exact par filtre, pas un échantillon).`}]})]}),(0,V.jsxs)(u,{gap:`sm`,children:[(0,V.jsx)(a,{size:`xs`,value:n,onChange:e=>r(e),data:ke}),(0,V.jsx)(x,{component:ge,to:`/nodefony/audit`,variant:`subtle`,size:`xs`,leftSection:(0,V.jsx)(fe,{size:15}),children:`Journal complet`})]})]}),(0,V.jsxs)(c,{loading:l&&!s,error:d,onRetry:m,children:[(0,V.jsxs)(t,{children:[(0,V.jsx)(p,{label:`Réussites`,icon:(0,V.jsx)(_,{size:20,color:`var(--mantine-color-teal-6)`}),hint:`Authentifications réussies (login validé) sur la période.`,span:{base:12,sm:4},children:(0,V.jsx)(C,{fz:30,fw:700,c:`teal`,style:{fontVariantNumeric:`tabular-nums`},children:s?.success??`—`})}),(0,V.jsx)(p,{label:`Échecs`,icon:(0,V.jsx)(M,{size:20,color:`var(--mantine-color-orange-6)`}),hint:`Credential présenté mais invalide (mot de passe/signature erroné).`,span:{base:12,sm:4},children:(0,V.jsx)(C,{fz:30,fw:700,c:`orange`,style:{fontVariantNumeric:`tabular-nums`},children:s?.failure??`—`})}),(0,V.jsx)(p,{label:`Refus (Zero Trust)`,icon:(0,V.jsx)(oe,{size:20,color:`var(--mantine-color-red-6)`}),hint:`Aucune preuve présentée dans une zone protégée — le signal d'alerte de l'auditeur.`,span:{base:12,sm:4},children:(0,V.jsx)(C,{fz:30,fw:700,c:`red`,style:{fontVariantNumeric:`tabular-nums`},children:s?.denied??`—`})})]}),(0,V.jsxs)(f,{gap:`xs`,mt:`md`,children:[(0,V.jsxs)(C,{fw:600,size:`sm`,children:[`Derniers refus (`,ce(`denied`).toLowerCase(),`)`]}),s&&s.recentDenied.length===0?(0,V.jsx)(w,{variant:`light`,color:`teal`,icon:(0,V.jsx)(v,{size:18}),children:`Aucun refus d'authentification sur la période — rien à signaler.`}):(0,V.jsx)(y,{mode:`client`,data:s?.recentDenied??[],columns:[{key:`ts`,header:`Heure`,value:e=>e.ts,render:e=>(0,V.jsx)(le,{ts:e.ts}),size:95},{key:`action`,header:`Action`,value:e=>e.action,render:e=>(0,V.jsx)(C,{size:`sm`,ff:`monospace`,children:e.action}),size:160},{key:`outcome`,header:`Issue`,value:e=>e.outcome,render:e=>(0,V.jsx)(se,{outcome:e.outcome}),size:110},{key:`actor`,header:`Acteur`,value:e=>e.actor??`anonyme`,render:e=>(0,V.jsx)(ue,{actor:e.actor}),size:150},{key:`reason`,header:`Raison`,value:e=>e.reason??``,render:e=>(0,V.jsx)(C,{size:`sm`,ff:`monospace`,c:e.reason?void 0:`dimmed`,children:e.reason??`—`}),size:160},{key:`resource`,header:`Zone / ressource`,value:e=>e.resource??``,render:e=>(0,V.jsx)(C,{size:`sm`,c:e.resource?void 0:`dimmed`,children:e.resource??`—`}),size:150}],getRowId:e=>e.id,initialSort:{key:`ts`,dir:`desc`},pageSize:10,height:360,emptyMessage:`Aucun refus.`})]})]})]})});function je({authenticators:e}){return(0,V.jsxs)(f,{gap:`md`,children:[(0,V.jsxs)(u,{gap:`xs`,children:[(0,V.jsxs)(C,{size:`sm`,c:`dimmed`,children:[e.filter(e=>e.mounted).length,` monté(s) sur`,` `,e.length,` disponible(s).`]}),(0,V.jsx)(o,{title:`Authenticators`,version:L,summary:`Une façon de prouver son identité (pattern IAuthenticator). « Monté » = référencé par ≥1 zone (actif sur le pipeline) ; « Disponible » = utilisable en config mais non référencé.`,sections:[{label:`Challenge`,body:`Un authenticator « avec challenge » fournit l'en-tête WWW-Authenticate (RFC 7235) du 401 de sa zone.`}]})]}),(0,V.jsx)(t,{children:e.map(e=>(0,V.jsx)(t.Col,{span:{base:12,sm:6,lg:4},children:(0,V.jsxs)(g,{withBorder:!0,radius:`md`,p:`md`,h:`100%`,style:{opacity:e.mounted?1:.7},children:[(0,V.jsxs)(u,{justify:`space-between`,wrap:`nowrap`,mb:6,children:[(0,V.jsx)(K,{name:e.name}),(0,V.jsx)(Te,{mounted:e.mounted})]}),(0,V.jsx)(C,{size:`xs`,c:`dimmed`,children:I[e.name]?.blurb??`Authenticator enregistré (plugin).`}),e.challenge&&(0,V.jsx)(S,{mt:`xs`,size:`xs`,variant:`outline`,color:`gray`,style:{textTransform:`none`},children:`challenge WWW-Authenticate`})]})},e.name))})]})}var $=A(()=>{let e=T(),[r,i]=(0,B.useState)(`zones`),a=(0,B.useCallback)(async()=>{try{return await e.api.getAbsolute(F)}catch(e){throw Error(P(e),{cause:e})}},[e]),{data:o,loading:s,error:l,reload:d}=N(a),f=(0,B.useMemo)(()=>{let e=o?.zones??[];return{zones:e.length,protected:e.filter(e=>e.security).length,mounted:(o?.authenticators??[]).filter(e=>e.mounted).length,defenses:ye(o?.defenses??null)}},[o]),m=o?.configValid??!0,h=o?`${f.zones} zone(s) · ${f.mounted} authenticator(s) monté(s) · ${f.defenses}/4 défenses actives`:`Introspection du firewall`;return(0,V.jsx)(ie,{title:`Firewall`,subtitle:h,icon:(0,V.jsx)(D,{size:26}),actions:(0,V.jsxs)(u,{gap:`sm`,wrap:`nowrap`,children:[o&&(0,V.jsx)(S,{size:`lg`,variant:`light`,color:m?`teal`:`red`,leftSection:m?(0,V.jsx)(k,{size:14}):(0,V.jsx)(E,{size:14}),style:{textTransform:`none`},children:m?`Config valide`:`Fail-closed`}),(0,V.jsx)(x,{variant:`light`,leftSection:(0,V.jsx)(te,{size:16}),loading:s,onClick:d,children:`Recharger`})]}),children:(0,V.jsx)(c,{loading:s&&!o,error:l,onRetry:d,children:o&&(0,V.jsxs)(V.Fragment,{children:[!m&&(0,V.jsx)(w,{variant:`light`,color:`red`,icon:(0,V.jsx)(ae,{size:18}),title:`Firewall fail-closed — configuration invalide`,children:o.configError??`La configuration de sécurité est invalide : toutes les requêtes sont rejetées (401) jusqu'à correction.`}),(0,V.jsxs)(t,{children:[(0,V.jsx)(p,{label:`Zones`,icon:(0,V.jsx)(O,{size:20,color:`var(--mantine-color-brand-5)`}),hint:`Zones de sécurité montées (patterns d'URL capturés par le firewall).`,children:(0,V.jsx)(C,{fz:28,fw:700,style:{fontVariantNumeric:`tabular-nums`},children:f.zones})}),(0,V.jsx)(p,{label:`Zones protégées`,icon:(0,V.jsx)(D,{size:20,color:`var(--mantine-color-teal-6)`}),hint:`Zones en Zero Trust (preuve d'identité requise, 401 sinon). Les autres sont publiques explicites.`,children:(0,V.jsx)(C,{fz:28,fw:700,c:`teal`,style:{fontVariantNumeric:`tabular-nums`},children:f.protected})}),(0,V.jsx)(p,{label:`Authenticators montés`,icon:(0,V.jsx)(z,{size:20,color:`var(--mantine-color-grape-6)`}),hint:`Authenticators instanciés car référencés par ≥1 zone (actifs sur le pipeline).`,children:(0,V.jsx)(C,{fz:28,fw:700,c:`grape`,style:{fontVariantNumeric:`tabular-nums`},children:f.mounted})}),(0,V.jsx)(p,{label:`Défenses actives`,icon:(0,V.jsx)(k,{size:20,color:`var(--mantine-color-blue-6)`}),hint:`Défenses transverses activées sur 4 : CSRF, CORS, en-têtes de sécurité, throttle de login.`,children:(0,V.jsxs)(C,{fz:28,fw:700,c:`blue`,style:{fontVariantNumeric:`tabular-nums`},children:[f.defenses,(0,V.jsxs)(C,{span:!0,fz:16,c:`dimmed`,children:[` `,`/ 4`]})]})})]}),(0,V.jsxs)(n,{value:r,onChange:e=>e&&i(e),mt:`xs`,children:[(0,V.jsxs)(n.List,{children:[(0,V.jsx)(n.Tab,{value:`zones`,leftSection:(0,V.jsx)(O,{size:15}),children:`Zones`}),(0,V.jsx)(n.Tab,{value:`authenticators`,leftSection:(0,V.jsx)(z,{size:15}),children:`Authenticators`}),(0,V.jsx)(n.Tab,{value:`defenses`,leftSection:(0,V.jsx)(k,{size:15}),children:`Défenses`}),(0,V.jsx)(n.Tab,{value:`roles`,leftSection:(0,V.jsx)(j,{size:15}),children:`Rôles`}),(0,V.jsx)(n.Tab,{value:`stats`,leftSection:(0,V.jsx)(me,{size:15}),children:`Statistiques`})]}),(0,V.jsx)(n.Panel,{value:`zones`,pt:`md`,children:(0,V.jsx)(Ee,{zones:o.zones})}),(0,V.jsx)(n.Panel,{value:`authenticators`,pt:`md`,children:(0,V.jsx)(je,{authenticators:o.authenticators})}),(0,V.jsx)(n.Panel,{value:`defenses`,pt:`md`,children:(0,V.jsx)(De,{defenses:o.defenses})}),(0,V.jsx)(n.Panel,{value:`roles`,pt:`md`,children:r===`roles`&&(0,V.jsx)(Oe,{})}),(0,V.jsx)(n.Panel,{value:`stats`,pt:`md`,children:r===`stats`&&(0,V.jsx)(Ae,{})})]})]})})})});export{$ as Firewall,$ as default};
1
+ import{k as e}from"./src-Dvwdl2PF.js";import{$t as t,Bt as n,Ct as r,Et as i,Gt as a,H as o,Hn as s,K as c,Kt as l,Mn as u,Rt as d,Ut as f,V as p,Wn as m,Xt as h,an as g,et as ee,fi as te,gt as _,it as v,n as y,nn as b,nt as ne,on as x,or as re,q as ie,sn as S,vn as C,wt as ae,yn as w}from"./ui-BuLVKSvk.js";import{c as T}from"./stores-De-nwotA.js";import{t as oe}from"./IconBan-CvGLXEsc.js";import{t as E}from"./IconShieldOff-X7hylh0H.js";import{i as se,o as ce,r as le,t as ue}from"./auditFormat-DE2vEKju.js";import{t as de}from"./IconWorld-BQMUVV9m.js";import{G as fe,L as pe,O as D,Q as me,R as he,j as O,k,ut as ge,vt as A,w as j,x as M,y as N}from"./index-DtGb44Tj.js";import{s as _e}from"./auditModel-BAWQ_IDX.js";import{a as ve,c as P,i as F,n as I,o as ye,r as L,s as be,t as xe}from"./firewallModel-DKOWcjIb.js";var Se=i(`outline`,`hand-stop`,`HandStop`,[[`path`,{d:`M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5`,key:`svg-0`}],[`path`,{d:`M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5`,key:`svg-1`}],[`path`,{d:`M14 5.5a1.5 1.5 0 0 1 3 0v6.5`,key:`svg-2`}],[`path`,{d:`M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47`,key:`svg-3`}]]),R=i(`outline`,`heading`,`Heading`,[[`path`,{d:`M7 12h10`,key:`svg-0`}],[`path`,{d:`M7 5v14`,key:`svg-1`}],[`path`,{d:`M17 5v14`,key:`svg-2`}],[`path`,{d:`M15 19h4`,key:`svg-3`}],[`path`,{d:`M15 5h4`,key:`svg-4`}],[`path`,{d:`M5 19h4`,key:`svg-5`}],[`path`,{d:`M5 5h4`,key:`svg-6`}]]),z=i(`outline`,`login-2`,`Login2`,[[`path`,{d:`M9 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2`,key:`svg-0`}],[`path`,{d:`M3 12h13l-3 -3`,key:`svg-1`}],[`path`,{d:`M13 15l3 -3`,key:`svg-2`}]]),Ce=i(`outline`,`ticket`,`Ticket`,[[`path`,{d:`M15 5l0 2`,key:`svg-0`}],[`path`,{d:`M15 11l0 2`,key:`svg-1`}],[`path`,{d:`M15 17l0 2`,key:`svg-2`}],[`path`,{d:`M5 5h14a2 2 0 0 1 2 2v3a2 2 0 0 0 0 4v3a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-3a2 2 0 0 0 0 -4v-3a2 2 0 0 1 2 -2`,key:`svg-3`}]]),we=i(`outline`,`user-question`,`UserQuestion`,[[`path`,{d:`M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0`,key:`svg-0`}],[`path`,{d:`M6 21v-2a4 4 0 0 1 4 -4h3.5`,key:`svg-1`}],[`path`,{d:`M19 22v.01`,key:`svg-2`}],[`path`,{d:`M19 19a2.003 2.003 0 0 0 .914 -3.782a1.98 1.98 0 0 0 -2.414 .483`,key:`svg-3`}]]),B=e(te(),1),V=re();function H({on:e,onLabel:t=`Activé`,offLabel:n=`Désactivé`}){return(0,V.jsx)(S,{variant:`light`,color:e?`teal`:`gray`,leftSection:e?(0,V.jsx)(_,{size:12}):(0,V.jsx)(M,{size:12}),style:{textTransform:`none`},children:e?t:n})}function U({security:e}){return(0,V.jsx)(S,{variant:e?`light`:`outline`,color:e?`teal`:`orange`,leftSection:e?(0,V.jsx)(D,{size:12}):(0,V.jsx)(E,{size:12}),style:{textTransform:`none`},children:e?`Protégée`:`Publique`})}function W({stateless:e}){return(0,V.jsx)(l,{label:e?`Stateless : chaque requête porte sa preuve (JWT / clé API), aucun registre serveur.`:`Stateful : session serveur posée au login (cookie opaque révocable, BFF).`,withinPortal:!0,multiline:!0,w:260,children:(0,V.jsx)(S,{variant:`dot`,color:e?`grape`:`cyan`,style:{textTransform:`none`},children:e?`Stateless`:`Session BFF`})})}function G({mode:e}){return(0,V.jsx)(l,{label:e===`all`?`Tous les authenticators doivent passer (MFA) — le dernier porte l'identité.`:`Le premier authenticator qui reconnaît la requête authentifie.`,withinPortal:!0,multiline:!0,w:260,children:(0,V.jsx)(S,{variant:`light`,color:e===`all`?`red`:`blue`,style:{textTransform:`none`},children:e===`all`?`MFA (all)`:`first`})})}function K({name:e}){let t=I[e],n=e===`anonymous`?we:t?ne:Ce;return(0,V.jsx)(S,{variant:`light`,color:t?.color??`gray`,leftSection:(0,V.jsx)(n,{size:12}),style:{textTransform:`none`},children:be(e)})}function Te({mounted:e}){return(0,V.jsx)(S,{variant:e?`filled`:`light`,color:e?`teal`:`gray`,leftSection:e?(0,V.jsx)(pe,{size:12}):(0,V.jsx)(he,{size:12}),style:{textTransform:`none`},children:e?`Monté`:`Disponible`})}function q({k:e,children:t}){return(0,V.jsxs)(u,{justify:`space-between`,wrap:`nowrap`,gap:`xl`,align:`flex-start`,children:[(0,V.jsx)(C,{size:`sm`,c:`dimmed`,style:{flexShrink:0},children:e}),(0,V.jsx)(m,{style:{textAlign:`right`,minWidth:0},children:t})]})}function J({names:e}){return e.length===0?(0,V.jsx)(C,{size:`sm`,c:`dimmed`,fs:`italic`,children:`aucun`}):(0,V.jsx)(u,{gap:4,justify:`flex-end`,wrap:`wrap`,children:e.map(e=>(0,V.jsx)(K,{name:e},e))})}function Ee({zones:e}){let[t,n]=(0,B.useState)(null),r=(0,B.useMemo)(()=>[{key:`name`,header:`Zone`,sortable:!0,value:e=>e.name,render:e=>(0,V.jsx)(C,{fw:600,size:`sm`,children:e.name}),size:160},{key:`pattern`,header:`Pattern d'URL`,value:e=>e.pattern,render:e=>(0,V.jsx)(b,{children:e.pattern}),size:230},{key:`host`,header:`Hôte`,value:e=>e.host??``,render:e=>e.host?(0,V.jsx)(b,{children:e.host}):(0,V.jsx)(C,{size:`sm`,c:`dimmed`,children:`tous`}),size:130},{key:`security`,header:`Accès`,filterable:!0,filterType:`select`,value:e=>e.security?`Protégée`:`Publique`,render:e=>(0,V.jsx)(U,{security:e.security}),size:120},{key:`mode`,header:`Mode`,filterable:!0,filterType:`select`,value:e=>e.mode,render:e=>(0,V.jsx)(G,{mode:e.mode}),size:110},{key:`identity`,header:`Identité`,value:e=>e.stateless?`Stateless`:`Session BFF`,render:e=>(0,V.jsx)(W,{stateless:e.stateless}),size:130},{key:`authenticators`,header:`Authenticators`,value:e=>e.authenticators.join(`, `),render:e=>(0,V.jsx)(J,{names:e.authenticators}),size:260},{key:`realtime`,header:`WS`,align:`right`,value:e=>e.realtime?`1`:`0`,render:e=>(0,V.jsx)(S,{variant:`dot`,color:e.realtime?`teal`:`gray`,style:{textTransform:`none`},children:e.realtime?`oui`:`non`}),size:90}],[]);return(0,V.jsxs)(f,{gap:`md`,children:[(0,V.jsxs)(u,{gap:`xs`,children:[(0,V.jsxs)(C,{size:`sm`,c:`dimmed`,children:[e.length,` zone(s) montée(s), triées par spécificité (pattern le plus long d'abord).`]}),(0,V.jsx)(o,{title:`Zones de sécurité (SecuredArea)`,version:L,summary:`Une zone = un pattern d'URL + sa chaîne d'authenticators. Le firewall teste les zones par spécificité ; la première dont le pattern matche capture la requête.`,sections:[{label:`Comment lire`,body:`« Protégée » = Zero Trust (preuve requise, 401 sinon). « Publique » = accès libre explicite. Le mode décrit la chaîne d'authenticators (first = le premier qui reconnaît ; all = MFA).`},{label:`WebSocket`,body:`« WS oui » = la zone gouverne AUSSI les frames temps réel (api.request + subscribe) : invariant api.request {path} ≤ GET {path}.`},{label:`Si vide`,body:`Aucune zone = aucune URL protégée (le firewall court-circuite, 0 coût). Déclaration via defineSecurityConfig({ areas }).`}]})]}),e.length===0&&(0,V.jsxs)(w,{variant:`light`,color:`orange`,icon:(0,V.jsx)(E,{size:18}),title:`Aucune zone configurée`,children:[`Aucune zone de sécurité n'est montée : le firewall laisse passer toutes les requêtes (court-circuit hot-path). Déclarez des zones via`,` `,(0,V.jsx)(b,{children:`defineSecurityConfig({ areas })`}),`.`]}),(0,V.jsx)(y,{mode:`client`,data:e,columns:r,getRowId:e=>e.name,onRowClick:e=>n(e),initialSort:{key:`name`,dir:`asc`},searchable:!0,searchPlaceholder:`Rechercher une zone (nom, pattern, hôte…)`,pageSize:25,height:460,persist:{key:`studio.firewall.zones`,storage:`session`},emptyMessage:`Aucune zone.`}),(0,V.jsx)(h,{opened:t!==null,onClose:()=>n(null),title:t?(0,V.jsxs)(u,{gap:`xs`,children:[(0,V.jsxs)(C,{fw:700,children:[`Zone « `,t.name,` »`]}),(0,V.jsx)(U,{security:t.security})]}):``,centered:!0,size:`lg`,children:t&&(0,V.jsxs)(f,{gap:`sm`,children:[(0,V.jsx)(q,{k:`Pattern d'URL`,children:(0,V.jsx)(b,{children:t.pattern})}),(0,V.jsx)(q,{k:`Hôte / vhost`,children:t.host?(0,V.jsx)(b,{children:t.host}):(0,V.jsx)(C,{size:`sm`,c:`dimmed`,children:`tous domaines`})}),(0,V.jsx)(q,{k:`Accès`,children:(0,V.jsx)(U,{security:t.security})}),(0,V.jsx)(q,{k:`Mode de chaîne`,children:(0,V.jsx)(G,{mode:t.mode})}),(0,V.jsx)(q,{k:`Stratégie d'identité`,children:(0,V.jsx)(W,{stateless:t.stateless})}),(0,V.jsx)(q,{k:`Anonyme autorisé`,children:(0,V.jsx)(S,{variant:`light`,color:t.allowsAnonymous?`orange`:`gray`,style:{textTransform:`none`},children:t.allowsAnonymous?`oui (explicite)`:`non`})}),(0,V.jsx)(q,{k:`Frames WebSocket`,children:(0,V.jsx)(S,{variant:`dot`,color:t.realtime?`teal`:`gray`,style:{textTransform:`none`},children:t.realtime?`gouvernées`:`exclues (HTTP only)`})}),(0,V.jsx)(q,{k:`Authenticators`,children:(0,V.jsx)(J,{names:t.authenticators})}),(0,V.jsx)(w,{variant:`light`,color:`gray`,icon:(0,V.jsx)(v,{size:16}),mt:`xs`,children:(0,V.jsxs)(C,{size:`xs`,children:[`Ordre d'exécution : les authenticators sont essayés dans l'ordre listé. En mode `,(0,V.jsx)(b,{children:`first`}),`, le premier qui reconnaît la requête authentifie ; en mode `,(0,V.jsx)(b,{children:`all`}),`, tous doivent passer (le dernier porte l'identité).`]})})]})})]})}function Y({k:e,children:t}){return(0,V.jsxs)(u,{justify:`space-between`,wrap:`nowrap`,gap:`md`,align:`flex-start`,children:[(0,V.jsx)(C,{size:`sm`,c:`dimmed`,style:{flexShrink:0},children:e}),(0,V.jsx)(m,{style:{textAlign:`right`,minWidth:0},children:t})]})}function X({children:e}){return(0,V.jsx)(C,{size:`sm`,style:{wordBreak:`break-word`},children:e})}function Z({items:e}){return e.length===0?(0,V.jsx)(C,{size:`sm`,c:`dimmed`,fs:`italic`,children:`aucune`}):(0,V.jsx)(u,{gap:4,justify:`flex-end`,wrap:`wrap`,children:e.map(e=>(0,V.jsx)(b,{children:e},e))})}function Q({icon:e,title:n,enabled:r,doc:i,children:a}){return(0,V.jsx)(t.Col,{span:{base:12,md:6},children:(0,V.jsxs)(g,{withBorder:!0,radius:`md`,p:`lg`,h:`100%`,children:[(0,V.jsxs)(u,{justify:`space-between`,wrap:`nowrap`,mb:`sm`,children:[(0,V.jsxs)(u,{gap:`xs`,wrap:`nowrap`,children:[(0,V.jsx)(d,{variant:`light`,color:r?`teal`:`gray`,radius:`sm`,children:e}),(0,V.jsx)(C,{fw:700,children:n}),(0,V.jsx)(o,{title:n,version:L,summary:i.summary,sections:i.sections})]}),(0,V.jsx)(H,{on:r})]}),(0,V.jsx)(f,{gap:6,style:{opacity:r?1:.55},children:a})]})})}function De({defenses:e}){if(!e)return(0,V.jsx)(w,{variant:`light`,color:`red`,icon:(0,V.jsx)(v,{size:18}),title:`Défenses indisponibles`,children:`La configuration de sécurité est invalide au boot — le firewall est fail-closed (toutes les requêtes rejetées). Corrigez la config pour que les défenses se résolvent.`});let{csrf:n,cors:r,headers:i,rateLimit:a}=e;return(0,V.jsxs)(t,{children:[(0,V.jsxs)(Q,{icon:(0,V.jsx)(D,{size:18}),title:`CSRF`,enabled:n.enabled,doc:{summary:`Protège des requêtes forgées cross-site. Défense primaire = Fetch Metadata (Sec-Fetch-Site, infalsifiable), repli Origin/Referer.`,sections:[{label:`Synchronizer token`,body:`« Armé » = @CsrfProtect dispose d'un secret HMAC (config en prod, éphémère en dev). La VALEUR du secret n'est jamais exposée.`}]},children:[(0,V.jsx)(Y,{k:`Fetch Metadata`,children:(0,V.jsx)(H,{on:n.fetchMetadata})}),(0,V.jsx)(Y,{k:`Repli Origin/Referer`,children:(0,V.jsx)(H,{on:n.checkOrigin})}),(0,V.jsx)(Y,{k:`Strict same-origin`,children:(0,V.jsx)(H,{on:n.strictSameSite,onLabel:`Strict`,offLabel:`Tolérant`})}),(0,V.jsx)(Y,{k:`Cookie SameSite`,children:(0,V.jsx)(b,{children:n.sameSite})}),(0,V.jsx)(Y,{k:`Synchronizer token`,children:(0,V.jsx)(H,{on:n.synchronizerToken,onLabel:`Armé`,offLabel:`Inactif`})}),(0,V.jsx)(Y,{k:`Origines de confiance`,children:(0,V.jsx)(Z,{items:n.trustedOrigins})})]}),(0,V.jsxs)(Q,{icon:(0,V.jsx)(de,{size:18}),title:`CORS`,enabled:r.enabled,doc:{summary:"Cross-Origin Resource Sharing : quelles origines tierces peuvent lire les réponses. `*` + credentials est interdit au boot (OWASP).",sections:[{label:`Credentials`,body:`« Activé » = cookies cross-origin autorisés (exige une whitelist d'origines explicite).`}]},children:[(0,V.jsx)(Y,{k:`Origines autorisées`,children:(0,V.jsx)(Z,{items:r.origins})}),(0,V.jsx)(Y,{k:`Credentials`,children:(0,V.jsx)(H,{on:r.credentials})}),(0,V.jsx)(Y,{k:`Méthodes`,children:(0,V.jsx)(X,{children:r.methods.join(`, `)})}),(0,V.jsx)(Y,{k:`En-têtes autorisés`,children:(0,V.jsx)(X,{children:r.allowedHeaders.join(`, `)})}),(0,V.jsx)(Y,{k:`Cache préflight`,children:(0,V.jsxs)(b,{children:[r.maxAgeS,`s`]})})]}),(0,V.jsxs)(Q,{icon:(0,V.jsx)(R,{size:18}),title:`En-têtes de sécurité`,enabled:i.enabled,doc:{summary:`CSP, Referrer-Policy, isolation cross-origin (COOP/COEP/CORP)… Le socle transport (HSTS/nosniff/frameguard) est posé par @nodefony/http.`,sections:[{label:`CSP`,body:`Politique « secure-but-usable » : seul script-src est strict (self + nonce par requête = défense XSS). Le {{nonce}} est substitué à chaque requête.`}]},children:[(0,V.jsx)(Y,{k:`HSTS (transport)`,children:(0,V.jsx)(H,{on:i.hsts})}),(0,V.jsx)(Y,{k:`Nonce CSP / requête`,children:(0,V.jsx)(H,{on:i.cspNonces})}),(0,V.jsx)(Y,{k:`Frameguard`,children:(0,V.jsx)(b,{children:i.frameguard})}),(0,V.jsx)(Y,{k:`nosniff (transport)`,children:(0,V.jsx)(H,{on:i.noSniff})}),(0,V.jsx)(Y,{k:`Referrer-Policy`,children:(0,V.jsx)(b,{children:i.referrerPolicy})}),(0,V.jsxs)(m,{children:[(0,V.jsx)(C,{size:`sm`,c:`dimmed`,mb:4,children:`Content-Security-Policy`}),(0,V.jsx)(s.Autosize,{mah:110,children:(0,V.jsx)(b,{block:!0,style:{fontSize:11,whiteSpace:`pre-wrap`},children:i.csp})})]})]}),(0,V.jsxs)(Q,{icon:(0,V.jsx)(Se,{size:18}),title:`Throttle de login`,enabled:a.enabled,doc:{summary:`Backoff progressif par identifiant (NIST SP 800-63B) : pas de verrouillage dur (qui offrirait un déni de service gratuit sur le compte victime). Bloqué → 429 + Retry-After.`,sections:[]},children:[(0,V.jsx)(Y,{k:`Essais libres`,children:(0,V.jsx)(b,{children:a.freeAttempts})}),(0,V.jsx)(Y,{k:`Délai initial`,children:(0,V.jsxs)(b,{children:[a.baseDelayS,`s`]})}),(0,V.jsx)(Y,{k:`Plafond du délai`,children:(0,V.jsxs)(b,{children:[a.capDelayS,`s`]})})]})]})}var Oe=A(()=>{let e=T(),n=(0,B.useCallback)(async()=>{try{return await e.api.getAbsolute(ve)}catch(e){throw Error(P(e),{cause:e})}},[e]),{data:i,loading:a,error:s,reload:l}=N(n),p=i?.roles??[];return(0,V.jsxs)(f,{gap:`md`,children:[(0,V.jsxs)(u,{gap:`xs`,children:[(0,V.jsxs)(C,{size:`sm`,c:`dimmed`,children:[p.length,` rôle(s) avec héritage déclaré.`]}),(0,V.jsx)(o,{title:`Hiérarchie de rôles`,version:L,summary:`Niveau A de l'autorisation : un rôle hérite des droits des rôles listés. La résolution est transitive et précalculée au boot (cycles détectés → erreur).`,sections:[{label:`Comment lire`,body:`« ROLE_ADMIN → ROLE_USER, ROLE_X » signifie qu'un porteur de ROLE_ADMIN satisfait aussi toute exigence de ROLE_USER ou ROLE_X (héritage résolu).`},{label:`Si vide`,body:`Aucun héritage déclaré : chaque rôle ne couvre que lui-même. Déclaration via defineSecurityConfig({ roleHierarchy }).`}]})]}),(0,V.jsxs)(c,{loading:a&&!i,error:s,empty:!a&&p.length===0,emptyMessage:`Aucune hiérarchie de rôles déclarée.`,onRetry:l,children:[(0,V.jsx)(t,{children:p.map(e=>(0,V.jsx)(t.Col,{span:{base:12,md:6},children:(0,V.jsxs)(g,{withBorder:!0,radius:`md`,p:`md`,h:`100%`,children:[(0,V.jsxs)(u,{gap:`xs`,wrap:`nowrap`,mb:`xs`,children:[(0,V.jsx)(d,{variant:`light`,color:`indigo`,radius:`sm`,size:`sm`,children:(0,V.jsx)(j,{size:15})}),(0,V.jsx)(b,{style:{fontWeight:700},children:e.role})]}),e.inherits.length===0?(0,V.jsx)(C,{size:`sm`,c:`dimmed`,fs:`italic`,children:`n'hérite d'aucun autre rôle`}):(0,V.jsxs)(u,{gap:6,align:`center`,wrap:`wrap`,children:[(0,V.jsx)(d,{variant:`subtle`,color:`gray`,size:`sm`,children:(0,V.jsx)(r,{size:14})}),e.inherits.map(e=>(0,V.jsx)(S,{variant:`light`,color:`indigo`,style:{textTransform:`none`},children:e},e))]})]})},e.role))}),(0,V.jsx)(w,{variant:`light`,color:`gray`,icon:(0,V.jsx)(v,{size:16}),mt:`xs`,children:(0,V.jsxs)(C,{size:`xs`,children:[`Le dispatch d'autorisation route `,(0,V.jsx)(b,{children:`ROLE_*`}),` vers cette hiérarchie, `,(0,V.jsx)(b,{children:`PERM_*`}),` vers le RBAC ORM, et le reste vers les voters (P6.8). Cette vue couvre le niveau A (rôles).`]})})]})]})}),ke=[{value:`24h`,label:`24 h`},{value:`7d`,label:`7 j`},{value:`all`,label:`Tout`}],Ae=A(()=>{let e=T(),[n,r]=(0,B.useState)(`7d`),i=(0,B.useCallback)(async()=>{let t=_e(n,Date.now()),r=t===void 0?``:`&since=${t}`,i=(e,t)=>`${xe}?category=auth&outcome=${e}&limit=${t}${r}`;try{let[t,n,r]=await Promise.all([e.api.getAbsolute(i(`success`,1)),e.api.getAbsolute(i(`failure`,1)),e.api.getAbsolute(i(`denied`,20))]);return{success:t.total??0,failure:n.total??0,denied:r.total??0,recentDenied:r.items}}catch(e){throw Error(P(e),{cause:e})}},[e,n]),{data:s,loading:l,error:d,reload:m}=N(i);return(0,V.jsxs)(f,{gap:`md`,children:[(0,V.jsxs)(u,{justify:`space-between`,wrap:`wrap`,children:[(0,V.jsxs)(u,{gap:`xs`,children:[(0,V.jsx)(C,{size:`sm`,c:`dimmed`,children:`Événements d'authentification sur la période.`}),(0,V.jsx)(o,{title:`Statistiques d'authentification`,version:L,summary:`Dérivées du journal d'audit de sécurité (catégorie « auth »). La boucle se referme : ce que le firewall journalise alimente ces compteurs.`,sections:[{label:`Issues`,body:`Réussites = login validé. Échecs = preuve présentée mais invalide (mot de passe, signature). Refus = Zero Trust (aucune preuve dans une zone protégée).`},{label:`Exactitude`,body:`Les compteurs sont comptés côté serveur (total exact par filtre, pas un échantillon).`}]})]}),(0,V.jsxs)(u,{gap:`sm`,children:[(0,V.jsx)(a,{size:`xs`,value:n,onChange:e=>r(e),data:ke}),(0,V.jsx)(x,{component:ge,to:`/nodefony/audit`,variant:`subtle`,size:`xs`,leftSection:(0,V.jsx)(fe,{size:15}),children:`Journal complet`})]})]}),(0,V.jsxs)(c,{loading:l&&!s,error:d,onRetry:m,children:[(0,V.jsxs)(t,{children:[(0,V.jsx)(p,{label:`Réussites`,icon:(0,V.jsx)(_,{size:20,color:`var(--mantine-color-teal-6)`}),hint:`Authentifications réussies (login validé) sur la période.`,span:{base:12,sm:4},children:(0,V.jsx)(C,{fz:30,fw:700,c:`teal`,style:{fontVariantNumeric:`tabular-nums`},children:s?.success??`—`})}),(0,V.jsx)(p,{label:`Échecs`,icon:(0,V.jsx)(M,{size:20,color:`var(--mantine-color-orange-6)`}),hint:`Credential présenté mais invalide (mot de passe/signature erroné).`,span:{base:12,sm:4},children:(0,V.jsx)(C,{fz:30,fw:700,c:`orange`,style:{fontVariantNumeric:`tabular-nums`},children:s?.failure??`—`})}),(0,V.jsx)(p,{label:`Refus (Zero Trust)`,icon:(0,V.jsx)(oe,{size:20,color:`var(--mantine-color-red-6)`}),hint:`Aucune preuve présentée dans une zone protégée — le signal d'alerte de l'auditeur.`,span:{base:12,sm:4},children:(0,V.jsx)(C,{fz:30,fw:700,c:`red`,style:{fontVariantNumeric:`tabular-nums`},children:s?.denied??`—`})})]}),(0,V.jsxs)(f,{gap:`xs`,mt:`md`,children:[(0,V.jsxs)(C,{fw:600,size:`sm`,children:[`Derniers refus (`,ce(`denied`).toLowerCase(),`)`]}),s&&s.recentDenied.length===0?(0,V.jsx)(w,{variant:`light`,color:`teal`,icon:(0,V.jsx)(v,{size:18}),children:`Aucun refus d'authentification sur la période — rien à signaler.`}):(0,V.jsx)(y,{mode:`client`,data:s?.recentDenied??[],columns:[{key:`ts`,header:`Heure`,value:e=>e.ts,render:e=>(0,V.jsx)(le,{ts:e.ts}),size:95},{key:`action`,header:`Action`,value:e=>e.action,render:e=>(0,V.jsx)(C,{size:`sm`,ff:`monospace`,children:e.action}),size:160},{key:`outcome`,header:`Issue`,value:e=>e.outcome,render:e=>(0,V.jsx)(se,{outcome:e.outcome}),size:110},{key:`actor`,header:`Acteur`,value:e=>e.actor??`anonyme`,render:e=>(0,V.jsx)(ue,{actor:e.actor}),size:150},{key:`reason`,header:`Raison`,value:e=>e.reason??``,render:e=>(0,V.jsx)(C,{size:`sm`,ff:`monospace`,c:e.reason?void 0:`dimmed`,children:e.reason??`—`}),size:160},{key:`resource`,header:`Zone / ressource`,value:e=>e.resource??``,render:e=>(0,V.jsx)(C,{size:`sm`,c:e.resource?void 0:`dimmed`,children:e.resource??`—`}),size:150}],getRowId:e=>e.id,initialSort:{key:`ts`,dir:`desc`},pageSize:10,height:360,emptyMessage:`Aucun refus.`})]})]})]})});function je({authenticators:e}){return(0,V.jsxs)(f,{gap:`md`,children:[(0,V.jsxs)(u,{gap:`xs`,children:[(0,V.jsxs)(C,{size:`sm`,c:`dimmed`,children:[e.filter(e=>e.mounted).length,` monté(s) sur`,` `,e.length,` disponible(s).`]}),(0,V.jsx)(o,{title:`Authenticators`,version:L,summary:`Une façon de prouver son identité (pattern IAuthenticator). « Monté » = référencé par ≥1 zone (actif sur le pipeline) ; « Disponible » = utilisable en config mais non référencé.`,sections:[{label:`Challenge`,body:`Un authenticator « avec challenge » fournit l'en-tête WWW-Authenticate (RFC 7235) du 401 de sa zone.`}]})]}),(0,V.jsx)(t,{children:e.map(e=>(0,V.jsx)(t.Col,{span:{base:12,sm:6,lg:4},children:(0,V.jsxs)(g,{withBorder:!0,radius:`md`,p:`md`,h:`100%`,style:{opacity:e.mounted?1:.7},children:[(0,V.jsxs)(u,{justify:`space-between`,wrap:`nowrap`,mb:6,children:[(0,V.jsx)(K,{name:e.name}),(0,V.jsx)(Te,{mounted:e.mounted})]}),(0,V.jsx)(C,{size:`xs`,c:`dimmed`,children:I[e.name]?.blurb??`Authenticator enregistré (plugin).`}),e.challenge&&(0,V.jsx)(S,{mt:`xs`,size:`xs`,variant:`outline`,color:`gray`,style:{textTransform:`none`},children:`challenge WWW-Authenticate`})]})},e.name))})]})}var $=A(()=>{let e=T(),[r,i]=(0,B.useState)(`zones`),a=(0,B.useCallback)(async()=>{try{return await e.api.getAbsolute(F)}catch(e){throw Error(P(e),{cause:e})}},[e]),{data:o,loading:s,error:l,reload:d}=N(a),f=(0,B.useMemo)(()=>{let e=o?.zones??[];return{zones:e.length,protected:e.filter(e=>e.security).length,mounted:(o?.authenticators??[]).filter(e=>e.mounted).length,defenses:ye(o?.defenses??null)}},[o]),m=o?.configValid??!0,h=o?`${f.zones} zone(s) · ${f.mounted} authenticator(s) monté(s) · ${f.defenses}/4 défenses actives`:`Introspection du firewall`;return(0,V.jsx)(ie,{title:`Firewall`,subtitle:h,icon:(0,V.jsx)(D,{size:26}),actions:(0,V.jsxs)(u,{gap:`sm`,wrap:`nowrap`,children:[o&&(0,V.jsx)(S,{size:`lg`,variant:`light`,color:m?`teal`:`red`,leftSection:m?(0,V.jsx)(k,{size:14}):(0,V.jsx)(E,{size:14}),style:{textTransform:`none`},children:m?`Config valide`:`Fail-closed`}),(0,V.jsx)(x,{variant:`light`,leftSection:(0,V.jsx)(ee,{size:16}),loading:s,onClick:d,children:`Recharger`})]}),children:(0,V.jsx)(c,{loading:s&&!o,error:l,onRetry:d,children:o&&(0,V.jsxs)(V.Fragment,{children:[!m&&(0,V.jsx)(w,{variant:`light`,color:`red`,icon:(0,V.jsx)(ae,{size:18}),title:`Firewall fail-closed — configuration invalide`,children:o.configError??`La configuration de sécurité est invalide : toutes les requêtes sont rejetées (401) jusqu'à correction.`}),(0,V.jsxs)(t,{children:[(0,V.jsx)(p,{label:`Zones`,icon:(0,V.jsx)(O,{size:20,color:`var(--mantine-color-brand-5)`}),hint:`Zones de sécurité montées (patterns d'URL capturés par le firewall).`,children:(0,V.jsx)(C,{fz:28,fw:700,style:{fontVariantNumeric:`tabular-nums`},children:f.zones})}),(0,V.jsx)(p,{label:`Zones protégées`,icon:(0,V.jsx)(D,{size:20,color:`var(--mantine-color-teal-6)`}),hint:`Zones en Zero Trust (preuve d'identité requise, 401 sinon). Les autres sont publiques explicites.`,children:(0,V.jsx)(C,{fz:28,fw:700,c:`teal`,style:{fontVariantNumeric:`tabular-nums`},children:f.protected})}),(0,V.jsx)(p,{label:`Authenticators montés`,icon:(0,V.jsx)(z,{size:20,color:`var(--mantine-color-grape-6)`}),hint:`Authenticators instanciés car référencés par ≥1 zone (actifs sur le pipeline).`,children:(0,V.jsx)(C,{fz:28,fw:700,c:`grape`,style:{fontVariantNumeric:`tabular-nums`},children:f.mounted})}),(0,V.jsx)(p,{label:`Défenses actives`,icon:(0,V.jsx)(k,{size:20,color:`var(--mantine-color-blue-6)`}),hint:`Défenses transverses activées sur 4 : CSRF, CORS, en-têtes de sécurité, throttle de login.`,children:(0,V.jsxs)(C,{fz:28,fw:700,c:`blue`,style:{fontVariantNumeric:`tabular-nums`},children:[f.defenses,(0,V.jsxs)(C,{span:!0,fz:16,c:`dimmed`,children:[` `,`/ 4`]})]})})]}),(0,V.jsxs)(n,{value:r,onChange:e=>e&&i(e),mt:`xs`,children:[(0,V.jsxs)(n.List,{children:[(0,V.jsx)(n.Tab,{value:`zones`,leftSection:(0,V.jsx)(O,{size:15}),children:`Zones`}),(0,V.jsx)(n.Tab,{value:`authenticators`,leftSection:(0,V.jsx)(z,{size:15}),children:`Authenticators`}),(0,V.jsx)(n.Tab,{value:`defenses`,leftSection:(0,V.jsx)(k,{size:15}),children:`Défenses`}),(0,V.jsx)(n.Tab,{value:`roles`,leftSection:(0,V.jsx)(j,{size:15}),children:`Rôles`}),(0,V.jsx)(n.Tab,{value:`stats`,leftSection:(0,V.jsx)(me,{size:15}),children:`Statistiques`})]}),(0,V.jsx)(n.Panel,{value:`zones`,pt:`md`,children:(0,V.jsx)(Ee,{zones:o.zones})}),(0,V.jsx)(n.Panel,{value:`authenticators`,pt:`md`,children:(0,V.jsx)(je,{authenticators:o.authenticators})}),(0,V.jsx)(n.Panel,{value:`defenses`,pt:`md`,children:(0,V.jsx)(De,{defenses:o.defenses})}),(0,V.jsx)(n.Panel,{value:`roles`,pt:`md`,children:r===`roles`&&(0,V.jsx)(Oe,{})}),(0,V.jsx)(n.Panel,{value:`stats`,pt:`md`,children:r===`stats`&&(0,V.jsx)(Ae,{})})]})]})})})});export{$ as Firewall,$ as default};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`adjustments`,`Adjustments`,[[`path`,{d:`M4 10a2 2 0 1 0 4 0a2 2 0 0 0 -4 0`,key:`svg-0`}],[`path`,{d:`M6 4v4`,key:`svg-1`}],[`path`,{d:`M6 12v8`,key:`svg-2`}],[`path`,{d:`M10 16a2 2 0 1 0 4 0a2 2 0 0 0 -4 0`,key:`svg-3`}],[`path`,{d:`M12 4v10`,key:`svg-4`}],[`path`,{d:`M12 18v2`,key:`svg-5`}],[`path`,{d:`M16 7a2 2 0 1 0 4 0a2 2 0 0 0 -4 0`,key:`svg-6`}],[`path`,{d:`M18 4v1`,key:`svg-7`}],[`path`,{d:`M18 9v11`,key:`svg-8`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`adjustments`,`Adjustments`,[[`path`,{d:`M4 10a2 2 0 1 0 4 0a2 2 0 0 0 -4 0`,key:`svg-0`}],[`path`,{d:`M6 4v4`,key:`svg-1`}],[`path`,{d:`M6 12v8`,key:`svg-2`}],[`path`,{d:`M10 16a2 2 0 1 0 4 0a2 2 0 0 0 -4 0`,key:`svg-3`}],[`path`,{d:`M12 4v10`,key:`svg-4`}],[`path`,{d:`M12 18v2`,key:`svg-5`}],[`path`,{d:`M16 7a2 2 0 1 0 4 0a2 2 0 0 0 -4 0`,key:`svg-6`}],[`path`,{d:`M18 4v1`,key:`svg-7`}],[`path`,{d:`M18 9v11`,key:`svg-8`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`adjustments-alt`,`AdjustmentsAlt`,[[`path`,{d:`M4 8h4v4h-4l0 -4`,key:`svg-0`}],[`path`,{d:`M6 4l0 4`,key:`svg-1`}],[`path`,{d:`M6 12l0 8`,key:`svg-2`}],[`path`,{d:`M10 14h4v4h-4l0 -4`,key:`svg-3`}],[`path`,{d:`M12 4l0 10`,key:`svg-4`}],[`path`,{d:`M12 18l0 2`,key:`svg-5`}],[`path`,{d:`M16 5h4v4h-4l0 -4`,key:`svg-6`}],[`path`,{d:`M18 4l0 1`,key:`svg-7`}],[`path`,{d:`M18 9l0 11`,key:`svg-8`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`adjustments-alt`,`AdjustmentsAlt`,[[`path`,{d:`M4 8h4v4h-4l0 -4`,key:`svg-0`}],[`path`,{d:`M6 4l0 4`,key:`svg-1`}],[`path`,{d:`M6 12l0 8`,key:`svg-2`}],[`path`,{d:`M10 14h4v4h-4l0 -4`,key:`svg-3`}],[`path`,{d:`M12 4l0 10`,key:`svg-4`}],[`path`,{d:`M12 18l0 2`,key:`svg-5`}],[`path`,{d:`M16 5h4v4h-4l0 -4`,key:`svg-6`}],[`path`,{d:`M18 4l0 1`,key:`svg-7`}],[`path`,{d:`M18 9l0 11`,key:`svg-8`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`adjustments-horizontal`,`AdjustmentsHorizontal`,[[`path`,{d:`M12 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-0`}],[`path`,{d:`M4 6l8 0`,key:`svg-1`}],[`path`,{d:`M16 6l4 0`,key:`svg-2`}],[`path`,{d:`M6 12a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-3`}],[`path`,{d:`M4 12l2 0`,key:`svg-4`}],[`path`,{d:`M10 12l10 0`,key:`svg-5`}],[`path`,{d:`M15 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-6`}],[`path`,{d:`M4 18l11 0`,key:`svg-7`}],[`path`,{d:`M19 18l1 0`,key:`svg-8`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`adjustments-horizontal`,`AdjustmentsHorizontal`,[[`path`,{d:`M12 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-0`}],[`path`,{d:`M4 6l8 0`,key:`svg-1`}],[`path`,{d:`M16 6l4 0`,key:`svg-2`}],[`path`,{d:`M6 12a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-3`}],[`path`,{d:`M4 12l2 0`,key:`svg-4`}],[`path`,{d:`M10 12l10 0`,key:`svg-5`}],[`path`,{d:`M15 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-6`}],[`path`,{d:`M4 18l11 0`,key:`svg-7`}],[`path`,{d:`M19 18l1 0`,key:`svg-8`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`affiliate`,`Affiliate`,[[`path`,{d:`M5.931 6.936l1.275 4.249m5.607 5.609l4.251 1.275`,key:`svg-0`}],[`path`,{d:`M11.683 12.317l5.759 -5.759`,key:`svg-1`}],[`path`,{d:`M4 5.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0`,key:`svg-2`}],[`path`,{d:`M17 5.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0`,key:`svg-3`}],[`path`,{d:`M17 18.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0`,key:`svg-4`}],[`path`,{d:`M4 15.5a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0 -9 0`,key:`svg-5`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`affiliate`,`Affiliate`,[[`path`,{d:`M5.931 6.936l1.275 4.249m5.607 5.609l4.251 1.275`,key:`svg-0`}],[`path`,{d:`M11.683 12.317l5.759 -5.759`,key:`svg-1`}],[`path`,{d:`M4 5.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0`,key:`svg-2`}],[`path`,{d:`M17 5.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0`,key:`svg-3`}],[`path`,{d:`M17 18.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0`,key:`svg-4`}],[`path`,{d:`M4 15.5a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0 -9 0`,key:`svg-5`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`apps`,`Apps`,[[`path`,{d:`M4 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-0`}],[`path`,{d:`M4 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-1`}],[`path`,{d:`M14 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-2`}],[`path`,{d:`M14 7l6 0`,key:`svg-3`}],[`path`,{d:`M17 4l0 6`,key:`svg-4`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`apps`,`Apps`,[[`path`,{d:`M4 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-0`}],[`path`,{d:`M4 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-1`}],[`path`,{d:`M14 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-2`}],[`path`,{d:`M14 7l6 0`,key:`svg-3`}],[`path`,{d:`M17 4l0 6`,key:`svg-4`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`archive`,`Archive`,[[`path`,{d:`M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2`,key:`svg-0`}],[`path`,{d:`M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10`,key:`svg-1`}],[`path`,{d:`M10 12l4 0`,key:`svg-2`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`archive`,`Archive`,[[`path`,{d:`M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2`,key:`svg-0`}],[`path`,{d:`M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10`,key:`svg-1`}],[`path`,{d:`M10 12l4 0`,key:`svg-2`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`arrow-down`,`ArrowDown`,[[`path`,{d:`M12 5l0 14`,key:`svg-0`}],[`path`,{d:`M18 13l-6 6`,key:`svg-1`}],[`path`,{d:`M6 13l6 6`,key:`svg-2`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`arrow-down`,`ArrowDown`,[[`path`,{d:`M12 5l0 14`,key:`svg-0`}],[`path`,{d:`M18 13l-6 6`,key:`svg-1`}],[`path`,{d:`M6 13l6 6`,key:`svg-2`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`arrow-left`,`ArrowLeft`,[[`path`,{d:`M5 12l14 0`,key:`svg-0`}],[`path`,{d:`M5 12l6 6`,key:`svg-1`}],[`path`,{d:`M5 12l6 -6`,key:`svg-2`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`arrow-left`,`ArrowLeft`,[[`path`,{d:`M5 12l14 0`,key:`svg-0`}],[`path`,{d:`M5 12l6 6`,key:`svg-1`}],[`path`,{d:`M5 12l6 -6`,key:`svg-2`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`arrow-up`,`ArrowUp`,[[`path`,{d:`M12 5l0 14`,key:`svg-0`}],[`path`,{d:`M18 11l-6 -6`,key:`svg-1`}],[`path`,{d:`M6 11l6 -6`,key:`svg-2`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`arrow-up`,`ArrowUp`,[[`path`,{d:`M12 5l0 14`,key:`svg-0`}],[`path`,{d:`M18 11l-6 -6`,key:`svg-1`}],[`path`,{d:`M6 11l6 -6`,key:`svg-2`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`arrows-exchange`,`ArrowsExchange`,[[`path`,{d:`M7 10h14l-4 -4`,key:`svg-0`}],[`path`,{d:`M17 14h-14l4 4`,key:`svg-1`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`arrows-split-2`,`ArrowsSplit2`,[[`path`,{d:`M21 17h-5.397a5 5 0 0 1 -4.096 -2.133l-.514 -.734a5 5 0 0 0 -4.096 -2.133h-3.897`,key:`svg-0`}],[`path`,{d:`M21 7h-5.395a5 5 0 0 0 -4.098 2.135l-.51 .73a5 5 0 0 1 -4.097 2.135h-3.9`,key:`svg-1`}],[`path`,{d:`M18 10l3 -3l-3 -3`,key:`svg-2`}],[`path`,{d:`M18 20l3 -3l-3 -3`,key:`svg-3`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`arrows-split-2`,`ArrowsSplit2`,[[`path`,{d:`M21 17h-5.397a5 5 0 0 1 -4.096 -2.133l-.514 -.734a5 5 0 0 0 -4.096 -2.133h-3.897`,key:`svg-0`}],[`path`,{d:`M21 7h-5.395a5 5 0 0 0 -4.098 2.135l-.51 .73a5 5 0 0 1 -4.097 2.135h-3.9`,key:`svg-1`}],[`path`,{d:`M18 10l3 -3l-3 -3`,key:`svg-2`}],[`path`,{d:`M18 20l3 -3l-3 -3`,key:`svg-3`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`ban`,`Ban`,[[`path`,{d:`M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`,key:`svg-0`}],[`path`,{d:`M5.7 5.7l12.6 12.6`,key:`svg-1`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`book`,`Book`,[[`path`,{d:`M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0`,key:`svg-0`}],[`path`,{d:`M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0`,key:`svg-1`}],[`path`,{d:`M3 6l0 13`,key:`svg-2`}],[`path`,{d:`M12 6l0 13`,key:`svg-3`}],[`path`,{d:`M21 6l0 13`,key:`svg-4`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`book`,`Book`,[[`path`,{d:`M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0`,key:`svg-0`}],[`path`,{d:`M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0`,key:`svg-1`}],[`path`,{d:`M3 6l0 13`,key:`svg-2`}],[`path`,{d:`M12 6l0 13`,key:`svg-3`}],[`path`,{d:`M21 6l0 13`,key:`svg-4`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`circle-check`,`CircleCheck`,[[`path`,{d:`M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`,key:`svg-0`}],[`path`,{d:`M9 12l2 2l4 -4`,key:`svg-1`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`circle-check`,`CircleCheck`,[[`path`,{d:`M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`,key:`svg-0`}],[`path`,{d:`M9 12l2 2l4 -4`,key:`svg-1`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`circle-dot`,`CircleDot`,[[`path`,{d:`M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-0`}],[`path`,{d:`M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`,key:`svg-1`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`circle-dot`,`CircleDot`,[[`path`,{d:`M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-0`}],[`path`,{d:`M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`,key:`svg-1`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`circuit-resistor`,`CircuitResistor`,[[`path`,{d:`M2 12h2l2 -5l3 10l3 -10l3 10l3 -10l1.5 5h2.5`,key:`svg-0`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`code`,`Code`,[[`path`,{d:`M7 8l-4 4l4 4`,key:`svg-0`}],[`path`,{d:`M17 8l4 4l-4 4`,key:`svg-1`}],[`path`,{d:`M14 4l-4 16`,key:`svg-2`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`code`,`Code`,[[`path`,{d:`M7 8l-4 4l4 4`,key:`svg-0`}],[`path`,{d:`M17 8l4 4l-4 4`,key:`svg-1`}],[`path`,{d:`M14 4l-4 16`,key:`svg-2`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`device-desktop`,`DeviceDesktop`,[[`path`,{d:`M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-10`,key:`svg-0`}],[`path`,{d:`M7 20h10`,key:`svg-1`}],[`path`,{d:`M9 16v4`,key:`svg-2`}],[`path`,{d:`M15 16v4`,key:`svg-3`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`device-desktop`,`DeviceDesktop`,[[`path`,{d:`M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-10`,key:`svg-0`}],[`path`,{d:`M7 20h10`,key:`svg-1`}],[`path`,{d:`M9 16v4`,key:`svg-2`}],[`path`,{d:`M15 16v4`,key:`svg-3`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`dots`,`Dots`,[[`path`,{d:`M4 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-0`}],[`path`,{d:`M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-1`}],[`path`,{d:`M18 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-2`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`dots`,`Dots`,[[`path`,{d:`M4 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-0`}],[`path`,{d:`M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-1`}],[`path`,{d:`M18 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-2`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`download`,`Download`,[[`path`,{d:`M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2`,key:`svg-0`}],[`path`,{d:`M7 11l5 5l5 -5`,key:`svg-1`}],[`path`,{d:`M12 4l0 12`,key:`svg-2`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`download`,`Download`,[[`path`,{d:`M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2`,key:`svg-0`}],[`path`,{d:`M7 11l5 5l5 -5`,key:`svg-1`}],[`path`,{d:`M12 4l0 12`,key:`svg-2`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`eye`,`Eye`,[[`path`,{d:`M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0`,key:`svg-0`}],[`path`,{d:`M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6`,key:`svg-1`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`eye`,`Eye`,[[`path`,{d:`M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0`,key:`svg-0`}],[`path`,{d:`M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6`,key:`svg-1`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`file`,`File`,[[`path`,{d:`M14 3v4a1 1 0 0 0 1 1h4`,key:`svg-0`}],[`path`,{d:`M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2`,key:`svg-1`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`file`,`File`,[[`path`,{d:`M14 3v4a1 1 0 0 0 1 1h4`,key:`svg-0`}],[`path`,{d:`M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2`,key:`svg-1`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`folder`,`Folder`,[[`path`,{d:`M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2`,key:`svg-0`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`folder`,`Folder`,[[`path`,{d:`M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2`,key:`svg-0`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`git-branch`,`GitBranch`,[[`path`,{d:`M5 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-0`}],[`path`,{d:`M5 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-1`}],[`path`,{d:`M15 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-2`}],[`path`,{d:`M7 8l0 8`,key:`svg-3`}],[`path`,{d:`M9 18h6a2 2 0 0 0 2 -2v-5`,key:`svg-4`}],[`path`,{d:`M14 14l3 -3l3 3`,key:`svg-5`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`git-branch`,`GitBranch`,[[`path`,{d:`M5 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-0`}],[`path`,{d:`M5 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-1`}],[`path`,{d:`M15 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`,key:`svg-2`}],[`path`,{d:`M7 8l0 8`,key:`svg-3`}],[`path`,{d:`M9 18h6a2 2 0 0 0 2 -2v-5`,key:`svg-4`}],[`path`,{d:`M14 14l3 -3l3 3`,key:`svg-5`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`heart-rate-monitor`,`HeartRateMonitor`,[[`path`,{d:`M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1l0 -10`,key:`svg-0`}],[`path`,{d:`M7 20h10`,key:`svg-1`}],[`path`,{d:`M9 16v4`,key:`svg-2`}],[`path`,{d:`M15 16v4`,key:`svg-3`}],[`path`,{d:`M7 10h2l2 3l2 -6l1 3h3`,key:`svg-4`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`heart-rate-monitor`,`HeartRateMonitor`,[[`path`,{d:`M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1l0 -10`,key:`svg-0`}],[`path`,{d:`M7 20h10`,key:`svg-1`}],[`path`,{d:`M9 16v4`,key:`svg-2`}],[`path`,{d:`M15 16v4`,key:`svg-3`}],[`path`,{d:`M7 10h2l2 3l2 -6l1 3h3`,key:`svg-4`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`help-circle`,`HelpCircle`,[[`path`,{d:`M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0`,key:`svg-0`}],[`path`,{d:`M12 16v.01`,key:`svg-1`}],[`path`,{d:`M12 13a2 2 0 0 0 .914 -3.782a1.98 1.98 0 0 0 -2.414 .483`,key:`svg-2`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`help-circle`,`HelpCircle`,[[`path`,{d:`M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0`,key:`svg-0`}],[`path`,{d:`M12 16v.01`,key:`svg-1`}],[`path`,{d:`M12 13a2 2 0 0 0 .914 -3.782a1.98 1.98 0 0 0 -2.414 .483`,key:`svg-2`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`layout-grid`,`LayoutGrid`,[[`path`,{d:`M4 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-0`}],[`path`,{d:`M14 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-1`}],[`path`,{d:`M4 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-2`}],[`path`,{d:`M14 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-3`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`layout-grid`,`LayoutGrid`,[[`path`,{d:`M4 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-0`}],[`path`,{d:`M14 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-1`}],[`path`,{d:`M4 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-2`}],[`path`,{d:`M14 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4`,key:`svg-3`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`api`,`Api`,[[`path`,{d:`M4 13h5`,key:`svg-0`}],[`path`,{d:`M12 16v-8h3a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-3`,key:`svg-1`}],[`path`,{d:`M20 8v8`,key:`svg-2`}],[`path`,{d:`M9 16v-5.5a2.5 2.5 0 0 0 -5 0v5.5`,key:`svg-3`}]]),n=e(`outline`,`network`,`Network`,[[`path`,{d:`M6 9a6 6 0 1 0 12 0a6 6 0 0 0 -12 0`,key:`svg-0`}],[`path`,{d:`M12 3c1.333 .333 2 2.333 2 6s-.667 5.667 -2 6`,key:`svg-1`}],[`path`,{d:`M12 3c-1.333 .333 -2 2.333 -2 6s.667 5.667 2 6`,key:`svg-2`}],[`path`,{d:`M6 9h12`,key:`svg-3`}],[`path`,{d:`M3 20h7`,key:`svg-4`}],[`path`,{d:`M14 20h7`,key:`svg-5`}],[`path`,{d:`M10 20a2 2 0 1 0 4 0a2 2 0 0 0 -4 0`,key:`svg-6`}],[`path`,{d:`M12 15v3`,key:`svg-7`}]]);export{t as n,n as t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`api`,`Api`,[[`path`,{d:`M4 13h5`,key:`svg-0`}],[`path`,{d:`M12 16v-8h3a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-3`,key:`svg-1`}],[`path`,{d:`M20 8v8`,key:`svg-2`}],[`path`,{d:`M9 16v-5.5a2.5 2.5 0 0 0 -5 0v5.5`,key:`svg-3`}]]),n=e(`outline`,`network`,`Network`,[[`path`,{d:`M6 9a6 6 0 1 0 12 0a6 6 0 0 0 -12 0`,key:`svg-0`}],[`path`,{d:`M12 3c1.333 .333 2 2.333 2 6s-.667 5.667 -2 6`,key:`svg-1`}],[`path`,{d:`M12 3c-1.333 .333 -2 2.333 -2 6s.667 5.667 2 6`,key:`svg-2`}],[`path`,{d:`M6 9h12`,key:`svg-3`}],[`path`,{d:`M3 20h7`,key:`svg-4`}],[`path`,{d:`M14 20h7`,key:`svg-5`}],[`path`,{d:`M10 20a2 2 0 1 0 4 0a2 2 0 0 0 -4 0`,key:`svg-6`}],[`path`,{d:`M12 15v3`,key:`svg-7`}]]);export{t as n,n as t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`app-window`,`AppWindow`,[[`path`,{d:`M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10`,key:`svg-0`}],[`path`,{d:`M6 8h.01`,key:`svg-1`}],[`path`,{d:`M9 8h.01`,key:`svg-2`}]]),n=e(`outline`,`packages`,`Packages`,[[`path`,{d:`M7 16.5l-5 -3l5 -3l5 3v5.5l-5 3l0 -5.5`,key:`svg-0`}],[`path`,{d:`M2 13.5v5.5l5 3`,key:`svg-1`}],[`path`,{d:`M7 16.545l5 -3.03`,key:`svg-2`}],[`path`,{d:`M17 16.5l-5 -3l5 -3l5 3v5.5l-5 3l0 -5.5`,key:`svg-3`}],[`path`,{d:`M12 19l5 3`,key:`svg-4`}],[`path`,{d:`M17 16.5l5 -3`,key:`svg-5`}],[`path`,{d:`M12 13.5v-5.5l-5 -3l5 -3l5 3v5.5`,key:`svg-6`}],[`path`,{d:`M7 5.03v5.455`,key:`svg-7`}],[`path`,{d:`M12 8l5 -3`,key:`svg-8`}]]);export{t as n,n as t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`app-window`,`AppWindow`,[[`path`,{d:`M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10`,key:`svg-0`}],[`path`,{d:`M6 8h.01`,key:`svg-1`}],[`path`,{d:`M9 8h.01`,key:`svg-2`}]]),n=e(`outline`,`packages`,`Packages`,[[`path`,{d:`M7 16.5l-5 -3l5 -3l5 3v5.5l-5 3l0 -5.5`,key:`svg-0`}],[`path`,{d:`M2 13.5v5.5l5 3`,key:`svg-1`}],[`path`,{d:`M7 16.545l5 -3.03`,key:`svg-2`}],[`path`,{d:`M17 16.5l-5 -3l5 -3l5 3v5.5l-5 3l0 -5.5`,key:`svg-3`}],[`path`,{d:`M12 19l5 3`,key:`svg-4`}],[`path`,{d:`M17 16.5l5 -3`,key:`svg-5`}],[`path`,{d:`M12 13.5v-5.5l-5 -3l5 -3l5 3v5.5`,key:`svg-6`}],[`path`,{d:`M7 5.03v5.455`,key:`svg-7`}],[`path`,{d:`M12 8l5 -3`,key:`svg-8`}]]);export{t as n,n as t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`pencil`,`Pencil`,[[`path`,{d:`M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4`,key:`svg-0`}],[`path`,{d:`M13.5 6.5l4 4`,key:`svg-1`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`pencil`,`Pencil`,[[`path`,{d:`M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4`,key:`svg-0`}],[`path`,{d:`M13.5 6.5l4 4`,key:`svg-1`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`player-pause`,`PlayerPause`,[[`path`,{d:`M6 6a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1l0 -12`,key:`svg-0`}],[`path`,{d:`M14 6a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1l0 -12`,key:`svg-1`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`player-pause`,`PlayerPause`,[[`path`,{d:`M6 6a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1l0 -12`,key:`svg-0`}],[`path`,{d:`M14 6a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1l0 -12`,key:`svg-1`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`player-play`,`PlayerPlay`,[[`path`,{d:`M7 4v16l13 -8l-13 -8`,key:`svg-0`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`plus`,`Plus`,[[`path`,{d:`M12 5l0 14`,key:`svg-0`}],[`path`,{d:`M5 12l14 0`,key:`svg-1`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`puzzle`,`Puzzle`,[[`path`,{d:`M4 7h3a1 1 0 0 0 1 -1v-1a2 2 0 0 1 4 0v1a1 1 0 0 0 1 1h3a1 1 0 0 1 1 1v3a1 1 0 0 0 1 1h1a2 2 0 0 1 0 4h-1a1 1 0 0 0 -1 1v3a1 1 0 0 1 -1 1h-3a1 1 0 0 1 -1 -1v-1a2 2 0 0 0 -4 0v1a1 1 0 0 1 -1 1h-3a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1h1a2 2 0 0 0 0 -4h-1a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1`,key:`svg-0`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`puzzle`,`Puzzle`,[[`path`,{d:`M4 7h3a1 1 0 0 0 1 -1v-1a2 2 0 0 1 4 0v1a1 1 0 0 0 1 1h3a1 1 0 0 1 1 1v3a1 1 0 0 0 1 1h1a2 2 0 0 1 0 4h-1a1 1 0 0 0 -1 1v3a1 1 0 0 1 -1 1h-3a1 1 0 0 1 -1 -1v-1a2 2 0 0 0 -4 0v1a1 1 0 0 1 -1 1h-3a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1h1a2 2 0 0 0 0 -4h-1a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1`,key:`svg-0`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`box-multiple`,`BoxMultiple`,[[`path`,{d:`M7 5a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2l0 -10`,key:`svg-0`}],[`path`,{d:`M17 17v2a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h2`,key:`svg-1`}]]),n=e(`outline`,`recycle`,`Recycle`,[[`path`,{d:`M12 17l-2 2l2 2`,key:`svg-0`}],[`path`,{d:`M10 19h9a2 2 0 0 0 1.75 -2.75l-.55 -1`,key:`svg-1`}],[`path`,{d:`M8.536 11l-.732 -2.732l-2.732 .732`,key:`svg-2`}],[`path`,{d:`M7.804 8.268l-4.5 7.794a2 2 0 0 0 1.506 2.89l1.141 .024`,key:`svg-3`}],[`path`,{d:`M15.464 11l2.732 .732l.732 -2.732`,key:`svg-4`}],[`path`,{d:`M18.196 11.732l-4.5 -7.794a2 2 0 0 0 -3.256 -.14l-.591 .976`,key:`svg-5`}]]);export{t as n,n as t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`box-multiple`,`BoxMultiple`,[[`path`,{d:`M7 5a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2l0 -10`,key:`svg-0`}],[`path`,{d:`M17 17v2a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h2`,key:`svg-1`}]]),n=e(`outline`,`recycle`,`Recycle`,[[`path`,{d:`M12 17l-2 2l2 2`,key:`svg-0`}],[`path`,{d:`M10 19h9a2 2 0 0 0 1.75 -2.75l-.55 -1`,key:`svg-1`}],[`path`,{d:`M8.536 11l-.732 -2.732l-2.732 .732`,key:`svg-2`}],[`path`,{d:`M7.804 8.268l-4.5 7.794a2 2 0 0 0 1.506 2.89l1.141 .024`,key:`svg-3`}],[`path`,{d:`M15.464 11l2.732 .732l.732 -2.732`,key:`svg-4`}],[`path`,{d:`M18.196 11.732l-4.5 -7.794a2 2 0 0 0 -3.256 -.14l-.591 .976`,key:`svg-5`}]]);export{t as n,n as t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`send`,`Send`,[[`path`,{d:`M10 14l11 -11`,key:`svg-0`}],[`path`,{d:`M21 3l-6.5 18a.55 .55 0 0 1 -1 0l-3.5 -7l-7 -3.5a.55 .55 0 0 1 0 -1l18 -6.5`,key:`svg-1`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`send`,`Send`,[[`path`,{d:`M10 14l11 -11`,key:`svg-0`}],[`path`,{d:`M21 3l-6.5 18a.55 .55 0 0 1 -1 0l-3.5 -7l-7 -3.5a.55 .55 0 0 1 0 -1l18 -6.5`,key:`svg-1`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`server-2`,`Server2`,[[`path`,{d:`M3 7a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-2`,key:`svg-0`}],[`path`,{d:`M3 15a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3l0 -2`,key:`svg-1`}],[`path`,{d:`M7 8l0 .01`,key:`svg-2`}],[`path`,{d:`M7 16l0 .01`,key:`svg-3`}],[`path`,{d:`M11 8h6`,key:`svg-4`}],[`path`,{d:`M11 16h6`,key:`svg-5`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`server-2`,`Server2`,[[`path`,{d:`M3 7a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-2`,key:`svg-0`}],[`path`,{d:`M3 15a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3l0 -2`,key:`svg-1`}],[`path`,{d:`M7 8l0 .01`,key:`svg-2`}],[`path`,{d:`M7 16l0 .01`,key:`svg-3`}],[`path`,{d:`M11 8h6`,key:`svg-4`}],[`path`,{d:`M11 16h6`,key:`svg-5`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`shield-off`,`ShieldOff`,[[`path`,{d:`M17.67 17.667a12 12 0 0 1 -5.67 3.333a12 12 0 0 1 -8.5 -15c.794 .036 1.583 -.006 2.357 -.124m3.128 -.926a11.997 11.997 0 0 0 3.015 -1.95a12 12 0 0 0 8.5 3a12 12 0 0 1 -1.116 9.376`,key:`svg-0`}],[`path`,{d:`M3 3l18 18`,key:`svg-1`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`shield-off`,`ShieldOff`,[[`path`,{d:`M17.67 17.667a12 12 0 0 1 -5.67 3.333a12 12 0 0 1 -8.5 -15c.794 .036 1.583 -.006 2.357 -.124m3.128 -.926a11.997 11.997 0 0 0 3.015 -1.95a12 12 0 0 0 8.5 3a12 12 0 0 1 -1.116 9.376`,key:`svg-0`}],[`path`,{d:`M3 3l18 18`,key:`svg-1`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`sitemap`,`Sitemap`,[[`path`,{d:`M3 17a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -2`,key:`svg-0`}],[`path`,{d:`M15 17a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -2`,key:`svg-1`}],[`path`,{d:`M9 5a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -2`,key:`svg-2`}],[`path`,{d:`M6 15v-1a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v1`,key:`svg-3`}],[`path`,{d:`M12 9l0 3`,key:`svg-4`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`sitemap`,`Sitemap`,[[`path`,{d:`M3 17a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -2`,key:`svg-0`}],[`path`,{d:`M15 17a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -2`,key:`svg-1`}],[`path`,{d:`M9 5a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -2`,key:`svg-2`}],[`path`,{d:`M6 15v-1a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v1`,key:`svg-3`}],[`path`,{d:`M12 9l0 3`,key:`svg-4`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`stack-2`,`Stack2`,[[`path`,{d:`M12 4l-8 4l8 4l8 -4l-8 -4`,key:`svg-0`}],[`path`,{d:`M4 12l8 4l8 -4`,key:`svg-1`}],[`path`,{d:`M4 16l8 4l8 -4`,key:`svg-2`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`stack-2`,`Stack2`,[[`path`,{d:`M12 4l-8 4l8 4l8 -4l-8 -4`,key:`svg-0`}],[`path`,{d:`M4 12l8 4l8 -4`,key:`svg-1`}],[`path`,{d:`M4 16l8 4l8 -4`,key:`svg-2`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`terminal-2`,`Terminal2`,[[`path`,{d:`M8 9l3 3l-3 3`,key:`svg-0`}],[`path`,{d:`M13 15l3 0`,key:`svg-1`}],[`path`,{d:`M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -12`,key:`svg-2`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`terminal-2`,`Terminal2`,[[`path`,{d:`M8 9l3 3l-3 3`,key:`svg-0`}],[`path`,{d:`M13 15l3 0`,key:`svg-1`}],[`path`,{d:`M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -12`,key:`svg-2`}]]);export{t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`building-community`,`BuildingCommunity`,[[`path`,{d:`M8 9l5 5v7h-5v-4m0 4h-5v-7l5 -5m1 1v-6a1 1 0 0 1 1 -1h10a1 1 0 0 1 1 1v17h-8`,key:`svg-0`}],[`path`,{d:`M13 7l0 .01`,key:`svg-1`}],[`path`,{d:`M17 7l0 .01`,key:`svg-2`}],[`path`,{d:`M17 11l0 .01`,key:`svg-3`}],[`path`,{d:`M17 15l0 .01`,key:`svg-4`}]]),n=e(`outline`,`user-check`,`UserCheck`,[[`path`,{d:`M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0`,key:`svg-0`}],[`path`,{d:`M6 21v-2a4 4 0 0 1 4 -4h4`,key:`svg-1`}],[`path`,{d:`M15 19l2 2l4 -4`,key:`svg-2`}]]),r=e(`outline`,`user-off`,`UserOff`,[[`path`,{d:`M8.18 8.189a4.01 4.01 0 0 0 2.616 2.627m3.507 -.545a4 4 0 1 0 -5.59 -5.552`,key:`svg-0`}],[`path`,{d:`M6 21v-2a4 4 0 0 1 4 -4h4c.412 0 .81 .062 1.183 .178m2.633 2.618c.12 .38 .184 .785 .184 1.204v2`,key:`svg-1`}],[`path`,{d:`M3 3l18 18`,key:`svg-2`}]]);export{n,t as r,r as t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`building-community`,`BuildingCommunity`,[[`path`,{d:`M8 9l5 5v7h-5v-4m0 4h-5v-7l5 -5m1 1v-6a1 1 0 0 1 1 -1h10a1 1 0 0 1 1 1v17h-8`,key:`svg-0`}],[`path`,{d:`M13 7l0 .01`,key:`svg-1`}],[`path`,{d:`M17 7l0 .01`,key:`svg-2`}],[`path`,{d:`M17 11l0 .01`,key:`svg-3`}],[`path`,{d:`M17 15l0 .01`,key:`svg-4`}]]),n=e(`outline`,`user-check`,`UserCheck`,[[`path`,{d:`M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0`,key:`svg-0`}],[`path`,{d:`M6 21v-2a4 4 0 0 1 4 -4h4`,key:`svg-1`}],[`path`,{d:`M15 19l2 2l4 -4`,key:`svg-2`}]]),r=e(`outline`,`user-off`,`UserOff`,[[`path`,{d:`M8.18 8.189a4.01 4.01 0 0 0 2.616 2.627m3.507 -.545a4 4 0 1 0 -5.59 -5.552`,key:`svg-0`}],[`path`,{d:`M6 21v-2a4 4 0 0 1 4 -4h4c.412 0 .81 .062 1.183 .178m2.633 2.618c.12 .38 .184 .785 .184 1.204v2`,key:`svg-1`}],[`path`,{d:`M3 3l18 18`,key:`svg-2`}]]);export{n,t as r,r as t};
@@ -1 +1 @@
1
- import{Et as e}from"./ui-Bs-M5MwD.js";var t=e(`outline`,`world`,`World`,[[`path`,{d:`M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0`,key:`svg-0`}],[`path`,{d:`M3.6 9h16.8`,key:`svg-1`}],[`path`,{d:`M3.6 15h16.8`,key:`svg-2`}],[`path`,{d:`M11.5 3a17 17 0 0 0 0 18`,key:`svg-3`}],[`path`,{d:`M12.5 3a17 17 0 0 1 0 18`,key:`svg-4`}]]);export{t};
1
+ import{Et as e}from"./ui-BuLVKSvk.js";var t=e(`outline`,`world`,`World`,[[`path`,{d:`M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0`,key:`svg-0`}],[`path`,{d:`M3.6 9h16.8`,key:`svg-1`}],[`path`,{d:`M3.6 15h16.8`,key:`svg-2`}],[`path`,{d:`M11.5 3a17 17 0 0 0 0 18`,key:`svg-3`}],[`path`,{d:`M12.5 3a17 17 0 0 1 0 18`,key:`svg-4`}]]);export{t};
@@ -1 +1 @@
1
- import{Hr as e,Kn as t,Kr as n,Ur as r,Wn as i,Xr as a,er as o,nr as s,or as c,wr as l}from"./ui-Bs-M5MwD.js";var[u,d]=a(`List component was not found in tree`),f={root:`m_abbac491`,item:`m_abb6bec2`,itemWrapper:`m_75cd9f71`,itemIcon:`m_60f83e5b`},p=c(),m=t(e=>{let{classNames:t,className:n,style:r,styles:a,vars:o,icon:c,children:l,mod:u,...f}=s(`ListItem`,null,e),m=d(),h=c||m.icon,g={classNames:t,styles:a};return(0,p.jsx)(i,{...m.getStyles(`item`,{...g,className:n,style:r}),component:`li`,mod:[{"with-icon":!!h,centered:m.center},u],...f,children:(0,p.jsxs)(`div`,{...m.getStyles(`itemWrapper`,g),children:[h&&(0,p.jsx)(`span`,{...m.getStyles(`itemIcon`,g),children:h}),(0,p.jsx)(`span`,{...m.getStyles(`itemLabel`,g),children:l})]})})});m.classes=f,m.displayName=`@mantine/core/ListItem`;var h={type:`unordered`},g=l((t,{size:i,spacing:a})=>({root:{"--list-fz":e(i),"--list-lh":r(i),"--list-spacing":n(a)}})),_=t(e=>{let t=s(`List`,h,e),{classNames:n,className:r,style:a,styles:c,unstyled:l,vars:d,children:m,type:_,withPadding:v,icon:y,spacing:b,center:x,listStyleType:S,mod:C,attributes:w,...T}=t,E=o({name:`List`,classes:f,props:t,className:r,style:a,classNames:n,styles:c,unstyled:l,attributes:w,vars:d,varsResolver:g});return(0,p.jsx)(u,{value:{center:x,icon:y,getStyles:E},children:(0,p.jsx)(i,{...E(`root`,{style:{listStyleType:S}}),component:_===`unordered`?`ul`:`ol`,mod:[{"with-padding":v,type:y?`none`:S},C],...T,children:m})})});_.classes=f,_.varsResolver=g,_.displayName=`@mantine/core/List`,_.Item=m;export{_ as t};
1
+ import{Kn as e,Tr as t,Ur as n,Wn as r,Wr as i,Zr as a,er as o,nr as s,or as c,qr as l}from"./ui-BuLVKSvk.js";var[u,d]=a(`List component was not found in tree`),f={root:`m_abbac491`,item:`m_abb6bec2`,itemWrapper:`m_75cd9f71`,itemIcon:`m_60f83e5b`},p=c(),m=e(e=>{let{classNames:t,className:n,style:i,styles:a,vars:o,icon:c,children:l,mod:u,...f}=s(`ListItem`,null,e),m=d(),h=c||m.icon,g={classNames:t,styles:a};return(0,p.jsx)(r,{...m.getStyles(`item`,{...g,className:n,style:i}),component:`li`,mod:[{"with-icon":!!h,centered:m.center},u],...f,children:(0,p.jsxs)(`div`,{...m.getStyles(`itemWrapper`,g),children:[h&&(0,p.jsx)(`span`,{...m.getStyles(`itemIcon`,g),children:h}),(0,p.jsx)(`span`,{...m.getStyles(`itemLabel`,g),children:l})]})})});m.classes=f,m.displayName=`@mantine/core/ListItem`;var h={type:`unordered`},g=t((e,{size:t,spacing:r})=>({root:{"--list-fz":n(t),"--list-lh":i(t),"--list-spacing":l(r)}})),_=e(e=>{let t=s(`List`,h,e),{classNames:n,className:i,style:a,styles:c,unstyled:l,vars:d,children:m,type:_,withPadding:v,icon:y,spacing:b,center:x,listStyleType:S,mod:C,attributes:w,...T}=t,E=o({name:`List`,classes:f,props:t,className:i,style:a,classNames:n,styles:c,unstyled:l,attributes:w,vars:d,varsResolver:g});return(0,p.jsx)(u,{value:{center:x,icon:y,getStyles:E},children:(0,p.jsx)(r,{...E(`root`,{style:{listStyleType:S}}),component:_===`unordered`?`ul`:`ol`,mod:[{"with-padding":v,type:y?`none`:S},C],...T,children:m})})});_.classes=f,_.varsResolver=g,_.displayName=`@mantine/core/List`,_.Item=m;export{_ as t};
@@ -1 +1 @@
1
- import{$ as e,H as t,Mn as n,Mt as r,Rt as i,lt as a,nn as o,or as s,sn as c,vn as l,wt as u,yn as d}from"./ui-Bs-M5MwD.js";import{t as f}from"./IconAffiliate-CsEEb3NP.js";import{t as p}from"./IconDeviceDesktop-0r3JqufS.js";import{t as m}from"./IconStack2-DUtdVXJL.js";import{J as h,Y as g,et as _}from"./index-CIQdXaPf.js";var v=s(),y={30:`#000000`,31:`#e06c75`,32:`#98c379`,33:`#e5c07b`,34:`#61afef`,35:`#c678dd`,36:`#56b6c2`,37:`#dcdcdc`,90:`#5c6370`,91:`#ff7b85`,92:`#a8d289`,93:`#f0d090`,94:`#7bb8f0`,95:`#d088e0`,96:`#66c8d0`,97:`#ffffff`},b={40:`#1a1a1a`,41:`#7a3030`,42:`#3a6a30`,43:`#7a5a20`,44:`#2a4a7a`,45:`#5a3070`,46:`#2a6068`,47:`#5a5a5a`,100:`#2a2a2a`,101:`#8a4040`,102:`#4a7a40`,103:`#8a6a30`,104:`#3a5a8a`,105:`#6a4080`,106:`#3a7078`,107:`#6a6a6a`};function x(e,t,n){return!t.fg&&!t.bg&&!t.bold?e:(0,v.jsx)(`span`,{style:{color:t.fg,backgroundColor:t.bg,fontWeight:t.bold?600:void 0,padding:t.bg?`0 2px`:void 0,borderRadius:t.bg?2:void 0},children:e},n)}function S(e){if(!e||typeof e!=`string`||e.indexOf(`\x1B[`)===-1)return e;let t=/\x1b\[([\d;]*)m/g,n=[],r=0,i={},a=0,o;for(;o=t.exec(e);){o.index>r&&n.push(x(e.slice(r,o.index),i,a++));let t=o[1].split(`;`).filter(e=>e.length>0).map(Number);t.length===0&&t.push(0);for(let e of t)e===0?i={}:e===1?i.bold=!0:e===22?i.bold=!1:e===39?i.fg=void 0:e===49?i.bg=void 0:y[e]?i.fg=y[e]:b[e]&&(i.bg=b[e]);r=o.index+o[0].length}return r<e.length&&n.push(x(e.slice(r),i,a++)),n}var C=[...r].reverse(),w=`v2.0`,T={DEBUG:`gray`,INFO:`blue`,NOTICE:`cyan`,WARNING:`yellow`,ERROR:`red`,CRITIC:`red`,ALERT:`red`,EMERGENCY:`red`},E=new Set([`ERROR`,`CRITIC`,`ALERT`,`EMERGENCY`]),D=new Set([`CRITIC`,`ALERT`,`EMERGENCY`]);function O(e){return T[e]??`gray`}function k(e){return D.has(e)?`filled`:`light`}function A(e){return E.has(e)}function j(e){if(typeof e.payload==`string`)return e.payload;if(e.msg)return e.msg;try{return JSON.stringify(e.payload)}catch{return String(e.payload)}}function M(e){return new Date(e).toTimeString().slice(0,8)}function N(e){return String(new Date(e).getMilliseconds()).padStart(3,`0`)}function P(e){let t=new Date(e);return`${t.toLocaleDateString()} ${t.toTimeString().slice(0,8)}.${N(e)}`}var F={memory:{label:`Mémoire (ring buffer)`,description:`Le ring buffer volatile du Syslog EST le stockage : relecture instantanée, borné aux N derniers logs, perdu au redémarrage. Driver par défaut en dev.`,icon:`memory`},file:{label:`Fichier JSONL`,description:`Pdu persistés en JSON Lines sur disque (1 fichier par worker, nodefony-<pid>.jsonl), relus par scan borné. Node-only (LB.2). Activé par config (log.queryDriver: "file").`,icon:`file`},"cluster-file":{label:`Cluster (fichiers agrégés)`,description:`Vue UNIFIÉE du cluster : agrège les nodefony-<pid>.jsonl de TOUS les workers, fusionnés par horodatage. C'est LE driver de relecture à utiliser en cluster (les autres ne voient que le worker courant). Node-only (LB.5).`,icon:`cluster`},loki:{label:`Grafana Loki`,description:`Agrégation de logs cloud-native (labels + LogQL), légère (indexe les labels, pas un index full-text). Push HTTP batché + relecture LogQL, vue cluster native (LB.4). Activer : log.queryDriver="loki" + LOKI_URL (docker --profile loki).`,icon:`search`},opensearch:{label:`OpenSearch`,description:`Recherche plein-texte distribuée, rétention longue (fork Apache 2.0 d'Elasticsearch — OSI, licence non-SSPL). Indexation _bulk + recherche _search (LB.4). Activer : log.queryDriver="opensearch" + OPENSEARCH_URL (docker --profile opensearch).`,icon:`search`}};function I(e){return F[e]??{label:e,description:`Driver de destination personnalisé enregistré dans le registry.`,icon:`generic`}}var L=[`file`,`cluster-file`,`loki`,`opensearch`],R=new Set([`cluster-file`,`loki`,`opensearch`]);function z(e){return e!=null&&R.has(e)}function B(e){if(!e||typeof e!=`object`)return null;let t=e;return typeof t.severityName==`string`?{uid:typeof t.uid==`number`?t.uid:0,severity:typeof t.severity==`number`?t.severity:7,severityName:t.severityName,moduleName:typeof t.moduleName==`string`?t.moduleName:``,msgid:typeof t.msgid==`string`?t.msgid:``,msg:typeof t.msg==`string`?t.msg:void 0,timeStamp:typeof t.timeStamp==`number`?t.timeStamp:Date.now(),pid:typeof t.pid==`number`?t.pid:0,payload:t.payload,requestId:typeof t.requestId==`string`?t.requestId:void 0}:null}var V=[`file`,`loki`,`opensearch`,`syslog`];function H(e,t){switch(e){case`console`:return{label:`Console (stdout)`,on:`Logs formatés sur la sortie standard — destination #1 cloud-native (1 pod → stdout → collecteur).`,off:`Transport console non monté.`};case`file`:return{label:`Fichier JSONL`,on:t?`Pdu structurés en JSON Lines (1 « nodefony-<pid>.jsonl » par worker) dans ${t} — relus par les drivers « fichier » / « cluster ». Liste exacte : onglet Fichiers.`:`Pdu structurés en JSON Lines (1 .jsonl par worker), relus par les drivers « fichier » / « cluster ». En prod : logs → collecteur (pas de fichiers).`,off:`Non activé (log.queryDriver: « file » ou « cluster-file »).`,driverName:`file`};case`loki`:return{label:`Grafana Loki`,on:`Push HTTP batché (streams LogQL) vers Loki.`,off:`Non configuré (LOKI_URL absent).`,driverName:`loki`};case`opensearch`:return{label:`OpenSearch`,on:`Indexation _bulk batchée vers OpenSearch.`,off:`Non configuré (OPENSEARCH_URL absent).`,driverName:`opensearch`};case`syslog`:return{label:`Syslog (RFC 5424)`,on:`Émission vers un serveur syslog distant (rsyslog / journald, UDP/TCP).`,off:`Transport syslog non monté.`};case`http`:return{label:`HTTP générique`,on:`POST batché des logs vers un endpoint HTTP custom.`,off:`Transport HTTP non monté.`};default:return{label:e,on:`Transport d'écriture personnalisé monté.`,off:`Transport personnalisé non monté.`}}}function U(e){let t=e.write.sink,n=t!==`null`&&t!==`none`,r=e.write.sinkEnabled!==!1,i=n&&r,a=e.write.ringEnabled!==!1,o=e.write.logDir,{buffered:s,bufferCapacity:c}=e.counters,l=c?`Pile tournante (ring buffer) : les ${c} derniers logs gardés en mémoire — ${s} / ${c} occupés (${Math.round(s/c*100)} % plein). Une fois plein, chaque nouveau log écrase le plus ancien (FIFO borné, O(1)). Relu par l'Explorer « mémoire » ; perdu au redémarrage.`:`Pile tournante (ring buffer) : les N derniers logs en mémoire ; le plus ancien dégage quand c'est plein. Relu par l'Explorer « mémoire » ; perdu au redémarrage.`,u=[{id:`ring`,label:`Mémoire (ring)`,detail:a?l:`Stockage mémoire COUPÉ — l'Explorer « mémoire » est vide. Les compteurs santé restent comptés. Réactiver pour relire en RAM.`,on:a,kind:`ring`,togglable:!0,toggleKind:`ring`,capacity:c,used:s},{id:`sink`,label:t===`file`?`Fichier texte (.log)`:t===`stdout`?`stdout (console)`:`sink « ${t} »`,detail:n?r?t===`file`?`La ligne texte de chaque log est ajoutée à un fichier .log.`:`La ligne texte part sur la sortie standard (console / collecteur).`:`Sink texte COUPÉ à chaud — plus aucune ligne en console/fichier. Réactiver pour rétablir.`:`Sink texte désactivé par config (null) — aucune ligne texte écrite (bench).`,on:i,kind:`sink`,togglable:n,toggleKind:`sink`}],d=e.write.transports;if(d){let e=new Set,t=(t,n,r)=>{if(e.has(t))return;e.add(t);let i=H(t,o),a={id:`transport:${t}`,label:i.label,detail:n?i.on:i.off,on:n,kind:`transport`,togglable:r,toggleKind:`transport`,transportName:t};i.driverName&&(a.driverName=i.driverName),u.push(a)};for(let e of d)t(e.name,e.enabled,!0);for(let e of V)t(e,!1,!1);return u}let f=new Set(e.drivers.filter(e=>e.capabilities.write).map(e=>e.name)),p=e=>f.has(e);return u.push({id:`jsonl`,label:`Fichier JSONL`,detail:p(`file`)||p(`cluster-file`)?`Pdu structurés en JSON Lines (1 .jsonl par worker), relus par les drivers « fichier » / « cluster ».`:`Non activé (log.queryDriver: « file » ou « cluster-file »).`,on:p(`file`)||p(`cluster-file`),kind:`transport`,driverName:p(`cluster-file`)?`cluster-file`:`file`},{id:`loki`,label:`Grafana Loki`,detail:p(`loki`)?`Push HTTP batché (streams LogQL) vers Loki.`:`Non configuré (LOKI_URL absent).`,on:p(`loki`),kind:`transport`,driverName:`loki`},{id:`opensearch`,label:`OpenSearch`,detail:p(`opensearch`)?`Indexation _bulk batchée vers OpenSearch.`:`Non configuré (OPENSEARCH_URL absent).`,on:p(`opensearch`),kind:`transport`,driverName:`opensearch`}),u}function W(e){switch(e){case`connected`:return{label:`connecté`,color:`teal`,live:!0};case`connecting`:return{label:`connexion…`,color:`yellow`,live:!1};case`reconnecting`:return{label:`reconnexion…`,color:`orange`,live:!1};case`error`:return{label:`erreur`,color:`red`,live:!1};default:return{label:`hors ligne`,color:`gray`,live:!1}}}function G(e){let t=Object.fromEntries(C.map(e=>[e,0]));for(let n of e){let e=n.severityName;e in t&&(t[e]+=1)}return t}var K={memory:m,file:h,cluster:f,search:e,generic:g};function q({moduleName:e}){return e===`browser`?(0,v.jsx)(c,{size:`xs`,variant:`light`,color:`grape`,leftSection:(0,v.jsx)(p,{size:11}),style:{flexShrink:0},title:`Journal remonté par un navigateur, réinjecté par le pod`,children:`navigateur`}):(0,v.jsx)(l,{size:`xs`,c:`dimmed`,truncate:!0,children:e})}function J({name:e,size:t=18,color:n=`brand`}){let r=K[I(e).icon];return(0,v.jsx)(i,{variant:`light`,color:n,size:t+14,radius:`md`,children:(0,v.jsx)(r,{size:t})})}function Y({cluster:e,driverName:t,context:n}){if(!e?.isCluster)return null;let r=t?I(t).label:`—`;return n===`live`?(0,v.jsxs)(d,{variant:`light`,color:`blue`,icon:(0,v.jsx)(f,{size:16}),title:`Cluster — flux d'un seul worker`,children:[`En cluster, le flux temps réel ne provient que du worker portant la socket WebSocket (le PID est en tête de chaque ligne). Pour une vue de`,` `,(0,v.jsx)(`b`,{children:`tout`}),` le cluster, va dans l'onglet `,(0,v.jsx)(`b`,{children:`Explorer`}),` avec le driver`,` `,(0,v.jsx)(o,{children:`cluster-file`}),`.`]}):z(t)?(0,v.jsxs)(d,{variant:`light`,color:`teal`,icon:(0,v.jsx)(f,{size:16}),title:`Vue cluster unifiée`,children:[`Driver « `,r,` » : la relecture agrège les logs de `,(0,v.jsx)(`b`,{children:`tous`}),` les workers du cluster — résultats cohérents quel que soit le worker qui répond.`]}):(0,v.jsxs)(d,{variant:`light`,color:`orange`,icon:(0,v.jsx)(u,{size:16}),title:`Vue partielle — un seul worker`,children:[`Cluster détecté (worker PID `,e.pid,`). Le driver actif « `,r,` » ne relit que `,(0,v.jsx)(`b`,{children:`ce`}),` worker → les requêtes peuvent renvoyer des résultats incohérents d'un rafraîchissement à l'autre (round-robin entre workers). Configure `,(0,v.jsx)(o,{children:`log.queryDriver: "cluster-file"`}),` pour une vue unifiée du cluster.`]})}function X({severity:e,size:t=`xs`,fullWidth:n=!0}){return(0,v.jsx)(c,{size:t,color:O(e),variant:k(e),style:n?{flexShrink:0,minWidth:78,textAlign:`center`}:{flexShrink:0},children:e})}var Z={write:{label:`Persistant`,labelOff:`Non persistant`,tech:`write`,icon:a,help:`Conserve les logs dans la durée : ils survivent à un redémarrage. Driver « en mémoire » = volatil (tout est perdu au reboot).`},query:{label:`Recherche`,labelOff:`Sans recherche`,tech:`query`,icon:e,help:`Permet de FOUILLER l'historique : filtres, recherche plein-texte, suivi d'une requête (onglet Explorer). Sans elle, on ne peut que regarder le flux en direct, pas chercher dans le passé.`},stream:{label:`Temps réel`,labelOff:`Live via le bus`,tech:`stream`,icon:_,help:`Ce driver EST lui-même la source du flux temps réel (seul « mémoire » l'est : il EST le ring buffer alimenté en direct).`,helpOff:`Le temps réel ne vient pas de ce driver mais du bus « nodefony:syslog » (toujours actif). Tu ne perds donc PAS le direct : l'onglet Live fonctionne quel que soit le driver de relecture.`}};function Q({capabilities:e,size:r=`sm`}){return(0,v.jsx)(n,{gap:4,wrap:`nowrap`,children:Object.keys(Z).map(n=>{let i=Z[n],a=e[n],s=i.icon;return(0,v.jsx)(t,{title:a?i.label:i.labelOff,summary:a?i.help:i.helpOff??`Non disponible sur ce driver.`,width:300,sections:[{label:`Contrat technique`,body:(0,v.jsxs)(o,{style:{fontSize:11},children:[`capabilities.`,i.tech]})}],children:(0,v.jsx)(c,{size:r,variant:`light`,color:a?`teal`:`gray`,leftSection:(0,v.jsx)(s,{size:11}),style:{cursor:`help`},children:a?i.label:i.labelOff})},n)})})}function $({counts:e,active:t,onToggle:r}){let i=Object.entries(e).filter(([,e])=>e>0);return i.length===0?null:(0,v.jsx)(n,{gap:4,wrap:`wrap`,children:i.map(([e,n])=>{let i=t.has(e);return(0,v.jsx)(c,{component:`button`,type:`button`,onClick:()=>r(e),size:`sm`,color:O(e),variant:i?`filled`:`light`,style:{cursor:`pointer`},"aria-pressed":i,"aria-label":`${e} : ${n} — ${i?`retirer du filtre`:`filtrer`}`,rightSection:(0,v.jsx)(l,{span:!0,size:`xs`,fw:700,style:{fontVariantNumeric:`tabular-nums`},children:n}),children:e},e)})})}export{O as _,X as a,C as b,L as c,M as d,P as f,j as g,W as h,q as i,G as l,A as m,Y as n,$ as o,N as p,J as r,w as s,Q as t,I as u,B as v,S as x,U as y};
1
+ import{$ as e,H as t,Mn as n,Mt as r,Rt as i,lt as a,nn as o,or as s,sn as c,vn as l,wt as u,yn as d}from"./ui-BuLVKSvk.js";import{t as f}from"./IconAffiliate-16u_-89E.js";import{t as p}from"./IconDeviceDesktop-C9GNnLQs.js";import{t as m}from"./IconStack2-DVKXvSgU.js";import{J as h,Y as g,et as _}from"./index-DtGb44Tj.js";var v=s(),y={30:`#000000`,31:`#e06c75`,32:`#98c379`,33:`#e5c07b`,34:`#61afef`,35:`#c678dd`,36:`#56b6c2`,37:`#dcdcdc`,90:`#5c6370`,91:`#ff7b85`,92:`#a8d289`,93:`#f0d090`,94:`#7bb8f0`,95:`#d088e0`,96:`#66c8d0`,97:`#ffffff`},b={40:`#1a1a1a`,41:`#7a3030`,42:`#3a6a30`,43:`#7a5a20`,44:`#2a4a7a`,45:`#5a3070`,46:`#2a6068`,47:`#5a5a5a`,100:`#2a2a2a`,101:`#8a4040`,102:`#4a7a40`,103:`#8a6a30`,104:`#3a5a8a`,105:`#6a4080`,106:`#3a7078`,107:`#6a6a6a`};function x(e,t,n){return!t.fg&&!t.bg&&!t.bold?e:(0,v.jsx)(`span`,{style:{color:t.fg,backgroundColor:t.bg,fontWeight:t.bold?600:void 0,padding:t.bg?`0 2px`:void 0,borderRadius:t.bg?2:void 0},children:e},n)}function S(e){if(!e||typeof e!=`string`||e.indexOf(`\x1B[`)===-1)return e;let t=/\x1b\[([\d;]*)m/g,n=[],r=0,i={},a=0,o;for(;o=t.exec(e);){o.index>r&&n.push(x(e.slice(r,o.index),i,a++));let t=o[1].split(`;`).filter(e=>e.length>0).map(Number);t.length===0&&t.push(0);for(let e of t)e===0?i={}:e===1?i.bold=!0:e===22?i.bold=!1:e===39?i.fg=void 0:e===49?i.bg=void 0:y[e]?i.fg=y[e]:b[e]&&(i.bg=b[e]);r=o.index+o[0].length}return r<e.length&&n.push(x(e.slice(r),i,a++)),n}var C=[...r].reverse(),w=`v2.0`,T={DEBUG:`gray`,INFO:`blue`,NOTICE:`cyan`,WARNING:`yellow`,ERROR:`red`,CRITIC:`red`,ALERT:`red`,EMERGENCY:`red`},E=new Set([`ERROR`,`CRITIC`,`ALERT`,`EMERGENCY`]),D=new Set([`CRITIC`,`ALERT`,`EMERGENCY`]);function O(e){return T[e]??`gray`}function k(e){return D.has(e)?`filled`:`light`}function A(e){return E.has(e)}function j(e){if(typeof e.payload==`string`)return e.payload;if(e.msg)return e.msg;try{return JSON.stringify(e.payload)}catch{return String(e.payload)}}function M(e){return new Date(e).toTimeString().slice(0,8)}function N(e){return String(new Date(e).getMilliseconds()).padStart(3,`0`)}function P(e){let t=new Date(e);return`${t.toLocaleDateString()} ${t.toTimeString().slice(0,8)}.${N(e)}`}var F={memory:{label:`Mémoire (ring buffer)`,description:`Le ring buffer volatile du Syslog EST le stockage : relecture instantanée, borné aux N derniers logs, perdu au redémarrage. Driver par défaut en dev.`,icon:`memory`},file:{label:`Fichier JSONL`,description:`Pdu persistés en JSON Lines sur disque (1 fichier par worker, nodefony-<pid>.jsonl), relus par scan borné. Node-only (LB.2). Activé par config (log.queryDriver: "file").`,icon:`file`},"cluster-file":{label:`Cluster (fichiers agrégés)`,description:`Vue UNIFIÉE du cluster : agrège les nodefony-<pid>.jsonl de TOUS les workers, fusionnés par horodatage. C'est LE driver de relecture à utiliser en cluster (les autres ne voient que le worker courant). Node-only (LB.5).`,icon:`cluster`},loki:{label:`Grafana Loki`,description:`Agrégation de logs cloud-native (labels + LogQL), légère (indexe les labels, pas un index full-text). Push HTTP batché + relecture LogQL, vue cluster native (LB.4). Activer : log.queryDriver="loki" + LOKI_URL (docker --profile loki).`,icon:`search`},opensearch:{label:`OpenSearch`,description:`Recherche plein-texte distribuée, rétention longue (fork Apache 2.0 d'Elasticsearch — OSI, licence non-SSPL). Indexation _bulk + recherche _search (LB.4). Activer : log.queryDriver="opensearch" + OPENSEARCH_URL (docker --profile opensearch).`,icon:`search`}};function I(e){return F[e]??{label:e,description:`Driver de destination personnalisé enregistré dans le registry.`,icon:`generic`}}var L=[`file`,`cluster-file`,`loki`,`opensearch`],R=new Set([`cluster-file`,`loki`,`opensearch`]);function z(e){return e!=null&&R.has(e)}function B(e){if(!e||typeof e!=`object`)return null;let t=e;return typeof t.severityName==`string`?{uid:typeof t.uid==`number`?t.uid:0,severity:typeof t.severity==`number`?t.severity:7,severityName:t.severityName,moduleName:typeof t.moduleName==`string`?t.moduleName:``,msgid:typeof t.msgid==`string`?t.msgid:``,msg:typeof t.msg==`string`?t.msg:void 0,timeStamp:typeof t.timeStamp==`number`?t.timeStamp:Date.now(),pid:typeof t.pid==`number`?t.pid:0,payload:t.payload,requestId:typeof t.requestId==`string`?t.requestId:void 0}:null}var V=[`file`,`loki`,`opensearch`,`syslog`];function H(e,t){switch(e){case`console`:return{label:`Console (stdout)`,on:`Logs formatés sur la sortie standard — destination #1 cloud-native (1 pod → stdout → collecteur).`,off:`Transport console non monté.`};case`file`:return{label:`Fichier JSONL`,on:t?`Pdu structurés en JSON Lines (1 « nodefony-<pid>.jsonl » par worker) dans ${t} — relus par les drivers « fichier » / « cluster ». Liste exacte : onglet Fichiers.`:`Pdu structurés en JSON Lines (1 .jsonl par worker), relus par les drivers « fichier » / « cluster ». En prod : logs → collecteur (pas de fichiers).`,off:`Non activé (log.queryDriver: « file » ou « cluster-file »).`,driverName:`file`};case`loki`:return{label:`Grafana Loki`,on:`Push HTTP batché (streams LogQL) vers Loki.`,off:`Non configuré (LOKI_URL absent).`,driverName:`loki`};case`opensearch`:return{label:`OpenSearch`,on:`Indexation _bulk batchée vers OpenSearch.`,off:`Non configuré (OPENSEARCH_URL absent).`,driverName:`opensearch`};case`syslog`:return{label:`Syslog (RFC 5424)`,on:`Émission vers un serveur syslog distant (rsyslog / journald, UDP/TCP).`,off:`Transport syslog non monté.`};case`http`:return{label:`HTTP générique`,on:`POST batché des logs vers un endpoint HTTP custom.`,off:`Transport HTTP non monté.`};default:return{label:e,on:`Transport d'écriture personnalisé monté.`,off:`Transport personnalisé non monté.`}}}function U(e){let t=e.write.sink,n=t!==`null`&&t!==`none`,r=e.write.sinkEnabled!==!1,i=n&&r,a=e.write.ringEnabled!==!1,o=e.write.logDir,{buffered:s,bufferCapacity:c}=e.counters,l=c?`Pile tournante (ring buffer) : les ${c} derniers logs gardés en mémoire — ${s} / ${c} occupés (${Math.round(s/c*100)} % plein). Une fois plein, chaque nouveau log écrase le plus ancien (FIFO borné, O(1)). Relu par l'Explorer « mémoire » ; perdu au redémarrage.`:`Pile tournante (ring buffer) : les N derniers logs en mémoire ; le plus ancien dégage quand c'est plein. Relu par l'Explorer « mémoire » ; perdu au redémarrage.`,u=[{id:`ring`,label:`Mémoire (ring)`,detail:a?l:`Stockage mémoire COUPÉ — l'Explorer « mémoire » est vide. Les compteurs santé restent comptés. Réactiver pour relire en RAM.`,on:a,kind:`ring`,togglable:!0,toggleKind:`ring`,capacity:c,used:s},{id:`sink`,label:t===`file`?`Fichier texte (.log)`:t===`stdout`?`stdout (console)`:`sink « ${t} »`,detail:n?r?t===`file`?`La ligne texte de chaque log est ajoutée à un fichier .log.`:`La ligne texte part sur la sortie standard (console / collecteur).`:`Sink texte COUPÉ à chaud — plus aucune ligne en console/fichier. Réactiver pour rétablir.`:`Sink texte désactivé par config (null) — aucune ligne texte écrite (bench).`,on:i,kind:`sink`,togglable:n,toggleKind:`sink`}],d=e.write.transports;if(d){let e=new Set,t=(t,n,r)=>{if(e.has(t))return;e.add(t);let i=H(t,o),a={id:`transport:${t}`,label:i.label,detail:n?i.on:i.off,on:n,kind:`transport`,togglable:r,toggleKind:`transport`,transportName:t};i.driverName&&(a.driverName=i.driverName),u.push(a)};for(let e of d)t(e.name,e.enabled,!0);for(let e of V)t(e,!1,!1);return u}let f=new Set(e.drivers.filter(e=>e.capabilities.write).map(e=>e.name)),p=e=>f.has(e);return u.push({id:`jsonl`,label:`Fichier JSONL`,detail:p(`file`)||p(`cluster-file`)?`Pdu structurés en JSON Lines (1 .jsonl par worker), relus par les drivers « fichier » / « cluster ».`:`Non activé (log.queryDriver: « file » ou « cluster-file »).`,on:p(`file`)||p(`cluster-file`),kind:`transport`,driverName:p(`cluster-file`)?`cluster-file`:`file`},{id:`loki`,label:`Grafana Loki`,detail:p(`loki`)?`Push HTTP batché (streams LogQL) vers Loki.`:`Non configuré (LOKI_URL absent).`,on:p(`loki`),kind:`transport`,driverName:`loki`},{id:`opensearch`,label:`OpenSearch`,detail:p(`opensearch`)?`Indexation _bulk batchée vers OpenSearch.`:`Non configuré (OPENSEARCH_URL absent).`,on:p(`opensearch`),kind:`transport`,driverName:`opensearch`}),u}function W(e){switch(e){case`connected`:return{label:`connecté`,color:`teal`,live:!0};case`connecting`:return{label:`connexion…`,color:`yellow`,live:!1};case`reconnecting`:return{label:`reconnexion…`,color:`orange`,live:!1};case`error`:return{label:`erreur`,color:`red`,live:!1};default:return{label:`hors ligne`,color:`gray`,live:!1}}}function G(e){let t=Object.fromEntries(C.map(e=>[e,0]));for(let n of e){let e=n.severityName;e in t&&(t[e]+=1)}return t}var K={memory:m,file:h,cluster:f,search:e,generic:g};function q({moduleName:e}){return e===`browser`?(0,v.jsx)(c,{size:`xs`,variant:`light`,color:`grape`,leftSection:(0,v.jsx)(p,{size:11}),style:{flexShrink:0},title:`Journal remonté par un navigateur, réinjecté par le pod`,children:`navigateur`}):(0,v.jsx)(l,{size:`xs`,c:`dimmed`,truncate:!0,children:e})}function J({name:e,size:t=18,color:n=`brand`}){let r=K[I(e).icon];return(0,v.jsx)(i,{variant:`light`,color:n,size:t+14,radius:`md`,children:(0,v.jsx)(r,{size:t})})}function Y({cluster:e,driverName:t,context:n}){if(!e?.isCluster)return null;let r=t?I(t).label:`—`;return n===`live`?(0,v.jsxs)(d,{variant:`light`,color:`blue`,icon:(0,v.jsx)(f,{size:16}),title:`Cluster — flux d'un seul worker`,children:[`En cluster, le flux temps réel ne provient que du worker portant la socket WebSocket (le PID est en tête de chaque ligne). Pour une vue de`,` `,(0,v.jsx)(`b`,{children:`tout`}),` le cluster, va dans l'onglet `,(0,v.jsx)(`b`,{children:`Explorer`}),` avec le driver`,` `,(0,v.jsx)(o,{children:`cluster-file`}),`.`]}):z(t)?(0,v.jsxs)(d,{variant:`light`,color:`teal`,icon:(0,v.jsx)(f,{size:16}),title:`Vue cluster unifiée`,children:[`Driver « `,r,` » : la relecture agrège les logs de `,(0,v.jsx)(`b`,{children:`tous`}),` les workers du cluster — résultats cohérents quel que soit le worker qui répond.`]}):(0,v.jsxs)(d,{variant:`light`,color:`orange`,icon:(0,v.jsx)(u,{size:16}),title:`Vue partielle — un seul worker`,children:[`Cluster détecté (worker PID `,e.pid,`). Le driver actif « `,r,` » ne relit que `,(0,v.jsx)(`b`,{children:`ce`}),` worker → les requêtes peuvent renvoyer des résultats incohérents d'un rafraîchissement à l'autre (round-robin entre workers). Configure `,(0,v.jsx)(o,{children:`log.queryDriver: "cluster-file"`}),` pour une vue unifiée du cluster.`]})}function X({severity:e,size:t=`xs`,fullWidth:n=!0}){return(0,v.jsx)(c,{size:t,color:O(e),variant:k(e),style:n?{flexShrink:0,minWidth:78,textAlign:`center`}:{flexShrink:0},children:e})}var Z={write:{label:`Persistant`,labelOff:`Non persistant`,tech:`write`,icon:a,help:`Conserve les logs dans la durée : ils survivent à un redémarrage. Driver « en mémoire » = volatil (tout est perdu au reboot).`},query:{label:`Recherche`,labelOff:`Sans recherche`,tech:`query`,icon:e,help:`Permet de FOUILLER l'historique : filtres, recherche plein-texte, suivi d'une requête (onglet Explorer). Sans elle, on ne peut que regarder le flux en direct, pas chercher dans le passé.`},stream:{label:`Temps réel`,labelOff:`Live via le bus`,tech:`stream`,icon:_,help:`Ce driver EST lui-même la source du flux temps réel (seul « mémoire » l'est : il EST le ring buffer alimenté en direct).`,helpOff:`Le temps réel ne vient pas de ce driver mais du bus « nodefony:syslog » (toujours actif). Tu ne perds donc PAS le direct : l'onglet Live fonctionne quel que soit le driver de relecture.`}};function Q({capabilities:e,size:r=`sm`}){return(0,v.jsx)(n,{gap:4,wrap:`nowrap`,children:Object.keys(Z).map(n=>{let i=Z[n],a=e[n],s=i.icon;return(0,v.jsx)(t,{title:a?i.label:i.labelOff,summary:a?i.help:i.helpOff??`Non disponible sur ce driver.`,width:300,sections:[{label:`Contrat technique`,body:(0,v.jsxs)(o,{style:{fontSize:11},children:[`capabilities.`,i.tech]})}],children:(0,v.jsx)(c,{size:r,variant:`light`,color:a?`teal`:`gray`,leftSection:(0,v.jsx)(s,{size:11}),style:{cursor:`help`},children:a?i.label:i.labelOff})},n)})})}function $({counts:e,active:t,onToggle:r}){let i=Object.entries(e).filter(([,e])=>e>0);return i.length===0?null:(0,v.jsx)(n,{gap:4,wrap:`wrap`,children:i.map(([e,n])=>{let i=t.has(e);return(0,v.jsx)(c,{component:`button`,type:`button`,onClick:()=>r(e),size:`sm`,color:O(e),variant:i?`filled`:`light`,style:{cursor:`pointer`},"aria-pressed":i,"aria-label":`${e} : ${n} — ${i?`retirer du filtre`:`filtrer`}`,rightSection:(0,v.jsx)(l,{span:!0,size:`xs`,fw:700,style:{fontVariantNumeric:`tabular-nums`},children:n}),children:e},e)})})}export{O as _,X as a,C as b,L as c,M as d,P as f,j as g,W as h,q as i,G as l,A as m,Y as n,$ as o,N as p,J as r,w as s,Q as t,I as u,B as v,S as x,U as y};