@band-app/server 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{DockviewTerminalContainer-B_d7xICn.js → DockviewTerminalContainer-B6ls12RP.js} +2 -2
- package/dist/client/assets/{TerminalPanel-DMsYxEdX.js → TerminalPanel-CTjPLr1l.js} +1 -1
- package/dist/client/assets/{_basePickBy-CGUp_yxK.js → _basePickBy-D4ggI4i0.js} +1 -1
- package/dist/client/assets/{_baseUniq-Dw6GHoL9.js → _baseUniq-E0-L58sh.js} +1 -1
- package/dist/client/assets/{arc-XlfWbXyq.js → arc-Cd0JgGvM.js} +1 -1
- package/dist/client/assets/{architectureDiagram-VXUJARFQ-DrbWYU6-.js → architectureDiagram-VXUJARFQ-BngJQDkI.js} +1 -1
- package/dist/client/assets/{blockDiagram-VD42YOAC-CnGWSi-4.js → blockDiagram-VD42YOAC-dcYRXfph.js} +1 -1
- package/dist/client/assets/{c4Diagram-YG6GDRKO-XgYkwrO4.js → c4Diagram-YG6GDRKO-B_8XfvfL.js} +1 -1
- package/dist/client/assets/channel-BN9rr7kd.js +1 -0
- package/dist/client/assets/{chunk-4BX2VUAB-Bni0jj5l.js → chunk-4BX2VUAB-CFd2iELe.js} +1 -1
- package/dist/client/assets/{chunk-55IACEB6-CP2DHV4G.js → chunk-55IACEB6-ZI-o1tfy.js} +1 -1
- package/dist/client/assets/{chunk-B4BG7PRW-LorOGQCt.js → chunk-B4BG7PRW-GcKh0u0t.js} +1 -1
- package/dist/client/assets/{chunk-DI55MBZ5-BGfyRUcq.js → chunk-DI55MBZ5-asFoohq8.js} +1 -1
- package/dist/client/assets/{chunk-FMBD7UC4-DSwbm1gv.js → chunk-FMBD7UC4-GmvgLSQe.js} +1 -1
- package/dist/client/assets/{chunk-QN33PNHL-EtPi_Ji9.js → chunk-QN33PNHL-CbSPviK8.js} +1 -1
- package/dist/client/assets/{chunk-QZHKN3VN-DO6tEA7r.js → chunk-QZHKN3VN-C5_8IhWQ.js} +1 -1
- package/dist/client/assets/{chunk-TZMSLE5B-Nj40qaVe.js → chunk-TZMSLE5B-CvwKA6rf.js} +1 -1
- package/dist/client/assets/classDiagram-2ON5EDUG-f-3sWSXi.js +1 -0
- package/dist/client/assets/classDiagram-v2-WZHVMYZB-f-3sWSXi.js +1 -0
- package/dist/client/assets/clone-DyjKoDMl.js +1 -0
- package/dist/client/assets/{cose-bilkent-S5V4N54A-ak82Fzvq.js → cose-bilkent-S5V4N54A-CFOKjm00.js} +1 -1
- package/dist/client/assets/{dagre-6UL2VRFP-BhRq81p8.js → dagre-6UL2VRFP-XkiKAfAP.js} +1 -1
- package/dist/client/assets/{diagram-PSM6KHXK-CdCO4ElG.js → diagram-PSM6KHXK-D7OJGDF1.js} +1 -1
- package/dist/client/assets/{diagram-QEK2KX5R-ZTP_AdCr.js → diagram-QEK2KX5R-CNDqB5ur.js} +1 -1
- package/dist/client/assets/{diagram-S2PKOQOG-CUwvj0ij.js → diagram-S2PKOQOG-DHWhfYWy.js} +1 -1
- package/dist/client/assets/{erDiagram-Q2GNP2WA-_TAh-IWD.js → erDiagram-Q2GNP2WA-DlhzEgw7.js} +1 -1
- package/dist/client/assets/{flowDiagram-NV44I4VS-BuwDJSn1.js → flowDiagram-NV44I4VS-BabYr6zd.js} +1 -1
- package/dist/client/assets/{ganttDiagram-JELNMOA3-B7yQG2sO.js → ganttDiagram-JELNMOA3-CUHxh1TA.js} +1 -1
- package/dist/client/assets/{gitGraphDiagram-V2S2FVAM-BO5T-8Lr.js → gitGraphDiagram-V2S2FVAM-DSDd-EJ_.js} +1 -1
- package/dist/client/assets/{graph-D-uGD-0H.js → graph-DXNVnA6H.js} +1 -1
- package/dist/client/assets/{highlighted-body-B3W2YXNL-BhBwg9zK.js → highlighted-body-B3W2YXNL-B79dTSwx.js} +1 -1
- package/dist/client/assets/{index-C9CkZeNx.js → index-4srNURyv.js} +1 -1
- package/dist/client/assets/{index-CQ8y5zr7.js → index-5jOljAlc.js} +1 -1
- package/dist/client/assets/{index-DZeEuAVf.js → index-BNkxX-BD.js} +1 -1
- package/dist/client/assets/{index-BCvOU1J9.js → index-BQU-JREs.js} +1 -1
- package/dist/client/assets/{index-B9YuCMCp.js → index-BVLYlk0y.js} +1 -1
- package/dist/client/assets/{index-CxT2NPzl.js → index-BqDdB0tU.js} +1 -1
- package/dist/client/assets/{index-ei6PilZv.js → index-Bvony7H7.js} +1 -1
- package/dist/client/assets/{index-DB_ThGxo.js → index-CPo0kKmX.js} +1 -1
- package/dist/client/assets/{index-Qgt9bjPe.js → index-CTR_yHqa.js} +1 -1
- package/dist/client/assets/{index-Go-0lxNN.js → index-CjixM2mV.js} +1 -1
- package/dist/client/assets/{index-CvA0I31h.js → index-Cu2rqq8f.js} +1 -1
- package/dist/client/assets/{index-P603ebp4.js → index-D-7FXjIA.js} +1 -1
- package/dist/client/assets/{index-DiaEWqnN.js → index-DRS8jN52.js} +1 -1
- package/dist/client/assets/{index-B1UdfbJU.js → index-DktZbpGM.js} +1 -1
- package/dist/client/assets/{index-BMvH6RWO.js → index-DutxFSic.js} +1 -1
- package/dist/client/assets/{index-DxHeWcH9.js → index-EdY6fqdn.js} +1 -1
- package/dist/client/assets/{index-CJMoNto1.js → index-_J9aGl-d.js} +1 -1
- package/dist/client/assets/{index-DyXCT17y.js → index-okqFBuO9.js} +1 -1
- package/dist/client/assets/{infoDiagram-HS3SLOUP-CXG0VFXc.js → infoDiagram-HS3SLOUP-tDVIKvh1.js} +1 -1
- package/dist/client/assets/{journeyDiagram-XKPGCS4Q-DHFwgvUa.js → journeyDiagram-XKPGCS4Q-cFY68TOP.js} +1 -1
- package/dist/client/assets/{kanban-definition-3W4ZIXB7-Dz5WwtmO.js → kanban-definition-3W4ZIXB7-CTQ8WBzj.js} +1 -1
- package/dist/client/assets/{layout-Br-A41yG.js → layout-BDsby01A.js} +1 -1
- package/dist/client/assets/{linear-eN-Z_k3e.js → linear-B321DwjU.js} +1 -1
- package/dist/client/assets/main-7lUOPiu0.css +1 -0
- package/dist/client/assets/{main-CfXjc_JR.js → main-gKX_m5Ko.js} +261 -261
- package/dist/client/assets/{mindmap-definition-VGOIOE7T-KtSITXQp.js → mindmap-definition-VGOIOE7T-CMbXBgve.js} +1 -1
- package/dist/client/assets/{pieDiagram-ADFJNKIX-BQmo4537.js → pieDiagram-ADFJNKIX-pTHsfneI.js} +1 -1
- package/dist/client/assets/{quadrantDiagram-AYHSOK5B-Cftd-sa5.js → quadrantDiagram-AYHSOK5B-DNGhzaPi.js} +1 -1
- package/dist/client/assets/{requirementDiagram-UZGBJVZJ-Cbad3gPG.js → requirementDiagram-UZGBJVZJ-E5dChVU-.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-TZEHDZUN-CT0Fvveb.js → sankeyDiagram-TZEHDZUN-B858cwBV.js} +1 -1
- package/dist/client/assets/{sequenceDiagram-WL72ISMW-D_VHvSKc.js → sequenceDiagram-WL72ISMW-Clbop1Lh.js} +1 -1
- package/dist/client/assets/{square-terminal-BIHVvHoK.js → square-terminal-zBRLwN9m.js} +1 -1
- package/dist/client/assets/{stateDiagram-FKZM4ZOC-BXtCQjOy.js → stateDiagram-FKZM4ZOC-BRIoi38Z.js} +1 -1
- package/dist/client/assets/stateDiagram-v2-4FDKWEC3-BXdrXPzW.js +1 -0
- package/dist/client/assets/{timeline-definition-IT6M3QCI-DG4t2xHw.js → timeline-definition-IT6M3QCI-C26dPldo.js} +1 -1
- package/dist/client/assets/{treemap-GDKQZRPO-DQP5MG32.js → treemap-GDKQZRPO-l9jcKCpW.js} +1 -1
- package/dist/client/assets/{useSessionListContext-CbzNRAeC.js → useSessionListContext-MLsp0tQx.js} +1 -1
- package/dist/client/assets/{workspace._workspaceId-BlPtc664.js → workspace._workspaceId-CKxw1xn1.js} +1 -1
- package/dist/client/assets/{workspace._workspaceId.changes-C0w9GX6M.js → workspace._workspaceId.changes-sSj8FhGC.js} +1 -1
- package/dist/client/assets/workspace._workspaceId.code-CTG7u893.js +1 -0
- package/dist/client/assets/{workspace._workspaceId.code._-BlXLI8oa.js → workspace._workspaceId.code._-BVzwjj6w.js} +1 -1
- package/dist/client/assets/{workspace._workspaceId.code.index-C-ai4qSV.js → workspace._workspaceId.code.index-V90FWX2z.js} +1 -1
- package/dist/client/assets/{workspace._workspaceId.index-B4ICOQa_.js → workspace._workspaceId.index-Cczg6N56.js} +1 -1
- package/dist/client/assets/{workspace._workspaceId.terminal-twItT7MS.js → workspace._workspaceId.terminal-CFJVgZLo.js} +2 -2
- package/dist/client/assets/{xychartDiagram-PRI3JC2R-B3wc6a3i.js → xychartDiagram-PRI3JC2R-Cwsp2BWQ.js} +1 -1
- package/dist/migrations/20260513141710_browser_history/migration.sql +12 -0
- package/dist/migrations/20260513141710_browser_history/snapshot.json +846 -0
- package/dist/server/assets/{DockviewTerminalContainer-C08cAuxR.js → DockviewTerminalContainer-B5lZSZ8Y.js} +3 -3
- package/dist/server/assets/{TerminalPanel-CDMb43XN.js → TerminalPanel-_8vdN94i.js} +1 -1
- package/dist/server/assets/{_basePickBy-sZPuo3Ci.js → _basePickBy-CD1u5dYZ.js} +2 -2
- package/dist/server/assets/{_baseUniq-AWKOFGZz.js → _baseUniq-BdmRs4hY.js} +1 -1
- package/dist/server/assets/{_tanstack-start-manifest_v-BxDrbOKJ.js → _tanstack-start-manifest_v-D4xipytj.js} +1 -1
- package/dist/server/assets/{arc-BHB8CdVw.js → arc-CbjxAGh2.js} +1 -1
- package/dist/server/assets/{architecture-7HQA4BMR-CegM3zV0.js → architecture-7HQA4BMR-PvoHywyl.js} +6 -6
- package/dist/server/assets/{architectureDiagram-VXUJARFQ-C0Hc_lzz.js → architectureDiagram-VXUJARFQ-CYVR-HeO.js} +6 -6
- package/dist/server/assets/{blockDiagram-VD42YOAC-CGmRuJNx.js → blockDiagram-VD42YOAC-oFwYjSKc.js} +6 -6
- package/dist/server/assets/{c4Diagram-YG6GDRKO-45kx6aRF.js → c4Diagram-YG6GDRKO-BRcTuK4Y.js} +2 -2
- package/dist/server/assets/{channel-YRi2PtmI.js → channel-DkpUIvTk.js} +1 -1
- package/dist/server/assets/{chunk-4BX2VUAB-CdQZhoNV.js → chunk-4BX2VUAB-Db1P5ZKT.js} +1 -1
- package/dist/server/assets/{chunk-55IACEB6-3Guaa5mF.js → chunk-55IACEB6-CgF3c_s9.js} +1 -1
- package/dist/server/assets/{chunk-B4BG7PRW-crikL5R-.js → chunk-B4BG7PRW-C4lPp_gR.js} +4 -4
- package/dist/server/assets/{chunk-DI55MBZ5-cdG5TMcl.js → chunk-DI55MBZ5-DBc5FE0O.js} +3 -3
- package/dist/server/assets/{chunk-FMBD7UC4-BfJRchHH.js → chunk-FMBD7UC4-BmyVhHTD.js} +1 -1
- package/dist/server/assets/{chunk-QN33PNHL--Lwmy-qD.js → chunk-QN33PNHL-MEMc-HV1.js} +1 -1
- package/dist/server/assets/{chunk-QZHKN3VN-BjRv3GOJ.js → chunk-QZHKN3VN-D0s55-ob.js} +1 -1
- package/dist/server/assets/{chunk-TZMSLE5B-H_DXTbB4.js → chunk-TZMSLE5B-CHLAtcyP.js} +1 -1
- package/dist/server/assets/{classDiagram-v2-WZHVMYZB-89eor2RH.js → classDiagram-2ON5EDUG-D_KqC8CP.js} +5 -5
- package/dist/server/assets/{classDiagram-2ON5EDUG-89eor2RH.js → classDiagram-v2-WZHVMYZB-D_KqC8CP.js} +5 -5
- package/dist/server/assets/{clone-ehRaGIPL.js → clone-pAcegSV_.js} +1 -1
- package/dist/server/assets/{cose-bilkent-S5V4N54A-CaxWP-ls.js → cose-bilkent-S5V4N54A-I5bimXZO.js} +1 -1
- package/dist/server/assets/{dagre-6UL2VRFP-nML2GoFm.js → dagre-6UL2VRFP-BFEXHp44.js} +6 -6
- package/dist/server/assets/{diagram-PSM6KHXK-DNGTWSIt.js → diagram-PSM6KHXK-B4UG8ra3.js} +7 -7
- package/dist/server/assets/{diagram-QEK2KX5R-v8VJEGaP.js → diagram-QEK2KX5R-B65vkBbU.js} +6 -6
- package/dist/server/assets/{diagram-S2PKOQOG-BaL9LGkK.js → diagram-S2PKOQOG-DUV65VxH.js} +6 -6
- package/dist/server/assets/{erDiagram-Q2GNP2WA-D8492WtW.js → erDiagram-Q2GNP2WA-eEKIOvT3.js} +4 -4
- package/dist/server/assets/{flowDiagram-NV44I4VS-9EzGsZaT.js → flowDiagram-NV44I4VS-B0GxfKRu.js} +5 -5
- package/dist/server/assets/{ganttDiagram-JELNMOA3-DXT8NWPe.js → ganttDiagram-JELNMOA3-etJ_j_I0.js} +2 -2
- package/dist/server/assets/{gitGraph-G5XIXVHT-Bz8_hJ5u.js → gitGraph-G5XIXVHT-DE59sCs-.js} +6 -6
- package/dist/server/assets/{gitGraphDiagram-V2S2FVAM-CnBNPMun.js → gitGraphDiagram-V2S2FVAM-BZuXPjR3.js} +7 -7
- package/dist/server/assets/{graph-CkD4QR_J.js → graph-HlbQNgKh.js} +2 -2
- package/dist/server/assets/{highlighted-body-B3W2YXNL-Cx9TQQOi.js → highlighted-body-B3W2YXNL-CGZmJ48I.js} +1 -1
- package/dist/server/assets/{index-Ys57JqHp.js → index-0Vp2EuiF.js} +3 -3
- package/dist/server/assets/{index-DRuNJuxv.js → index-B2NbB5n_.js} +2 -2
- package/dist/server/assets/{index-BnbsIRq2.js → index-BYATJkV0.js} +1 -1
- package/dist/server/assets/{index-Du0s-OSL.js → index-B_gLaw5q.js} +5 -5
- package/dist/server/assets/{index-Cuzbefg5.js → index-BggD7xEz.js} +2 -2
- package/dist/server/assets/{index-frDhjK4t.js → index-BquoD96E.js} +2 -2
- package/dist/server/assets/{index-ip3CXBin.js → index-CReShbyg.js} +2 -2
- package/dist/server/assets/{index-D-gmsExo.js → index-CcRwhNJ0.js} +3 -3
- package/dist/server/assets/{index-Dl8jeLrk.js → index-CozxyE6F.js} +2 -2
- package/dist/server/assets/{index-C4UsgNUp.js → index-Cq-S8ocb.js} +1 -1
- package/dist/server/assets/{index-Di60ebJg.js → index-CqJMMgyN.js} +2 -2
- package/dist/server/assets/{index-BIGELKaL.js → index-DVIqYu1B.js} +5 -5
- package/dist/server/assets/{index-CaMi2wJ-.js → index-DfuZ1SKx.js} +2 -2
- package/dist/server/assets/{index-D0EeXiux.js → index-DoEmUqp6.js} +2 -2
- package/dist/server/assets/{index-CYaseS8g.js → index-DsW29Azb.js} +4 -4
- package/dist/server/assets/{index-CURBmg8q.js → index-KO85K6gg.js} +2 -2
- package/dist/server/assets/{index-DefaG_Jr.js → index-kEUC1eer.js} +2 -2
- package/dist/server/assets/{index-dHlIt0bs.js → index-oAvn7Kbw.js} +2 -2
- package/dist/server/assets/{info-VBDWY6EO-Cn3hNsdX.js → info-VBDWY6EO-DFb5bmEE.js} +6 -6
- package/dist/server/assets/{infoDiagram-HS3SLOUP-7CfAt4Uh.js → infoDiagram-HS3SLOUP-DUDXdFYe.js} +5 -5
- package/dist/server/assets/{journeyDiagram-XKPGCS4Q-BSONqKAA.js → journeyDiagram-XKPGCS4Q-BnEH3kK2.js} +4 -4
- package/dist/server/assets/{kanban-definition-3W4ZIXB7-D6yZMd8l.js → kanban-definition-3W4ZIXB7-BPnM08KT.js} +2 -2
- package/dist/server/assets/{layout-mg-BM0ah.js → layout-CnirhobE.js} +4 -4
- package/dist/server/assets/{linear-BMOZWebZ.js → linear-CLJDiqhJ.js} +1 -1
- package/dist/server/assets/{mermaid-3ZIDBTTL-BaXUHzN6.js → mermaid-3ZIDBTTL-Dyndt6u2.js} +1 -1
- package/dist/server/assets/{mermaid-parser.core-rzveH7k9.js → mermaid-parser.core-DxDjr9RA.js} +11 -11
- package/dist/server/assets/{mindmap-definition-VGOIOE7T-BWCUtjdH.js → mindmap-definition-VGOIOE7T-CPnGCXl9.js} +3 -3
- package/dist/server/assets/{packet-DYOGHKS2-YNVTDtvn.js → packet-DYOGHKS2-Bt7VjiqG.js} +6 -6
- package/dist/server/assets/{pie-VRWISCQL-CUd-HhbY.js → pie-VRWISCQL-CpD4BgbA.js} +6 -6
- package/dist/server/assets/{pieDiagram-ADFJNKIX-Cn9i98AK.js → pieDiagram-ADFJNKIX-BSx8zl8i.js} +7 -7
- package/dist/server/assets/{quadrantDiagram-AYHSOK5B-BIqkmSwk.js → quadrantDiagram-AYHSOK5B-B08pRdHD.js} +2 -2
- package/dist/server/assets/{radar-ZZBFDIW7-Bp2wUTqp.js → radar-ZZBFDIW7-BeHVWQbv.js} +6 -6
- package/dist/server/assets/{requirementDiagram-UZGBJVZJ-DCovbx84.js → requirementDiagram-UZGBJVZJ-BtjVtNFU.js} +3 -3
- package/dist/server/assets/{router-BJ9AnId-.js → router-VlIt4cC5.js} +727 -180
- package/dist/server/assets/{sankeyDiagram-TZEHDZUN-D235svhJ.js → sankeyDiagram-TZEHDZUN-CG6DECc6.js} +1 -1
- package/dist/server/assets/{sequenceDiagram-WL72ISMW-BkT1dO7h.js → sequenceDiagram-WL72ISMW-DEfVJQli.js} +3 -3
- package/dist/server/assets/{square-terminal-CmcrJjAr.js → square-terminal-DTO02O7S.js} +1 -1
- package/dist/server/assets/{stateDiagram-FKZM4ZOC-BJ70j0rR.js → stateDiagram-FKZM4ZOC-DblYyAIC.js} +8 -8
- package/dist/server/assets/{stateDiagram-v2-4FDKWEC3-ju1h0Bq1.js → stateDiagram-v2-4FDKWEC3-YhMCeOsH.js} +4 -4
- package/dist/server/assets/{timeline-definition-IT6M3QCI-C3FJ_HU6.js → timeline-definition-IT6M3QCI-CDEJSclA.js} +2 -2
- package/dist/server/assets/{treemap-GDKQZRPO-DvhWVE_G.js → treemap-GDKQZRPO-Tg2S6NSt.js} +6 -6
- package/dist/server/assets/{workspace._workspaceId-Dzw4IQZA.js → workspace._workspaceId-CVnwrhnX.js} +2 -2
- package/dist/server/assets/{workspace._workspaceId.changes-XtB3brY5.js → workspace._workspaceId.changes-CsJMr9Ve.js} +1 -1
- package/dist/server/assets/{workspace._workspaceId.code._-Ta-O6sWR.js → workspace._workspaceId.code._-CjSLVs7D.js} +1 -1
- package/dist/server/assets/{workspace._workspaceId.code.index-snQLg3f2.js → workspace._workspaceId.code.index-BhUZuUX-.js} +1 -1
- package/dist/server/assets/{workspace._workspaceId.index-BSnuZ0EI.js → workspace._workspaceId.index-CmBIxfCl.js} +1 -1
- package/dist/server/assets/{workspace._workspaceId.terminal-D3jJ3XMV.js → workspace._workspaceId.terminal-BehWU5SY.js} +2 -2
- package/dist/server/assets/{xychartDiagram-PRI3JC2R-BRlE_l5B.js → xychartDiagram-PRI3JC2R-DAT7FXvH.js} +2 -2
- package/dist/server/server.js +2 -2
- package/dist/start-server.mjs +681 -274
- package/package.json +5 -5
- package/dist/client/assets/channel-C4hzzilT.js +0 -1
- package/dist/client/assets/classDiagram-2ON5EDUG-D7Wwq-uf.js +0 -1
- package/dist/client/assets/classDiagram-v2-WZHVMYZB-D7Wwq-uf.js +0 -1
- package/dist/client/assets/clone-CRqkC7J9.js +0 -1
- package/dist/client/assets/main-F2T48yRI.css +0 -1
- package/dist/client/assets/stateDiagram-v2-4FDKWEC3--e7abZtM.js +0 -1
- package/dist/client/assets/workspace._workspaceId.code-B2x2c1r3.js +0 -1
|
@@ -1093,44 +1093,44 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
1093
1093
|
Component.displayName = toPascalCase(iconName);
|
|
1094
1094
|
return Component;
|
|
1095
1095
|
};
|
|
1096
|
-
const __iconNode$
|
|
1096
|
+
const __iconNode$1w = [
|
|
1097
1097
|
["path", { d: "M12 17V3", key: "1cwfxf" }],
|
|
1098
1098
|
["path", { d: "m6 11 6 6 6-6", key: "12ii2o" }],
|
|
1099
1099
|
["path", { d: "M19 21H5", key: "150jfl" }]
|
|
1100
1100
|
];
|
|
1101
|
-
const ArrowDownToLine = createLucideIcon("arrow-down-to-line", __iconNode$
|
|
1102
|
-
const __iconNode$
|
|
1101
|
+
const ArrowDownToLine = createLucideIcon("arrow-down-to-line", __iconNode$1w);
|
|
1102
|
+
const __iconNode$1v = [
|
|
1103
1103
|
["path", { d: "M12 5v14", key: "s699le" }],
|
|
1104
1104
|
["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
|
|
1105
1105
|
];
|
|
1106
|
-
const ArrowDown = createLucideIcon("arrow-down", __iconNode$
|
|
1107
|
-
const __iconNode$
|
|
1106
|
+
const ArrowDown = createLucideIcon("arrow-down", __iconNode$1v);
|
|
1107
|
+
const __iconNode$1u = [
|
|
1108
1108
|
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
1109
1109
|
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
1110
1110
|
];
|
|
1111
|
-
const ArrowLeft = createLucideIcon("arrow-left", __iconNode$
|
|
1112
|
-
const __iconNode$
|
|
1111
|
+
const ArrowLeft = createLucideIcon("arrow-left", __iconNode$1u);
|
|
1112
|
+
const __iconNode$1t = [
|
|
1113
1113
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
1114
1114
|
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
1115
1115
|
];
|
|
1116
|
-
const ArrowRight = createLucideIcon("arrow-right", __iconNode$
|
|
1117
|
-
const __iconNode$
|
|
1116
|
+
const ArrowRight = createLucideIcon("arrow-right", __iconNode$1t);
|
|
1117
|
+
const __iconNode$1s = [
|
|
1118
1118
|
["path", { d: "m18 9-6-6-6 6", key: "kcunyi" }],
|
|
1119
1119
|
["path", { d: "M12 3v14", key: "7cf3v8" }],
|
|
1120
1120
|
["path", { d: "M5 21h14", key: "11awu3" }]
|
|
1121
1121
|
];
|
|
1122
|
-
const ArrowUpFromLine = createLucideIcon("arrow-up-from-line", __iconNode$
|
|
1123
|
-
const __iconNode$
|
|
1122
|
+
const ArrowUpFromLine = createLucideIcon("arrow-up-from-line", __iconNode$1s);
|
|
1123
|
+
const __iconNode$1r = [
|
|
1124
1124
|
["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
|
|
1125
1125
|
["path", { d: "M12 19V5", key: "x0mq9r" }]
|
|
1126
1126
|
];
|
|
1127
|
-
const ArrowUp = createLucideIcon("arrow-up", __iconNode$
|
|
1128
|
-
const __iconNode$
|
|
1127
|
+
const ArrowUp = createLucideIcon("arrow-up", __iconNode$1r);
|
|
1128
|
+
const __iconNode$1q = [
|
|
1129
1129
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1130
1130
|
["path", { d: "M4.929 4.929 19.07 19.071", key: "196cmz" }]
|
|
1131
1131
|
];
|
|
1132
|
-
const Ban = createLucideIcon("ban", __iconNode$
|
|
1133
|
-
const __iconNode$
|
|
1132
|
+
const Ban = createLucideIcon("ban", __iconNode$1q);
|
|
1133
|
+
const __iconNode$1p = [
|
|
1134
1134
|
["path", { d: "M12 8V4H8", key: "hb8ula" }],
|
|
1135
1135
|
["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
|
|
1136
1136
|
["path", { d: "M2 14h2", key: "vft8re" }],
|
|
@@ -1138,8 +1138,8 @@ const __iconNode$1o = [
|
|
|
1138
1138
|
["path", { d: "M15 13v2", key: "1xurst" }],
|
|
1139
1139
|
["path", { d: "M9 13v2", key: "rq6x2g" }]
|
|
1140
1140
|
];
|
|
1141
|
-
const Bot = createLucideIcon("bot", __iconNode$
|
|
1142
|
-
const __iconNode$
|
|
1141
|
+
const Bot = createLucideIcon("bot", __iconNode$1p);
|
|
1142
|
+
const __iconNode$1o = [
|
|
1143
1143
|
[
|
|
1144
1144
|
"path",
|
|
1145
1145
|
{ d: "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1", key: "ezmyqa" }
|
|
@@ -1152,62 +1152,62 @@ const __iconNode$1n = [
|
|
|
1152
1152
|
}
|
|
1153
1153
|
]
|
|
1154
1154
|
];
|
|
1155
|
-
const Braces = createLucideIcon("braces", __iconNode$
|
|
1156
|
-
const __iconNode$
|
|
1155
|
+
const Braces = createLucideIcon("braces", __iconNode$1o);
|
|
1156
|
+
const __iconNode$1n = [
|
|
1157
1157
|
["path", { d: "m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16", key: "d5nyq2" }],
|
|
1158
1158
|
["path", { d: "M22 9v7", key: "pvm9v3" }],
|
|
1159
1159
|
["path", { d: "M3.304 13h6.392", key: "1q3zxz" }],
|
|
1160
1160
|
["circle", { cx: "18.5", cy: "12.5", r: "3.5", key: "z97x68" }]
|
|
1161
1161
|
];
|
|
1162
|
-
const CaseSensitive = createLucideIcon("case-sensitive", __iconNode$
|
|
1163
|
-
const __iconNode$
|
|
1164
|
-
const Check = createLucideIcon("check", __iconNode$
|
|
1165
|
-
const __iconNode$
|
|
1166
|
-
const ChevronDown = createLucideIcon("chevron-down", __iconNode$
|
|
1167
|
-
const __iconNode$
|
|
1168
|
-
const ChevronLeft = createLucideIcon("chevron-left", __iconNode$
|
|
1169
|
-
const __iconNode$
|
|
1170
|
-
const ChevronRight = createLucideIcon("chevron-right", __iconNode$
|
|
1171
|
-
const __iconNode$
|
|
1172
|
-
const ChevronUp = createLucideIcon("chevron-up", __iconNode$
|
|
1173
|
-
const __iconNode$
|
|
1162
|
+
const CaseSensitive = createLucideIcon("case-sensitive", __iconNode$1n);
|
|
1163
|
+
const __iconNode$1m = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
1164
|
+
const Check = createLucideIcon("check", __iconNode$1m);
|
|
1165
|
+
const __iconNode$1l = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
1166
|
+
const ChevronDown = createLucideIcon("chevron-down", __iconNode$1l);
|
|
1167
|
+
const __iconNode$1k = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
1168
|
+
const ChevronLeft = createLucideIcon("chevron-left", __iconNode$1k);
|
|
1169
|
+
const __iconNode$1j = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
1170
|
+
const ChevronRight = createLucideIcon("chevron-right", __iconNode$1j);
|
|
1171
|
+
const __iconNode$1i = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
1172
|
+
const ChevronUp = createLucideIcon("chevron-up", __iconNode$1i);
|
|
1173
|
+
const __iconNode$1h = [
|
|
1174
1174
|
["path", { d: "m7 20 5-5 5 5", key: "13a0gw" }],
|
|
1175
1175
|
["path", { d: "m7 4 5 5 5-5", key: "1kwcof" }]
|
|
1176
1176
|
];
|
|
1177
|
-
const ChevronsDownUp = createLucideIcon("chevrons-down-up", __iconNode$
|
|
1178
|
-
const __iconNode$
|
|
1177
|
+
const ChevronsDownUp = createLucideIcon("chevrons-down-up", __iconNode$1h);
|
|
1178
|
+
const __iconNode$1g = [
|
|
1179
1179
|
["path", { d: "m7 15 5 5 5-5", key: "1hf1tw" }],
|
|
1180
1180
|
["path", { d: "m7 9 5-5 5 5", key: "sgt6xg" }]
|
|
1181
1181
|
];
|
|
1182
|
-
const ChevronsUpDown = createLucideIcon("chevrons-up-down", __iconNode$
|
|
1183
|
-
const __iconNode$
|
|
1182
|
+
const ChevronsUpDown = createLucideIcon("chevrons-up-down", __iconNode$1g);
|
|
1183
|
+
const __iconNode$1f = [
|
|
1184
1184
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1185
1185
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
1186
1186
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
1187
1187
|
];
|
|
1188
|
-
const CircleAlert = createLucideIcon("circle-alert", __iconNode$
|
|
1189
|
-
const __iconNode$
|
|
1188
|
+
const CircleAlert = createLucideIcon("circle-alert", __iconNode$1f);
|
|
1189
|
+
const __iconNode$1e = [
|
|
1190
1190
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1191
1191
|
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
1192
1192
|
];
|
|
1193
|
-
const CircleCheck = createLucideIcon("circle-check", __iconNode$
|
|
1194
|
-
const __iconNode$
|
|
1193
|
+
const CircleCheck = createLucideIcon("circle-check", __iconNode$1e);
|
|
1194
|
+
const __iconNode$1d = [
|
|
1195
1195
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1196
1196
|
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
1197
1197
|
["path", { d: "m9 9 6 6", key: "z0biqf" }]
|
|
1198
1198
|
];
|
|
1199
|
-
const CircleX = createLucideIcon("circle-x", __iconNode$
|
|
1200
|
-
const __iconNode$
|
|
1201
|
-
const Circle = createLucideIcon("circle", __iconNode$
|
|
1202
|
-
const __iconNode$
|
|
1199
|
+
const CircleX = createLucideIcon("circle-x", __iconNode$1d);
|
|
1200
|
+
const __iconNode$1c = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
|
|
1201
|
+
const Circle = createLucideIcon("circle", __iconNode$1c);
|
|
1202
|
+
const __iconNode$1b = [
|
|
1203
1203
|
["path", { d: "M11 14h10", key: "1w8e9d" }],
|
|
1204
1204
|
["path", { d: "M16 4h2a2 2 0 0 1 2 2v1.344", key: "1e62lh" }],
|
|
1205
1205
|
["path", { d: "m17 18 4-4-4-4", key: "z2g111" }],
|
|
1206
1206
|
["path", { d: "M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113", key: "bjbb7m" }],
|
|
1207
1207
|
["rect", { x: "8", y: "2", width: "8", height: "4", rx: "1", key: "ublpy" }]
|
|
1208
1208
|
];
|
|
1209
|
-
const ClipboardPaste = createLucideIcon("clipboard-paste", __iconNode$
|
|
1210
|
-
const __iconNode$
|
|
1209
|
+
const ClipboardPaste = createLucideIcon("clipboard-paste", __iconNode$1b);
|
|
1210
|
+
const __iconNode$1a = [
|
|
1211
1211
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
1212
1212
|
[
|
|
1213
1213
|
"path",
|
|
@@ -1217,59 +1217,59 @@ const __iconNode$19 = [
|
|
|
1217
1217
|
}
|
|
1218
1218
|
]
|
|
1219
1219
|
];
|
|
1220
|
-
const Clipboard = createLucideIcon("clipboard", __iconNode$
|
|
1221
|
-
const __iconNode$
|
|
1220
|
+
const Clipboard = createLucideIcon("clipboard", __iconNode$1a);
|
|
1221
|
+
const __iconNode$19 = [
|
|
1222
1222
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1223
1223
|
["path", { d: "M12 6v6l4 2", key: "mmk7yg" }]
|
|
1224
1224
|
];
|
|
1225
|
-
const Clock = createLucideIcon("clock", __iconNode$
|
|
1226
|
-
const __iconNode$
|
|
1225
|
+
const Clock = createLucideIcon("clock", __iconNode$19);
|
|
1226
|
+
const __iconNode$18 = [
|
|
1227
1227
|
["path", { d: "m18 16 4-4-4-4", key: "1inbqp" }],
|
|
1228
1228
|
["path", { d: "m6 8-4 4 4 4", key: "15zrgr" }],
|
|
1229
1229
|
["path", { d: "m14.5 4-5 16", key: "e7oirm" }]
|
|
1230
1230
|
];
|
|
1231
|
-
const CodeXml = createLucideIcon("code-xml", __iconNode$
|
|
1232
|
-
const __iconNode$
|
|
1231
|
+
const CodeXml = createLucideIcon("code-xml", __iconNode$18);
|
|
1232
|
+
const __iconNode$17 = [
|
|
1233
1233
|
["path", { d: "m16 18 6-6-6-6", key: "eg8j8" }],
|
|
1234
1234
|
["path", { d: "m8 6-6 6 6 6", key: "ppft3o" }]
|
|
1235
1235
|
];
|
|
1236
|
-
const Code = createLucideIcon("code", __iconNode$
|
|
1237
|
-
const __iconNode$
|
|
1236
|
+
const Code = createLucideIcon("code", __iconNode$17);
|
|
1237
|
+
const __iconNode$16 = [
|
|
1238
1238
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
1239
1239
|
["path", { d: "M12 3v18", key: "108xh3" }]
|
|
1240
1240
|
];
|
|
1241
|
-
const Columns2 = createLucideIcon("columns-2", __iconNode$
|
|
1242
|
-
const __iconNode$
|
|
1241
|
+
const Columns2 = createLucideIcon("columns-2", __iconNode$16);
|
|
1242
|
+
const __iconNode$15 = [
|
|
1243
1243
|
[
|
|
1244
1244
|
"path",
|
|
1245
1245
|
{ d: "M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3", key: "11bfej" }
|
|
1246
1246
|
]
|
|
1247
1247
|
];
|
|
1248
|
-
const Command$1 = createLucideIcon("command", __iconNode$
|
|
1249
|
-
const __iconNode$
|
|
1248
|
+
const Command$1 = createLucideIcon("command", __iconNode$15);
|
|
1249
|
+
const __iconNode$14 = [
|
|
1250
1250
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
1251
1251
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
1252
1252
|
];
|
|
1253
|
-
const Copy = createLucideIcon("copy", __iconNode$
|
|
1254
|
-
const __iconNode$
|
|
1253
|
+
const Copy = createLucideIcon("copy", __iconNode$14);
|
|
1254
|
+
const __iconNode$13 = [
|
|
1255
1255
|
["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3", key: "msslwz" }],
|
|
1256
1256
|
["path", { d: "M3 5V19A9 3 0 0 0 21 19V5", key: "1wlel7" }],
|
|
1257
1257
|
["path", { d: "M3 12A9 3 0 0 0 21 12", key: "mv7ke4" }]
|
|
1258
1258
|
];
|
|
1259
|
-
const Database = createLucideIcon("database", __iconNode$
|
|
1260
|
-
const __iconNode$
|
|
1259
|
+
const Database = createLucideIcon("database", __iconNode$13);
|
|
1260
|
+
const __iconNode$12 = [
|
|
1261
1261
|
["path", { d: "M12 15V3", key: "m9g1x1" }],
|
|
1262
1262
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
1263
1263
|
["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
|
|
1264
1264
|
];
|
|
1265
|
-
const Download = createLucideIcon("download", __iconNode$
|
|
1266
|
-
const __iconNode$
|
|
1265
|
+
const Download = createLucideIcon("download", __iconNode$12);
|
|
1266
|
+
const __iconNode$11 = [
|
|
1267
1267
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
1268
1268
|
["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
|
|
1269
1269
|
["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
|
|
1270
1270
|
];
|
|
1271
|
-
const EllipsisVertical = createLucideIcon("ellipsis-vertical", __iconNode$
|
|
1272
|
-
const __iconNode
|
|
1271
|
+
const EllipsisVertical = createLucideIcon("ellipsis-vertical", __iconNode$11);
|
|
1272
|
+
const __iconNode$10 = [
|
|
1273
1273
|
["path", { d: "m15 15 6 6", key: "1s409w" }],
|
|
1274
1274
|
["path", { d: "m15 9 6-6", key: "ko1vev" }],
|
|
1275
1275
|
["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
|
|
@@ -1279,14 +1279,14 @@ const __iconNode$$ = [
|
|
|
1279
1279
|
["path", { d: "M3 8V3h5", key: "1ln10m" }],
|
|
1280
1280
|
["path", { d: "M9 9 3 3", key: "v551iv" }]
|
|
1281
1281
|
];
|
|
1282
|
-
const Expand = createLucideIcon("expand", __iconNode
|
|
1283
|
-
const __iconNode
|
|
1282
|
+
const Expand = createLucideIcon("expand", __iconNode$10);
|
|
1283
|
+
const __iconNode$$ = [
|
|
1284
1284
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
1285
1285
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
1286
1286
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
1287
1287
|
];
|
|
1288
|
-
const ExternalLink$1 = createLucideIcon("external-link", __iconNode
|
|
1289
|
-
const __iconNode$
|
|
1288
|
+
const ExternalLink$1 = createLucideIcon("external-link", __iconNode$$);
|
|
1289
|
+
const __iconNode$_ = [
|
|
1290
1290
|
[
|
|
1291
1291
|
"path",
|
|
1292
1292
|
{
|
|
@@ -1296,8 +1296,8 @@ const __iconNode$Z = [
|
|
|
1296
1296
|
],
|
|
1297
1297
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
1298
1298
|
];
|
|
1299
|
-
const Eye = createLucideIcon("eye", __iconNode$
|
|
1300
|
-
const __iconNode$
|
|
1299
|
+
const Eye = createLucideIcon("eye", __iconNode$_);
|
|
1300
|
+
const __iconNode$Z = [
|
|
1301
1301
|
[
|
|
1302
1302
|
"path",
|
|
1303
1303
|
{
|
|
@@ -1315,8 +1315,8 @@ const __iconNode$Y = [
|
|
|
1315
1315
|
{ d: "M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1", key: "mpwhp6" }
|
|
1316
1316
|
]
|
|
1317
1317
|
];
|
|
1318
|
-
const FileBraces = createLucideIcon("file-braces", __iconNode$
|
|
1319
|
-
const __iconNode$
|
|
1318
|
+
const FileBraces = createLucideIcon("file-braces", __iconNode$Z);
|
|
1319
|
+
const __iconNode$Y = [
|
|
1320
1320
|
[
|
|
1321
1321
|
"path",
|
|
1322
1322
|
{
|
|
@@ -1328,8 +1328,8 @@ const __iconNode$X = [
|
|
|
1328
1328
|
["path", { d: "m5 16-3 3 3 3", key: "331omg" }],
|
|
1329
1329
|
["path", { d: "m9 22 3-3-3-3", key: "lsp7cz" }]
|
|
1330
1330
|
];
|
|
1331
|
-
const FileCodeCorner = createLucideIcon("file-code-corner", __iconNode$
|
|
1332
|
-
const __iconNode$
|
|
1331
|
+
const FileCodeCorner = createLucideIcon("file-code-corner", __iconNode$Y);
|
|
1332
|
+
const __iconNode$X = [
|
|
1333
1333
|
[
|
|
1334
1334
|
"path",
|
|
1335
1335
|
{
|
|
@@ -1340,8 +1340,8 @@ const __iconNode$W = [
|
|
|
1340
1340
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
1341
1341
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
1342
1342
|
];
|
|
1343
|
-
const FileExclamationPoint = createLucideIcon("file-exclamation-point", __iconNode$
|
|
1344
|
-
const __iconNode$
|
|
1343
|
+
const FileExclamationPoint = createLucideIcon("file-exclamation-point", __iconNode$X);
|
|
1344
|
+
const __iconNode$W = [
|
|
1345
1345
|
[
|
|
1346
1346
|
"path",
|
|
1347
1347
|
{
|
|
@@ -1353,8 +1353,8 @@ const __iconNode$V = [
|
|
|
1353
1353
|
["path", { d: "M9 15h6", key: "cctwl0" }],
|
|
1354
1354
|
["path", { d: "M12 18v-6", key: "17g6i2" }]
|
|
1355
1355
|
];
|
|
1356
|
-
const FilePlus = createLucideIcon("file-plus", __iconNode$
|
|
1357
|
-
const __iconNode$
|
|
1356
|
+
const FilePlus = createLucideIcon("file-plus", __iconNode$W);
|
|
1357
|
+
const __iconNode$V = [
|
|
1358
1358
|
[
|
|
1359
1359
|
"path",
|
|
1360
1360
|
{
|
|
@@ -1367,8 +1367,8 @@ const __iconNode$U = [
|
|
|
1367
1367
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
1368
1368
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
1369
1369
|
];
|
|
1370
|
-
const FileText = createLucideIcon("file-text", __iconNode$
|
|
1371
|
-
const __iconNode$
|
|
1370
|
+
const FileText = createLucideIcon("file-text", __iconNode$V);
|
|
1371
|
+
const __iconNode$U = [
|
|
1372
1372
|
[
|
|
1373
1373
|
"path",
|
|
1374
1374
|
{
|
|
@@ -1378,8 +1378,8 @@ const __iconNode$T = [
|
|
|
1378
1378
|
],
|
|
1379
1379
|
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }]
|
|
1380
1380
|
];
|
|
1381
|
-
const File = createLucideIcon("file", __iconNode$
|
|
1382
|
-
const __iconNode$
|
|
1381
|
+
const File = createLucideIcon("file", __iconNode$U);
|
|
1382
|
+
const __iconNode$T = [
|
|
1383
1383
|
[
|
|
1384
1384
|
"path",
|
|
1385
1385
|
{
|
|
@@ -1388,8 +1388,8 @@ const __iconNode$S = [
|
|
|
1388
1388
|
}
|
|
1389
1389
|
]
|
|
1390
1390
|
];
|
|
1391
|
-
const FolderOpen = createLucideIcon("folder-open", __iconNode$
|
|
1392
|
-
const __iconNode$
|
|
1391
|
+
const FolderOpen = createLucideIcon("folder-open", __iconNode$T);
|
|
1392
|
+
const __iconNode$S = [
|
|
1393
1393
|
["path", { d: "M12 10v6", key: "1bos4e" }],
|
|
1394
1394
|
["path", { d: "M9 13h6", key: "1uhe8q" }],
|
|
1395
1395
|
[
|
|
@@ -1400,8 +1400,8 @@ const __iconNode$R = [
|
|
|
1400
1400
|
}
|
|
1401
1401
|
]
|
|
1402
1402
|
];
|
|
1403
|
-
const FolderPlus = createLucideIcon("folder-plus", __iconNode$
|
|
1404
|
-
const __iconNode$
|
|
1403
|
+
const FolderPlus = createLucideIcon("folder-plus", __iconNode$S);
|
|
1404
|
+
const __iconNode$R = [
|
|
1405
1405
|
[
|
|
1406
1406
|
"path",
|
|
1407
1407
|
{
|
|
@@ -1410,8 +1410,8 @@ const __iconNode$Q = [
|
|
|
1410
1410
|
}
|
|
1411
1411
|
]
|
|
1412
1412
|
];
|
|
1413
|
-
const Folder = createLucideIcon("folder", __iconNode$
|
|
1414
|
-
const __iconNode$
|
|
1413
|
+
const Folder = createLucideIcon("folder", __iconNode$R);
|
|
1414
|
+
const __iconNode$Q = [
|
|
1415
1415
|
[
|
|
1416
1416
|
"path",
|
|
1417
1417
|
{
|
|
@@ -1424,39 +1424,39 @@ const __iconNode$P = [
|
|
|
1424
1424
|
{ d: "M3 8.268a2 2 0 0 0-1 1.738V19a2 2 0 0 0 2 2h11a2 2 0 0 0 1.732-1", key: "yxbcw3" }
|
|
1425
1425
|
]
|
|
1426
1426
|
];
|
|
1427
|
-
const Folders = createLucideIcon("folders", __iconNode$
|
|
1428
|
-
const __iconNode$
|
|
1427
|
+
const Folders = createLucideIcon("folders", __iconNode$Q);
|
|
1428
|
+
const __iconNode$P = [
|
|
1429
1429
|
["path", { d: "M15 6a9 9 0 0 0-9 9V3", key: "1cii5b" }],
|
|
1430
1430
|
["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
|
|
1431
1431
|
["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }]
|
|
1432
1432
|
];
|
|
1433
|
-
const GitBranch = createLucideIcon("git-branch", __iconNode$
|
|
1434
|
-
const __iconNode$
|
|
1433
|
+
const GitBranch = createLucideIcon("git-branch", __iconNode$P);
|
|
1434
|
+
const __iconNode$O = [
|
|
1435
1435
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }],
|
|
1436
1436
|
["line", { x1: "3", x2: "9", y1: "12", y2: "12", key: "1dyftd" }],
|
|
1437
1437
|
["line", { x1: "15", x2: "21", y1: "12", y2: "12", key: "oup4p8" }]
|
|
1438
1438
|
];
|
|
1439
|
-
const GitCommitHorizontal = createLucideIcon("git-commit-horizontal", __iconNode$
|
|
1440
|
-
const __iconNode$
|
|
1439
|
+
const GitCommitHorizontal = createLucideIcon("git-commit-horizontal", __iconNode$O);
|
|
1440
|
+
const __iconNode$N = [
|
|
1441
1441
|
["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }],
|
|
1442
1442
|
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
1443
1443
|
["path", { d: "M13 6h3a2 2 0 0 1 2 2v7", key: "1yeb86" }],
|
|
1444
1444
|
["path", { d: "M11 18H8a2 2 0 0 1-2-2V9", key: "19pyzm" }]
|
|
1445
1445
|
];
|
|
1446
|
-
const GitCompare = createLucideIcon("git-compare", __iconNode$
|
|
1447
|
-
const __iconNode$
|
|
1446
|
+
const GitCompare = createLucideIcon("git-compare", __iconNode$N);
|
|
1447
|
+
const __iconNode$M = [
|
|
1448
1448
|
["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }],
|
|
1449
1449
|
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
1450
1450
|
["path", { d: "M6 21V9a9 9 0 0 0 9 9", key: "7kw0sc" }]
|
|
1451
1451
|
];
|
|
1452
|
-
const GitMerge = createLucideIcon("git-merge", __iconNode$
|
|
1453
|
-
const __iconNode$
|
|
1452
|
+
const GitMerge = createLucideIcon("git-merge", __iconNode$M);
|
|
1453
|
+
const __iconNode$L = [
|
|
1454
1454
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1455
1455
|
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
|
1456
1456
|
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
|
1457
1457
|
];
|
|
1458
|
-
const Globe = createLucideIcon("globe", __iconNode$
|
|
1459
|
-
const __iconNode$
|
|
1458
|
+
const Globe = createLucideIcon("globe", __iconNode$L);
|
|
1459
|
+
const __iconNode$K = [
|
|
1460
1460
|
["circle", { cx: "12", cy: "9", r: "1", key: "124mty" }],
|
|
1461
1461
|
["circle", { cx: "19", cy: "9", r: "1", key: "1ruzo2" }],
|
|
1462
1462
|
["circle", { cx: "5", cy: "9", r: "1", key: "1a8b28" }],
|
|
@@ -1464,7 +1464,13 @@ const __iconNode$J = [
|
|
|
1464
1464
|
["circle", { cx: "19", cy: "15", r: "1", key: "1a92ep" }],
|
|
1465
1465
|
["circle", { cx: "5", cy: "15", r: "1", key: "5r1jwy" }]
|
|
1466
1466
|
];
|
|
1467
|
-
const GripHorizontal = createLucideIcon("grip-horizontal", __iconNode$
|
|
1467
|
+
const GripHorizontal = createLucideIcon("grip-horizontal", __iconNode$K);
|
|
1468
|
+
const __iconNode$J = [
|
|
1469
|
+
["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
|
|
1470
|
+
["path", { d: "M3 3v5h5", key: "1xhq8a" }],
|
|
1471
|
+
["path", { d: "M12 7v5l4 2", key: "1fdv2h" }]
|
|
1472
|
+
];
|
|
1473
|
+
const History = createLucideIcon("history", __iconNode$J);
|
|
1468
1474
|
const __iconNode$I = [
|
|
1469
1475
|
["line", { x1: "2", x2: "22", y1: "2", y2: "22", key: "a6p6uj" }],
|
|
1470
1476
|
["path", { d: "M10.41 10.41a2 2 0 1 1-2.83-2.83", key: "1bzlo9" }],
|
|
@@ -40556,53 +40562,53 @@ async function loadLanguage(lang) {
|
|
|
40556
40562
|
try {
|
|
40557
40563
|
switch (lang) {
|
|
40558
40564
|
case "javascript":
|
|
40559
|
-
return import("./index-
|
|
40565
|
+
return import("./index-KO85K6gg.js").then((m2) => m2.javascript());
|
|
40560
40566
|
case "jsx":
|
|
40561
|
-
return import("./index-
|
|
40567
|
+
return import("./index-KO85K6gg.js").then((m2) => m2.javascript({ jsx: true }));
|
|
40562
40568
|
case "typescript":
|
|
40563
|
-
return import("./index-
|
|
40569
|
+
return import("./index-KO85K6gg.js").then(
|
|
40564
40570
|
(m2) => m2.javascript({ typescript: true })
|
|
40565
40571
|
);
|
|
40566
40572
|
case "tsx":
|
|
40567
|
-
return import("./index-
|
|
40573
|
+
return import("./index-KO85K6gg.js").then(
|
|
40568
40574
|
(m2) => m2.javascript({ jsx: true, typescript: true })
|
|
40569
40575
|
);
|
|
40570
40576
|
case "python":
|
|
40571
|
-
return import("./index-
|
|
40577
|
+
return import("./index-BquoD96E.js").then((m2) => m2.python());
|
|
40572
40578
|
case "html":
|
|
40573
|
-
return import("./index-
|
|
40579
|
+
return import("./index-DsW29Azb.js").then((m2) => m2.html());
|
|
40574
40580
|
case "css":
|
|
40575
|
-
return import("./index-
|
|
40581
|
+
return import("./index-kEUC1eer.js").then((m2) => m2.css());
|
|
40576
40582
|
case "scss":
|
|
40577
40583
|
case "sass":
|
|
40578
|
-
return import("./index-
|
|
40584
|
+
return import("./index-CcRwhNJ0.js").then((m2) => m2.sass());
|
|
40579
40585
|
case "less":
|
|
40580
|
-
return import("./index-
|
|
40586
|
+
return import("./index-0Vp2EuiF.js").then((m2) => m2.less());
|
|
40581
40587
|
case "json":
|
|
40582
40588
|
case "jsonc":
|
|
40583
|
-
return import("./index-
|
|
40589
|
+
return import("./index-DoEmUqp6.js").then((m2) => m2.json());
|
|
40584
40590
|
case "markdown":
|
|
40585
40591
|
case "mdx":
|
|
40586
|
-
return import("./index-
|
|
40592
|
+
return import("./index-B_gLaw5q.js").then((m2) => m2.markdown());
|
|
40587
40593
|
case "xml":
|
|
40588
|
-
return import("./index-
|
|
40594
|
+
return import("./index-CReShbyg.js").then((m2) => m2.xml());
|
|
40589
40595
|
case "yaml":
|
|
40590
|
-
return import("./index-
|
|
40596
|
+
return import("./index-CqJMMgyN.js").then((m2) => m2.yaml());
|
|
40591
40597
|
case "sql":
|
|
40592
|
-
return import("./index-
|
|
40598
|
+
return import("./index-DfuZ1SKx.js").then((m2) => m2.sql());
|
|
40593
40599
|
case "rust":
|
|
40594
|
-
return import("./index-
|
|
40600
|
+
return import("./index-oAvn7Kbw.js").then((m2) => m2.rust());
|
|
40595
40601
|
case "go":
|
|
40596
|
-
return import("./index-
|
|
40602
|
+
return import("./index-B2NbB5n_.js").then((m2) => m2.go());
|
|
40597
40603
|
case "java":
|
|
40598
|
-
return import("./index-
|
|
40604
|
+
return import("./index-CozxyE6F.js").then((m2) => m2.java());
|
|
40599
40605
|
case "kotlin":
|
|
40600
|
-
return import("./index-
|
|
40606
|
+
return import("./index-CozxyE6F.js").then((m2) => m2.java());
|
|
40601
40607
|
case "c":
|
|
40602
40608
|
case "cpp":
|
|
40603
|
-
return import("./index-
|
|
40609
|
+
return import("./index-BggD7xEz.js").then((m2) => m2.cpp());
|
|
40604
40610
|
case "php":
|
|
40605
|
-
return import("./index-
|
|
40611
|
+
return import("./index-DVIqYu1B.js").then((m2) => m2.php());
|
|
40606
40612
|
// Legacy modes via StreamLanguage
|
|
40607
40613
|
case "bash":
|
|
40608
40614
|
case "fish":
|
|
@@ -52791,6 +52797,15 @@ const FileBrowser = reactExports.forwardRef(function FileBrowser2({
|
|
|
52791
52797
|
reactExports.useEffect(() => {
|
|
52792
52798
|
fetchDir("");
|
|
52793
52799
|
}, [fetchDir]);
|
|
52800
|
+
reactExports.useEffect(() => {
|
|
52801
|
+
if (!adapter2.subscribeFileChanges) return;
|
|
52802
|
+
const unsubscribe = adapter2.subscribeFileChanges(workspaceId, (changedPath) => {
|
|
52803
|
+
const cache = getCachedContents(workspaceId);
|
|
52804
|
+
if (!cache.has(changedPath)) return;
|
|
52805
|
+
void fetchDir(changedPath, { force: true });
|
|
52806
|
+
});
|
|
52807
|
+
return unsubscribe;
|
|
52808
|
+
}, [adapter2, workspaceId, fetchDir]);
|
|
52794
52809
|
const prevSelectedRef = reactExports.useRef(void 0);
|
|
52795
52810
|
reactExports.useEffect(() => {
|
|
52796
52811
|
if (!selectedFile || selectedFile === prevSelectedRef.current) {
|
|
@@ -60732,6 +60747,47 @@ class WebDashboardAdapter {
|
|
|
60732
60747
|
}
|
|
60733
60748
|
});
|
|
60734
60749
|
}
|
|
60750
|
+
subscribeFileChanges(workspaceId, handler) {
|
|
60751
|
+
let active = true;
|
|
60752
|
+
let currentSub = null;
|
|
60753
|
+
let reconnectTimer = null;
|
|
60754
|
+
let attempt = 0;
|
|
60755
|
+
const MAX_BACKOFF_MS = 3e4;
|
|
60756
|
+
const handleDisconnect = () => {
|
|
60757
|
+
currentSub = null;
|
|
60758
|
+
if (active && !reconnectTimer) {
|
|
60759
|
+
const delay = Math.min(2 ** attempt * 500, MAX_BACKOFF_MS);
|
|
60760
|
+
attempt += 1;
|
|
60761
|
+
reconnectTimer = setTimeout(() => {
|
|
60762
|
+
reconnectTimer = null;
|
|
60763
|
+
if (active) connect();
|
|
60764
|
+
}, delay);
|
|
60765
|
+
}
|
|
60766
|
+
};
|
|
60767
|
+
const connect = () => {
|
|
60768
|
+
currentSub = this.trpc.workspace.fileChanges.subscribe(
|
|
60769
|
+
{ workspaceId },
|
|
60770
|
+
{
|
|
60771
|
+
onData: (data) => {
|
|
60772
|
+
attempt = 0;
|
|
60773
|
+
handler(data.path);
|
|
60774
|
+
},
|
|
60775
|
+
onStopped: handleDisconnect,
|
|
60776
|
+
onError: handleDisconnect
|
|
60777
|
+
}
|
|
60778
|
+
);
|
|
60779
|
+
};
|
|
60780
|
+
connect();
|
|
60781
|
+
return () => {
|
|
60782
|
+
active = false;
|
|
60783
|
+
if (reconnectTimer) {
|
|
60784
|
+
clearTimeout(reconnectTimer);
|
|
60785
|
+
reconnectTimer = null;
|
|
60786
|
+
}
|
|
60787
|
+
currentSub?.unsubscribe();
|
|
60788
|
+
currentSub = null;
|
|
60789
|
+
};
|
|
60790
|
+
}
|
|
60735
60791
|
async checkHooks() {
|
|
60736
60792
|
return await this.trpc.hooks.check.query();
|
|
60737
60793
|
}
|
|
@@ -61415,10 +61471,10 @@ function parseWorkspaceFromPath(pathname) {
|
|
|
61415
61471
|
return match ? decodeURIComponent(match[1]) : null;
|
|
61416
61472
|
}
|
|
61417
61473
|
const state$1 = /* @__PURE__ */ new Map();
|
|
61418
|
-
const listeners = /* @__PURE__ */ new Map();
|
|
61474
|
+
const listeners$1 = /* @__PURE__ */ new Map();
|
|
61419
61475
|
const DEFAULT = { wsActive: true };
|
|
61420
61476
|
function notify(workspaceId) {
|
|
61421
|
-
const set2 = listeners.get(workspaceId);
|
|
61477
|
+
const set2 = listeners$1.get(workspaceId);
|
|
61422
61478
|
if (set2) {
|
|
61423
61479
|
for (const cb of set2) cb();
|
|
61424
61480
|
}
|
|
@@ -61432,20 +61488,20 @@ function setWsActive(workspaceId, wsActive) {
|
|
|
61432
61488
|
function getWsActive(workspaceId) {
|
|
61433
61489
|
return state$1.get(workspaceId)?.wsActive ?? DEFAULT.wsActive;
|
|
61434
61490
|
}
|
|
61435
|
-
function subscribe$
|
|
61436
|
-
let set2 = listeners.get(workspaceId);
|
|
61491
|
+
function subscribe$2(workspaceId, cb) {
|
|
61492
|
+
let set2 = listeners$1.get(workspaceId);
|
|
61437
61493
|
if (!set2) {
|
|
61438
61494
|
set2 = /* @__PURE__ */ new Set();
|
|
61439
|
-
listeners.set(workspaceId, set2);
|
|
61495
|
+
listeners$1.set(workspaceId, set2);
|
|
61440
61496
|
}
|
|
61441
61497
|
set2.add(cb);
|
|
61442
61498
|
return () => {
|
|
61443
61499
|
set2.delete(cb);
|
|
61444
|
-
if (set2.size === 0) listeners.delete(workspaceId);
|
|
61500
|
+
if (set2.size === 0) listeners$1.delete(workspaceId);
|
|
61445
61501
|
};
|
|
61446
61502
|
}
|
|
61447
61503
|
function useWsActive(workspaceId) {
|
|
61448
|
-
const sub2 = reactExports.useCallback((cb) => subscribe$
|
|
61504
|
+
const sub2 = reactExports.useCallback((cb) => subscribe$2(workspaceId, cb), [workspaceId]);
|
|
61449
61505
|
const snap = reactExports.useCallback(() => getWsActive(workspaceId), [workspaceId]);
|
|
61450
61506
|
return reactExports.useSyncExternalStore(sub2, snap);
|
|
61451
61507
|
}
|
|
@@ -116032,7 +116088,7 @@ const invert = (color2, weight = 100) => {
|
|
|
116032
116088
|
const {
|
|
116033
116089
|
entries,
|
|
116034
116090
|
setPrototypeOf,
|
|
116035
|
-
isFrozen,
|
|
116091
|
+
isFrozen: isFrozen$1,
|
|
116036
116092
|
getPrototypeOf,
|
|
116037
116093
|
getOwnPropertyDescriptor
|
|
116038
116094
|
} = Object;
|
|
@@ -116115,7 +116171,7 @@ function addToSet(set2, array2) {
|
|
|
116115
116171
|
if (typeof element2 === "string") {
|
|
116116
116172
|
const lcElement = transformCaseFunc(element2);
|
|
116117
116173
|
if (lcElement !== element2) {
|
|
116118
|
-
if (!isFrozen(array2)) {
|
|
116174
|
+
if (!isFrozen$1(array2)) {
|
|
116119
116175
|
array2[l4] = lcElement;
|
|
116120
116176
|
}
|
|
116121
116177
|
element2 = lcElement;
|
|
@@ -136202,12 +136258,12 @@ var registerDefaultLayoutLoaders = /* @__PURE__ */ __name(() => {
|
|
|
136202
136258
|
registerLayoutLoaders([
|
|
136203
136259
|
{
|
|
136204
136260
|
name: "dagre",
|
|
136205
|
-
loader: /* @__PURE__ */ __name(async () => await import("./dagre-6UL2VRFP-
|
|
136261
|
+
loader: /* @__PURE__ */ __name(async () => await import("./dagre-6UL2VRFP-BFEXHp44.js"), "loader")
|
|
136206
136262
|
},
|
|
136207
136263
|
...[
|
|
136208
136264
|
{
|
|
136209
136265
|
name: "cose-bilkent",
|
|
136210
|
-
loader: /* @__PURE__ */ __name(async () => await import("./cose-bilkent-S5V4N54A-
|
|
136266
|
+
loader: /* @__PURE__ */ __name(async () => await import("./cose-bilkent-S5V4N54A-I5bimXZO.js"), "loader")
|
|
136211
136267
|
}
|
|
136212
136268
|
]
|
|
136213
136269
|
]);
|
|
@@ -136646,7 +136702,7 @@ var detector = /* @__PURE__ */ __name((txt) => {
|
|
|
136646
136702
|
return /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(txt);
|
|
136647
136703
|
}, "detector");
|
|
136648
136704
|
var loader = /* @__PURE__ */ __name(async () => {
|
|
136649
|
-
const { diagram: diagram2 } = await import("./c4Diagram-YG6GDRKO-
|
|
136705
|
+
const { diagram: diagram2 } = await import("./c4Diagram-YG6GDRKO-BRcTuK4Y.js");
|
|
136650
136706
|
return { id, diagram: diagram2 };
|
|
136651
136707
|
}, "loader");
|
|
136652
136708
|
var plugin = {
|
|
@@ -136663,7 +136719,7 @@ var detector2 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
136663
136719
|
return /^\s*graph/.test(txt);
|
|
136664
136720
|
}, "detector");
|
|
136665
136721
|
var loader2 = /* @__PURE__ */ __name(async () => {
|
|
136666
|
-
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-
|
|
136722
|
+
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-B0GxfKRu.js");
|
|
136667
136723
|
return { id: id2, diagram: diagram2 };
|
|
136668
136724
|
}, "loader");
|
|
136669
136725
|
var plugin2 = {
|
|
@@ -136686,7 +136742,7 @@ var detector3 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
136686
136742
|
return /^\s*flowchart/.test(txt);
|
|
136687
136743
|
}, "detector");
|
|
136688
136744
|
var loader3 = /* @__PURE__ */ __name(async () => {
|
|
136689
|
-
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-
|
|
136745
|
+
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-B0GxfKRu.js");
|
|
136690
136746
|
return { id: id3, diagram: diagram2 };
|
|
136691
136747
|
}, "loader");
|
|
136692
136748
|
var plugin3 = {
|
|
@@ -136700,7 +136756,7 @@ var detector4 = /* @__PURE__ */ __name((txt) => {
|
|
|
136700
136756
|
return /^\s*erDiagram/.test(txt);
|
|
136701
136757
|
}, "detector");
|
|
136702
136758
|
var loader4 = /* @__PURE__ */ __name(async () => {
|
|
136703
|
-
const { diagram: diagram2 } = await import("./erDiagram-Q2GNP2WA-
|
|
136759
|
+
const { diagram: diagram2 } = await import("./erDiagram-Q2GNP2WA-eEKIOvT3.js");
|
|
136704
136760
|
return { id: id4, diagram: diagram2 };
|
|
136705
136761
|
}, "loader");
|
|
136706
136762
|
var plugin4 = {
|
|
@@ -136714,7 +136770,7 @@ var detector5 = /* @__PURE__ */ __name((txt) => {
|
|
|
136714
136770
|
return /^\s*gitGraph/.test(txt);
|
|
136715
136771
|
}, "detector");
|
|
136716
136772
|
var loader5 = /* @__PURE__ */ __name(async () => {
|
|
136717
|
-
const { diagram: diagram2 } = await import("./gitGraphDiagram-V2S2FVAM-
|
|
136773
|
+
const { diagram: diagram2 } = await import("./gitGraphDiagram-V2S2FVAM-BZuXPjR3.js");
|
|
136718
136774
|
return { id: id5, diagram: diagram2 };
|
|
136719
136775
|
}, "loader");
|
|
136720
136776
|
var plugin5 = {
|
|
@@ -136728,7 +136784,7 @@ var detector6 = /* @__PURE__ */ __name((txt) => {
|
|
|
136728
136784
|
return /^\s*gantt/.test(txt);
|
|
136729
136785
|
}, "detector");
|
|
136730
136786
|
var loader6 = /* @__PURE__ */ __name(async () => {
|
|
136731
|
-
const { diagram: diagram2 } = await import("./ganttDiagram-JELNMOA3-
|
|
136787
|
+
const { diagram: diagram2 } = await import("./ganttDiagram-JELNMOA3-etJ_j_I0.js");
|
|
136732
136788
|
return { id: id6, diagram: diagram2 };
|
|
136733
136789
|
}, "loader");
|
|
136734
136790
|
var plugin6 = {
|
|
@@ -136742,7 +136798,7 @@ var detector7 = /* @__PURE__ */ __name((txt) => {
|
|
|
136742
136798
|
return /^\s*info/.test(txt);
|
|
136743
136799
|
}, "detector");
|
|
136744
136800
|
var loader7 = /* @__PURE__ */ __name(async () => {
|
|
136745
|
-
const { diagram: diagram2 } = await import("./infoDiagram-HS3SLOUP-
|
|
136801
|
+
const { diagram: diagram2 } = await import("./infoDiagram-HS3SLOUP-DUDXdFYe.js");
|
|
136746
136802
|
return { id: id7, diagram: diagram2 };
|
|
136747
136803
|
}, "loader");
|
|
136748
136804
|
var info = {
|
|
@@ -136755,7 +136811,7 @@ var detector8 = /* @__PURE__ */ __name((txt) => {
|
|
|
136755
136811
|
return /^\s*pie/.test(txt);
|
|
136756
136812
|
}, "detector");
|
|
136757
136813
|
var loader8 = /* @__PURE__ */ __name(async () => {
|
|
136758
|
-
const { diagram: diagram2 } = await import("./pieDiagram-ADFJNKIX-
|
|
136814
|
+
const { diagram: diagram2 } = await import("./pieDiagram-ADFJNKIX-BSx8zl8i.js");
|
|
136759
136815
|
return { id: id8, diagram: diagram2 };
|
|
136760
136816
|
}, "loader");
|
|
136761
136817
|
var pie = {
|
|
@@ -136768,7 +136824,7 @@ var detector9 = /* @__PURE__ */ __name((txt) => {
|
|
|
136768
136824
|
return /^\s*quadrantChart/.test(txt);
|
|
136769
136825
|
}, "detector");
|
|
136770
136826
|
var loader9 = /* @__PURE__ */ __name(async () => {
|
|
136771
|
-
const { diagram: diagram2 } = await import("./quadrantDiagram-AYHSOK5B-
|
|
136827
|
+
const { diagram: diagram2 } = await import("./quadrantDiagram-AYHSOK5B-B08pRdHD.js");
|
|
136772
136828
|
return { id: id9, diagram: diagram2 };
|
|
136773
136829
|
}, "loader");
|
|
136774
136830
|
var plugin7 = {
|
|
@@ -136782,7 +136838,7 @@ var detector10 = /* @__PURE__ */ __name((txt) => {
|
|
|
136782
136838
|
return /^\s*xychart(-beta)?/.test(txt);
|
|
136783
136839
|
}, "detector");
|
|
136784
136840
|
var loader10 = /* @__PURE__ */ __name(async () => {
|
|
136785
|
-
const { diagram: diagram2 } = await import("./xychartDiagram-PRI3JC2R-
|
|
136841
|
+
const { diagram: diagram2 } = await import("./xychartDiagram-PRI3JC2R-DAT7FXvH.js");
|
|
136786
136842
|
return { id: id10, diagram: diagram2 };
|
|
136787
136843
|
}, "loader");
|
|
136788
136844
|
var plugin8 = {
|
|
@@ -136796,7 +136852,7 @@ var detector11 = /* @__PURE__ */ __name((txt) => {
|
|
|
136796
136852
|
return /^\s*requirement(Diagram)?/.test(txt);
|
|
136797
136853
|
}, "detector");
|
|
136798
136854
|
var loader11 = /* @__PURE__ */ __name(async () => {
|
|
136799
|
-
const { diagram: diagram2 } = await import("./requirementDiagram-UZGBJVZJ-
|
|
136855
|
+
const { diagram: diagram2 } = await import("./requirementDiagram-UZGBJVZJ-BtjVtNFU.js");
|
|
136800
136856
|
return { id: id11, diagram: diagram2 };
|
|
136801
136857
|
}, "loader");
|
|
136802
136858
|
var plugin9 = {
|
|
@@ -136810,7 +136866,7 @@ var detector12 = /* @__PURE__ */ __name((txt) => {
|
|
|
136810
136866
|
return /^\s*sequenceDiagram/.test(txt);
|
|
136811
136867
|
}, "detector");
|
|
136812
136868
|
var loader12 = /* @__PURE__ */ __name(async () => {
|
|
136813
|
-
const { diagram: diagram2 } = await import("./sequenceDiagram-WL72ISMW-
|
|
136869
|
+
const { diagram: diagram2 } = await import("./sequenceDiagram-WL72ISMW-DEfVJQli.js");
|
|
136814
136870
|
return { id: id12, diagram: diagram2 };
|
|
136815
136871
|
}, "loader");
|
|
136816
136872
|
var plugin10 = {
|
|
@@ -136827,7 +136883,7 @@ var detector13 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
136827
136883
|
return /^\s*classDiagram/.test(txt);
|
|
136828
136884
|
}, "detector");
|
|
136829
136885
|
var loader13 = /* @__PURE__ */ __name(async () => {
|
|
136830
|
-
const { diagram: diagram2 } = await import("./classDiagram-2ON5EDUG-
|
|
136886
|
+
const { diagram: diagram2 } = await import("./classDiagram-2ON5EDUG-D_KqC8CP.js");
|
|
136831
136887
|
return { id: id13, diagram: diagram2 };
|
|
136832
136888
|
}, "loader");
|
|
136833
136889
|
var plugin11 = {
|
|
@@ -136844,7 +136900,7 @@ var detector14 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
136844
136900
|
return /^\s*classDiagram-v2/.test(txt);
|
|
136845
136901
|
}, "detector");
|
|
136846
136902
|
var loader14 = /* @__PURE__ */ __name(async () => {
|
|
136847
|
-
const { diagram: diagram2 } = await import("./classDiagram-v2-WZHVMYZB-
|
|
136903
|
+
const { diagram: diagram2 } = await import("./classDiagram-v2-WZHVMYZB-D_KqC8CP.js");
|
|
136848
136904
|
return { id: id14, diagram: diagram2 };
|
|
136849
136905
|
}, "loader");
|
|
136850
136906
|
var plugin12 = {
|
|
@@ -136861,7 +136917,7 @@ var detector15 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
136861
136917
|
return /^\s*stateDiagram/.test(txt);
|
|
136862
136918
|
}, "detector");
|
|
136863
136919
|
var loader15 = /* @__PURE__ */ __name(async () => {
|
|
136864
|
-
const { diagram: diagram2 } = await import("./stateDiagram-FKZM4ZOC-
|
|
136920
|
+
const { diagram: diagram2 } = await import("./stateDiagram-FKZM4ZOC-DblYyAIC.js");
|
|
136865
136921
|
return { id: id15, diagram: diagram2 };
|
|
136866
136922
|
}, "loader");
|
|
136867
136923
|
var plugin13 = {
|
|
@@ -136881,7 +136937,7 @@ var detector16 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
136881
136937
|
return false;
|
|
136882
136938
|
}, "detector");
|
|
136883
136939
|
var loader16 = /* @__PURE__ */ __name(async () => {
|
|
136884
|
-
const { diagram: diagram2 } = await import("./stateDiagram-v2-4FDKWEC3-
|
|
136940
|
+
const { diagram: diagram2 } = await import("./stateDiagram-v2-4FDKWEC3-YhMCeOsH.js");
|
|
136885
136941
|
return { id: id16, diagram: diagram2 };
|
|
136886
136942
|
}, "loader");
|
|
136887
136943
|
var plugin14 = {
|
|
@@ -136895,7 +136951,7 @@ var detector17 = /* @__PURE__ */ __name((txt) => {
|
|
|
136895
136951
|
return /^\s*journey/.test(txt);
|
|
136896
136952
|
}, "detector");
|
|
136897
136953
|
var loader17 = /* @__PURE__ */ __name(async () => {
|
|
136898
|
-
const { diagram: diagram2 } = await import("./journeyDiagram-XKPGCS4Q-
|
|
136954
|
+
const { diagram: diagram2 } = await import("./journeyDiagram-XKPGCS4Q-BnEH3kK2.js");
|
|
136899
136955
|
return { id: id17, diagram: diagram2 };
|
|
136900
136956
|
}, "loader");
|
|
136901
136957
|
var plugin15 = {
|
|
@@ -136962,7 +137018,7 @@ var detector18 = /* @__PURE__ */ __name((txt, config2 = {}) => {
|
|
|
136962
137018
|
return false;
|
|
136963
137019
|
}, "detector");
|
|
136964
137020
|
var loader18 = /* @__PURE__ */ __name(async () => {
|
|
136965
|
-
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-
|
|
137021
|
+
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-B0GxfKRu.js");
|
|
136966
137022
|
return { id: id18, diagram: diagram2 };
|
|
136967
137023
|
}, "loader");
|
|
136968
137024
|
var plugin16 = {
|
|
@@ -136976,7 +137032,7 @@ var detector19 = /* @__PURE__ */ __name((txt) => {
|
|
|
136976
137032
|
return /^\s*timeline/.test(txt);
|
|
136977
137033
|
}, "detector");
|
|
136978
137034
|
var loader19 = /* @__PURE__ */ __name(async () => {
|
|
136979
|
-
const { diagram: diagram2 } = await import("./timeline-definition-IT6M3QCI-
|
|
137035
|
+
const { diagram: diagram2 } = await import("./timeline-definition-IT6M3QCI-CDEJSclA.js");
|
|
136980
137036
|
return { id: id19, diagram: diagram2 };
|
|
136981
137037
|
}, "loader");
|
|
136982
137038
|
var plugin17 = {
|
|
@@ -136990,7 +137046,7 @@ var detector20 = /* @__PURE__ */ __name((txt) => {
|
|
|
136990
137046
|
return /^\s*mindmap/.test(txt);
|
|
136991
137047
|
}, "detector");
|
|
136992
137048
|
var loader20 = /* @__PURE__ */ __name(async () => {
|
|
136993
|
-
const { diagram: diagram2 } = await import("./mindmap-definition-VGOIOE7T-
|
|
137049
|
+
const { diagram: diagram2 } = await import("./mindmap-definition-VGOIOE7T-CPnGCXl9.js");
|
|
136994
137050
|
return { id: id20, diagram: diagram2 };
|
|
136995
137051
|
}, "loader");
|
|
136996
137052
|
var plugin18 = {
|
|
@@ -137004,7 +137060,7 @@ var detector21 = /* @__PURE__ */ __name((txt) => {
|
|
|
137004
137060
|
return /^\s*kanban/.test(txt);
|
|
137005
137061
|
}, "detector");
|
|
137006
137062
|
var loader21 = /* @__PURE__ */ __name(async () => {
|
|
137007
|
-
const { diagram: diagram2 } = await import("./kanban-definition-3W4ZIXB7-
|
|
137063
|
+
const { diagram: diagram2 } = await import("./kanban-definition-3W4ZIXB7-BPnM08KT.js");
|
|
137008
137064
|
return { id: id21, diagram: diagram2 };
|
|
137009
137065
|
}, "loader");
|
|
137010
137066
|
var plugin19 = {
|
|
@@ -137018,7 +137074,7 @@ var detector22 = /* @__PURE__ */ __name((txt) => {
|
|
|
137018
137074
|
return /^\s*sankey(-beta)?/.test(txt);
|
|
137019
137075
|
}, "detector");
|
|
137020
137076
|
var loader22 = /* @__PURE__ */ __name(async () => {
|
|
137021
|
-
const { diagram: diagram2 } = await import("./sankeyDiagram-TZEHDZUN-
|
|
137077
|
+
const { diagram: diagram2 } = await import("./sankeyDiagram-TZEHDZUN-CG6DECc6.js");
|
|
137022
137078
|
return { id: id22, diagram: diagram2 };
|
|
137023
137079
|
}, "loader");
|
|
137024
137080
|
var plugin20 = {
|
|
@@ -137032,7 +137088,7 @@ var detector23 = /* @__PURE__ */ __name((txt) => {
|
|
|
137032
137088
|
return /^\s*packet(-beta)?/.test(txt);
|
|
137033
137089
|
}, "detector");
|
|
137034
137090
|
var loader23 = /* @__PURE__ */ __name(async () => {
|
|
137035
|
-
const { diagram: diagram2 } = await import("./diagram-S2PKOQOG-
|
|
137091
|
+
const { diagram: diagram2 } = await import("./diagram-S2PKOQOG-DUV65VxH.js");
|
|
137036
137092
|
return { id: id23, diagram: diagram2 };
|
|
137037
137093
|
}, "loader");
|
|
137038
137094
|
var packet = {
|
|
@@ -137045,7 +137101,7 @@ var detector24 = /* @__PURE__ */ __name((txt) => {
|
|
|
137045
137101
|
return /^\s*radar-beta/.test(txt);
|
|
137046
137102
|
}, "detector");
|
|
137047
137103
|
var loader24 = /* @__PURE__ */ __name(async () => {
|
|
137048
|
-
const { diagram: diagram2 } = await import("./diagram-QEK2KX5R-
|
|
137104
|
+
const { diagram: diagram2 } = await import("./diagram-QEK2KX5R-B65vkBbU.js");
|
|
137049
137105
|
return { id: id24, diagram: diagram2 };
|
|
137050
137106
|
}, "loader");
|
|
137051
137107
|
var radar = {
|
|
@@ -137058,7 +137114,7 @@ var detector25 = /* @__PURE__ */ __name((txt) => {
|
|
|
137058
137114
|
return /^\s*block(-beta)?/.test(txt);
|
|
137059
137115
|
}, "detector");
|
|
137060
137116
|
var loader25 = /* @__PURE__ */ __name(async () => {
|
|
137061
|
-
const { diagram: diagram2 } = await import("./blockDiagram-VD42YOAC-
|
|
137117
|
+
const { diagram: diagram2 } = await import("./blockDiagram-VD42YOAC-oFwYjSKc.js");
|
|
137062
137118
|
return { id: id25, diagram: diagram2 };
|
|
137063
137119
|
}, "loader");
|
|
137064
137120
|
var plugin21 = {
|
|
@@ -137072,7 +137128,7 @@ var detector26 = /* @__PURE__ */ __name((txt) => {
|
|
|
137072
137128
|
return /^\s*architecture/.test(txt);
|
|
137073
137129
|
}, "detector");
|
|
137074
137130
|
var loader26 = /* @__PURE__ */ __name(async () => {
|
|
137075
|
-
const { diagram: diagram2 } = await import("./architectureDiagram-VXUJARFQ-
|
|
137131
|
+
const { diagram: diagram2 } = await import("./architectureDiagram-VXUJARFQ-CYVR-HeO.js");
|
|
137076
137132
|
return { id: id26, diagram: diagram2 };
|
|
137077
137133
|
}, "loader");
|
|
137078
137134
|
var architecture = {
|
|
@@ -137086,7 +137142,7 @@ var detector27 = /* @__PURE__ */ __name((txt) => {
|
|
|
137086
137142
|
return /^\s*treemap/.test(txt);
|
|
137087
137143
|
}, "detector");
|
|
137088
137144
|
var loader27 = /* @__PURE__ */ __name(async () => {
|
|
137089
|
-
const { diagram: diagram2 } = await import("./diagram-PSM6KHXK-
|
|
137145
|
+
const { diagram: diagram2 } = await import("./diagram-PSM6KHXK-B4UG8ra3.js");
|
|
137090
137146
|
return { id: id27, diagram: diagram2 };
|
|
137091
137147
|
}, "loader");
|
|
137092
137148
|
var treemap = {
|
|
@@ -154799,7 +154855,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
|
|
|
154799
154855
|
var et2 = ({ className: e2, language: t2, style: o3, isIncomplete: n2, ...s2 }) => jsxRuntimeExports.jsx("div", { className: f("my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2", e2), "data-incomplete": n2 || void 0, "data-language": t2, "data-streamdown": "code-block", style: { contentVisibility: "auto", containIntrinsicSize: "auto 200px", ...o3 }, ...s2 });
|
|
154800
154856
|
var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
|
|
154801
154857
|
var ot2 = ({ language: e2 }) => jsxRuntimeExports.jsx("div", { className: "flex h-8 items-center text-muted-foreground text-xs", "data-language": e2, "data-streamdown": "code-block-header", children: jsxRuntimeExports.jsx("span", { className: "ml-1 font-mono lowercase", children: e2 }) });
|
|
154802
|
-
var cn = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-
|
|
154858
|
+
var cn = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-CGZmJ48I.js").then((e2) => ({ default: e2.HighlightedCodeBlockBody }))), rt = ({ code: e2, language: t2, className: o3, children: n2, isIncomplete: s2 = false, ...r2 }) => {
|
|
154803
154859
|
let i2 = reactExports.useMemo(() => e2.replace(cn, ""), [e2]), c2 = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i2.split(`
|
|
154804
154860
|
`).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i2]);
|
|
154805
154861
|
return jsxRuntimeExports.jsx(Se.Provider, { value: { code: e2 }, children: jsxRuntimeExports.jsxs(et2, { isIncomplete: s2, language: t2, children: [jsxRuntimeExports.jsx(ot2, { language: t2 }), n2 ? jsxRuntimeExports.jsx("div", { className: "pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end", children: jsxRuntimeExports.jsx("div", { className: "pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur", "data-streamdown": "code-block-actions", children: n2 }) }) : null, jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: jsxRuntimeExports.jsx(Qe, { className: o3, language: t2, result: c2, ...r2 }), children: jsxRuntimeExports.jsx(dn, { className: o3, code: i2, language: t2, raw: c2, ...r2 }) })] }) });
|
|
@@ -155121,7 +155177,7 @@ var Dt = ({ children: e2, className: t2, onDownload: o3, onError: n2 }) => {
|
|
|
155121
155177
|
}, []), jsxRuntimeExports.jsxs("div", { className: "relative", ref: i2, children: [jsxRuntimeExports.jsx("button", { className: f("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50", t2), disabled: c2, onClick: () => r2(!s2), title: "Download table", type: "button", children: e2 != null ? e2 : jsxRuntimeExports.jsx(Z, { size: 14 }) }), s2 ? jsxRuntimeExports.jsxs("div", { className: "absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg", children: [jsxRuntimeExports.jsx("button", { className: "w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40", onClick: () => a2("csv"), title: "Download table as CSV", type: "button", children: "CSV" }), jsxRuntimeExports.jsx("button", { className: "w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40", onClick: () => a2("markdown"), title: "Download table as Markdown", type: "button", children: "Markdown" })] }) : null] });
|
|
155122
155178
|
};
|
|
155123
155179
|
var Vt = ({ children: e2, className: t2, showControls: o3, ...n2 }) => jsxRuntimeExports.jsxs("div", { className: "my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2", "data-streamdown": "table-wrapper", children: [o3 ? jsxRuntimeExports.jsxs("div", { className: "flex items-center justify-end gap-1", children: [jsxRuntimeExports.jsx(Ht, {}), jsxRuntimeExports.jsx(Dt, {})] }) : null, jsxRuntimeExports.jsx("div", { className: "border-collapse overflow-x-auto overscroll-y-auto rounded-md border border-border bg-background", children: jsxRuntimeExports.jsx("table", { className: f("w-full divide-y divide-border", t2), "data-streamdown": "table", ...n2, children: e2 }) })] });
|
|
155124
|
-
var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-
|
|
155180
|
+
var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-Dyndt6u2.js").then((e2) => ({ default: e2.Mermaid }))), Kn = /language-([^\s]+)/;
|
|
155125
155181
|
function ke(e2, t2) {
|
|
155126
155182
|
if (!(e2 != null && e2.position || t2 != null && t2.position)) return true;
|
|
155127
155183
|
if (!(e2 != null && e2.position && (t2 != null && t2.position))) return false;
|
|
@@ -155801,19 +155857,19 @@ function useFileTabs(workspaceId) {
|
|
|
155801
155857
|
};
|
|
155802
155858
|
}
|
|
155803
155859
|
const DESKTOP_QUERY = "(min-width: 1024px)";
|
|
155804
|
-
function subscribe(cb) {
|
|
155860
|
+
function subscribe$1(cb) {
|
|
155805
155861
|
const mql = window.matchMedia(DESKTOP_QUERY);
|
|
155806
155862
|
mql.addEventListener("change", cb);
|
|
155807
155863
|
return () => mql.removeEventListener("change", cb);
|
|
155808
155864
|
}
|
|
155809
|
-
function getSnapshot() {
|
|
155865
|
+
function getSnapshot$1() {
|
|
155810
155866
|
return window.matchMedia(DESKTOP_QUERY).matches;
|
|
155811
155867
|
}
|
|
155812
155868
|
function getServerSnapshot() {
|
|
155813
155869
|
return false;
|
|
155814
155870
|
}
|
|
155815
155871
|
function useIsDesktop() {
|
|
155816
|
-
return reactExports.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
|
155872
|
+
return reactExports.useSyncExternalStore(subscribe$1, getSnapshot$1, getServerSnapshot);
|
|
155817
155873
|
}
|
|
155818
155874
|
function storageKey(workspaceId) {
|
|
155819
155875
|
return `band-tab-state:${workspaceId}`;
|
|
@@ -157204,6 +157260,48 @@ function injectInitialUrls(layout, urls) {
|
|
|
157204
157260
|
if (!changed) return layout;
|
|
157205
157261
|
return { ...layout, panels: nextPanels };
|
|
157206
157262
|
}
|
|
157263
|
+
let domOverlayCount = 0;
|
|
157264
|
+
let manualHoldCount = 0;
|
|
157265
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
157266
|
+
let lastEmitted = false;
|
|
157267
|
+
function isFrozen() {
|
|
157268
|
+
return domOverlayCount + manualHoldCount > 0;
|
|
157269
|
+
}
|
|
157270
|
+
function emitIfChanged() {
|
|
157271
|
+
const next2 = isFrozen();
|
|
157272
|
+
if (next2 === lastEmitted) return;
|
|
157273
|
+
lastEmitted = next2;
|
|
157274
|
+
for (const l4 of listeners) l4();
|
|
157275
|
+
}
|
|
157276
|
+
function subscribe(l4) {
|
|
157277
|
+
listeners.add(l4);
|
|
157278
|
+
return () => {
|
|
157279
|
+
listeners.delete(l4);
|
|
157280
|
+
};
|
|
157281
|
+
}
|
|
157282
|
+
function getSnapshot() {
|
|
157283
|
+
return lastEmitted;
|
|
157284
|
+
}
|
|
157285
|
+
function useBrowserPaneFrozen() {
|
|
157286
|
+
return reactExports.useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
|
|
157287
|
+
}
|
|
157288
|
+
function acquireFreezeHold() {
|
|
157289
|
+
manualHoldCount += 1;
|
|
157290
|
+
emitIfChanged();
|
|
157291
|
+
let released = false;
|
|
157292
|
+
return () => {
|
|
157293
|
+
if (released) return;
|
|
157294
|
+
released = true;
|
|
157295
|
+
manualHoldCount = Math.max(0, manualHoldCount - 1);
|
|
157296
|
+
emitIfChanged();
|
|
157297
|
+
};
|
|
157298
|
+
}
|
|
157299
|
+
function useFreezeWhile(open2) {
|
|
157300
|
+
reactExports.useEffect(() => {
|
|
157301
|
+
if (!open2) return;
|
|
157302
|
+
return acquireFreezeHold();
|
|
157303
|
+
}, [open2]);
|
|
157304
|
+
}
|
|
157207
157305
|
const DEFAULT_OPTIONS = {
|
|
157208
157306
|
caseSensitive: false,
|
|
157209
157307
|
wholeWord: false,
|
|
@@ -157358,10 +157456,52 @@ function useBrowserFindInPage({
|
|
|
157358
157456
|
searchBarRef
|
|
157359
157457
|
};
|
|
157360
157458
|
}
|
|
157459
|
+
const AUTOCOMPLETE_DEBOUNCE_MS = 50;
|
|
157460
|
+
const AUTOCOMPLETE_BLUR_CLOSE_MS = 100;
|
|
157361
157461
|
function useBrowserPaneControls(args) {
|
|
157362
|
-
const { key: key2, keyName: keyName2, currentUrlRef, setInputUrl, inputUrl, onNavigate } = args;
|
|
157462
|
+
const { key: key2, keyName: keyName2, workspaceId, currentUrlRef, setInputUrl, inputUrl, onNavigate } = args;
|
|
157363
157463
|
const find2 = useBrowserFindInPage({ key: key2, keyName: keyName2 });
|
|
157364
157464
|
const addressInputFocusedRef = reactExports.useRef(false);
|
|
157465
|
+
const [autocompleteItems, setAutocompleteItems] = reactExports.useState([]);
|
|
157466
|
+
const [autocompleteIsOpen, setAutocompleteIsOpen] = reactExports.useState(false);
|
|
157467
|
+
const [autocompleteSelectedIndex, setAutocompleteSelectedIndex] = reactExports.useState(0);
|
|
157468
|
+
useFreezeWhile(autocompleteIsOpen);
|
|
157469
|
+
const closeAutocomplete = reactExports.useCallback(() => {
|
|
157470
|
+
setAutocompleteIsOpen(false);
|
|
157471
|
+
setAutocompleteItems([]);
|
|
157472
|
+
setAutocompleteSelectedIndex(0);
|
|
157473
|
+
}, []);
|
|
157474
|
+
reactExports.useEffect(() => {
|
|
157475
|
+
if (!addressInputFocusedRef.current) return;
|
|
157476
|
+
const trimmed = inputUrl.trim();
|
|
157477
|
+
if (trimmed === "") {
|
|
157478
|
+
closeAutocomplete();
|
|
157479
|
+
return;
|
|
157480
|
+
}
|
|
157481
|
+
if (trimmed === currentUrlRef.current.trim()) {
|
|
157482
|
+
closeAutocomplete();
|
|
157483
|
+
return;
|
|
157484
|
+
}
|
|
157485
|
+
let cancelled = false;
|
|
157486
|
+
const handle2 = setTimeout(() => {
|
|
157487
|
+
trpc.history.search.query({ workspaceId, query: trimmed, limit: 8 }).then((result) => {
|
|
157488
|
+
if (cancelled) return;
|
|
157489
|
+
if (result.entries.length === 0) {
|
|
157490
|
+
closeAutocomplete();
|
|
157491
|
+
return;
|
|
157492
|
+
}
|
|
157493
|
+
setAutocompleteItems(result.entries);
|
|
157494
|
+
setAutocompleteIsOpen(true);
|
|
157495
|
+
setAutocompleteSelectedIndex(0);
|
|
157496
|
+
}).catch(() => {
|
|
157497
|
+
if (!cancelled) closeAutocomplete();
|
|
157498
|
+
});
|
|
157499
|
+
}, AUTOCOMPLETE_DEBOUNCE_MS);
|
|
157500
|
+
return () => {
|
|
157501
|
+
cancelled = true;
|
|
157502
|
+
clearTimeout(handle2);
|
|
157503
|
+
};
|
|
157504
|
+
}, [inputUrl, workspaceId, closeAutocomplete, currentUrlRef]);
|
|
157365
157505
|
const handleAddressFocus = reactExports.useCallback((e2) => {
|
|
157366
157506
|
addressInputFocusedRef.current = true;
|
|
157367
157507
|
e2.target.select();
|
|
@@ -157369,11 +157509,41 @@ function useBrowserPaneControls(args) {
|
|
|
157369
157509
|
const handleAddressBlur = reactExports.useCallback(() => {
|
|
157370
157510
|
addressInputFocusedRef.current = false;
|
|
157371
157511
|
setInputUrl(currentUrlRef.current);
|
|
157372
|
-
|
|
157512
|
+
setTimeout(() => {
|
|
157513
|
+
if (!addressInputFocusedRef.current) closeAutocomplete();
|
|
157514
|
+
}, AUTOCOMPLETE_BLUR_CLOSE_MS);
|
|
157515
|
+
}, [currentUrlRef, setInputUrl, closeAutocomplete]);
|
|
157373
157516
|
const handleAddressKeyDown = reactExports.useCallback(
|
|
157374
157517
|
(e2) => {
|
|
157518
|
+
if (autocompleteIsOpen) {
|
|
157519
|
+
if (e2.key === "ArrowDown") {
|
|
157520
|
+
e2.preventDefault();
|
|
157521
|
+
setAutocompleteSelectedIndex((i2) => Math.min(i2 + 1, autocompleteItems.length - 1));
|
|
157522
|
+
return;
|
|
157523
|
+
}
|
|
157524
|
+
if (e2.key === "ArrowUp") {
|
|
157525
|
+
e2.preventDefault();
|
|
157526
|
+
setAutocompleteSelectedIndex((i2) => Math.max(i2 - 1, 0));
|
|
157527
|
+
return;
|
|
157528
|
+
}
|
|
157529
|
+
if (e2.key === "Enter") {
|
|
157530
|
+
const selected = autocompleteItems[autocompleteSelectedIndex];
|
|
157531
|
+
if (selected) {
|
|
157532
|
+
e2.preventDefault();
|
|
157533
|
+
closeAutocomplete();
|
|
157534
|
+
onNavigate(selected.url);
|
|
157535
|
+
return;
|
|
157536
|
+
}
|
|
157537
|
+
}
|
|
157538
|
+
if (e2.key === "Escape") {
|
|
157539
|
+
e2.preventDefault();
|
|
157540
|
+
closeAutocomplete();
|
|
157541
|
+
return;
|
|
157542
|
+
}
|
|
157543
|
+
}
|
|
157375
157544
|
if (e2.key === "Enter") {
|
|
157376
157545
|
e2.preventDefault();
|
|
157546
|
+
closeAutocomplete();
|
|
157377
157547
|
onNavigate(inputUrl);
|
|
157378
157548
|
return;
|
|
157379
157549
|
}
|
|
@@ -157386,7 +157556,16 @@ function useBrowserPaneControls(args) {
|
|
|
157386
157556
|
});
|
|
157387
157557
|
}
|
|
157388
157558
|
},
|
|
157389
|
-
[
|
|
157559
|
+
[
|
|
157560
|
+
inputUrl,
|
|
157561
|
+
onNavigate,
|
|
157562
|
+
setInputUrl,
|
|
157563
|
+
currentUrlRef,
|
|
157564
|
+
autocompleteIsOpen,
|
|
157565
|
+
autocompleteItems,
|
|
157566
|
+
autocompleteSelectedIndex,
|
|
157567
|
+
closeAutocomplete
|
|
157568
|
+
]
|
|
157390
157569
|
);
|
|
157391
157570
|
const handlePaneKeyDown = reactExports.useCallback(
|
|
157392
157571
|
(e2) => {
|
|
@@ -157417,6 +157596,13 @@ function useBrowserPaneControls(args) {
|
|
|
157417
157596
|
handleAddressKeyDown,
|
|
157418
157597
|
handlePaneKeyDown,
|
|
157419
157598
|
handleToggleDevTools,
|
|
157599
|
+
autocomplete: {
|
|
157600
|
+
isOpen: autocompleteIsOpen,
|
|
157601
|
+
items: autocompleteItems,
|
|
157602
|
+
selectedIndex: autocompleteSelectedIndex,
|
|
157603
|
+
close: closeAutocomplete,
|
|
157604
|
+
setSelectedIndex: setAutocompleteSelectedIndex
|
|
157605
|
+
},
|
|
157420
157606
|
paneDataAttrs: {
|
|
157421
157607
|
"data-band-browser-pane": "",
|
|
157422
157608
|
"data-band-browser-pane-key": key2,
|
|
@@ -157424,6 +157610,111 @@ function useBrowserPaneControls(args) {
|
|
|
157424
157610
|
}
|
|
157425
157611
|
};
|
|
157426
157612
|
}
|
|
157613
|
+
function waitForPaint() {
|
|
157614
|
+
return new Promise((resolve2) => {
|
|
157615
|
+
requestAnimationFrame(() => requestAnimationFrame(() => resolve2()));
|
|
157616
|
+
});
|
|
157617
|
+
}
|
|
157618
|
+
function useBrowserPaneFreeze(args) {
|
|
157619
|
+
const { created, visible, ipcKeyRef } = args;
|
|
157620
|
+
const frozen = useBrowserPaneFrozen();
|
|
157621
|
+
const [snapshot, setSnapshot] = reactExports.useState(null);
|
|
157622
|
+
const freezeAppliedRef = reactExports.useRef(false);
|
|
157623
|
+
reactExports.useEffect(() => {
|
|
157624
|
+
if (!isDesktop || !created) return;
|
|
157625
|
+
let cancelled = false;
|
|
157626
|
+
if (frozen) {
|
|
157627
|
+
if (!visible) return;
|
|
157628
|
+
const ipcKey = ipcKeyRef.current;
|
|
157629
|
+
(async () => {
|
|
157630
|
+
try {
|
|
157631
|
+
const dataUrl = await invoke("browser_capture_page", ipcKey);
|
|
157632
|
+
if (!cancelled && dataUrl) {
|
|
157633
|
+
reactDomExports.flushSync(() => setSnapshot(dataUrl));
|
|
157634
|
+
await waitForPaint();
|
|
157635
|
+
}
|
|
157636
|
+
} catch {
|
|
157637
|
+
}
|
|
157638
|
+
if (cancelled) return;
|
|
157639
|
+
freezeAppliedRef.current = true;
|
|
157640
|
+
invoke("browser_pause_media", ipcKey).catch(() => {
|
|
157641
|
+
});
|
|
157642
|
+
invoke("browser_hide", ipcKey).catch(() => {
|
|
157643
|
+
});
|
|
157644
|
+
})();
|
|
157645
|
+
} else {
|
|
157646
|
+
if (freezeAppliedRef.current) {
|
|
157647
|
+
freezeAppliedRef.current = false;
|
|
157648
|
+
const ipcKey = ipcKeyRef.current;
|
|
157649
|
+
invoke("browser_show", ipcKey).catch(() => {
|
|
157650
|
+
});
|
|
157651
|
+
invoke("browser_resume_media", ipcKey).catch(() => {
|
|
157652
|
+
});
|
|
157653
|
+
(async () => {
|
|
157654
|
+
await waitForPaint();
|
|
157655
|
+
if (!cancelled) setSnapshot(null);
|
|
157656
|
+
})();
|
|
157657
|
+
} else {
|
|
157658
|
+
setSnapshot(null);
|
|
157659
|
+
}
|
|
157660
|
+
}
|
|
157661
|
+
return () => {
|
|
157662
|
+
cancelled = true;
|
|
157663
|
+
};
|
|
157664
|
+
}, [frozen, created, visible, ipcKeyRef]);
|
|
157665
|
+
return { snapshot };
|
|
157666
|
+
}
|
|
157667
|
+
function AddressBarAutocomplete({ state: state2, onSelect }) {
|
|
157668
|
+
if (!state2.isOpen || state2.items.length === 0) return null;
|
|
157669
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157670
|
+
"div",
|
|
157671
|
+
{
|
|
157672
|
+
className: "absolute top-full left-0 right-0 z-20 mx-2 mt-1 overflow-hidden rounded-md border border-border bg-popover shadow-md",
|
|
157673
|
+
onMouseDown: (e2) => {
|
|
157674
|
+
e2.preventDefault();
|
|
157675
|
+
},
|
|
157676
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: "max-h-80 overflow-y-auto py-1", children: state2.items.map((item, index2) => {
|
|
157677
|
+
const selected = index2 === state2.selectedIndex;
|
|
157678
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
157679
|
+
"button",
|
|
157680
|
+
{
|
|
157681
|
+
type: "button",
|
|
157682
|
+
onMouseDown: (e2) => {
|
|
157683
|
+
e2.preventDefault();
|
|
157684
|
+
onSelect(item.url);
|
|
157685
|
+
state2.close();
|
|
157686
|
+
},
|
|
157687
|
+
onMouseEnter: () => state2.setSelectedIndex(index2),
|
|
157688
|
+
className: `flex w-full items-center gap-2 px-3 py-1.5 text-left text-sm transition-colors ${selected ? "bg-accent text-foreground" : "text-foreground hover:bg-accent/60"}`,
|
|
157689
|
+
children: [
|
|
157690
|
+
item.faviconUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157691
|
+
"img",
|
|
157692
|
+
{
|
|
157693
|
+
src: item.faviconUrl,
|
|
157694
|
+
alt: "",
|
|
157695
|
+
className: "size-4 shrink-0 rounded-sm",
|
|
157696
|
+
onError: (e2) => {
|
|
157697
|
+
e2.currentTarget.style.display = "none";
|
|
157698
|
+
}
|
|
157699
|
+
}
|
|
157700
|
+
) : /* @__PURE__ */ jsxRuntimeExports.jsx(Globe, { className: "size-4 shrink-0 text-muted-foreground" }),
|
|
157701
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
157702
|
+
item.title ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "truncate font-medium leading-tight", children: item.title }) : null,
|
|
157703
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157704
|
+
"span",
|
|
157705
|
+
{
|
|
157706
|
+
className: `truncate text-xs leading-tight ${item.title ? "text-muted-foreground" : "text-foreground"}`,
|
|
157707
|
+
children: item.url
|
|
157708
|
+
}
|
|
157709
|
+
)
|
|
157710
|
+
] })
|
|
157711
|
+
]
|
|
157712
|
+
}
|
|
157713
|
+
) }, item.id);
|
|
157714
|
+
}) })
|
|
157715
|
+
}
|
|
157716
|
+
);
|
|
157717
|
+
}
|
|
157427
157718
|
function BrowserFindBar({ find: find2 }) {
|
|
157428
157719
|
if (!find2.isOpen) return null;
|
|
157429
157720
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -157443,6 +157734,213 @@ function BrowserFindBar({ find: find2 }) {
|
|
|
157443
157734
|
}
|
|
157444
157735
|
);
|
|
157445
157736
|
}
|
|
157737
|
+
const SEARCH_DEBOUNCE_MS = 150;
|
|
157738
|
+
const LIST_LIMIT = 200;
|
|
157739
|
+
function groupByDay(entries2) {
|
|
157740
|
+
const groups = /* @__PURE__ */ new Map();
|
|
157741
|
+
const order2 = [];
|
|
157742
|
+
for (const entry of entries2) {
|
|
157743
|
+
const dayKey = dayKeyFor(entry.lastVisitedAt);
|
|
157744
|
+
let group = groups.get(dayKey);
|
|
157745
|
+
if (!group) {
|
|
157746
|
+
group = { label: labelFor(dayKey), entries: [] };
|
|
157747
|
+
groups.set(dayKey, group);
|
|
157748
|
+
order2.push(dayKey);
|
|
157749
|
+
}
|
|
157750
|
+
group.entries.push(entry);
|
|
157751
|
+
}
|
|
157752
|
+
return order2.map((k2) => groups.get(k2));
|
|
157753
|
+
}
|
|
157754
|
+
function dayKeyFor(ts) {
|
|
157755
|
+
const d2 = new Date(ts);
|
|
157756
|
+
const y3 = d2.getFullYear();
|
|
157757
|
+
const m2 = String(d2.getMonth() + 1).padStart(2, "0");
|
|
157758
|
+
const day = String(d2.getDate()).padStart(2, "0");
|
|
157759
|
+
return `${y3}-${m2}-${day}`;
|
|
157760
|
+
}
|
|
157761
|
+
function labelFor(dayKey) {
|
|
157762
|
+
const now2 = /* @__PURE__ */ new Date();
|
|
157763
|
+
const today = dayKeyFor(now2.getTime());
|
|
157764
|
+
const yesterdayDate = new Date(now2.getFullYear(), now2.getMonth(), now2.getDate() - 1);
|
|
157765
|
+
const yesterday = dayKeyFor(yesterdayDate.getTime());
|
|
157766
|
+
if (dayKey === today) return "Today";
|
|
157767
|
+
if (dayKey === yesterday) return "Yesterday";
|
|
157768
|
+
const [y3, m2, d2] = dayKey.split("-").map(Number);
|
|
157769
|
+
const date2 = new Date(y3, m2 - 1, d2);
|
|
157770
|
+
const daysSince = Math.floor((Date.now() - date2.getTime()) / (24 * 60 * 60 * 1e3));
|
|
157771
|
+
if (daysSince <= 7) {
|
|
157772
|
+
return date2.toLocaleDateString(void 0, { weekday: "long", month: "short", day: "numeric" });
|
|
157773
|
+
}
|
|
157774
|
+
return date2.toLocaleDateString(void 0, { year: "numeric", month: "short", day: "numeric" });
|
|
157775
|
+
}
|
|
157776
|
+
function timeFor(ts) {
|
|
157777
|
+
return new Date(ts).toLocaleTimeString(void 0, { hour: "numeric", minute: "2-digit" });
|
|
157778
|
+
}
|
|
157779
|
+
function HistoryPopover({ workspaceId, onNavigate }) {
|
|
157780
|
+
const searchId = reactExports.useId();
|
|
157781
|
+
const [open2, setOpen] = reactExports.useState(false);
|
|
157782
|
+
const [query, setQuery] = reactExports.useState("");
|
|
157783
|
+
const [entries2, setEntries] = reactExports.useState([]);
|
|
157784
|
+
const [loading, setLoading] = reactExports.useState(false);
|
|
157785
|
+
const [reloadKey, setReloadKey] = reactExports.useState(0);
|
|
157786
|
+
const refresh = reactExports.useCallback(() => {
|
|
157787
|
+
setReloadKey((k2) => k2 + 1);
|
|
157788
|
+
}, []);
|
|
157789
|
+
reactExports.useEffect(() => {
|
|
157790
|
+
if (!open2) return;
|
|
157791
|
+
let cancelled = false;
|
|
157792
|
+
setLoading(true);
|
|
157793
|
+
const trimmed = query.trim();
|
|
157794
|
+
const fire = () => {
|
|
157795
|
+
const promise = trimmed ? trpc.history.search.query({ workspaceId, query: trimmed, limit: 50 }) : trpc.history.list.query({ workspaceId, limit: LIST_LIMIT });
|
|
157796
|
+
promise.then((result) => {
|
|
157797
|
+
if (cancelled) return;
|
|
157798
|
+
setEntries(result.entries);
|
|
157799
|
+
}).catch(() => {
|
|
157800
|
+
if (!cancelled) setEntries([]);
|
|
157801
|
+
}).finally(() => {
|
|
157802
|
+
if (!cancelled) setLoading(false);
|
|
157803
|
+
});
|
|
157804
|
+
};
|
|
157805
|
+
const delay = trimmed ? SEARCH_DEBOUNCE_MS : 0;
|
|
157806
|
+
const handle2 = setTimeout(fire, delay);
|
|
157807
|
+
return () => {
|
|
157808
|
+
cancelled = true;
|
|
157809
|
+
clearTimeout(handle2);
|
|
157810
|
+
};
|
|
157811
|
+
}, [open2, query, workspaceId, reloadKey]);
|
|
157812
|
+
const groups = reactExports.useMemo(() => groupByDay(entries2), [entries2]);
|
|
157813
|
+
const handleNavigate = reactExports.useCallback(
|
|
157814
|
+
(url) => {
|
|
157815
|
+
onNavigate(url);
|
|
157816
|
+
setOpen(false);
|
|
157817
|
+
},
|
|
157818
|
+
[onNavigate]
|
|
157819
|
+
);
|
|
157820
|
+
const handleDelete2 = reactExports.useCallback(
|
|
157821
|
+
async (id28) => {
|
|
157822
|
+
await trpc.history.delete.mutate({ id: id28, workspaceId }).catch(() => {
|
|
157823
|
+
});
|
|
157824
|
+
refresh();
|
|
157825
|
+
},
|
|
157826
|
+
[refresh, workspaceId]
|
|
157827
|
+
);
|
|
157828
|
+
const handleClear = reactExports.useCallback(
|
|
157829
|
+
async (range2) => {
|
|
157830
|
+
await trpc.history.clear.mutate({ workspaceId, range: range2 }).catch(() => {
|
|
157831
|
+
});
|
|
157832
|
+
refresh();
|
|
157833
|
+
},
|
|
157834
|
+
[refresh, workspaceId]
|
|
157835
|
+
);
|
|
157836
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Popover, { open: open2, onOpenChange: setOpen, children: [
|
|
157837
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157838
|
+
"button",
|
|
157839
|
+
{
|
|
157840
|
+
type: "button",
|
|
157841
|
+
className: "flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
157842
|
+
title: "History",
|
|
157843
|
+
"aria-label": "Browser history",
|
|
157844
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(History, { className: "size-4" })
|
|
157845
|
+
}
|
|
157846
|
+
) }),
|
|
157847
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
157848
|
+
PopoverContent,
|
|
157849
|
+
{
|
|
157850
|
+
align: "end",
|
|
157851
|
+
sideOffset: 6,
|
|
157852
|
+
className: "w-[440px] p-0",
|
|
157853
|
+
onOpenAutoFocus: (e2) => {
|
|
157854
|
+
e2.preventDefault();
|
|
157855
|
+
const input = document.getElementById(searchId);
|
|
157856
|
+
if (input) input.focus();
|
|
157857
|
+
},
|
|
157858
|
+
children: [
|
|
157859
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2 border-b border-border px-3 py-2", children: [
|
|
157860
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Search, { className: "size-4 shrink-0 text-muted-foreground" }),
|
|
157861
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157862
|
+
"input",
|
|
157863
|
+
{
|
|
157864
|
+
id: searchId,
|
|
157865
|
+
type: "text",
|
|
157866
|
+
value: query,
|
|
157867
|
+
onChange: (e2) => setQuery(e2.target.value),
|
|
157868
|
+
placeholder: "Search history",
|
|
157869
|
+
className: "min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground"
|
|
157870
|
+
}
|
|
157871
|
+
)
|
|
157872
|
+
] }),
|
|
157873
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "max-h-[420px] overflow-y-auto", children: loading && entries2.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "px-3 py-6 text-center text-sm text-muted-foreground", children: "Loading…" }) : groups.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "px-3 py-6 text-center text-sm text-muted-foreground", children: query ? "No matching history" : "No history yet" }) : groups.map((group) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
157874
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "sticky top-0 z-10 border-b border-border bg-popover px-3 py-1 text-xs font-medium text-muted-foreground", children: group.label }),
|
|
157875
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: group.entries.map((entry) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
157876
|
+
"li",
|
|
157877
|
+
{
|
|
157878
|
+
className: "group flex items-center gap-2 px-3 py-1.5 hover:bg-accent/60",
|
|
157879
|
+
children: [
|
|
157880
|
+
entry.faviconUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157881
|
+
"img",
|
|
157882
|
+
{
|
|
157883
|
+
src: entry.faviconUrl,
|
|
157884
|
+
alt: "",
|
|
157885
|
+
className: "size-4 shrink-0 rounded-sm",
|
|
157886
|
+
onError: (e2) => {
|
|
157887
|
+
e2.currentTarget.style.display = "none";
|
|
157888
|
+
}
|
|
157889
|
+
}
|
|
157890
|
+
) : /* @__PURE__ */ jsxRuntimeExports.jsx(Globe, { className: "size-4 shrink-0 text-muted-foreground" }),
|
|
157891
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
157892
|
+
"button",
|
|
157893
|
+
{
|
|
157894
|
+
type: "button",
|
|
157895
|
+
onClick: () => handleNavigate(entry.url),
|
|
157896
|
+
className: "flex min-w-0 flex-1 flex-col text-left",
|
|
157897
|
+
children: [
|
|
157898
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "truncate text-sm font-medium leading-tight text-foreground", children: entry.title || entry.url }),
|
|
157899
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "truncate text-xs leading-tight text-muted-foreground", children: entry.url })
|
|
157900
|
+
]
|
|
157901
|
+
}
|
|
157902
|
+
),
|
|
157903
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "shrink-0 text-xs text-muted-foreground tabular-nums", children: timeFor(entry.lastVisitedAt) }),
|
|
157904
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157905
|
+
"button",
|
|
157906
|
+
{
|
|
157907
|
+
type: "button",
|
|
157908
|
+
onClick: () => handleDelete2(entry.id),
|
|
157909
|
+
className: "rounded p-1 text-muted-foreground opacity-0 transition-opacity hover:bg-destructive/10 hover:text-destructive group-hover:opacity-100",
|
|
157910
|
+
title: "Delete entry",
|
|
157911
|
+
"aria-label": "Delete entry",
|
|
157912
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Trash2, { className: "size-3.5" })
|
|
157913
|
+
}
|
|
157914
|
+
)
|
|
157915
|
+
]
|
|
157916
|
+
},
|
|
157917
|
+
entry.id
|
|
157918
|
+
)) })
|
|
157919
|
+
] }, group.label)) }),
|
|
157920
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center justify-end border-t border-border px-3 py-2", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(DropdownMenu, { children: [
|
|
157921
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
157922
|
+
"button",
|
|
157923
|
+
{
|
|
157924
|
+
type: "button",
|
|
157925
|
+
className: "flex items-center gap-1 rounded px-2 py-1 text-xs text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
157926
|
+
children: [
|
|
157927
|
+
"Clear ",
|
|
157928
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "size-3" })
|
|
157929
|
+
]
|
|
157930
|
+
}
|
|
157931
|
+
) }),
|
|
157932
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(DropdownMenuContent, { align: "end", children: [
|
|
157933
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuItem, { onSelect: () => handleClear("hour"), children: "Last hour" }),
|
|
157934
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuItem, { onSelect: () => handleClear("day"), children: "Last 24 hours" }),
|
|
157935
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuItem, { onSelect: () => handleClear("week"), children: "Last week" }),
|
|
157936
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuItem, { onSelect: () => handleClear("all"), children: "All time" })
|
|
157937
|
+
] })
|
|
157938
|
+
] }) })
|
|
157939
|
+
]
|
|
157940
|
+
}
|
|
157941
|
+
)
|
|
157942
|
+
] });
|
|
157943
|
+
}
|
|
157446
157944
|
const DEFAULT_URL = "";
|
|
157447
157945
|
const BLANK_URL = "about:blank";
|
|
157448
157946
|
const faviconMap = /* @__PURE__ */ new Map();
|
|
@@ -157466,7 +157964,7 @@ function BrowserPaneComponent({
|
|
|
157466
157964
|
params,
|
|
157467
157965
|
api
|
|
157468
157966
|
}) {
|
|
157469
|
-
const { browserId, initialUrl } = params;
|
|
157967
|
+
const { browserId, initialUrl, workspaceId: workspaceIdParam } = params;
|
|
157470
157968
|
const [currentUrl, setCurrentUrl] = reactExports.useState(() => initialUrl ?? DEFAULT_URL);
|
|
157471
157969
|
const [inputUrl, setInputUrl] = reactExports.useState(() => initialUrl ?? DEFAULT_URL);
|
|
157472
157970
|
const [loading, setLoading] = reactExports.useState(false);
|
|
@@ -157479,6 +157977,16 @@ function BrowserPaneComponent({
|
|
|
157479
157977
|
browserIdRef.current = browserId;
|
|
157480
157978
|
const currentUrlRef = reactExports.useRef(currentUrl);
|
|
157481
157979
|
currentUrlRef.current = currentUrl;
|
|
157980
|
+
const [workspaceId, setWorkspaceId] = reactExports.useState(workspaceIdParam ?? "");
|
|
157981
|
+
const workspaceIdRef = reactExports.useRef(workspaceId);
|
|
157982
|
+
workspaceIdRef.current = workspaceId;
|
|
157983
|
+
const ipcKeyRef = reactExports.useRef({ browserId });
|
|
157984
|
+
ipcKeyRef.current = { browserId };
|
|
157985
|
+
const { snapshot } = useBrowserPaneFreeze({
|
|
157986
|
+
created,
|
|
157987
|
+
visible: api.isVisible && params.wsActive !== false,
|
|
157988
|
+
ipcKeyRef
|
|
157989
|
+
});
|
|
157482
157990
|
const getBounds = reactExports.useCallback(() => {
|
|
157483
157991
|
const el = placeholderRef.current;
|
|
157484
157992
|
if (!el) return null;
|
|
@@ -157494,6 +158002,10 @@ function BrowserPaneComponent({
|
|
|
157494
158002
|
let cancelled = false;
|
|
157495
158003
|
trpc.browsers.get.query({ browserId }).then((result) => {
|
|
157496
158004
|
if (cancelled) return;
|
|
158005
|
+
const ws = result.browser?.workspaceId;
|
|
158006
|
+
if (ws && !workspaceIdRef.current) {
|
|
158007
|
+
setWorkspaceId(ws);
|
|
158008
|
+
}
|
|
157497
158009
|
const url = result.browser?.url;
|
|
157498
158010
|
if (!url || url === "" || url === BLANK_URL) return;
|
|
157499
158011
|
setCurrentUrl(url);
|
|
@@ -157574,11 +158086,21 @@ function BrowserPaneComponent({
|
|
|
157574
158086
|
trpc.browsers.navigate.mutate({ browserId: browserIdRef.current, url }).catch(() => {
|
|
157575
158087
|
});
|
|
157576
158088
|
}, 500);
|
|
158089
|
+
let faviconForHistory;
|
|
157577
158090
|
try {
|
|
157578
158091
|
const origin = new URL(url).origin;
|
|
157579
|
-
|
|
158092
|
+
faviconForHistory = `${origin}/favicon.ico`;
|
|
158093
|
+
setFaviconUrl(browserIdRef.current, faviconForHistory);
|
|
157580
158094
|
} catch {
|
|
157581
158095
|
}
|
|
158096
|
+
if (!event.payload.loading && workspaceIdRef.current) {
|
|
158097
|
+
trpc.history.record.mutate({
|
|
158098
|
+
workspaceId: workspaceIdRef.current,
|
|
158099
|
+
url,
|
|
158100
|
+
faviconUrl: faviconForHistory
|
|
158101
|
+
}).catch(() => {
|
|
158102
|
+
});
|
|
158103
|
+
}
|
|
157582
158104
|
});
|
|
157583
158105
|
unlistenTitle = await listen(
|
|
157584
158106
|
"browser-title-changed",
|
|
@@ -157586,6 +158108,15 @@ function BrowserPaneComponent({
|
|
|
157586
158108
|
if (event.payload.browser_id !== browserIdRef.current) return;
|
|
157587
158109
|
if (event.payload.title) {
|
|
157588
158110
|
api.setTitle(event.payload.title);
|
|
158111
|
+
const url = currentUrlRef.current;
|
|
158112
|
+
if (url && url !== BLANK_URL && workspaceIdRef.current) {
|
|
158113
|
+
trpc.history.updateMeta.mutate({
|
|
158114
|
+
workspaceId: workspaceIdRef.current,
|
|
158115
|
+
url,
|
|
158116
|
+
title: event.payload.title
|
|
158117
|
+
}).catch(() => {
|
|
158118
|
+
});
|
|
158119
|
+
}
|
|
157589
158120
|
}
|
|
157590
158121
|
}
|
|
157591
158122
|
);
|
|
@@ -157729,10 +158260,12 @@ function BrowserPaneComponent({
|
|
|
157729
158260
|
handleAddressKeyDown,
|
|
157730
158261
|
handlePaneKeyDown,
|
|
157731
158262
|
handleToggleDevTools,
|
|
158263
|
+
autocomplete,
|
|
157732
158264
|
paneDataAttrs
|
|
157733
158265
|
} = useBrowserPaneControls({
|
|
157734
158266
|
key: browserId,
|
|
157735
158267
|
keyName: "browserId",
|
|
158268
|
+
workspaceId,
|
|
157736
158269
|
currentUrlRef,
|
|
157737
158270
|
setInputUrl,
|
|
157738
158271
|
inputUrl,
|
|
@@ -157802,6 +158335,7 @@ function BrowserPaneComponent({
|
|
|
157802
158335
|
"data-band-address-input": ""
|
|
157803
158336
|
}
|
|
157804
158337
|
),
|
|
158338
|
+
workspaceId ? /* @__PURE__ */ jsxRuntimeExports.jsx(HistoryPopover, { workspaceId, onNavigate: handleNavigate }) : null,
|
|
157805
158339
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157806
158340
|
"button",
|
|
157807
158341
|
{
|
|
@@ -157820,10 +158354,23 @@ function BrowserPaneComponent({
|
|
|
157820
158354
|
animation: "browser-bar-slide 1.4s ease-in-out infinite"
|
|
157821
158355
|
}
|
|
157822
158356
|
}
|
|
157823
|
-
) })
|
|
158357
|
+
) }),
|
|
158358
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(AddressBarAutocomplete, { state: autocomplete, onSelect: handleNavigate })
|
|
157824
158359
|
] }),
|
|
157825
158360
|
/* @__PURE__ */ jsxRuntimeExports.jsx(BrowserFindBar, { find: find2 }),
|
|
157826
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: placeholderRef, className: "min-h-0 flex-1"
|
|
158361
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: placeholderRef, className: "relative min-h-0 flex-1", children: snapshot ? (
|
|
158362
|
+
// `object-contain object-top` — see the identical block in
|
|
158363
|
+
// `BrowserPanelComponent` for the DevTools-aware rationale.
|
|
158364
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
158365
|
+
"img",
|
|
158366
|
+
{
|
|
158367
|
+
src: snapshot,
|
|
158368
|
+
alt: "",
|
|
158369
|
+
className: "pointer-events-none absolute inset-0 size-full object-contain object-top",
|
|
158370
|
+
draggable: false
|
|
158371
|
+
}
|
|
158372
|
+
)
|
|
158373
|
+
) : null })
|
|
157827
158374
|
] });
|
|
157828
158375
|
}
|
|
157829
158376
|
const freshBrowserIds = /* @__PURE__ */ new Set();
|
|
@@ -174111,7 +174658,7 @@ const PANEL_SHORTCUTS = {
|
|
|
174111
174658
|
browser: "⇧⌘B"
|
|
174112
174659
|
};
|
|
174113
174660
|
const DockviewTerminalContainer = reactExports.lazy(
|
|
174114
|
-
() => import("./DockviewTerminalContainer-
|
|
174661
|
+
() => import("./DockviewTerminalContainer-B5lZSZ8Y.js").then((m2) => ({
|
|
174115
174662
|
default: m2.DockviewTerminalContainer
|
|
174116
174663
|
}))
|
|
174117
174664
|
);
|
|
@@ -175612,11 +176159,11 @@ function RootLayout() {
|
|
|
175612
176159
|
] })
|
|
175613
176160
|
] });
|
|
175614
176161
|
}
|
|
175615
|
-
const $$splitComponentImporter$7 = () => import("./index-
|
|
176162
|
+
const $$splitComponentImporter$7 = () => import("./index-BYATJkV0.js");
|
|
175616
176163
|
const Route$7 = createFileRoute("/")({
|
|
175617
176164
|
component: lazyRouteComponent($$splitComponentImporter$7, "component")
|
|
175618
176165
|
});
|
|
175619
|
-
const $$splitComponentImporter$6 = () => import("./workspace._workspaceId-
|
|
176166
|
+
const $$splitComponentImporter$6 = () => import("./workspace._workspaceId-CVnwrhnX.js");
|
|
175620
176167
|
const Route$6 = createFileRoute("/workspace/$workspaceId")({
|
|
175621
176168
|
component: lazyRouteComponent($$splitComponentImporter$6, "component")
|
|
175622
176169
|
});
|
|
@@ -175635,11 +176182,11 @@ const FindInFileContext = reactExports.createContext({
|
|
|
175635
176182
|
function useFindInFileContext() {
|
|
175636
176183
|
return reactExports.useContext(FindInFileContext);
|
|
175637
176184
|
}
|
|
175638
|
-
const $$splitComponentImporter$5 = () => import("./workspace._workspaceId.index-
|
|
176185
|
+
const $$splitComponentImporter$5 = () => import("./workspace._workspaceId.index-CmBIxfCl.js");
|
|
175639
176186
|
const Route$5 = createFileRoute("/workspace/$workspaceId/")({
|
|
175640
176187
|
component: lazyRouteComponent($$splitComponentImporter$5, "component")
|
|
175641
176188
|
});
|
|
175642
|
-
const $$splitComponentImporter$4 = () => import("./workspace._workspaceId.terminal-
|
|
176189
|
+
const $$splitComponentImporter$4 = () => import("./workspace._workspaceId.terminal-BehWU5SY.js");
|
|
175643
176190
|
const Route$4 = createFileRoute("/workspace/$workspaceId/terminal")({
|
|
175644
176191
|
component: lazyRouteComponent($$splitComponentImporter$4, "component")
|
|
175645
176192
|
});
|
|
@@ -175647,15 +176194,15 @@ const $$splitComponentImporter$3 = () => import("./workspace._workspaceId.code-C
|
|
|
175647
176194
|
const Route$3 = createFileRoute("/workspace/$workspaceId/code")({
|
|
175648
176195
|
component: lazyRouteComponent($$splitComponentImporter$3, "component")
|
|
175649
176196
|
});
|
|
175650
|
-
const $$splitComponentImporter$2 = () => import("./workspace._workspaceId.changes-
|
|
176197
|
+
const $$splitComponentImporter$2 = () => import("./workspace._workspaceId.changes-CsJMr9Ve.js");
|
|
175651
176198
|
const Route$2 = createFileRoute("/workspace/$workspaceId/changes")({
|
|
175652
176199
|
component: lazyRouteComponent($$splitComponentImporter$2, "component")
|
|
175653
176200
|
});
|
|
175654
|
-
const $$splitComponentImporter$1 = () => import("./workspace._workspaceId.code.index-
|
|
176201
|
+
const $$splitComponentImporter$1 = () => import("./workspace._workspaceId.code.index-BhUZuUX-.js");
|
|
175655
176202
|
const Route$1 = createFileRoute("/workspace/$workspaceId/code/")({
|
|
175656
176203
|
component: lazyRouteComponent($$splitComponentImporter$1, "component")
|
|
175657
176204
|
});
|
|
175658
|
-
const $$splitComponentImporter = () => import("./workspace._workspaceId.code._-
|
|
176205
|
+
const $$splitComponentImporter = () => import("./workspace._workspaceId.code._-CjSLVs7D.js");
|
|
175659
176206
|
const Route2 = createFileRoute("/workspace/$workspaceId/code/$")({
|
|
175660
176207
|
component: lazyRouteComponent($$splitComponentImporter, "component")
|
|
175661
176208
|
});
|