@datalayer/agent-runtimes 1.6.86 → 1.6.88

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 (344) hide show
  1. package/dist-embed/chunks/{AgentDetails-BRhO9qA_.js → AgentDetails-DdSlGfQV.js} +1 -1
  2. package/dist-embed/chunks/{AgentDetailsDialog-DAWAmYS1.js → AgentDetailsDialog-C7rvaKS1.js} +1 -1
  3. package/dist-embed/chunks/{CellSidebarExtension-B_Bqi3Eh.js → CellSidebarExtension-CrgdhbHy.js} +1 -1
  4. package/dist-embed/chunks/{ChatView-eRieNBDa.js → ChatView-Bw7yLD4U.js} +1 -1
  5. package/dist-embed/chunks/{CollapsiblePlugin-DPGnrmLj.js → CollapsiblePlugin-ng8VFSwH.js} +1 -1
  6. package/dist-embed/chunks/{ContextPie-h_II4EDU.js → ContextPie-Duhkymga.js} +1 -1
  7. package/dist-embed/chunks/{DeckComponent-oBh8nbTa.js → DeckComponent-BhyoCP90.js} +2 -2
  8. package/dist-embed/chunks/{DocumentView-C8G8fA7K.js → DocumentView-Dn2adk7S.js} +1 -1
  9. package/dist-embed/chunks/{EphemeralDocument-Bm1w17Zw.js → EphemeralDocument-BiQZswSQ.js} +1 -1
  10. package/dist-embed/chunks/{EphemeralNotebook-jQ7FGCY-.js → EphemeralNotebook-C04wMmoE.js} +1 -1
  11. package/dist-embed/chunks/{ExcalidrawComponent-BgjhoJC3.js → ExcalidrawComponent-GkzKDk_S.js} +1 -1
  12. package/dist-embed/chunks/{ExcalidrawModal-DtdsEiaS.js → ExcalidrawModal-Ct44VSBv.js} +1 -1
  13. package/dist-embed/chunks/{JupyterLexicalExtension-Dr8dgCst.js → JupyterLexicalExtension-BYde4Hzz.js} +8 -8
  14. package/dist-embed/chunks/{KernelVariables-cH-x-Hrc.js → KernelVariables-DvfwDxTX.js} +1 -1
  15. package/dist-embed/chunks/{NotebookToolSurfaces-BcIduPcQ.js → NotebookToolSurfaces-BvKDvb3M.js} +1 -1
  16. package/dist-embed/chunks/{NotebookView-LJ0GBHTQ.js → NotebookView-Wo8VVvUY.js} +1 -1
  17. package/dist-embed/chunks/{Output-Do1CYRIF.js → Output-BmVt4DpZ.js} +1 -1
  18. package/dist-embed/chunks/{SandboxDetailsDialog-DjP6mCWy.js → SandboxDetailsDialog-CCmkIp8x.js} +1 -1
  19. package/dist-embed/chunks/{SchemaForm-1QzMu6Zk.js → SchemaForm-YDAPV6Rb.js} +1 -1
  20. package/dist-embed/chunks/{SheetTabs-DJG69znU.js → SheetTabs-PG3DQn2N.js} +1 -1
  21. package/dist-embed/chunks/{SpreadsheetPreviewView-5marsdKE.js → SpreadsheetPreviewView-CpUuO1Di.js} +1 -1
  22. package/dist-embed/chunks/{SpreadsheetView-CmD-dAjn.js → SpreadsheetView-CsSXGqRw.js} +1 -1
  23. package/dist-embed/chunks/{WidgetVariableView-BQoMV999.js → WidgetVariableView-BBupZR8G.js} +1 -1
  24. package/dist-embed/chunks/{YouTubePlugin-BCHN7vdi.js → YouTubePlugin-BOnLCvAR.js} +1 -1
  25. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-CF8QpiZa.js → abnfDiagram-VCTEODGH-C5V-1V3E.js} +1 -1
  26. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-GnaR64st.js → abnfDiagram-VCTEODGH-CvZ8usho.js} +1 -1
  27. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-BSmEjUJk.js → abnfDiagram-VCTEODGH-DN0kRlog.js} +1 -1
  28. package/dist-embed/chunks/{ar-SA-G6X2FPQ2-4AR7vABL.js → ar-SA-G6X2FPQ2-DloHADQr.js} +1 -1
  29. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-b_EnmOeS.js → architectureDiagram-5GKGNRK7-BeTQQNyc.js} +1 -1
  30. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-ByAYkSMW.js → architectureDiagram-5GKGNRK7-Bwqgkba9.js} +1 -1
  31. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-Cy6c9GhS.js → architectureDiagram-5GKGNRK7-DRfUn2vu.js} +1 -1
  32. package/dist-embed/chunks/{az-AZ-76LH7QW2-DQ2RQ6Bt.js → az-AZ-76LH7QW2-ZZtVb3rf.js} +1 -1
  33. package/dist-embed/chunks/{bg-BG-XCXSNQG7-BRTYabxb.js → bg-BG-XCXSNQG7-9xliuV5e.js} +1 -1
  34. package/dist-embed/chunks/{blockDiagram-868be97b-C6Xxmbgc.js → blockDiagram-868be97b-DQhIB20U.js} +1 -1
  35. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-zXh6gZYF.js → blockDiagram-I7D4REHJ-BjLfxD7u.js} +1 -1
  36. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-BBd_q6Z7.js → blockDiagram-I7D4REHJ-BjW3QpXh.js} +1 -1
  37. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-Clrwi7_Q.js → blockDiagram-I7D4REHJ-DUfJri3_.js} +1 -1
  38. package/dist-embed/chunks/{bn-BD-2XOGV67Q-DJpR_aiV.js → bn-BD-2XOGV67Q-Bhkca3_3.js} +1 -1
  39. package/dist-embed/chunks/{c4Diagram-3f4bdde3-BhBNs69f.js → c4Diagram-3f4bdde3-dS_U3gYR.js} +1 -1
  40. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-BWQ9xHoN.js → c4Diagram-7LVT6UL2-BK8yvli2.js} +1 -1
  41. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-DcCc8HaH.js → c4Diagram-7LVT6UL2-Da5uNT8x.js} +1 -1
  42. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-p14SIG7V.js → c4Diagram-7LVT6UL2-O_rZefrz.js} +1 -1
  43. package/dist-embed/chunks/{ca-ES-6MX7JW3Y-BrHrTXrx.js → ca-ES-6MX7JW3Y-jpG1o3Op.js} +1 -1
  44. package/dist-embed/chunks/{chunk-2Q5K7J3B-BkzWX8eg.js → chunk-2Q5K7J3B-BX9u1bBi.js} +1 -1
  45. package/dist-embed/chunks/{chunk-2Q5K7J3B-CWx-QJ0-.js → chunk-2Q5K7J3B-DiqqlJZw.js} +1 -1
  46. package/dist-embed/chunks/{chunk-2Q5K7J3B-CtmdieBX.js → chunk-2Q5K7J3B-JhdIsXWp.js} +1 -1
  47. package/dist-embed/chunks/{chunk-5VM5RSS4-Ciba-ybC.js → chunk-5VM5RSS4-BbOPwJfe.js} +1 -1
  48. package/dist-embed/chunks/{chunk-5VM5RSS4-C7mbT2Vq.js → chunk-5VM5RSS4-C5X9VB1v.js} +1 -1
  49. package/dist-embed/chunks/{chunk-5VM5RSS4-O8p7luYq.js → chunk-5VM5RSS4-box8kQsT.js} +1 -1
  50. package/dist-embed/chunks/{chunk-F27PBJKO-Bo5boRfj.js → chunk-F27PBJKO-BUeWPnw5.js} +1 -1
  51. package/dist-embed/chunks/{chunk-F27PBJKO-CZHz6AS9.js → chunk-F27PBJKO-CQM02DXR.js} +1 -1
  52. package/dist-embed/chunks/{chunk-F27PBJKO-WqHcL2s0.js → chunk-F27PBJKO-syxUNYMu.js} +1 -1
  53. package/dist-embed/chunks/{chunk-IMKFNOWR-CPdtPffh.js → chunk-IMKFNOWR-B87sc0vl.js} +1 -1
  54. package/dist-embed/chunks/{chunk-IMKFNOWR-BJR6rkFo.js → chunk-IMKFNOWR-CPIe37ka.js} +1 -1
  55. package/dist-embed/chunks/{chunk-IMKFNOWR-Csfu1kFU.js → chunk-IMKFNOWR-rg2BEcj6.js} +1 -1
  56. package/dist-embed/chunks/{chunk-JWPE2WC7-BVXd-ICe.js → chunk-JWPE2WC7-BGdc9-bH.js} +1 -1
  57. package/dist-embed/chunks/{chunk-JWPE2WC7-Cq6Q947j.js → chunk-JWPE2WC7-DXZeG2qg.js} +1 -1
  58. package/dist-embed/chunks/{chunk-JWPE2WC7-Bf4pFlIJ.js → chunk-JWPE2WC7-NvLQtuoq.js} +1 -1
  59. package/dist-embed/chunks/{chunk-POPQ4Y6H-DhNnPwZp.js → chunk-POPQ4Y6H-BgR92oKl.js} +1 -1
  60. package/dist-embed/chunks/{chunk-POPQ4Y6H-s1yt1ZtK.js → chunk-POPQ4Y6H-DWWKSDND.js} +1 -1
  61. package/dist-embed/chunks/{chunk-POPQ4Y6H-B_rWRGt2.js → chunk-POPQ4Y6H-UAJm0Siu.js} +1 -1
  62. package/dist-embed/chunks/{chunk-SVP7TREG-CHN6fclq.js → chunk-SVP7TREG-BE97ZGVE.js} +1 -1
  63. package/dist-embed/chunks/{chunk-SVP7TREG-8oKVa2mm.js → chunk-SVP7TREG-BGHt1HDi.js} +1 -1
  64. package/dist-embed/chunks/{chunk-SVP7TREG-CsFEUe5B.js → chunk-SVP7TREG-lMq3S-u-.js} +1 -1
  65. package/dist-embed/chunks/{chunk-TICWLB2K-CSCMv_QA.js → chunk-TICWLB2K-BdUzhQPw.js} +1 -1
  66. package/dist-embed/chunks/{chunk-TICWLB2K-BsCtCkEM.js → chunk-TICWLB2K-CeH9Mpzc.js} +1 -1
  67. package/dist-embed/chunks/{chunk-TICWLB2K-InZQ5ZEH.js → chunk-TICWLB2K-D6WJ64X6.js} +1 -1
  68. package/dist-embed/chunks/{chunk-XXDRQBXY-z8go8Kjf.js → chunk-XXDRQBXY-B8THsPMh.js} +1 -1
  69. package/dist-embed/chunks/{chunk-XXDRQBXY-Y8pSpMzF.js → chunk-XXDRQBXY-BU32lP3z.js} +1 -1
  70. package/dist-embed/chunks/{chunk-XXDRQBXY-sm2AIgJ5.js → chunk-XXDRQBXY-CjAMT3RS.js} +1 -1
  71. package/dist-embed/chunks/{classDiagram-ZZMXUADV-BjEOw29S.js → classDiagram-ZZMXUADV-Cy9bb-Ja.js} +1 -1
  72. package/dist-embed/chunks/{classDiagram-ZZMXUADV-G9WI_1Zg.js → classDiagram-ZZMXUADV-HBhnoh6h.js} +1 -1
  73. package/dist-embed/chunks/{classDiagram-ZZMXUADV-DJ40c8si.js → classDiagram-ZZMXUADV-dVm_zkxF.js} +1 -1
  74. package/dist-embed/chunks/{classDiagram-f62afe4f-Blm1wT1_.js → classDiagram-f62afe4f-jrNOgtbP.js} +1 -1
  75. package/dist-embed/chunks/{classDiagram-v2-604399ef-DtWqjJhW.js → classDiagram-v2-604399ef-CIao-4MQ.js} +1 -1
  76. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-BjEOw29S.js → classDiagram-v2-VYDZK3BY-Cy9bb-Ja.js} +1 -1
  77. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-G9WI_1Zg.js → classDiagram-v2-VYDZK3BY-HBhnoh6h.js} +1 -1
  78. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-DJ40c8si.js → classDiagram-v2-VYDZK3BY-dVm_zkxF.js} +1 -1
  79. package/dist-embed/chunks/{core-BrYTRvTy.js → core-trN55qc5.js} +1 -1
  80. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-j_7L0NF5.js → cose-bilkent-JH36ORCC-D2gVNaYW.js} +1 -1
  81. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-C73aLaB-.js → cose-bilkent-JH36ORCC-DFWJgtSE.js} +1 -1
  82. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-DCtKiRmD.js → cose-bilkent-JH36ORCC-DGrxjlJ4.js} +1 -1
  83. package/dist-embed/chunks/{createText-aed3d8b3-B0tLexrf.js → createText-aed3d8b3-DoLPKXK1.js} +1 -1
  84. package/dist-embed/chunks/{cs-CZ-2BRQDIVT-CmCt0bDq.js → cs-CZ-2BRQDIVT-BMA1Xu87.js} +1 -1
  85. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-BSwaTAfL.js → cynefinDiagram-5FMLGOSQ-BZ1LtKUy.js} +1 -1
  86. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-DXr1M_CB.js → cynefinDiagram-5FMLGOSQ-DExZ3BYo.js} +1 -1
  87. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-DLyDkFEh.js → cynefinDiagram-5FMLGOSQ-DhFh7Gts.js} +1 -1
  88. package/dist-embed/chunks/{da-DK-5WZEPLOC-Bow4-dps.js → da-DK-5WZEPLOC-smzK_QPz.js} +1 -1
  89. package/dist-embed/chunks/{dagre-GXQ25YYZ-CPu-St26.js → dagre-GXQ25YYZ-4P90jeEC.js} +1 -1
  90. package/dist-embed/chunks/{dagre-GXQ25YYZ-Bfxayyi1.js → dagre-GXQ25YYZ-CQ05bX5J.js} +1 -1
  91. package/dist-embed/chunks/{dagre-GXQ25YYZ-DTWZ8vY1.js → dagre-GXQ25YYZ-MXGi4287.js} +1 -1
  92. package/dist-embed/chunks/{de-DE-XR44H4JA-DOrKYiYP.js → de-DE-XR44H4JA-CfWQxGGf.js} +1 -1
  93. package/dist-embed/chunks/{diagram-S7CK7UJ4-ERKr1j6v.js → diagram-S7CK7UJ4-Ccq8-Zxr.js} +1 -1
  94. package/dist-embed/chunks/{diagram-S7CK7UJ4-Biw5mnoN.js → diagram-S7CK7UJ4-CvR2q_hg.js} +1 -1
  95. package/dist-embed/chunks/{diagram-S7CK7UJ4-ewBgYmRN.js → diagram-S7CK7UJ4-xgW0lqt_.js} +1 -1
  96. package/dist-embed/chunks/{diagram-UQ7AKVKN-B-f2Afei.js → diagram-UQ7AKVKN-Csc8IuSs.js} +1 -1
  97. package/dist-embed/chunks/{diagram-UQ7AKVKN-C-6kzgTn.js → diagram-UQ7AKVKN-D6nWV9sq.js} +1 -1
  98. package/dist-embed/chunks/{diagram-UQ7AKVKN-CGNA7gub.js → diagram-UQ7AKVKN-DM05uJg0.js} +1 -1
  99. package/dist-embed/chunks/{diagram-VSXAHHWV-DRVoe_PH.js → diagram-VSXAHHWV-C0Dte6B4.js} +1 -1
  100. package/dist-embed/chunks/{diagram-VSXAHHWV-7M08zFHc.js → diagram-VSXAHHWV-CBb3q1Lt.js} +1 -1
  101. package/dist-embed/chunks/{diagram-VSXAHHWV-CTQu2IBp.js → diagram-VSXAHHWV-ChcqzpvG.js} +1 -1
  102. package/dist-embed/chunks/{diagram-VX7I27RA-vkcQI8-t.js → diagram-VX7I27RA-D8OyA7LV.js} +1 -1
  103. package/dist-embed/chunks/{diagram-VX7I27RA-DHwSWNj4.js → diagram-VX7I27RA-DA3s85ZI.js} +1 -1
  104. package/dist-embed/chunks/{diagram-VX7I27RA-B_LkfTnq.js → diagram-VX7I27RA-DFBWpFKi.js} +1 -1
  105. package/dist-embed/chunks/{diagram-Z3DM3KII-D0Xt6xwn.js → diagram-Z3DM3KII-CWv5dRb1.js} +1 -1
  106. package/dist-embed/chunks/{diagram-Z3DM3KII-YAo8QSYR.js → diagram-Z3DM3KII-DViUyD1V.js} +1 -1
  107. package/dist-embed/chunks/{diagram-Z3DM3KII-BZ9tmKdd.js → diagram-Z3DM3KII-DpwpLNON.js} +1 -1
  108. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-DN2tb-X8.js → ebnfDiagram-PWID7BFC-CeZcQDV3.js} +1 -1
  109. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-C2oLjL45.js → ebnfDiagram-PWID7BFC-DogBQteX.js} +1 -1
  110. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-Dk5WVIim.js → ebnfDiagram-PWID7BFC-ZbRTmpLY.js} +1 -1
  111. package/dist-embed/chunks/{edges-b2856ca0-BSzU9ga-.js → edges-b2856ca0-D_o-rhcf.js} +1 -1
  112. package/dist-embed/chunks/{el-GR-BZB4AONW-BTtxEAc0.js → el-GR-BZB4AONW-B66N5_hN.js} +1 -1
  113. package/dist-embed/chunks/{erDiagram-5d81789a--wvCe6Ur.js → erDiagram-5d81789a-Fv2KfQrA.js} +1 -1
  114. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-BDw_Db3e.js → erDiagram-RLTQ6QDP-BGg8orkr.js} +1 -1
  115. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-BTXMcY7Y.js → erDiagram-RLTQ6QDP-CmahDLTF.js} +1 -1
  116. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-BsU1EeJN.js → erDiagram-RLTQ6QDP-QI_LQlaL.js} +1 -1
  117. package/dist-embed/chunks/{es-ES-U4NZUMDT-DhrLOB7I.js → es-ES-U4NZUMDT-B9FR_uSt.js} +1 -1
  118. package/dist-embed/chunks/{esm-VjpQWsU9.js → esm--zHizpYG.js} +1 -1
  119. package/dist-embed/chunks/{esm-BFRTiV0k.js → esm-BaCqpqKi.js} +1 -1
  120. package/dist-embed/chunks/{eu-ES-A7QVB2H4-CdpglPNY.js → eu-ES-A7QVB2H4-BOXiXCGc.js} +1 -1
  121. package/dist-embed/chunks/{fa-IR-HGAKTJCU-Ea2hzNvl.js → fa-IR-HGAKTJCU-DZGgNuMT.js} +1 -1
  122. package/dist-embed/chunks/{fi-FI-Z5N7JZ37-D6KBS1-v.js → fi-FI-Z5N7JZ37-CaWIHowf.js} +1 -1
  123. package/dist-embed/chunks/{flowDb-185abca5-CBeP2_ZY.js → flowDb-185abca5-Bme86bTZ.js} +1 -1
  124. package/dist-embed/chunks/{flowDiagram-1629c991-LZzO5ZR8.js → flowDiagram-1629c991-Dgzjtx-J.js} +1 -1
  125. package/dist-embed/chunks/{flowDiagram-HODETNUW-DNjEQlAR.js → flowDiagram-HODETNUW-CgvZqEVs.js} +1 -1
  126. package/dist-embed/chunks/{flowDiagram-HODETNUW-DP1PWdQF.js → flowDiagram-HODETNUW-CmuRDMmw.js} +1 -1
  127. package/dist-embed/chunks/{flowDiagram-HODETNUW-_U05MBMl.js → flowDiagram-HODETNUW-OUrVNdIM.js} +1 -1
  128. package/dist-embed/chunks/{flowDiagram-v2-1d953310-DeqYSBVG.js → flowDiagram-v2-1d953310-C0-FfyAn.js} +1 -1
  129. package/dist-embed/chunks/{flowchart-elk-definition-6df44142-Dg5bSBS4.js → flowchart-elk-definition-6df44142-Cj7Q5rsQ.js} +1 -1
  130. package/dist-embed/chunks/{fr-FR-RHASNOE6-CeDw1EdR.js → fr-FR-RHASNOE6-JbYWEs2C.js} +1 -1
  131. package/dist-embed/chunks/{ganttDiagram-3b0b3873-D9Pr_Kxk.js → ganttDiagram-3b0b3873-11vGPr5M.js} +1 -1
  132. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-Baccn166.js → ganttDiagram-EL5Y4UJY-BKVYCh-L.js} +1 -1
  133. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-DmwhuzrV.js → ganttDiagram-EL5Y4UJY-DjmeWOsd.js} +1 -1
  134. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-Qz5HuyzZ.js → ganttDiagram-EL5Y4UJY-sX30iW6f.js} +1 -1
  135. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-CF5nE-hV.js → gitGraphDiagram-WWUBYQGX-BuldyYGe.js} +1 -1
  136. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-BUlSUrle.js → gitGraphDiagram-WWUBYQGX-CVcSYkDK.js} +1 -1
  137. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-ZgEb3qK-.js → gitGraphDiagram-WWUBYQGX-D5bCd_Fv.js} +1 -1
  138. package/dist-embed/chunks/{gitGraphDiagram-f01e8bc2-BqpGV-_U.js → gitGraphDiagram-f01e8bc2-CWnInLhH.js} +1 -1
  139. package/dist-embed/chunks/{gl-ES-HMX3MZ6V-DK2-uVTg.js → gl-ES-HMX3MZ6V-DHOQCvQH.js} +1 -1
  140. package/dist-embed/chunks/{he-IL-6SHJWFNN-Fk0F_rV-.js → he-IL-6SHJWFNN-T-2jEF-H.js} +1 -1
  141. package/dist-embed/chunks/{hi-IN-IWLTKZ5I-03USmwuM.js → hi-IN-IWLTKZ5I-DnwHC230.js} +1 -1
  142. package/dist-embed/chunks/{hu-HU-A5ZG7DT2-BSbsIqRs.js → hu-HU-A5ZG7DT2-CXi3BH37.js} +1 -1
  143. package/dist-embed/chunks/{id-ID-SAP4L64H-Def1ERB7.js → id-ID-SAP4L64H-CLNAMqbr.js} +1 -1
  144. package/dist-embed/chunks/{index-DrrVr0x3.js → index-5os8HYj-.js} +1 -1
  145. package/dist-embed/chunks/{index-9bae90f3-9T5x-xqi.js → index-9bae90f3-iredpvJb.js} +1 -1
  146. package/dist-embed/chunks/{index-CHu5zo1L.js → index-BeJsO4Vc.js} +1 -1
  147. package/dist-embed/chunks/{index-z8PItpd8.js → index-C5HZB8ue.js} +2 -2
  148. package/dist-embed/chunks/{index-Df2MkvAW.js → index-CLB4KPZs.js} +4 -4
  149. package/dist-embed/chunks/{index-DB6fbGKT.js → index-DqWZNFUh.js} +1 -1
  150. package/dist-embed/chunks/{index-DObGLuCI.js → index-s25RSqvt.js} +4 -4
  151. package/dist-embed/chunks/index.esm-BLnMhA7S.js +1 -0
  152. package/dist-embed/chunks/{index.esm-BA_6VWW2.js → index.esm-CDmg415B.js} +1 -1
  153. package/dist-embed/chunks/{infoDiagram-27XIBGKW-D3fIZzte.js → infoDiagram-27XIBGKW-C5jY9v4i.js} +1 -1
  154. package/dist-embed/chunks/{infoDiagram-27XIBGKW-Cs7bZlH6.js → infoDiagram-27XIBGKW-ZpA0pyod.js} +1 -1
  155. package/dist-embed/chunks/{infoDiagram-27XIBGKW-B4XVsJvC.js → infoDiagram-27XIBGKW-r53wKy7u.js} +1 -1
  156. package/dist-embed/chunks/{infoDiagram-a29d40f1-DkWa9MRC.js → infoDiagram-a29d40f1-Knwr4YPu.js} +1 -1
  157. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-BB-Kv-Mj.js → ishikawaDiagram-5VMMS53U-DZTg3ecD.js} +1 -1
  158. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-BIytcjnR.js → ishikawaDiagram-5VMMS53U-DyyVsa6G.js} +1 -1
  159. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-B6nIkJxX.js → ishikawaDiagram-5VMMS53U-_ZSb2XNA.js} +1 -1
  160. package/dist-embed/chunks/{it-IT-JPQ66NNP-SLcJY1NM.js → it-IT-JPQ66NNP-txSVmIqw.js} +1 -1
  161. package/dist-embed/chunks/{ja-JP-DBVTYXUO-Cc9AUQ4A.js → ja-JP-DBVTYXUO-DOImz4yG.js} +1 -1
  162. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-Bs6ObzT9.js → journeyDiagram-3NMN7TZE-Bc9JVKJo.js} +1 -1
  163. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-DjgUmoWA.js → journeyDiagram-3NMN7TZE-ChyAFriv.js} +1 -1
  164. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-C3yCP95B.js → journeyDiagram-3NMN7TZE-DAnc386V.js} +1 -1
  165. package/dist-embed/chunks/{journeyDiagram-95396277-Dj4xwdzk.js → journeyDiagram-95396277-BebgPn4W.js} +1 -1
  166. package/dist-embed/chunks/{kaa-6HZHGXH3-CzXQn7ER.js → kaa-6HZHGXH3-B2yEdYaM.js} +1 -1
  167. package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-Cd1AWKsn.js → kab-KAB-ZGHBKWFO-sLTnjbMU.js} +1 -1
  168. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-_mcHB773.js → kanban-definition-UXKFOSKX-C2nVULib.js} +1 -1
  169. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-B9DSJpj9.js → kanban-definition-UXKFOSKX-CaaDxJqC.js} +1 -1
  170. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-Chsw2-Nq.js → kanban-definition-UXKFOSKX-Ceyuj1Ce.js} +1 -1
  171. package/dist-embed/chunks/{kk-KZ-P5N5QNE5-CoeOUA0W.js → kk-KZ-P5N5QNE5-BDlGvfGX.js} +1 -1
  172. package/dist-embed/chunks/{km-KH-HSX4SM5Z-Newj9En6.js → km-KH-HSX4SM5Z-CooQACBW.js} +1 -1
  173. package/dist-embed/chunks/{ko-KR-MTYHY66A-B0HPCdz1.js → ko-KR-MTYHY66A-Bj_rlaK_.js} +1 -1
  174. package/dist-embed/chunks/{ku-TR-6OUDTVRD-DGP0qnbh.js → ku-TR-6OUDTVRD-Bj6Ypm8A.js} +1 -1
  175. package/dist-embed/chunks/{layout-DTdkd155.js → layout-BjpOdFu2.js} +1 -1
  176. package/dist-embed/chunks/{layout-D_LOxL0l.js → layout-DQIVAfpO.js} +1 -1
  177. package/dist-embed/chunks/{layout-W4AzWc9F.js → layout-Dqr0Lpzq.js} +1 -1
  178. package/dist-embed/chunks/{lib-CXGDRspZ.js → lib-14GbWfrY.js} +1 -1
  179. package/dist-embed/chunks/{lib-CADgZZ9y.js → lib-4swlpTXy.js} +1 -1
  180. package/dist-embed/chunks/{lib-B8KSw9bH.js → lib-BQq_nDIJ.js} +1 -1
  181. package/dist-embed/chunks/{lib-Y90USIm4.js → lib-B_Y-fFGM.js} +1 -1
  182. package/dist-embed/chunks/{lib-BYzUzQ6H.js → lib-Bi3C17qp.js} +1 -1
  183. package/dist-embed/chunks/{lib-nq0B6NsD.js → lib-BnWPn-3C.js} +1 -1
  184. package/dist-embed/chunks/{lib-CaukawRB.js → lib-CFjofO2V.js} +1 -1
  185. package/dist-embed/chunks/{lib-B8ebpTVD.js → lib-CZdsrJQn.js} +1 -1
  186. package/dist-embed/chunks/{lib-Cn7qCM0u.js → lib-CjtFb8n-.js} +1 -1
  187. package/dist-embed/chunks/{lib-Enno6S7H.js → lib-CxLkAp-u.js} +1 -1
  188. package/dist-embed/chunks/{lib-Coc8tcSm.js → lib-D-SlE5VC.js} +1 -1
  189. package/dist-embed/chunks/{lib-EuT6O3Jf.js → lib-D8GpP3sJ.js} +1 -1
  190. package/dist-embed/chunks/{lib-Bc3R7boK.js → lib-DTFhY99t.js} +1 -1
  191. package/dist-embed/chunks/{lib-DDbDl1bK.js → lib-Df9xZsJQ.js} +1 -1
  192. package/dist-embed/chunks/{lib-CrCTDU2F.js → lib-Dte5toRY.js} +1 -1
  193. package/dist-embed/chunks/{lib-BSeAgx1v.js → lib-RkdqeSxj.js} +1 -1
  194. package/dist-embed/chunks/{lib-YvkJZ6Rp.js → lib-XPaJtC26.js} +1 -1
  195. package/dist-embed/chunks/{lib-CLcIUOT7.js → lib-ZCrl6o8i.js} +1 -1
  196. package/dist-embed/chunks/{lib-DKIJv0vv.js → lib-epJftt6F.js} +1 -1
  197. package/dist-embed/chunks/{lt-LT-XHIRWOB4-BIsLadFj.js → lt-LT-XHIRWOB4-tCy9B-KD.js} +1 -1
  198. package/dist-embed/chunks/{lv-LV-5QDEKY6T-C8HmZZBF.js → lv-LV-5QDEKY6T-D7otgK4T.js} +1 -1
  199. package/dist-embed/chunks/{mermaid.core-Dd-D7tJ4.js → mermaid.core-DMHnDUdQ.js} +4 -4
  200. package/dist-embed/chunks/{mermaid.core-By9AWIOp.js → mermaid.core-DySu4CMa.js} +3 -3
  201. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-Uv7-26v7.js → mindmap-definition-YA3MSWOX-BXfU9jpH.js} +1 -1
  202. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-CmGscTNk.js → mindmap-definition-YA3MSWOX-BxYK9vLg.js} +1 -1
  203. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-CCpwK8vh.js → mindmap-definition-YA3MSWOX-DQSoT62j.js} +1 -1
  204. package/dist-embed/chunks/{mindmap-definition-e4c1d938-aCX0qYqH.js → mindmap-definition-e4c1d938-GSsr5zyA.js} +1 -1
  205. package/dist-embed/chunks/{mr-IN-CRQNXWMA-DKYnEuji.js → mr-IN-CRQNXWMA-C_WuMJ-7.js} +1 -1
  206. package/dist-embed/chunks/{my-MM-5M5IBNSE-MY3GKeMd.js → my-MM-5M5IBNSE-ljxQ9hC9.js} +1 -1
  207. package/dist-embed/chunks/{nb-NO-T6EIAALU-txIp5vuE.js → nb-NO-T6EIAALU-D2s2RIr7.js} +1 -1
  208. package/dist-embed/chunks/{nl-NL-IS3SIHDZ-C6xelwh4.js → nl-NL-IS3SIHDZ-BnT13jFW.js} +1 -1
  209. package/dist-embed/chunks/{nn-NO-6E72VCQL-BFYvN5n1.js → nn-NO-6E72VCQL-obFqc-dJ.js} +1 -1
  210. package/dist-embed/chunks/{oc-FR-POXYY2M6-uGpH7RML.js → oc-FR-POXYY2M6-Dp0fg3-H.js} +1 -1
  211. package/dist-embed/chunks/{pa-IN-N4M65BXN-Cg4Z-vtz.js → pa-IN-N4M65BXN-BefFR002.js} +1 -1
  212. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-DLONs192.js → pegDiagram-XKGWAZYB-FSobI14k.js} +1 -1
  213. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-C1R8Kk6K.js → pegDiagram-XKGWAZYB-GlLsdSxR.js} +1 -1
  214. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-dwQNJiaW.js → pegDiagram-XKGWAZYB-iCCMOEMa.js} +1 -1
  215. package/dist-embed/chunks/{percentages-BXMCSKIN-9RttMFHC.js → percentages-BXMCSKIN-D1a6fCH1.js} +5 -5
  216. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-DiT0kFGb.js → pieDiagram-E7YTZNPT-BLVqNMWJ.js} +1 -1
  217. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-CH60iHt1.js → pieDiagram-E7YTZNPT-CIfzhxTy.js} +1 -1
  218. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-Cm-wzRi8.js → pieDiagram-E7YTZNPT-ffhUIieA.js} +1 -1
  219. package/dist-embed/chunks/{pieDiagram-c941bede-BF587JLB.js → pieDiagram-c941bede-nYu7i5OI.js} +1 -1
  220. package/dist-embed/chunks/{pl-PL-T2D74RX3-Dv_CTL10.js → pl-PL-T2D74RX3-BO36IHPS.js} +1 -1
  221. package/dist-embed/chunks/{plugin-Bvp_HQZg.js → plugin-m2JrXH0S.js} +1 -1
  222. package/dist-embed/chunks/{pt-BR-5N22H2LF-CK-yjA9j.js → pt-BR-5N22H2LF-DeQn8LGc.js} +1 -1
  223. package/dist-embed/chunks/{pt-PT-UZXXM6DQ-DYb7ailg.js → pt-PT-UZXXM6DQ-BY1iT-VW.js} +1 -1
  224. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-mkOZIUHb.js → quadrantDiagram-AXDQQJYC-BE9RPE6m.js} +1 -1
  225. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-B1wf6Zth.js → quadrantDiagram-AXDQQJYC-DbYIZcyN.js} +1 -1
  226. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-DWDtOx8-.js → quadrantDiagram-AXDQQJYC-Dpzqg33f.js} +1 -1
  227. package/dist-embed/chunks/{quadrantDiagram-cf8b8fe0-CE6GwviF.js → quadrantDiagram-cf8b8fe0-nVG6Aygu.js} +1 -1
  228. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-DrkBEH1z.js → railroadDiagram-O6MQD6OU-CEl2l0ZE.js} +1 -1
  229. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-DEB7gRmX.js → railroadDiagram-O6MQD6OU-CwaTW3Mo.js} +1 -1
  230. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-DjA_m2-o.js → railroadDiagram-O6MQD6OU-jikRRl2W.js} +1 -1
  231. package/dist-embed/chunks/{renderer-B_98xkGt.js → renderer-CCsq5PXp.js} +1 -1
  232. package/dist-embed/chunks/{requirementDiagram-53bda41b-BsRjuGBf.js → requirementDiagram-53bda41b-CXGOrv-O.js} +1 -1
  233. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-C8d0kJ1A.js → requirementDiagram-BXWQKSXE-Bd0fV1Bn.js} +1 -1
  234. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-S8WT8VJ1.js → requirementDiagram-BXWQKSXE-ClYVmNTl.js} +1 -1
  235. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-82Ybj2ki.js → requirementDiagram-BXWQKSXE-DEQBP2xS.js} +1 -1
  236. package/dist-embed/chunks/{ro-RO-JPDTUUEW-1Cu9X8j1.js → ro-RO-JPDTUUEW-BJDoWheT.js} +1 -1
  237. package/dist-embed/chunks/{ru-RU-B4JR7IUQ-Bl3rV2YR.js → ru-RU-B4JR7IUQ-tTkTCAO1.js} +1 -1
  238. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-C2LowYxA.js → sankeyDiagram-P5KCCOFB-CLR82118.js} +1 -1
  239. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-CKqSAqcJ.js → sankeyDiagram-P5KCCOFB-CuMdtMPP.js} +1 -1
  240. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-eNBOyfBR.js → sankeyDiagram-P5KCCOFB-DH-uxGJV.js} +1 -1
  241. package/dist-embed/chunks/{sankeyDiagram-c3ef121a-BAS8V2Ov.js → sankeyDiagram-c3ef121a-nnS5nxSr.js} +1 -1
  242. package/dist-embed/chunks/{sequenceDiagram-82a5b84f-BWNvF-m7.js → sequenceDiagram-82a5b84f-BXXPsnTm.js} +1 -1
  243. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-CxH0MlFa.js → sequenceDiagram-WJ2MYXX4-CkWCOxWE.js} +1 -1
  244. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-C_2alFNp.js → sequenceDiagram-WJ2MYXX4-D00NbcmA.js} +1 -1
  245. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-fsR56p6L.js → sequenceDiagram-WJ2MYXX4-VyUqwKEJ.js} +1 -1
  246. package/dist-embed/chunks/{si-LK-N5RQ5JYF-C2t5ES1t.js → si-LK-N5RQ5JYF-D4AT7z9z.js} +1 -1
  247. package/dist-embed/chunks/{sizeCapture-INFHLROL-BCe0IiFV.js → sizeCapture-INFHLROL-B_CNNL_v.js} +1 -1
  248. package/dist-embed/chunks/{sizeCapture-INFHLROL-BsZaIjAU.js → sizeCapture-INFHLROL-_h3QW8w5.js} +1 -1
  249. package/dist-embed/chunks/{sizeCapture-INFHLROL-Y7lBmAj6.js → sizeCapture-INFHLROL-cLmnJm7s.js} +1 -1
  250. package/dist-embed/chunks/{sk-SK-C5VTKIMK-BPwM2QoN.js → sk-SK-C5VTKIMK-zTXKcnhq.js} +1 -1
  251. package/dist-embed/chunks/{sl-SI-NN7IZMDC-BCS7eO-5.js → sl-SI-NN7IZMDC-DrxXPVrt.js} +1 -1
  252. package/dist-embed/chunks/{state-DeMGhTAB.js → state-CGa66Nqd.js} +1 -1
  253. package/dist-embed/chunks/{stateDiagram-43e79a5f-2cuSVith.js → stateDiagram-43e79a5f-CKwOZnPj.js} +1 -1
  254. package/dist-embed/chunks/{stateDiagram-D77RDMKH-DosU0FIz.js → stateDiagram-D77RDMKH-BVJqlFiv.js} +1 -1
  255. package/dist-embed/chunks/{stateDiagram-D77RDMKH-ul2eLf5Q.js → stateDiagram-D77RDMKH-CEvuFuTH.js} +1 -1
  256. package/dist-embed/chunks/{stateDiagram-D77RDMKH-3P7AgNud.js → stateDiagram-D77RDMKH-Ns0E2Xy4.js} +1 -1
  257. package/dist-embed/chunks/{stateDiagram-v2-2041ed4f-Ur2pX7Zl.js → stateDiagram-v2-2041ed4f-Dx6MQIKx.js} +1 -1
  258. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-D0rhfnrW.js → stateDiagram-v2-MP3YSRHH-C_JHNwKt.js} +1 -1
  259. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-BvlJBilq.js → stateDiagram-v2-MP3YSRHH-DXcA38of.js} +1 -1
  260. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-DeEmivLr.js → stateDiagram-v2-MP3YSRHH-ok1qePbZ.js} +1 -1
  261. package/dist-embed/chunks/{styles-455b33cd-DPOVDa0x.js → styles-455b33cd-CyGhxLIv.js} +1 -1
  262. package/dist-embed/chunks/{styles-f932cba9-Dev7yXQc.js → styles-f932cba9-Yfe3P5e2.js} +1 -1
  263. package/dist-embed/chunks/{styles-fcc2142b-70zGEKfV.js → styles-fcc2142b-CoUogcOD.js} +1 -1
  264. package/dist-embed/chunks/{subset-shared.chunk-Cs06OLE4.js → subset-shared.chunk-Ez82ye3f.js} +1 -1
  265. package/dist-embed/chunks/{subset-worker.chunk-C-vXxYep.js → subset-worker.chunk-BJr6TVB9.js} +1 -1
  266. package/dist-embed/chunks/{substates-BuHNVWkx.js → substates-Bs9ZMVGa.js} +1 -1
  267. package/dist-embed/chunks/{sv-SE-XGPEYMSR-sUR_yJ3Z.js → sv-SE-XGPEYMSR-CVuCUAbC.js} +1 -1
  268. package/dist-embed/chunks/{svgDrawCommon-148a3cd9-zokUeLzq.js → svgDrawCommon-148a3cd9-Vfy_vJEN.js} +1 -1
  269. package/dist-embed/chunks/{swimlanes-42K2YHIH-x4BMo9Cs.js → swimlanes-42K2YHIH-BMEa5pc_.js} +1 -1
  270. package/dist-embed/chunks/{swimlanes-42K2YHIH-CIW2hU2l.js → swimlanes-42K2YHIH-CpRw9PHz.js} +1 -1
  271. package/dist-embed/chunks/{swimlanes-42K2YHIH-DOkKP2_2.js → swimlanes-42K2YHIH-DO1ZzP4k.js} +1 -1
  272. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-zOAH82Ya.js → swimlanesDiagram-VR7AAH4N-BCaTTDxJ.js} +1 -1
  273. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-9yw92Xx_.js → swimlanesDiagram-VR7AAH4N-BYKvE-MW.js} +1 -1
  274. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-BlFZ7eQS.js → swimlanesDiagram-VR7AAH4N-BucpGmoC.js} +1 -1
  275. package/dist-embed/chunks/{ta-IN-2NMHFXQM-c1DneC5B.js → ta-IN-2NMHFXQM-BURg7Kc1.js} +1 -1
  276. package/dist-embed/chunks/{th-TH-HPSO5L25-TIsXPiQR.js → th-TH-HPSO5L25-CxVkDzOV.js} +1 -1
  277. package/dist-embed/chunks/{timeline-definition-24CTP7MA-C9Ed6D0K.js → timeline-definition-24CTP7MA-CRpA2xfq.js} +1 -1
  278. package/dist-embed/chunks/{timeline-definition-24CTP7MA-kHlycslq.js → timeline-definition-24CTP7MA-C_RPFzcS.js} +1 -1
  279. package/dist-embed/chunks/{timeline-definition-24CTP7MA-BfM-0614.js → timeline-definition-24CTP7MA-DUJPQe9n.js} +1 -1
  280. package/dist-embed/chunks/{timeline-definition-7545f45a-B4ECAP9Q.js → timeline-definition-7545f45a-BPBA2KPg.js} +1 -1
  281. package/dist-embed/chunks/{tr-TR-DEFEU3FU-Bvb4Ep_L.js → tr-TR-DEFEU3FU-DzMZjlaq.js} +1 -1
  282. package/dist-embed/chunks/{uk-UA-QMV73CPH-BNgdD_2E.js → uk-UA-QMV73CPH-DBHj_NAU.js} +1 -1
  283. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-7gMUaOyw.js → vennDiagram-4TSXK5OY-ByKQXzaL.js} +1 -1
  284. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-Dt9fBhlj.js → vennDiagram-4TSXK5OY-C4cLgb45.js} +1 -1
  285. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-CrE30dtz.js → vennDiagram-4TSXK5OY-CRiS0wYe.js} +1 -1
  286. package/dist-embed/chunks/{vi-VN-M7AON7JQ-T0aYX7Py.js → vi-VN-M7AON7JQ-B8B39qmP.js} +1 -1
  287. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-CsR-8GhP.js → wardleyDiagram-VM6X3IG4-BbgqGTmD.js} +1 -1
  288. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-6HRbbvDt.js → wardleyDiagram-VM6X3IG4-CLayLpj4.js} +1 -1
  289. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-AvAVDPLG.js → wardleyDiagram-VM6X3IG4-CnxCRlDr.js} +1 -1
  290. package/dist-embed/chunks/{xychartDiagram-3f383b91-C09F8RkF.js → xychartDiagram-3f383b91-zh1CmS72.js} +1 -1
  291. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-CkZtbHvK.js → xychartDiagram-S5SC5T6Z-CYJl0Gtl.js} +1 -1
  292. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-VWPR98LV.js → xychartDiagram-S5SC5T6Z-CoRCml5l.js} +1 -1
  293. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-ZZD1fZ1L.js → xychartDiagram-S5SC5T6Z-RhhCg-yn.js} +1 -1
  294. package/dist-embed/chunks/{zh-CN-LNUGB5OW-CpDHeCAz.js → zh-CN-LNUGB5OW-OOkUvmDB.js} +1 -1
  295. package/dist-embed/chunks/{zh-HK-E62DVLB3-B5Kmyhoq.js → zh-HK-E62DVLB3-r2T4uQQz.js} +1 -1
  296. package/dist-embed/chunks/{zh-TW-RAJ6MFWO-D-Gvp4EC.js → zh-TW-RAJ6MFWO-CVJ2FptU.js} +1 -1
  297. package/dist-embed/datalayer-app-main.js +206 -61
  298. package/lib/apps/Application.d.ts +1 -1
  299. package/lib/apps/Application.js +4 -0
  300. package/lib/apps/agentUiPlugins.d.ts +1 -1
  301. package/lib/apps/agentUiPlugins.js +1 -1
  302. package/lib/apps/apps/AppRenderer.d.ts +7 -0
  303. package/lib/apps/apps/AppRenderer.js +21 -2
  304. package/lib/apps/apps/appspec.js +7 -1
  305. package/lib/apps/core/index.d.ts +33 -1
  306. package/lib/apps/core/index.js +15 -0
  307. package/lib/apps/plugins/chat/ChatView.js +3 -0
  308. package/lib/apps/plugins/trip-budget/index.d.ts +1 -1
  309. package/lib/apps/plugins/trip-budget/read.d.ts +1 -1
  310. package/lib/apps/plugins/trip-budget/read.js +1 -1
  311. package/lib/apps/plugins/trip-itinerary/index.d.ts +1 -1
  312. package/lib/apps/plugins/trip-itinerary/read.d.ts +1 -1
  313. package/lib/apps/plugins/trip-itinerary/read.js +1 -1
  314. package/lib/apps/plugins/trip-options/index.d.ts +1 -1
  315. package/lib/apps/plugins/trip-options/read.d.ts +1 -1
  316. package/lib/apps/plugins/trip-options/read.js +1 -1
  317. package/lib/apps/plugins/trip-summary/index.d.ts +1 -1
  318. package/lib/apps/shell/LeftPanel.d.ts +85 -0
  319. package/lib/apps/shell/LeftPanel.js +138 -0
  320. package/lib/apps/shell/LoopWorkspace.js +27 -2
  321. package/lib/apps/shell/index.d.ts +1 -0
  322. package/lib/apps/shell/index.js +1 -0
  323. package/lib/chat/Chat.d.ts +1 -1
  324. package/lib/chat/Chat.js +2 -2
  325. package/lib/chat/assistant/SpeechBalloon.d.ts +4 -2
  326. package/lib/chat/assistant/SpeechBalloon.js +3 -1
  327. package/lib/chat/base/ChatBase.js +2 -1
  328. package/lib/chat/header/ChatHeaderBase.d.ts +7 -1
  329. package/lib/chat/header/ChatHeaderBase.js +2 -2
  330. package/lib/specs/actions.js +2 -2
  331. package/lib/specs/agentPresentations.d.ts +26 -0
  332. package/lib/specs/agentPresentations.js +64 -0
  333. package/lib/specs/agents/agents.d.ts +1 -1
  334. package/lib/specs/agents/agents.js +118 -106
  335. package/lib/specs/apps.d.ts +6 -6
  336. package/lib/specs/apps.js +98 -46
  337. package/lib/specs/appspecSchema.js +7 -0
  338. package/lib/specs/backendTools.js +3 -3
  339. package/lib/specs/mcpServers.js +1 -1
  340. package/lib/types/agentspecs.d.ts +15 -0
  341. package/lib/types/chat.d.ts +12 -0
  342. package/package.json +1 -1
  343. package/scripts/codegen/generate_agents.py +93 -2
  344. package/dist-embed/chunks/index.esm-CjezntnN.js +0 -1
@@ -1,3 +1,3 @@
1
- import{a1 as b,a2 as v,a7 as E,r as I,j as i,B as c,T as N,bz as j,bA as T,bB as U}from"../datalayer-app-main.js";import{EphemeralDocument as O}from"./EphemeralDocument-Bm1w17Zw.js";import{O as _,b as P,u as D}from"./openingNotebook-DTqjQOa4.js";import{P as d}from"./PrismCss-c7kvMU60.js";import"./lexicalHooks-eeb6BvjZ.js";import"./LexicalToolRegistry-rXaW8uXA.js";import"./useProgressTask-DV0x1UbX.js";import"./JupyterLexicalExtension-Dr8dgCst.js";import"./NotebookSkeleton-GSdyJDf_.js";import"./Avatar-DUPBQXVt.js";import"./url-DY3jeuF8.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./StrikethroughIcon-CbiEuPT-.js";import"./VideoIcon-C3wcjUxu.js";import"./ArrowUpIcon-y5enrVH9.js";import"./SortDescIcon-Qif6E10I.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./Output-Do1CYRIF.js";import"./index-i9IsP_xD.js";import"./hoverbox-CStlKQWE.js";import"./index--Rl4aMiU.js";import"./index-DrrVr0x3.js";import"./dayjs.min-u3zuoSR8.js";import"./isEqual-DXPB_0fo.js";import"./d3-color-Jd8hXty2.js";import"./dist-Frc5TvpU.js";import"./index-BaRoLDk0.js";import"./RestartIcon-DvpOf5Mf.js";const M="Quarterly revenue by region",S="Six rows of revenue, two quarters, three regions. The cell below loads them and shows the frame; run it, change it, or ask an agent to take it further — the code and its output live in this document, beside the words about them.",l="opening-document-input",w="opening-document-output",g=e=>({detail:0,format:0,mode:"normal",style:"",text:e,type:"text",version:1}),p=(e,o,t={})=>({children:o,direction:"ltr",format:"",indent:0,type:e,version:1,...t}),h={type:"linebreak",version:1},s=(e,o)=>({detail:0,format:0,mode:"normal",style:"",text:e,type:"jupyter-input-highlight",version:1,highlightType:o}),f=e=>e.flatMap(o=>{if(typeof o=="string")return o.split(`
1
+ import{a1 as b,a2 as v,a7 as E,r as I,j as i,B as c,T as N,bz as j,bA as T,bB as U}from"../datalayer-app-main.js";import{EphemeralDocument as O}from"./EphemeralDocument-BiQZswSQ.js";import{O as _,b as P,u as D}from"./openingNotebook-DTqjQOa4.js";import{P as d}from"./PrismCss-c7kvMU60.js";import"./lexicalHooks-eeb6BvjZ.js";import"./LexicalToolRegistry-rXaW8uXA.js";import"./useProgressTask-DV0x1UbX.js";import"./JupyterLexicalExtension-BYde4Hzz.js";import"./NotebookSkeleton-GSdyJDf_.js";import"./Avatar-DUPBQXVt.js";import"./url-DY3jeuF8.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./StrikethroughIcon-CbiEuPT-.js";import"./VideoIcon-C3wcjUxu.js";import"./ArrowUpIcon-y5enrVH9.js";import"./SortDescIcon-Qif6E10I.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./Output-BmVt4DpZ.js";import"./index-i9IsP_xD.js";import"./hoverbox-CStlKQWE.js";import"./index--Rl4aMiU.js";import"./index-5os8HYj-.js";import"./dayjs.min-u3zuoSR8.js";import"./isEqual-DXPB_0fo.js";import"./d3-color-Jd8hXty2.js";import"./dist-Frc5TvpU.js";import"./index-BaRoLDk0.js";import"./RestartIcon-DvpOf5Mf.js";const M="Quarterly revenue by region",S="Six rows of revenue, two quarters, three regions. The cell below loads them and shows the frame; run it, change it, or ask an agent to take it further — the code and its output live in this document, beside the words about them.",l="opening-document-input",w="opening-document-output",g=e=>({detail:0,format:0,mode:"normal",style:"",text:e,type:"text",version:1}),p=(e,o,t={})=>({children:o,direction:"ltr",format:"",indent:0,type:e,version:1,...t}),h={type:"linebreak",version:1},s=(e,o)=>({detail:0,format:0,mode:"normal",style:"",text:e,type:"jupyter-input-highlight",version:1,highlightType:o}),f=e=>e.flatMap(o=>{if(typeof o=="string")return o.split(`
2
2
  `).flatMap((n,m)=>[...m>0?[h]:[],...n.length>0?[s(n)]:[]]);const{content:t,type:r}=o;return typeof t=="string"?[s(t,r)]:Array.isArray(t)?t.length===1&&typeof t[0]=="string"?[s(t[0],r)]:f(t):[]}),A=e=>{const o=d.languages.python;return o?f(d.tokenize(e,o)):e.split(`
3
3
  `).flatMap((t,r)=>[...r>0?[h]:[],...t.length>0?[s(t)]:[]])};function k(){const e=_.join("");return{root:{children:[p("heading",[g(M)],{tag:"h1"}),p("paragraph",[g(S)],{textFormat:0,textStyle:""}),p("jupyter-input",A(e),{language:"python",jupyterInputNodeUuid:l}),{type:"jupyter-output",version:1,format:"",source:e,outputs:[{output_type:"execute_result",execution_count:1,data:{"text/plain":P},metadata:{}}],jupyterInputNodeUuid:l,jupyterOutputNodeUuid:w}],direction:"ltr",format:"",indent:0,type:"root",version:1}}}function ct({workspace:e}){const o=b(),t=v(o.snapshot),r=e.surfaceId,n=D(T,j,{workspace:e,editorId:r}),a=E(U)[0]?.value,y=I.useMemo(()=>JSON.stringify((a?.document??k)()),[a]),x=a?.autoFocus??!0;if(t.state!=="running")return i.jsx(c,{height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:"fg.muted",fontSize:1,px:4,textAlign:"center",children:i.jsx(N,{children:"The document needs a running sandbox for its code blocks. Open the Sandbox view to see what it is doing."})});const u=o.getServiceManager()??void 0;return i.jsx(c,{height:"100%",minHeight:0,children:i.jsx(O,{inheritTheme:!0,documentId:r,content:y,autoFocus:x,serviceManager:u,showToolbar:n.present,toolbarExtraItems:n.items,kernelId:u?t.kernelId:void 0,runtimeOverride:!u&&t.jupyterUrl?{baseUrl:t.jupyterUrl,token:t.jupyterToken}:void 0})})}export{ct as default};
@@ -1 +1 @@
1
- import{r,aM as ke,aN as Se,aO as je,aP as we,aQ as ve,j as e,B as M,aR as be,aS as Ce,aT as Ee,aU as Re,aV as V,k as $,aW as Me,aX as Te,aY as Pe,ab as T,aZ as Ne,a_ as Y,a$ as q,b0 as De,b1 as Ue}from"../datalayer-app-main.js";import{useLexicalTools as He}from"./lexicalHooks-eeb6BvjZ.js";import{u as We}from"./useProgressTask-DV0x1UbX.js";import{L as Be,j as Ie,T as Le,k as Ae,l as _e,m as Fe,D as K,n as Je,o as ze,p as Ve,q as $e,J as Ye,s as qe,F as Ke,t as Qe,u as Xe,v as Ze,w as Ge}from"./JupyterLexicalExtension-Dr8dgCst.js";import"./LexicalToolRegistry-rXaW8uXA.js";import"./NotebookSkeleton-GSdyJDf_.js";import"./Avatar-DUPBQXVt.js";import"./url-DY3jeuF8.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./StrikethroughIcon-CbiEuPT-.js";import"./VideoIcon-C3wcjUxu.js";import"./ArrowUpIcon-y5enrVH9.js";import"./SortDescIcon-Qif6E10I.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./PrismCss-c7kvMU60.js";import"./Output-Do1CYRIF.js";import"./index-i9IsP_xD.js";import"./hoverbox-CStlKQWE.js";import"./index--Rl4aMiU.js";import"./index-DrrVr0x3.js";import"./dayjs.min-u3zuoSR8.js";import"./isEqual-DXPB_0fo.js";import"./d3-color-Jd8hXty2.js";import"./dist-Frc5TvpU.js";import"./index-BaRoLDk0.js";import"./RestartIcon-DvpOf5Mf.js";function Oe({content:o}){const[s]=T(),l=r.useRef(!0);return r.useEffect(()=>{if(l.current){if(l.current=!1,!o){s.update(()=>{const t=Y();t.getChildrenSize()===0&&t.append(q())},{tag:"history-merge"});return}try{const t=JSON.parse(o);if(t&&typeof t=="object"&&t.root){const d=s.parseEditorState(o);s.setEditorState(d,{tag:"history-merge"})}else throw new Error("Invalid Lexical editor state format")}catch{s.update(()=>{const t=Y();t.clear(),t.append(q())},{tag:"history-merge"})}}},[o,s]),null}function et({disabled:o}){const[s]=T();return r.useEffect(()=>{Ne(s,De).output.disabled.value=o},[s,o]),null}function tt({setIsLinkEditMode:o,extraItems:s}){const[l]=T(),[t,d]=r.useState(l);return e.jsx(Ge,{editor:l,activeEditor:t,setActiveEditor:d,setIsLinkEditMode:o,extraItems:s})}function Q({inherit:o,colorMode:s,themeConfig:l,children:t}){return o?e.jsx(e.Fragment,{children:t}):e.jsx(Te,{colorMode:s,theme:l.primerTheme,themeStyles:l.themeStyles,children:t})}function Nt({documentId:o,runtimeName:s,runtimeOverride:l,serviceManager:t,kernelId:d,themeVariant:X,colorMode:Z,content:P,onContentChange:w,onToolsReady:N,onKernelChange:v,collaboration:n,toolbarExtraItems:G,showToolbar:O=!0,inheritTheme:D=!1,autoFocus:U=!0}){const h=!!(n?.websocketUrl&&n?.roomId),ee=n?.identity?.displayName||n?.identity?.handle||n?.identity?.userId,te=n?.identity?.color,ne=r.useMemo(()=>({user:{id:n?.identity?.userId,username:n?.identity?.userId||n?.identity?.handle||n?.identity?.displayName,name:n?.identity?.handle||n?.identity?.displayName,display_name:n?.identity?.displayName||n?.identity?.handle,initials:n?.identity?.initials,color:n?.identity?.color,avatar_url:n?.identity?.avatarUrl,handle:n?.identity?.handle}}),[n?.identity]),H=r.useRef(P),W=r.useRef(o);W.current!==o&&(W.current=o,H.current=P);const B=H.current,I=r.useRef(B??""),L=He(o);r.useEffect(()=>{N?.(L)},[L,N]);const{runtimes:A,refetchRuntimes:b}=ke(),m=r.useMemo(()=>{const i=String(l?.baseUrl||"").trim();if(i)return{url:i,wsUrl:String(l?.wsUrl||"").trim()||void 0,token:String(l?.token||"").trim(),runtime_name:String(l?.runtimeName||"").trim()||"agent-node-proxy"};const a=String(s||"").trim();if(a)return A.find(j=>String(j?.runtime_name||"")===a)},[l,s,A]),_=!!(!l?.baseUrl&&String(s||"").trim()&&!m);r.useEffect(()=>{if(!_)return;b();const i=window.setInterval(()=>{b()},1e3);return()=>{window.clearInterval(i)}},[_,b]);const[re,g]=r.useState(null),[p,f]=r.useState(void 0);r.useEffect(()=>{let i=!1,a=null,j=null;return(async()=>{if(t){try{await t.ready;const u=d?t.kernels.connectTo({model:{id:d,name:"python"}}):await t.kernels.startNew();i||(g(t),f(new V({kernelName:u.model.name,kernelSpecName:u.model.name,kernelModel:u.model,kernelManager:t.kernels,kernelspecsManager:t.kernelspecs,sessionManager:t.sessions})))}catch(u){console.error("[agent-runtimes] The document could not reach the kernel of the sandbox it was given.",u),i||(g(null),f(void 0))}return}const E=String(m?.url||"").trim();if(!E){i||(g(null),f(void 0));return}try{const u=String(m?.token||"").trim(),pe=String(m?.wsUrl||"").trim()||E.replace(/^http/,"ws"),xe=$.ServerConnection.makeSettings({baseUrl:E,wsUrl:pe,token:u,appendToken:!0});a=new $.ServiceManager({serverSettings:xe}),j=Me(String(m?.runtime_name||""),a),await a.ready;const R=await a.kernels.startNew();if(!i){const ye=new V({kernelName:R.model.name,kernelSpecName:R.model.name,kernelModel:R.model,kernelManager:a.kernels,kernelspecsManager:a.kernelspecs,sessionManager:a.sessions});g(a),f(ye)}}catch{i||(g(null),f(void 0))}})(),()=>{i=!0,j?.(),a&&Ue(a)}},[t,d,m?.runtime_name,m?.url,m?.token]),r.useEffect(()=>(v?.(p?.connection??null),()=>{v?.(null)}),[p,v]);const C=re,F=!!((String(s||"").trim()||String(l?.baseUrl||"").trim()||t)&&!C);We(`ephemeral-document-start-${o}`,F);const oe=r.useMemo(()=>Se({name:"@datalayer/agent-runtimes/EphemeralDocument",namespace:`ephemeral-document-${o}`,theme:Ze,dependencies:[Xe,...U?[Pe]:[]],onError(i){console.error("[EphemeralDocument]",i)}}),[o,U]),ie=r.useCallback(i=>{if(!w)return;const a=JSON.stringify(i.toJSON());a!==I.current&&(I.current=a,w(a))},[w]),[x,se]=r.useState(null),[,J]=r.useState(!1),y=h?n?.roomId:void 0,[ae,le]=r.useState(),ce=y===void 0||ae===y,me=r.useCallback(i=>le(i?y:void 0),[y]),de=i=>{i!==null&&se(i)},{colorMode:ue,theme:he}=je(),k=Z??ue,ge=X??he,fe=we(),S=ve(ge),z=k==="auto"?fe:k,c=(z==="dark"?S.themeStyles.dark:S.themeStyles.light).backgroundColor??"";return e.jsx(M,{flex:1,minHeight:0,height:"100%",position:"relative",overflow:"hidden",bg:"canvas.default",children:C?e.jsx(Q,{inherit:D,colorMode:k,themeConfig:S,children:e.jsx(be,{colormode:z,backgroundColor:c,children:e.jsx(M,{sx:{position:"absolute",inset:0,display:"flex",flexDirection:"column",minHeight:0,overflow:"hidden",overscrollBehaviorY:"contain",padding:2,backgroundColor:c,"--bgColor-default":c,"& .editor-shell":{backgroundColor:c,borderRadius:2,display:"flex",flexDirection:"column",minHeight:0,flex:1,maxWidth:"none",width:"100%",margin:0},"& .editor-container":{backgroundColor:c,display:"flex",flexDirection:"column",minHeight:0,flex:1,width:"100%",maxWidth:"none",margin:0},"& .editor-inner":{backgroundColor:c,display:"flex",flexDirection:"column",minHeight:0,flex:1,width:"100%",maxWidth:"none"},"& .editor-scroller":{minHeight:0,flex:1,overflow:"auto",width:"100%",maxWidth:"none"},"& .editor":{minHeight:"100%",width:"100%",maxWidth:"none",margin:0},"& .editor-input":{backgroundColor:c,width:"100%",maxWidth:"none",margin:0},"& .ContentEditable__root":{width:"100%",maxWidth:"none",margin:0},'& [role="toolbar"][aria-label="Editor toolbar"]':{backgroundColor:c}},children:e.jsx(Be,{lexicalId:o,serviceManager:C,children:e.jsx(Ce,{extension:oe,contentEditable:null,children:e.jsx(Ie,{children:e.jsx(Le,{children:e.jsxs("div",{className:"editor-shell",children:[O?e.jsx(tt,{setIsLinkEditMode:J,extraItems:G}):null,e.jsx("div",{className:"editor-container",children:e.jsxs("div",{className:"editor-inner",children:[h&&n?e.jsx(Ae,{id:n.roomId,providerFactory:_e,websocketUrl:n.websocketUrl,shouldBootstrap:!0,showCollaborators:!0,username:ee,cursorColor:te,awarenessData:ne,onInitialization:me}):null,e.jsx(Fe,{}),ce?e.jsx("div",{className:"editor-scroller",children:e.jsx("div",{className:"editor",ref:de,children:e.jsx(Ee,{className:"editor-input","aria-label":"Ephemeral document editor"})})}):e.jsx(K,{maxWidth:"100%"}),!h&&e.jsx(Re,{onChange:ie}),e.jsx(et,{disabled:h}),!h&&e.jsx(Oe,{content:B}),e.jsx(Je,{}),e.jsx(ze,{}),e.jsx(Ve,{}),e.jsx($e,{kernel:p}),e.jsx(Ye,{kernel:p}),x&&e.jsxs(e.Fragment,{children:[e.jsx(qe,{anchorElem:x}),e.jsx(Ke,{anchorElem:x,setIsLinkEditMode:J}),e.jsx(Qe,{anchorElem:x})]})]})})]})})})})})})})}):F?e.jsx(Q,{inherit:D,colorMode:k,themeConfig:S,children:e.jsx(M,{position:"absolute",inset:0,display:"flex",flexDirection:"column",padding:2,backgroundColor:c,children:e.jsx(K,{label:"Starting the document",maxWidth:"100%"})})}):null})}export{Nt as EphemeralDocument,Nt as default};
1
+ import{r,aM as ke,aN as Se,aO as je,aP as we,aQ as ve,j as e,B as M,aR as be,aS as Ce,aT as Ee,aU as Re,aV as V,k as $,aW as Me,aX as Te,aY as Pe,ab as T,aZ as Ne,a_ as Y,a$ as q,b0 as De,b1 as Ue}from"../datalayer-app-main.js";import{useLexicalTools as He}from"./lexicalHooks-eeb6BvjZ.js";import{u as We}from"./useProgressTask-DV0x1UbX.js";import{L as Be,j as Ie,T as Le,k as Ae,l as _e,m as Fe,D as K,n as Je,o as ze,p as Ve,q as $e,J as Ye,s as qe,F as Ke,t as Qe,u as Xe,v as Ze,w as Ge}from"./JupyterLexicalExtension-BYde4Hzz.js";import"./LexicalToolRegistry-rXaW8uXA.js";import"./NotebookSkeleton-GSdyJDf_.js";import"./Avatar-DUPBQXVt.js";import"./url-DY3jeuF8.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./StrikethroughIcon-CbiEuPT-.js";import"./VideoIcon-C3wcjUxu.js";import"./ArrowUpIcon-y5enrVH9.js";import"./SortDescIcon-Qif6E10I.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./PrismCss-c7kvMU60.js";import"./Output-BmVt4DpZ.js";import"./index-i9IsP_xD.js";import"./hoverbox-CStlKQWE.js";import"./index--Rl4aMiU.js";import"./index-5os8HYj-.js";import"./dayjs.min-u3zuoSR8.js";import"./isEqual-DXPB_0fo.js";import"./d3-color-Jd8hXty2.js";import"./dist-Frc5TvpU.js";import"./index-BaRoLDk0.js";import"./RestartIcon-DvpOf5Mf.js";function Oe({content:o}){const[s]=T(),l=r.useRef(!0);return r.useEffect(()=>{if(l.current){if(l.current=!1,!o){s.update(()=>{const t=Y();t.getChildrenSize()===0&&t.append(q())},{tag:"history-merge"});return}try{const t=JSON.parse(o);if(t&&typeof t=="object"&&t.root){const d=s.parseEditorState(o);s.setEditorState(d,{tag:"history-merge"})}else throw new Error("Invalid Lexical editor state format")}catch{s.update(()=>{const t=Y();t.clear(),t.append(q())},{tag:"history-merge"})}}},[o,s]),null}function et({disabled:o}){const[s]=T();return r.useEffect(()=>{Ne(s,De).output.disabled.value=o},[s,o]),null}function tt({setIsLinkEditMode:o,extraItems:s}){const[l]=T(),[t,d]=r.useState(l);return e.jsx(Ge,{editor:l,activeEditor:t,setActiveEditor:d,setIsLinkEditMode:o,extraItems:s})}function Q({inherit:o,colorMode:s,themeConfig:l,children:t}){return o?e.jsx(e.Fragment,{children:t}):e.jsx(Te,{colorMode:s,theme:l.primerTheme,themeStyles:l.themeStyles,children:t})}function Nt({documentId:o,runtimeName:s,runtimeOverride:l,serviceManager:t,kernelId:d,themeVariant:X,colorMode:Z,content:P,onContentChange:w,onToolsReady:N,onKernelChange:v,collaboration:n,toolbarExtraItems:G,showToolbar:O=!0,inheritTheme:D=!1,autoFocus:U=!0}){const h=!!(n?.websocketUrl&&n?.roomId),ee=n?.identity?.displayName||n?.identity?.handle||n?.identity?.userId,te=n?.identity?.color,ne=r.useMemo(()=>({user:{id:n?.identity?.userId,username:n?.identity?.userId||n?.identity?.handle||n?.identity?.displayName,name:n?.identity?.handle||n?.identity?.displayName,display_name:n?.identity?.displayName||n?.identity?.handle,initials:n?.identity?.initials,color:n?.identity?.color,avatar_url:n?.identity?.avatarUrl,handle:n?.identity?.handle}}),[n?.identity]),H=r.useRef(P),W=r.useRef(o);W.current!==o&&(W.current=o,H.current=P);const B=H.current,I=r.useRef(B??""),L=He(o);r.useEffect(()=>{N?.(L)},[L,N]);const{runtimes:A,refetchRuntimes:b}=ke(),m=r.useMemo(()=>{const i=String(l?.baseUrl||"").trim();if(i)return{url:i,wsUrl:String(l?.wsUrl||"").trim()||void 0,token:String(l?.token||"").trim(),runtime_name:String(l?.runtimeName||"").trim()||"agent-node-proxy"};const a=String(s||"").trim();if(a)return A.find(j=>String(j?.runtime_name||"")===a)},[l,s,A]),_=!!(!l?.baseUrl&&String(s||"").trim()&&!m);r.useEffect(()=>{if(!_)return;b();const i=window.setInterval(()=>{b()},1e3);return()=>{window.clearInterval(i)}},[_,b]);const[re,g]=r.useState(null),[p,f]=r.useState(void 0);r.useEffect(()=>{let i=!1,a=null,j=null;return(async()=>{if(t){try{await t.ready;const u=d?t.kernels.connectTo({model:{id:d,name:"python"}}):await t.kernels.startNew();i||(g(t),f(new V({kernelName:u.model.name,kernelSpecName:u.model.name,kernelModel:u.model,kernelManager:t.kernels,kernelspecsManager:t.kernelspecs,sessionManager:t.sessions})))}catch(u){console.error("[agent-runtimes] The document could not reach the kernel of the sandbox it was given.",u),i||(g(null),f(void 0))}return}const E=String(m?.url||"").trim();if(!E){i||(g(null),f(void 0));return}try{const u=String(m?.token||"").trim(),pe=String(m?.wsUrl||"").trim()||E.replace(/^http/,"ws"),xe=$.ServerConnection.makeSettings({baseUrl:E,wsUrl:pe,token:u,appendToken:!0});a=new $.ServiceManager({serverSettings:xe}),j=Me(String(m?.runtime_name||""),a),await a.ready;const R=await a.kernels.startNew();if(!i){const ye=new V({kernelName:R.model.name,kernelSpecName:R.model.name,kernelModel:R.model,kernelManager:a.kernels,kernelspecsManager:a.kernelspecs,sessionManager:a.sessions});g(a),f(ye)}}catch{i||(g(null),f(void 0))}})(),()=>{i=!0,j?.(),a&&Ue(a)}},[t,d,m?.runtime_name,m?.url,m?.token]),r.useEffect(()=>(v?.(p?.connection??null),()=>{v?.(null)}),[p,v]);const C=re,F=!!((String(s||"").trim()||String(l?.baseUrl||"").trim()||t)&&!C);We(`ephemeral-document-start-${o}`,F);const oe=r.useMemo(()=>Se({name:"@datalayer/agent-runtimes/EphemeralDocument",namespace:`ephemeral-document-${o}`,theme:Ze,dependencies:[Xe,...U?[Pe]:[]],onError(i){console.error("[EphemeralDocument]",i)}}),[o,U]),ie=r.useCallback(i=>{if(!w)return;const a=JSON.stringify(i.toJSON());a!==I.current&&(I.current=a,w(a))},[w]),[x,se]=r.useState(null),[,J]=r.useState(!1),y=h?n?.roomId:void 0,[ae,le]=r.useState(),ce=y===void 0||ae===y,me=r.useCallback(i=>le(i?y:void 0),[y]),de=i=>{i!==null&&se(i)},{colorMode:ue,theme:he}=je(),k=Z??ue,ge=X??he,fe=we(),S=ve(ge),z=k==="auto"?fe:k,c=(z==="dark"?S.themeStyles.dark:S.themeStyles.light).backgroundColor??"";return e.jsx(M,{flex:1,minHeight:0,height:"100%",position:"relative",overflow:"hidden",bg:"canvas.default",children:C?e.jsx(Q,{inherit:D,colorMode:k,themeConfig:S,children:e.jsx(be,{colormode:z,backgroundColor:c,children:e.jsx(M,{sx:{position:"absolute",inset:0,display:"flex",flexDirection:"column",minHeight:0,overflow:"hidden",overscrollBehaviorY:"contain",padding:2,backgroundColor:c,"--bgColor-default":c,"& .editor-shell":{backgroundColor:c,borderRadius:2,display:"flex",flexDirection:"column",minHeight:0,flex:1,maxWidth:"none",width:"100%",margin:0},"& .editor-container":{backgroundColor:c,display:"flex",flexDirection:"column",minHeight:0,flex:1,width:"100%",maxWidth:"none",margin:0},"& .editor-inner":{backgroundColor:c,display:"flex",flexDirection:"column",minHeight:0,flex:1,width:"100%",maxWidth:"none"},"& .editor-scroller":{minHeight:0,flex:1,overflow:"auto",width:"100%",maxWidth:"none"},"& .editor":{minHeight:"100%",width:"100%",maxWidth:"none",margin:0},"& .editor-input":{backgroundColor:c,width:"100%",maxWidth:"none",margin:0},"& .ContentEditable__root":{width:"100%",maxWidth:"none",margin:0},'& [role="toolbar"][aria-label="Editor toolbar"]':{backgroundColor:c}},children:e.jsx(Be,{lexicalId:o,serviceManager:C,children:e.jsx(Ce,{extension:oe,contentEditable:null,children:e.jsx(Ie,{children:e.jsx(Le,{children:e.jsxs("div",{className:"editor-shell",children:[O?e.jsx(tt,{setIsLinkEditMode:J,extraItems:G}):null,e.jsx("div",{className:"editor-container",children:e.jsxs("div",{className:"editor-inner",children:[h&&n?e.jsx(Ae,{id:n.roomId,providerFactory:_e,websocketUrl:n.websocketUrl,shouldBootstrap:!0,showCollaborators:!0,username:ee,cursorColor:te,awarenessData:ne,onInitialization:me}):null,e.jsx(Fe,{}),ce?e.jsx("div",{className:"editor-scroller",children:e.jsx("div",{className:"editor",ref:de,children:e.jsx(Ee,{className:"editor-input","aria-label":"Ephemeral document editor"})})}):e.jsx(K,{maxWidth:"100%"}),!h&&e.jsx(Re,{onChange:ie}),e.jsx(et,{disabled:h}),!h&&e.jsx(Oe,{content:B}),e.jsx(Je,{}),e.jsx(ze,{}),e.jsx(Ve,{}),e.jsx($e,{kernel:p}),e.jsx(Ye,{kernel:p}),x&&e.jsxs(e.Fragment,{children:[e.jsx(qe,{anchorElem:x}),e.jsx(Ke,{anchorElem:x,setIsLinkEditMode:J}),e.jsx(Qe,{anchorElem:x})]})]})})]})})})})})})})}):F?e.jsx(Q,{inherit:D,colorMode:k,themeConfig:S,children:e.jsx(M,{position:"absolute",inset:0,display:"flex",flexDirection:"column",padding:2,backgroundColor:c,children:e.jsx(K,{label:"Starting the document",maxWidth:"100%"})})}):null})}export{Nt as EphemeralDocument,Nt as default};
@@ -1,2 +1,2 @@
1
- import{ch as I,bh as be,k as x,ce as O,bg as Ee,f1 as _e,f2 as Re,f3 as Ce,r as f,Z as ne,aM as Me,f4 as Ue,j as v,aO as je,aP as qe,aQ as Te,B as Q,aR as Ae,aW as Ne,aX as Oe,b1 as Ie}from"../datalayer-app-main.js";import{u as Le}from"./useProgressTask-DV0x1UbX.js";import{a as De}from"./NotebookToolbar-C1fpK-Vi.js";import{C as Je,a as Pe,N as Be}from"./CellSidebarExtension-B_Bqi3Eh.js";import"./RepoPushIcon-BtXQRhLa.js";import"./index--Rl4aMiU.js";import"./hoverbox-CStlKQWE.js";import"./NotebookSkeleton-GSdyJDf_.js";import"./Avatar-DUPBQXVt.js";import"./index-DrrVr0x3.js";import"./dayjs.min-u3zuoSR8.js";import"./isEqual-DXPB_0fo.js";import"./d3-color-Jd8hXty2.js";import"./renderer-B_98xkGt.js";import"./SquareIcon-Dy3l3VdH.js";const H="jupyter_server_nbmodel",We=new WeakSet;function $e(e){return We.has(e)}function re(e){const n=e.model.getMetadata(H);return n?.kernelId&&n.requestId&&n.requestUrl?n:void 0}function oe(e,n){e.model.setMetadata(H,n)}function Z(e){e.model.deleteMetadata(H)}function se(e){return(typeof e=="string"?JSON.parse(e):e).reduce((r,t)=>{const o=r[r.length-1];if(t.output_type==="stream"&&o?.output_type==="stream"&&o.name===t.name){const s=Array.isArray(o.text)?o.text.join(""):o.text??"",a=Array.isArray(t.text)?t.text.join(""):t.text??"";o.text=s+a}else r.push(t);return r},[])}function j(e){return Array.isArray(e.text)?e.text.join(""):e.text??""}function Ke(e,n){return e?.output_type==="stream"&&n?.output_type==="stream"&&e.name===n.name&&j(n).startsWith(j(e))}function He(e,n){return e.length>n.length?!1:e.every((r,t)=>I.deepEqual(r,n[t])||t===e.length-1&&Ke(r,n[t]))}function Fe(e,n){const r=Math.min(e.length,n.length);for(let t=0;t<r;t+=1){const o=e[t],s=n[t];if(I.deepEqual(o,s))continue;if(!(o?.output_type==="stream"&&s?.output_type==="stream"&&o.name===s.name))return-1;const i=j(o),u=j(s);if(!u.startsWith(i)&&!i.startsWith(u)||t<r-1)return-1}return r}function Ge(e,n,r){let t=n.length;if(n.length>0&&r.length>=n.length){const o=n.length-1,s=n[o],a=r[o];if(!I.deepEqual(s,a)){const i=j(a).slice(j(s).length);i&&e.outputArea.model.add({...a,text:i})}}for(;t<r.length;)e.outputArea.model.add(r[t]),t+=1}function ae(e,n,r){const t=e.model.sharedModel,o=t.getOutputs();if(I.deepEqual(o,n))return;if(n.length===0){r?.length&&o.length&&e.outputArea.model.clear();return}if(He(n,o))return;console.debug("[jupyter-server-nbmodel] Applying pending output snapshot",{cellId:t.getId(),outputCount:n.length});const s=Fe(o,n);s>=0?Ge(e,o.slice(0,s),n):t.setOutputs(n)}const Ve=1e3;async function ze(e,n,r){let t;try{t=await n.json()}catch{return}if(t.request_id&&t.kernel_id){const a=n.headers.get("Location")??t.request_url;a&&(r.requestUrl=a),a&&r.recoverOutputs&&oe(e,{kernelId:t.kernel_id,requestId:t.request_id,requestUrl:a}),r.accepted||(r.accepted=!0,r.onAccepted?.())}if(t.outputs===void 0||!r.recoverOutputs)return;const o=se(t.outputs),s=r.serverOutputs;r.serverOutputs=o,ae(e,o,s)}async function K(e,n,r,t,o,s=100,a={}){const i=new be;return x.ServerConnection.makeRequest(n,r,t).then(async u=>{if(u.ok)if(u.status===202){await ze(e,u,a);let c=u.headers.get("Location")||a.requestUrl||n;c.startsWith(t.baseUrl)||(c=O.URLExt.join(t.baseUrl,c)),setTimeout(async(_,w,m,M,k,U,p)=>{try{const h=await K(_,w,m,M,k,U,p);i.resolve(h)}catch(h){i.reject(h)}},s,e,c,{method:"GET"},t,o,Math.min(Ve,s*2),a)}else i.resolve(u);else if(u.status===300){let c=u.headers.get("Location")||"";if(!c){const p=n.match(/^(.*\/api\/kernels\/[^/?]+)/);c=p?`${p[1]}/input`:""}if(!c){i.reject(new Error(`The kernel asked for an input, and where to send it could not be determined: no Location header, and the polled URL names no kernel (${n}).`));return}c.startsWith(t.baseUrl)||(c=O.URLExt.join(t.baseUrl,c));const{parent_header:_,input_request:w}=await u.json(),m=new Ee;m.addClass("jp-OutputArea-child"),m.addClass("jp-OutputArea-stdin-item");const M=new _e;M.addClass("jp-OutputArea-prompt"),m.addWidget(M);const k=new Re({future:Object.freeze({sendInputReply:(p,h)=>{x.ServerConnection.makeRequest(c,{method:"POST",body:JSON.stringify({input:p.value})},t).catch(b=>{console.error(`Failed to set input to ${JSON.stringify(p)}.`,b)})}}),parent_header:_,password:w.password,prompt:w.prompt,translator:o});k.addClass("jp-OutputArea-output"),m.addWidget(k);const U=k.node.getElementsByTagName("input")[0];k.value.then(p=>{m.addClass("jp-OutputArea-stdin-hiding"),e.outputArea.model.add({output_type:"stream",name:"stdin",text:p+`
1
+ import{ch as I,bh as be,k as x,ce as O,bg as Ee,f1 as _e,f2 as Re,f3 as Ce,r as f,Z as ne,aM as Me,f4 as Ue,j as v,aO as je,aP as qe,aQ as Te,B as Q,aR as Ae,aW as Ne,aX as Oe,b1 as Ie}from"../datalayer-app-main.js";import{u as Le}from"./useProgressTask-DV0x1UbX.js";import{a as De}from"./NotebookToolbar-C1fpK-Vi.js";import{C as Je,a as Pe,N as Be}from"./CellSidebarExtension-CrgdhbHy.js";import"./RepoPushIcon-BtXQRhLa.js";import"./index--Rl4aMiU.js";import"./hoverbox-CStlKQWE.js";import"./NotebookSkeleton-GSdyJDf_.js";import"./Avatar-DUPBQXVt.js";import"./index-5os8HYj-.js";import"./dayjs.min-u3zuoSR8.js";import"./isEqual-DXPB_0fo.js";import"./d3-color-Jd8hXty2.js";import"./renderer-CCsq5PXp.js";import"./SquareIcon-Dy3l3VdH.js";const H="jupyter_server_nbmodel",We=new WeakSet;function $e(e){return We.has(e)}function re(e){const n=e.model.getMetadata(H);return n?.kernelId&&n.requestId&&n.requestUrl?n:void 0}function oe(e,n){e.model.setMetadata(H,n)}function Z(e){e.model.deleteMetadata(H)}function se(e){return(typeof e=="string"?JSON.parse(e):e).reduce((r,t)=>{const o=r[r.length-1];if(t.output_type==="stream"&&o?.output_type==="stream"&&o.name===t.name){const s=Array.isArray(o.text)?o.text.join(""):o.text??"",a=Array.isArray(t.text)?t.text.join(""):t.text??"";o.text=s+a}else r.push(t);return r},[])}function j(e){return Array.isArray(e.text)?e.text.join(""):e.text??""}function Ke(e,n){return e?.output_type==="stream"&&n?.output_type==="stream"&&e.name===n.name&&j(n).startsWith(j(e))}function He(e,n){return e.length>n.length?!1:e.every((r,t)=>I.deepEqual(r,n[t])||t===e.length-1&&Ke(r,n[t]))}function Fe(e,n){const r=Math.min(e.length,n.length);for(let t=0;t<r;t+=1){const o=e[t],s=n[t];if(I.deepEqual(o,s))continue;if(!(o?.output_type==="stream"&&s?.output_type==="stream"&&o.name===s.name))return-1;const i=j(o),u=j(s);if(!u.startsWith(i)&&!i.startsWith(u)||t<r-1)return-1}return r}function Ge(e,n,r){let t=n.length;if(n.length>0&&r.length>=n.length){const o=n.length-1,s=n[o],a=r[o];if(!I.deepEqual(s,a)){const i=j(a).slice(j(s).length);i&&e.outputArea.model.add({...a,text:i})}}for(;t<r.length;)e.outputArea.model.add(r[t]),t+=1}function ae(e,n,r){const t=e.model.sharedModel,o=t.getOutputs();if(I.deepEqual(o,n))return;if(n.length===0){r?.length&&o.length&&e.outputArea.model.clear();return}if(He(n,o))return;console.debug("[jupyter-server-nbmodel] Applying pending output snapshot",{cellId:t.getId(),outputCount:n.length});const s=Fe(o,n);s>=0?Ge(e,o.slice(0,s),n):t.setOutputs(n)}const Ve=1e3;async function ze(e,n,r){let t;try{t=await n.json()}catch{return}if(t.request_id&&t.kernel_id){const a=n.headers.get("Location")??t.request_url;a&&(r.requestUrl=a),a&&r.recoverOutputs&&oe(e,{kernelId:t.kernel_id,requestId:t.request_id,requestUrl:a}),r.accepted||(r.accepted=!0,r.onAccepted?.())}if(t.outputs===void 0||!r.recoverOutputs)return;const o=se(t.outputs),s=r.serverOutputs;r.serverOutputs=o,ae(e,o,s)}async function K(e,n,r,t,o,s=100,a={}){const i=new be;return x.ServerConnection.makeRequest(n,r,t).then(async u=>{if(u.ok)if(u.status===202){await ze(e,u,a);let c=u.headers.get("Location")||a.requestUrl||n;c.startsWith(t.baseUrl)||(c=O.URLExt.join(t.baseUrl,c)),setTimeout(async(_,w,m,M,k,U,p)=>{try{const h=await K(_,w,m,M,k,U,p);i.resolve(h)}catch(h){i.reject(h)}},s,e,c,{method:"GET"},t,o,Math.min(Ve,s*2),a)}else i.resolve(u);else if(u.status===300){let c=u.headers.get("Location")||"";if(!c){const p=n.match(/^(.*\/api\/kernels\/[^/?]+)/);c=p?`${p[1]}/input`:""}if(!c){i.reject(new Error(`The kernel asked for an input, and where to send it could not be determined: no Location header, and the polled URL names no kernel (${n}).`));return}c.startsWith(t.baseUrl)||(c=O.URLExt.join(t.baseUrl,c));const{parent_header:_,input_request:w}=await u.json(),m=new Ee;m.addClass("jp-OutputArea-child"),m.addClass("jp-OutputArea-stdin-item");const M=new _e;M.addClass("jp-OutputArea-prompt"),m.addWidget(M);const k=new Re({future:Object.freeze({sendInputReply:(p,h)=>{x.ServerConnection.makeRequest(c,{method:"POST",body:JSON.stringify({input:p.value})},t).catch(b=>{console.error(`Failed to set input to ${JSON.stringify(p)}.`,b)})}}),parent_header:_,password:w.password,prompt:w.prompt,translator:o});k.addClass("jp-OutputArea-output"),m.addWidget(k);const U=k.node.getElementsByTagName("input")[0];k.value.then(p=>{m.addClass("jp-OutputArea-stdin-hiding"),e.outputArea.model.add({output_type:"stream",name:"stdin",text:p+`
2
2
  `}),U.focus(),window.setTimeout(async()=>{const h=document.activeElement;m.dispose(),h&&h instanceof HTMLElement&&h.focus();try{const b=await K(e,n,r,t,o,100,a);i.resolve(b)}catch(b){i.reject(b)}},500)}),e.outputArea.layout.addWidget(m)}else i.reject(await x.ServerConnection.ResponseError.create(u))}).catch(u=>{i.reject(new x.ServerConnection.NetworkError(u))}),i.promise}async function Xe(e,n,r,t,o,s=100,a,i=!1){return K(e,n,r,t,o,s,{onAccepted:a,recoverOutputs:i})}async function Ye(e,n,r){const t=e.model.sharedModel;t.executionState="running";try{const s=await(await Xe(e,n,{method:"GET"},r,void 0,100,void 0,!0)).json(),a=se(s.outputs??"[]");return ae(e,a),t.execution_count=s.execution_count??null,t.executionState="idle",Z(e),s.status==="ok"}catch(o){if(o instanceof x.ServerConnection.ResponseError&&o.response.status===404)return Z(e),t.executionState="idle",!1;throw o}}const N=new Set;function Qe(e,n){if(e.startsWith(n.baseUrl))return e;const r=e.startsWith("http")?new URL(e).pathname:e;return O.URLExt.join(n.baseUrl,r)}function Ze(e,n){if($e(e))return!1;const r=re(e);if(!r||N.has(r.requestId)||e.isDisposed||!e.model)return!1;N.add(r.requestId);const t=Qe(r.requestUrl,n);return console.info("[agent-runtimes] Resuming a server execution",{cellId:e.model.sharedModel.getId(),requestId:r.requestId,requestUrl:t}),Ye(e,t,n).catch(o=>{if(e.isDisposed){N.delete(r.requestId);return}console.warn(`[agent-runtimes] Failed to resume the execution ${r.requestId}.`,o)}),!0}const $=new Set;async function et(e,n,r){const t=`${r.baseUrl}#${n.id}`;if($.has(t))return 0;const o=await x.ServerConnection.makeRequest(O.URLExt.join(r.baseUrl,`api/kernels/${n.id}/execute`),{method:"GET"},r);if(o.status===404)return $.add(t),0;if(!o.ok)throw await x.ServerConnection.ResponseError.create(o).catch(()=>new Error(`Invalid response: ${o.status} ${o.statusText}`.trim()));$.add(t);const s=await o.json();let a=0;for(const i of s.requests??[]){if(!i.cell_id||N.has(i.request_id))continue;const u=e.find(c=>c.model?.sharedModel.getId()===i.cell_id);!u||u.isDisposed||re(u)||(oe(u,{kernelId:i.kernel_id,requestId:i.request_id,requestUrl:i.request_url}),a+=1)}return a}async function tt(e){if(e.isDisposed)return 0;const n=e.sessionContext?.session?.kernel,r=n?.serverSettings;if(!n||!r)return 0;const t=e.content.widgets.filter(s=>s instanceof Ce);if(t.length===0)return 0;try{await et(t,n,r)}catch(s){console.warn("[agent-runtimes] Failed to discover the active executions of the kernel.",s)}let o=0;for(const s of t)Ze(s,r)&&(o+=1);return o}const ee=1e3,nt=3e4;function rt(e,n){f.useEffect(()=>{if(!e||!n)return;let r=0;const t=()=>{const a=ne.getState().selectNotebook(e)?.adapter?.panel;!a||a.isDisposed||tt(a)};t();const o=window.setInterval(()=>{if(r+=ee,r>=nt){window.clearInterval(o);return}t()},ee);return()=>{window.clearInterval(o)}},[e,n])}const te={cells:[{cell_type:"code",source:[""],metadata:{},outputs:[],execution_count:null}],metadata:{kernelspec:{display_name:"Python 3",language:"python",name:"python3"},language_info:{name:"python"}},nbformat:4,nbformat_minor:5};function ot({inherit:e,colorMode:n,themeConfig:r,children:t}){return e?v.jsx(v.Fragment,{children:t}):v.jsx(Oe,{colorMode:n,theme:r.primerTheme,themeStyles:r.themeStyles,children:t})}function wt({notebookId:e,runtimeName:n,runtimeOverride:r,serviceManager:t,inheritTheme:o=!1,kernelId:s,cellSidebarMargin:a=120,nbformat:i,onNbformatChange:u,toolbarComponent:c,toolbarExtraItems:_,showToolbar:w=!0,showSaveItem:m=!1,themeVariant:M,colorMode:k,collaborationProvider:U}){const p=f.useRef(i??te),h=f.useRef(e);h.current!==e&&(h.current=e,p.current=i??te);const b=p.current,F=f.useRef(JSON.stringify(b)),{runtimes:G,refetchRuntimes:L}=Me(void 0,{enabled:!!String(n||"").trim()&&!t&&!String(r?.baseUrl||"").trim()}),V=f.useMemo(()=>{const l=String(n||"").trim();if(l)return G.find(d=>String(d?.runtime_name||"")===l)},[n,G]),S=f.useMemo(()=>{const l=String(r?.baseUrl||"").trim();return l?{url:l,wsUrl:String(r?.wsUrl||"").trim()||void 0,token:String(r?.token||"").trim(),runtime_name:String(r?.runtimeName||"").trim()||"agent-node-proxy"}:V},[r,V]),z=!!(!r?.baseUrl&&String(n||"").trim()&&!S);f.useEffect(()=>{if(!z)return;L();const l=window.setInterval(()=>{L()},1e3);return()=>{window.clearInterval(l)}},[z,L]);const[ie,D]=f.useState(null),[ue,J]=f.useState(void 0),[le,P]=f.useState(!1);f.useEffect(()=>{let l=!1,d=null,E=null;const y=async()=>{const R=String(S?.url||"").trim();if(!R){l||(D(null),J(void 0),P(!1));return}try{const A=String(S?.token||"").trim(),we=String(S?.wsUrl||"").trim()||R.replace(/^http/,"ws"),ke=x.ServerConnection.makeSettings({baseUrl:R,wsUrl:we,token:A,appendToken:!0}),C=new x.ServiceManager({serverSettings:ke});if(d=C,E=Ne(String(S?.runtime_name||""),d),l){g(C);return}await C.ready,await C.kernels.refreshRunning();const Y=[...C.kernels.running()][0];if(l){g(C);return}D(C),J(Y?.id),P(!Y)}catch(A){d&&(g(d),d=null),l||(console.warn(`[agent-runtimes] Could not reach the sandbox at ${R}.`,A),D(null),J(void 0),P(!1))}},g=R=>{E?.(),E=null,Ie(R)};return y(),()=>{l=!0,d?(g(d),d=null):(E?.(),E=null)}},[S?.runtime_name,S?.url,S?.token,S?.wsUrl]);const q=t??ie,ce=Ue(),de=s??ue,fe=t?!s:le,me=f.useMemo(()=>{if(!w)return;const l=c||De,d=m?void 0:["notebook-save","notebook-divider-file"];return!_?.length&&!d?l:function(y){return v.jsx(l,{...y,extraItems:_,hiddenItems:d})}},[w,m,c,_]),pe=!!((String(n||"").trim()||String(r?.baseUrl||"").trim())&&!q);Le(`ephemeral-notebook-start-${e}`,pe),rt(e,q??void 0),f.useEffect(()=>{if(U)return;const l=()=>{const g=ne.getState().selectNotebook(e)?.adapter;return(g?.notebook?.model??g?.panel?.content?.model??null)?.toJSON?.()??null},d=()=>{const y=l();if(!y||!Array.isArray(y.cells))return;const g=JSON.stringify(y);g!==F.current&&(F.current=g,u?.(y))},E=window.setInterval(d,500);return()=>{window.clearInterval(E),d()}},[q,e,u]);const{colorMode:he,theme:ge}=je(),B=k??he,Se=M??ge,ye=qe(),W=Te(Se),X=B==="auto"?ye:B,T=(X==="dark"?W.themeStyles.dark:W.themeStyles.light).backgroundColor??"",ve=f.useMemo(()=>[new Je({factory:Pe})],[]),xe=f.useMemo(()=>`.datalayer/${e}.ipynb`,[e]);return v.jsx(Q,{flex:1,minHeight:0,height:"100%",position:"relative",overflow:"hidden",bg:"canvas.default",children:q&&ce?v.jsx(ot,{inherit:o,colorMode:B,themeConfig:W,children:v.jsx(Ae,{colormode:X,backgroundColor:T,children:v.jsx(Q,{sx:{position:"absolute",inset:0,display:"flex",flexDirection:"column",overflow:"hidden",overscrollBehaviorY:"contain",overflowAnchor:"none",padding:2,backgroundColor:T,"& #dla-Jupyter-Notebook":{display:"flex",flexDirection:"column"},...w?{"& #dla-Jupyter-Notebook > :first-of-type":{position:"sticky",top:0,zIndex:2,flex:"0 0 auto",backgroundColor:T}}:{"& .datalayer-NotebookPanel-header":{display:"none",minHeight:0}},"& #dla-Jupyter-Notebook > .dla-Box-Notebook":{flex:"1 1 auto",minHeight:0},'& [role="toolbar"][aria-label="Notebook toolbar"]':{backgroundColor:T}},children:v.jsx(Be,{nbformat:b,id:e,path:xe,serviceManager:q,startDefaultKernel:fe,kernelId:de,height:"100%",cellSidebarMargin:a,extensions:ve,Toolbar:me,collaborationProvider:U})})})}):null})}export{wt as EphemeralNotebook,wt as default};
@@ -1 +1 @@
1
- import{r as o,j as p,ab as N,c6 as z,c7 as L,c8 as T,c9 as F,ca as R,I as O,cb as _}from"../datalayer-app-main.js";import{x as U,y as W,z as $,A as M}from"./JupyterLexicalExtension-Dr8dgCst.js";import H from"./ExcalidrawModal-DtdsEiaS.js";import{r as X}from"./percentages-BXMCSKIN-9RttMFHC.js";import{u as J}from"./ThemeContext-D9ztCaU3.js";import"./NotebookSkeleton-GSdyJDf_.js";import"./Avatar-DUPBQXVt.js";import"./url-DY3jeuF8.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./StrikethroughIcon-CbiEuPT-.js";import"./VideoIcon-C3wcjUxu.js";import"./ArrowUpIcon-y5enrVH9.js";import"./SortDescIcon-Qif6E10I.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./PrismCss-c7kvMU60.js";import"./Output-Do1CYRIF.js";import"./index-i9IsP_xD.js";import"./hoverbox-CStlKQWE.js";import"./index--Rl4aMiU.js";import"./index-DrrVr0x3.js";import"./dayjs.min-u3zuoSR8.js";import"./isEqual-DXPB_0fo.js";import"./d3-color-Jd8hXty2.js";import"./dist-Frc5TvpU.js";import"./index-BaRoLDk0.js";import"./RestartIcon-DvpOf5Mf.js";import"./LexicalToolRegistry-rXaW8uXA.js";import"./extends-CF3RwP-h.js";import"./index-BWeXDhSd.js";import"./index-DoBkwclg.js";const P=e=>{const n=e?.firstElementChild?.firstElementChild,g=e.getAttribute("viewBox");if(g!=null){const a=g.split(" ");e.setAttribute("width",a[2]),e.setAttribute("height",a[3])}n&&n.tagName==="style"&&n.remove()};function V({elements:e,files:n,imageContainerRef:g,appState:a,rootClassName:s=null,width:c="inherit",height:C="inherit"}){const[b,S]=o.useState(null),{theme:E}=J(b),[B,u]=o.useState(null),[v,w]=o.useState(0);o.useEffect(()=>{const r=new MutationObserver(x=>{for(const h of x)if(h.type==="attributes"&&(h.attributeName==="style"||h.attributeName==="class")){w(l=>l+1);break}});return r.observe(document.documentElement,{attributes:!0,attributeFilter:["style","class"]}),r.observe(document.body,{attributes:!0,attributeFilter:["style","class"]}),()=>r.disconnect()},[]),o.useEffect(()=>{(async()=>{await new Promise(D=>setTimeout(D,150));const x=["#ffffff","#000000","transparent",""],h=a?.viewBackgroundColor||"transparent",l=x.includes(h.toLowerCase()),A={...a,viewBackgroundColor:l?"transparent":a?.viewBackgroundColor,exportBackground:!l,exportWithDarkMode:E==="dark"},m=await X({appState:A,elements:e,files:n});P(m),m.setAttribute("width","100%"),m.setAttribute("height","100%"),m.setAttribute("display","block"),u(m)})()},[e,n,a,E,v]);const f={};c!=="inherit"&&(f.width=`${c}px`),C!=="inherit"&&(f.height=`${C}px`);const k=a?.viewBackgroundColor||"transparent";if(["#ffffff","#000000","transparent",""].includes(k.toLowerCase())){const r=E==="dark"?"#1e1e1e":"#ffffff";f.backgroundColor=`var(--bgColor-default, var(--jp-layout-color0, var(--vscode-editor-background, ${r})))`}return p.jsx("div",{ref:r=>{S(r),r&&g&&(g.current=r)},className:s??"",style:f,dangerouslySetInnerHTML:{__html:B?.outerHTML??""}})}function At({nodeKey:e,data:n,width:g,height:a}){const[s]=N(),c=U(),[C,b]=o.useState(n==="[]"&&s.isEditable()),S=o.useRef(null),E=o.useRef(null),B=o.useRef(null),[u,v,w]=W(e),[f,k]=o.useState(!1);o.useEffect(()=>{if(!c){u&&w();return}return z(s.registerCommand(L,t=>{const d=E.current,i=t.target;return f?!0:d!==null&&T(i)&&d.contains(i)?(t.shiftKey||w(),v(!u),t.detail>1&&b(!0),!0):!1},F))},[w,s,u,f,v,c]);const j=o.useCallback(()=>(b(!1),s.update(()=>{const t=R(e);t&&t.remove()})),[s,e]),I=(t,d,i)=>s.update(()=>{const y=R(e);M(y)&&(t&&t.length>0||Object.keys(i).length>0?y.setData(JSON.stringify({appState:d,elements:t,files:i})):y.remove())}),r=()=>{k(!0)},x=(t,d)=>{setTimeout(()=>{k(!1)},200),s.update(()=>{const i=R(e);M(i)&&(i.setWidth(t),i.setHeight(d))})},h=o.useCallback(()=>{b(!0)},[]),{elements:l=[],files:A={},appState:m={}}=o.useMemo(()=>JSON.parse(n),[n]),D=o.useCallback(()=>{b(!1),l.length===0&&s.update(()=>{const t=R(e);t&&t.remove()})},[s,e,l.length]);return p.jsxs(p.Fragment,{children:[c&&C&&p.jsx(H,{initialElements:l,initialFiles:A,initialAppState:m,isShown:C,onDelete:j,onClose:D,onSave:(t,d,i)=>{I(t,d,i),b(!1)},closeOnClickOutside:!1}),l.length>0&&p.jsxs("button",{ref:E,className:`excalidraw-button ${u?"selected":""}`,children:[p.jsx(V,{imageContainerRef:S,className:"image",elements:l,files:A,appState:m,width:g,height:a}),u&&c&&p.jsx(O,{icon:_,"aria-label":"Edit the drawing",size:"small",variant:"default",sx:{position:"absolute",top:8,right:8,zIndex:10},onMouseDown:t=>t.preventDefault(),onClick:h}),(u||f)&&c&&p.jsx($,{buttonRef:B,showCaption:!0,setShowCaption:()=>null,imageRef:S,editor:s,onResizeStart:r,onResizeEnd:x})]})]})}export{At as default};
1
+ import{r as o,j as p,ab as N,c6 as z,c7 as L,c8 as T,c9 as F,ca as R,I as O,cb as _}from"../datalayer-app-main.js";import{x as U,y as W,z as $,A as M}from"./JupyterLexicalExtension-BYde4Hzz.js";import H from"./ExcalidrawModal-Ct44VSBv.js";import{r as X}from"./percentages-BXMCSKIN-D1a6fCH1.js";import{u as J}from"./ThemeContext-D9ztCaU3.js";import"./NotebookSkeleton-GSdyJDf_.js";import"./Avatar-DUPBQXVt.js";import"./url-DY3jeuF8.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./StrikethroughIcon-CbiEuPT-.js";import"./VideoIcon-C3wcjUxu.js";import"./ArrowUpIcon-y5enrVH9.js";import"./SortDescIcon-Qif6E10I.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./PrismCss-c7kvMU60.js";import"./Output-BmVt4DpZ.js";import"./index-i9IsP_xD.js";import"./hoverbox-CStlKQWE.js";import"./index--Rl4aMiU.js";import"./index-5os8HYj-.js";import"./dayjs.min-u3zuoSR8.js";import"./isEqual-DXPB_0fo.js";import"./d3-color-Jd8hXty2.js";import"./dist-Frc5TvpU.js";import"./index-BaRoLDk0.js";import"./RestartIcon-DvpOf5Mf.js";import"./LexicalToolRegistry-rXaW8uXA.js";import"./extends-CF3RwP-h.js";import"./index-BWeXDhSd.js";import"./index-DoBkwclg.js";const P=e=>{const n=e?.firstElementChild?.firstElementChild,g=e.getAttribute("viewBox");if(g!=null){const a=g.split(" ");e.setAttribute("width",a[2]),e.setAttribute("height",a[3])}n&&n.tagName==="style"&&n.remove()};function V({elements:e,files:n,imageContainerRef:g,appState:a,rootClassName:s=null,width:c="inherit",height:C="inherit"}){const[b,S]=o.useState(null),{theme:E}=J(b),[B,u]=o.useState(null),[v,w]=o.useState(0);o.useEffect(()=>{const r=new MutationObserver(x=>{for(const h of x)if(h.type==="attributes"&&(h.attributeName==="style"||h.attributeName==="class")){w(l=>l+1);break}});return r.observe(document.documentElement,{attributes:!0,attributeFilter:["style","class"]}),r.observe(document.body,{attributes:!0,attributeFilter:["style","class"]}),()=>r.disconnect()},[]),o.useEffect(()=>{(async()=>{await new Promise(D=>setTimeout(D,150));const x=["#ffffff","#000000","transparent",""],h=a?.viewBackgroundColor||"transparent",l=x.includes(h.toLowerCase()),A={...a,viewBackgroundColor:l?"transparent":a?.viewBackgroundColor,exportBackground:!l,exportWithDarkMode:E==="dark"},m=await X({appState:A,elements:e,files:n});P(m),m.setAttribute("width","100%"),m.setAttribute("height","100%"),m.setAttribute("display","block"),u(m)})()},[e,n,a,E,v]);const f={};c!=="inherit"&&(f.width=`${c}px`),C!=="inherit"&&(f.height=`${C}px`);const k=a?.viewBackgroundColor||"transparent";if(["#ffffff","#000000","transparent",""].includes(k.toLowerCase())){const r=E==="dark"?"#1e1e1e":"#ffffff";f.backgroundColor=`var(--bgColor-default, var(--jp-layout-color0, var(--vscode-editor-background, ${r})))`}return p.jsx("div",{ref:r=>{S(r),r&&g&&(g.current=r)},className:s??"",style:f,dangerouslySetInnerHTML:{__html:B?.outerHTML??""}})}function At({nodeKey:e,data:n,width:g,height:a}){const[s]=N(),c=U(),[C,b]=o.useState(n==="[]"&&s.isEditable()),S=o.useRef(null),E=o.useRef(null),B=o.useRef(null),[u,v,w]=W(e),[f,k]=o.useState(!1);o.useEffect(()=>{if(!c){u&&w();return}return z(s.registerCommand(L,t=>{const d=E.current,i=t.target;return f?!0:d!==null&&T(i)&&d.contains(i)?(t.shiftKey||w(),v(!u),t.detail>1&&b(!0),!0):!1},F))},[w,s,u,f,v,c]);const j=o.useCallback(()=>(b(!1),s.update(()=>{const t=R(e);t&&t.remove()})),[s,e]),I=(t,d,i)=>s.update(()=>{const y=R(e);M(y)&&(t&&t.length>0||Object.keys(i).length>0?y.setData(JSON.stringify({appState:d,elements:t,files:i})):y.remove())}),r=()=>{k(!0)},x=(t,d)=>{setTimeout(()=>{k(!1)},200),s.update(()=>{const i=R(e);M(i)&&(i.setWidth(t),i.setHeight(d))})},h=o.useCallback(()=>{b(!0)},[]),{elements:l=[],files:A={},appState:m={}}=o.useMemo(()=>JSON.parse(n),[n]),D=o.useCallback(()=>{b(!1),l.length===0&&s.update(()=>{const t=R(e);t&&t.remove()})},[s,e,l.length]);return p.jsxs(p.Fragment,{children:[c&&C&&p.jsx(H,{initialElements:l,initialFiles:A,initialAppState:m,isShown:C,onDelete:j,onClose:D,onSave:(t,d,i)=>{I(t,d,i),b(!1)},closeOnClickOutside:!1}),l.length>0&&p.jsxs("button",{ref:E,className:`excalidraw-button ${u?"selected":""}`,children:[p.jsx(V,{imageContainerRef:S,className:"image",elements:l,files:A,appState:m,width:g,height:a}),u&&c&&p.jsx(O,{icon:_,"aria-label":"Edit the drawing",size:"small",variant:"default",sx:{position:"absolute",top:8,right:8,zIndex:10},onMouseDown:t=>t.preventDefault(),onClick:h}),(u||f)&&c&&p.jsx($,{buttonRef:B,showCaption:!0,setShowCaption:()=>null,imageRef:S,editor:s,onResizeStart:r,onResizeEnd:x})]})]})}export{At as default};
@@ -1 +1 @@
1
- import{r as t,j as o,D as u,bx as h,v as f}from"../datalayer-app-main.js";import{I as T}from"./percentages-BXMCSKIN-9RttMFHC.js";import{u as z}from"./ThemeContext-D9ztCaU3.js";import"./JupyterLexicalExtension-Dr8dgCst.js";import"./NotebookSkeleton-GSdyJDf_.js";import"./Avatar-DUPBQXVt.js";import"./url-DY3jeuF8.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./StrikethroughIcon-CbiEuPT-.js";import"./VideoIcon-C3wcjUxu.js";import"./ArrowUpIcon-y5enrVH9.js";import"./SortDescIcon-Qif6E10I.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./PrismCss-c7kvMU60.js";import"./Output-Do1CYRIF.js";import"./index-i9IsP_xD.js";import"./hoverbox-CStlKQWE.js";import"./index--Rl4aMiU.js";import"./index-DrrVr0x3.js";import"./dayjs.min-u3zuoSR8.js";import"./isEqual-DXPB_0fo.js";import"./d3-color-Jd8hXty2.js";import"./dist-Frc5TvpU.js";import"./index-BaRoLDk0.js";import"./RestartIcon-DvpOf5Mf.js";import"./LexicalToolRegistry-rXaW8uXA.js";import"./extends-CF3RwP-h.js";import"./index-BWeXDhSd.js";import"./index-DoBkwclg.js";function ce({closeOnClickOutside:I=!1,onSave:x,initialElements:l,initialAppState:g,initialFiles:d,isShown:n=!1,onDelete:v,onClose:c}){const[w,C]=t.useState(null),{theme:b}=z(w),m=t.useRef(null),E=t.useCallback(e=>{m.current=e,C(e)},[]),[r,k]=t.useState(null),[j,i]=t.useState(!1),[p,M]=t.useState(l),[D,S]=t.useState(d);t.useEffect(()=>{m.current?.focus()},[]),t.useEffect(()=>{if(!r||!n)return;const e=()=>r.refresh(),a=requestAnimationFrame(e),s=setTimeout(e,300);return window.addEventListener("resize",e),()=>{cancelAnimationFrame(a),clearTimeout(s),window.removeEventListener("resize",e)}},[r,n]);const A=()=>{if(p?.some(e=>!e.isDeleted)){const e=r?.getAppState(),a={exportBackground:e?.exportBackground,exportScale:e?.exportScale,exportWithDarkMode:e?.theme==="dark",isBindingEnabled:e?.isBindingEnabled,isLoading:e?.isLoading,name:e?.name,theme:e?.theme,viewBackgroundColor:e?.viewBackgroundColor,viewModeEnabled:e?.viewModeEnabled,zenModeEnabled:e?.zenModeEnabled,zoom:e?.zoom};x(p,a,D)}else v()},B=()=>{i(!0)};if(n===!1)return null;const y=(e,a,s)=>{M(e),S(s)};return o.jsxs(o.Fragment,{children:[o.jsxs(u,{title:"Excalidraw",onClose:()=>c(),width:"xlarge",height:"auto",sx:{width:"80vw !important",maxWidth:"80vw !important",height:"80vh !important",maxHeight:"80vh !important"},children:[o.jsx(h,{ref:E,tabIndex:-1,sx:{height:"calc(80vh - 140px)",position:"relative",overflow:"hidden"},children:o.jsx(T,{onChange:y,excalidrawAPI:e=>k(e),initialData:{appState:g||{isLoading:!1},elements:l,files:d},theme:b})}),o.jsxs(h,{sx:{display:"flex",gap:2,justifyContent:"flex-end",p:2,borderTop:"1px solid",borderColor:"var(--borderColor-default)"},children:[o.jsx(f,{variant:"invisible",onClick:B,children:"Discard"}),o.jsx(f,{variant:"primary",onClick:A,children:"Save"})]})]}),j&&o.jsx(u,{title:"Discard",onClose:()=>i(!1),width:"small",height:"auto",footerButtons:[{buttonType:"danger",content:"Discard",onClick:()=>{i(!1),c()}},{buttonType:"default",content:"Cancel",onClick:()=>i(!1)}],children:"Are you sure you want to discard the changes?"})]})}export{ce as default};
1
+ import{r as t,j as o,D as u,bx as h,v as f}from"../datalayer-app-main.js";import{I as T}from"./percentages-BXMCSKIN-D1a6fCH1.js";import{u as z}from"./ThemeContext-D9ztCaU3.js";import"./JupyterLexicalExtension-BYde4Hzz.js";import"./NotebookSkeleton-GSdyJDf_.js";import"./Avatar-DUPBQXVt.js";import"./url-DY3jeuF8.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./StrikethroughIcon-CbiEuPT-.js";import"./VideoIcon-C3wcjUxu.js";import"./ArrowUpIcon-y5enrVH9.js";import"./SortDescIcon-Qif6E10I.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./PrismCss-c7kvMU60.js";import"./Output-BmVt4DpZ.js";import"./index-i9IsP_xD.js";import"./hoverbox-CStlKQWE.js";import"./index--Rl4aMiU.js";import"./index-5os8HYj-.js";import"./dayjs.min-u3zuoSR8.js";import"./isEqual-DXPB_0fo.js";import"./d3-color-Jd8hXty2.js";import"./dist-Frc5TvpU.js";import"./index-BaRoLDk0.js";import"./RestartIcon-DvpOf5Mf.js";import"./LexicalToolRegistry-rXaW8uXA.js";import"./extends-CF3RwP-h.js";import"./index-BWeXDhSd.js";import"./index-DoBkwclg.js";function ce({closeOnClickOutside:I=!1,onSave:x,initialElements:l,initialAppState:g,initialFiles:d,isShown:n=!1,onDelete:v,onClose:c}){const[w,C]=t.useState(null),{theme:b}=z(w),m=t.useRef(null),E=t.useCallback(e=>{m.current=e,C(e)},[]),[r,k]=t.useState(null),[j,i]=t.useState(!1),[p,M]=t.useState(l),[D,S]=t.useState(d);t.useEffect(()=>{m.current?.focus()},[]),t.useEffect(()=>{if(!r||!n)return;const e=()=>r.refresh(),a=requestAnimationFrame(e),s=setTimeout(e,300);return window.addEventListener("resize",e),()=>{cancelAnimationFrame(a),clearTimeout(s),window.removeEventListener("resize",e)}},[r,n]);const A=()=>{if(p?.some(e=>!e.isDeleted)){const e=r?.getAppState(),a={exportBackground:e?.exportBackground,exportScale:e?.exportScale,exportWithDarkMode:e?.theme==="dark",isBindingEnabled:e?.isBindingEnabled,isLoading:e?.isLoading,name:e?.name,theme:e?.theme,viewBackgroundColor:e?.viewBackgroundColor,viewModeEnabled:e?.viewModeEnabled,zenModeEnabled:e?.zenModeEnabled,zoom:e?.zoom};x(p,a,D)}else v()},B=()=>{i(!0)};if(n===!1)return null;const y=(e,a,s)=>{M(e),S(s)};return o.jsxs(o.Fragment,{children:[o.jsxs(u,{title:"Excalidraw",onClose:()=>c(),width:"xlarge",height:"auto",sx:{width:"80vw !important",maxWidth:"80vw !important",height:"80vh !important",maxHeight:"80vh !important"},children:[o.jsx(h,{ref:E,tabIndex:-1,sx:{height:"calc(80vh - 140px)",position:"relative",overflow:"hidden"},children:o.jsx(T,{onChange:y,excalidrawAPI:e=>k(e),initialData:{appState:g||{isLoading:!1},elements:l,files:d},theme:b})}),o.jsxs(h,{sx:{display:"flex",gap:2,justifyContent:"flex-end",p:2,borderTop:"1px solid",borderColor:"var(--borderColor-default)"},children:[o.jsx(f,{variant:"invisible",onClick:B,children:"Discard"}),o.jsx(f,{variant:"primary",onClick:A,children:"Save"})]})]}),j&&o.jsx(u,{title:"Discard",onClose:()=>i(!1),width:"small",height:"auto",footerButtons:[{buttonType:"danger",content:"Discard",onClick:()=>{i(!1),c()}},{buttonType:"default",content:"Cancel",onClick:()=>i(!1)}],children:"Are you sure you want to discard the changes?"})]})}export{ce as default};