@intent-hq/web 2.327.2 → 2.327.4
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/bin/intent-web.mjs +2 -0
- package/package.json +1 -1
- package/web/app/immutable/assets/{14.HorMMNG4.css → 14.CU62PBbE.css} +1 -1
- package/web/app/immutable/assets/16.DdJIHg9f.css +1 -0
- package/web/app/immutable/assets/ChatPanel.B73KM22O.css +1 -0
- package/web/app/immutable/assets/{16.CQiMfhJh.css → DockRecordingEditor.Cpd07eyT.css} +1 -1
- package/web/app/immutable/assets/conversation-turns.BHHyRLdd.css +1 -0
- package/web/app/immutable/chunks/{7k5ozo9c.js → -DqWFMjY.js} +1 -1
- package/web/app/immutable/chunks/{DvnDAxdo.js → 0rLfviYO.js} +1 -1
- package/web/app/immutable/chunks/{BV4AHhCq.js → 13JKYtK_.js} +1 -1
- package/web/app/immutable/chunks/{CAL5qbag.js → 4IYHA49l.js} +1 -1
- package/web/app/immutable/chunks/{C1TwLTiC.js → 4Zskc9_e.js} +1 -1
- package/web/app/immutable/chunks/{DQfuBwT8.js → 4mn3OQkh.js} +1 -1
- package/web/app/immutable/chunks/{BK3YE2GB.js → 5fWnBOdu.js} +1 -1
- package/web/app/immutable/chunks/{Ca3Yads8.js → 5lVDKMGV.js} +4 -4
- package/web/app/immutable/chunks/{Aw3-65IC.js → 95-CBX6k.js} +1 -1
- package/web/app/immutable/chunks/{fSndiqme.js → 9jHc2HrQ.js} +1 -1
- package/web/app/immutable/chunks/{CKjldRop.js → 9o72bVmU.js} +1 -1
- package/web/app/immutable/chunks/{Ou2B083h.js → 9xAB6iEw.js} +3 -3
- package/web/app/immutable/chunks/{BbEZgkca.js → A7QYlP8X.js} +2 -2
- package/web/app/immutable/chunks/{7rjdCDDK.js → B0J8YEPJ.js} +1 -1
- package/web/app/immutable/chunks/{DF5OSHTI.js → B3GFeWXU.js} +1 -1
- package/web/app/immutable/chunks/{DTOenBGo.js → B5JLqeOx.js} +1 -1
- package/web/app/immutable/chunks/{C-am1GTe.js → B6X5Wi93.js} +1 -1
- package/web/app/immutable/chunks/{B-LxAE4l.js → B6hQw8HR.js} +1 -1
- package/web/app/immutable/chunks/B7dOkBeu.js +1 -0
- package/web/app/immutable/chunks/{D4fSLYwV.js → B8AHyIcJ.js} +1 -1
- package/web/app/immutable/chunks/{Bhff3giG.js → B9k9ipWN.js} +1 -1
- package/web/app/immutable/chunks/{HpcR9-ZP.js → B9xeURWe.js} +1 -1
- package/web/app/immutable/chunks/{DeQzn7pT.js → BA1UhUwc.js} +7 -7
- package/web/app/immutable/chunks/{BXo80d0I.js → BAgeXgSf.js} +1 -1
- package/web/app/immutable/chunks/{Gh0Bk6WC.js → BBy57-xG.js} +1 -1
- package/web/app/immutable/chunks/{C9-oKvmU.js → BCc6fRgu.js} +1 -1
- package/web/app/immutable/chunks/{CypQ6Hrf.js → BEOwcfbQ.js} +1 -1
- package/web/app/immutable/chunks/{CLDLGPLG.js → BGT3aL1b.js} +1 -1
- package/web/app/immutable/chunks/BH7mKpum.js +1 -0
- package/web/app/immutable/chunks/{2Yr7qZy-.js → BJptJeKO.js} +1 -1
- package/web/app/immutable/chunks/{ChyK3c5O.js → BJqJJOp_.js} +1 -1
- package/web/app/immutable/chunks/{BxRFeUGV.js → BJyBc51V.js} +1 -1
- package/web/app/immutable/chunks/{D7NWkz7l.js → BL9TmjaL.js} +1 -1
- package/web/app/immutable/chunks/{D4wVqBkS.js → BLyZPAr5.js} +1 -1
- package/web/app/immutable/chunks/{C1vc2ZF2.js → BMtNlV8v.js} +1 -1
- package/web/app/immutable/chunks/{CqnfptVg.js → BOR1_TRO.js} +1 -1
- package/web/app/immutable/chunks/{CpOX1cm0.js → BRdBfY-O.js} +4 -4
- package/web/app/immutable/chunks/{XKfxOi0c.js → BRpgL-_J.js} +1 -1
- package/web/app/immutable/chunks/{C0AexULD.js → BS6nPK7B.js} +1 -1
- package/web/app/immutable/chunks/{DkPB5Gyi.js → BSVsWuXl.js} +1 -1
- package/web/app/immutable/chunks/{DAXKoZjm.js → BT5Z8Ufg.js} +1 -1
- package/web/app/immutable/chunks/{DCo2M5nt.js → BU_i_vpd.js} +1 -1
- package/web/app/immutable/chunks/{BvULLTwA.js → BUsZHo0X.js} +2 -2
- package/web/app/immutable/chunks/BX9t7Lu-.js +190 -0
- package/web/app/immutable/chunks/{DZzTUgIA.js → BY8Jls8O.js} +1 -1
- package/web/app/immutable/chunks/{jgNaB-mi.js → BZ9svoQk.js} +1 -1
- package/web/app/immutable/chunks/{CdlZ8r5v.js → BZKFinnt.js} +1 -1
- package/web/app/immutable/chunks/{Dmq2MLxr.js → BbOZc-at.js} +1 -1
- package/web/app/immutable/chunks/{D_TIL4Xc.js → Bc2kn6EH.js} +1 -1
- package/web/app/immutable/chunks/{M0UFWl_S.js → BdQCA_Nv.js} +1 -1
- package/web/app/immutable/chunks/BdWqymET.js +1 -0
- package/web/app/immutable/chunks/{_tv07_-D.js → Bdhho7CC.js} +1 -1
- package/web/app/immutable/chunks/{Bq9BF2kT.js → BfIdeT8L.js} +1 -1
- package/web/app/immutable/chunks/{Dd-c6aT7.js → BfWiwhpc.js} +1 -1
- package/web/app/immutable/chunks/{BerYBtY0.js → BgxXTSJ6.js} +1 -1
- package/web/app/immutable/chunks/{Q-FVgluz.js → Bjrk7UMZ.js} +1 -1
- package/web/app/immutable/chunks/{RgXiUiyX.js → BmIgxNuB.js} +1 -1
- package/web/app/immutable/chunks/{BJpbRkma.js → BoIGV7s7.js} +1 -1
- package/web/app/immutable/chunks/{D-YrUZis.js → Br_KUH7F.js} +1 -1
- package/web/app/immutable/chunks/{CuimWTUN.js → Bs5pujY-.js} +1 -1
- package/web/app/immutable/chunks/{BclymnXe.js → BtrIIAMB.js} +1 -1
- package/web/app/immutable/chunks/{C6LN2Lq-.js → Bv_0taxh.js} +1 -1
- package/web/app/immutable/chunks/{CDFRtA1F.js → Bw4y3_Ol.js} +1 -1
- package/web/app/immutable/chunks/{BOod2-vo.js → Bxub7VY-.js} +1 -1
- package/web/app/immutable/chunks/{B6ZEHAgn.js → BxxGMnsj.js} +1 -1
- package/web/app/immutable/chunks/BzV5CowC.js +1 -0
- package/web/app/immutable/chunks/{C5bHHEee.js → C3Gi_9p3.js} +1 -1
- package/web/app/immutable/chunks/{dinOFH6z.js → C4Tw7-py.js} +1 -1
- package/web/app/immutable/chunks/{Dr-K85Pz.js → C4xkBjNQ.js} +1 -1
- package/web/app/immutable/chunks/{CPzusSaQ.js → C58HgKcj.js} +1 -1
- package/web/app/immutable/chunks/{ewlOsRgS.js → C5MuNtit.js} +1 -1
- package/web/app/immutable/chunks/{D19QPbvx.js → C5PRf5_x.js} +3 -3
- package/web/app/immutable/chunks/{BbiJIN_E.js → C6DXM5lO.js} +1 -1
- package/web/app/immutable/chunks/{ColHxoku.js → C6bEmXfu.js} +4 -4
- package/web/app/immutable/chunks/{CNZwPZBB.js → C8PcVt0F.js} +1 -1
- package/web/app/immutable/chunks/{DhJNH_hq.js → C9ruBEtx.js} +1 -1
- package/web/app/immutable/chunks/{B4Rscrf6.js → CB_tD4hW.js} +1 -1
- package/web/app/immutable/chunks/{B1nmZwVF.js → CBgs1jD4.js} +1 -1
- package/web/app/immutable/chunks/{D1ynivqZ.js → CIJcws70.js} +1 -1
- package/web/app/immutable/chunks/{BaUvfuFA.js → CKGr2YTz.js} +1 -1
- package/web/app/immutable/chunks/{marbulK7.js → CMR4YeKo.js} +1 -1
- package/web/app/immutable/chunks/{C7eFRIGF.js → CMmbfhfC.js} +1 -1
- package/web/app/immutable/chunks/{C_4hXDel.js → CP2Kg1B4.js} +1 -1
- package/web/app/immutable/chunks/{Dp0wSsDS.js → CPFrNISL.js} +2 -2
- package/web/app/immutable/chunks/{DeB-Py0k.js → CQNA0ds6.js} +1 -1
- package/web/app/immutable/chunks/{BwVx_Xm9.js → CR1VVB-y.js} +1 -1
- package/web/app/immutable/chunks/{D4wUHJ-V.js → CR7xGCmU.js} +1 -1
- package/web/app/immutable/chunks/{CW9PUdij.js → CRCP-bLi.js} +1 -1
- package/web/app/immutable/chunks/{Cwdoe-yo.js → CRinz0qf.js} +1 -1
- package/web/app/immutable/chunks/{CTMsT2IU.js → CRkupLLY.js} +3 -3
- package/web/app/immutable/chunks/{D8dE5NKO.js → CSiaiLHL.js} +1 -1
- package/web/app/immutable/chunks/{B4Qf0RS5.js → CUF2wY0B.js} +1 -1
- package/web/app/immutable/chunks/{D_kdhP8o.js → CUNya7Ty.js} +1 -1
- package/web/app/immutable/chunks/{DgtgAyRj.js → CVCmU8cH.js} +1 -1
- package/web/app/immutable/chunks/{CpPVAOg5.js → CVWsHMge.js} +1 -1
- package/web/app/immutable/chunks/{Cw26kBCe.js → CZnfw8n4.js} +1 -1
- package/web/app/immutable/chunks/{BGUHg5o_.js → Cb0R6qJM.js} +1 -1
- package/web/app/immutable/chunks/{CoZ28bOB.js → CcNhqKh5.js} +1 -1
- package/web/app/immutable/chunks/CdVR7Ll7.js +1 -0
- package/web/app/immutable/chunks/{BJFbczXI.js → CdbmwjaM.js} +1 -1
- package/web/app/immutable/chunks/{COyObFie.js → Cds8-CeJ.js} +1 -1
- package/web/app/immutable/chunks/{jxb5pgpW.js → CgpltzkY.js} +1 -1
- package/web/app/immutable/chunks/{DoKuqfYA.js → Cjxd8cwf.js} +1 -1
- package/web/app/immutable/chunks/{BFQmpH-Y.js → ClIEAc52.js} +1 -1
- package/web/app/immutable/chunks/{BedviAdk.js → CmPULPQO.js} +1 -1
- package/web/app/immutable/chunks/{Cy1SRgRj.js → CqajeRKF.js} +1 -1
- package/web/app/immutable/chunks/{C7VjZ5I1.js → Cr2ds2GX.js} +1 -1
- package/web/app/immutable/chunks/{uxNvmxnz.js → Crtm1Tdw.js} +1 -1
- package/web/app/immutable/chunks/{DacYbmEF.js → CsQZrNPD.js} +1 -1
- package/web/app/immutable/chunks/{DoV4Ngwf.js → CseMAxRT.js} +1 -1
- package/web/app/immutable/chunks/{BDUVRWqe.js → CtDsnagM.js} +3 -3
- package/web/app/immutable/chunks/{l7AMrk83.js → Cue9ti62.js} +1 -1
- package/web/app/immutable/chunks/{b8_D7H9k.js → CwBXGgp6.js} +1 -1
- package/web/app/immutable/chunks/{CTc1mqQ1.js → CwW6ndDl.js} +1 -1
- package/web/app/immutable/chunks/{DbYMKWAI.js → D17qSIEz.js} +2 -2
- package/web/app/immutable/chunks/{Do9PiZ5P.js → D1EubvTh.js} +2 -2
- package/web/app/immutable/chunks/D1Wd8yWC.js +12 -0
- package/web/app/immutable/chunks/{DwkxcWNI.js → D3glRUn0.js} +2 -2
- package/web/app/immutable/chunks/{qB-JaQGy.js → D3pCGnn6.js} +1 -1
- package/web/app/immutable/chunks/{Byv1V5rF.js → D5Vbuf5Q.js} +1 -1
- package/web/app/immutable/chunks/{DguixOqZ.js → D86pbdSK.js} +1 -1
- package/web/app/immutable/chunks/{DGuIJztL.js → D8POxNfK.js} +1 -1
- package/web/app/immutable/chunks/{ffjPpoAP.js → D9fDSLwb.js} +1 -1
- package/web/app/immutable/chunks/{C5mH9Vrl.js → DG3MtJwi.js} +1 -1
- package/web/app/immutable/chunks/DKDYIgLv.js +11 -0
- package/web/app/immutable/chunks/{LknVBIaq.js → DMsh1yGi.js} +1 -1
- package/web/app/immutable/chunks/{BOY33UBS.js → DMv-E05P.js} +4 -4
- package/web/app/immutable/chunks/{D7jA8MQK.js → DPXmbcdl.js} +1 -1
- package/web/app/immutable/chunks/{D9E32u14.js → DRBvR0Tt.js} +1 -1
- package/web/app/immutable/chunks/{DhAAH4rU.js → DRLE5FVS.js} +1 -1
- package/web/app/immutable/chunks/{Bw8BPAST.js → DSjgIWnH.js} +1 -1
- package/web/app/immutable/chunks/{gnxdhh79.js → DUGrMwWd.js} +1 -1
- package/web/app/immutable/chunks/{CaaDYQm4.js → DV6D0Bkp.js} +5 -5
- package/web/app/immutable/chunks/{DVnJa0eT.js → DVAV2MG2.js} +1 -1
- package/web/app/immutable/chunks/{Fb6bTqJy.js → DVEpt846.js} +1 -1
- package/web/app/immutable/chunks/{Ciht8P3-.js → DXmYCfpj.js} +1 -1
- package/web/app/immutable/chunks/{BmnlV2jU.js → DYU4YpuR.js} +1 -1
- package/web/app/immutable/chunks/{DFxg8FPE.js → Dc2Hdtlu.js} +1 -1
- package/web/app/immutable/chunks/{BsesepNZ.js → De3HYtL6.js} +1 -1
- package/web/app/immutable/chunks/{7nLxl2IJ.js → DfxmKh09.js} +1 -1
- package/web/app/immutable/chunks/{CB-J-0bJ.js → DgyZhpgg.js} +1 -1
- package/web/app/immutable/chunks/{YcWsBw0J.js → DhFS-yhc.js} +1 -1
- package/web/app/immutable/chunks/{CvG8wNT6.js → Dk4Ddrsx.js} +1 -1
- package/web/app/immutable/chunks/{MgRcWC-F.js → Dk8ELDo2.js} +1 -1
- package/web/app/immutable/chunks/{CLbcqiJX.js → DkHQqDIr.js} +1 -1
- package/web/app/immutable/chunks/{DT-w4ZA3.js → DlTQCTDP.js} +1 -1
- package/web/app/immutable/chunks/DmQ8h8xi.js +1 -0
- package/web/app/immutable/chunks/{X6OEIYik.js → Dn7dutqt.js} +1 -1
- package/web/app/immutable/chunks/{9taqgPH1.js → DnkVLfZ3.js} +1 -1
- package/web/app/immutable/chunks/{BgiA9PsC.js → DrS3YtfK.js} +2 -2
- package/web/app/immutable/chunks/{ClHpwdNk.js → Dv5hWj70.js} +1 -1
- package/web/app/immutable/chunks/{Bil-5-Mv.js → DvSMiV5j.js} +1 -1
- package/web/app/immutable/chunks/{Es_LZ_6E.js → DvzRlb0E.js} +1 -1
- package/web/app/immutable/chunks/{n9Db8fQb.js → DxGU3xpZ.js} +1 -1
- package/web/app/immutable/chunks/{ClBnJ15C.js → ECTD8W-L.js} +1 -1
- package/web/app/immutable/chunks/{CcSZNfbk.js → EotFP58O.js} +1 -1
- package/web/app/immutable/chunks/{BwY7DKzU.js → FQUUYt8f.js} +1 -1
- package/web/app/immutable/chunks/{BBYPPwon.js → FyCAxxbB.js} +1 -1
- package/web/app/immutable/chunks/{wOsjtdPJ.js → KVLkeJBt.js} +1 -1
- package/web/app/immutable/chunks/{DFghII67.js → Ld9N5V0Z.js} +1 -1
- package/web/app/immutable/chunks/{CdhZKdub.js → NjepB5TE.js} +1 -1
- package/web/app/immutable/chunks/{Ph7T0qF8.js → OY7xFhVZ.js} +1 -1
- package/web/app/immutable/chunks/{DkcUxSHK.js → PlbZiyMr.js} +1 -1
- package/web/app/immutable/chunks/{2bCqOBlF.js → PnXyzret.js} +2 -2
- package/web/app/immutable/chunks/PpSNoAPM.js +1 -0
- package/web/app/immutable/chunks/Pw8-HxaI.js +408 -0
- package/web/app/immutable/chunks/{COPJQClu.js → Q9zhiNlv.js} +1 -1
- package/web/app/immutable/chunks/{CIno4eJd.js → R736-vzp.js} +1 -1
- package/web/app/immutable/chunks/{B_oexMWu.js → SP1g61ea.js} +1 -1
- package/web/app/immutable/chunks/{95PmebfY.js → U2OaO8zU.js} +1 -1
- package/web/app/immutable/chunks/{HdOtmFfs.js → UvxFr-I2.js} +1 -1
- package/web/app/immutable/chunks/VCguIe99.js +1 -0
- package/web/app/immutable/chunks/{IsBHRTqp.js → VxpSEzE0.js} +1 -1
- package/web/app/immutable/chunks/{BTxVcBTE.js → WKwDz9jQ.js} +1 -1
- package/web/app/immutable/chunks/{C4ih-xND.js → WPm8oU1g.js} +2 -2
- package/web/app/immutable/chunks/{B-B22ZmQ.js → X9_JIY5I.js} +1 -1
- package/web/app/immutable/chunks/{CpW6JN4X.js → YqTahsxp.js} +1 -1
- package/web/app/immutable/chunks/{CYgFtonv.js → Z311vB9V.js} +1 -1
- package/web/app/immutable/chunks/{BYCQnKWG.js → bqazsiqQ.js} +1 -1
- package/web/app/immutable/chunks/e_7d0HhT.js +271 -0
- package/web/app/immutable/chunks/{1JDc8gDP.js → evMM8bqV.js} +1 -1
- package/web/app/immutable/chunks/{BUU84hQY.js → felZLd_I.js} +1 -1
- package/web/app/immutable/chunks/{CBEZBV7x.js → gDHuvKO5.js} +1 -1
- package/web/app/immutable/chunks/gP4ZqKh0.js +5 -0
- package/web/app/immutable/chunks/{-ntpqjUQ.js → hua24XJh.js} +1 -1
- package/web/app/immutable/chunks/{B-mVY4KG.js → hwMB9Jx_.js} +1 -1
- package/web/app/immutable/chunks/{D6NxvjAo.js → kw6HOG6J.js} +2 -2
- package/web/app/immutable/chunks/{CXCbFJ1d.js → mo2YzLEW.js} +1 -1
- package/web/app/immutable/chunks/{C2vxCrLD.js → qH6ij_zT.js} +1 -1
- package/web/app/immutable/chunks/{C5SMJxa0.js → rDgjtPAw.js} +2 -2
- package/web/app/immutable/chunks/{DpJ6ItFS.js → rz5fXBI2.js} +1 -1
- package/web/app/immutable/chunks/{CzSCQAr8.js → sAd9qIlC.js} +1 -1
- package/web/app/immutable/chunks/{DqLpc8uk.js → sm9FgN6B.js} +1 -1
- package/web/app/immutable/entry/app.nL8LhceC.js +4 -0
- package/web/app/immutable/entry/start.DMMboC2Z.js +1 -0
- package/web/app/immutable/nodes/{0.D4UmpUyl.js → 0.DnTOWH22.js} +1 -1
- package/web/app/immutable/nodes/{1.DTuLvyGe.js → 1.DdFwPgy2.js} +1 -1
- package/web/app/immutable/nodes/{10.yW5YYZcV.js → 10.BodWJQlD.js} +1 -1
- package/web/app/immutable/nodes/{12.B-WFagfi.js → 12.CZF6J8V0.js} +1 -1
- package/web/app/immutable/nodes/{13.knDmuG_H.js → 13.CmgBwUCN.js} +1 -1
- package/web/app/immutable/nodes/14.Cch3Hlry.js +3 -0
- package/web/app/immutable/nodes/{15.5d-87wXx.js → 15.D8X9TwUZ.js} +1 -1
- package/web/app/immutable/nodes/16.DDUlFhjD.js +2 -0
- package/web/app/immutable/nodes/{17.S_DWC10F.js → 17.CR8Vf-gp.js} +2 -2
- package/web/app/immutable/nodes/{2.D-iQ8fmd.js → 2.DJ8VmJpJ.js} +12 -12
- package/web/app/immutable/nodes/{3.CQKvVdrW.js → 3.B0GEDD6l.js} +1 -1
- package/web/app/immutable/nodes/{4.Dq9WSzj3.js → 4.C1EmG9sP.js} +1 -1
- package/web/app/immutable/nodes/{5.C2b8MeJP.js → 5.weYY_j2P.js} +1 -1
- package/web/app/immutable/nodes/{6.DZyVWynY.js → 6.BDlVx9Dk.js} +1 -1
- package/web/app/immutable/nodes/{7.BNPj2Hjb.js → 7.C0Ip3FSb.js} +1 -1
- package/web/app/immutable/nodes/{8.CYaF3iZ7.js → 8.CpQw4Gbe.js} +4 -4
- package/web/app/immutable/nodes/{9.D9yeuWg6.js → 9.DT0bh2W_.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/index.html +14 -14
- package/web/app/immutable/assets/ChatPanel.CbI83JII.css +0 -1
- package/web/app/immutable/assets/conversation-turns.uwdl8ht7.css +0 -1
- package/web/app/immutable/chunks/BJzHxIyr.js +0 -1
- package/web/app/immutable/chunks/BQKilZql.js +0 -190
- package/web/app/immutable/chunks/Bdee7uP3.js +0 -1
- package/web/app/immutable/chunks/C3g8Ux-E.js +0 -408
- package/web/app/immutable/chunks/CJvik4ry.js +0 -1
- package/web/app/immutable/chunks/D0OfnhNR.js +0 -11
- package/web/app/immutable/chunks/D3NOBSUZ.js +0 -271
- package/web/app/immutable/chunks/DLrZLCmS.js +0 -1
- package/web/app/immutable/chunks/DSwaqM2D.js +0 -1
- package/web/app/immutable/chunks/Debl1LJu.js +0 -1
- package/web/app/immutable/chunks/DqIdPWw6.js +0 -1
- package/web/app/immutable/chunks/DsvlGcLM.js +0 -9
- package/web/app/immutable/chunks/DuXpPbhO.js +0 -5
- package/web/app/immutable/chunks/tVWh__3e.js +0 -1
- package/web/app/immutable/chunks/xNaKu_mj.js +0 -1
- package/web/app/immutable/entry/app.CUk63TN3.js +0 -4
- package/web/app/immutable/entry/start.ByRHyT3-.js +0 -1
- package/web/app/immutable/nodes/14.CtAbrlVb.js +0 -3
- package/web/app/immutable/nodes/16.BcAEiIYy.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as q,bq as s,a_ as O,by as z,br as P,b as N,bu as D,bs as U}from"./CNdlzZOD.js";import{aG as V,bs as A,c5 as p,aD as x,a5 as I,bS as X,bf as B,bA as R,W as S,bn as E,c9 as H,aA as n,aB as K,ca as G,a7 as Y,ay as $}from"./DYhIMPy1.js";import{s as W}from"./DIh4SQwA.js";import{i as L,l as w}from"./9iFKJfkz.js";import{b as Z}from"./BaIAhI85.js";import{u as ee,c as M,s as te,b as re,a as ae}from"./DfxQWSVU.js";import{C as se}from"./
|
|
1
|
+
import{t as q,bq as s,a_ as O,by as z,br as P,b as N,bu as D,bs as U}from"./CNdlzZOD.js";import{aG as V,bs as A,c5 as p,aD as x,a5 as I,bS as X,bf as B,bA as R,W as S,bn as E,c9 as H,aA as n,aB as K,ca as G,a7 as Y,ay as $}from"./DYhIMPy1.js";import{s as W}from"./DIh4SQwA.js";import{i as L,l as w}from"./9iFKJfkz.js";import{b as Z}from"./BaIAhI85.js";import{u as ee,c as M,s as te,b as re,a as ae}from"./DfxQWSVU.js";import{C as se}from"./CR1VVB-y.js";import{Ig as ne,si as oe,bg as ie}from"./BoIGV7s7.js";import{aZ as de}from"./5lVDKMGV.js";import{m as ce}from"./-DqWFMjY.js";import{bS as le}from"./VxpSEzE0.js";import{c as ue}from"./DhFS-yhc.js";const fe=Symbol("card-group"),ve=()=>V(fe);var me=new Set(["$$slots","$$events","$$legacy","ref","class","inert","interactive","level","border","selected","media","children"]),be=K('<div data-slot="card-media" class="shrink-0 p-4"><!></div>'),ge=K("<div><!> <!></div>");function he(o,e){if(new.target)return q({component:he,...o});A(e,!0);let i=s(e,"ref",15,null),c=s(e,"class",7),a=s(e,"inert",7,!1),u=s(e,"interactive",7,!1),v=s(e,"level",7),f=s(e,"border",7),l=s(e,"selected",7,!1),b=s(e,"media",7),r=s(e,"children",7),g=P(e,me);const m=ve(),k=H(()=>f()==="outlined"||f()===void 0&&(!m||m.border==="outlined"&&m.separated)),y=ee(),d=M(p(()=>v()??y+1));te(d);const C=M(d+1);var j={get ref(){return i()},set ref(t=null){i(t),n()},get class(){return c()},set class(t){c(t),n()},get inert(){return a()},set inert(t=!1){a(t),n()},get interactive(){return u()},set interactive(t=!1){u(t),n()},get level(){return v()},set level(t){v(t),n()},get border(){return f()},set border(t){f(t),n()},get selected(){return l()},set selected(t=!1){l(t),n()},get media(){return b()},set media(t){b(t),n()},get children(){return r()},set children(t){r(t),n()},$set:z,$on:(t,_)=>N(e,t,_)},h=ge();L(h,t=>({"data-slot":"card","data-selected":l()||void 0,"data-orientation":m?.orientation,"data-surface-level":d,"data-inert":a()||void 0,"data-interactive":u()||void 0,inert:a(),class:t,...g}),[()=>w("flex min-w-0 flex-col overflow-hidden rounded-md text-card-foreground",x(k)?m?"border border-border bg-transparent":ae(d):"bg-transparent",l()&&"bg-selected",m?.orientation==="inline"&&"flex-row items-center [&>[data-slot=card-header]]:min-w-0 [&>[data-slot=card-header]]:flex-1",m&&"relative",u()?w("cursor-pointer transition-[background-color,box-shadow] duration-(--motion-fast) ease-(--ease-standard)","focus-visible:outline focus-visible:-outline-offset-1","active:bg-active data-[state=pressed]:bg-active motion-reduce:transition-none",re(C)):"",c())]);var T=I(h);{var F=t=>{var _=be(),Q=I(_);W(Q,b),R(_),S(t,_)};O(T,t=>{b()&&t(F)})}var J=X(T,2);return W(J,()=>r()??B),R(h),Z(h,t=>i(t),()=>i()),S(o,h),E(j)}var _e=new Set(["$$slots","$$events","$$legacy","ref","class","flush","children"]),pe=K("<div><!></div>");function Se(o,e){if(new.target)return q({component:Se,...o});A(e,!0);let i=s(e,"ref",15,null),c=s(e,"class",7),a=s(e,"flush",7,!1),u=s(e,"children",7),v=P(e,_e);var f={get ref(){return i()},set ref(r=null){i(r),n()},get class(){return c()},set class(r){c(r),n()},get flush(){return a()},set flush(r=!1){a(r),n()},get children(){return u()},set children(r){u(r),n()},$set:z,$on:(r,g)=>N(e,r,g)},l=pe();L(l,r=>({"data-slot":"card-content","data-flush":a()||void 0,class:r,...v}),[()=>w("type-body min-w-0",a()?"p-0":w(se,"py-4 first:pt-4"),c())]);var b=I(l);return W(b,()=>u()??B),R(l),Z(l,r=>i(r),()=>i()),S(o,l),E(f)}function Ke(o){const e=()=>ne.dispatch(oe({quiet:o.quiet}));G(()=>{o.key?.(),o.active()&&p(e)});const i=H(()=>o.workspaces().some(a=>a.status===ie.Retired));let c=p(()=>x(i));G(()=>{const a=x(i);p(()=>{c&&!a&&o.active()&&e(),c=a})})}function we(o,e){if(new.target)return q({component:we,...o});A(e,!0);const i=()=>D(l,"$connected$",a),c=()=>D(b,"$slot$",a),[a,u]=U();let v=s(e,"workspaceId",7),f=s(e,"size",7,"default");const l=ce(),b=le(de(()=>v()));var r={get workspaceId(){return v()},set workspaceId(d){v(d),n()},get size(){return f()},set size(d="default"){f(d),n()},$set:z,$on:(d,C)=>N(e,d,C)},g=Y(),m=$(g);{var k=d=>{ue(d,{get slot(){return c()},get size(){return f()}})};O(m,d=>{i()&&c()!==null&&d(k)})}S(o,g);var y=E(r);return u(),y}export{he as C,we as W,Se as a,Ke as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as l,r as m,d as a}from"./
|
|
1
|
+
import{g as l,r as m,d as a}from"./Cjxd8cwf.js";import{p}from"./CsQZrNPD.js";import{b as t,ay as o}from"./DMv-E05P.js";import{M as u,b as c}from"./CFXA-WTd.js";var f=c().RailroadPeg.parser.LangiumParser,i=t(e=>{const r=e.alternatives.map(d);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformOrderedChoice"),d=t(e=>{const r=e.elements.map(P);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),P=t(e=>{const r=g(e.suffix);return e.operator?{type:"special",text:e.operator==="&"?`&${s(r)}`:`!${s(r)}`}:r},"transformPrefix"),s=t(e=>{switch(e.type){case"terminal":return`"${e.value}"`;case"nonterminal":return e.name;case"special":return e.text;default:return"(...)"}},"nodeToLabel"),g=t(e=>{const r=y(e.primary);if(!e.operator)return r;switch(e.operator){case"?":return{type:"optional",element:r};case"*":return{type:"repetition",element:r,min:0,max:1/0};case"+":return{type:"repetition",element:r,min:1,max:1/0};default:throw new Error(`Unsupported PEG suffix operator: ${e.operator}`)}},"transformSuffix"),y=t(e=>{switch(e.$type){case"PegLiteral":return{type:"terminal",value:e.value};case"PegIdentifier":return{type:"nonterminal",name:e.name};case"PegGroup":return i(e.element);case"PegAny":return{type:"special",text:e.dot};default:throw new Error(`Unsupported PEG primary node: ${e.$type}`)}},"transformPrimary"),v=t(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=t(e=>{p(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(v(r)))},"populateDb"),b={parse:t(e=>{a.clear(),o.debug("[PEG Parser] Starting Langium parse");const r=f.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new u(r);const n=r.value;o.debug("[PEG Parser] Parsed rules:",n.rules.length),h(n),o.debug("[PEG Parser] Parse complete")},"parse"),parser:{yy:a}},$={parser:b,db:a,renderer:m,styles:l};export{$ as diagram};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Fe}from"./D_kdhP8o.js";import{ap as Me,a5 as xe,ar as Ke,bc as We,bb as Ye,be as Ve,bd as Ue,b9 as He,b7 as Xe,b2 as je,aN as Ge,aF as qe,aE as Je,az as Ze,aj as Qe,ai as $e,ak as et,S as tt,R as st,K as rt,k as it,I as at,f as nt,g as ot,e as ct,b as u,W as P,aW as X,ag as lt,aD as ut,B as ht,ay as y,r as gt,am as dt,aU as pt,ab as ft,x as bt,aT as St,p as xt,X as Le,ae as Lt,af as mt,aK as yt,z as wt,a3 as Et,ah as me,b6 as kt,aL as _t}from"./BOY33UBS.js";import{G as Dt}from"./-xK_vQQs.js";function Tt(e){return Array.isArray(e)}function Nt(e){if(Me(e))return e;const a=xe(e);if(!It(e))return{};if(Tt(e)){const s=Array.from(e);return e.length>0&&typeof e[0]=="string"&&Object.hasOwn(e,"index")&&(s.index=e.index,s.input=e.input),s}if(Ke(e)){const s=e,c=s.constructor;return new c(s.buffer,s.byteOffset,s.length)}if(a==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(a==="[object DataView]"){const s=e,c=s.buffer,g=s.byteOffset,t=s.byteLength,h=new ArrayBuffer(t),x=new Uint8Array(c,g,t);return new Uint8Array(h).set(x),new DataView(h)}if(a==="[object Boolean]"||a==="[object Number]"||a==="[object String]"){const s=e.constructor,c=new s(e.valueOf());return a==="[object String]"?Ct(c,e):se(c,e),c}if(a==="[object Date]")return new Date(Number(e));if(a==="[object RegExp]"){const s=e,c=new RegExp(s.source,s.flags);return c.lastIndex=s.lastIndex,c}if(a==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(a==="[object Map]"){const s=e,c=new Map;return s.forEach((g,t)=>{c.set(t,g)}),c}if(a==="[object Set]"){const s=e,c=new Set;return s.forEach(g=>{c.add(g)}),c}if(a==="[object Arguments]"){const s=e,c={};return se(c,s),c.length=s.length,c[Symbol.iterator]=s[Symbol.iterator],c}const o={};return vt(o,e),se(o,e),Ot(o,e),o}function It(e){switch(xe(e)){case ct:case ot:case nt:case at:case it:case rt:case st:case tt:case et:case $e:case Qe:case Ze:case Je:case qe:case Ge:case je:case Xe:case He:case Ue:case Ve:case Ye:case We:return!0;default:return!1}}function se(e,a){for(const o in a)Object.hasOwn(a,o)&&(e[o]=a[o])}function Ot(e,a){const o=Object.getOwnPropertySymbols(a);for(let s=0;s<o.length;s++){const c=o[s];Object.prototype.propertyIsEnumerable.call(a,c)&&(e[c]=a[c])}}function Ct(e,a){const o=a.valueOf().length;for(const s in a)Object.hasOwn(a,s)&&(Number.isNaN(Number(s))||Number(s)>=o)&&(e[s]=a[s])}function vt(e,a){const o=Object.getPrototypeOf(a);o!==null&&typeof a.constructor=="function"&&Object.setPrototypeOf(e,o)}var ie=(function(){var e=u(function(C,d,i,l){for(i=i||{},l=C.length;l--;i[C[l]]=d);return i},"o"),a=[1,15],o=[1,7],s=[1,13],c=[1,14],g=[1,19],t=[1,16],h=[1,17],x=[1,18],L=[8,30],b=[8,10,21,28,29,30,31,39,43,46],f=[1,23],m=[1,24],w=[8,10,15,16,21,28,29,30,31,39,43,46],S=[8,10,15,16,21,27,28,29,30,31,39,43,46],_=[1,49],k={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:u(function(d,i,l,p,E,r,K){var n=r.length-1;switch(E){case 4:p.getLogger().debug("Rule: separator (NL) ");break;case 5:p.getLogger().debug("Rule: separator (Space) ");break;case 6:p.getLogger().debug("Rule: separator (EOF) ");break;case 7:p.getLogger().debug("Rule: hierarchy: ",r[n-1]),p.setHierarchy(r[n-1]);break;case 8:p.getLogger().debug("Stop NL ");break;case 9:p.getLogger().debug("Stop EOF ");break;case 10:p.getLogger().debug("Stop NL2 ");break;case 11:p.getLogger().debug("Stop EOF2 ");break;case 12:p.getLogger().debug("Rule: statement: ",r[n]),typeof r[n].length=="number"?this.$=r[n]:this.$=[r[n]];break;case 13:p.getLogger().debug("Rule: statement #2: ",r[n-1]),this.$=[r[n-1]].concat(r[n]);break;case 14:p.getLogger().debug("Rule: link: ",r[n],d),this.$={edgeTypeStr:r[n],label:""};break;case 15:p.getLogger().debug("Rule: LABEL link: ",r[n-3],r[n-1],r[n]),this.$={edgeTypeStr:r[n],label:r[n-1]};break;case 18:const F=parseInt(r[n]),Y=p.generateId();this.$={id:Y,type:"space",label:"",width:F,children:[]};break;case 23:p.getLogger().debug("Rule: (nodeStatement link node) ",r[n-2],r[n-1],r[n]," typestr: ",r[n-1].edgeTypeStr);const J=p.edgeStrToEdgeData(r[n-1].edgeTypeStr),V=p.edgeStrToEdgeStartData(r[n-1].edgeTypeStr),Z=p.edgeStrToThickness(r[n-1].edgeTypeStr),D=p.edgeStrToPattern(r[n-1].edgeTypeStr);this.$=[{id:r[n-2].id,label:r[n-2].label,type:r[n-2].type,directions:r[n-2].directions},{id:r[n-2].id+"-"+r[n].id,start:r[n-2].id,end:r[n].id,label:r[n-1].label,type:"edge",thickness:Z,pattern:D,directions:r[n].directions,arrowTypeEnd:J,arrowTypeStart:V},{id:r[n].id,label:r[n].label,type:p.typeStr2Type(r[n].typeStr),directions:r[n].directions}];break;case 24:p.getLogger().debug("Rule: nodeStatement (abc88 node size) ",r[n-1],r[n]),this.$={id:r[n-1].id,label:r[n-1].label,type:p.typeStr2Type(r[n-1].typeStr),directions:r[n-1].directions,widthInColumns:parseInt(r[n],10)};break;case 25:p.getLogger().debug("Rule: nodeStatement (node) ",r[n]),this.$={id:r[n].id,label:r[n].label,type:p.typeStr2Type(r[n].typeStr),directions:r[n].directions,widthInColumns:1};break;case 26:p.getLogger().debug("APA123",this?this:"na"),p.getLogger().debug("COLUMNS: ",r[n]),this.$={type:"column-setting",columns:r[n]==="auto"?-1:parseInt(r[n])};break;case 27:p.getLogger().debug("Rule: id-block statement : ",r[n-2],r[n-1]),p.generateId(),this.$={...r[n-2],type:"composite",children:r[n-1]};break;case 28:p.getLogger().debug("Rule: blockStatement : ",r[n-2],r[n-1],r[n]);const z=p.generateId();this.$={id:z,type:"composite",label:"",children:r[n-1]};break;case 29:p.getLogger().debug("Rule: node (NODE_ID separator): ",r[n]),this.$={id:r[n]};break;case 30:p.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",r[n-1],r[n]),this.$={id:r[n-1],label:r[n].label,typeStr:r[n].typeStr,directions:r[n].directions};break;case 31:p.getLogger().debug("Rule: dirList: ",r[n]),this.$=[r[n]];break;case 32:p.getLogger().debug("Rule: dirList: ",r[n-1],r[n]),this.$=[r[n-1]].concat(r[n]);break;case 33:p.getLogger().debug("Rule: nodeShapeNLabel: ",r[n-2],r[n-1],r[n]),this.$={typeStr:r[n-2]+r[n],label:r[n-1]};break;case 34:p.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",r[n-3],r[n-2]," #3:",r[n-1],r[n]),this.$={typeStr:r[n-3]+r[n],label:r[n-2],directions:r[n-1]};break;case 35:case 36:this.$={type:"classDef",id:r[n-1].trim(),css:r[n].trim()};break;case 37:this.$={type:"applyClass",id:r[n-1].trim(),styleClass:r[n].trim()};break;case 38:this.$={type:"applyStyles",id:r[n-1].trim(),stylesStr:r[n].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:a,11:3,13:4,19:5,20:6,21:o,22:8,23:9,24:10,25:11,26:12,28:s,29:c,31:g,39:t,43:h,46:x},{8:[1,20]},e(L,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:a,21:o,28:s,29:c,31:g,39:t,43:h,46:x}),e(b,[2,16],{14:22,15:f,16:m}),e(b,[2,17]),e(b,[2,18]),e(b,[2,19]),e(b,[2,20]),e(b,[2,21]),e(b,[2,22]),e(w,[2,25],{27:[1,25]}),e(b,[2,26]),{19:26,26:12,31:g},{10:a,11:27,13:4,19:5,20:6,21:o,22:8,23:9,24:10,25:11,26:12,28:s,29:c,31:g,39:t,43:h,46:x},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(S,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(L,[2,13]),{26:35,31:g},{31:[2,14]},{17:[1,36]},e(w,[2,24]),{10:a,11:37,13:4,14:22,15:f,16:m,19:5,20:6,21:o,22:8,23:9,24:10,25:11,26:12,28:s,29:c,31:g,39:t,43:h,46:x},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(S,[2,30]),{18:[1,43]},{18:[1,44]},e(w,[2,23]),{18:[1,45]},{30:[1,46]},e(b,[2,28]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(b,[2,38]),{36:[1,47]},{33:48,34:_},{15:[1,50]},e(b,[2,27]),e(S,[2,33]),{38:[1,51]},{33:52,34:_,38:[2,31]},{31:[2,15]},e(S,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:u(function(d,i){if(i.recoverable)this.trace(d);else{var l=new Error(d);throw l.hash=i,l}},"parseError"),parse:u(function(d){var i=this,l=[0],p=[],E=[null],r=[],K=this.table,n="",F=0,Y=0,J=2,V=1,Z=r.slice.call(arguments,1),D=Object.create(this.lexer),z={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(z.yy[Q]=this.yy[Q]);D.setInput(d,z.yy),z.yy.lexer=D,z.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var $=D.yylloc;r.push($);var Re=D.options&&D.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Pe(I){l.length=l.length-2*I,E.length=E.length-I,r.length=r.length-I}u(Pe,"popStack");function de(){var I;return I=p.pop()||D.lex()||V,typeof I!="number"&&(I instanceof Array&&(p=I,I=p.pop()),I=i.symbols_[I]||I),I}u(de,"lex");for(var N,R,v,ee,M={},U,B,pe,H;;){if(R=l[l.length-1],this.defaultActions[R]?v=this.defaultActions[R]:((N===null||typeof N>"u")&&(N=de()),v=K[R]&&K[R][N]),typeof v>"u"||!v.length||!v[0]){var te="";H=[];for(U in K[R])this.terminals_[U]&&U>J&&H.push("'"+this.terminals_[U]+"'");D.showPosition?te="Parse error on line "+(F+1)+`:
|
|
1
|
+
import{g as Fe}from"./CUNya7Ty.js";import{ap as Me,a5 as xe,ar as Ke,bc as We,bb as Ye,be as Ve,bd as Ue,b9 as He,b7 as Xe,b2 as je,aN as Ge,aF as qe,aE as Je,az as Ze,aj as Qe,ai as $e,ak as et,S as tt,R as st,K as rt,k as it,I as at,f as nt,g as ot,e as ct,b as u,W as P,aW as X,ag as lt,aD as ut,B as ht,ay as y,r as gt,am as dt,aU as pt,ab as ft,x as bt,aT as St,p as xt,X as Le,ae as Lt,af as mt,aK as yt,z as wt,a3 as Et,ah as me,b6 as kt,aL as _t}from"./DMv-E05P.js";import{G as Dt}from"./-xK_vQQs.js";function Tt(e){return Array.isArray(e)}function Nt(e){if(Me(e))return e;const a=xe(e);if(!It(e))return{};if(Tt(e)){const s=Array.from(e);return e.length>0&&typeof e[0]=="string"&&Object.hasOwn(e,"index")&&(s.index=e.index,s.input=e.input),s}if(Ke(e)){const s=e,c=s.constructor;return new c(s.buffer,s.byteOffset,s.length)}if(a==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(a==="[object DataView]"){const s=e,c=s.buffer,g=s.byteOffset,t=s.byteLength,h=new ArrayBuffer(t),x=new Uint8Array(c,g,t);return new Uint8Array(h).set(x),new DataView(h)}if(a==="[object Boolean]"||a==="[object Number]"||a==="[object String]"){const s=e.constructor,c=new s(e.valueOf());return a==="[object String]"?Ct(c,e):se(c,e),c}if(a==="[object Date]")return new Date(Number(e));if(a==="[object RegExp]"){const s=e,c=new RegExp(s.source,s.flags);return c.lastIndex=s.lastIndex,c}if(a==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(a==="[object Map]"){const s=e,c=new Map;return s.forEach((g,t)=>{c.set(t,g)}),c}if(a==="[object Set]"){const s=e,c=new Set;return s.forEach(g=>{c.add(g)}),c}if(a==="[object Arguments]"){const s=e,c={};return se(c,s),c.length=s.length,c[Symbol.iterator]=s[Symbol.iterator],c}const o={};return vt(o,e),se(o,e),Ot(o,e),o}function It(e){switch(xe(e)){case ct:case ot:case nt:case at:case it:case rt:case st:case tt:case et:case $e:case Qe:case Ze:case Je:case qe:case Ge:case je:case Xe:case He:case Ue:case Ve:case Ye:case We:return!0;default:return!1}}function se(e,a){for(const o in a)Object.hasOwn(a,o)&&(e[o]=a[o])}function Ot(e,a){const o=Object.getOwnPropertySymbols(a);for(let s=0;s<o.length;s++){const c=o[s];Object.prototype.propertyIsEnumerable.call(a,c)&&(e[c]=a[c])}}function Ct(e,a){const o=a.valueOf().length;for(const s in a)Object.hasOwn(a,s)&&(Number.isNaN(Number(s))||Number(s)>=o)&&(e[s]=a[s])}function vt(e,a){const o=Object.getPrototypeOf(a);o!==null&&typeof a.constructor=="function"&&Object.setPrototypeOf(e,o)}var ie=(function(){var e=u(function(C,d,i,l){for(i=i||{},l=C.length;l--;i[C[l]]=d);return i},"o"),a=[1,15],o=[1,7],s=[1,13],c=[1,14],g=[1,19],t=[1,16],h=[1,17],x=[1,18],L=[8,30],b=[8,10,21,28,29,30,31,39,43,46],f=[1,23],m=[1,24],w=[8,10,15,16,21,28,29,30,31,39,43,46],S=[8,10,15,16,21,27,28,29,30,31,39,43,46],_=[1,49],k={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:u(function(d,i,l,p,E,r,K){var n=r.length-1;switch(E){case 4:p.getLogger().debug("Rule: separator (NL) ");break;case 5:p.getLogger().debug("Rule: separator (Space) ");break;case 6:p.getLogger().debug("Rule: separator (EOF) ");break;case 7:p.getLogger().debug("Rule: hierarchy: ",r[n-1]),p.setHierarchy(r[n-1]);break;case 8:p.getLogger().debug("Stop NL ");break;case 9:p.getLogger().debug("Stop EOF ");break;case 10:p.getLogger().debug("Stop NL2 ");break;case 11:p.getLogger().debug("Stop EOF2 ");break;case 12:p.getLogger().debug("Rule: statement: ",r[n]),typeof r[n].length=="number"?this.$=r[n]:this.$=[r[n]];break;case 13:p.getLogger().debug("Rule: statement #2: ",r[n-1]),this.$=[r[n-1]].concat(r[n]);break;case 14:p.getLogger().debug("Rule: link: ",r[n],d),this.$={edgeTypeStr:r[n],label:""};break;case 15:p.getLogger().debug("Rule: LABEL link: ",r[n-3],r[n-1],r[n]),this.$={edgeTypeStr:r[n],label:r[n-1]};break;case 18:const F=parseInt(r[n]),Y=p.generateId();this.$={id:Y,type:"space",label:"",width:F,children:[]};break;case 23:p.getLogger().debug("Rule: (nodeStatement link node) ",r[n-2],r[n-1],r[n]," typestr: ",r[n-1].edgeTypeStr);const J=p.edgeStrToEdgeData(r[n-1].edgeTypeStr),V=p.edgeStrToEdgeStartData(r[n-1].edgeTypeStr),Z=p.edgeStrToThickness(r[n-1].edgeTypeStr),D=p.edgeStrToPattern(r[n-1].edgeTypeStr);this.$=[{id:r[n-2].id,label:r[n-2].label,type:r[n-2].type,directions:r[n-2].directions},{id:r[n-2].id+"-"+r[n].id,start:r[n-2].id,end:r[n].id,label:r[n-1].label,type:"edge",thickness:Z,pattern:D,directions:r[n].directions,arrowTypeEnd:J,arrowTypeStart:V},{id:r[n].id,label:r[n].label,type:p.typeStr2Type(r[n].typeStr),directions:r[n].directions}];break;case 24:p.getLogger().debug("Rule: nodeStatement (abc88 node size) ",r[n-1],r[n]),this.$={id:r[n-1].id,label:r[n-1].label,type:p.typeStr2Type(r[n-1].typeStr),directions:r[n-1].directions,widthInColumns:parseInt(r[n],10)};break;case 25:p.getLogger().debug("Rule: nodeStatement (node) ",r[n]),this.$={id:r[n].id,label:r[n].label,type:p.typeStr2Type(r[n].typeStr),directions:r[n].directions,widthInColumns:1};break;case 26:p.getLogger().debug("APA123",this?this:"na"),p.getLogger().debug("COLUMNS: ",r[n]),this.$={type:"column-setting",columns:r[n]==="auto"?-1:parseInt(r[n])};break;case 27:p.getLogger().debug("Rule: id-block statement : ",r[n-2],r[n-1]),p.generateId(),this.$={...r[n-2],type:"composite",children:r[n-1]};break;case 28:p.getLogger().debug("Rule: blockStatement : ",r[n-2],r[n-1],r[n]);const z=p.generateId();this.$={id:z,type:"composite",label:"",children:r[n-1]};break;case 29:p.getLogger().debug("Rule: node (NODE_ID separator): ",r[n]),this.$={id:r[n]};break;case 30:p.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",r[n-1],r[n]),this.$={id:r[n-1],label:r[n].label,typeStr:r[n].typeStr,directions:r[n].directions};break;case 31:p.getLogger().debug("Rule: dirList: ",r[n]),this.$=[r[n]];break;case 32:p.getLogger().debug("Rule: dirList: ",r[n-1],r[n]),this.$=[r[n-1]].concat(r[n]);break;case 33:p.getLogger().debug("Rule: nodeShapeNLabel: ",r[n-2],r[n-1],r[n]),this.$={typeStr:r[n-2]+r[n],label:r[n-1]};break;case 34:p.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",r[n-3],r[n-2]," #3:",r[n-1],r[n]),this.$={typeStr:r[n-3]+r[n],label:r[n-2],directions:r[n-1]};break;case 35:case 36:this.$={type:"classDef",id:r[n-1].trim(),css:r[n].trim()};break;case 37:this.$={type:"applyClass",id:r[n-1].trim(),styleClass:r[n].trim()};break;case 38:this.$={type:"applyStyles",id:r[n-1].trim(),stylesStr:r[n].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:a,11:3,13:4,19:5,20:6,21:o,22:8,23:9,24:10,25:11,26:12,28:s,29:c,31:g,39:t,43:h,46:x},{8:[1,20]},e(L,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:a,21:o,28:s,29:c,31:g,39:t,43:h,46:x}),e(b,[2,16],{14:22,15:f,16:m}),e(b,[2,17]),e(b,[2,18]),e(b,[2,19]),e(b,[2,20]),e(b,[2,21]),e(b,[2,22]),e(w,[2,25],{27:[1,25]}),e(b,[2,26]),{19:26,26:12,31:g},{10:a,11:27,13:4,19:5,20:6,21:o,22:8,23:9,24:10,25:11,26:12,28:s,29:c,31:g,39:t,43:h,46:x},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(S,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(L,[2,13]),{26:35,31:g},{31:[2,14]},{17:[1,36]},e(w,[2,24]),{10:a,11:37,13:4,14:22,15:f,16:m,19:5,20:6,21:o,22:8,23:9,24:10,25:11,26:12,28:s,29:c,31:g,39:t,43:h,46:x},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(S,[2,30]),{18:[1,43]},{18:[1,44]},e(w,[2,23]),{18:[1,45]},{30:[1,46]},e(b,[2,28]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(b,[2,38]),{36:[1,47]},{33:48,34:_},{15:[1,50]},e(b,[2,27]),e(S,[2,33]),{38:[1,51]},{33:52,34:_,38:[2,31]},{31:[2,15]},e(S,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:u(function(d,i){if(i.recoverable)this.trace(d);else{var l=new Error(d);throw l.hash=i,l}},"parseError"),parse:u(function(d){var i=this,l=[0],p=[],E=[null],r=[],K=this.table,n="",F=0,Y=0,J=2,V=1,Z=r.slice.call(arguments,1),D=Object.create(this.lexer),z={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(z.yy[Q]=this.yy[Q]);D.setInput(d,z.yy),z.yy.lexer=D,z.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var $=D.yylloc;r.push($);var Re=D.options&&D.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Pe(I){l.length=l.length-2*I,E.length=E.length-I,r.length=r.length-I}u(Pe,"popStack");function de(){var I;return I=p.pop()||D.lex()||V,typeof I!="number"&&(I instanceof Array&&(p=I,I=p.pop()),I=i.symbols_[I]||I),I}u(de,"lex");for(var N,R,v,ee,M={},U,B,pe,H;;){if(R=l[l.length-1],this.defaultActions[R]?v=this.defaultActions[R]:((N===null||typeof N>"u")&&(N=de()),v=K[R]&&K[R][N]),typeof v>"u"||!v.length||!v[0]){var te="";H=[];for(U in K[R])this.terminals_[U]&&U>J&&H.push("'"+this.terminals_[U]+"'");D.showPosition?te="Parse error on line "+(F+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+H.join(", ")+", got '"+(this.terminals_[N]||N)+"'":te="Parse error on line "+(F+1)+": Unexpected "+(N==V?"end of input":"'"+(this.terminals_[N]||N)+"'"),this.parseError(te,{text:D.match,token:this.terminals_[N]||N,line:D.yylineno,loc:$,expected:H})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+N);switch(v[0]){case 1:l.push(N),E.push(D.yytext),r.push(D.yylloc),l.push(v[1]),N=null,Y=D.yyleng,n=D.yytext,F=D.yylineno,$=D.yylloc;break;case 2:if(B=this.productions_[v[1]][1],M.$=E[E.length-B],M._$={first_line:r[r.length-(B||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(B||1)].first_column,last_column:r[r.length-1].last_column},Re&&(M._$.range=[r[r.length-(B||1)].range[0],r[r.length-1].range[1]]),ee=this.performAction.apply(M,[n,Y,F,z.yy,v[1],E,r].concat(Z)),typeof ee<"u")return ee;B&&(l=l.slice(0,-1*B*2),E=E.slice(0,-1*B),r=r.slice(0,-1*B)),l.push(this.productions_[v[1]][0]),E.push(M.$),r.push(M._$),pe=K[l[l.length-2]][l[l.length-1]],l.push(pe);break;case 3:return!0}}return!0},"parse")},T=(function(){var C={EOF:1,parseError:u(function(i,l){if(this.yy.parser)this.yy.parser.parseError(i,l);else throw new Error(i)},"parseError"),setInput:u(function(d,i){return this.yy=i||this.yy||{},this._input=d,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:u(function(){var d=this._input[0];this.yytext+=d,this.yyleng++,this.offset++,this.match+=d,this.matched+=d;var i=d.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),d},"input"),unput:u(function(d){var i=d.length,l=d.split(/(?:\r\n?|\n)/g);this._input=d+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var p=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===p.length?this.yylloc.first_column:0)+p[p.length-l.length].length-l[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:u(function(){return this._more=!0,this},"more"),reject:u(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:u(function(d){this.unput(this.match.slice(d))},"less"),pastInput:u(function(){var d=this.matched.substr(0,this.matched.length-this.match.length);return(d.length>20?"...":"")+d.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u(function(){var d=this.match;return d.length<20&&(d+=this._input.substr(0,20-d.length)),(d.substr(0,20)+(d.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u(function(){var d=this.pastInput(),i=new Array(d.length+1).join("-");return d+this.upcomingInput()+`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as ht,bq as g,bo as m,a_ as p,by as bt,b as xt}from"./CNdlzZOD.js";import{bs as yt,a7 as kt,ay as Q,W as u,bn as At,aA as h,a5 as j,bS as f,bl as S,bA as W,aD as e,b_ as D,bO as x,aB as k,bH as et,c9 as y,bV as at,be as wt,b$ as It}from"./DYhIMPy1.js";import{I as Bt,n as Ct}from"./9iFKJfkz.js";import{I as Pt,D as zt}from"./HVSUZ4Kq.js";import{f as F}from"./
|
|
1
|
+
import{t as ht,bq as g,bo as m,a_ as p,by as bt,b as xt}from"./CNdlzZOD.js";import{bs as yt,a7 as kt,ay as Q,W as u,bn as At,aA as h,a5 as j,bS as f,bl as S,bA as W,aD as e,b_ as D,bO as x,aB as k,bH as et,c9 as y,bV as at,be as wt,b$ as It}from"./DYhIMPy1.js";import{I as Bt,n as Ct}from"./9iFKJfkz.js";import{I as Pt,D as zt}from"./HVSUZ4Kq.js";import{f as F}from"./D3glRUn0.js";import"./DIh4SQwA.js";import{F as rt,c8 as Rt,cj as St,aq as Wt}from"./BIfN-lxi.js";import{e as Dt}from"./kw6HOG6J.js";import{D as Lt}from"./CseMAxRT.js";import{Ig as $t,u8 as qt}from"./BoIGV7s7.js";import{g as Ht}from"./DrS3YtfK.js";var Nt=k('<span class="type-caption shrink-0 font-medium text-success"> </span>'),jt=k('<!> <span class="type-body flex-1 truncate text-left font-medium text-foreground"> </span> <span class="type-caption shrink-0 tabular-nums"><span class="text-success"> </span> <span class="ml-1 text-danger"> </span></span> <!>',1),Ft=k("<!> ",1),Mt=k('<div class="mb-2 flex gap-1"></div>'),Ot=k('<div class="border-t border-border p-2"><!> <!></div>'),Vt=k('<div class="ws-block-widget type-body my-2 overflow-hidden rounded-md border border-border bg-card text-foreground shadow-(--elevation-raised)"><div class="flex min-h-9 items-center gap-2 px-3 py-1.5"><!> <!> <!></div> <!></div>'),Et=k('<div class="ws-block-widget type-caption my-2 text-muted-foreground"> </div>');function Tt(U,n){if(new.target)return ht({component:Tt,...U});yt(n,!0);let A=g(n,"patches",7),M=g(n,"label",23,()=>m.ui_patchBlock_label()),O=g(n,"lastApply",7),w=g(n,"linkedAgentId",7),L=g(n,"workspaceId",7),P=g(n,"applying",7,!1),$=g(n,"onApply",7),q=g(n,"onRevert",7),V=at(!1),E=at(0),z=y(()=>A()?.[e(E)]),T=y(()=>O()?.status==="success");function st(t){const o=t.split(`
|
|
2
2
|
`);let v=0,b=0;for(const I of o)I.startsWith("+")&&!I.startsWith("+++")?v++:I.startsWith("-")&&!I.startsWith("---")&&b++;return{addCount:v,removeCount:b}}let X=y(()=>e(z)?st(e(z).diff):{addCount:0,removeCount:0}),G=y(()=>P()?{label:m.ui_patchBlock_applying_label(),icon:null}:e(T)?{label:m.ui_patchBlock_revert_label(),icon:St}:{label:m.ui_patchBlock_apply_label(),icon:Wt}),nt=y(()=>!!($()||q()));function ot(){et(V,!e(V))}function lt(){e(T)?q()?.():$()?.()}var it={get patches(){return A()},set patches(t){A(t),h()},get label(){return M()},set label(t=m.ui_patchBlock_label()){M(t),h()},get lastApply(){return O()},set lastApply(t){O(t),h()},get linkedAgentId(){return w()},set linkedAgentId(t){w(t),h()},get workspaceId(){return L()},set workspaceId(t){L(t),h()},get applying(){return P()},set applying(t=!1){P(t),h()},get onApply(){return $()},set onApply(t){$(t),h()},get onRevert(){return q()},set onRevert(t){q(t),h()},$set:bt,$on:(t,o)=>xt(n,t,o)},Y=kt(),ct=Q(Y);{var dt=t=>{var o=Vt(),v=j(o),b=j(v);{var I=a=>{{let c=y(()=>m.ui_patchBlock_viewAgent_tooltip());F(a,{variant:"plain",size:"icon-compact",iconOnly:!0,class:"size-4! shrink-0 rounded-sm! transition-opacity hover:opacity-80",onclick:l=>{L()&&$t.dispatch(qt(L(),{agentId:w(),...Ht(l)}))},get title(){return e(c)},children:(l,_)=>{Dt(l,{get agentId(){return w()},variant:"compact"})},$$slots:{default:!0}})}};p(b,a=>{w()&&a(I)})}var Z=f(b,2);F(Z,{variant:"plain",size:"compact",class:"h-auto! min-w-0 flex-1 shrink items-center justify-start gap-2 px-0! py-0! text-muted-foreground transition-colors hover:text-foreground",truncateLabel:!1,labelClass:"flex min-w-0 flex-1 items-center gap-2",onclick:ot,children:(a,c)=>{var l=jt(),_=Q(l);{var B=i=>{rt(i,{get icon(){return Rt},size:10,class:"text-muted-foreground"})};p(_,i=>{w()||i(B)})}var C=f(_,2),s=S(C,!0),d=f(C,2),r=j(d),R=S(r),H=f(r,2),J=S(H);W(d);var K=f(d,2);{var tt=i=>{var N=Nt(),gt=S(N,!0);D(mt=>x(gt,mt),[()=>m.ui_patchBlock_applied_label()]),u(i,N)};p(K,i=>{e(T)&&i(tt)})}D(()=>{x(s,M()),x(R,`+${e(X).addCount??""}`),x(J,`-${e(X).removeCount??""}`)}),u(a,l)},$$slots:{default:!0}});var ut=f(Z,2);{var ft=a=>{F(a,{variant:"ghost-light",size:"sm",class:"type-caption shrink-0",onclick:lt,get disabled(){return P()},children:(c,l)=>{var _=Ft(),B=Q(_);{var C=r=>{Bt(r,{size:12})},s=r=>{rt(r,{get icon(){return e(G).icon},size:"xs"})};p(B,r=>{P()?r(C):e(G).icon&&r(s,1)})}var d=f(B);D(()=>x(d,` ${e(G).label??""}`)),u(c,_)},$$slots:{default:!0}})};p(ut,a=>{e(nt)&&a(ft)})}W(v);var vt=f(v,2);{var _t=a=>{var c=Ot(),l=j(c);{var _=s=>{var d=Mt();Ct(d,23,A,(r,R)=>`patch-${R}-${r.filePath}`,(r,R,H)=>{{let J=y(()=>e(H)===e(E)?"default":"ghost-light");F(r,{get variant(){return e(J)},size:"sm",class:"type-caption",onclick:()=>et(E,e(H),!0),children:(K,tt)=>{wt();var i=It();D(N=>x(i,N),[()=>e(R).filePath.split("/").pop()]),u(K,i)},$$slots:{default:!0}})}}),W(d),u(s,d)};p(l,s=>{A().length>1&&s(_)})}var B=f(l,2);{var C=s=>{Lt(s,{get patch(){return e(z).diff},get fileName(){return e(z).filePath},showHeader:!0,showStats:!0,showLineNumbers:!0,maxHeight:"300px",collapsible:!1,class:"overflow-hidden rounded-sm border border-border"})};p(B,s=>{e(z)&&s(C)})}W(c),Pt(3,c,()=>zt,()=>({tier:"moderate"})),u(a,c)};p(vt,a=>{e(V)&&a(_t)})}W(o),u(t,o)},pt=t=>{var o=Et(),v=S(o,!0);D(b=>x(v,b),[()=>m.ui_patchBlock_invalid_error()]),u(t,o)};p(ct,t=>{A()?.length?t(dt):t(pt,-1)})}return u(U,Y),At(it)}export{Tt as P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ig as s,i3 as a,l_ as S,ny as f,mb as m}from"./
|
|
1
|
+
import{Ig as s,i3 as a,l_ as S,ny as f,mb as m}from"./BoIGV7s7.js";import{H as O}from"./BL9TmjaL.js";import{dw as d,aU as b,dE as k}from"./De3HYtL6.js";const g=s.createSelector((t,e)=>{if(b.select(t,e)&&k.select(t,e))return!1;const r=t.principal?.snapshot;return r?.capabilities.workspaceGuestRoles===!0&&(r.capabilities.hostMembership?r.principal.hostRole==="guest":!r.principal.isAdministrator)}),h=s.createSelector(t=>t.principal?.snapshot?.capabilities.remoteScripts===1),l=s.createSelector((t,e,r)=>!g.select(t,e)||!!d.select(t,e)&&r?.purpose==="saved");function o(t,e,r){return!!e&&!!r&&l.select(t,e,r)}function i(t,e){return e?t.scripts.byWorkspaceId[e]??m:m}const j=s.createSelector((t,e)=>i(t,e).initialized),v=s.createSelector((t,e)=>{const r=i(t,e);return r.activeScriptIds?r.activeScriptIds.flatMap(c=>o(t,e,r.scripts[c])?[r.scripts[c]]:[]):Object.values(r.scripts).filter(c=>!c.archivedAt&&o(t,e,c))}),C=s.createSelector((t,e)=>v.select(t,e).filter(r=>O((r.runtime??a()).status))),u=s.createSelector((t,e,r)=>{const c=i(t,e);return o(t,e,c.scripts[r])?c.scripts[r]:null}),E=s.createSelector((t,e,r)=>u.select(t,e,r)?.runtime??a()),x=s.createSelector((t,e,r)=>{const c=i(t,e);return l.select(t,e??"",c.scripts[r])?c.outputBuffers[r]??S:S}),M=s.createSelector((t,e,r,c)=>{const n=i(t,e).retainedOutputs?.[c];return n?.scriptId===r&&l.select(t,e,i(t,e).scripts[r])?n:void 0}),z=s.createSelector(t=>Object.entries(t.scripts?.byWorkspaceId??{}).filter(([,e])=>Object.keys(e.retainedOutputs??{}).length>0).map(([e])=>e).sort()),A=s.createSelector((t,e)=>!!t.scripts?.byWorkspaceId[e]?.outputStreamReady),D=s.createSelector((t,e)=>i(t,e).initialized),B=s.createSelector((t,e)=>{const r=i(t,e);return r.activeScriptIds?r.activeScriptIds.flatMap(c=>o(t,e,r.scripts[c])?[r.scripts[c]]:[]):Object.values(r.scripts).filter(c=>!c.archivedAt&&o(t,e,c))}),G=s.createSelector((t,e)=>{const r=i(t,e);return r.detectionOperation?.pending?{...r.operations,...Object.fromEntries(Object.keys(r.scripts).map(c=>[c,r.detectionOperation]))}:r.operations}),L=s.createSelector((t,e)=>i(t,e).detectionOperation),P=s.createSelector((t,e,r,c)=>{const n=i(t,r).workflowOutcomes,p=n?f(n,e):void 0;return p?.workspaceId===r&&p.resourceId===c?p:void 0}),U=s.createSelector((t,e,r)=>u.select(t,e,r)?.runtime??a()),H=s.createSelector((t,e)=>Object.values(i(t,e).scripts).filter(r=>o(t,e,r))),J=s.createSelector((t,e,r)=>i(t,e).pendingReads?.[r]),V=s.createSelector((t,e,r)=>!!u.select(t,e,r)&&!i(t,e).detectionOperation?.pending&&!i(t,e).operations[r]?.pending),_=s.createSelector((t,e)=>({nextCursor:i(t,e).nextCursor,loading:i(t,e).loading,error:i(t,e).loadError}));export{H as selectAllWorkspaceScriptEntries,V as selectCanDeleteScript,l as selectCanReadScriptDefinition,h as selectRemoteScriptsSupported,C as selectRunningScripts,u as selectScriptById,L as selectScriptDetectionOperation,v as selectScriptEntries,_ as selectScriptListPageState,x as selectScriptOutput,A as selectScriptOutputStreamReady,z as selectScriptOutputViewerWorkspaceIds,J as selectScriptReadJournal,M as selectScriptRetainedOutput,E as selectScriptRuntime,P as selectScriptWorkflowOutcome,j as selectScriptsInitialized,g as selectUsesGuestScriptScope,B as selectWorkspaceScriptEntries,G as selectWorkspaceScriptOperations,U as selectWorkspaceScriptRuntime,D as selectWorkspaceScriptsInitialized};
|