@intent-hq/web 2.391.1 → 2.392.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/package.json +1 -1
- package/web/app/immutable/chunks/{CpwS8V1F.js → 1NvRJVY9.js} +1 -1
- package/web/app/immutable/chunks/{B2awO10u.js → 2OP7IVCM.js} +1 -1
- package/web/app/immutable/chunks/{BZ27qIg1.js → 2z64ELW5.js} +1 -1
- package/web/app/immutable/chunks/{DLqZuVvj.js → 52kdRKiP.js} +1 -1
- package/web/app/immutable/chunks/{pXrAh3i2.js → 7590d3_e.js} +1 -1
- package/web/app/immutable/chunks/{CaX8Mme7.js → 7BHYBi88.js} +1 -1
- package/web/app/immutable/chunks/{DJcR4XQR.js → 8ljmIEEj.js} +1 -1
- package/web/app/immutable/chunks/{DXCHCOFX.js → 9ryMZ44V.js} +1 -1
- package/web/app/immutable/chunks/{DISm8kek.js → AVUhaNFO.js} +1 -1
- package/web/app/immutable/chunks/{ByP-EusE.js → B-mEBo1a.js} +1 -1
- package/web/app/immutable/chunks/{CVtLV3_x.js → B0SSzYpD.js} +1 -1
- package/web/app/immutable/chunks/{9eqoPT_C.js → B2-ooCTr.js} +1 -1
- package/web/app/immutable/chunks/{CedswVQA.js → B36ccT8S.js} +1 -1
- package/web/app/immutable/chunks/{CIxnaBAb.js → B469nFvV.js} +2 -2
- package/web/app/immutable/chunks/{YQwkPi_0.js → B4OBYHli.js} +1 -1
- package/web/app/immutable/chunks/{g5QqP-QE.js → B6Qz5J1y.js} +1 -1
- package/web/app/immutable/chunks/{CwOdvmTo.js → B6SGYvow.js} +3 -3
- package/web/app/immutable/chunks/{23FyIn6O.js → B76dt5zP.js} +1 -1
- package/web/app/immutable/chunks/{Dh1j4V0b.js → B77w2td3.js} +1 -1
- package/web/app/immutable/chunks/{DWRtOXBU.js → B8RXlIBH.js} +1 -1
- package/web/app/immutable/chunks/{DG3-me8H.js → B8m3-qrW.js} +1 -1
- package/web/app/immutable/chunks/{C5tJUrGJ.js → B8pX1T5t.js} +1 -1
- package/web/app/immutable/chunks/{Dt_7lHy8.js → B9-jkWWp.js} +1 -1
- package/web/app/immutable/chunks/{DPk2fLxi.js → B9R2bql6.js} +1 -1
- package/web/app/immutable/chunks/{CT8vPg_p.js → BAtAwQ72.js} +2 -2
- package/web/app/immutable/chunks/{DGU9U1O6.js → BBfR26V0.js} +1 -1
- package/web/app/immutable/chunks/{BB2vaoZ2.js → BCL-o_Md.js} +3 -3
- package/web/app/immutable/chunks/{C4l6men1.js → BCw-LKCu.js} +1 -1
- package/web/app/immutable/chunks/{CoSEZL3s.js → BCwKGJpG.js} +1 -1
- package/web/app/immutable/chunks/{WYNXUtt9.js → BDQvAsU6.js} +1 -1
- package/web/app/immutable/chunks/{KWtYfwVq.js → BE4DZU9i.js} +1 -1
- package/web/app/immutable/chunks/{C3JJkOFb.js → BEGGqaof.js} +1 -1
- package/web/app/immutable/chunks/{CyvzL5p8.js → BFO-Le8U.js} +3 -3
- package/web/app/immutable/chunks/{CUZpLDKB.js → BFVncOQi.js} +1 -1
- package/web/app/immutable/chunks/BGSmaq6H.js +1 -0
- package/web/app/immutable/chunks/{CEyWnfg4.js → BJIUXUAo.js} +1 -1
- package/web/app/immutable/chunks/{z4O7yNZ6.js → BJRZEnHw.js} +1 -1
- package/web/app/immutable/chunks/{Dd_KPYBw.js → BK5l06W2.js} +1 -1
- package/web/app/immutable/chunks/{B_JGVEqN.js → BKGQPtRi.js} +1 -1
- package/web/app/immutable/chunks/BKxcGjV6.js +1 -0
- package/web/app/immutable/chunks/{DoJ49Zrl.js → BLUGgUG-.js} +1 -1
- package/web/app/immutable/chunks/{C2tSFTTb.js → BN9pl0_x.js} +1 -1
- package/web/app/immutable/chunks/{Bpi8OSTE.js → BNNeufNk.js} +1 -1
- package/web/app/immutable/chunks/{DLt9OoMP.js → BPd-Q6x4.js} +1 -1
- package/web/app/immutable/chunks/{CV17KbhT.js → BQ5x_RaT.js} +1 -1
- package/web/app/immutable/chunks/{B26ZHg3s.js → BRCr02in.js} +1 -1
- package/web/app/immutable/chunks/{DidHgSQp.js → BRPh2Gky.js} +2 -2
- package/web/app/immutable/chunks/{CHIxjTWu.js → BS1zON0P.js} +1 -1
- package/web/app/immutable/chunks/{kkKMJ9w9.js → BS5e_kKu.js} +1 -1
- package/web/app/immutable/chunks/{6JlgfFWd.js → BT6sDnDt.js} +1 -1
- package/web/app/immutable/chunks/{BSKVcPN7.js → BVhnyyZ7.js} +1 -1
- package/web/app/immutable/chunks/{CH6Im5iM.js → BYfDvU8j.js} +1 -1
- package/web/app/immutable/chunks/{DMudvlKI.js → BZnji9hP.js} +4 -4
- package/web/app/immutable/chunks/{D3pRyooW.js → B_4oJZFT.js} +1 -1
- package/web/app/immutable/chunks/{z0xDttNV.js → B_DmwFyf.js} +3 -3
- package/web/app/immutable/chunks/{C1MYTxgW.js → B_GvRk21.js} +1 -1
- package/web/app/immutable/chunks/{BQCtWEZ2.js → BbK9qDRy.js} +1 -1
- package/web/app/immutable/chunks/{Ci6PI5sn.js → Bc4EBjSN.js} +1 -1
- package/web/app/immutable/chunks/{CiHhUIjb.js → BdWMbiFk.js} +1 -1
- package/web/app/immutable/chunks/{7-WRRruG.js → Bdh-SKNo.js} +1 -1
- package/web/app/immutable/chunks/{D9R5fzn8.js → Beq_QLuz.js} +1 -1
- package/web/app/immutable/chunks/{D9T_0Eev.js → Bg5K6Ci3.js} +3 -3
- package/web/app/immutable/chunks/{B2Ny2uiy.js → Bh3yfjRP.js} +1 -1
- package/web/app/immutable/chunks/{DynUeYUu.js → BhYXv0ZM.js} +1 -1
- package/web/app/immutable/chunks/{CKTB5KRw.js → BhxHPYvf.js} +1 -1
- package/web/app/immutable/chunks/{Di3gErxh.js → BirGv2ci.js} +1 -1
- package/web/app/immutable/chunks/{Csqi0oV3.js → Bj58rFtD.js} +1 -1
- package/web/app/immutable/chunks/{0R5VEpaM.js → BjEG_fCJ.js} +4 -4
- package/web/app/immutable/chunks/{CA-b7pAY.js → BjPpzZjk.js} +2 -2
- package/web/app/immutable/chunks/{CwqJ7uz4.js → Bk3dX2Ob.js} +1 -1
- package/web/app/immutable/chunks/{BLtLj2yz.js → BkxevPaB.js} +1 -1
- package/web/app/immutable/chunks/{OsJD3pkm.js → Bky3Gaqa.js} +1 -1
- package/web/app/immutable/chunks/{CwCvyVGi.js → BmqZzhgO.js} +1 -1
- package/web/app/immutable/chunks/{B28HQLvX.js → BmyNM7bS.js} +1 -1
- package/web/app/immutable/chunks/{BRScUzfU.js → BnGY4PVn.js} +1 -1
- package/web/app/immutable/chunks/{Dk7Kxi97.js → BnJ52enz.js} +1 -1
- package/web/app/immutable/chunks/{BZCcX8wj.js → BnbmXiW4.js} +2 -2
- package/web/app/immutable/chunks/{Chbrtg19.js → BnnKw3Va.js} +1 -1
- package/web/app/immutable/chunks/{DmQ5G_6J.js → Bo0PodRV.js} +1 -1
- package/web/app/immutable/chunks/{BDeGl6ee.js → Boky5e4-.js} +1 -1
- package/web/app/immutable/chunks/{Cxc8q3rR.js → BonA_mfc.js} +1 -1
- package/web/app/immutable/chunks/{DIIj7EWA.js → BpFxCD0b.js} +1 -1
- package/web/app/immutable/chunks/{qWgJ-CUF.js → BqF1bVQC.js} +2 -2
- package/web/app/immutable/chunks/{DqtLBCnq.js → BqRQBnTW.js} +1 -1
- package/web/app/immutable/chunks/{9GL-RXJZ.js → Bs5b-3jJ.js} +1 -1
- package/web/app/immutable/chunks/{BM39k1x6.js → BusD2v6a.js} +1 -1
- package/web/app/immutable/chunks/{Bhyo7hBL.js → Bvwrya09.js} +1 -1
- package/web/app/immutable/chunks/{RV6uszBL.js → Bw-Zu1Zf.js} +1 -1
- package/web/app/immutable/chunks/{QzxpbvSo.js → BwweojP5.js} +1 -1
- package/web/app/immutable/chunks/{K0WiFC8Y.js → BxCgCRwx.js} +1 -1
- package/web/app/immutable/chunks/{CnDgS0vt.js → ByaJIEgQ.js} +1 -1
- package/web/app/immutable/chunks/{DuZtgB5V.js → BybDBA-a.js} +1 -1
- package/web/app/immutable/chunks/{CyinuwPx.js → BzKqzACd.js} +1 -1
- package/web/app/immutable/chunks/{Bz80vYvX.js → BzXQ5SMs.js} +1 -1
- package/web/app/immutable/chunks/{Q1bO23Hj.js → C-BJXKy-.js} +1 -1
- package/web/app/immutable/chunks/{BSZu3BUb.js → C-e2e9PC.js} +1 -1
- package/web/app/immutable/chunks/{BTXzEcFX.js → C0JQvbI4.js} +1 -1
- package/web/app/immutable/chunks/{CAGrRNbp.js → C1SGWBXH.js} +1 -1
- package/web/app/immutable/chunks/{B4Yz29Q3.js → C2RnxEnO.js} +1 -1
- package/web/app/immutable/chunks/{DR_b4dt8.js → C3AR_gNB.js} +1 -1
- package/web/app/immutable/chunks/{DcraaizU.js → C3KgmGxd.js} +1 -1
- package/web/app/immutable/chunks/C3cVfkio.js +1 -0
- package/web/app/immutable/chunks/{BaXq2aUL.js → C4AJzMws.js} +46 -46
- package/web/app/immutable/chunks/{Cr5mKkdD.js → C6DQmPVB.js} +1 -1
- package/web/app/immutable/chunks/{DMEIbJII.js → C7b3vXLD.js} +1 -1
- package/web/app/immutable/chunks/{S3jMTv3a.js → C7q_UkFQ.js} +1 -1
- package/web/app/immutable/chunks/{BMTanQ2Z.js → C8OXQeb2.js} +1 -1
- package/web/app/immutable/chunks/{Bb-kpHQF.js → C8PR5GO9.js} +1 -1
- package/web/app/immutable/chunks/{DvUsJK3H.js → C8TRSNUb.js} +1 -1
- package/web/app/immutable/chunks/{CnFZbWXv.js → CA6H1-bp.js} +1 -1
- package/web/app/immutable/chunks/{gQ8VFuWN.js → CB8FMdnB.js} +2 -2
- package/web/app/immutable/chunks/{Bhq56Jsu.js → CCAtqaSn.js} +1 -1
- package/web/app/immutable/chunks/{CREbzS7Z.js → CCSQmeuF.js} +1 -1
- package/web/app/immutable/chunks/{CUgl7USU.js → CDD7ui9Z.js} +1 -1
- package/web/app/immutable/chunks/{B9Nn4kQr.js → CDUMf4mn.js} +1 -1
- package/web/app/immutable/chunks/{DxmPtFKv.js → CDjbPb5H.js} +1 -1
- package/web/app/immutable/chunks/{CAUJiTuz.js → CDtaIFAl.js} +1 -1
- package/web/app/immutable/chunks/{BcdTbj6d.js → CGO_zr9m.js} +1 -1
- package/web/app/immutable/chunks/{BkcCJyDK.js → CH7HNVC2.js} +1 -1
- package/web/app/immutable/chunks/{BAMJ8Hnj.js → CIqC9ucK.js} +1 -1
- package/web/app/immutable/chunks/{BOPrepKH.js → COmspkQo.js} +1 -1
- package/web/app/immutable/chunks/{GwtGeFMJ.js → CPUJ3EYc.js} +1 -1
- package/web/app/immutable/chunks/{Cnkux63v.js → CQPid4Qr.js} +1 -1
- package/web/app/immutable/chunks/{CbB6SI0i.js → CRm25OCR.js} +1 -1
- package/web/app/immutable/chunks/{mFWmuyR-.js → CS6als-f.js} +1 -1
- package/web/app/immutable/chunks/{CCzPC_cB.js → CSbEYhAV.js} +1 -1
- package/web/app/immutable/chunks/{DHkcvVzr.js → CTkkv_Ih.js} +1 -1
- package/web/app/immutable/chunks/{JiW1DfLK.js → CUtsQ_at.js} +1 -1
- package/web/app/immutable/chunks/{Drn9m8Tp.js → CV86ty5-.js} +1 -1
- package/web/app/immutable/chunks/{fCtMtGYt.js → CVZzx9IJ.js} +1 -1
- package/web/app/immutable/chunks/{DQpGArF7.js → CVx5OKWy.js} +1 -1
- package/web/app/immutable/chunks/{CGmYraIa.js → CWfjuhY2.js} +1 -1
- package/web/app/immutable/chunks/{CRXlvdEs.js → CWtyXmQ4.js} +1 -1
- package/web/app/immutable/chunks/{1-MeqddK.js → CXTQXSCs.js} +1 -1
- package/web/app/immutable/chunks/{CWXVdpgZ.js → CXygwMkb.js} +1 -1
- package/web/app/immutable/chunks/{B1lpukIv.js → CZfU7DE3.js} +1 -1
- package/web/app/immutable/chunks/{B2Q_FC4n.js → Ca1iiPGq.js} +3 -3
- package/web/app/immutable/chunks/{B7hWIBzm.js → Cb6ALa0V.js} +1 -1
- package/web/app/immutable/chunks/{Ao0jjYj2.js → CbSZGuz9.js} +1 -1
- package/web/app/immutable/chunks/{DFKhOU69.js → Cc0763mU.js} +1 -1
- package/web/app/immutable/chunks/{B6m0Dypi.js → CcijsN8m.js} +1 -1
- package/web/app/immutable/chunks/{-CpNnXIW.js → CdtwTpzR.js} +1 -1
- package/web/app/immutable/chunks/{C9N7yhqm.js → Ce-va2I0.js} +1 -1
- package/web/app/immutable/chunks/{C22cBcHz.js → Ch9YoFhc.js} +1 -1
- package/web/app/immutable/chunks/{COofQgO0.js → ChHRVjww.js} +1 -1
- package/web/app/immutable/chunks/{BlzuDW6O.js → CjrqEuvI.js} +1 -1
- package/web/app/immutable/chunks/{BOVldAsb.js → CkTAy7fl.js} +1 -1
- package/web/app/immutable/chunks/{DXXFBdjF.js → CkyxPppw.js} +1 -1
- package/web/app/immutable/chunks/{D49mWFig.js → CnPYlvZC.js} +1 -1
- package/web/app/immutable/chunks/{DUTvR2si.js → CpK0xLH4.js} +1 -1
- package/web/app/immutable/chunks/{jyQWudgn.js → Cq97NFfR.js} +1 -1
- package/web/app/immutable/chunks/{BVUW22uN.js → CqPoxrPz.js} +1 -1
- package/web/app/immutable/chunks/{BczcQRsN.js → CqRvL4xi.js} +1 -1
- package/web/app/immutable/chunks/{CAUle5iU.js → CtBzyNOX.js} +1 -1
- package/web/app/immutable/chunks/{BrL12o40.js → CtcGxSOx.js} +1 -1
- package/web/app/immutable/chunks/{CjpWOZGa.js → Cu9dGfYE.js} +1 -1
- package/web/app/immutable/chunks/{DJqiMUht.js → Cv-fAWZf.js} +1 -1
- package/web/app/immutable/chunks/{C5fxud9g.js → Cv6grH4l.js} +1 -1
- package/web/app/immutable/chunks/{CU15H7o_.js → Cx394IAH.js} +1 -1
- package/web/app/immutable/chunks/{BXwdb0J5.js → Cx8Rw_sH.js} +3 -3
- package/web/app/immutable/chunks/{Bx1P9uW7.js → CxR-pcVt.js} +1 -1
- package/web/app/immutable/chunks/{BFHmbbvG.js → CxuKWK-9.js} +2 -2
- package/web/app/immutable/chunks/{DF54qNJU.js → CyHB14hJ.js} +1 -1
- package/web/app/immutable/chunks/{D59tCG3q.js → CykElrvo.js} +2 -2
- package/web/app/immutable/chunks/{CTgYTdXw.js → Cz3WzTlQ.js} +1 -1
- package/web/app/immutable/chunks/{CiKoEJ2m.js → D0qhIm1r.js} +1 -1
- package/web/app/immutable/chunks/{CeoBhFo7.js → D179JMBI.js} +1 -1
- package/web/app/immutable/chunks/{COo5pTrI.js → D3m2Y1N8.js} +1 -1
- package/web/app/immutable/chunks/{DE8II0cx.js → D42wJcQ3.js} +1 -1
- package/web/app/immutable/chunks/{Dl1AOLZu.js → D5A4PJDt.js} +1 -1
- package/web/app/immutable/chunks/{Cgz4dZpP.js → D5ocbEo-.js} +1 -1
- package/web/app/immutable/chunks/{DoB-G8kB.js → D6H34kDj.js} +1 -1
- package/web/app/immutable/chunks/{aWBSU8IQ.js → D7KhILhs.js} +1 -1
- package/web/app/immutable/chunks/{CLMwPQBQ.js → D7VoSTzK.js} +1 -1
- package/web/app/immutable/chunks/{Cr9C4VDu.js → D7rh8Clb.js} +1 -1
- package/web/app/immutable/chunks/{SdVpHK7d.js → D7z6HEeo.js} +1 -1
- package/web/app/immutable/chunks/{DF15jnSX.js → D8CQQUv8.js} +1 -1
- package/web/app/immutable/chunks/{DyreqWqr.js → D8cNe_33.js} +1 -1
- package/web/app/immutable/chunks/{CzxEKNiF.js → D9gMMVdB.js} +1 -1
- package/web/app/immutable/chunks/{CDh2mZdS.js → DEQnE_KB.js} +1 -1
- package/web/app/immutable/chunks/{DcPZfWKB.js → DFRVxmWf.js} +1 -1
- package/web/app/immutable/chunks/{Dgo57zmq.js → DHMxSQaO.js} +1 -1
- package/web/app/immutable/chunks/{Dr6-g-BO.js → DITs7RNY.js} +1 -1
- package/web/app/immutable/chunks/{BU9me3Pg.js → DJSAkzw5.js} +1 -1
- package/web/app/immutable/chunks/{KaOLys0u.js → DJZIHUd7.js} +1 -1
- package/web/app/immutable/chunks/{HiIoMspb.js → DLPlXnVY.js} +1 -1
- package/web/app/immutable/chunks/{k48f0Jn8.js → DMOXpjfz.js} +1 -1
- package/web/app/immutable/chunks/{B7pblHOt.js → DON9zoQ1.js} +1 -1
- package/web/app/immutable/chunks/{CwqyVbqi.js → DP31pjuo.js} +3 -3
- package/web/app/immutable/chunks/{uyQciu7h.js → DPbxpEc3.js} +4 -4
- package/web/app/immutable/chunks/{B5-Plsom.js → DQ3EU1b-.js} +1 -1
- package/web/app/immutable/chunks/{BuyrOC4V.js → DQYwt0RJ.js} +1 -1
- package/web/app/immutable/chunks/{BFfRQORP.js → DRMe5Ypb.js} +1 -1
- package/web/app/immutable/chunks/{Cn4-Fvkn.js → DT_a2Oi3.js} +1 -1
- package/web/app/immutable/chunks/{Cxmepjfl.js → DWjpzYNk.js} +1 -1
- package/web/app/immutable/chunks/{bJK6npyT.js → DYrrsQ1p.js} +1 -1
- package/web/app/immutable/chunks/{CfDqTHT1.js → D_-4DIK6.js} +1 -1
- package/web/app/immutable/chunks/{BGeImWEk.js → D_jEt7ej.js} +1 -1
- package/web/app/immutable/chunks/{BWQPB65O.js → DbPBKS19.js} +1 -1
- package/web/app/immutable/chunks/{DupTZXsI.js → DbSflHPQ.js} +1 -1
- package/web/app/immutable/chunks/{BHgSQJqT.js → Dbqo6rfT.js} +1 -1
- package/web/app/immutable/chunks/{TPru2I57.js → DcrCEeFN.js} +1 -1
- package/web/app/immutable/chunks/{n0_jgWL7.js → DeLdUBWT.js} +1 -1
- package/web/app/immutable/chunks/{D3tqOSzT.js → DepS1LOg.js} +1 -1
- package/web/app/immutable/chunks/{DW8fwVBf.js → DfINI0LK.js} +1 -1
- package/web/app/immutable/chunks/{Em5CdgqH.js → DfyDNbbj.js} +4 -4
- package/web/app/immutable/chunks/{CktgkomQ.js → DhXSKt_a.js} +1 -1
- package/web/app/immutable/chunks/{DOhHP999.js → DjAFd7Fr.js} +1 -1
- package/web/app/immutable/chunks/{l7sDKa65.js → Dk9lUzSs.js} +1 -1
- package/web/app/immutable/chunks/{C3jMXj_V.js → DkQdSPDN.js} +1 -1
- package/web/app/immutable/chunks/{Cp-4w4r1.js → DnNE_pmq.js} +1 -1
- package/web/app/immutable/chunks/{BM2ubpAw.js → DoFGyuPK.js} +1 -1
- package/web/app/immutable/chunks/{D5Jk5CWk.js → DpDGJXfb.js} +2 -2
- package/web/app/immutable/chunks/{CK543FRe.js → DqQWmhFJ.js} +1 -1
- package/web/app/immutable/chunks/{C8E14ldW.js → DrCYFWYk.js} +1 -1
- package/web/app/immutable/chunks/{D7QFmXLb.js → DsDbrkJf.js} +1 -1
- package/web/app/immutable/chunks/{QeZhJHLb.js → DtuubiMf.js} +1 -1
- package/web/app/immutable/chunks/{BT8mEFV6.js → DuYgHIqV.js} +1 -1
- package/web/app/immutable/chunks/{BJCm9MUD.js → Dusq2uGc.js} +1 -1
- package/web/app/immutable/chunks/{BmaG8vdR.js → Dv2WcD53.js} +1 -1
- package/web/app/immutable/chunks/{zXLHCuiE.js → DvEcqVUt.js} +1 -1
- package/web/app/immutable/chunks/{DQNtbVVY.js → DwJUGAx4.js} +3 -3
- package/web/app/immutable/chunks/{CR5XXYcE.js → DwwEvwlj.js} +1 -1
- package/web/app/immutable/chunks/{9qqz3Jr0.js → DzNzbnYA.js} +1 -1
- package/web/app/immutable/chunks/{DhTLwmro.js → EK8GFErl.js} +1 -1
- package/web/app/immutable/chunks/Fcr7AvC-.js +1 -0
- package/web/app/immutable/chunks/{D__sU8Ug.js → Fiwts6D3.js} +1 -1
- package/web/app/immutable/chunks/{Byobtdo1.js → G_kSYo3Y.js} +1 -1
- package/web/app/immutable/chunks/{DcU8bi_n.js → IHdKCjQM.js} +2 -2
- package/web/app/immutable/chunks/{B7hGbqIM.js → IhhtpC0N.js} +1 -1
- package/web/app/immutable/chunks/{BS9WBIBb.js → O5ZlQHf9.js} +1 -1
- package/web/app/immutable/chunks/{ChYLETZB.js → OqslD7bF.js} +1 -1
- package/web/app/immutable/chunks/{By2YlE-l.js → Qvf67TfJ.js} +1 -1
- package/web/app/immutable/chunks/{DeFlL2nh.js → R2QRct6h.js} +1 -1
- package/web/app/immutable/chunks/{BNYZa6GV.js → Rq6GuI3F.js} +1 -1
- package/web/app/immutable/chunks/{Xgzr3BTD.js → T6UBEOFc.js} +1 -1
- package/web/app/immutable/chunks/{BpezAJRw.js → TdGvVwuC.js} +1 -1
- package/web/app/immutable/chunks/{DSZbBNDD.js → Tgw7Kdvt.js} +1 -1
- package/web/app/immutable/chunks/{P7zPRuFC.js → U5o8u-di.js} +1 -1
- package/web/app/immutable/chunks/{BUSErGiB.js → UWtWVoQE.js} +1 -1
- package/web/app/immutable/chunks/{BCLYeYwk.js → W7uazUja.js} +1 -1
- package/web/app/immutable/chunks/{CDUYzZ2W.js → WWDClKTE.js} +1 -1
- package/web/app/immutable/chunks/{DEr2A_-h.js → Xk1ND_1x.js} +2 -2
- package/web/app/immutable/chunks/{DlljGo_I.js → Y8hdNZSZ.js} +1 -1
- package/web/app/immutable/chunks/{Dh-DCh2Y.js → YsAO4v_N.js} +1 -1
- package/web/app/immutable/chunks/{C00PRSTi.js → Z_lXVxA_.js} +1 -1
- package/web/app/immutable/chunks/{C-nTKxY9.js → ZfkZCfTr.js} +1 -1
- package/web/app/immutable/chunks/{CLvqghA8.js → ZmAQurQV.js} +1 -1
- package/web/app/immutable/chunks/{CHUYHKuh.js → _IIJlCYC.js} +1 -1
- package/web/app/immutable/chunks/{BU3y3Xes.js → _IjN0Lbt.js} +1 -1
- package/web/app/immutable/chunks/{iQDlfKDR.js → cD292w1o.js} +1 -1
- package/web/app/immutable/chunks/{ClaP_sir.js → dvKmN4h6.js} +1 -1
- package/web/app/immutable/chunks/{Crey45Oa.js → f5b-J-bi.js} +1 -1
- package/web/app/immutable/chunks/{ZX798KkU.js → gKdztwD8.js} +1 -1
- package/web/app/immutable/chunks/{BdhKX9ZN.js → gNR_yDDX.js} +1 -1
- package/web/app/immutable/chunks/{D5al-p9o.js → ggRB4LMK.js} +1 -1
- package/web/app/immutable/chunks/{axwUS21u.js → ghzRmqKs.js} +1 -1
- package/web/app/immutable/chunks/{FM3MDwzB.js → gocm4HZf.js} +1 -1
- package/web/app/immutable/chunks/{DBYe3Dcp.js → i2kR60wc.js} +2 -2
- package/web/app/immutable/chunks/{CdTSfppl.js → iCTyujt5.js} +1 -1
- package/web/app/immutable/chunks/{IxxdIKNN.js → iMqZaR5X.js} +1 -1
- package/web/app/immutable/chunks/{BT5iyspK.js → iNacp7Sr.js} +1 -1
- package/web/app/immutable/chunks/{BjGqF2I6.js → iViWtmHm.js} +1 -1
- package/web/app/immutable/chunks/{D3JNbQ4D.js → jphlY6bT.js} +1 -1
- package/web/app/immutable/chunks/{JvFe2B29.js → k5fprFtz.js} +1 -1
- package/web/app/immutable/chunks/{DSs6r6NG.js → kSTrWIIB.js} +1 -1
- package/web/app/immutable/chunks/{CEA7jD1C.js → koUs6Gjt.js} +1 -1
- package/web/app/immutable/chunks/{rwibDzZr.js → l3Y4i65_.js} +1 -1
- package/web/app/immutable/chunks/{DDvFH8QS.js → lE7gD_tn.js} +1 -1
- package/web/app/immutable/chunks/{BTvJ4T_4.js → lK1e5NlM.js} +1 -1
- package/web/app/immutable/chunks/{C9wxB2bb.js → m8Q2Rt7R.js} +2 -2
- package/web/app/immutable/chunks/{DHvVAxAW.js → mE5-Vs-0.js} +1 -1
- package/web/app/immutable/chunks/{BLfqsc2a.js → mpTxy2jJ.js} +1 -1
- package/web/app/immutable/chunks/pUywXnJP.js +1 -0
- package/web/app/immutable/chunks/{DWBUvNGh.js → qLTVpfPn.js} +1 -1
- package/web/app/immutable/chunks/{BBcnUEuQ.js → qqJggbSF.js} +1 -1
- package/web/app/immutable/chunks/s_T1Uukt.js +1 -0
- package/web/app/immutable/chunks/{5az3n8fR.js → uPtH8pRz.js} +1 -1
- package/web/app/immutable/chunks/{Cn-Afla1.js → u_H5ILVa.js} +1 -1
- package/web/app/immutable/chunks/{sFief-xo.js → udmuNwTR.js} +1 -1
- package/web/app/immutable/chunks/{D5tDAzIo.js → vezRCn6E.js} +1 -1
- package/web/app/immutable/chunks/{CPnqf2bo.js → vpLnaArD.js} +1 -1
- package/web/app/immutable/chunks/{BKKCpqXK.js → w3KJAO4V.js} +2 -2
- package/web/app/immutable/chunks/{CiRkFhK8.js → wRT2cc73.js} +1 -1
- package/web/app/immutable/chunks/{BVwQph9_.js → wtJmZfcy.js} +1 -1
- package/web/app/immutable/chunks/{B3T1oiJl.js → x4bPxhVW.js} +1 -1
- package/web/app/immutable/chunks/{DnzDw_9l.js → xK5y1U34.js} +1 -1
- package/web/app/immutable/chunks/{Cd-qmx8U.js → y83c7yRZ.js} +1 -1
- package/web/app/immutable/chunks/{Cq8_4net.js → ynQC8xZQ.js} +1 -1
- package/web/app/immutable/chunks/{DJSvqrCI.js → zFu37m6L.js} +1 -1
- package/web/app/immutable/entry/{app.B0HiWR5T.js → app.aDjWpyk7.js} +3 -3
- package/web/app/immutable/entry/start.1qdHg029.js +1 -0
- package/web/app/immutable/nodes/{0.5oa9JC3V.js → 0.D_e7AeTl.js} +1 -1
- package/web/app/immutable/nodes/{1.dLY473QL.js → 1.DA21OvwY.js} +1 -1
- package/web/app/immutable/nodes/{10.Dg3iEVmH.js → 10.CSASJEbg.js} +14 -14
- package/web/app/immutable/nodes/{11.PFTrUEsb.js → 11.DW2JfBsq.js} +1 -1
- package/web/app/immutable/nodes/{12.DUMat2GN.js → 12.B8s5KuaN.js} +1 -1
- package/web/app/immutable/nodes/{13.BEiznOPk.js → 13.J8EpPA9A.js} +1 -1
- package/web/app/immutable/nodes/{14.DFolVj6c.js → 14.C5TLXVit.js} +3 -3
- package/web/app/immutable/nodes/{15.CGEsAjgd.js → 15.DrH3We44.js} +1 -1
- package/web/app/immutable/nodes/{16.cptOJ-f9.js → 16.T0PyvW1V.js} +1 -1
- package/web/app/immutable/nodes/{17.BVn1LtfR.js → 17.pi-yfOoM.js} +1 -1
- package/web/app/immutable/nodes/{18.BLC8YWHJ.js → 18.CTVha2lA.js} +1 -1
- package/web/app/immutable/nodes/{19.CqJycQsd.js → 19.DyUaZQFK.js} +2 -2
- package/web/app/immutable/nodes/{2.BaR1WF3o.js → 2.CTOsyef2.js} +4 -4
- package/web/app/immutable/nodes/{20.g9As4rvG.js → 20.BPfqGZ4o.js} +1 -1
- package/web/app/immutable/nodes/{3.DwF_25Xt.js → 3.xcZps6DB.js} +1 -1
- package/web/app/immutable/nodes/{4.ttOSy2Tq.js → 4.DaJkDmFI.js} +1 -1
- package/web/app/immutable/nodes/{5.BVpoghsD.js → 5.7rTxN-4O.js} +1 -1
- package/web/app/immutable/nodes/6.tsWwri9c.js +5 -0
- package/web/app/immutable/nodes/{7.BO56ByN2.js → 7.CDTojphP.js} +1 -1
- package/web/app/immutable/nodes/{8.CPtVgnSI.js → 8.BO5ffLDm.js} +1 -1
- package/web/app/immutable/nodes/9.D0POivb2.js +14 -0
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/Bheykcr9.js +0 -1
- package/web/app/immutable/chunks/CDVPwJHE.js +0 -1
- package/web/app/immutable/chunks/CtfEuoOH.js +0 -1
- package/web/app/immutable/chunks/DRuLniWc.js +0 -1
- package/web/app/immutable/chunks/T9rMC0YB.js +0 -1
- package/web/app/immutable/chunks/jlu1ZSD8.js +0 -1
- package/web/app/immutable/entry/start.BFcXwo9Y.js +0 -1
- package/web/app/immutable/nodes/6.D6pOrTxH.js +0 -5
- package/web/app/immutable/nodes/9.cl9L6J-I.js +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as Ie}from"./DF15jnSX.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./DMudvlKI.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
|
|
1
|
+
import{e as Ie}from"./D8CQQUv8.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./BZnji9hP.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
|
|
2
2
|
`+A.showPosition()+`
|
|
3
3
|
Expecting `+Ft.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Zt="Parse error on line "+(vt+1)+": Unexpected "+(M==ce?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Zt,{text:A.match,token:this.terminals_[M]||M,line:A.yylineno,loc:Kt,expected:Ft})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+St+", token: "+M);switch(V[0]){case 1:E.push(M),D.push(A.yytext),o.push(A.yylloc),E.push(V[1]),M=null,le=A.yyleng,f=A.yytext,vt=A.yylineno,Kt=A.yylloc;break;case 2:if(z=this.productions_[V[1]][1],Ct.$=D[D.length-z],Ct._$={first_line:o[o.length-(z||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(z||1)].first_column,last_column:o[o.length-1].last_column},Ae&&(Ct._$.range=[o[o.length-(z||1)].range[0],o[o.length-1].range[1]]),Gt=this.performAction.apply(Ct,[f,le,vt,Et.yy,V[1],D,o].concat(Ne)),typeof Gt<"u")return Gt;z&&(E=E.slice(0,-1*z*2),D=D.slice(0,-1*z),o=o.slice(0,-1*z)),E.push(this.productions_[V[1]][0]),D.push(Ct.$),o.push(Ct._$),he=Dt[E[E.length-2]][E[E.length-1]],E.push(he);break;case 3:return!0}}return!0},"parse")},Pe=(function(){var _t={EOF:1,parseError:d(function(x,E){if(this.yy.parser)this.yy.parser.parseError(x,E);else throw new Error(x)},"parseError"),setInput:d(function(m,x){return this.yy=x||this.yy||{},this._input=m,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:d(function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var x=m.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},"input"),unput:d(function(m){var x=m.length,E=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var _=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),E.length-1&&(this.yylineno-=E.length-1);var D=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:E?(E.length===_.length?this.yylloc.first_column:0)+_[_.length-E.length].length-E[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(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:d(function(m){this.unput(this.match.slice(m))},"less"),pastInput:d(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var m=this.pastInput(),x=new Array(m.length+1).join("-");return m+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Ul=Object.defineProperty;var jl=(r,t,a)=>t in r?Ul(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a;var pa=(r,t,a)=>jl(r,typeof t!="symbol"?t+"":t,a);import{t as pt,bo as g,bw as vt,b as ht,bm as d,bq as Ea,bs as tr,br as Vl,bp as vn}from"./CtfEuoOH.js";import{ai as Ga,bs as _t,ca as Yt,aD as e,bH as D,ay as fe,bS as A,a7 as St,W as c,a5 as V,bA as F,bn as bt,c9 as n,bV as ue,aA as m,b_ as $,aj as xr,aB as I,be as Cr,b$ as Pr,bO as Q,bf as rr,c0 as Ia,bl as oe,bj as ja,c6 as Gl,bo as nn,br as Zr,am as Da,ax as Ba,bk as as,aw as pn,bz as ns,cb as Fn,c5 as Mn,aC as Ir,cd as vo,bv as Kl}from"./3SdAC2_C.js";import{i as O}from"./DynUeYUu.js";import{g as kr,e as sa,p as ms,i as Ha,I as Zl,h as eo,X as pi,o as Ql}from"./CnFZbWXv.js";import{n as Kt,l as On,c as Xa,g as rn,s as ks,k as ss,S as Yl}from"./Bx1P9uW7.js";import{s as J,f as Fe,g as hn,c as It,e as Qt,b as _n,p as Xl,S as Jl,C as ed}from"./B26ZHg3s.js";import{b as ea}from"./Dn334wJv.js";import{f as st,ae as to,a_ as td}from"./D9R5fzn8.js";import{J as rd,O as ad,Q as Is}from"./CT8vPg_p.js";import"./B3T1oiJl.js";import"./Bz80vYvX.js";import"./BS9WBIBb.js";import{t as Ma,k as vi}from"./CGmYraIa.js";import{F as Bt,a4 as zs,bg as ka,cK as ps,au as hi,aZ as _i,aK as nd,c9 as sd,a6 as os,aN as od,cN as id,cM as ld,a3 as vs,aC as is,aw as hs,I as ho,aj as dd,bu as cd,aS as ud,aX as fd,bJ as gd,ao as md,bk as bi,cC as pd,aP as _o,c0 as Ss,aI as Hn,cW as vd,cb as hd,bn as _d,b as bd,cp as yd,ag as wd,ba as Ts,cr as wn,cF as xd,az as kd,c6 as Id,d3 as Sd}from"./COofQgO0.js";import{C as yi,A as Td,o as Cd}from"./aWBSU8IQ.js";import{b as Cs,V as bo}from"./ClaP_sir.js";import{A as wi}from"./S3jMTv3a.js";import{bZ as xi,aj as Md,j as Kn,a4 as Ws,al as ls,E as Ad,au as Zn,aP as Pd,aS as yo}from"./BTXzEcFX.js";import{t as an,o as Rd}from"./DAsc1V4f.js";import{ch as Qn,aO as qn,d3 as ki,d5 as Va,c6 as _s,q as Nd,cY as Ii,d2 as bs,d1 as Si,c$ as Ti,n as Ca,al as Ed,am as $d,aJ as Ld,z as Od,V as qd,a3 as wo,D as Ci,e5 as Dd,aF as Bd,ak as Fd,r as zd,C as Ms,ag as Wd,U as xn,e3 as Hd,ab as Ud,k as xo,u as jd,Z as Vd,v as Gd,i as Kd,g as As,f as ko,a0 as Zd,$ as Qd,a9 as Yd,x as Mi,y as Ai,l as Pi,j as Xd,s as Jd,a as ec,d6 as tc,ae as rc,e4 as ac,L as nc,F as sc,a2 as Io,bq as oc,av as ic}from"./iQDlfKDR.js";import{JH as mt,p0 as lc,tR as Yn,nR as So,vK as Ri,vM as Ni,s2 as dc,yJ as ds,v1 as Ei,nM as $i,br as En,nZ as cc,n_ as uc,yK as fc,qA as gc,tl as mc,vD as Li,nL as pc,mP as vc,m as hc,zk as _c,zh as bc,zj as yc}from"./CiKoEJ2m.js";import{a3 as wc,y as Ps,a1 as xc,O as Rs,W as kc,$ as Ic,k as Sc,p as kn,P as un,q as Tc,G as Cc,v as Mc,t as Ac,M as Ns,K as Pc,z as Rc,L as Nc,_ as An,U as Un,N as To,n as Co,E as Ec,c as Es,F as Mo,B as $c,w as Ao,J as Pn,Q as Lc,H as Oc,j as qc,R as Dc,T as Bc,A as Fc,g as zc,b as Wc,D as Hc,f as Uc,e as jc,a as Vc,C as Gc,i as Kc,d as Hs,V as Oi,a4 as Zc,u as Qc,l as Yc}from"./CwOdvmTo.js";import{i as Xc,e as Jc}from"./QzxpbvSo.js";import{g as $s}from"./B5aYN90J.js";import{M as In,C as Rn}from"./DQNtbVVY.js";import{C as Po}from"./CAGrRNbp.js";import"./BLfqsc2a.js";import{P as eu}from"./DSs6r6NG.js";import"./DoB-G8kB.js";import{c as qi}from"./ChTqQfQN.js";import{S as tu}from"./CLMwPQBQ.js";import{D as Ro,M as ru}from"./DMudvlKI.js";import{b as au,s as en,c as cs}from"./BSZu3BUb.js";import{O as Xn,y as Ls,E as Os,B as qs,N as nu,m as su,l as ou,k as iu,d as Dn,C as No,f as lu,e as du,g as cu}from"./23FyIn6O.js";import{a as Di,s as Eo}from"./BsieX9dN.js";import{f as uu}from"./BdWqymET.js";import{c as na}from"./CDVPwJHE.js";import{a as fu,k as Bi,h as ro,q as Fi,l as wr}from"./DMEIbJII.js";import{P as gu}from"./CTgYTdXw.js";import{r as Ds,q as Bs,B as $o,i as mu}from"./BZCcX8wj.js";import{R as zi,C as ys,m as pu,h as vu,g as hu,i as Lo,P as _u}from"./C3jMXj_V.js";import"./BFfRQORP.js";import{c as bu,s as yu}from"./BB2vaoZ2.js";import{h as gn}from"./CIxnaBAb.js";import{b as wu,a as Wi}from"./DE8II0cx.js";import{P as Hi}from"./CLvqghA8.js";import{B as xu}from"./ChYLETZB.js";import{o as Ui,r as ku,e as Iu}from"./DuZtgB5V.js";import{o as ji}from"./CA-b7pAY.js";import{A as Jn,b as Vi}from"./By2YlE-l.js";import{g as ao}from"./BGeImWEk.js";import{a as Su,M as Tu}from"./BpezAJRw.js";import{a as Gi}from"./DSZbBNDD.js";import{E as Cu,n as Mu}from"./CVtLV3_x.js";import{t as Tr}from"./C-BsEdGZ.js";import{c as Sn}from"./BZ27qIg1.js";import{A as Au}from"./Dd_KPYBw.js";import{f as Pu,d as Ru}from"./DXXFBdjF.js";import{ad as Nu,P as Eu,Z as $u,L as Oo,Y as Lu,w as Ou,a0 as Ki,$ as Zi}from"./0R5VEpaM.js";import{a as qu}from"./CC7to1B5.js";import{k as Du}from"./DFKhOU69.js";import{S as Bu}from"./Xgzr3BTD.js";import{u as Fu,a as zu,c as qo,S as Wu}from"./D9tVylVS.js";import{T as us}from"./CV17KbhT.js";import"./BTvJ4T_4.js";import{g as Hu,a as Uu}from"./DcraaizU.js";import{I as ju,R as Vu,q as Gu}from"./BXwdb0J5.js";import{b as Qi}from"./C22cBcHz.js";import{b as Do}from"./goTpbPhD.js";import{ah as Ua,n as Ku}from"./JvFe2B29.js";import{b as Zu}from"./BFHmbbvG.js";import{r as Bo}from"./B9Nn4kQr.js";function Qu(r){if(!r||typeof r!="object")return null;const t=r;if(t.type!=="script_monitor_wake"||t.source!=="system")return null;const{scriptName:a,scriptId:s,runId:o,monitorId:i,workspaceId:l,reason:u}=t;if(typeof a!="string"||typeof s!="string"||!s||typeof o!="string"||!o||typeof i!="string"||!i||typeof l!="string"||!l||u!=="finished"&&u!=="ttl-expired"&&u!=="output-match"&&u!=="line-count")return null;const h=t.trigger;return{scriptName:a,scriptId:s,runId:o,monitorId:i,workspaceId:l,reason:u,...u==="output-match"&&typeof h?.matchedLine=="string"?{matchedLine:h.matchedLine}:{}}}function Yu(r){return r?.type==="script_monitor_wake"&&!("remoteAgentId"in r)}function Xu(r,t,a,s=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const o=r.messageMetadata?.fromPrincipalId??r.author?.principalId,i=Nu(r)&&r.author?.principalId!==null&&o===t;return{edit:i,remove:i||t===a||s,sendNow:(i||s)&&!Yi(r)}}function Tn(r,t){if(t)return r.find(a=>a.editing&&a.editingMessageId?a.editingMessageId===t:a.id===t)}function Yi(r){return Yu(r.messageMetadata)&&typeof r.messageMetadata?.monitorId=="string"}function Fo(r,t=Date.now()){const a=r.messageMetadata,s=a?.fromPrincipalId,o=a&&Object.hasOwn(a,"humanAuthor")&&!(typeof s=="string"&&s.length>0),i=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!i&&!o&&!Yi(r)}const Cb="pl-3.5! pr-2!";var Ju=I('<span class="tile-remove-slot svelte-d8pwpf"><!></span>'),zo=I('<span class="attachment-status svelte-d8pwpf"> </span>'),ef=I('<div class="file-image tile svelte-d8pwpf" data-kind="file"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),tf=I("<!><span> </span>",1),rf=I('<img alt="" draggable="false"/>'),af=I('<span class="summary svelte-d8pwpf" data-clip-summary=""> </span>'),nf=I('<span class="clip svelte-d8pwpf"><span class="record-dot svelte-d8pwpf" aria-hidden="true"></span><span class="duration svelte-d8pwpf"> </span><!></span>'),sf=I('<div class="tile svelte-d8pwpf"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),of=I('<div class="attachment-row svelte-d8pwpf" role="group" data-dock-media-attachments=""></div>'),lf=I("<!> <!> <!>",1),df=I('<img draggable="false" class="svelte-d8pwpf"/>'),cf=I('<video controls="" playsinline="" class="svelte-d8pwpf"></video>',2),uf=I('<div class="media-viewer svelte-d8pwpf"><!></div>'),ff=I("<!> <!>",1);function gf(r,t){if(new.target)return pt({component:gf,...r});_t(t,!0);const a=(T,me=rr,le=rr)=>{var N=Ju(),ve=V(N);st(ve,{variant:"secondary",size:"icon-sm",class:"tile-action tile-remove",get disabled(){return i()},get"aria-label"(){return le()},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return le()},onclick:()=>z(me()),children:(Le,Ae)=>{Cs(Le,{glyph:"x"})},$$slots:{default:!0}}),F(N),c(T,N)};let s=g(t,"items",7),o=g(t,"labels",7),i=g(t,"disabled",7,!1),l=g(t,"onMarkUp",7),u=g(t,"onEdit",7),h=g(t,"onRemove",7),v=g(t,"onRetry",7),x=g(t,"onCopy",7),M=g(t,"onMenu",7);const B=T=>T.owner==="attachment"?2:{image:0,clip:1,file:2}[T.kind],U=n(()=>[...s()].sort((T,me)=>B(T)-B(me)));let w=ue(null),C=ue(!1),re=ue(null),G=null;const S=n(()=>s().find(T=>T.id===e(re)));Yt(()=>{(!e(S)||e(S).kind==="image"&&!j(e(S)))&&D(C,!1)});function j(T){return T.kind==="image"&&T.status!=="placing"&&T.status!=="failed"&&T.url.trim().length>0}function L(T){return T.kind==="image"?o().image(T.markCount):T.kind==="clip"?T.summary?`${o().clip(T.duration)} ${T.summary}`:o().clip(T.duration):T.name}function ne(T,me){if(!(i()||T.kind==="file"||T.kind==="image"&&!j(T)||T.kind==="clip"&&(!T.url||T.recording))){if((T.kind==="clip"||T.kind==="image")&&u()){u()(T.id);return}G=me,D(re,T.id,!0),D(C,!0)}}async function z(T){i()||(e(re)===T&&D(C,!1),h()(T),await Ia(),(!document.activeElement||document.activeElement===document.body)&&e(w)?.querySelector("button:not(:disabled)")?.focus())}function q(T){const me=s().find(le=>le.id===T);i()||!me||!j(me)||(D(C,!1),u()?u()(T):l()(T))}function ee(T,me){T.key!=="Delete"||i()||(T.preventDefault(),T.stopPropagation(),z(me))}function R(T){return T.status==="placing"||T.status==="failed"?!1:T.kind==="image"?!!T.file||j(T):T.kind==="clip"&&!T.recording&&!!T.url}function Y(T,me){const le=rd()?T.metaKey:T.ctrlKey,N=T.key.toLowerCase();if(le&&!T.shiftKey&&!T.altKey&&(N==="c"||N==="x")){if(!x()||!R(me)||(T.preventDefault(),T.stopPropagation(),N==="x"&&i()))return;x()(me.id,N==="x");return}ee(T,me.id)}function te(T,me){!M()||!R(me)||(T.preventDefault(),M()(me.id))}var _e={get items(){return s()},set items(T){s(T),m()},get labels(){return o()},set labels(T){o(T),m()},get disabled(){return i()},set disabled(T=!1){i(T),m()},get onMarkUp(){return l()},set onMarkUp(T){l(T),m()},get onEdit(){return u()},set onEdit(T){u(T),m()},get onRemove(){return h()},set onRemove(T){h(T),m()},get onRetry(){return v()},set onRetry(T){v(T),m()},get onCopy(){return x()},set onCopy(T){x(T),m()},get onMenu(){return M()},set onMenu(T){M(T),m()},$set:vt,$on:(T,me)=>ht(t,T,me)},de=ff(),ge=fe(de);{var Pe=T=>{var me=of();kr(me,21,()=>e(U),le=>le.id,(le,N)=>{var ve=St(),Le=fe(ve);{var Ae=xe=>{var P=ef(),X=V(P);{let W=n(()=>i()||e(N).status==="placing");wi(X,{get id(){return e(N).id},get name(){return e(N).file.name},get type(){return e(N).file.imageMimeType},get imageData(){return e(N).file.imageData},get imageMimeType(){return e(N).file.imageMimeType},variant:"thumbnail",thumbnailClass:"size-full",class:"size-full",get disabled(){return e(W)},get placementStatus(){return e(N).status},get placementError(){return e(N).error}})}var ae=A(X,2);{var we=W=>{var be=zo(),Re=oe(be,!0);$(()=>{J(be,"data-failed",e(N).status==="failed"||void 0),J(be,"role",e(N).status==="failed"?"alert":"status"),J(be,"title",e(N).error),Q(Re,e(N).status==="failed"?e(N).error??o().attachmentFailed:o().attachmentPending)}),c(W,be)};O(ae,W=>{e(N).status&&W(we)})}var _=A(ae,2),Se=V(_);{var Ce=W=>{st(W,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(N).id),children:(be,Re)=>{Bt(be,{get icon(){return zs},size:16})},$$slots:{default:!0}})};O(Se,W=>{e(N).status==="failed"&&v()&&W(Ce)})}var E=A(Se,2);{let W=n(()=>d.chat_attachmentPreview_remove_ariaLabel({name:e(N).file.name}));a(E,()=>e(N).id,()=>e(W))}F(_),F(P),$(()=>J(P,"data-attachment-id",e(N).id)),xr("keydown",P,W=>Y(W,e(N))),xr("contextmenu",P,W=>te(W,e(N))),Kt(1,P,()=>On,()=>({tier:"fast",y:3,scale:.98})),Kt(2,P,()=>Xa,()=>({tier:"fast"})),c(xe,P)},Ee=xe=>{const P=n(()=>e(N).kind==="image"&&!j(e(N))&&e(N).status!=="failed");var X=sf(),ae=V(X);{var we=ke=>{st(ke,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile file",get"aria-label"(){return e(N).name},get disabled(){return i()},onkeydown:$e=>ee($e,e(N).id),children:($e,Oe)=>{var Ue=tf(),se=fe(Ue);Bt(se,{get icon(){return ka},size:20});var Ge=A(se),yt=oe(Ge,!0);$(()=>Q(yt,e(N).name)),c($e,Ue)},$$slots:{default:!0}})},_=ke=>{{let $e=n(()=>L(e(N))),Oe=n(()=>i()||e(N).kind==="clip"&&(e(N).recording||!e(N).url));st(ke,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile",get"aria-label"(){return e($e)},get disabled(){return e(Oe)},onkeydown:Ue=>Y(Ue,e(N)),onclick:Ue=>{Ue.currentTarget instanceof HTMLElement&&ne(e(N),Ue.currentTarget)},children:(Ue,se)=>{var Ge=St(),yt=fe(Ge);{var Ft=et=>{var Ke=rf();$(()=>J(Ke,"src",e(N).url)),c(et,Ke)},er=et=>{var Ke=nf(),$t=A(V(Ke)),Tt=oe($t,!0),ut=A($t);{var ze=K=>{var y=af(),pe=oe(y,!0);$(()=>Q(pe,e(N).summary)),c(K,y)};O(ut,K=>{e(N).summary&&K(ze)})}F(Ke),$(()=>Q(Tt,e(N).duration)),c(et,Ke)};O(yt,et=>{e(N).kind==="image"?et(Ft):et(er,-1)})}c(Ue,Ge)},$$slots:{default:!0}})}},Se=n(()=>e(N).kind!=="image"||j(e(N)));O(ae,ke=>{e(N).kind==="file"?ke(we):e(Se)&&ke(_,1)})}var Ce=A(ae,2);{var E=ke=>{var $e=zo(),Oe=oe($e,!0);$(()=>{J($e,"data-failed",e(N).status==="failed"||void 0),J($e,"role",e(N).status==="failed"?"alert":"status"),J($e,"title",e(N).error),Q(Oe,e(N).status==="failed"?e(N).error??o().attachmentFailed:o().attachmentPending)}),c(ke,$e)};O(Ce,ke=>{(e(N).status||e(P))&&ke(E)})}var W=A(Ce,2),be=V(W);{var Re=ke=>{st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(N).id),children:($e,Oe)=>{Bt($e,{get icon(){return zs},size:16})},$$slots:{default:!0}})},Ve=ke=>{{let $e=n(()=>u()?o().edit:o().markUp),Oe=n(()=>u()?o().edit:o().markUp);st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e($e)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Oe)},onclick:()=>q(e(N).id),children:(Ue,se)=>{Cs(Ue,{glyph:"pencil"})},$$slots:{default:!0}})}},De=n(()=>j(e(N))),Et=ke=>{{let $e=n(()=>u()?o().edit:o().play),Oe=n(()=>u()?o().edit:o().play);st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e($e)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Oe)},onclick:Ue=>{Ue.currentTarget instanceof HTMLElement&&ne(e(N),Ue.currentTarget)},children:(Ue,se)=>{{let Ge=n(()=>u()?"pencil":"play");Cs(Ue,{get glyph(){return e(Ge)}})}},$$slots:{default:!0}})}};O(be,ke=>{e(N).status==="failed"&&v()?ke(Re):e(De)?ke(Ve,1):e(N).kind==="clip"&&!e(N).recording&&e(N).url&&ke(Et,2)})}var ye=A(be,2);a(ye,()=>e(N).id,()=>o().remove),F(W),F(X),$(()=>{J(X,"data-kind",e(N).kind),J(X,"data-attachment-id",e(N).id),J(X,"aria-busy",e(P)||void 0)}),xr("contextmenu",X,ke=>te(ke,e(N))),Kt(1,X,()=>On,()=>({tier:"fast",y:3,scale:.98})),Kt(2,X,()=>Xa,()=>({tier:"fast"})),c(xe,X)};O(Le,xe=>{e(N).kind==="image"&&e(N).file?xe(Ae):xe(Ee,-1)})}c(le,ve)}),F(me),ea(me,le=>D(w,le),()=>e(w)),$(()=>J(me,"aria-label",o().attachments)),c(T,me)};O(ge,T=>{e(U).length&&T(Pe)})}var Ie=A(ge,2);{const T=le=>{var N=St(),ve=fe(N);{var Le=Ae=>{var Ee=lf(),xe=fe(Ee);{var P=_=>{st(_,{variant:"primary",get disabled(){return i()},onclick:()=>e(S)&&q(e(S).id),children:(Se,Ce)=>{Cr();var E=Pr();$(()=>Q(E,o().markUp)),c(Se,E)},$$slots:{default:!0}})},X=n(()=>j(e(S)));O(xe,_=>{e(X)&&_(P)})}var ae=A(xe,2);st(ae,{variant:"secondary",get disabled(){return i()},onclick:()=>e(S)&&z(e(S).id),children:(_,Se)=>{Cr();var Ce=Pr();$(()=>Q(Ce,o().remove)),c(_,Ce)},$$slots:{default:!0}});var we=A(ae,2);st(we,{variant:"ghost-light",onclick:()=>{D(C,!1)},children:(_,Se)=>{Cr();var Ce=Pr();$(()=>Q(Ce,o().done)),c(_,Ce)},$$slots:{default:!0}}),c(Ae,Ee)};O(ve,Ae=>{e(S)&&e(S).kind!=="file"&&Ae(Le)})}c(le,N)};let me=n(()=>e(S)?L(e(S)):o().attachments);yi(Ie,{get title(){return e(me)},size:"wide",showCloseButton:!1,onCloseAutoFocus:le=>{le.preventDefault(),G?.isConnected?G.focus():e(w)?.querySelector("button:not(:disabled)")?.focus()},get open(){return e(C)},set open(le){D(C,le,!0)},footer:T,children:(le,N)=>{var ve=St(),Le=fe(ve);{var Ae=Ee=>{var xe=uf(),P=V(xe);{var X=_=>{var Se=df();$(Ce=>{J(Se,"src",e(S).url),J(Se,"alt",Ce)},[()=>L(e(S))]),c(_,Se)},ae=n(()=>e(S).kind==="image"&&j(e(S))),we=_=>{var Se=cf();$(Ce=>{J(Se,"src",e(S).url),J(Se,"aria-label",Ce)},[()=>L(e(S))]),c(_,Se)};O(P,_=>{e(ae)?_(X):e(S).kind==="clip"&&e(S).url&&_(we,1)})}F(xe),c(Ee,xe)};O(Le,Ee=>{e(S)&&e(S).kind!=="file"&&Ee(Ae)})}c(le,ve)},$$slots:{footer:!0,default:!0}})}return c(r,de),bt(_e)}Ga(["keydown","contextmenu"]);var mf=I("<!> ",1),pf=I('<div class="flex flex-col gap-2 px-4 py-3 bg-muted/30 border border-border rounded-lg my-4"><div class="flex items-center justify-between gap-2"><div class="flex items-center gap-2"><div class="shrink-0 text-subtle"><!></div> <div class="font-medium text-sm"> </div></div> <div class="flex items-center gap-1"><!> <!></div></div> <div class="text-xs text-subtle"> </div> <pre class="text-xs bg-background/50 rounded p-2 overflow-x-auto max-h-40 overflow-y-auto font-mono"> </pre></div>');function Xi(r,t){if(new.target)return pt({component:Xi,...r});_t(t,!0);let a=g(t,"name",7),s=g(t,"description",7),o=g(t,"content",7),i=g(t,"onUseScript",7),l=ue(!1);function u(){navigator.clipboard.writeText(o()),D(l,!0),setTimeout(()=>{D(l,!1)},2e3)}function h(){i()?.({name:a(),description:s(),content:o()})}var v={get name(){return a()},set name(R){a(R),m()},get description(){return s()},set description(R){s(R),m()},get content(){return o()},set content(R){o(R),m()},get onUseScript(){return i()},set onUseScript(R){i(R),m()},$set:vt,$on:(R,Y)=>ht(t,R,Y)},x=pf(),M=V(x),B=V(M),U=V(B),w=V(U);Bt(w,{get icon(){return ps},size:"sm"}),F(U);var C=A(U,2),re=oe(C,!0);F(B);var G=A(B,2),S=V(G);st(S,{variant:"ghost-light",size:"sm",onclick:u,class:"h-7 px-2",children:(R,Y)=>{var te=mf(),_e=fe(te);{let ge=n(()=>e(l)?hi:_i);Bt(_e,{get icon(){return e(ge)},class:"mr-1"})}var de=A(_e);$(ge=>Q(de,` ${ge??""}`),[()=>e(l)?d.chat_shared_copied_label():d.chat_shared_copy_label()]),c(R,te)},$$slots:{default:!0}});var j=A(S,2);{var L=R=>{st(R,{variant:"ghost-light",size:"sm",onclick:h,class:"h-7 px-2",children:(Y,te)=>{Cr();var _e=Pr();$(de=>Q(_e,de),[()=>d.chat_setupScriptCard_useScript_label()]),c(Y,_e)},$$slots:{default:!0}})};O(j,R=>{i()&&R(L)})}F(G),F(M);var ne=A(M,2),z=oe(ne,!0),q=A(ne,2),ee=oe(q,!0);return F(x),$(()=>{Q(re,a()),Q(z,s()),Q(ee,o())}),c(r,x),bt(v)}const yr={toolStart:/(?:\x1B\[\d+m)?🔧\s+(?:Tool call:\s+)?(.+?)(?:\x1B\[0m)?$/,toolDetail:/(?:[└├]─\s+(.+)$|^\s{3,}(.+)$)/,toolResult:/(?:\x1B\[\d+m)?📋\s+Tool result:\s+(.+?)(?:\x1B\[0m)?$/,toolSuccess:/[✓✔✅]\s+(.+)$/,toolError:/[❌✗❎]\s+(.+)$/,sessionInfo:/[Ss]ession:\s*([a-f0-9-]+)/,resumedSession:/📂?\s*Resumed session/i,assistantMarker:/🤖/,systemMarker:/💻/,userMarker:/👤/,thinkingMarker:/🤔\s*Thinking/i,waitingMarker:/^⏳\s+Running/i,indexingProgress:/^Indexing:\s*\[.*\]\s*\d+%/,agentDigest:/<agent_digest>([\s\S]*?)<\/agent_digest>/,setupScript:/<setup_script\s+name="([^"]+)"\s+description="([^"]+)">([\s\S]*?)<\/setup_script>/};class vf{constructor(){pa(this,"buffer","");pa(this,"currentToolName",null);pa(this,"currentToolId",null);pa(this,"lastToolId",null);pa(this,"currentToolParams",[]);pa(this,"currentToolResultContent",[]);pa(this,"inToolResult",!1);pa(this,"inCodeBlock",!1);pa(this,"codeBlockLanguage","");pa(this,"codeBlockContent","");pa(this,"characterBuffer","");pa(this,"inCharacterMode",!1);pa(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const o=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const u=this.currentToolResultContent.some(v=>v.startsWith("❌")||v.startsWith("Error:")),h=this.currentToolResultContent.map(v=>v.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
|
|
1
|
+
var Ul=Object.defineProperty;var jl=(r,t,a)=>t in r?Ul(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a;var pa=(r,t,a)=>jl(r,typeof t!="symbol"?t+"":t,a);import{t as pt,bo as g,bw as vt,b as ht,bm as d,bq as Ea,bs as tr,br as Vl,bp as vn}from"./Fcr7AvC-.js";import{ai as Ga,bs as _t,ca as Yt,aD as e,bH as D,ay as fe,bS as A,a7 as St,W as c,a5 as V,bA as F,bn as bt,c9 as n,bV as ue,aA as m,b_ as $,aj as xr,aB as I,be as Cr,b$ as Pr,bO as Q,bf as rr,c0 as Ia,bl as oe,bj as ja,c6 as Gl,bo as nn,br as Zr,am as Da,ax as Ba,bk as as,aw as pn,bz as ns,cb as Fn,c5 as Mn,aC as Ir,cd as vo,bv as Kl}from"./3SdAC2_C.js";import{i as O}from"./BhYXv0ZM.js";import{g as kr,e as sa,p as ms,i as Ha,I as Zl,h as eo,X as pi,o as Ql}from"./CA6H1-bp.js";import{n as Kt,l as On,c as Xa,g as rn,s as ks,k as ss,S as Yl}from"./CxR-pcVt.js";import{s as J,f as Fe,g as hn,c as It,e as Qt,b as _n,p as Xl,S as Jl,C as ed}from"./BRCr02in.js";import{b as ea}from"./Dn334wJv.js";import{f as st,ae as to,a_ as td}from"./Beq_QLuz.js";import{J as rd,O as ad,Q as Is}from"./BAtAwQ72.js";import"./x4bPxhVW.js";import"./BzXQ5SMs.js";import"./O5ZlQHf9.js";import{t as Ma,k as vi}from"./CWfjuhY2.js";import{F as Bt,a4 as zs,bg as ka,cK as ps,au as hi,aZ as _i,aK as nd,c9 as sd,a6 as os,aN as od,cN as id,cM as ld,a3 as vs,aC as is,aw as hs,I as ho,aj as dd,bu as cd,aS as ud,aX as fd,bJ as gd,ao as md,bk as bi,cC as pd,aP as _o,c0 as Ss,aI as Hn,cW as vd,cb as hd,bn as _d,b as bd,cp as yd,ag as wd,ba as Ts,cr as wn,cF as xd,az as kd,c6 as Id,d3 as Sd}from"./ChHRVjww.js";import{C as yi,A as Td,o as Cd}from"./D7KhILhs.js";import{b as Cs,V as bo}from"./dvKmN4h6.js";import{A as wi}from"./C7q_UkFQ.js";import{bZ as xi,aj as Md,j as Kn,a4 as Ws,al as ls,E as Ad,au as Zn,aP as Pd,aS as yo}from"./C0JQvbI4.js";import{t as an,o as Rd}from"./DAsc1V4f.js";import{ch as Qn,aO as qn,d3 as ki,d5 as Va,c6 as _s,q as Nd,cY as Ii,d2 as bs,d1 as Si,c$ as Ti,n as Ca,al as Ed,am as $d,aJ as Ld,z as Od,V as qd,a3 as wo,D as Ci,e5 as Dd,aF as Bd,ak as Fd,r as zd,C as Ms,ag as Wd,U as xn,e3 as Hd,ab as Ud,k as xo,u as jd,Z as Vd,v as Gd,i as Kd,g as As,f as ko,a0 as Zd,$ as Qd,a9 as Yd,x as Mi,y as Ai,l as Pi,j as Xd,s as Jd,a as ec,d6 as tc,ae as rc,e4 as ac,L as nc,F as sc,a2 as Io,bq as oc,av as ic}from"./cD292w1o.js";import{JH as mt,p0 as lc,tR as Yn,nR as So,vK as Ri,vM as Ni,s2 as dc,yJ as ds,v1 as Ei,nM as $i,br as En,nZ as cc,n_ as uc,yK as fc,qA as gc,tl as mc,vD as Li,nL as pc,mP as vc,m as hc,zk as _c,zh as bc,zj as yc}from"./D0qhIm1r.js";import{a3 as wc,y as Ps,a1 as xc,O as Rs,W as kc,$ as Ic,k as Sc,p as kn,P as un,q as Tc,G as Cc,v as Mc,t as Ac,M as Ns,K as Pc,z as Rc,L as Nc,_ as An,U as Un,N as To,n as Co,E as Ec,c as Es,F as Mo,B as $c,w as Ao,J as Pn,Q as Lc,H as Oc,j as qc,R as Dc,T as Bc,A as Fc,g as zc,b as Wc,D as Hc,f as Uc,e as jc,a as Vc,C as Gc,i as Kc,d as Hs,V as Oi,a4 as Zc,u as Qc,l as Yc}from"./B6SGYvow.js";import{i as Xc,e as Jc}from"./BwweojP5.js";import{g as $s}from"./B5aYN90J.js";import{M as In,C as Rn}from"./DwJUGAx4.js";import{C as Po}from"./C1SGWBXH.js";import"./mpTxy2jJ.js";import{P as eu}from"./kSTrWIIB.js";import"./D6H34kDj.js";import{c as qi}from"./ChTqQfQN.js";import{S as tu}from"./D7VoSTzK.js";import{D as Ro,M as ru}from"./BZnji9hP.js";import{b as au,s as en,c as cs}from"./C-e2e9PC.js";import{O as Xn,y as Ls,E as Os,B as qs,N as nu,m as su,l as ou,k as iu,d as Dn,C as No,f as lu,e as du,g as cu}from"./B76dt5zP.js";import{a as Di,s as Eo}from"./BsieX9dN.js";import{f as uu}from"./BdWqymET.js";import{c as na}from"./BGSmaq6H.js";import{a as fu,k as Bi,h as ro,q as Fi,l as wr}from"./C7b3vXLD.js";import{P as gu}from"./Cz3WzTlQ.js";import{r as Ds,q as Bs,B as $o,i as mu}from"./BnbmXiW4.js";import{R as zi,C as ys,m as pu,h as vu,g as hu,i as Lo,P as _u}from"./DkQdSPDN.js";import"./DRMe5Ypb.js";import{c as bu,s as yu}from"./BCL-o_Md.js";import{h as gn}from"./B469nFvV.js";import{b as wu,a as Wi}from"./D42wJcQ3.js";import{P as Hi}from"./ZmAQurQV.js";import{B as xu}from"./OqslD7bF.js";import{o as Ui,r as ku,e as Iu}from"./BybDBA-a.js";import{o as ji}from"./BjPpzZjk.js";import{A as Jn,b as Vi}from"./Qvf67TfJ.js";import{g as ao}from"./D_jEt7ej.js";import{a as Su,M as Tu}from"./TdGvVwuC.js";import{a as Gi}from"./Tgw7Kdvt.js";import{E as Cu,n as Mu}from"./B0SSzYpD.js";import{t as Tr}from"./C-BsEdGZ.js";import{c as Sn}from"./2z64ELW5.js";import{A as Au}from"./BK5l06W2.js";import{f as Pu,d as Ru}from"./CkyxPppw.js";import{ad as Nu,P as Eu,Z as $u,L as Oo,Y as Lu,w as Ou,a0 as Ki,$ as Zi}from"./BjEG_fCJ.js";import{a as qu}from"./CC7to1B5.js";import{k as Du}from"./Cc0763mU.js";import{S as Bu}from"./T6UBEOFc.js";import{u as Fu,a as zu,c as qo,S as Wu}from"./D9tVylVS.js";import{T as us}from"./BQ5x_RaT.js";import"./lK1e5NlM.js";import{g as Hu,a as Uu}from"./C3KgmGxd.js";import{I as ju,R as Vu,q as Gu}from"./Cx8Rw_sH.js";import{b as Qi}from"./Ch9YoFhc.js";import{b as Do}from"./goTpbPhD.js";import{ah as Ua,n as Ku}from"./k5fprFtz.js";import{b as Zu}from"./CxuKWK-9.js";import{r as Bo}from"./CDUMf4mn.js";function Qu(r){if(!r||typeof r!="object")return null;const t=r;if(t.type!=="script_monitor_wake"||t.source!=="system")return null;const{scriptName:a,scriptId:s,runId:o,monitorId:i,workspaceId:l,reason:u}=t;if(typeof a!="string"||typeof s!="string"||!s||typeof o!="string"||!o||typeof i!="string"||!i||typeof l!="string"||!l||u!=="finished"&&u!=="ttl-expired"&&u!=="output-match"&&u!=="line-count")return null;const h=t.trigger;return{scriptName:a,scriptId:s,runId:o,monitorId:i,workspaceId:l,reason:u,...u==="output-match"&&typeof h?.matchedLine=="string"?{matchedLine:h.matchedLine}:{}}}function Yu(r){return r?.type==="script_monitor_wake"&&!("remoteAgentId"in r)}function Xu(r,t,a,s=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const o=r.messageMetadata?.fromPrincipalId??r.author?.principalId,i=Nu(r)&&r.author?.principalId!==null&&o===t;return{edit:i,remove:i||t===a||s,sendNow:(i||s)&&!Yi(r)}}function Tn(r,t){if(t)return r.find(a=>a.editing&&a.editingMessageId?a.editingMessageId===t:a.id===t)}function Yi(r){return Yu(r.messageMetadata)&&typeof r.messageMetadata?.monitorId=="string"}function Fo(r,t=Date.now()){const a=r.messageMetadata,s=a?.fromPrincipalId,o=a&&Object.hasOwn(a,"humanAuthor")&&!(typeof s=="string"&&s.length>0),i=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!i&&!o&&!Yi(r)}const Cb="pl-3.5! pr-2!";var Ju=I('<span class="tile-remove-slot svelte-d8pwpf"><!></span>'),zo=I('<span class="attachment-status svelte-d8pwpf"> </span>'),ef=I('<div class="file-image tile svelte-d8pwpf" data-kind="file"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),tf=I("<!><span> </span>",1),rf=I('<img alt="" draggable="false"/>'),af=I('<span class="summary svelte-d8pwpf" data-clip-summary=""> </span>'),nf=I('<span class="clip svelte-d8pwpf"><span class="record-dot svelte-d8pwpf" aria-hidden="true"></span><span class="duration svelte-d8pwpf"> </span><!></span>'),sf=I('<div class="tile svelte-d8pwpf"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),of=I('<div class="attachment-row svelte-d8pwpf" role="group" data-dock-media-attachments=""></div>'),lf=I("<!> <!> <!>",1),df=I('<img draggable="false" class="svelte-d8pwpf"/>'),cf=I('<video controls="" playsinline="" class="svelte-d8pwpf"></video>',2),uf=I('<div class="media-viewer svelte-d8pwpf"><!></div>'),ff=I("<!> <!>",1);function gf(r,t){if(new.target)return pt({component:gf,...r});_t(t,!0);const a=(T,me=rr,le=rr)=>{var N=Ju(),ve=V(N);st(ve,{variant:"secondary",size:"icon-sm",class:"tile-action tile-remove",get disabled(){return i()},get"aria-label"(){return le()},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return le()},onclick:()=>z(me()),children:(Le,Ae)=>{Cs(Le,{glyph:"x"})},$$slots:{default:!0}}),F(N),c(T,N)};let s=g(t,"items",7),o=g(t,"labels",7),i=g(t,"disabled",7,!1),l=g(t,"onMarkUp",7),u=g(t,"onEdit",7),h=g(t,"onRemove",7),v=g(t,"onRetry",7),x=g(t,"onCopy",7),M=g(t,"onMenu",7);const B=T=>T.owner==="attachment"?2:{image:0,clip:1,file:2}[T.kind],U=n(()=>[...s()].sort((T,me)=>B(T)-B(me)));let w=ue(null),C=ue(!1),re=ue(null),G=null;const S=n(()=>s().find(T=>T.id===e(re)));Yt(()=>{(!e(S)||e(S).kind==="image"&&!j(e(S)))&&D(C,!1)});function j(T){return T.kind==="image"&&T.status!=="placing"&&T.status!=="failed"&&T.url.trim().length>0}function L(T){return T.kind==="image"?o().image(T.markCount):T.kind==="clip"?T.summary?`${o().clip(T.duration)} ${T.summary}`:o().clip(T.duration):T.name}function ne(T,me){if(!(i()||T.kind==="file"||T.kind==="image"&&!j(T)||T.kind==="clip"&&(!T.url||T.recording))){if((T.kind==="clip"||T.kind==="image")&&u()){u()(T.id);return}G=me,D(re,T.id,!0),D(C,!0)}}async function z(T){i()||(e(re)===T&&D(C,!1),h()(T),await Ia(),(!document.activeElement||document.activeElement===document.body)&&e(w)?.querySelector("button:not(:disabled)")?.focus())}function q(T){const me=s().find(le=>le.id===T);i()||!me||!j(me)||(D(C,!1),u()?u()(T):l()(T))}function ee(T,me){T.key!=="Delete"||i()||(T.preventDefault(),T.stopPropagation(),z(me))}function R(T){return T.status==="placing"||T.status==="failed"?!1:T.kind==="image"?!!T.file||j(T):T.kind==="clip"&&!T.recording&&!!T.url}function Y(T,me){const le=rd()?T.metaKey:T.ctrlKey,N=T.key.toLowerCase();if(le&&!T.shiftKey&&!T.altKey&&(N==="c"||N==="x")){if(!x()||!R(me)||(T.preventDefault(),T.stopPropagation(),N==="x"&&i()))return;x()(me.id,N==="x");return}ee(T,me.id)}function te(T,me){!M()||!R(me)||(T.preventDefault(),M()(me.id))}var _e={get items(){return s()},set items(T){s(T),m()},get labels(){return o()},set labels(T){o(T),m()},get disabled(){return i()},set disabled(T=!1){i(T),m()},get onMarkUp(){return l()},set onMarkUp(T){l(T),m()},get onEdit(){return u()},set onEdit(T){u(T),m()},get onRemove(){return h()},set onRemove(T){h(T),m()},get onRetry(){return v()},set onRetry(T){v(T),m()},get onCopy(){return x()},set onCopy(T){x(T),m()},get onMenu(){return M()},set onMenu(T){M(T),m()},$set:vt,$on:(T,me)=>ht(t,T,me)},de=ff(),ge=fe(de);{var Pe=T=>{var me=of();kr(me,21,()=>e(U),le=>le.id,(le,N)=>{var ve=St(),Le=fe(ve);{var Ae=xe=>{var P=ef(),X=V(P);{let W=n(()=>i()||e(N).status==="placing");wi(X,{get id(){return e(N).id},get name(){return e(N).file.name},get type(){return e(N).file.imageMimeType},get imageData(){return e(N).file.imageData},get imageMimeType(){return e(N).file.imageMimeType},variant:"thumbnail",thumbnailClass:"size-full",class:"size-full",get disabled(){return e(W)},get placementStatus(){return e(N).status},get placementError(){return e(N).error}})}var ae=A(X,2);{var we=W=>{var be=zo(),Re=oe(be,!0);$(()=>{J(be,"data-failed",e(N).status==="failed"||void 0),J(be,"role",e(N).status==="failed"?"alert":"status"),J(be,"title",e(N).error),Q(Re,e(N).status==="failed"?e(N).error??o().attachmentFailed:o().attachmentPending)}),c(W,be)};O(ae,W=>{e(N).status&&W(we)})}var _=A(ae,2),Se=V(_);{var Ce=W=>{st(W,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(N).id),children:(be,Re)=>{Bt(be,{get icon(){return zs},size:16})},$$slots:{default:!0}})};O(Se,W=>{e(N).status==="failed"&&v()&&W(Ce)})}var E=A(Se,2);{let W=n(()=>d.chat_attachmentPreview_remove_ariaLabel({name:e(N).file.name}));a(E,()=>e(N).id,()=>e(W))}F(_),F(P),$(()=>J(P,"data-attachment-id",e(N).id)),xr("keydown",P,W=>Y(W,e(N))),xr("contextmenu",P,W=>te(W,e(N))),Kt(1,P,()=>On,()=>({tier:"fast",y:3,scale:.98})),Kt(2,P,()=>Xa,()=>({tier:"fast"})),c(xe,P)},Ee=xe=>{const P=n(()=>e(N).kind==="image"&&!j(e(N))&&e(N).status!=="failed");var X=sf(),ae=V(X);{var we=ke=>{st(ke,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile file",get"aria-label"(){return e(N).name},get disabled(){return i()},onkeydown:$e=>ee($e,e(N).id),children:($e,Oe)=>{var Ue=tf(),se=fe(Ue);Bt(se,{get icon(){return ka},size:20});var Ge=A(se),yt=oe(Ge,!0);$(()=>Q(yt,e(N).name)),c($e,Ue)},$$slots:{default:!0}})},_=ke=>{{let $e=n(()=>L(e(N))),Oe=n(()=>i()||e(N).kind==="clip"&&(e(N).recording||!e(N).url));st(ke,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile",get"aria-label"(){return e($e)},get disabled(){return e(Oe)},onkeydown:Ue=>Y(Ue,e(N)),onclick:Ue=>{Ue.currentTarget instanceof HTMLElement&&ne(e(N),Ue.currentTarget)},children:(Ue,se)=>{var Ge=St(),yt=fe(Ge);{var Ft=et=>{var Ke=rf();$(()=>J(Ke,"src",e(N).url)),c(et,Ke)},er=et=>{var Ke=nf(),$t=A(V(Ke)),Tt=oe($t,!0),ut=A($t);{var ze=K=>{var y=af(),pe=oe(y,!0);$(()=>Q(pe,e(N).summary)),c(K,y)};O(ut,K=>{e(N).summary&&K(ze)})}F(Ke),$(()=>Q(Tt,e(N).duration)),c(et,Ke)};O(yt,et=>{e(N).kind==="image"?et(Ft):et(er,-1)})}c(Ue,Ge)},$$slots:{default:!0}})}},Se=n(()=>e(N).kind!=="image"||j(e(N)));O(ae,ke=>{e(N).kind==="file"?ke(we):e(Se)&&ke(_,1)})}var Ce=A(ae,2);{var E=ke=>{var $e=zo(),Oe=oe($e,!0);$(()=>{J($e,"data-failed",e(N).status==="failed"||void 0),J($e,"role",e(N).status==="failed"?"alert":"status"),J($e,"title",e(N).error),Q(Oe,e(N).status==="failed"?e(N).error??o().attachmentFailed:o().attachmentPending)}),c(ke,$e)};O(Ce,ke=>{(e(N).status||e(P))&&ke(E)})}var W=A(Ce,2),be=V(W);{var Re=ke=>{st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(N).id),children:($e,Oe)=>{Bt($e,{get icon(){return zs},size:16})},$$slots:{default:!0}})},Ve=ke=>{{let $e=n(()=>u()?o().edit:o().markUp),Oe=n(()=>u()?o().edit:o().markUp);st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e($e)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Oe)},onclick:()=>q(e(N).id),children:(Ue,se)=>{Cs(Ue,{glyph:"pencil"})},$$slots:{default:!0}})}},De=n(()=>j(e(N))),Et=ke=>{{let $e=n(()=>u()?o().edit:o().play),Oe=n(()=>u()?o().edit:o().play);st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e($e)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Oe)},onclick:Ue=>{Ue.currentTarget instanceof HTMLElement&&ne(e(N),Ue.currentTarget)},children:(Ue,se)=>{{let Ge=n(()=>u()?"pencil":"play");Cs(Ue,{get glyph(){return e(Ge)}})}},$$slots:{default:!0}})}};O(be,ke=>{e(N).status==="failed"&&v()?ke(Re):e(De)?ke(Ve,1):e(N).kind==="clip"&&!e(N).recording&&e(N).url&&ke(Et,2)})}var ye=A(be,2);a(ye,()=>e(N).id,()=>o().remove),F(W),F(X),$(()=>{J(X,"data-kind",e(N).kind),J(X,"data-attachment-id",e(N).id),J(X,"aria-busy",e(P)||void 0)}),xr("contextmenu",X,ke=>te(ke,e(N))),Kt(1,X,()=>On,()=>({tier:"fast",y:3,scale:.98})),Kt(2,X,()=>Xa,()=>({tier:"fast"})),c(xe,X)};O(Le,xe=>{e(N).kind==="image"&&e(N).file?xe(Ae):xe(Ee,-1)})}c(le,ve)}),F(me),ea(me,le=>D(w,le),()=>e(w)),$(()=>J(me,"aria-label",o().attachments)),c(T,me)};O(ge,T=>{e(U).length&&T(Pe)})}var Ie=A(ge,2);{const T=le=>{var N=St(),ve=fe(N);{var Le=Ae=>{var Ee=lf(),xe=fe(Ee);{var P=_=>{st(_,{variant:"primary",get disabled(){return i()},onclick:()=>e(S)&&q(e(S).id),children:(Se,Ce)=>{Cr();var E=Pr();$(()=>Q(E,o().markUp)),c(Se,E)},$$slots:{default:!0}})},X=n(()=>j(e(S)));O(xe,_=>{e(X)&&_(P)})}var ae=A(xe,2);st(ae,{variant:"secondary",get disabled(){return i()},onclick:()=>e(S)&&z(e(S).id),children:(_,Se)=>{Cr();var Ce=Pr();$(()=>Q(Ce,o().remove)),c(_,Ce)},$$slots:{default:!0}});var we=A(ae,2);st(we,{variant:"ghost-light",onclick:()=>{D(C,!1)},children:(_,Se)=>{Cr();var Ce=Pr();$(()=>Q(Ce,o().done)),c(_,Ce)},$$slots:{default:!0}}),c(Ae,Ee)};O(ve,Ae=>{e(S)&&e(S).kind!=="file"&&Ae(Le)})}c(le,N)};let me=n(()=>e(S)?L(e(S)):o().attachments);yi(Ie,{get title(){return e(me)},size:"wide",showCloseButton:!1,onCloseAutoFocus:le=>{le.preventDefault(),G?.isConnected?G.focus():e(w)?.querySelector("button:not(:disabled)")?.focus()},get open(){return e(C)},set open(le){D(C,le,!0)},footer:T,children:(le,N)=>{var ve=St(),Le=fe(ve);{var Ae=Ee=>{var xe=uf(),P=V(xe);{var X=_=>{var Se=df();$(Ce=>{J(Se,"src",e(S).url),J(Se,"alt",Ce)},[()=>L(e(S))]),c(_,Se)},ae=n(()=>e(S).kind==="image"&&j(e(S))),we=_=>{var Se=cf();$(Ce=>{J(Se,"src",e(S).url),J(Se,"aria-label",Ce)},[()=>L(e(S))]),c(_,Se)};O(P,_=>{e(ae)?_(X):e(S).kind==="clip"&&e(S).url&&_(we,1)})}F(xe),c(Ee,xe)};O(Le,Ee=>{e(S)&&e(S).kind!=="file"&&Ee(Ae)})}c(le,ve)},$$slots:{footer:!0,default:!0}})}return c(r,de),bt(_e)}Ga(["keydown","contextmenu"]);var mf=I("<!> ",1),pf=I('<div class="flex flex-col gap-2 px-4 py-3 bg-muted/30 border border-border rounded-lg my-4"><div class="flex items-center justify-between gap-2"><div class="flex items-center gap-2"><div class="shrink-0 text-subtle"><!></div> <div class="font-medium text-sm"> </div></div> <div class="flex items-center gap-1"><!> <!></div></div> <div class="text-xs text-subtle"> </div> <pre class="text-xs bg-background/50 rounded p-2 overflow-x-auto max-h-40 overflow-y-auto font-mono"> </pre></div>');function Xi(r,t){if(new.target)return pt({component:Xi,...r});_t(t,!0);let a=g(t,"name",7),s=g(t,"description",7),o=g(t,"content",7),i=g(t,"onUseScript",7),l=ue(!1);function u(){navigator.clipboard.writeText(o()),D(l,!0),setTimeout(()=>{D(l,!1)},2e3)}function h(){i()?.({name:a(),description:s(),content:o()})}var v={get name(){return a()},set name(R){a(R),m()},get description(){return s()},set description(R){s(R),m()},get content(){return o()},set content(R){o(R),m()},get onUseScript(){return i()},set onUseScript(R){i(R),m()},$set:vt,$on:(R,Y)=>ht(t,R,Y)},x=pf(),M=V(x),B=V(M),U=V(B),w=V(U);Bt(w,{get icon(){return ps},size:"sm"}),F(U);var C=A(U,2),re=oe(C,!0);F(B);var G=A(B,2),S=V(G);st(S,{variant:"ghost-light",size:"sm",onclick:u,class:"h-7 px-2",children:(R,Y)=>{var te=mf(),_e=fe(te);{let ge=n(()=>e(l)?hi:_i);Bt(_e,{get icon(){return e(ge)},class:"mr-1"})}var de=A(_e);$(ge=>Q(de,` ${ge??""}`),[()=>e(l)?d.chat_shared_copied_label():d.chat_shared_copy_label()]),c(R,te)},$$slots:{default:!0}});var j=A(S,2);{var L=R=>{st(R,{variant:"ghost-light",size:"sm",onclick:h,class:"h-7 px-2",children:(Y,te)=>{Cr();var _e=Pr();$(de=>Q(_e,de),[()=>d.chat_setupScriptCard_useScript_label()]),c(Y,_e)},$$slots:{default:!0}})};O(j,R=>{i()&&R(L)})}F(G),F(M);var ne=A(M,2),z=oe(ne,!0),q=A(ne,2),ee=oe(q,!0);return F(x),$(()=>{Q(re,a()),Q(z,s()),Q(ee,o())}),c(r,x),bt(v)}const yr={toolStart:/(?:\x1B\[\d+m)?🔧\s+(?:Tool call:\s+)?(.+?)(?:\x1B\[0m)?$/,toolDetail:/(?:[└├]─\s+(.+)$|^\s{3,}(.+)$)/,toolResult:/(?:\x1B\[\d+m)?📋\s+Tool result:\s+(.+?)(?:\x1B\[0m)?$/,toolSuccess:/[✓✔✅]\s+(.+)$/,toolError:/[❌✗❎]\s+(.+)$/,sessionInfo:/[Ss]ession:\s*([a-f0-9-]+)/,resumedSession:/📂?\s*Resumed session/i,assistantMarker:/🤖/,systemMarker:/💻/,userMarker:/👤/,thinkingMarker:/🤔\s*Thinking/i,waitingMarker:/^⏳\s+Running/i,indexingProgress:/^Indexing:\s*\[.*\]\s*\d+%/,agentDigest:/<agent_digest>([\s\S]*?)<\/agent_digest>/,setupScript:/<setup_script\s+name="([^"]+)"\s+description="([^"]+)">([\s\S]*?)<\/setup_script>/};class vf{constructor(){pa(this,"buffer","");pa(this,"currentToolName",null);pa(this,"currentToolId",null);pa(this,"lastToolId",null);pa(this,"currentToolParams",[]);pa(this,"currentToolResultContent",[]);pa(this,"inToolResult",!1);pa(this,"inCodeBlock",!1);pa(this,"codeBlockLanguage","");pa(this,"codeBlockContent","");pa(this,"characterBuffer","");pa(this,"inCharacterMode",!1);pa(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const o=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const u=this.currentToolResultContent.some(v=>v.startsWith("❌")||v.startsWith("Error:")),h=this.currentToolResultContent.map(v=>v.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
|
|
2
2
|
`);o.push({type:"tool_result",content:h,metadata:{toolId:this.currentToolId,isError:u}}),this.lastToolId=this.currentToolId,this.currentToolId=null,this.inToolResult=!1,this.currentToolResultContent=[]}const i=t.indexOf("🤖"),l=t.substring(i+2);if(this.inCharacterMode=!0,this.characterBuffer="",l&&l.trim()&&l!==`
|
|
3
3
|
`){const u=l.replace(/^\n/,"");u&&(this.characterBuffer=u)}return o}if(this.inCharacterMode){if(t.trim()===""&&this.characterBuffer==="")return[];if(t.includes(`
|
|
4
4
|
`)&&this.characterBuffer.length>0){const o=t.substring(0,t.indexOf(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as i,aW as l,aw as d,P as o}from"./
|
|
1
|
+
import{b as i,aW as l,aw as d,P as o}from"./BZnji9hP.js";var x=i((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const s in t.attrs)e.attr(s,t.attrs[s]);return t.class&&e.attr("class",t.class),e},"drawRect"),p=i((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};x(r,e).lower()},"drawBackgroundRect"),y=i((r,t)=>{const e=t.text.replace(d," "),s=r.append("text");s.attr("x",t.x),s.attr("y",t.y),s.attr("class","legend"),s.style("text-anchor",t.anchor),t.class&&s.attr("class",t.class);const a=s.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),s},"drawText"),m=i((r,t,e,s)=>{const a=r.append("image");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",n)},"drawImage"),g=i((r,t,e,s)=>{const a=r.append("use");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),h=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),f=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),w=i(()=>{let r=l(".mermaidTooltip");return r.empty()&&(r=l("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");export{g as a,m as b,w as c,p as d,x as e,y as f,h as g,f as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as r}from"./
|
|
1
|
+
import{g as r}from"./BFO-Le8U.js";import{l as d}from"./ChTqQfQN.js";let n=!1,t=!1;function c(){if(!n)try{r.defineTheme("app-dark",{base:"vs-dark",inherit:!0,rules:[{token:"keyword",foreground:"#569cd6"},{token:"string",foreground:"#ce9178"},{token:"number",foreground:"#b5cea8"},{token:"comment",foreground:"#6a9955"}],colors:{"editor.background":"#1B1B23","editor.foreground":"#d4d4d4","editor.selectionBackground":"#264f78","editor.lineHighlightBackground":"#0B0B0E","diffEditor.insertedLineBackground":"#22c55e18","diffEditor.removedLineBackground":"#ef444418","diffEditor.insertedTextBackground":"#22c55e70","diffEditor.removedTextBackground":"#ef444470","diffEditorGutter.insertedLineBackground":"#22c55ecc","diffEditorGutter.removedLineBackground":"#ef4444cc","diffEditor.insertedTextBorder":"#22c55e99","diffEditor.removedTextBorder":"#ef444499","diffEditor.diagonalFill":"#374151","diffEditorOverview.insertedForeground":"#22c55ecc","diffEditorOverview.removedForeground":"#ef4444cc"}}),r.defineTheme("app-light",{base:"vs",inherit:!0,rules:[{token:"keyword",foreground:"#7c3aed"},{token:"keyword.control",foreground:"#7c3aed"},{token:"keyword.operator",foreground:"#7c3aed"},{token:"operator",foreground:"#374151"},{token:"variable",foreground:"#374151"},{token:"variable.other",foreground:"#374151"},{token:"variable.parameter",foreground:"#374151"},{token:"variable.language",foreground:"#7c3aed"},{token:"type",foreground:"#b45309"},{token:"class",foreground:"#b45309"},{token:"interface",foreground:"#b45309"},{token:"enum",foreground:"#b45309"},{token:"function",foreground:"#1d4ed8"},{token:"function.declaration",foreground:"#1d4ed8"},{token:"function.call",foreground:"#1d4ed8"},{token:"string",foreground:"#047857"},{token:"string.quoted",foreground:"#047857"},{token:"string.quoted.single",foreground:"#047857"},{token:"string.quoted.double",foreground:"#047857"},{token:"number",foreground:"#c2410c"},{token:"comment",foreground:"#6b7280"},{token:"comment.line",foreground:"#6b7280"},{token:"comment.block",foreground:"#6b7280"},{token:"invalid",foreground:"#b91c1c"}],colors:{"editor.background":"#ffffff","editor.foreground":"#1f2937","editor.lineNumbersBackground":"#f9fafb","editor.lineNumbersForeground":"#9ca3af","editor.selectionBackground":"#dbeafe","editor.lineHighlightBackground":"#f3f4f6","editorCursor.foreground":"#1f2937","editorWhitespace.foreground":"#e5e7eb","diffEditor.insertedLineBackground":"#22c55e18","diffEditor.removedLineBackground":"#ef444418","diffEditor.insertedTextBackground":"#22c55e70","diffEditor.removedTextBackground":"#ef444470","diffEditorGutter.insertedLineBackground":"#22c55ecc","diffEditorGutter.removedLineBackground":"#ef4444cc","diffEditor.insertedTextBorder":"#22c55e99","diffEditor.removedTextBorder":"#ef444499","diffEditor.diagonalFill":"#e5e7eb55","diffEditorOverview.insertedForeground":"#22c55ecc","diffEditorOverview.removedForeground":"#ef4444cc"}}),n=!0}catch(e){d.error("Failed to initialize Monaco themes:",e)}}function u(e){try{r.defineTheme("app-custom",e),r.setTheme("app-custom"),t=!0}catch(o){d.error("Failed to apply custom Monaco theme:",o)}}function a(e){try{t=!1,r.setTheme(e?"app-dark":"app-light")}catch(o){d.error("Failed to revert Monaco theme:",o)}}function g(e){return t?"app-custom":e?"app-dark":"app-light"}export{u as applyCustomMonacoTheme,c as defineMonacoThemes,g as getActiveMonacoThemeName,a as revertMonacoTheme};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{JH as t,iE as o}from"./
|
|
1
|
+
import{JH as t,iE as o}from"./D0qhIm1r.js";const r=t.createSelector((a,e)=>a.workspaceNavigation.byWorkspaceId[e]??o(e)),s=t.createSelector((a,e)=>r.select(a,e).mainPanel),i=t.createSelector((a,e)=>r.select(a,e).navigation);export{s as a,r as b,i as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bW as b,dt as _,dB as P,bQ as k,b2 as C}from"./
|
|
1
|
+
import{bW as b,dt as _,dB as P,bQ as k,b2 as C}from"./cD292w1o.js";import{c as v}from"./ChTqQfQN.js";import{bm as m}from"./Fcr7AvC-.js";import{JH as y}from"./D0qhIm1r.js";const A={narrowWidth:600,shortHeight:500,wideWidth:900};function I(e,c,t){let i;e<A.narrowWidth?i=2:(e<A.wideWidth,i=Math.min(3,t));let o;c<A.shortHeight?o=2:o=Math.min(3,Math.ceil(t/i));const n=i*o;return{columns:i,rows:o,maxItems:n}}const h=v("PresetExecutor");async function F(e,c,t){switch(h.info("Applying content preset",{presetId:e,context:t}),e){case"planning":return W(c,t);case"agents-row":return D(c,t);case"changes":return G(c,t);case"review":return L(c,t);default:return c.applyPreset(e),!0}}async function W(e,c){const{workspaceId:t}=c,i=b.select(y.state,t),o=i.length>0?i.reduce((n,r)=>{const l=n.createdAt?new Date(n.createdAt).getTime():1/0;return(r.createdAt?new Date(r.createdAt).getTime():1/0)<l?r:n}):void 0;return e.batchMutations(()=>{const n=e.createGridLayout(2);return o&&e.openTab({type:"agent",title:o.name||m.layout_tabTypes_agent_title(),agentId:o.id,closable:!0,workspaceId:t},n[0]),e.openTab({type:"note",title:m.layout_shared_spec_title(),noteId:"spec",closable:!0,workspaceId:t},n[1]),!0})}async function D(e,c){const{workspaceId:t,containerWidth:i,containerHeight:o}=c,n=6,r=y.state,l=b.select(r,t),p=C.select(r,t).sort((s,a)=>{const d=s.status==="active"||s.isProcessing,u=a.status==="active"||a.isProcessing;if(d&&!u)return-1;if(!d&&u)return 1;const f=s.lastActivity?new Date(s.lastActivity).getTime():s.updatedAt?new Date(s.updatedAt).getTime():0;return(a.lastActivity?new Date(a.lastActivity).getTime():a.updatedAt?new Date(a.updatedAt).getTime():0)-f});h.info("Agents row preset - agent counts",{total:l.length+p.length,foreground:l.length,background:p.length});const g=[...l,...p.slice(0,n-l.length)].slice(0,n);if(g.length===0)return h.info("No agents to display for agents-row preset"),!1;const T=I(i,o,g.length);return h.info("Agent tiling calculated",{tiling:T,agentCount:g.length}),e.batchMutations(()=>{const s=e.createGridLayout(g.length);h.info("Created grid layout for agents",{panelIds:s,panelCount:s.length,agentCount:g.length});for(let a=0;a<g.length;a++){const d=s[a];d&&e.openTab({type:"agent",title:g[a].name||m.layout_tabTypes_agent_title(),agentId:g[a].id,closable:!0,workspaceId:t},d)}return!0})}async function G(e,c){const{workspaceId:t,containerWidth:i,containerHeight:o}=c,n=y.state,r=_.select(n,t),l=P.select(n,t),p=k.select(n,t),g=l.map(a=>({path:a.relativePath,type:"unstaged"})),T=r.map(a=>({path:a.relativePath,type:"staged"}));let s=[...g,...T].slice(0,6);return s.length===0&&p.length>0&&p[0].files&&(s=p[0].files.slice(0,6).map(a=>({path:a.path,type:"committed"}))),e.batchMutations(()=>{if(s.length===0){h.info("No changes to display for changes preset");const u=e.createGridLayout(1);return e.openTab({type:"changes",title:m.layout_tabTypes_changes_title(),closable:!0,workspaceId:t},u[0]),!0}const a=I(i,o,s.length);h.info("Changes tiling calculated",{tiling:a,fileCount:s.length});const d=e.createGridLayout(s.length);h.info("Created grid layout for changes",{panelIds:d,panelCount:d.length,fileCount:s.length});for(let u=0;u<s.length;u++){const f=s[u],w=f.path.split("/").pop()||f.path;e.openTab({type:"diff",title:w,diffPath:f.path,closable:!0,workspaceId:t,data:{staged:f.type==="staged"}},d[u])}return!0})}async function L(e,c){const{workspaceId:t}=c,i=b.select(y.state,t),o=i.length>0?i.reduce((n,r)=>{const l=n.createdAt?new Date(n.createdAt).getTime():1/0;return(r.createdAt?new Date(r.createdAt).getTime():1/0)<l?r:n}):void 0;return e.batchMutations(()=>{const n=e.createGridLayout(2);return o&&e.openTab({type:"agent",title:o.name||m.layout_presetExecutor_coordinator_fallback(),agentId:o.id,closable:!0,workspaceId:t},n[0]),e.openTab({type:"local-changes",title:m.layout_presetExecutor_allChanges_title(),closable:!0,workspaceId:t},n[1]),!0})}export{F as applyContentPreset};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as h}from"./
|
|
1
|
+
import{c as h}from"./Bo0PodRV.js";import{C as c,H as u,d as p,D as m,R as f,g as _,h as w,b as k,F as v,a as D,S as P,c as R,f as I}from"./CqRvL4xi.js";import{e as H,i as U,j as y,t as T,k as x}from"./CqRvL4xi.js";import{l as s}from"./BFO-Le8U.js";const C=120*1e3;class A{constructor(n){this._defaults=n,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>C&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=h({moduleId:"vs/language/css/cssWorker",createWorker:()=>new Worker(new URL("/app/immutable/workers/css.worker-08QwUeFR.js",import.meta.url),{type:"module"}),label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...n){let e;return this._getClient().then(a=>{e=a}).then(a=>{if(this._worker)return this._worker.withSyncedResources(n)}).then(a=>e)}}function E(o){const n=[],e=[],a=new A(o);n.push(a);const r=(...t)=>a.getLanguageServiceWorker(...t);function l(){const{languageId:t,modeConfiguration:i}=o;g(e),i.completionItems&&e.push(s.registerCompletionItemProvider(t,new c(r,["/","-",":"]))),i.hovers&&e.push(s.registerHoverProvider(t,new u(r))),i.documentHighlights&&e.push(s.registerDocumentHighlightProvider(t,new p(r))),i.definitions&&e.push(s.registerDefinitionProvider(t,new m(r))),i.references&&e.push(s.registerReferenceProvider(t,new f(r))),i.documentSymbols&&e.push(s.registerDocumentSymbolProvider(t,new _(r))),i.rename&&e.push(s.registerRenameProvider(t,new w(r))),i.colors&&e.push(s.registerColorProvider(t,new k(r))),i.foldingRanges&&e.push(s.registerFoldingRangeProvider(t,new v(r))),i.diagnostics&&e.push(new D(t,r,o.onDidChange)),i.selectionRanges&&e.push(s.registerSelectionRangeProvider(t,new P(r))),i.documentFormattingEdits&&e.push(s.registerDocumentFormattingEditProvider(t,new R(r))),i.documentRangeFormattingEdits&&e.push(s.registerDocumentRangeFormattingEditProvider(t,new I(r)))}return l(),n.push(d(e)),d(n)}function d(o){return{dispose:()=>g(o)}}function g(o){for(;o.length;)o.pop().dispose()}export{c as CompletionAdapter,m as DefinitionAdapter,D as DiagnosticsAdapter,k as DocumentColorAdapter,R as DocumentFormattingEditProvider,p as DocumentHighlightAdapter,H as DocumentLinkAdapter,I as DocumentRangeFormattingEditProvider,_ as DocumentSymbolAdapter,v as FoldingRangeAdapter,u as HoverAdapter,f as ReferenceAdapter,w as RenameAdapter,P as SelectionRangeAdapter,A as WorkerManager,U as fromPosition,y as fromRange,E as setupMode,T as toRange,x as toTextEdit};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{JH as N}from"./
|
|
1
|
+
import{JH as N}from"./D0qhIm1r.js";const z=N.createSelector((t,e,o)=>Object.values(t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId[o]??{})),D=N.createSelector((t,e,o)=>{const n=t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId??{};return Object.values(n).flatMap(s=>Object.values(s)).filter(s=>s.agentId===o)});let b=1;const I=new WeakMap;function $(t){let e=I.get(t);return e||(e=b++,I.set(t,e)),e}function m(t){if(t==null)return"";if(typeof t=="string")return`s:${t.length}:${t.slice(0,16)}:${t.slice(-16)}`;if(typeof t!="object")return`${typeof t}:${String(t)}`;if(Array.isArray(t))return`a:${$(t)}:${t.length}`;const e=Object.keys(t).sort();return`o:${$(t)}:${e.map(o=>`${o}=${m(t[o])}`).join(",")}`}function K(t){const e=[`message:${t.id||""}:${t.appMessageId||""}:${t.role}`];for(const o of t.toolCalls||[])e.push(`call:${o.id}:${o.status||""}:${o.error||""}`);for(const o of t.toolResults||[])e.push(`result:${o.toolCallId}:${o.isError?"1":"0"}:${m(o.content)}`);for(const[o,n]of(t.contentBlocks||[]).entries())if(n.type==="tool_use"){const s=n.metadata;e.push(`use:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${s?.toolId||""}:${n.name||""}:${n.toolName||""}:${m(n.input)}:${m(s?.toolInput)}`)}else n.type==="tool_result"&&e.push(`result-block:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${n.is_error?"1":"0"}:${n.isError?"1":"0"}:${m(n.content||n.text)}`);return e.join("|")}function y(t){if(!t)return!1;const e=typeof t=="string"?t:JSON.stringify(t);return[/tool .* not found/i,/tool .* not available/i,/unknown tool/i,/invalid tool/i,/tool execution failed/i,/failed to execute tool/i,/tool error:/i].some(n=>n.test(e))}const S=new WeakMap;function k(t){const e=S.get(t);if(e)return e;const o=new Set;if(t.toolResults)for(const n of t.toolResults)(n.isError||y(n.content))&&n.toolCallId&&o.add(n.toolCallId);if(t.toolCalls)for(const n of t.toolCalls)(n.status==="failed"||n.error)&&n.id&&o.add(n.id);if(t.contentBlocks){const n=t.contentBlocks;for(let s=0;s<n.length;s++){const i=n[s];if(i.type==="tool_result"){const r=i.is_error||i.isError,l=y(i.content||i.text);if(r||l){let a=i.tool_use_id||i.toolCallId||i.id;if(!a&&s>0){const f=n[s-1];f.type==="tool_use"&&(a=f.id||f.tool_use_id||f.toolCallId)}a&&o.add(a)}}}}return S.set(t,o),o}function J(t){const e=new Map;if(t.role!=="assistant"||!t.contentBlocks)return{changes:[],totalFiles:0,totalAdditions:0,totalDeletions:0};const o=k(t);for(const s of t.contentBlocks){if(s.type!=="tool_use")continue;const i=s.id||s.tool_use_id||s.toolCallId;if(i&&o.has(i))continue;const r=A(s);if(r){const l=e.get(r.filePath);l?(l.additions+=r.additions,l.deletions+=r.deletions,l.action=r.action,l.newContent=r.newContent,l.toolCallId=r.toolCallId,l.toolName=r.toolName):e.set(r.filePath,{...r})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function F(t){const e=new Map,o=new Set;for(const s of t){const i=k(s);for(const r of i)o.add(r)}for(const s of t)if(!(s.role!=="assistant"||!s.contentBlocks))for(const i of s.contentBlocks){if(i.type!=="tool_use")continue;const r=i.id||i.tool_use_id||i.toolCallId;if(r&&o.has(r))continue;const l=A(i);if(l){const a=e.get(l.filePath);a?(a.additions+=l.additions,a.deletions+=l.deletions,a.action=l.action,a.newContent=l.newContent,a.toolCallId=l.toolCallId,a.toolName=l.toolName):e.set(l.filePath,{...l})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function M(t){const e=[];for(let o=t.length-1;o>=0;o--){const n=t[o];if(n.role==="user")break;n.role==="assistant"&&e.unshift(n)}return e}function U(t){const e=F(t).changes.map(n=>n.filePath),o=new Set(F(M(t)).changes.map(n=>n.filePath));return e.length===o.size&&e.every(n=>o.has(n))}const T=new Set(["spec","notes","tasks","readme","todo","changelog"]),O=new Set(["workspace_api","get_note","create_note","update_note","add_to_note","edit_note","delegate_task","create_agent"]);function E(t){let e=t.toLowerCase();const o=e.match(/\/\/local\/mcp\/(.+)$/);for(o&&(e=o[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^workspace[-_]mcp[-_]/,"");/[-_]workspace-mcp$/.test(e);)e=e.replace(/[-_]workspace-mcp$/,"");return e}function L(t){const e=t.metadata;return[t.name,t.toolName,e?.toolName].some(n=>typeof n=="string"&&O.has(E(n)))}function x(t){if(/\s/.test(t))return!1;const e=t.includes("."),o=t.includes("/")||t.includes("\\");return e||o}function C(t){if(!t)return!1;const e=t.toLowerCase().trim();if(T.has(e)||e.includes(".workspace/notes/"))return!0;const o=e.includes("."),n=e.includes("/")||e.includes("\\");return!!(!o&&!n&&/^[a-z][a-z0-9-_]*$/.test(e))}function A(t){if(L(t))return null;if(t.inputTruncated===!0){const e=P(t);return e?{...e,additions:0,deletions:0,oldContent:void 0,newContent:void 0,startLineNumber:void 0}:null}return P(t)}function P(t){const e=typeof t.name=="string"&&t.name?t.name:typeof t.toolName=="string"?t.toolName:"",o=t.input||t.metadata?.toolInput||{},n=t.id||t.tool_use_id||t.metadata?.toolId||"",s=e.toLowerCase();if(s==="str_replace_editor"||s==="str-replace-editor"||s.startsWith("edit ")){const r=j(n,e,o);return r&&C(r.filePath)?null:r}const i=s==="save_file"||s==="save-file"||s==="write_file"||s==="write-file"||s==="create_file"||s==="create-file";if(i||s.startsWith("save ")||s.startsWith("create ")){const r=W(n,e,o,i);return r&&C(r.filePath)?null:r}if(s==="remove_files"||s==="remove-files"){const r=B(n,e,o);return r&&C(r.filePath)?null:r}return null}function p(t){if(t==null||typeof t=="object")return"";const e=typeof t=="string"?t:String(t);return e&&e.replace(/\\n/g,`
|
|
2
2
|
`).replace(/\\t/g," ").replace(/\\r/g,"\r")}function _(t){return typeof t!="string"?null:t.trim()||null}function v(t){if(Array.isArray(t)){for(const e of t){const o=_(e);if(o)return o}return null}return _(t)}function j(t,e,o){let n=_(o.path);if(!n&&typeof e=="string"&&e.toLowerCase().startsWith("edit ")){const c=_(e.substring(5));n=c&&x(c)?c:null}if(!n)return null;if(o.command==="create"){const c=o.file_text??"",d=p(c),u=d?d.split(`
|
|
3
3
|
`):[];return{filePath:n,action:"create",additions:u.length,deletions:0,toolName:e,toolCallId:t,oldContent:"",newContent:d}}let s=0,i=0;const r=[],l=[];let a;if(Array.isArray(o.str_replace_entries))for(const c of o.str_replace_entries){const d=c.old_str,u=c.new_str,h=c.old_str_start_line_number;if(d!==void 0&&u!==void 0){const g=p(d),w=p(u);i+=g?g.split(`
|
|
4
4
|
`).length:0,s+=w?w.split(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as Oe,bo as Y,bm as L,bw as qe,b as je,bs as He,bq as at,br as xt}from"./CtfEuoOH.js";import{bs as Ge,bj as bt,a5 as u,bA as c,b_ as x,W as r,bn as Ne,aA as J,ay as D,bS as n,aD as e,aB as m,c9 as $,c5 as Ce,ca as yt,bk as st,bH as Pe,bV as Be,a7 as fe,be as $e,b$ as ke,bO as B,bl as Ae}from"./3SdAC2_C.js";import{i as X}from"./DynUeYUu.js";import{k as ot}from"./DFKhOU69.js";import{g as Re}from"./CnFZbWXv.js";import{c as P}from"./BZ27qIg1.js";import{s as ze,f as Je,c as Ue,b as Qe}from"./B26ZHg3s.js";import{P as Ee,h as Le,i as Me,g as We}from"./C3jMXj_V.js";import{S as T,E as At}from"./aWBSU8IQ.js";import"./CT8vPg_p.js";import{w as Pt}from"./BdhKX9ZN.js";import{C as Tt}from"./9GL-RXJZ.js";import{E as Ze}from"./DG3-me8H.js";import"./DUTvR2si.js";import{JH as xe,fy as Dt,FD as nt,DY as it,q3 as Rt}from"./CiKoEJ2m.js";import{a_ as lt,aX as Ht,aY as It,dK as St}from"./iQDlfKDR.js";import{e as zt,r as Et}from"./Bhq56Jsu.js";import{M as Lt}from"./0R5VEpaM.js";import{G as Mt}from"./BM39k1x6.js";import{A as et}from"./B7pblHOt.js";import{M as Wt,e as Ft}from"./BZCcX8wj.js";import{o as Ct}from"./CoSEZL3s.js";import{f as Fe}from"./D9R5fzn8.js";import{S as Ie}from"./Chbrtg19.js";import{F as Se,a2 as Bt,d3 as Ot,aw as qt,bn as jt}from"./COofQgO0.js";var Gt=m('<div class="space-y-3"><!> <!></div>'),Nt=m('<div class="space-y-3"><!> <!></div> <!>',1),Kt=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Vt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Xt=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Yt=m('<div class="flex h-10 items-center px-3"><!></div>'),Jt=m("<div><!> <!> <!> <!></div>"),Ut=m("<!> <!>",1),Qt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Oe({component:dt,...b});Ge(l,!0);const U=Pt();bt(U.cleanup);let I=Y(l,"detail",7,!1),O=Y(l,"count",7,5),Q=Y(l,"view",7,"list"),Z=Y(l,"grouped",7,!1),s=Y(l,"rows",7,"workspace");var S={get detail(){return I()},set detail(i=!1){I(i),J()},get count(){return O()},set count(i=5){O(i),J()},get view(){return Q()},set view(i="list"){Q(i),J()},get grouped(){return Z()},set grouped(i=!1){Z(i),J()},get rows(){return s()},set rows(i="workspace"){s(i),J()},$set:qe,$on:(i,R)=>je(l,i,R)},y=Qt(),ie=u(y),be=u(ie);{var le=i=>{var R=Nt(),g=D(R),ee=u(g);T(ee,{class:"h-6 w-4/5"});var M=n(ee,2);T(M,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);Re(d,16,()=>[0,1],h=>h,(h,A)=>{var k=Gt(),te=u(k);T(te,{class:"h-3 w-full"});var q=n(te,2);T(q,{class:"h-3 w-5/6"}),c(k),r(h,k)}),r(i,R)},Te=i=>{var R=Xt();Re(R,20,()=>[0,1,2],g=>g,(g,ee)=>{var M=Vt(),d=u(M),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);Re(A,16,()=>[0,1,2],k=>k,(k,te)=>{var q=Kt(),de=u(q),re=u(de);T(re,{class:"h-4 flex-1"});var ce=n(re);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var j=n(w);T(j,{class:"h-3 w-6"}),c(o),c(q),r(k,q)}),c(M),r(g,M)}),c(R),r(i,R)},_e=i=>{var R=Ut(),g=D(R);{var ee=d=>{var h=Yt(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),r(d,h)};X(g,d=>{Z()&&d(ee)})}var M=n(g,2);Re(M,16,()=>Array.from({length:O()},(d,h)=>h),d=>d,(d,h)=>{var A=Jt(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var q=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},re=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};X(q,o=>{s()==="workspace"?o(de):s()==="integration"&&o(re,1)})}var ce=n(q,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};X(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Je(A,1,Ue(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),r(d,A)}),r(i,R)};X(be,i=>{I()?i(le):Q()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{ze(y,"aria-label",i),ze(y,"data-reduced",U.current),Je(ie,1,Ue(I()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>L.home_integrations_loading()]),r(b,y),Ne(S)}function ct(b){return b.filter(zt)}function Zt(){let b=null;return(l,U)=>{const I=b?l.find(Q=>Q.id===b):void 0;if(I)return I;const O=Et(l);return b=U&&O?String(O.id):null,O}}function er(b,l,U){return l&&b.find(I=>I.id===l)||U}var tr=m('<div class="p-4"><!></div>'),rr=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Oe({component:vt,...b});Ge(l,!0);const U=()=>He(ie,"$agents$",O),I=()=>He(be,"$loaded$",O),[O,Q]=at();let Z=Y(l,"workspace",7),s=Y(l,"preview",7,!1),S=Y(l,"agent",7);const y=Ce(()=>Z().id),ie=lt(y),be=Ht(y),le=$(()=>ct(U())),Te=$(()=>s()?void 0:S()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<Lt||setTimeout(()=>xe.dispatch(Dt(t)),0)}});let _e=Be(void 0),i=0;function R(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Be(!1),ee;function M(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(Rt(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||M(),()=>clearTimeout(ee)));var d={focusAttention:R,get workspace(){return Z()},set workspace(t){Z(t),J()},get preview(){return s()},set preview(t=!1){s(t),J()},get agent(){return S()},set agent(t){S(t),J()},$set:qe,$on:(t,o)=>je(l,t,o)},h=rr(),A=u(h);{var k=t=>{Ze(t,{density:"compact",title:w=>{$e();var j=ke();x(ae=>B(j,ae),[()=>L.agentOverview_hierarchyGraph_noAgents_title()]),r(w,j)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=D(o);ot(w,()=>S().id,j=>{{let ae=$(()=>e(_e)?.agentId===S().id?e(_e):void 0);Tt(j,{get workspace(){return Z()},get agentId(){return S().id},get agentName(){return S().name},autoFocus:!1,isFallbackPromptTarget:!0,get attentionFocusRequest(){return e(ae)},isInitialWorkspaceAgent:!1})}}),r(t,o)},q=t=>{var o=tr(),w=u(o);dt(w,{detail:!0}),c(o),r(t,o)},de=t=>{{const o=j=>{$e();var ae=ke();x(ye=>B(ae,ye),[()=>L.home_detail_unavailable()]),r(j,ae)};let w=$(()=>L.home_retry());At(t,{density:"compact",get retryLabel(){return e(w)},onRetry:M,message:o,$$slots:{message:!0}})}},re=t=>{{const o=j=>{$e();var ae=ke();x(ye=>B(ae,ye),[()=>L.agentOverview_hierarchyGraph_noAgents_title()]),r(j,ae)};let w=$(()=>L.home_retry());Ze(t,{density:"compact",get actionLabel(){return e(w)},onAction:M,title:o,$$slots:{title:!0}})}};X(A,t=>{s()?t(k):S()?t(te,1):!I()&&!e(g)?t(q,2):I()?t(re,-1):t(de,3)})}c(h),x(()=>ze(h,"data-workspace-link-target",Z().id)),r(b,h);var ce=Ne(d);return Q(),ce}var ar=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sr=m('<div class="shrink-0"><!></div>'),or=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),rt=m("<!><!>",1),nr=m("<p> </p>"),ir=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),lr=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),dr=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),cr=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),vr=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ur(b,l){if(new.target)return Oe({component:ur,...b});Ge(l,!0);const U=()=>He(_e,"$readRevision$",Q),I=()=>He(Te,"$agents$",Q),O=()=>He(R,"$pickedId$",Q),[Q,Z]=at();let s=Y(l,"workspace",7),S=Y(l,"onclose",7),y=Y(l,"preview",7,!1),ie=Y(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:L.workspace_links_untitled_label()),le=Ce(()=>s().id),Te=lt(le),_e=It(le),i=Ce(()=>U()),R=Wt(le),g=$(()=>ct(I())),ee=Zt(),M=$(()=>ee(e(g),U()>i)),d=$(()=>er(e(g),O(),e(M)));function h(a){xe.dispatch(nt(le,a)),xe.dispatch(it(le,a))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Be(!1);async function te(){Pe(k,!1);try{await Ft(s().id),Pe(k,!St.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function q(){Ct(s().id)}var de={get workspace(){return s()},set workspace(a){s(a),J()},get onclose(){return S()},set onclose(a){S(a),J()},get preview(){return y()},set preview(a=!1){y(a),J()},get showBackToList(){return ie()},set showBackToList(a=!0){ie(a),J()},$set:qe,$on:(a,f)=>je(l,a,f)},re=vr(),ce=u(re),t=u(ce),o=u(t),w=u(o);P(w,()=>Ee,(a,f)=>{f(a,{children:(G,oe)=>{var N=fe(),W=D(N);P(W,()=>Le,(ve,z)=>{z(ve,{children:(K,ge)=>{var me=tt(),ne=D(me);{const F=(E,C)=>{let H=()=>(C?.()).props;{let v=$(()=>L.home_open_workspace());Fe(E,xt(H,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:q,children:(p,V)=>{var _=ar(),se=D(_),ue=Ae(se,!0),we=n(se,2);Se(we,{get icon(){return Bt},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>B(ue,e(be))),r(p,_)},$$slots:{default:!0}}))}};P(ne,()=>Me,(E,C)=>{C(E,{child:F,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>We,(F,E)=>{E(F,{children:(C,H)=>{$e();var v=ke();x(()=>B(v,e(be))),r(C,v)},$$slots:{default:!0}})}),r(K,me)},$$slots:{default:!0}})}),r(G,N)},$$slots:{default:!0}})}),c(o);var j=n(o,2);{var ae=a=>{var f=sr(),G=u(f);{let oe=$(()=>L.home_close_preview()),N=$(()=>L.home_close_preview());Fe(G,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(N)},get onclick(){return S()},children:(W,ve)=>{Se(W,{get icon(){return Ot}})},$$slots:{default:!0}})}c(f),r(a,f)};X(j,a=>{ie()&&a(ae)})}c(t);var ye=n(t,2);{var ut=a=>{var f=fe(),G=D(f);P(G,()=>Ee,(oe,N)=>{N(oe,{children:(W,ve)=>{var z=fe(),K=D(z);P(K,()=>Le,(ge,me)=>{me(ge,{children:(ne,he)=>{var F=rt(),E=D(F);{const H=(v,p)=>{let V=()=>(p?.()).props;var _=or();Qe(_,()=>({...V(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{Mt(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{Se(pe,{get icon(){return jt}})};X(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Ye=n(se,2),De=Ae(Ye,!0);c(_),x(()=>B(De,e(A))),r(v,_)};P(E,()=>Me,(v,p)=>{p(v,{child:H,$$slots:{child:!0}})})}var C=n(E);P(C,()=>We,(H,v)=>{v(H,{children:(p,V)=>{$e();var _=ke();x(()=>B(_,e(A))),r(p,_)},$$slots:{default:!0}})}),r(ne,F)},$$slots:{default:!0}})}),r(W,z)},$$slots:{default:!0}})}),r(a,f)};X(ye,a=>{e(A)&&a(ut)})}var pt=n(ye,2);{var mt=a=>{var f=fe(),G=D(f);P(G,()=>Ee,(oe,N)=>{N(oe,{children:(W,ve)=>{var z=fe(),K=D(z);P(K,()=>Le,(ge,me)=>{me(ge,{children:(ne,he)=>{var F=rt(),E=D(F);{const H=(v,p)=>{let V=()=>(p?.()).props;var _=nr();Qe(_,()=>({...V(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>B(se,s().statusMessage)),r(v,_)};P(E,()=>Me,(v,p)=>{p(v,{child:H,$$slots:{child:!0}})})}var C=n(E);P(C,()=>We,(H,v)=>{v(H,{children:(p,V)=>{$e();var _=ke();x(()=>B(_,s().statusMessage)),r(p,_)},$$slots:{default:!0}})}),r(ne,F)},$$slots:{default:!0}})}),r(W,z)},$$slots:{default:!0}})}),r(a,f)};X(pt,a=>{s().statusMessage&&a(mt)})}c(ce);var Ke=n(ce,2);{var ft=a=>{var f=dr(),G=u(f);{let oe=$(()=>e(d)?.id??"");P(G,()=>Ie.Root,(N,W)=>{W(N,{get value(){return e(oe)},onchange:ve=>{const z=e(g).find(K=>K.id===ve);z&&h(z.id)},children:(ve,z)=>{var K=tt(),ge=D(K);{let ne=$(()=>L.home_agents());P(ge,()=>Ie.Trigger,(he,F)=>{F(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(E,C)=>{var H=ir(),v=D(H);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};X(v,ue=>{e(d)&&ue(p)})}var V=n(v,2),_=Ae(V,!0),se=n(V,2);Se(se,{get icon(){return qt},class:"shrink-0 text-muted-foreground"}),x(()=>B(_,e(d)?.name)),r(E,H)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>Ie.Content,(ne,he)=>{he(ne,{portal:!0,children:(F,E)=>{var C=fe(),H=D(C);Re(H,17,()=>e(g),v=>v.id,(v,p)=>{var V=fe(),_=D(V);P(_,()=>Ie.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Ye)=>{var De=lr(),pe=u(De);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(De),x(()=>B($t,e(p).name)),r(we,De)},$$slots:{default:!0}})}),r(v,V)}),r(F,C)},$$slots:{default:!0}})}),r(ve,K)},$$slots:{default:!0}})})}c(f),r(a,f)};X(Ke,a=>{e(g).length&&a(ft)})}var Ve=n(Ke,2);{var _t=a=>{var f=cr(),G=u(f),oe=Ae(G,!0),N=n(G,2);Fe(N,{variant:"outline",size:"sm",onclick:te,children:(W,ve)=>{$e();var z=ke();x(K=>B(z,K),[()=>L.home_retry()]),r(W,z)},$$slots:{default:!0}}),c(f),x(W=>B(oe,W),[()=>L.home_detail_unavailable()]),r(a,f)};X(Ve,a=>{e(k)&&a(_t)})}var Xe=n(Ve,2),gt=u(Xe);ot(gt,()=>s().id,a=>{vt(a,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Xe),c(re),x(a=>ze(re,"aria-label",a),[()=>L.home_workspace_details()]),r(b,re);var ht=Ne(de);return Z(),ht}export{dt as H,ur as a};
|
|
1
|
+
import{t as Oe,bo as Y,bm as L,bw as qe,b as je,bs as He,bq as at,br as xt}from"./Fcr7AvC-.js";import{bs as Ge,bj as bt,a5 as u,bA as c,b_ as x,W as r,bn as Ne,aA as J,ay as D,bS as n,aD as e,aB as m,c9 as $,c5 as Ce,ca as yt,bk as st,bH as Pe,bV as Be,a7 as fe,be as $e,b$ as ke,bO as B,bl as Ae}from"./3SdAC2_C.js";import{i as X}from"./BhYXv0ZM.js";import{k as ot}from"./Cc0763mU.js";import{g as Re}from"./CA6H1-bp.js";import{c as P}from"./2z64ELW5.js";import{s as ze,f as Je,c as Ue,b as Qe}from"./BRCr02in.js";import{P as Ee,h as Le,i as Me,g as We}from"./DkQdSPDN.js";import{S as T,E as At}from"./D7KhILhs.js";import"./BAtAwQ72.js";import{w as Pt}from"./gNR_yDDX.js";import{C as Tt}from"./Bs5b-3jJ.js";import{E as Ze}from"./B8m3-qrW.js";import"./CpK0xLH4.js";import{JH as xe,fy as Dt,FD as nt,DY as it,q3 as Rt}from"./D0qhIm1r.js";import{a_ as lt,aX as Ht,aY as It,dK as St}from"./cD292w1o.js";import{e as zt,r as Et}from"./CCAtqaSn.js";import{M as Lt}from"./BjEG_fCJ.js";import{G as Mt}from"./BusD2v6a.js";import{A as et}from"./DON9zoQ1.js";import{M as Wt,e as Ft}from"./BnbmXiW4.js";import{o as Ct}from"./BCwKGJpG.js";import{f as Fe}from"./Beq_QLuz.js";import{S as Ie}from"./BnnKw3Va.js";import{F as Se,a2 as Bt,d3 as Ot,aw as qt,bn as jt}from"./ChHRVjww.js";var Gt=m('<div class="space-y-3"><!> <!></div>'),Nt=m('<div class="space-y-3"><!> <!></div> <!>',1),Kt=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Vt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Xt=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Yt=m('<div class="flex h-10 items-center px-3"><!></div>'),Jt=m("<div><!> <!> <!> <!></div>"),Ut=m("<!> <!>",1),Qt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Oe({component:dt,...b});Ge(l,!0);const U=Pt();bt(U.cleanup);let I=Y(l,"detail",7,!1),O=Y(l,"count",7,5),Q=Y(l,"view",7,"list"),Z=Y(l,"grouped",7,!1),s=Y(l,"rows",7,"workspace");var S={get detail(){return I()},set detail(i=!1){I(i),J()},get count(){return O()},set count(i=5){O(i),J()},get view(){return Q()},set view(i="list"){Q(i),J()},get grouped(){return Z()},set grouped(i=!1){Z(i),J()},get rows(){return s()},set rows(i="workspace"){s(i),J()},$set:qe,$on:(i,R)=>je(l,i,R)},y=Qt(),ie=u(y),be=u(ie);{var le=i=>{var R=Nt(),g=D(R),ee=u(g);T(ee,{class:"h-6 w-4/5"});var M=n(ee,2);T(M,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);Re(d,16,()=>[0,1],h=>h,(h,A)=>{var k=Gt(),te=u(k);T(te,{class:"h-3 w-full"});var q=n(te,2);T(q,{class:"h-3 w-5/6"}),c(k),r(h,k)}),r(i,R)},Te=i=>{var R=Xt();Re(R,20,()=>[0,1,2],g=>g,(g,ee)=>{var M=Vt(),d=u(M),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);Re(A,16,()=>[0,1,2],k=>k,(k,te)=>{var q=Kt(),de=u(q),re=u(de);T(re,{class:"h-4 flex-1"});var ce=n(re);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var j=n(w);T(j,{class:"h-3 w-6"}),c(o),c(q),r(k,q)}),c(M),r(g,M)}),c(R),r(i,R)},_e=i=>{var R=Ut(),g=D(R);{var ee=d=>{var h=Yt(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),r(d,h)};X(g,d=>{Z()&&d(ee)})}var M=n(g,2);Re(M,16,()=>Array.from({length:O()},(d,h)=>h),d=>d,(d,h)=>{var A=Jt(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var q=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},re=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};X(q,o=>{s()==="workspace"?o(de):s()==="integration"&&o(re,1)})}var ce=n(q,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};X(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Je(A,1,Ue(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),r(d,A)}),r(i,R)};X(be,i=>{I()?i(le):Q()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{ze(y,"aria-label",i),ze(y,"data-reduced",U.current),Je(ie,1,Ue(I()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>L.home_integrations_loading()]),r(b,y),Ne(S)}function ct(b){return b.filter(zt)}function Zt(){let b=null;return(l,U)=>{const I=b?l.find(Q=>Q.id===b):void 0;if(I)return I;const O=Et(l);return b=U&&O?String(O.id):null,O}}function er(b,l,U){return l&&b.find(I=>I.id===l)||U}var tr=m('<div class="p-4"><!></div>'),rr=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Oe({component:vt,...b});Ge(l,!0);const U=()=>He(ie,"$agents$",O),I=()=>He(be,"$loaded$",O),[O,Q]=at();let Z=Y(l,"workspace",7),s=Y(l,"preview",7,!1),S=Y(l,"agent",7);const y=Ce(()=>Z().id),ie=lt(y),be=Ht(y),le=$(()=>ct(U())),Te=$(()=>s()?void 0:S()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<Lt||setTimeout(()=>xe.dispatch(Dt(t)),0)}});let _e=Be(void 0),i=0;function R(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Be(!1),ee;function M(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(Rt(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||M(),()=>clearTimeout(ee)));var d={focusAttention:R,get workspace(){return Z()},set workspace(t){Z(t),J()},get preview(){return s()},set preview(t=!1){s(t),J()},get agent(){return S()},set agent(t){S(t),J()},$set:qe,$on:(t,o)=>je(l,t,o)},h=rr(),A=u(h);{var k=t=>{Ze(t,{density:"compact",title:w=>{$e();var j=ke();x(ae=>B(j,ae),[()=>L.agentOverview_hierarchyGraph_noAgents_title()]),r(w,j)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=D(o);ot(w,()=>S().id,j=>{{let ae=$(()=>e(_e)?.agentId===S().id?e(_e):void 0);Tt(j,{get workspace(){return Z()},get agentId(){return S().id},get agentName(){return S().name},autoFocus:!1,isFallbackPromptTarget:!0,get attentionFocusRequest(){return e(ae)},isInitialWorkspaceAgent:!1})}}),r(t,o)},q=t=>{var o=tr(),w=u(o);dt(w,{detail:!0}),c(o),r(t,o)},de=t=>{{const o=j=>{$e();var ae=ke();x(ye=>B(ae,ye),[()=>L.home_detail_unavailable()]),r(j,ae)};let w=$(()=>L.home_retry());At(t,{density:"compact",get retryLabel(){return e(w)},onRetry:M,message:o,$$slots:{message:!0}})}},re=t=>{{const o=j=>{$e();var ae=ke();x(ye=>B(ae,ye),[()=>L.agentOverview_hierarchyGraph_noAgents_title()]),r(j,ae)};let w=$(()=>L.home_retry());Ze(t,{density:"compact",get actionLabel(){return e(w)},onAction:M,title:o,$$slots:{title:!0}})}};X(A,t=>{s()?t(k):S()?t(te,1):!I()&&!e(g)?t(q,2):I()?t(re,-1):t(de,3)})}c(h),x(()=>ze(h,"data-workspace-link-target",Z().id)),r(b,h);var ce=Ne(d);return Q(),ce}var ar=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sr=m('<div class="shrink-0"><!></div>'),or=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),rt=m("<!><!>",1),nr=m("<p> </p>"),ir=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),lr=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),dr=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),cr=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),vr=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ur(b,l){if(new.target)return Oe({component:ur,...b});Ge(l,!0);const U=()=>He(_e,"$readRevision$",Q),I=()=>He(Te,"$agents$",Q),O=()=>He(R,"$pickedId$",Q),[Q,Z]=at();let s=Y(l,"workspace",7),S=Y(l,"onclose",7),y=Y(l,"preview",7,!1),ie=Y(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:L.workspace_links_untitled_label()),le=Ce(()=>s().id),Te=lt(le),_e=It(le),i=Ce(()=>U()),R=Wt(le),g=$(()=>ct(I())),ee=Zt(),M=$(()=>ee(e(g),U()>i)),d=$(()=>er(e(g),O(),e(M)));function h(a){xe.dispatch(nt(le,a)),xe.dispatch(it(le,a))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Be(!1);async function te(){Pe(k,!1);try{await Ft(s().id),Pe(k,!St.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function q(){Ct(s().id)}var de={get workspace(){return s()},set workspace(a){s(a),J()},get onclose(){return S()},set onclose(a){S(a),J()},get preview(){return y()},set preview(a=!1){y(a),J()},get showBackToList(){return ie()},set showBackToList(a=!0){ie(a),J()},$set:qe,$on:(a,f)=>je(l,a,f)},re=vr(),ce=u(re),t=u(ce),o=u(t),w=u(o);P(w,()=>Ee,(a,f)=>{f(a,{children:(G,oe)=>{var N=fe(),W=D(N);P(W,()=>Le,(ve,z)=>{z(ve,{children:(K,ge)=>{var me=tt(),ne=D(me);{const F=(E,C)=>{let H=()=>(C?.()).props;{let v=$(()=>L.home_open_workspace());Fe(E,xt(H,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:q,children:(p,V)=>{var _=ar(),se=D(_),ue=Ae(se,!0),we=n(se,2);Se(we,{get icon(){return Bt},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>B(ue,e(be))),r(p,_)},$$slots:{default:!0}}))}};P(ne,()=>Me,(E,C)=>{C(E,{child:F,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>We,(F,E)=>{E(F,{children:(C,H)=>{$e();var v=ke();x(()=>B(v,e(be))),r(C,v)},$$slots:{default:!0}})}),r(K,me)},$$slots:{default:!0}})}),r(G,N)},$$slots:{default:!0}})}),c(o);var j=n(o,2);{var ae=a=>{var f=sr(),G=u(f);{let oe=$(()=>L.home_close_preview()),N=$(()=>L.home_close_preview());Fe(G,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(N)},get onclick(){return S()},children:(W,ve)=>{Se(W,{get icon(){return Ot}})},$$slots:{default:!0}})}c(f),r(a,f)};X(j,a=>{ie()&&a(ae)})}c(t);var ye=n(t,2);{var ut=a=>{var f=fe(),G=D(f);P(G,()=>Ee,(oe,N)=>{N(oe,{children:(W,ve)=>{var z=fe(),K=D(z);P(K,()=>Le,(ge,me)=>{me(ge,{children:(ne,he)=>{var F=rt(),E=D(F);{const H=(v,p)=>{let V=()=>(p?.()).props;var _=or();Qe(_,()=>({...V(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{Mt(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{Se(pe,{get icon(){return jt}})};X(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Ye=n(se,2),De=Ae(Ye,!0);c(_),x(()=>B(De,e(A))),r(v,_)};P(E,()=>Me,(v,p)=>{p(v,{child:H,$$slots:{child:!0}})})}var C=n(E);P(C,()=>We,(H,v)=>{v(H,{children:(p,V)=>{$e();var _=ke();x(()=>B(_,e(A))),r(p,_)},$$slots:{default:!0}})}),r(ne,F)},$$slots:{default:!0}})}),r(W,z)},$$slots:{default:!0}})}),r(a,f)};X(ye,a=>{e(A)&&a(ut)})}var pt=n(ye,2);{var mt=a=>{var f=fe(),G=D(f);P(G,()=>Ee,(oe,N)=>{N(oe,{children:(W,ve)=>{var z=fe(),K=D(z);P(K,()=>Le,(ge,me)=>{me(ge,{children:(ne,he)=>{var F=rt(),E=D(F);{const H=(v,p)=>{let V=()=>(p?.()).props;var _=nr();Qe(_,()=>({...V(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>B(se,s().statusMessage)),r(v,_)};P(E,()=>Me,(v,p)=>{p(v,{child:H,$$slots:{child:!0}})})}var C=n(E);P(C,()=>We,(H,v)=>{v(H,{children:(p,V)=>{$e();var _=ke();x(()=>B(_,s().statusMessage)),r(p,_)},$$slots:{default:!0}})}),r(ne,F)},$$slots:{default:!0}})}),r(W,z)},$$slots:{default:!0}})}),r(a,f)};X(pt,a=>{s().statusMessage&&a(mt)})}c(ce);var Ke=n(ce,2);{var ft=a=>{var f=dr(),G=u(f);{let oe=$(()=>e(d)?.id??"");P(G,()=>Ie.Root,(N,W)=>{W(N,{get value(){return e(oe)},onchange:ve=>{const z=e(g).find(K=>K.id===ve);z&&h(z.id)},children:(ve,z)=>{var K=tt(),ge=D(K);{let ne=$(()=>L.home_agents());P(ge,()=>Ie.Trigger,(he,F)=>{F(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(E,C)=>{var H=ir(),v=D(H);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};X(v,ue=>{e(d)&&ue(p)})}var V=n(v,2),_=Ae(V,!0),se=n(V,2);Se(se,{get icon(){return qt},class:"shrink-0 text-muted-foreground"}),x(()=>B(_,e(d)?.name)),r(E,H)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>Ie.Content,(ne,he)=>{he(ne,{portal:!0,children:(F,E)=>{var C=fe(),H=D(C);Re(H,17,()=>e(g),v=>v.id,(v,p)=>{var V=fe(),_=D(V);P(_,()=>Ie.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Ye)=>{var De=lr(),pe=u(De);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(De),x(()=>B($t,e(p).name)),r(we,De)},$$slots:{default:!0}})}),r(v,V)}),r(F,C)},$$slots:{default:!0}})}),r(ve,K)},$$slots:{default:!0}})})}c(f),r(a,f)};X(Ke,a=>{e(g).length&&a(ft)})}var Ve=n(Ke,2);{var _t=a=>{var f=cr(),G=u(f),oe=Ae(G,!0),N=n(G,2);Fe(N,{variant:"outline",size:"sm",onclick:te,children:(W,ve)=>{$e();var z=ke();x(K=>B(z,K),[()=>L.home_retry()]),r(W,z)},$$slots:{default:!0}}),c(f),x(W=>B(oe,W),[()=>L.home_detail_unavailable()]),r(a,f)};X(Ve,a=>{e(k)&&a(_t)})}var Xe=n(Ve,2),gt=u(Xe);ot(gt,()=>s().id,a=>{vt(a,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Xe),c(re),x(a=>ze(re,"aria-label",a),[()=>L.home_workspace_details()]),r(b,re);var ht=Ne(de);return Z(),ht}export{dt as H,ur as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{U as be,aZ as we,Y as _e,b0 as De,V as Se,a_ as Ce,b as l,X as dt,aW as vt,B as Me,L as U,ay as st,z as Ee,P as Ie,r as $e,bh as Ye}from"./DMudvlKI.js";import{g as It}from"./BdWqymET.js";import{t as Ae,d as Fe,m as Le,l as Oe,h as We,g as Zt,p as Qt,u as Pe,q as Ve,i as ze,v as Re,x as Ne,w as He,n as Be,e as Kt,j as Jt,k as te,s as ee,a as re}from"./CiRkFhK8.js";function qe(t){return t}var Tt=1,Yt=2,Ft=3,xt=4,se=1e-6;function Ge(t){return"translate("+t+",0)"}function Xe(t){return"translate(0,"+t+")"}function je(t){return e=>+t(e)}function Ue(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),s=>+t(s)+e}function Ze(){return!this.__axis}function de(t,e){var s=[],r=null,i=null,g=6,y=6,b=3,S=typeof window<"u"&&window.devicePixelRatio>1?0:.5,L=t===Tt||t===xt?-1:1,_=t===xt||t===Yt?"x":"y",W=t===Tt||t===Ft?Ge:Xe;function w(D){var N=r??(e.ticks?e.ticks.apply(e,s):e.domain()),V=i??(e.tickFormat?e.tickFormat.apply(e,s):qe),k=Math.max(g,0)+b,M=e.range(),P=+M[0]+S,O=+M[M.length-1]+S,B=(e.bandwidth?Ue:je)(e.copy(),S),H=D.selection?D.selection():D,I=H.selectAll(".domain").data([null]),x=H.selectAll(".tick").data(N,e).order(),h=x.exit(),E=x.enter().append("g").attr("class","tick"),f=x.select("line"),T=x.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(E),f=f.merge(E.append("line").attr("stroke","currentColor").attr(_+"2",L*g)),T=T.merge(E.append("text").attr("fill","currentColor").attr(_,L*k).attr("dy",t===Tt?"0em":t===Ft?"0.71em":"0.32em")),D!==H&&(I=I.transition(D),x=x.transition(D),f=f.transition(D),T=T.transition(D),h=h.transition(D).attr("opacity",se).attr("transform",function(v){return isFinite(v=B(v))?W(v+S):this.getAttribute("transform")}),E.attr("opacity",se).attr("transform",function(v){var p=this.parentNode.__axis;return W((p&&isFinite(p=p(v))?p:B(v))+S)})),h.remove(),I.attr("d",t===xt||t===Yt?y?"M"+L*y+","+P+"H"+S+"V"+O+"H"+L*y:"M"+S+","+P+"V"+O:y?"M"+P+","+L*y+"V"+S+"H"+O+"V"+L*y:"M"+P+","+S+"H"+O),x.attr("opacity",1).attr("transform",function(v){return W(B(v)+S)}),f.attr(_+"2",L*g),T.attr(_,L*k).text(V),H.filter(Ze).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Yt?"start":t===xt?"end":"middle"),H.each(function(){this.__axis=B})}return w.scale=function(D){return arguments.length?(e=D,w):e},w.ticks=function(){return s=Array.from(arguments),w},w.tickArguments=function(D){return arguments.length?(s=D==null?[]:Array.from(D),w):s.slice()},w.tickValues=function(D){return arguments.length?(r=D==null?null:Array.from(D),w):r&&r.slice()},w.tickFormat=function(D){return arguments.length?(i=D,w):i},w.tickSize=function(D){return arguments.length?(g=y=+D,w):g},w.tickSizeInner=function(D){return arguments.length?(g=+D,w):g},w.tickSizeOuter=function(D){return arguments.length?(y=+D,w):y},w.tickPadding=function(D){return arguments.length?(b=+D,w):b},w.offset=function(D){return arguments.length?(S=+D,w):S},w}function Qe(t){return de(Tt,t)}function Ke(t){return de(Ft,t)}var bt={exports:{}},Je=bt.exports,ne;function tr(){return ne||(ne=1,(function(t,e){(function(s,r){t.exports=r()})(Je,(function(){var s="day";return function(r,i,g){var y=function(L){return L.add(4-L.isoWeekday(),s)},b=i.prototype;b.isoWeekYear=function(){return y(this).year()},b.isoWeek=function(L){if(!this.$utils().u(L))return this.add(7*(L-this.isoWeek()),s);var _,W,w,D,N=y(this),V=(_=this.isoWeekYear(),W=this.$u,w=(W?g.utc:g)().year(_).startOf("year"),D=4-w.isoWeekday(),w.isoWeekday()>4&&(D+=7),w.add(D,s));return N.diff(V,"week")+1},b.isoWeekday=function(L){return this.$utils().u(L)?this.day()||7:this.day(this.day()%7?L:L-7)};var S=b.startOf;b.startOf=function(L,_){var W=this.$utils(),w=!!W.u(_)||_;return W.p(L)==="isoweek"?w?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):S.bind(this)(L,_)}}}))})(bt)),bt.exports}var er=tr();const rr=It(er);var wt={exports:{}},sr=wt.exports,ie;function nr(){return ie||(ie=1,(function(t,e){(function(s,r){t.exports=r()})(sr,(function(){var s={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,g=/\d\d/,y=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,S={},L=function(k){return(k=+k)+(k>68?1900:2e3)},_=function(k){return function(M){this[k]=+M}},W=[/[+-]\d\d:?(\d\d)?|Z/,function(k){(this.zone||(this.zone={})).offset=(function(M){if(!M||M==="Z")return 0;var P=M.match(/([+-]|\d\d)/g),O=60*P[1]+(+P[2]||0);return O===0?0:P[0]==="+"?-O:O})(k)}],w=function(k){var M=S[k];return M&&(M.indexOf?M:M.s.concat(M.f))},D=function(k,M){var P,O=S.meridiem;if(O){for(var B=1;B<=24;B+=1)if(k.indexOf(O(B,0,M))>-1){P=B>12;break}}else P=k===(M?"pm":"PM");return P},N={A:[b,function(k){this.afternoon=D(k,!1)}],a:[b,function(k){this.afternoon=D(k,!0)}],Q:[i,function(k){this.month=3*(k-1)+1}],S:[i,function(k){this.milliseconds=100*+k}],SS:[g,function(k){this.milliseconds=10*+k}],SSS:[/\d{3}/,function(k){this.milliseconds=+k}],s:[y,_("seconds")],ss:[y,_("seconds")],m:[y,_("minutes")],mm:[y,_("minutes")],H:[y,_("hours")],h:[y,_("hours")],HH:[y,_("hours")],hh:[y,_("hours")],D:[y,_("day")],DD:[g,_("day")],Do:[b,function(k){var M=S.ordinal,P=k.match(/\d+/);if(this.day=P[0],M)for(var O=1;O<=31;O+=1)M(O).replace(/\[|\]/g,"")===k&&(this.day=O)}],w:[y,_("week")],ww:[g,_("week")],M:[y,_("month")],MM:[g,_("month")],MMM:[b,function(k){var M=w("months"),P=(w("monthsShort")||M.map((function(O){return O.slice(0,3)}))).indexOf(k)+1;if(P<1)throw new Error;this.month=P%12||P}],MMMM:[b,function(k){var M=w("months").indexOf(k)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,_("year")],YY:[g,function(k){this.year=L(k)}],YYYY:[/\d{4}/,_("year")],Z:W,ZZ:W};function V(k){var M,P;M=k,P=S&&S.formats;for(var O=(k=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(f,T,v){var p=v&&v.toUpperCase();return T||P[v]||s[v]||P[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(a,d,m){return d||m.slice(1)}))}))).match(r),B=O.length,H=0;H<B;H+=1){var I=O[H],x=N[I],h=x&&x[0],E=x&&x[1];O[H]=E?{regex:h,parser:E}:I.replace(/^\[|\]$/g,"")}return function(f){for(var T={},v=0,p=0;v<B;v+=1){var a=O[v];if(typeof a=="string")p+=a.length;else{var d=a.regex,m=a.parser,u=f.slice(p),C=d.exec(u)[0];m.call(T,C),f=f.replace(C,"")}}return(function(n){var $=n.afternoon;if($!==void 0){var o=n.hours;$?o<12&&(n.hours+=12):o===12&&(n.hours=0),delete n.afternoon}})(T),T}}return function(k,M,P){P.p.customParseFormat=!0,k&&k.parseTwoDigitYear&&(L=k.parseTwoDigitYear);var O=M.prototype,B=O.parse;O.parse=function(H){var I=H.date,x=H.utc,h=H.args;this.$u=x;var E=h[1];if(typeof E=="string"){var f=h[2]===!0,T=h[3]===!0,v=f||T,p=h[2];T&&(p=h[2]),S=this.$locale(),!f&&p&&(S=P.Ls[p]),this.$d=(function(u,C,n,$){try{if(["x","X"].indexOf(C)>-1)return new Date((C==="X"?1e3:1)*u);var o=V(C)(u),G=o.year,c=o.month,Y=o.day,A=o.hours,R=o.minutes,F=o.seconds,q=o.milliseconds,z=o.zone,nt=o.week,at=new Date,yt=Y||(G||c?1:at.getDate()),lt=G||at.getFullYear(),X=0;G&&!c||(X=c>0?c-1:at.getMonth());var K,Z=A||0,ot=R||0,J=F||0,it=q||0;return z?new Date(Date.UTC(lt,X,yt,Z,ot,J,it+60*z.offset*1e3)):n?new Date(Date.UTC(lt,X,yt,Z,ot,J,it)):(K=new Date(lt,X,yt,Z,ot,J,it),nt&&(K=$(K).week(nt).toDate()),K)}catch{return new Date("")}})(I,E,x,P),this.init(),p&&p!==!0&&(this.$L=this.locale(p).$L),v&&I!=this.format(E)&&(this.$d=new Date("")),S={}}else if(E instanceof Array)for(var a=E.length,d=1;d<=a;d+=1){h[1]=E[d-1];var m=P.apply(this,h);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}d===a&&(this.$d=new Date(""))}else B.call(this,H)}}}))})(wt)),wt.exports}var ir=nr();const ar=It(ir);var _t={exports:{}},or=_t.exports,ae;function cr(){return ae||(ae=1,(function(t,e){(function(s,r){t.exports=r()})(or,(function(){return function(s,r){var i=r.prototype,g=i.format;i.format=function(y){var b=this,S=this.$locale();if(!this.isValid())return g.bind(this)(y);var L=this.$utils(),_=(y||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(W){switch(W){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return S.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return S.ordinal(b.week(),"W");case"w":case"ww":return L.s(b.week(),W==="w"?1:2,"0");case"W":case"WW":return L.s(b.isoWeek(),W==="W"?1:2,"0");case"k":case"kk":return L.s(String(b.$H===0?24:b.$H),W==="k"?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return W}}));return g.bind(this)(_)}}}))})(_t)),_t.exports}var lr=cr();const ur=It(lr);var Dt={exports:{}},dr=Dt.exports,oe;function fr(){return oe||(oe=1,(function(t,e){(function(s,r){t.exports=r()})(dr,(function(){var s,r,i=1e3,g=6e4,y=36e5,b=864e5,S=31536e6,L=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,W=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,w={years:S,months:L,days:b,hours:y,minutes:g,seconds:i,milliseconds:1,weeks:6048e5},D=function(I){return I instanceof B},N=function(I,x,h){return new B(I,h,x.$l)},V=function(I){return r.p(I)+"s"},k=function(I){return I<0},M=function(I){return k(I)?Math.ceil(I):Math.floor(I)},P=function(I){return Math.abs(I)},O=function(I,x){return I?k(I)?{negative:!0,format:""+P(I)+x}:{negative:!1,format:""+I+x}:{negative:!1,format:""}},B=(function(){function I(h,E,f){var T=this;if(this.$d={},this.$l=f,h===void 0&&(this.$ms=0,this.parseFromMilliseconds()),E)return N(h*w[V(E)],this);if(typeof h=="number")return this.$ms=h,this.parseFromMilliseconds(),this;if(typeof h=="object")return Object.keys(h).forEach((function(a){T.$d[V(a)]=h[a]})),this.calMilliseconds(),this;if(typeof h=="string"){var v=h.match(_);if(v){var p=v.slice(2).map((function(a){return a!=null?Number(a):0}));return this.$d.years=p[0],this.$d.months=p[1],this.$d.weeks=p[2],this.$d.days=p[3],this.$d.hours=p[4],this.$d.minutes=p[5],this.$d.seconds=p[6],this.calMilliseconds(),this}}return this}var x=I.prototype;return x.calMilliseconds=function(){var h=this;this.$ms=Object.keys(this.$d).reduce((function(E,f){return E+(h.$d[f]||0)*w[f]}),0)},x.parseFromMilliseconds=function(){var h=this.$ms;this.$d.years=M(h/S),h%=S,this.$d.months=M(h/L),h%=L,this.$d.days=M(h/b),h%=b,this.$d.hours=M(h/y),h%=y,this.$d.minutes=M(h/g),h%=g,this.$d.seconds=M(h/i),h%=i,this.$d.milliseconds=h},x.toISOString=function(){var h=O(this.$d.years,"Y"),E=O(this.$d.months,"M"),f=+this.$d.days||0;this.$d.weeks&&(f+=7*this.$d.weeks);var T=O(f,"D"),v=O(this.$d.hours,"H"),p=O(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var d=O(a,"S"),m=h.negative||E.negative||T.negative||v.negative||p.negative||d.negative,u=v.format||p.format||d.format?"T":"",C=(m?"-":"")+"P"+h.format+E.format+T.format+u+v.format+p.format+d.format;return C==="P"||C==="-P"?"P0D":C},x.toJSON=function(){return this.toISOString()},x.format=function(h){var E=h||"YYYY-MM-DDTHH:mm:ss",f={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return E.replace(W,(function(T,v){return v||String(f[T])}))},x.as=function(h){return this.$ms/w[V(h)]},x.get=function(h){var E=this.$ms,f=V(h);return f==="milliseconds"?E%=1e3:E=f==="weeks"?M(E/w[f]):this.$d[f],E||0},x.add=function(h,E,f){var T;return T=E?h*w[V(E)]:D(h)?h.$ms:N(h,this).$ms,N(this.$ms+T*(f?-1:1),this)},x.subtract=function(h,E){return this.add(h,E,!0)},x.locale=function(h){var E=this.clone();return E.$l=h,E},x.clone=function(){return N(this.$ms,this)},x.humanize=function(h){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!h)},x.valueOf=function(){return this.asMilliseconds()},x.milliseconds=function(){return this.get("milliseconds")},x.asMilliseconds=function(){return this.as("milliseconds")},x.seconds=function(){return this.get("seconds")},x.asSeconds=function(){return this.as("seconds")},x.minutes=function(){return this.get("minutes")},x.asMinutes=function(){return this.as("minutes")},x.hours=function(){return this.get("hours")},x.asHours=function(){return this.as("hours")},x.days=function(){return this.get("days")},x.asDays=function(){return this.as("days")},x.weeks=function(){return this.get("weeks")},x.asWeeks=function(){return this.as("weeks")},x.months=function(){return this.get("months")},x.asMonths=function(){return this.as("months")},x.years=function(){return this.get("years")},x.asYears=function(){return this.as("years")},I})(),H=function(I,x,h){return I.add(x.years()*h,"y").add(x.months()*h,"M").add(x.days()*h,"d").add(x.hours()*h,"h").add(x.minutes()*h,"m").add(x.seconds()*h,"s").add(x.milliseconds()*h,"ms")};return function(I,x,h){s=h,r=h().$utils(),h.duration=function(T,v){var p=h.locale();return N(T,{$l:p},v)},h.isDuration=D;var E=x.prototype.add,f=x.prototype.subtract;x.prototype.add=function(T,v){return D(T)?H(this,T,1):E.bind(this)(T,v)},x.prototype.subtract=function(T,v){return D(T)?H(this,T,-1):f.bind(this)(T,v)}}}))})(Dt)),Dt.exports}var hr=fr();const mr=It(hr);var Lt=(function(){var t=l(function(p,a,d,m){for(d=d||{},m=p.length;m--;d[p[m]]=a);return d},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],s=[1,26],r=[1,27],i=[1,28],g=[1,29],y=[1,30],b=[1,31],S=[1,32],L=[1,33],_=[1,34],W=[1,9],w=[1,10],D=[1,11],N=[1,12],V=[1,13],k=[1,14],M=[1,15],P=[1,16],O=[1,19],B=[1,20],H=[1,21],I=[1,22],x=[1,23],h=[1,25],E=[1,35],f={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(a,d,m,u,C,n,$){var o=n.length-1;switch(C){case 1:return n[o-1];case 2:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:this.$=n[o];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=n[o].substr(18);break;case 19:u.TopAxis(),this.$=n[o].substr(8);break;case 20:u.setAxisFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 21:u.setTickInterval(n[o].substr(13)),this.$=n[o].substr(13);break;case 22:u.setExcludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 23:u.setIncludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 24:u.setTodayMarker(n[o].substr(12)),this.$=n[o].substr(12);break;case 27:u.setDiagramTitle(n[o].substr(6)),this.$=n[o].substr(6);break;case 28:this.$=n[o].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=n[o].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(n[o].substr(8)),this.$=n[o].substr(8);break;case 33:u.addTask(n[o-1],n[o]),this.$="task";break;case 34:this.$=n[o-1],u.setClickEvent(n[o-1],n[o],null);break;case 35:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],n[o]);break;case 36:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],null),u.setLink(n[o-2],n[o]);break;case 37:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-2],n[o-1]),u.setLink(n[o-3],n[o]);break;case 38:this.$=n[o-2],u.setClickEvent(n[o-2],n[o],null),u.setLink(n[o-2],n[o-1]);break;case 39:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-1],n[o]),u.setLink(n[o-3],n[o-2]);break;case 40:this.$=n[o-1],u.setLink(n[o-1],n[o]);break;case 41:case 47:this.$=n[o-1]+" "+n[o];break;case 42:case 43:case 45:this.$=n[o-2]+" "+n[o-1]+" "+n[o];break;case 44:case 46:this.$=n[o-3]+" "+n[o-2]+" "+n[o-1]+" "+n[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:l(function(a,d){if(d.recoverable)this.trace(a);else{var m=new Error(a);throw m.hash=d,m}},"parseError"),parse:l(function(a){var d=this,m=[0],u=[],C=[null],n=[],$=this.table,o="",G=0,c=0,Y=2,A=1,R=n.slice.call(arguments,1),F=Object.create(this.lexer),q={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(q.yy[z]=this.yy[z]);F.setInput(a,q.yy),q.yy.lexer=F,q.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var nt=F.yylloc;n.push(nt);var at=F.options&&F.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(Q){m.length=m.length-2*Q,C.length=C.length-Q,n.length=n.length-Q}l(yt,"popStack");function lt(){var Q;return Q=u.pop()||F.lex()||A,typeof Q!="number"&&(Q instanceof Array&&(u=Q,Q=u.pop()),Q=d.symbols_[Q]||Q),Q}l(lt,"lex");for(var X,K,Z,ot,J={},it,tt,Ut,pt;;){if(K=m[m.length-1],this.defaultActions[K]?Z=this.defaultActions[K]:((X===null||typeof X>"u")&&(X=lt()),Z=$[K]&&$[K][X]),typeof Z>"u"||!Z.length||!Z[0]){var $t="";pt=[];for(it in $[K])this.terminals_[it]&&it>Y&&pt.push("'"+this.terminals_[it]+"'");F.showPosition?$t="Parse error on line "+(G+1)+`:
|
|
1
|
+
import{U as be,aZ as we,Y as _e,b0 as De,V as Se,a_ as Ce,b as l,X as dt,aW as vt,B as Me,L as U,ay as st,z as Ee,P as Ie,r as $e,bh as Ye}from"./BZnji9hP.js";import{g as It}from"./BdWqymET.js";import{t as Ae,d as Fe,m as Le,l as Oe,h as We,g as Zt,p as Qt,u as Pe,q as Ve,i as ze,v as Re,x as Ne,w as He,n as Be,e as Kt,j as Jt,k as te,s as ee,a as re}from"./wRT2cc73.js";function qe(t){return t}var Tt=1,Yt=2,Ft=3,xt=4,se=1e-6;function Ge(t){return"translate("+t+",0)"}function Xe(t){return"translate(0,"+t+")"}function je(t){return e=>+t(e)}function Ue(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),s=>+t(s)+e}function Ze(){return!this.__axis}function de(t,e){var s=[],r=null,i=null,g=6,y=6,b=3,S=typeof window<"u"&&window.devicePixelRatio>1?0:.5,L=t===Tt||t===xt?-1:1,_=t===xt||t===Yt?"x":"y",W=t===Tt||t===Ft?Ge:Xe;function w(D){var N=r??(e.ticks?e.ticks.apply(e,s):e.domain()),V=i??(e.tickFormat?e.tickFormat.apply(e,s):qe),k=Math.max(g,0)+b,M=e.range(),P=+M[0]+S,O=+M[M.length-1]+S,B=(e.bandwidth?Ue:je)(e.copy(),S),H=D.selection?D.selection():D,I=H.selectAll(".domain").data([null]),x=H.selectAll(".tick").data(N,e).order(),h=x.exit(),E=x.enter().append("g").attr("class","tick"),f=x.select("line"),T=x.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(E),f=f.merge(E.append("line").attr("stroke","currentColor").attr(_+"2",L*g)),T=T.merge(E.append("text").attr("fill","currentColor").attr(_,L*k).attr("dy",t===Tt?"0em":t===Ft?"0.71em":"0.32em")),D!==H&&(I=I.transition(D),x=x.transition(D),f=f.transition(D),T=T.transition(D),h=h.transition(D).attr("opacity",se).attr("transform",function(v){return isFinite(v=B(v))?W(v+S):this.getAttribute("transform")}),E.attr("opacity",se).attr("transform",function(v){var p=this.parentNode.__axis;return W((p&&isFinite(p=p(v))?p:B(v))+S)})),h.remove(),I.attr("d",t===xt||t===Yt?y?"M"+L*y+","+P+"H"+S+"V"+O+"H"+L*y:"M"+S+","+P+"V"+O:y?"M"+P+","+L*y+"V"+S+"H"+O+"V"+L*y:"M"+P+","+S+"H"+O),x.attr("opacity",1).attr("transform",function(v){return W(B(v)+S)}),f.attr(_+"2",L*g),T.attr(_,L*k).text(V),H.filter(Ze).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Yt?"start":t===xt?"end":"middle"),H.each(function(){this.__axis=B})}return w.scale=function(D){return arguments.length?(e=D,w):e},w.ticks=function(){return s=Array.from(arguments),w},w.tickArguments=function(D){return arguments.length?(s=D==null?[]:Array.from(D),w):s.slice()},w.tickValues=function(D){return arguments.length?(r=D==null?null:Array.from(D),w):r&&r.slice()},w.tickFormat=function(D){return arguments.length?(i=D,w):i},w.tickSize=function(D){return arguments.length?(g=y=+D,w):g},w.tickSizeInner=function(D){return arguments.length?(g=+D,w):g},w.tickSizeOuter=function(D){return arguments.length?(y=+D,w):y},w.tickPadding=function(D){return arguments.length?(b=+D,w):b},w.offset=function(D){return arguments.length?(S=+D,w):S},w}function Qe(t){return de(Tt,t)}function Ke(t){return de(Ft,t)}var bt={exports:{}},Je=bt.exports,ne;function tr(){return ne||(ne=1,(function(t,e){(function(s,r){t.exports=r()})(Je,(function(){var s="day";return function(r,i,g){var y=function(L){return L.add(4-L.isoWeekday(),s)},b=i.prototype;b.isoWeekYear=function(){return y(this).year()},b.isoWeek=function(L){if(!this.$utils().u(L))return this.add(7*(L-this.isoWeek()),s);var _,W,w,D,N=y(this),V=(_=this.isoWeekYear(),W=this.$u,w=(W?g.utc:g)().year(_).startOf("year"),D=4-w.isoWeekday(),w.isoWeekday()>4&&(D+=7),w.add(D,s));return N.diff(V,"week")+1},b.isoWeekday=function(L){return this.$utils().u(L)?this.day()||7:this.day(this.day()%7?L:L-7)};var S=b.startOf;b.startOf=function(L,_){var W=this.$utils(),w=!!W.u(_)||_;return W.p(L)==="isoweek"?w?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):S.bind(this)(L,_)}}}))})(bt)),bt.exports}var er=tr();const rr=It(er);var wt={exports:{}},sr=wt.exports,ie;function nr(){return ie||(ie=1,(function(t,e){(function(s,r){t.exports=r()})(sr,(function(){var s={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,g=/\d\d/,y=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,S={},L=function(k){return(k=+k)+(k>68?1900:2e3)},_=function(k){return function(M){this[k]=+M}},W=[/[+-]\d\d:?(\d\d)?|Z/,function(k){(this.zone||(this.zone={})).offset=(function(M){if(!M||M==="Z")return 0;var P=M.match(/([+-]|\d\d)/g),O=60*P[1]+(+P[2]||0);return O===0?0:P[0]==="+"?-O:O})(k)}],w=function(k){var M=S[k];return M&&(M.indexOf?M:M.s.concat(M.f))},D=function(k,M){var P,O=S.meridiem;if(O){for(var B=1;B<=24;B+=1)if(k.indexOf(O(B,0,M))>-1){P=B>12;break}}else P=k===(M?"pm":"PM");return P},N={A:[b,function(k){this.afternoon=D(k,!1)}],a:[b,function(k){this.afternoon=D(k,!0)}],Q:[i,function(k){this.month=3*(k-1)+1}],S:[i,function(k){this.milliseconds=100*+k}],SS:[g,function(k){this.milliseconds=10*+k}],SSS:[/\d{3}/,function(k){this.milliseconds=+k}],s:[y,_("seconds")],ss:[y,_("seconds")],m:[y,_("minutes")],mm:[y,_("minutes")],H:[y,_("hours")],h:[y,_("hours")],HH:[y,_("hours")],hh:[y,_("hours")],D:[y,_("day")],DD:[g,_("day")],Do:[b,function(k){var M=S.ordinal,P=k.match(/\d+/);if(this.day=P[0],M)for(var O=1;O<=31;O+=1)M(O).replace(/\[|\]/g,"")===k&&(this.day=O)}],w:[y,_("week")],ww:[g,_("week")],M:[y,_("month")],MM:[g,_("month")],MMM:[b,function(k){var M=w("months"),P=(w("monthsShort")||M.map((function(O){return O.slice(0,3)}))).indexOf(k)+1;if(P<1)throw new Error;this.month=P%12||P}],MMMM:[b,function(k){var M=w("months").indexOf(k)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,_("year")],YY:[g,function(k){this.year=L(k)}],YYYY:[/\d{4}/,_("year")],Z:W,ZZ:W};function V(k){var M,P;M=k,P=S&&S.formats;for(var O=(k=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(f,T,v){var p=v&&v.toUpperCase();return T||P[v]||s[v]||P[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(a,d,m){return d||m.slice(1)}))}))).match(r),B=O.length,H=0;H<B;H+=1){var I=O[H],x=N[I],h=x&&x[0],E=x&&x[1];O[H]=E?{regex:h,parser:E}:I.replace(/^\[|\]$/g,"")}return function(f){for(var T={},v=0,p=0;v<B;v+=1){var a=O[v];if(typeof a=="string")p+=a.length;else{var d=a.regex,m=a.parser,u=f.slice(p),C=d.exec(u)[0];m.call(T,C),f=f.replace(C,"")}}return(function(n){var $=n.afternoon;if($!==void 0){var o=n.hours;$?o<12&&(n.hours+=12):o===12&&(n.hours=0),delete n.afternoon}})(T),T}}return function(k,M,P){P.p.customParseFormat=!0,k&&k.parseTwoDigitYear&&(L=k.parseTwoDigitYear);var O=M.prototype,B=O.parse;O.parse=function(H){var I=H.date,x=H.utc,h=H.args;this.$u=x;var E=h[1];if(typeof E=="string"){var f=h[2]===!0,T=h[3]===!0,v=f||T,p=h[2];T&&(p=h[2]),S=this.$locale(),!f&&p&&(S=P.Ls[p]),this.$d=(function(u,C,n,$){try{if(["x","X"].indexOf(C)>-1)return new Date((C==="X"?1e3:1)*u);var o=V(C)(u),G=o.year,c=o.month,Y=o.day,A=o.hours,R=o.minutes,F=o.seconds,q=o.milliseconds,z=o.zone,nt=o.week,at=new Date,yt=Y||(G||c?1:at.getDate()),lt=G||at.getFullYear(),X=0;G&&!c||(X=c>0?c-1:at.getMonth());var K,Z=A||0,ot=R||0,J=F||0,it=q||0;return z?new Date(Date.UTC(lt,X,yt,Z,ot,J,it+60*z.offset*1e3)):n?new Date(Date.UTC(lt,X,yt,Z,ot,J,it)):(K=new Date(lt,X,yt,Z,ot,J,it),nt&&(K=$(K).week(nt).toDate()),K)}catch{return new Date("")}})(I,E,x,P),this.init(),p&&p!==!0&&(this.$L=this.locale(p).$L),v&&I!=this.format(E)&&(this.$d=new Date("")),S={}}else if(E instanceof Array)for(var a=E.length,d=1;d<=a;d+=1){h[1]=E[d-1];var m=P.apply(this,h);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}d===a&&(this.$d=new Date(""))}else B.call(this,H)}}}))})(wt)),wt.exports}var ir=nr();const ar=It(ir);var _t={exports:{}},or=_t.exports,ae;function cr(){return ae||(ae=1,(function(t,e){(function(s,r){t.exports=r()})(or,(function(){return function(s,r){var i=r.prototype,g=i.format;i.format=function(y){var b=this,S=this.$locale();if(!this.isValid())return g.bind(this)(y);var L=this.$utils(),_=(y||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(W){switch(W){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return S.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return S.ordinal(b.week(),"W");case"w":case"ww":return L.s(b.week(),W==="w"?1:2,"0");case"W":case"WW":return L.s(b.isoWeek(),W==="W"?1:2,"0");case"k":case"kk":return L.s(String(b.$H===0?24:b.$H),W==="k"?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return W}}));return g.bind(this)(_)}}}))})(_t)),_t.exports}var lr=cr();const ur=It(lr);var Dt={exports:{}},dr=Dt.exports,oe;function fr(){return oe||(oe=1,(function(t,e){(function(s,r){t.exports=r()})(dr,(function(){var s,r,i=1e3,g=6e4,y=36e5,b=864e5,S=31536e6,L=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,W=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,w={years:S,months:L,days:b,hours:y,minutes:g,seconds:i,milliseconds:1,weeks:6048e5},D=function(I){return I instanceof B},N=function(I,x,h){return new B(I,h,x.$l)},V=function(I){return r.p(I)+"s"},k=function(I){return I<0},M=function(I){return k(I)?Math.ceil(I):Math.floor(I)},P=function(I){return Math.abs(I)},O=function(I,x){return I?k(I)?{negative:!0,format:""+P(I)+x}:{negative:!1,format:""+I+x}:{negative:!1,format:""}},B=(function(){function I(h,E,f){var T=this;if(this.$d={},this.$l=f,h===void 0&&(this.$ms=0,this.parseFromMilliseconds()),E)return N(h*w[V(E)],this);if(typeof h=="number")return this.$ms=h,this.parseFromMilliseconds(),this;if(typeof h=="object")return Object.keys(h).forEach((function(a){T.$d[V(a)]=h[a]})),this.calMilliseconds(),this;if(typeof h=="string"){var v=h.match(_);if(v){var p=v.slice(2).map((function(a){return a!=null?Number(a):0}));return this.$d.years=p[0],this.$d.months=p[1],this.$d.weeks=p[2],this.$d.days=p[3],this.$d.hours=p[4],this.$d.minutes=p[5],this.$d.seconds=p[6],this.calMilliseconds(),this}}return this}var x=I.prototype;return x.calMilliseconds=function(){var h=this;this.$ms=Object.keys(this.$d).reduce((function(E,f){return E+(h.$d[f]||0)*w[f]}),0)},x.parseFromMilliseconds=function(){var h=this.$ms;this.$d.years=M(h/S),h%=S,this.$d.months=M(h/L),h%=L,this.$d.days=M(h/b),h%=b,this.$d.hours=M(h/y),h%=y,this.$d.minutes=M(h/g),h%=g,this.$d.seconds=M(h/i),h%=i,this.$d.milliseconds=h},x.toISOString=function(){var h=O(this.$d.years,"Y"),E=O(this.$d.months,"M"),f=+this.$d.days||0;this.$d.weeks&&(f+=7*this.$d.weeks);var T=O(f,"D"),v=O(this.$d.hours,"H"),p=O(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var d=O(a,"S"),m=h.negative||E.negative||T.negative||v.negative||p.negative||d.negative,u=v.format||p.format||d.format?"T":"",C=(m?"-":"")+"P"+h.format+E.format+T.format+u+v.format+p.format+d.format;return C==="P"||C==="-P"?"P0D":C},x.toJSON=function(){return this.toISOString()},x.format=function(h){var E=h||"YYYY-MM-DDTHH:mm:ss",f={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return E.replace(W,(function(T,v){return v||String(f[T])}))},x.as=function(h){return this.$ms/w[V(h)]},x.get=function(h){var E=this.$ms,f=V(h);return f==="milliseconds"?E%=1e3:E=f==="weeks"?M(E/w[f]):this.$d[f],E||0},x.add=function(h,E,f){var T;return T=E?h*w[V(E)]:D(h)?h.$ms:N(h,this).$ms,N(this.$ms+T*(f?-1:1),this)},x.subtract=function(h,E){return this.add(h,E,!0)},x.locale=function(h){var E=this.clone();return E.$l=h,E},x.clone=function(){return N(this.$ms,this)},x.humanize=function(h){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!h)},x.valueOf=function(){return this.asMilliseconds()},x.milliseconds=function(){return this.get("milliseconds")},x.asMilliseconds=function(){return this.as("milliseconds")},x.seconds=function(){return this.get("seconds")},x.asSeconds=function(){return this.as("seconds")},x.minutes=function(){return this.get("minutes")},x.asMinutes=function(){return this.as("minutes")},x.hours=function(){return this.get("hours")},x.asHours=function(){return this.as("hours")},x.days=function(){return this.get("days")},x.asDays=function(){return this.as("days")},x.weeks=function(){return this.get("weeks")},x.asWeeks=function(){return this.as("weeks")},x.months=function(){return this.get("months")},x.asMonths=function(){return this.as("months")},x.years=function(){return this.get("years")},x.asYears=function(){return this.as("years")},I})(),H=function(I,x,h){return I.add(x.years()*h,"y").add(x.months()*h,"M").add(x.days()*h,"d").add(x.hours()*h,"h").add(x.minutes()*h,"m").add(x.seconds()*h,"s").add(x.milliseconds()*h,"ms")};return function(I,x,h){s=h,r=h().$utils(),h.duration=function(T,v){var p=h.locale();return N(T,{$l:p},v)},h.isDuration=D;var E=x.prototype.add,f=x.prototype.subtract;x.prototype.add=function(T,v){return D(T)?H(this,T,1):E.bind(this)(T,v)},x.prototype.subtract=function(T,v){return D(T)?H(this,T,-1):f.bind(this)(T,v)}}}))})(Dt)),Dt.exports}var hr=fr();const mr=It(hr);var Lt=(function(){var t=l(function(p,a,d,m){for(d=d||{},m=p.length;m--;d[p[m]]=a);return d},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],s=[1,26],r=[1,27],i=[1,28],g=[1,29],y=[1,30],b=[1,31],S=[1,32],L=[1,33],_=[1,34],W=[1,9],w=[1,10],D=[1,11],N=[1,12],V=[1,13],k=[1,14],M=[1,15],P=[1,16],O=[1,19],B=[1,20],H=[1,21],I=[1,22],x=[1,23],h=[1,25],E=[1,35],f={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(a,d,m,u,C,n,$){var o=n.length-1;switch(C){case 1:return n[o-1];case 2:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:this.$=n[o];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=n[o].substr(18);break;case 19:u.TopAxis(),this.$=n[o].substr(8);break;case 20:u.setAxisFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 21:u.setTickInterval(n[o].substr(13)),this.$=n[o].substr(13);break;case 22:u.setExcludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 23:u.setIncludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 24:u.setTodayMarker(n[o].substr(12)),this.$=n[o].substr(12);break;case 27:u.setDiagramTitle(n[o].substr(6)),this.$=n[o].substr(6);break;case 28:this.$=n[o].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=n[o].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(n[o].substr(8)),this.$=n[o].substr(8);break;case 33:u.addTask(n[o-1],n[o]),this.$="task";break;case 34:this.$=n[o-1],u.setClickEvent(n[o-1],n[o],null);break;case 35:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],n[o]);break;case 36:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],null),u.setLink(n[o-2],n[o]);break;case 37:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-2],n[o-1]),u.setLink(n[o-3],n[o]);break;case 38:this.$=n[o-2],u.setClickEvent(n[o-2],n[o],null),u.setLink(n[o-2],n[o-1]);break;case 39:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-1],n[o]),u.setLink(n[o-3],n[o-2]);break;case 40:this.$=n[o-1],u.setLink(n[o-1],n[o]);break;case 41:case 47:this.$=n[o-1]+" "+n[o];break;case 42:case 43:case 45:this.$=n[o-2]+" "+n[o-1]+" "+n[o];break;case 44:case 46:this.$=n[o-3]+" "+n[o-2]+" "+n[o-1]+" "+n[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:l(function(a,d){if(d.recoverable)this.trace(a);else{var m=new Error(a);throw m.hash=d,m}},"parseError"),parse:l(function(a){var d=this,m=[0],u=[],C=[null],n=[],$=this.table,o="",G=0,c=0,Y=2,A=1,R=n.slice.call(arguments,1),F=Object.create(this.lexer),q={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(q.yy[z]=this.yy[z]);F.setInput(a,q.yy),q.yy.lexer=F,q.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var nt=F.yylloc;n.push(nt);var at=F.options&&F.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(Q){m.length=m.length-2*Q,C.length=C.length-Q,n.length=n.length-Q}l(yt,"popStack");function lt(){var Q;return Q=u.pop()||F.lex()||A,typeof Q!="number"&&(Q instanceof Array&&(u=Q,Q=u.pop()),Q=d.symbols_[Q]||Q),Q}l(lt,"lex");for(var X,K,Z,ot,J={},it,tt,Ut,pt;;){if(K=m[m.length-1],this.defaultActions[K]?Z=this.defaultActions[K]:((X===null||typeof X>"u")&&(X=lt()),Z=$[K]&&$[K][X]),typeof Z>"u"||!Z.length||!Z[0]){var $t="";pt=[];for(it in $[K])this.terminals_[it]&&it>Y&&pt.push("'"+this.terminals_[it]+"'");F.showPosition?$t="Parse error on line "+(G+1)+`:
|
|
2
2
|
`+F.showPosition()+`
|
|
3
3
|
Expecting `+pt.join(", ")+", got '"+(this.terminals_[X]||X)+"'":$t="Parse error on line "+(G+1)+": Unexpected "+(X==A?"end of input":"'"+(this.terminals_[X]||X)+"'"),this.parseError($t,{text:F.match,token:this.terminals_[X]||X,line:F.yylineno,loc:nt,expected:pt})}if(Z[0]instanceof Array&&Z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+X);switch(Z[0]){case 1:m.push(X),C.push(F.yytext),n.push(F.yylloc),m.push(Z[1]),X=null,c=F.yyleng,o=F.yytext,G=F.yylineno,nt=F.yylloc;break;case 2:if(tt=this.productions_[Z[1]][1],J.$=C[C.length-tt],J._$={first_line:n[n.length-(tt||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(tt||1)].first_column,last_column:n[n.length-1].last_column},at&&(J._$.range=[n[n.length-(tt||1)].range[0],n[n.length-1].range[1]]),ot=this.performAction.apply(J,[o,c,G,q.yy,Z[1],C,n].concat(R)),typeof ot<"u")return ot;tt&&(m=m.slice(0,-1*tt*2),C=C.slice(0,-1*tt),n=n.slice(0,-1*tt)),m.push(this.productions_[Z[1]][0]),C.push(J.$),n.push(J._$),Ut=$[m[m.length-2]][m[m.length-1]],m.push(Ut);break;case 3:return!0}}return!0},"parse")},T=(function(){var p={EOF:1,parseError:l(function(d,m){if(this.yy.parser)this.yy.parser.parseError(d,m);else throw new Error(d)},"parseError"),setInput:l(function(a,d){return this.yy=d||this.yy||{},this._input=a,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:l(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var d=a.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:l(function(a){var d=a.length,m=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=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),m.length-1&&(this.yylineno-=m.length-1);var C=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:m?(m.length===u.length?this.yylloc.first_column:0)+u[u.length-m.length].length-m[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(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:l(function(a){this.unput(this.match.slice(a))},"less"),pastInput:l(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var a=this.pastInput(),d=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bv as t,ak as c}from"./3SdAC2_C.js";import{O as o}from"./Bqd7fdCF.js";import{JH as r}from"./
|
|
1
|
+
import{bv as t,ak as c}from"./3SdAC2_C.js";import{O as o}from"./Bqd7fdCF.js";import{JH as r}from"./D0qhIm1r.js";function u(){try{return r.state.userPreferences?.shortcutOverrides??{}}catch{return{}}}function a(e){return o(e,u())}function h(e){if(typeof r.getReadableState!="function")return t(a(e));try{return c(r.getReadableState(),s=>o(e,s.userPreferences?.shortcutOverrides??{}))}catch{return t(a(e))}}export{h as e,a as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./
|
|
1
|
+
import{l as e}from"./BFO-Le8U.js";const t={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:e.IndentAction.Indent}}]},o={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}};export{t as conf,o as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{JH as o,bc as d}from"./
|
|
1
|
+
import{JH as o,bc as d}from"./D0qhIm1r.js";const f=o.createSelector((t,r)=>t.uiHighlight.activeById[r.trim()]??0),H=o.createSelector((t,r)=>t.uiHighlight.durationMsById[r.trim()]),n="ui-highlight-pulse-ring";function u(t){return(t??"").trim()}function T(t,r={}){let s=u(r.id??t.dataset.highlightId),a=0,l;function c(){t.classList.remove(n)}function g(e){t.classList.remove(n),t.offsetWidth,t.classList.add(n),l&&clearTimeout(l),l=setTimeout(c,e??d)}function h(){if(!s)return;let e;try{e=o.state}catch{return}const i=f.select(e,s);i>0&&i!==a&&(a=i,g(H.select(e,s)))}const I=setInterval(h,100);return h(),{update(e={}){const i=u(e.id??t.dataset.highlightId);i!==s&&(s=i,a=0,c(),h())},destroy(){clearInterval(I),l&&clearTimeout(l),c()}}}export{T as h};
|