@intent-hq/web 2.370.0 → 2.370.1
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/{CyWgrZMk.js → 1BRHaRmm.js} +5 -5
- package/web/app/immutable/chunks/{CbRNm5he.js → 2CvTs4Gl.js} +1 -1
- package/web/app/immutable/chunks/{CCrwZkau.js → 2IbSEmAW.js} +1 -1
- package/web/app/immutable/chunks/{BwtGEQS3.js → 2kcdsiKR.js} +1 -1
- package/web/app/immutable/chunks/{DrOwYgbZ.js → 3bNhkT-J.js} +1 -1
- package/web/app/immutable/chunks/{BEV9WkWU.js → 5kePy1TE.js} +1 -1
- package/web/app/immutable/chunks/{1pIqWRUk.js → 711s5WU0.js} +1 -1
- package/web/app/immutable/chunks/{CRY4aELR.js → 7aKXh--T.js} +4 -4
- package/web/app/immutable/chunks/{BSsEOl8-.js → 7i9XTDuo.js} +1 -1
- package/web/app/immutable/chunks/{DcUCHDGY.js → AsFm-iq9.js} +1 -1
- package/web/app/immutable/chunks/{ZIOU9Sxd.js → B1tKRs9e.js} +1 -1
- package/web/app/immutable/chunks/{C_E26DWe.js → B2_coen2.js} +1 -1
- package/web/app/immutable/chunks/{BulBKnVz.js → B3hSlB6y.js} +1 -1
- package/web/app/immutable/chunks/{CaHds95Q.js → B3s08q4i.js} +1 -1
- package/web/app/immutable/chunks/{vLtMR-kj.js → B4rTQlY3.js} +1 -1
- package/web/app/immutable/chunks/{B8_Ff8zl.js → B5LyNSS1.js} +7 -7
- package/web/app/immutable/chunks/{B3Gso1ut.js → B7CIdOn0.js} +1 -1
- package/web/app/immutable/chunks/{CwWm64yZ.js → BBvc0xcX.js} +1 -1
- package/web/app/immutable/chunks/{Cq4X6ptS.js → BE3ifD-D.js} +1 -1
- package/web/app/immutable/chunks/{BSfkjlLx.js → BHCTYYXY.js} +1 -1
- package/web/app/immutable/chunks/{CQ_NwL45.js → BHe6JG_C.js} +2 -2
- package/web/app/immutable/chunks/{DSacn4II.js → BIDxyGuw.js} +1 -1
- package/web/app/immutable/chunks/{DJFAYXyc.js → BIH1E0JD.js} +1 -1
- package/web/app/immutable/chunks/{CYKOPxuJ.js → BIY9btQv.js} +1 -1
- package/web/app/immutable/chunks/{gySpGbnA.js → BJDeJSt-.js} +1 -1
- package/web/app/immutable/chunks/{jG-4Z8qH.js → BKq-hmnE.js} +1 -1
- package/web/app/immutable/chunks/{CCsCF1Mh.js → BKzqt9uo.js} +1 -1
- package/web/app/immutable/chunks/{5lieSvED.js → BL5h9RCy.js} +1 -1
- package/web/app/immutable/chunks/{D6dNunKo.js → BLb6jd9K.js} +1 -1
- package/web/app/immutable/chunks/{BVLa_5Le.js → BNv5miK-.js} +1 -1
- package/web/app/immutable/chunks/{gHT8Z5q-.js → BOHkf2gI.js} +1 -1
- package/web/app/immutable/chunks/{bb5Wjkri.js → BOROIf_S.js} +1 -1
- package/web/app/immutable/chunks/{C2Vj5Vs6.js → BR75pcGU.js} +1 -1
- package/web/app/immutable/chunks/{THdp5Vpk.js → BROVvkEL.js} +1 -1
- package/web/app/immutable/chunks/{BDA31WCY.js → BR_GHabc.js} +1 -1
- package/web/app/immutable/chunks/{DeE0yn_3.js → BSwUOmEO.js} +1 -1
- package/web/app/immutable/chunks/{uCQEgTob.js → BTBYrxZV.js} +1 -1
- package/web/app/immutable/chunks/{Bi0vr71w.js → BU9a7SkD.js} +1 -1
- package/web/app/immutable/chunks/{CQHtdg39.js → BVDDJIsV.js} +1 -1
- package/web/app/immutable/chunks/{CSBGusi9.js → BWn2FCdq.js} +1 -1
- package/web/app/immutable/chunks/{CmW3Zqh6.js → BZWU4mlm.js} +2 -2
- package/web/app/immutable/chunks/Ba5gf06c.js +1 -0
- package/web/app/immutable/chunks/{DZIz7Wk9.js → BaGw_bDr.js} +1 -1
- package/web/app/immutable/chunks/{1GrJvO3a.js → Baepgj8b.js} +1 -1
- package/web/app/immutable/chunks/{CqVZxU_G.js → BalxhI2Q.js} +1 -1
- package/web/app/immutable/chunks/{wgljT0D3.js → Bb3w2fM6.js} +1 -1
- package/web/app/immutable/chunks/{DgMr61cU.js → BeVAskuR.js} +1 -1
- package/web/app/immutable/chunks/{BSD34ZVo.js → Beg3arHH.js} +1 -1
- package/web/app/immutable/chunks/{DtfuSWPd.js → BgnxwWhQ.js} +1 -1
- package/web/app/immutable/chunks/{DIukqb9l.js → BhA_kLCx.js} +1 -1
- package/web/app/immutable/chunks/{DB9n2KBT.js → Bj-9TYLg.js} +1 -1
- package/web/app/immutable/chunks/{BzFy3u2D.js → BlQvrYPa.js} +1 -1
- package/web/app/immutable/chunks/{FtGWFokI.js → BldeOF88.js} +1 -1
- package/web/app/immutable/chunks/{CdOh_Fmv.js → BnA9v3pc.js} +1 -1
- package/web/app/immutable/chunks/{Bg7YNbVH.js → Bo89tkt2.js} +1 -1
- package/web/app/immutable/chunks/{CnztNSaN.js → BoQ8Q7zJ.js} +1 -1
- package/web/app/immutable/chunks/{CiZzqOpk.js → BpyEBWKW.js} +1 -1
- package/web/app/immutable/chunks/{CgS_FiQI.js → BqOLTDDX.js} +1 -1
- package/web/app/immutable/chunks/{Caqml6gj.js → BtrJwCgg.js} +1 -1
- package/web/app/immutable/chunks/{Chnr0_jK.js → Bvf6gH6c.js} +1 -1
- package/web/app/immutable/chunks/{Dekzflbl.js → BxQi83db.js} +1 -1
- package/web/app/immutable/chunks/{CKnpbRTh.js → C-5vE6yh.js} +9 -9
- package/web/app/immutable/chunks/{DUGztmZo.js → C0jW3ncX.js} +1 -1
- package/web/app/immutable/chunks/{Bc7pHsTy.js → C1YR8Gnj.js} +1 -1
- package/web/app/immutable/chunks/{Blu9C_Vv.js → C289w7fG.js} +1 -1
- package/web/app/immutable/chunks/{TE7UDCh6.js → C29Jqwzt.js} +1 -1
- package/web/app/immutable/chunks/{C0wua3Vt.js → C2UYU20O.js} +1 -1
- package/web/app/immutable/chunks/{CgwFGLCK.js → C2wWLl1x.js} +1 -1
- package/web/app/immutable/chunks/{CH7fgKro.js → C6P_twJN.js} +1 -1
- package/web/app/immutable/chunks/{UQXXh4U7.js → C6ROKFdp.js} +1 -1
- package/web/app/immutable/chunks/{YcqSYZ1W.js → C96BAoIR.js} +1 -1
- package/web/app/immutable/chunks/{BnNJN3Ls.js → C9AWL-_E.js} +1 -1
- package/web/app/immutable/chunks/{CzW29tkb.js → CAV1CzzW.js} +1 -1
- package/web/app/immutable/chunks/{CblB0zCN.js → CC-xReBN.js} +1 -1
- package/web/app/immutable/chunks/{DRy2oEmj.js → CC4-q0Fm.js} +1 -1
- package/web/app/immutable/chunks/{CfUtc4-L.js → CDsbSWM0.js} +1 -1
- package/web/app/immutable/chunks/{DZRLhNnQ.js → CENbvXsw.js} +1 -1
- package/web/app/immutable/chunks/{BX9hgO_H.js → CFcZXBVA.js} +6 -6
- package/web/app/immutable/chunks/{eCVtubQ8.js → CFq9q-gu.js} +1 -1
- package/web/app/immutable/chunks/{d1EmVp98.js → CGLbiObk.js} +1 -1
- package/web/app/immutable/chunks/{CbRsc9i4.js → CI4_aI7e.js} +5 -5
- package/web/app/immutable/chunks/{BvZfa6RH.js → CIvyT4T_.js} +1 -1
- package/web/app/immutable/chunks/{C_-WdiR8.js → CKf0K7iH.js} +1 -1
- package/web/app/immutable/chunks/{CBRZjI7P.js → CKfVT02n.js} +2 -2
- package/web/app/immutable/chunks/{BG2RPA7A.js → CNkmihEX.js} +2 -2
- package/web/app/immutable/chunks/{f686-QUd.js → CO9mOa2z.js} +1 -1
- package/web/app/immutable/chunks/CQIdhUGs.js +1 -0
- package/web/app/immutable/chunks/{B-_ROixI.js → CQWMr-uu.js} +2 -2
- package/web/app/immutable/chunks/{MifrdpDQ.js → CT012uiB.js} +1 -1
- package/web/app/immutable/chunks/{B2AfKG58.js → CTKKTfh5.js} +2 -2
- package/web/app/immutable/chunks/{WlqVlpOk.js → CVXKL6ab.js} +1 -1
- package/web/app/immutable/chunks/{Dv0Jc2Nv.js → CVpnQG0j.js} +1 -1
- package/web/app/immutable/chunks/{BinPWBvt.js → C_V6o9Il.js} +1 -1
- package/web/app/immutable/chunks/{DELYEsRi.js → Ca6eVlSm.js} +2 -2
- package/web/app/immutable/chunks/{BhZDGIfe.js → CdYt8dgZ.js} +1 -1
- package/web/app/immutable/chunks/{CmVXj6KK.js → Ce83awb2.js} +2 -2
- package/web/app/immutable/chunks/{ir8Qz45r.js → CkoG9STP.js} +1 -1
- package/web/app/immutable/chunks/{BDcauMkX.js → CllirvEK.js} +1 -1
- package/web/app/immutable/chunks/{BmjF1SON.js → Cmj0JylI.js} +2 -2
- package/web/app/immutable/chunks/{Bvo32SXP.js → CnS7dtdu.js} +1 -1
- package/web/app/immutable/chunks/{9sCF_0su.js → Cnfa9ycD.js} +1 -1
- package/web/app/immutable/chunks/{Db8-C0Zq.js → CoDlIYWp.js} +1 -1
- package/web/app/immutable/chunks/{DwXKCf3Q.js → CplGG62F.js} +1 -1
- package/web/app/immutable/chunks/{1DKpnRTj.js → Cum1dYpM.js} +1 -1
- package/web/app/immutable/chunks/{BHaE4286.js → CvqKGiPA.js} +1 -1
- package/web/app/immutable/chunks/{BCQ1W7zT.js → CxJ0MhK_.js} +3 -3
- package/web/app/immutable/chunks/{BAymCgEX.js → Cz-HgbT1.js} +1 -1
- package/web/app/immutable/chunks/{Cv2YUgTX.js → CzMPk75T.js} +1 -1
- package/web/app/immutable/chunks/{B0SoVMRS.js → Czc9XxQH.js} +1 -1
- package/web/app/immutable/chunks/{BnhOIUmr.js → Czz4CkiM.js} +1 -1
- package/web/app/immutable/chunks/{D9MwZkzV.js → D1_IbOsX.js} +1 -1
- package/web/app/immutable/chunks/{YV53nLSc.js → D2CiBsJQ.js} +1 -1
- package/web/app/immutable/chunks/{DxyI4IUi.js → D2jpdqLS.js} +1 -1
- package/web/app/immutable/chunks/{CQAAihrI.js → D3VYu5tL.js} +1 -1
- package/web/app/immutable/chunks/{CR2m4w2U.js → D4hsFsw4.js} +1 -1
- package/web/app/immutable/chunks/{BqxcrzZH.js → D5CXAAzn.js} +1 -1
- package/web/app/immutable/chunks/{DCW2c0FY.js → D5xUDbUx.js} +1 -1
- package/web/app/immutable/chunks/{BUA7BUyu.js → D6vwIrtC.js} +1 -1
- package/web/app/immutable/chunks/{CUdMuhJF.js → D8Nxo4aC.js} +1 -1
- package/web/app/immutable/chunks/{CRNfAyhd.js → DAfOI1BG.js} +1 -1
- package/web/app/immutable/chunks/{CCSbqNiH.js → DExi1WR7.js} +1 -1
- package/web/app/immutable/chunks/{NqK_XT0y.js → DFrynV0u.js} +1 -1
- package/web/app/immutable/chunks/{EzpfJOSe.js → DG-AKB01.js} +1 -1
- package/web/app/immutable/chunks/{Dawt227W.js → DGQoqGp4.js} +1 -1
- package/web/app/immutable/chunks/{Ev5lig9W.js → DIhsiUIT.js} +1 -1
- package/web/app/immutable/chunks/{DC_1j_gh.js → DM71GnMx.js} +3 -3
- package/web/app/immutable/chunks/{D1V2Et17.js → DMH0w6el.js} +1 -1
- package/web/app/immutable/chunks/{CzS5ny-g.js → DMzReQ-5.js} +1 -1
- package/web/app/immutable/chunks/{B9BjyTgZ.js → DOIzLCtE.js} +1 -1
- package/web/app/immutable/chunks/{Dp9fBXaC.js → DOwDDYVN.js} +1 -1
- package/web/app/immutable/chunks/{C2YH0P-B.js → DPvT-ATr.js} +1 -1
- package/web/app/immutable/chunks/{BRRvOx4M.js → DQLMO9xD.js} +2 -2
- package/web/app/immutable/chunks/{sS3MW5B6.js → DQZlstPH.js} +1 -1
- package/web/app/immutable/chunks/DRRKH4VP.js +1 -0
- package/web/app/immutable/chunks/{qHChsLZZ.js → DRWqzfiQ.js} +1 -1
- package/web/app/immutable/chunks/{CUMRLgxB.js → DSCqJfZ-.js} +1 -1
- package/web/app/immutable/chunks/{zye35u-t.js → DSjbk-ao.js} +1 -1
- package/web/app/immutable/chunks/{B9mj0qwd.js → DUO0KBjx.js} +1 -1
- package/web/app/immutable/chunks/{D6VfSAVQ.js → DUfE7lx2.js} +1 -1
- package/web/app/immutable/chunks/{DkJkWZTE.js → DUl-h1p3.js} +1 -1
- package/web/app/immutable/chunks/{CbyU6cEf.js → DVu7tZ67.js} +1 -1
- package/web/app/immutable/chunks/{CBafvv8h.js → DWC3_76J.js} +1 -1
- package/web/app/immutable/chunks/{BpEHjU4g.js → DXtdMDwl.js} +1 -1
- package/web/app/immutable/chunks/{Bus1Z5ou.js → DYzJKeX7.js} +1 -1
- package/web/app/immutable/chunks/{D-NrCL67.js → D_pS9hme.js} +1 -1
- package/web/app/immutable/chunks/{Cj_UUgNI.js → DaqXt9wp.js} +1 -1
- package/web/app/immutable/chunks/{_EqQOSVK.js → Dax7ITFa.js} +2 -2
- package/web/app/immutable/chunks/{fr0BmHL-.js → DbIuIgjV.js} +1 -1
- package/web/app/immutable/chunks/{R1s5ARST.js → DbN2kVX-.js} +1 -1
- package/web/app/immutable/chunks/{R2N5eDxY.js → Dbrv6RE-.js} +2 -2
- package/web/app/immutable/chunks/{A4nvdmL6.js → DcsxLfDg.js} +1 -1
- package/web/app/immutable/chunks/{CylWx-GB.js → DfJwQVW8.js} +1 -1
- package/web/app/immutable/chunks/{CADQyVDS.js → DfT1buZq.js} +2 -2
- package/web/app/immutable/chunks/{BGT9uvaQ.js → Dg9ZuAkk.js} +5 -5
- package/web/app/immutable/chunks/{BR2t5nsF.js → DhWcN4bx.js} +2 -2
- package/web/app/immutable/chunks/{rB5UfCey.js → DiD2Cn17.js} +1 -1
- package/web/app/immutable/chunks/{B-kUJzil.js → Dk-rIzdO.js} +1 -1
- package/web/app/immutable/chunks/{B1hj1DGj.js → DkL69EQl.js} +1 -1
- package/web/app/immutable/chunks/{BmBa9vQp.js → DkkmguuG.js} +1 -1
- package/web/app/immutable/chunks/{DtHX0_aW.js → DmC2lRsL.js} +2 -2
- package/web/app/immutable/chunks/{D1bivTve.js → DnsVLkb8.js} +2 -2
- package/web/app/immutable/chunks/{CA2ANaNj.js → Dnz4szur.js} +1 -1
- package/web/app/immutable/chunks/{Df-HaYIr.js → Do5lDWBq.js} +1 -1
- package/web/app/immutable/chunks/{D_hG-oZK.js → Dp08eKy3.js} +1 -1
- package/web/app/immutable/chunks/{Bqm2Rf6d.js → Dq9sK6wY.js} +1 -1
- package/web/app/immutable/chunks/{CMLBE7U6.js → DqMtaSxK.js} +1 -1
- package/web/app/immutable/chunks/{D2dAlclh.js → DqZnld6x.js} +3 -3
- package/web/app/immutable/chunks/{DFr6bn5t.js → DqaHaAl1.js} +4 -4
- package/web/app/immutable/chunks/{9-nUCsGi.js → Dr6C4F1X.js} +1 -1
- package/web/app/immutable/chunks/{D0DIS-cT.js → DrMbcJpA.js} +1 -1
- package/web/app/immutable/chunks/{CPlH-52U.js → Ds4DhRwW.js} +7 -7
- package/web/app/immutable/chunks/{qvt-0QTi.js → DsGwNgOu.js} +3 -3
- package/web/app/immutable/chunks/{B_IEMfS6.js → DteD0Nal.js} +3 -3
- package/web/app/immutable/chunks/DwEChUMY.js +1 -0
- package/web/app/immutable/chunks/{Iq8JI4_0.js → ENlRNbf0.js} +1 -1
- package/web/app/immutable/chunks/{UN8KT7fR.js → FhXVX7Hi.js} +1 -1
- package/web/app/immutable/chunks/{Bp098-aN.js → JMqHRN1q.js} +1 -1
- package/web/app/immutable/chunks/{CGzD6XfW.js → JZ27Qh_j.js} +1 -1
- package/web/app/immutable/chunks/{DL1CE4TH.js → JvjGgKob.js} +1 -1
- package/web/app/immutable/chunks/{B-1iBpaq.js → Jx0QEit0.js} +1 -1
- package/web/app/immutable/chunks/{DWEA_zul.js → K2mnFSgK.js} +1 -1
- package/web/app/immutable/chunks/{BgPtjifd.js → KEjNxHSN.js} +1 -1
- package/web/app/immutable/chunks/{CjTGc2Y5.js → KSJAkSbC.js} +2 -2
- package/web/app/immutable/chunks/KvL2D8eF.js +1 -0
- package/web/app/immutable/chunks/L-jTlD15.js +4 -0
- package/web/app/immutable/chunks/{D_r5h8IL.js → NgjMs0r6.js} +1 -1
- package/web/app/immutable/chunks/{DFBd8tOh.js → OK80LzXp.js} +1 -1
- package/web/app/immutable/chunks/{DISyGoja.js → OltbXq5G.js} +1 -1
- package/web/app/immutable/chunks/{cFozej4U.js → PtFvwTVZ.js} +3 -3
- package/web/app/immutable/chunks/{VdR0DXlW.js → Q1s61YDh.js} +47 -47
- package/web/app/immutable/chunks/{tDUnXf7O.js → QFEvVzf2.js} +1 -1
- package/web/app/immutable/chunks/{D_-ztW_Y.js → SLPWQR3F.js} +1 -1
- package/web/app/immutable/chunks/{C1AEP5wW.js → SxNO1NUM.js} +1 -1
- package/web/app/immutable/chunks/{qjcf4Gb9.js → Tygff_sj.js} +1 -1
- package/web/app/immutable/chunks/{CFNJHO2G.js → UO171Id4.js} +1 -1
- package/web/app/immutable/chunks/{CY-vjmpy.js → VcOG8L0Z.js} +1 -1
- package/web/app/immutable/chunks/{BYMXwcID.js → W2c1MO7q.js} +1 -1
- package/web/app/immutable/chunks/{t7yAUuZn.js → XagMlRFc.js} +2 -2
- package/web/app/immutable/chunks/{DbCFTbwM.js → Z-hUD4Ap.js} +1 -1
- package/web/app/immutable/chunks/{CUNx-_2d.js → aitTA173.js} +4 -4
- package/web/app/immutable/chunks/{qi41b1Ac.js → bLKIt_n4.js} +1 -1
- package/web/app/immutable/chunks/{Hd1u2Z-S.js → eNRNxfO0.js} +3 -3
- package/web/app/immutable/chunks/{VJkCr9xp.js → eRIG79tn.js} +1 -1
- package/web/app/immutable/chunks/{1GGKXNxU.js → e_K38tqB.js} +1 -1
- package/web/app/immutable/chunks/{Dsn82AW0.js → gTjyNX6h.js} +1 -1
- package/web/app/immutable/chunks/{D69ZLPjW.js → hSiYrZoo.js} +1 -1
- package/web/app/immutable/chunks/{DvATy2o1.js → hqZSbKVs.js} +1 -1
- package/web/app/immutable/chunks/{DksUdusM.js → nrAGmqbi.js} +2 -2
- package/web/app/immutable/chunks/{BimRiD6s.js → nxYQz1Bp.js} +1 -1
- package/web/app/immutable/chunks/{D5_auhOU.js → pehcYFWW.js} +2 -2
- package/web/app/immutable/chunks/{Cgn_eC9-.js → rIUowGAi.js} +2 -2
- package/web/app/immutable/chunks/{DvrEye74.js → rei1qYSi.js} +1 -1
- package/web/app/immutable/chunks/{BkFHmpuY.js → wK4T9_HO.js} +1 -1
- package/web/app/immutable/chunks/weHhj1in.js +1 -0
- package/web/app/immutable/chunks/{BvKqDQXM.js → xCaPmms8.js} +1 -1
- package/web/app/immutable/chunks/{CqwiFk32.js → yGw_3prC.js} +1 -1
- package/web/app/immutable/chunks/{NQru5r2h.js → yScsjjST.js} +1 -1
- package/web/app/immutable/entry/{app.jT7Rd2u4.js → app.De5C2NS7.js} +2 -2
- package/web/app/immutable/entry/start.BbOZiO5_.js +1 -0
- package/web/app/immutable/nodes/{0.9lwWQtfB.js → 0.D8lcICdy.js} +1 -1
- package/web/app/immutable/nodes/{1.Ck4yEk2l.js → 1.Bcr9Ac6T.js} +1 -1
- package/web/app/immutable/nodes/{10.C4FEQjC7.js → 10.CdYxZNRv.js} +17 -17
- package/web/app/immutable/nodes/{11.C-vXNNmX.js → 11.DTALKQkg.js} +4 -4
- package/web/app/immutable/nodes/{13.DhKVmEQi.js → 13.DTamgdFN.js} +1 -1
- package/web/app/immutable/nodes/{14.INZu_e5k.js → 14.CzznX4mY.js} +1 -1
- package/web/app/immutable/nodes/{15.DdKSdQ-h.js → 15.BuZ5Ykpn.js} +1 -1
- package/web/app/immutable/nodes/{16.Ad-t6nft.js → 16.D1WCmH9D.js} +1 -1
- package/web/app/immutable/nodes/{17.pLS5JsPi.js → 17.DXnAkOJb.js} +1 -1
- package/web/app/immutable/nodes/{18.DIVxEUeB.js → 18.BBYG39nr.js} +1 -1
- package/web/app/immutable/nodes/{19.BB9LuT5j.js → 19.Bwna1DuW.js} +2 -2
- package/web/app/immutable/nodes/{2.Bp80wZmn.js → 2.BCkphmFm.js} +11 -11
- package/web/app/immutable/nodes/{20.BGTcjiLa.js → 20.DyC7cckU.js} +1 -1
- package/web/app/immutable/nodes/{3.DRJnaOSe.js → 3.CJlWKIE-.js} +1 -1
- package/web/app/immutable/nodes/{4.p67SnElB.js → 4.CDSfo4Q5.js} +1 -1
- package/web/app/immutable/nodes/{5.DRmIJA2c.js → 5.B6hsM1cw.js} +1 -1
- package/web/app/immutable/nodes/{6.Bjeibumi.js → 6.DCm27sfe.js} +2 -2
- package/web/app/immutable/nodes/{7.CjIaxqZ1.js → 7.Dd2x1_y1.js} +1 -1
- package/web/app/immutable/nodes/{8.DAlxovqG.js → 8.C0jzmTGW.js} +1 -1
- package/web/app/immutable/nodes/{9.BKQZzsCi.js → 9.Bj88iDsv.js} +11 -11
- package/web/app/version.json +1 -1
- package/web/index.html +12 -12
- package/web/app/immutable/chunks/-7AqlW5j.js +0 -1
- package/web/app/immutable/chunks/B1lYPzEU.js +0 -1
- package/web/app/immutable/chunks/C14Hgf8a.js +0 -1
- package/web/app/immutable/chunks/CK4eAyad.js +0 -1
- package/web/app/immutable/chunks/DBdkAKrm.js +0 -4
- package/web/app/immutable/chunks/UGr2VEtG.js +0 -1
- package/web/app/immutable/chunks/i8PKWJT0.js +0 -1
- package/web/app/immutable/entry/start.CSuXA93h.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aZ as Ae,U as ke,Y as ae,b0 as Fe,V as Pe,a_ as ve,b as o,X as Vt,ay as bt,aW as Lt,B as Ce,r as Le,O as V,aV as Ee,a6 as De}from"./
|
|
1
|
+
import{aZ as Ae,U as ke,Y as ae,b0 as Fe,V as Pe,a_ as ve,b as o,X as Vt,ay as bt,aW as Lt,B as Ce,r as Le,O as V,aV as Ee,a6 as De}from"./aitTA173.js";import{l as ie}from"./B2_coen2.js";var Et=(function(){var t=o(function(Y,r,l,x){for(l=l||{},x=Y.length;x--;l[Y[x]]=r);return l},"o"),n=[1,3],f=[1,4],d=[1,5],h=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],_=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],k=[2,36],u=[1,37],T=[1,36],q=[1,38],m=[1,35],b=[1,43],g=[1,41],A=[1,45],ht=[1,14],xt=[1,23],ft=[1,18],gt=[1,19],ct=[1,20],_t=[1,21],dt=[1,22],i=[1,24],zt=[1,25],It=[1,26],wt=[1,27],Bt=[1,28],Rt=[1,29],U=[1,32],Q=[1,33],F=[1,34],P=[1,39],v=[1,40],C=[1,42],L=[1,44],X=[1,63],H=[1,62],E=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Xt=[1,71],Ht=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],Kt=[1,77],w=[4,5,6,7,8,9,10,11,12,13,14,15,18],K=[1,91],Z=[1,92],J=[1,93],$=[1,100],tt=[1,94],et=[1,97],it=[1,95],at=[1,96],nt=[1,98],st=[1,99],At=[1,103],Zt=[10,55,56,57],N=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],kt={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(r,l,x,c,S,e,ut){var s=e.length-1;switch(S){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],c.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),c.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),c.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),c.setAccDescription(this.$);break;case 46:c.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:c.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:c.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:c.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:c.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:c.setXAxisLeftText(e[s-2]),c.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",c.setXAxisLeftText(e[s-1]);break;case 53:c.setXAxisLeftText(e[s]);break;case 54:c.setYAxisBottomText(e[s-2]),c.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",c.setYAxisBottomText(e[s-1]);break;case 56:c.setYAxisBottomText(e[s]);break;case 57:c.setQuadrant1Text(e[s]);break;case 58:c.setQuadrant2Text(e[s]);break;case 59:c.setQuadrant3Text(e[s]);break;case 60:c.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),table:[{18:n,26:1,27:2,28:f,55:d,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:f,55:d,56:h,57:p},{18:n,26:9,27:2,28:f,55:d,56:h,57:p},t(y,[2,33],{29:10}),t(_,[2,61]),t(_,[2,62]),t(_,[2,63]),{1:[2,30]},{1:[2,31]},t(a,k,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:u,5:T,10:q,12:m,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Bt,54:Rt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(y,[2,34]),{27:46,55:d,56:h,57:p},t(a,[2,37]),t(a,k,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:u,5:T,10:q,12:m,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Bt,54:Rt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},t(a,[2,45]),t(a,[2,46]),{18:[1,51]},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:52,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:53,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:54,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:55,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:56,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:57,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,44:[1,58],47:[1,59],58:61,59:60,63:F,64:P,65:v,66:C,67:L},t(E,[2,64]),t(E,[2,66]),t(E,[2,67]),t(E,[2,70]),t(E,[2,71]),t(E,[2,72]),t(E,[2,73]),t(E,[2,74]),t(E,[2,75]),t(E,[2,76]),t(E,[2,77]),t(E,[2,78]),t(E,[2,79]),t(E,[2,80]),t(E,[2,81]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:65,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Xt,10:Ht,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,21:64},t(a,[2,53],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,49:[1,78],63:F,64:P,65:v,66:C,67:L}),t(a,[2,56],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,49:[1,79],63:F,64:P,65:v,66:C,67:L}),t(a,[2,57],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,58],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,59],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,60],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),{45:[1,80]},{44:[1,81]},t(E,[2,65]),t(E,[2,82]),t(E,[2,83]),t(E,[2,84]),{3:83,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Xt,10:Ht,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,18:[1,82]},t(w,[2,23]),t(w,[2,1]),t(w,[2,2]),t(w,[2,3]),t(w,[2,4]),t(w,[2,5]),t(w,[2,6]),t(w,[2,7]),t(w,[2,8]),t(w,[2,9]),t(w,[2,10]),t(w,[2,11]),t(w,[2,12]),t(a,[2,52],{58:31,43:84,4:u,5:T,10:q,12:m,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,55],{58:31,43:85,4:u,5:T,10:q,12:m,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),{46:[1,86]},{45:[1,87]},{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:89,23:88},t(w,[2,24]),t(a,[2,51],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,54],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,47],{22:89,16:90,23:101,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{46:[1,102]},t(a,[2,29],{10:At}),t(Zt,[2,27],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),t(N,[2,25]),t(N,[2,13]),t(N,[2,14]),t(N,[2,15]),t(N,[2,16]),t(N,[2,17]),t(N,[2,18]),t(N,[2,19]),t(N,[2,20]),t(N,[2,21]),t(N,[2,22]),t(a,[2,49],{10:At}),t(a,[2,48],{22:89,16:90,23:105,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:106},t(N,[2,26]),t(a,[2,50],{10:At}),t(Zt,[2,28],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var x=new Error(r);throw x.hash=l,x}},"parseError"),parse:o(function(r){var l=this,x=[0],c=[],S=[null],e=[],ut=this.table,s="",yt=0,Jt=0,me=2,$t=1,be=e.slice.call(arguments,1),D=Object.create(this.lexer),j={yy:{}};for(var Ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ft)&&(j.yy[Ft]=this.yy[Ft]);D.setInput(r,j.yy),j.yy.lexer=D,j.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Pt=D.yylloc;e.push(Pt);var Se=D.options&&D.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(R){x.length=x.length-2*R,S.length=S.length-R,e.length=e.length-R}o(_e,"popStack");function te(){var R;return R=c.pop()||D.lex()||$t,typeof R!="number"&&(R instanceof Array&&(c=R,R=c.pop()),R=l.symbols_[R]||R),R}o(te,"lex");for(var B,G,W,vt,rt={},Tt,M,ee,qt;;){if(G=x[x.length-1],this.defaultActions[G]?W=this.defaultActions[G]:((B===null||typeof B>"u")&&(B=te()),W=ut[G]&&ut[G][B]),typeof W>"u"||!W.length||!W[0]){var Ct="";qt=[];for(Tt in ut[G])this.terminals_[Tt]&&Tt>me&&qt.push("'"+this.terminals_[Tt]+"'");D.showPosition?Ct="Parse error on line "+(yt+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+qt.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Ct="Parse error on line "+(yt+1)+": Unexpected "+(B==$t?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Ct,{text:D.match,token:this.terminals_[B]||B,line:D.yylineno,loc:Pt,expected:qt})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+B);switch(W[0]){case 1:x.push(B),S.push(D.yytext),e.push(D.yylloc),x.push(W[1]),B=null,Jt=D.yyleng,s=D.yytext,yt=D.yylineno,Pt=D.yylloc;break;case 2:if(M=this.productions_[W[1]][1],rt.$=S[S.length-M],rt._$={first_line:e[e.length-(M||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(M||1)].first_column,last_column:e[e.length-1].last_column},Se&&(rt._$.range=[e[e.length-(M||1)].range[0],e[e.length-1].range[1]]),vt=this.performAction.apply(rt,[s,Jt,yt,j.yy,W[1],S,e].concat(be)),typeof vt<"u")return vt;M&&(x=x.slice(0,-1*M*2),S=S.slice(0,-1*M),e=e.slice(0,-1*M)),x.push(this.productions_[W[1]][0]),S.push(rt.$),e.push(rt._$),ee=ut[x[x.length-2]][x[x.length-1]],x.push(ee);break;case 3:return!0}}return!0},"parse")},qe=(function(){var Y={EOF:1,parseError:o(function(l,x){if(this.yy.parser)this.yy.parser.parseError(l,x);else throw new Error(l)},"parseError"),setInput:o(function(r,l){return this.yy=l||this.yy||{},this._input=r,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:o(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:o(function(r){var l=r.length,x=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var c=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),x.length-1&&(this.yylineno-=x.length-1);var S=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:x?(x.length===c.length?this.yylloc.first_column:0)+c[c.length-x.length].length-x[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(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:o(function(r){this.unput(this.match.slice(r))},"less"),pastInput:o(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aG as a,bI as l}from"./CJxGDkBm.js";import{
|
|
1
|
+
import{aG as a,bI as l}from"./CJxGDkBm.js";import{J5 as t}from"./CI4_aI7e.js";const s=Symbol("static-overlay");function n(e){l(s,e)}function b(){return a(s)??(()=>!1)}const r=["border-rose-500/30 bg-rose-500/15 text-rose-700 dark:text-rose-300","border-amber-500/30 bg-amber-500/15 text-amber-700 dark:text-amber-300","border-yellow-500/30 bg-yellow-500/15 text-yellow-700 dark:text-yellow-300","border-emerald-500/30 bg-emerald-500/15 text-emerald-700 dark:text-emerald-300","border-sky-500/30 bg-sky-500/15 text-sky-700 dark:text-sky-300","border-violet-500/30 bg-violet-500/15 text-violet-700 dark:text-violet-300"],o=["hover:bg-rose-500/25","hover:bg-amber-500/25","hover:bg-yellow-500/25","hover:bg-emerald-500/25","hover:bg-sky-500/25","hover:bg-violet-500/25"];function h(e){return r[e%r.length]}function d(e){return o[e%o.length]}const u=t.createSelector(e=>e.theme.preference),v=t.createSelector(e=>e.theme.name==="dark"),S=t.createSelector(e=>e.theme.hasCustomTheme),i=t.createSelector(e=>e.theme.customThemeName),g=t.createSelector(e=>e.theme.activePresetId),x=t.createSelector(e=>e.theme.error);export{i as a,S as b,v as c,x as d,u as e,h as f,d as g,n as p,g as s,b as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as s}from"./
|
|
1
|
+
import{d as s}from"./DaqXt9wp.js";import{a as t}from"./BdWqymET.js";import{cR as i}from"./C2wWLl1x.js";import{J5 as a}from"./CI4_aI7e.js";import{setLinkActionMenuLinkedWorkspaces as n}from"./B3bYRRle.js";const c=new t("LinkActionMenuLinkedWorkspaces");async function u(r,e){if(i.select(a.state)?.capabilities.prWorkspaceLookup===1)try{const o=await s.workspaces.findByPullRequest(e);n(r,o)}catch(o){c.debug("PR workspace lookup failed",{url:e,error:o})}}export{u as loadLinkActionMenuLinkedWorkspaces};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as g,bo as n,br as v,bw as b,bp as h,b as x}from"./51_h0jm2.js";import{bs as w,a7 as S,ay as y,aD as _,W as k,bn as z,aA as i,c9 as C}from"./CJxGDkBm.js";import{c as A}from"./DGmOjLYi.js";import{e as I,p as M}from"./CpPNoOk-.js";import{S as P}from"./
|
|
1
|
+
import{t as g,bo as n,br as v,bw as b,bp as h,b as x}from"./51_h0jm2.js";import{bs as w,a7 as S,ay as y,aD as _,W as k,bn as z,aA as i,c9 as C}from"./CJxGDkBm.js";import{c as A}from"./DGmOjLYi.js";import{e as I,p as M}from"./CpPNoOk-.js";import{S as P}from"./Jx0QEit0.js";var W=new Set(["$$slots","$$events","$$legacy","ref","class","data-slot"]);function D(l,t){if(new.target)return g({component:D,...l});w(t,!0);let a=n(t,"ref",15,null),r=n(t,"class",7),s=n(t,"data-slot",7,"separator"),c=h(t,W);var m={get ref(){return a()},set ref(e=null){a(e),i()},get class(){return r()},set class(e){r(e),i()},get"data-slot"(){return s()},set"data-slot"(e="separator"){s(e),i()},$set:b,$on:(e,o)=>x(t,e,o)},p=S(),d=y(p);{let e=C(()=>I("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",r()));A(d,()=>P,(o,u)=>{u(o,v({get"data-slot"(){return s()},get class(){return _(e)}},()=>c,{get ref(){return a()},set ref(f){a(f)}}))})}return k(l,p),z(m)}const F=[{id:"separator-state-matrix",title:"Separator states",states:["horizontal","vertical","decorative","semantic","compact","zoom-200","light","dark"],themes:["light","dark","high-contrast"],viewport:"both"}];M({id:"separator",source:"src/lib/components/ui/separator/separator.svelte",publicImport:"$lib/components/ui/separator",legacyImports:["$lib/components/ui/separator/index.js"],exports:["Root","Separator","separatorMetadata"],category:"primitive",owner:"design-system",callers:["src/features/discussions/components/DiscussionMentionPicker.svelte","src/features/home/HomeAssistantThreads.svelte","src/features/workspace-sharing/components/WorkspaceSharingSetup.svelte","src/lib/component-catalog/renderers/ContentFieldCatalogPreview.svelte","src/lib/components/file-explorer/file-explorer-layout.svelte","src/lib/components/ui/sidebar/sidebar-separator.svelte","src/lib/components/workspace/WorkspaceAgentsList.svelte"],replacement:null,characterizationTest:"src/lib/components/ui/separator/separator.test.ts",removalGate:"Retain while exported and orientation, semantic, and fixture tests pass.",dynamicImports:[],fixtures:F});export{D as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as l,bo as i,bw as m,b as u}from"./51_h0jm2.js";import{bs as f,bI as _,c5 as b,a7 as g,ay as h,W as v,bn as z,aA as o}from"./CJxGDkBm.js";import{s as y}from"./DxvSggY5.js";import{a5 as C}from"./
|
|
1
|
+
import{t as l,bo as i,bw as m,b as u}from"./51_h0jm2.js";import{bs as f,bI as _,c5 as b,a7 as g,ay as h,W as v,bn as z,aA as o}from"./CJxGDkBm.js";import{s as y}from"./DxvSggY5.js";import{a5 as C}from"./BnA9v3pc.js";function S(s,t){if(new.target)return l({component:S,...s});f(t,!0);let a=i(t,"size",7,"default"),r=i(t,"children",7);_(C,b(()=>a()));var p={get size(){return a()},set size(e="default"){a(e),o()},get children(){return r()},set children(e){r(e),o()},$set:m,$on:(e,d)=>u(t,e,d)},n=g(),c=h(n);return y(c,r),v(s,n),z(p)}export{S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bm as n,t as L,bo as i,bw as x,b as B}from"./51_h0jm2.js";import{bs as Q,a5 as U,bS as D,bA as K,b_ as N,aD as f,W as I,bn as P,c9 as A,aA as u,aB as q}from"./CJxGDkBm.js";import{i as E}from"./PXCFrn2V.js";import{f as V,s as _,g as H}from"./CpPNoOk-.js";import{d as
|
|
1
|
+
import{bm as n,t as L,bo as i,bw as x,b as B}from"./51_h0jm2.js";import{bs as Q,a5 as U,bS as D,bA as K,b_ as N,aD as f,W as I,bn as P,c9 as A,aA as u,aB as q}from"./CJxGDkBm.js";import{i as E}from"./PXCFrn2V.js";import{f as V,s as _,g as H}from"./CpPNoOk-.js";import{d as z,A as j,a as J}from"./FmBB5PWm.js";import{aL as M}from"./CAV1CzzW.js";import{nz as T,e as m}from"./CI4_aI7e.js";import{e4 as G,O as X,N as Y}from"./C2wWLl1x.js";function Z(e){switch(e){case"running":return n.layout_activeCard_running_header();case"responding":return n.agentOverview_hierarchyGraph_statusResponding_label();case"unread":return n.layout_activeCard_unread_header();case"completed":return n.agentOverview_hierarchyGraph_statusCompleted_label();case"failed":return n.agentOverview_hierarchyGraph_statusFailed_label();case"question":return n.chat_questionWizard_title();case"waiting":return n.agentOverview_hierarchyGraph_statusWaiting_label();case"needs-permission":return n.events_activity_agentAskedPermission_label();case"attention-discussion":return n.chat_agentCard_attentionDiscussion_label();case"attention-blocker":return n.chat_agentCard_attentionBlocker_label();case"idle":return n.agentOverview_hierarchyGraph_statusIdle_label()}}var $=q('<span class="agent-avatar-unread-dot svelte-v6mebl" data-avatar-unread-dot=""></span>'),ee=q('<span role="img" data-agent-avatar-with-state="" data-agent-avatar-surface=""><!> <!></span>');function te(e,a){if(new.target)return L({component:te,...e});Q(a,!0);let d=i(a,"agentId",7),l=i(a,"specialist",7,null),o=i(a,"icon",7,null),v=i(a,"provider",7,void 0),c=i(a,"variant",7,z),g=i(a,"size",7,void 0),r=i(a,"state",7,"idle"),h=i(a,"class",7,"");const w=A(()=>Z(r())),y=A(()=>g()??J[c()].surface),p=A(()=>g()===void 0);var O={get agentId(){return d()},set agentId(t){d(t),u()},get specialist(){return l()},set specialist(t=null){l(t),u()},get icon(){return o()},set icon(t=null){o(t),u()},get provider(){return v()},set provider(t=void 0){v(t),u()},get variant(){return c()},set variant(t=z){c(t),u()},get size(){return g()},set size(t=void 0){g(t),u()},get state(){return r()},set state(t="idle"){r(t),u()},get class(){return h()},set class(t=""){h(t),u()},$set:x,$on:(t,b)=>B(a,t,b)},s=ee();let C;var k=U(s);j(k,{get agentId(){return d()},get specialist(){return l()},get icon(){return o()},get provider(){return v()},get variant(){return c()},get size(){return g()}});var W=D(k,2);{var F=t=>{var b=$();I(t,b)};E(W,t=>{r()==="unread"&&t(F)})}return K(s),N(()=>{V(s,1,`agent-avatar-with-state agent-avatar-with-state--${r()??""} ${h()??""}`,"svelte-v6mebl"),_(s,"aria-label",f(w)),_(s,"title",f(w)),_(s,"data-avatar-state",r()),_(s,"data-avatar-variant",f(p)?c():void 0),C=H(s,"",C,{width:f(p)?void 0:`${f(y)}px`,height:f(p)?void 0:`${f(y)}px`})}),I(e,s),P(O)}function S(e){return X(e)}function ae(e){return Y(e)}function R(e,a={}){const{hasUnread:d=!1,isActive:l=!1,isCompleted:o=!1,isFailed:v=!1,hasQuestion:c=!1,hasPermissionRequest:g=!1,attentionKind:r=null}=a;return o&&!S(e)?"completed":v||e.status===m.Error||e.status==="failed"?"failed":c?"question":g?"needs-permission":r==="discussion"?"attention-discussion":r==="blocker"?"attention-blocker":ae(e)?"waiting":S(e)?"running":d&&!l?"unread":"idle"}function ce(e,a={}){if(!e)return R({},a);const d=T(e),l=e.status===m.Completed||String(e.status).toLowerCase()==="completed",o=e.status===m.Error||e.status===m.Deleted||String(e.status).toLowerCase()==="failed";return R(G(e),{...a,hasQuestion:M(e)||a.hasQuestion===!0,hasUnread:a.hasUnread??e.hasUnread,isCompleted:a.isCompleted??l,isFailed:a.isFailed??o,attentionKind:a.attentionKind??d?.kind??null})}function ge(e){return e?S(G(e)):!1}export{te as A,R as a,ce as b,Z as g,ge as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as H,bo as x,bw as U,b as W}from"./51_h0jm2.js";import{bV as j,br as q,bH as A,aD as y,bs as X,ca as z,a5 as J,b_ as C,W as N,bS as K,a7 as Q,ay as Z,bA as $,bn as ee,c9 as te,at as ae,aA as _,aB as M,bI as re,aG as se}from"./CJxGDkBm.js";import{k as oe}from"./C9UsZ4re.js";import{g as D,e as L,o as ne,p as ie}from"./Bjy4ygfJ.js";import{n as V,g as F,S}from"./BxwkoIbZ.js";import{c as T,e as O,f as P}from"./CpPNoOk-.js";import{_ as G}from"./
|
|
1
|
+
import{t as H,bo as x,bw as U,b as W}from"./51_h0jm2.js";import{bV as j,br as q,bH as A,aD as y,bs as X,ca as z,a5 as J,b_ as C,W as N,bS as K,a7 as Q,ay as Z,bA as $,bn as ee,c9 as te,at as ae,aA as _,aB as M,bI as re,aG as se}from"./CJxGDkBm.js";import{k as oe}from"./C9UsZ4re.js";import{g as D,e as L,o as ne,p as ie}from"./Bjy4ygfJ.js";import{n as V,g as F,S}from"./BxwkoIbZ.js";import{c as T,e as O,f as P}from"./CpPNoOk-.js";import{_ as G}from"./rIUowGAi.js";import{c as de}from"./BaGw_bDr.js";function ce(r,a){const i=[...a].filter(t=>Number.isInteger(t)&&t>=0&&r[t]!==void 0).sort((t,o)=>t-o),u=[];for(const t of i){const o=u.at(-1);!o||t>o.endIndex+1?u.push({startIndex:t,endIndex:t}):t>o.endIndex&&(o.endIndex=t)}return u.map(({startIndex:t,endIndex:o})=>{let c=Number.POSITIVE_INFINITY,d=Number.POSITIVE_INFINITY,g=Number.NEGATIVE_INFINITY,m=Number.NEGATIVE_INFINITY;for(let l=t;l<=o;l+=1){const n=r[l];n&&(c=Math.min(c,n.top),d=Math.min(d,n.left),g=Math.max(g,n.left+n.width),m=Math.max(m,n.top+n.height))}return{startIndex:t,endIndex:o,rect:{top:c,left:d,width:g-d,height:m-c}}})}function E(r,a){return Math.max(0,Math.min(r.endIndex,a.endIndex)-Math.max(r.startIndex,a.startIndex)+1)}function le(){let r=j(q([])),a=[],i=1;return{get groups(){return y(r)},update(u,t){const o=new Set,c=ce(u,t).map(d=>{const m=a.filter(l=>!o.has(l.id)&&E(l,d)>0).sort((l,n)=>E(n,d)-E(l,d)||l.id-n.id)[0]?.id??i++;return o.add(m),{id:m,...d}});a=c,A(r,c,!0)},reset(){a=[],A(r,[],!0),i=1}}}var ue=M('<div data-proximity-highlight="selected" style="border-radius: var(--radius-row)"></div>'),me=M('<div data-proximity-highlight="hover" style="border-radius: var(--radius-row)"></div>'),pe=M('<div aria-hidden="true"><!> <!></div>');function fe(r,a){if(new.target)return H({component:fe,...r});X(a,!0);let i=x(a,"store",7),u=x(a,"selectedIndexes",23,()=>[]),t=x(a,"selectedClass",7,"bg-selected"),o=x(a,"hoverClass",7,"bg-hover"),c=x(a,"class",7);const d=le(),g=te(()=>i().activeIndex===null?void 0:i().itemRects[i().activeIndex]);z(()=>{d.update(i().itemRects,u())});const m=(e,s)=>{const p=new S(s.rect.top,s.tier),f=new S(s.rect.left,s.tier),b=new S(s.rect.width,s.tier),v=new S(s.rect.height,s.tier),I=ae(()=>{z(()=>{e.style.transform=`translate3d(${f.current}px, ${p.current}px, 0)`,e.style.width=`${b.current}px`,e.style.height=`${v.current}px`})}),w=h=>{p.set(h.rect.top),f.set(h.rect.left),b.set(h.rect.width),v.set(h.rect.height)},B=ne(()=>ie()&&w(s));return{update(h){s=h,w(h)},destroy(){B(),I()}}};var l={get store(){return i()},set store(e){i(e),_()},get selectedIndexes(){return u()},set selectedIndexes(e=[]){u(e),_()},get selectedClass(){return t()},set selectedClass(e="bg-selected"){t(e),_()},get hoverClass(){return o()},set hoverClass(e="bg-hover"){o(e),_()},get class(){return c()},set class(e){c(e),_()},$set:U,$on:(e,s)=>W(a,e,s)},n=pe(),R=J(n);D(R,17,()=>d.groups,e=>e.id,(e,s)=>{var p=ue();L(p,(f,b)=>m?.(f,b),()=>({rect:y(s).rect,tier:"moderate"})),C(f=>P(p,1,f),[()=>T(O("absolute",t()))]),V(2,p,()=>F,()=>({tier:"moderate"})),N(e,p)});var k=K(R,2);return oe(k,()=>i().sessionId,e=>{var s=Q(),p=Z(s);D(p,17,()=>y(g)?[y(g)]:[],f=>0,(f,b)=>{var v=me();L(v,(I,w)=>m?.(I,w),()=>({rect:y(b),tier:"moderate"})),C(I=>P(v,1,I),[()=>T(O("absolute",o()))]),V(2,v,()=>F,()=>({tier:"fast"})),N(f,v)}),N(e,s)}),$(n),C(e=>P(n,1,e),[()=>T(O("pointer-events-none absolute inset-0",c()))]),N(r,n),ee(l)}const Se=G({base:`${de} menu-row group/menu-item relative z-10 flex w-full min-w-0 cursor-default select-none items-start gap-2.5 border-none bg-transparent px-2.5 py-1.5 transition-colors duration-spring-fast ease-spring-fast focus:text-foreground focus-visible:outline-none data-[menu-item]:font-medium data-[disabled]:pointer-events-none data-[disabled]:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 motion-reduce:transition-none`,variants:{inset:{true:"pl-8"}}}),Ce=G({base:"menu-overlay type-caption relative isolate z-(--layer-popover) overflow-hidden rounded-(--radius-medium) border border-border bg-popover shadow-(--elevation-overlay) [--menu-icon-size:calc(var(--space-3)+var(--space-1)/2)] [--radius-row:calc(var(--radius-small)-var(--space-1)/2)] focus-visible:border-input focus-visible:outline focus-visible:-outline-offset-1 data-[side=bottom]:origin-top data-[side=top]:origin-bottom data-[side=left]:origin-right data-[side=right]:origin-left data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:duration-spring-moderate data-[state=open]:ease-spring-moderate data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:duration-spring-moderate-exit data-[state=closed]:ease-spring-exit motion-reduce:animate-none motion-reduce:transition-none"}),Te="text-shortcut-foreground",Oe=-5,Pe={enter:{tier:"moderate",y:4,scale:.95},exit:{tier:"moderate"}},Y=Symbol("dialog-portal-target");function Ee(r){re(Y,r)}function Me(){const r=se(Y);return()=>r?.()??void 0}const ge=["[data-bits-floating-content-wrapper]",'[role="combobox"][aria-expanded="true"]','[aria-haspopup]:not([aria-haspopup="false"])[aria-expanded="true"]'].join(", ");function Re(r,a){return r?.querySelector(":scope > [data-bits-floating-content-wrapper]")?!0:a.target instanceof Element&&a.target.closest(ge)!==null}export{fe as P,Se as a,Ce as b,Pe as c,Oe as d,Re as e,Te as m,Ee as p,Me as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ao as s}from"./CJxGDkBm.js";import{d as r}from"./
|
|
1
|
+
import{ao as s}from"./CJxGDkBm.js";import{d as r}from"./Dg9ZuAkk.js";const t=()=>{const e=r;return{page:{subscribe:e.page.subscribe},navigating:{subscribe:e.navigating.subscribe},updated:e.updated}},c={subscribe(e){return(s?o("page"):t().page).subscribe(e)}};function o(e){try{return t()[e]}catch{throw new Error(`Cannot subscribe to '${e}' store on the server outside of a Svelte component, as it is bound to the current request via component context. This prevents state from leaking between users.For more information, see https://svelte.dev/docs/kit/state-management#avoid-shared-state-on-the-server`)}}export{c as p};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Cl=Object.defineProperty;var Ml=(r,t,a)=>t in r?Cl(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a;var ma=(r,t,a)=>Ml(r,typeof t!="symbol"?t+"":t,a);import{t as St,bo as g,bw as Tt,b as Ct,bm as u,bq as Ha,bs as cr,br as Al,bp as mn}from"./51_h0jm2.js";import{ai as Ja,bs as Mt,ca as ar,aD as e,bH as H,ay as ve,bS as C,a7 as kt,W as d,a5 as W,bA as O,bn as At,c9 as n,bV as _e,aA as m,b_ as $,aj as Mr,aB as x,be as vr,b$ as Wr,bO as Y,bf as rr,c0 as ba,bl as le,bj as Wa,c6 as Pl,bo as On,br as Xr,am as $a,ax as Oa,bk as Jn,aw as gn,bz as es,cb as ds,c5 as Dn,aC as Sr,cd as uo,bv as Rl}from"./CJxGDkBm.js";import{i as D}from"./PXCFrn2V.js";import{g as Ar,e as ua,p as cs,i as Za,I as El,h as Zs,X as ii,o as Nl}from"./Bjy4ygfJ.js";import{n as Ut,l as En,c as Qa,g as rn,s as hs,k as ts,S as Ll}from"./BxwkoIbZ.js";import{s as ee,f as Fe,g as pn,c as xt,e as tr,b as vn,p as $l,S as Ol,C as ql}from"./CpPNoOk-.js";import{b as sa}from"./NtFyWdpR.js";import{f as st,ae as Qs,a_ as Dl}from"./CdOh_Fmv.js";import{J as Bl,O as Fl,Q as _s}from"./Cgn_eC9-.js";import"./DKn1sQ32.js";import"./BGP1lrgu.js";import"./CN-6Tr26.js";import{k as li,s as Ra}from"./DxvSggY5.js";import{F as Ot,a4 as $s,bg as ya,cK as us,au as di,aZ as ci,aK as Wl,c9 as zl,a6 as rs,aN as Hl,cN as Ul,cM as jl,a3 as fs,aC as as,aw as Xs,I as fo,aj as Vl,bu as Kl,aS as Gl,aX as Zl,bJ as Ql,ao as Xl,cC as Yl,aP as go,c0 as ys,aI as Bn,cW as Jl,cb as ed,bn as td,b as rd,cp as ad,ag as nd,ba as bs,cr as _n,cF as sd}from"./DSQT151l.js";import{C as ui,A as od,o as id}from"./DvrEye74.js";import{b as ws,V as mo}from"./CjswKKTa.js";import{A as fi,I as ld,R as dd,q as cd}from"./DBdkAKrm.js";import{bZ as gi,j as Hn,a6 as Os,am as ns,F as ud,av as Un,aP as fd,aS as po}from"./CMLBE7U6.js";import{t as an,o as gd}from"./DAsc1V4f.js";import{ce as jn,aN as Nn,c$ as mi,d1 as za,c3 as gs,q as md,cU as pi,c_ as ms,cZ as vi,cX as hi,n as Pa,al as pd,am as vd,aI as hd,z as _d,V as yd,a3 as vo,D as _i,e0 as bd,aE as wd,ak as xd,r as kd,C as xs,ag as Id,U as yn,d$ as Sd,ab as Td,k as ho,u as Cd,Z as Md,v as Ad,i as Pd,g as ks,f as _o,a0 as Rd,$ as Ed,a9 as Nd,x as yi,y as bi,l as wi,j as Ld,s as $d,a as Od,d2 as qd,ae as Dd,L as Bd,F as Fd,a2 as yo}from"./CgwFGLCK.js";import{J4 as yt,oO as Wd,tz as Vn,nD as bo,vs as xi,vu as ki,rM as zd,yq as ss,uL as Ii,ny as Si,bl as Kn,yr as Hd,qm as Ud,t3 as jd,vl as Ti,nx as Vd,mD as Kd,i as Gd,yU as Zd,yR as Qd,yT as Xd}from"./CbRsc9i4.js";import{a3 as Yd,y as Is,a1 as Jd,O as Ss,W as ec,$ as tc,k as rc,p as bn,P as cn,q as ac,G as nc,v as sc,t as oc,M as Ts,K as ic,z as lc,L as dc,_ as Sn,U as Fn,N as wo,n as xo,E as cc,c as Cs,F as ko,B as uc,w as Io,J as Tn,Q as fc,H as gc,j as mc,R as pc,T as vc,A as hc,g as _c,b as yc,D as bc,f as wc,e as xc,a as kc,C as Ic,i as Sc,d as qs,V as Ci,a4 as Tc,u as Cc,l as Mc}from"./CRY4aELR.js";import{i as Ac,e as Pc}from"./CnztNSaN.js";import{g as Ms}from"./B5aYN90J.js";import{M as wn,C as Cn}from"./DC_1j_gh.js";import{C as So}from"./1GGKXNxU.js";import"./ir8Qz45r.js";import{P as Rc}from"./DksUdusM.js";import"./D_r5h8IL.js";import{c as Mi}from"./ChTqQfQN.js";import{S as Ec}from"./1DKpnRTj.js";import{D as To,M as Nc}from"./CUNx-_2d.js";import{b as Lc,s as Ya,c as os}from"./Cv2YUgTX.js";import{O as Gn,y as As,E as Ps,B as Rs,N as $c,m as Oc,l as qc,k as Dc,d as Ln,C as Co,f as Bc,e as Fc,g as Wc}from"./Hd1u2Z-S.js";import{a as Ai,s as Mo}from"./BsieX9dN.js";import{f as zc}from"./BdWqymET.js";import{c as na}from"./i8PKWJT0.js";import{a as Hc,k as Pi,h as Ys,q as Ri,l as Ir}from"./DqFWZ_g1.js";import{P as Uc}from"./THdp5Vpk.js";import{r as Es,q as Ns,B as Ao,i as jc}from"./BR2t5nsF.js";import{R as Ei,C as ps,m as Vc,h as Kc,g as Gc,i as Po,P as Zc}from"./BAymCgEX.js";import"./D6dNunKo.js";import{c as Qc,s as Xc}from"./B_IEMfS6.js";import{h as An}from"./D5_auhOU.js";import{b as Yc,a as Ni}from"./CQHtdg39.js";import{P as Li}from"./DUctnn_k.js";import{B as Jc}from"./DwXKCf3Q.js";import{o as $i,r as eu,e as tu}from"./CblB0zCN.js";import{o as Oi}from"./BG2RPA7A.js";import{A as Zn,b as qi}from"./C2Vj5Vs6.js";import{g as Js}from"./A4nvdmL6.js";import{a as ru,M as au}from"./BQDGTBxC.js";import{t as Nr}from"./D2MmXC4A.js";import{c as xn}from"./DGmOjLYi.js";import{A as nu}from"./Dp9fBXaC.js";import{f as su,d as ou}from"./D6VfSAVQ.js";import{a8 as iu,N as lu,Y as du,K as Ro,X as cu,v as uu}from"./CyWgrZMk.js";import{a as fu}from"./CC7to1B5.js";import{k as gu}from"./C9UsZ4re.js";import{S as mu}from"./bb5Wjkri.js";import{u as pu,a as vu,c as Eo,S as hu}from"./DJfJ5NWH.js";import{T as Ds}from"./CRNfAyhd.js";import"./DCv0ZqUq.js";import{g as _u}from"./DZIz7Wk9.js";import{a as yu}from"./C3-0e__R.js";import{b as bu}from"./Bc7pHsTy.js";import{b as No}from"./DfTSMq0b.js";import{ah as Fa,n as wu}from"./CzW29tkb.js";import{x as xu}from"./Cj_UUgNI.js";import{c as ku}from"./BGT9uvaQ.js";import{r as Lo}from"./_EqQOSVK.js";function Iu(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:l,workspaceId:c,reason:f}=t;if(typeof a!="string"||typeof s!="string"||!s||typeof o!="string"||!o||typeof l!="string"||!l||typeof c!="string"||!c||f!=="finished"&&f!=="ttl-expired"&&f!=="output-match"&&f!=="line-count")return null;const y=t.trigger;return{scriptName:a,scriptId:s,runId:o,monitorId:l,workspaceId:c,reason:f,...f==="output-match"&&typeof y?.matchedLine=="string"?{matchedLine:y.matchedLine}:{}}}function Su(r){return r?.type==="script_monitor_wake"&&!("remoteAgentId"in r)}function Tu(r,t,a,s=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const o=r.messageMetadata?.fromPrincipalId??r.author?.principalId,l=iu(r)&&r.author?.principalId!==null&&o===t;return{edit:l,remove:l||t===a||s,sendNow:(l||s)&&!Di(r)}}function kn(r,t){if(t)return r.find(a=>a.editing&&a.editingMessageId?a.editingMessageId===t:a.id===t)}function Di(r){return Su(r.messageMetadata)&&typeof r.messageMetadata?.monitorId=="string"}function $o(r,t=Date.now()){const a=r.messageMetadata,s=a?.fromPrincipalId,o=a&&Object.hasOwn(a,"humanAuthor")&&!(typeof s=="string"&&s.length>0),l=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!l&&!o&&!Di(r)}const F_="pl-3.5! pr-2!";var Cu=x('<span class="tile-remove-slot svelte-d8pwpf"><!></span>'),Oo=x('<span class="attachment-status svelte-d8pwpf"> </span>'),Mu=x('<div class="file-image tile svelte-d8pwpf" data-kind="file"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),Au=x("<!><span> </span>",1),Pu=x('<img alt="" draggable="false"/>'),Ru=x('<span class="summary svelte-d8pwpf" data-clip-summary=""> </span>'),Eu=x('<span class="clip svelte-d8pwpf"><span class="record-dot svelte-d8pwpf" aria-hidden="true"></span><span class="duration svelte-d8pwpf"> </span><!></span>'),Nu=x('<div class="tile svelte-d8pwpf"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),Lu=x('<div class="attachment-row svelte-d8pwpf" role="group" data-dock-media-attachments=""></div>'),$u=x("<!> <!> <!>",1),Ou=x('<img draggable="false" class="svelte-d8pwpf"/>'),qu=x('<video controls="" playsinline="" class="svelte-d8pwpf"></video>',2),Du=x('<div class="media-viewer svelte-d8pwpf"><!></div>'),Bu=x("<!> <!>",1);function Fu(r,t){if(new.target)return St({component:Fu,...r});Mt(t,!0);const a=(P,ye=rr,ce=rr)=>{var T=Cu(),ge=W(T);st(ge,{variant:"secondary",size:"icon-sm",class:"tile-action tile-remove",get disabled(){return l()},get"aria-label"(){return ce()},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return ce()},onclick:()=>L(ye()),children:(Me,$e)=>{ws(Me,{glyph:"x"})},$$slots:{default:!0}}),O(T),d(P,T)};let s=g(t,"items",7),o=g(t,"labels",7),l=g(t,"disabled",7,!1),c=g(t,"onMarkUp",7),f=g(t,"onEdit",7),y=g(t,"onRemove",7),v=g(t,"onRetry",7),I=g(t,"onCopy",7),N=g(t,"onMenu",7);const q=P=>P.owner==="attachment"?2:{image:0,clip:1,file:2}[P.kind],X=n(()=>[...s()].sort((P,ye)=>q(P)-q(ye)));let k=_e(null),E=_e(!1),se=_e(null),G=null;const R=n(()=>s().find(P=>P.id===e(se)));ar(()=>{(!e(R)||e(R).kind==="image"&&!U(e(R)))&&H(E,!1)});function U(P){return P.kind==="image"&&P.status!=="placing"&&P.status!=="failed"&&P.url.trim().length>0}function B(P){return P.kind==="image"?o().image(P.markCount):P.kind==="clip"?P.summary?`${o().clip(P.duration)} ${P.summary}`:o().clip(P.duration):P.name}function ne(P,ye){if(!(l()||P.kind==="file"||P.kind==="image"&&!U(P)||P.kind==="clip"&&(!P.url||P.recording))){if((P.kind==="clip"||P.kind==="image")&&f()){f()(P.id);return}G=ye,H(se,P.id,!0),H(E,!0)}}async function L(P){l()||(e(se)===P&&H(E,!1),y()(P),await ba(),(!document.activeElement||document.activeElement===document.body)&&e(k)?.querySelector("button:not(:disabled)")?.focus())}function F(P){const ye=s().find(ce=>ce.id===P);l()||!ye||!U(ye)||(H(E,!1),f()?f()(P):c()(P))}function te(P,ye){P.key!=="Delete"||l()||(P.preventDefault(),P.stopPropagation(),L(ye))}function S(P){return P.status==="placing"||P.status==="failed"?!1:P.kind==="image"?!!P.file||U(P):P.kind==="clip"&&!P.recording&&!!P.url}function J(P,ye){const ce=Bl()?P.metaKey:P.ctrlKey,T=P.key.toLowerCase();if(ce&&!P.shiftKey&&!P.altKey&&(T==="c"||T==="x")){if(!I()||!S(ye)||(P.preventDefault(),P.stopPropagation(),T==="x"&&l()))return;I()(ye.id,T==="x");return}te(P,ye.id)}function oe(P,ye){!N()||!S(ye)||(P.preventDefault(),N()(ye.id))}var ke={get items(){return s()},set items(P){s(P),m()},get labels(){return o()},set labels(P){o(P),m()},get disabled(){return l()},set disabled(P=!1){l(P),m()},get onMarkUp(){return c()},set onMarkUp(P){c(P),m()},get onEdit(){return f()},set onEdit(P){f(P),m()},get onRemove(){return y()},set onRemove(P){y(P),m()},get onRetry(){return v()},set onRetry(P){v(P),m()},get onCopy(){return I()},set onCopy(P){I(P),m()},get onMenu(){return N()},set onMenu(P){N(P),m()},$set:Tt,$on:(P,ye)=>Ct(t,P,ye)},ue=Bu(),Ce=ve(ue);{var De=P=>{var ye=Lu();Ar(ye,21,()=>e(X),ce=>ce.id,(ce,T)=>{var ge=kt(),Me=ve(ge);{var $e=Ie=>{var M=Mu(),Z=W(M);{let V=n(()=>l()||e(T).status==="placing");fi(Z,{get id(){return e(T).id},get name(){return e(T).file.name},get type(){return e(T).file.imageMimeType},get imageData(){return e(T).file.imageData},get imageMimeType(){return e(T).file.imageMimeType},variant:"thumbnail",thumbnailClass:"size-full",class:"size-full",get disabled(){return e(V)},get placementStatus(){return e(T).status},get placementError(){return e(T).error}})}var re=C(Z,2);{var ie=V=>{var Re=Oo(),We=le(Re,!0);$(()=>{ee(Re,"data-failed",e(T).status==="failed"||void 0),ee(Re,"role",e(T).status==="failed"?"alert":"status"),ee(Re,"title",e(T).error),Y(We,e(T).status==="failed"?e(T).error??o().attachmentFailed:o().attachmentPending)}),d(V,Re)};D(re,V=>{e(T).status&&V(ie)})}var b=C(re,2),be=W(b);{var Ne=V=>{st(V,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(T).id),children:(Re,We)=>{Ot(Re,{get icon(){return $s},size:16})},$$slots:{default:!0}})};D(be,V=>{e(T).status==="failed"&&v()&&V(Ne)})}var A=C(be,2);{let V=n(()=>u.chat_attachmentPreview_remove_ariaLabel({name:e(T).file.name}));a(A,()=>e(T).id,()=>e(V))}O(b),O(M),$(()=>ee(M,"data-attachment-id",e(T).id)),Mr("keydown",M,V=>J(V,e(T))),Mr("contextmenu",M,V=>oe(V,e(T))),Ut(1,M,()=>En,()=>({tier:"fast",y:3,scale:.98})),Ut(2,M,()=>Qa,()=>({tier:"fast"})),d(Ie,M)},Pe=Ie=>{const M=n(()=>e(T).kind==="image"&&!U(e(T))&&e(T).status!=="failed");var Z=Nu(),re=W(Z);{var ie=me=>{st(me,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile file",get"aria-label"(){return e(T).name},get disabled(){return l()},onkeydown:Oe=>te(Oe,e(T).id),children:(Oe,Se)=>{var Be=Au(),ae=ve(Be);Ot(ae,{get icon(){return ya},size:20});var Ge=C(ae),dt=le(Ge,!0);$(()=>Y(dt,e(T).name)),d(Oe,Be)},$$slots:{default:!0}})},b=me=>{{let Oe=n(()=>B(e(T))),Se=n(()=>l()||e(T).kind==="clip"&&(e(T).recording||!e(T).url));st(me,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile",get"aria-label"(){return e(Oe)},get disabled(){return e(Se)},onkeydown:Be=>J(Be,e(T)),onclick:Be=>{Be.currentTarget instanceof HTMLElement&&ne(e(T),Be.currentTarget)},children:(Be,ae)=>{var Ge=kt(),dt=ve(Ge);{var sr=Le=>{var lt=Pu();$(()=>ee(lt,"src",e(T).url)),d(Le,lt)},Gt=Le=>{var lt=Eu(),qt=C(W(lt)),Je=le(qt,!0),qe=C(qt);{var bt=j=>{var h=Ru(),he=le(h,!0);$(()=>Y(he,e(T).summary)),d(j,h)};D(qe,j=>{e(T).summary&&j(bt)})}O(lt),$(()=>Y(Je,e(T).duration)),d(Le,lt)};D(dt,Le=>{e(T).kind==="image"?Le(sr):Le(Gt,-1)})}d(Be,Ge)},$$slots:{default:!0}})}},be=n(()=>e(T).kind!=="image"||U(e(T)));D(re,me=>{e(T).kind==="file"?me(ie):e(be)&&me(b,1)})}var Ne=C(re,2);{var A=me=>{var Oe=Oo(),Se=le(Oe,!0);$(()=>{ee(Oe,"data-failed",e(T).status==="failed"||void 0),ee(Oe,"role",e(T).status==="failed"?"alert":"status"),ee(Oe,"title",e(T).error),Y(Se,e(T).status==="failed"?e(T).error??o().attachmentFailed:o().attachmentPending)}),d(me,Oe)};D(Ne,me=>{(e(T).status||e(M))&&me(A)})}var V=C(Ne,2),Re=W(V);{var We=me=>{st(me,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(T).id),children:(Oe,Se)=>{Ot(Oe,{get icon(){return $s},size:16})},$$slots:{default:!0}})},et=me=>{{let Oe=n(()=>f()?o().edit:o().markUp),Se=n(()=>f()?o().edit:o().markUp);st(me,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return e(Oe)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Se)},onclick:()=>F(e(T).id),children:(Be,ae)=>{ws(Be,{glyph:"pencil"})},$$slots:{default:!0}})}},Ke=n(()=>U(e(T))),Bt=me=>{{let Oe=n(()=>f()?o().edit:o().play),Se=n(()=>f()?o().edit:o().play);st(me,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return e(Oe)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Se)},onclick:Be=>{Be.currentTarget instanceof HTMLElement&&ne(e(T),Be.currentTarget)},children:(Be,ae)=>{{let Ge=n(()=>f()?"pencil":"play");ws(Be,{get glyph(){return e(Ge)}})}},$$slots:{default:!0}})}};D(Re,me=>{e(T).status==="failed"&&v()?me(We):e(Ke)?me(et,1):e(T).kind==="clip"&&!e(T).recording&&e(T).url&&me(Bt,2)})}var we=C(Re,2);a(we,()=>e(T).id,()=>o().remove),O(V),O(Z),$(()=>{ee(Z,"data-kind",e(T).kind),ee(Z,"data-attachment-id",e(T).id),ee(Z,"aria-busy",e(M)||void 0)}),Mr("contextmenu",Z,me=>oe(me,e(T))),Ut(1,Z,()=>En,()=>({tier:"fast",y:3,scale:.98})),Ut(2,Z,()=>Qa,()=>({tier:"fast"})),d(Ie,Z)};D(Me,Ie=>{e(T).kind==="image"&&e(T).file?Ie($e):Ie(Pe,-1)})}d(ce,ge)}),O(ye),sa(ye,ce=>H(k,ce),()=>e(k)),$(()=>ee(ye,"aria-label",o().attachments)),d(P,ye)};D(Ce,P=>{e(X).length&&P(De)})}var at=C(Ce,2);{const P=ce=>{var T=kt(),ge=ve(T);{var Me=$e=>{var Pe=$u(),Ie=ve(Pe);{var M=b=>{st(b,{variant:"primary",get disabled(){return l()},onclick:()=>e(R)&&F(e(R).id),children:(be,Ne)=>{vr();var A=Wr();$(()=>Y(A,o().markUp)),d(be,A)},$$slots:{default:!0}})},Z=n(()=>U(e(R)));D(Ie,b=>{e(Z)&&b(M)})}var re=C(Ie,2);st(re,{variant:"secondary",get disabled(){return l()},onclick:()=>e(R)&&L(e(R).id),children:(b,be)=>{vr();var Ne=Wr();$(()=>Y(Ne,o().remove)),d(b,Ne)},$$slots:{default:!0}});var ie=C(re,2);st(ie,{variant:"ghost-light",onclick:()=>{H(E,!1)},children:(b,be)=>{vr();var Ne=Wr();$(()=>Y(Ne,o().done)),d(b,Ne)},$$slots:{default:!0}}),d($e,Pe)};D(ge,$e=>{e(R)&&e(R).kind!=="file"&&$e(Me)})}d(ce,T)};let ye=n(()=>e(R)?B(e(R)):o().attachments);ui(at,{get title(){return e(ye)},size:"wide",showCloseButton:!1,onCloseAutoFocus:ce=>{ce.preventDefault(),G?.isConnected?G.focus():e(k)?.querySelector("button:not(:disabled)")?.focus()},get open(){return e(E)},set open(ce){H(E,ce,!0)},footer:P,children:(ce,T)=>{var ge=kt(),Me=ve(ge);{var $e=Pe=>{var Ie=Du(),M=W(Ie);{var Z=b=>{var be=Ou();$(Ne=>{ee(be,"src",e(R).url),ee(be,"alt",Ne)},[()=>B(e(R))]),d(b,be)},re=n(()=>e(R).kind==="image"&&U(e(R))),ie=b=>{var be=qu();$(Ne=>{ee(be,"src",e(R).url),ee(be,"aria-label",Ne)},[()=>B(e(R))]),d(b,be)};D(M,b=>{e(re)?b(Z):e(R).kind==="clip"&&e(R).url&&b(ie,1)})}O(Ie),d(Pe,Ie)};D(Me,Pe=>{e(R)&&e(R).kind!=="file"&&Pe($e)})}d(ce,ge)},$$slots:{footer:!0,default:!0}})}return d(r,ue),At(ke)}Ja(["keydown","contextmenu"]);var Wu=x("<!> ",1),zu=x('<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 Bi(r,t){if(new.target)return St({component:Bi,...r});Mt(t,!0);let a=g(t,"name",7),s=g(t,"description",7),o=g(t,"content",7),l=g(t,"onUseScript",7),c=_e(!1);function f(){navigator.clipboard.writeText(o()),H(c,!0),setTimeout(()=>{H(c,!1)},2e3)}function y(){l()?.({name:a(),description:s(),content:o()})}var v={get name(){return a()},set name(S){a(S),m()},get description(){return s()},set description(S){s(S),m()},get content(){return o()},set content(S){o(S),m()},get onUseScript(){return l()},set onUseScript(S){l(S),m()},$set:Tt,$on:(S,J)=>Ct(t,S,J)},I=zu(),N=W(I),q=W(N),X=W(q),k=W(X);Ot(k,{get icon(){return us},size:"sm"}),O(X);var E=C(X,2),se=le(E,!0);O(q);var G=C(q,2),R=W(G);st(R,{variant:"ghost-light",size:"sm",onclick:f,class:"h-7 px-2",children:(S,J)=>{var oe=Wu(),ke=ve(oe);{let Ce=n(()=>e(c)?di:ci);Ot(ke,{get icon(){return e(Ce)},class:"mr-1"})}var ue=C(ke);$(Ce=>Y(ue,` ${Ce??""}`),[()=>e(c)?u.chat_shared_copied_label():u.chat_shared_copy_label()]),d(S,oe)},$$slots:{default:!0}});var U=C(R,2);{var B=S=>{st(S,{variant:"ghost-light",size:"sm",onclick:y,class:"h-7 px-2",children:(J,oe)=>{vr();var ke=Wr();$(ue=>Y(ke,ue),[()=>u.chat_setupScriptCard_useScript_label()]),d(J,ke)},$$slots:{default:!0}})};D(U,S=>{l()&&S(B)})}O(G),O(N);var ne=C(N,2),L=le(ne,!0),F=C(ne,2),te=le(F,!0);return O(I),$(()=>{Y(se,a()),Y(L,s()),Y(te,o())}),d(r,I),At(v)}const kr={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 Hu{constructor(){ma(this,"buffer","");ma(this,"currentToolName",null);ma(this,"currentToolId",null);ma(this,"lastToolId",null);ma(this,"currentToolParams",[]);ma(this,"currentToolResultContent",[]);ma(this,"inToolResult",!1);ma(this,"inCodeBlock",!1);ma(this,"codeBlockLanguage","");ma(this,"codeBlockContent","");ma(this,"characterBuffer","");ma(this,"inCharacterMode",!1);ma(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const o=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const f=this.currentToolResultContent.some(v=>v.startsWith("❌")||v.startsWith("Error:")),y=this.currentToolResultContent.map(v=>v.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
|
|
1
|
+
var Cl=Object.defineProperty;var Ml=(r,t,a)=>t in r?Cl(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a;var ma=(r,t,a)=>Ml(r,typeof t!="symbol"?t+"":t,a);import{t as St,bo as g,bw as Tt,b as Ct,bm as u,bq as Ha,bs as cr,br as Al,bp as mn}from"./51_h0jm2.js";import{ai as Ja,bs as Mt,ca as ar,aD as e,bH as H,ay as ve,bS as C,a7 as kt,W as d,a5 as W,bA as O,bn as At,c9 as n,bV as _e,aA as m,b_ as $,aj as Mr,aB as x,be as vr,b$ as Wr,bO as Y,bf as rr,c0 as ba,bl as le,bj as Wa,c6 as Pl,bo as On,br as Xr,am as $a,ax as Oa,bk as Jn,aw as gn,bz as es,cb as ds,c5 as Dn,aC as Sr,cd as uo,bv as Rl}from"./CJxGDkBm.js";import{i as D}from"./PXCFrn2V.js";import{g as Ar,e as ua,p as cs,i as Za,I as El,h as Zs,X as ii,o as Nl}from"./Bjy4ygfJ.js";import{n as Ut,l as En,c as Qa,g as rn,s as hs,k as ts,S as Ll}from"./BxwkoIbZ.js";import{s as ee,f as Fe,g as pn,c as xt,e as tr,b as vn,p as $l,S as Ol,C as ql}from"./CpPNoOk-.js";import{b as sa}from"./NtFyWdpR.js";import{f as st,ae as Qs,a_ as Dl}from"./BnA9v3pc.js";import{J as Bl,O as Fl,Q as _s}from"./rIUowGAi.js";import"./DKn1sQ32.js";import"./BGP1lrgu.js";import"./CN-6Tr26.js";import{k as li,s as Ra}from"./DxvSggY5.js";import{F as Ot,a4 as $s,bg as ya,cK as us,au as di,aZ as ci,aK as Wl,c9 as zl,a6 as rs,aN as Hl,cN as Ul,cM as jl,a3 as fs,aC as as,aw as Xs,I as fo,aj as Vl,bu as Kl,aS as Gl,aX as Zl,bJ as Ql,ao as Xl,cC as Yl,aP as go,c0 as ys,aI as Bn,cW as Jl,cb as ed,bn as td,b as rd,cp as ad,ag as nd,ba as bs,cr as _n,cF as sd}from"./DSQT151l.js";import{C as ui,A as od,o as id}from"./rei1qYSi.js";import{b as ws,V as mo}from"./CjswKKTa.js";import{A as fi,I as ld,R as dd,q as cd}from"./L-jTlD15.js";import{bZ as gi,j as Hn,a6 as Os,am as ns,F as ud,av as Un,aP as fd,aS as po}from"./DqMtaSxK.js";import{t as an,o as gd}from"./DAsc1V4f.js";import{ce as jn,aN as Nn,c$ as mi,d1 as za,c3 as gs,q as md,cU as pi,c_ as ms,cZ as vi,cX as hi,n as Pa,al as pd,am as vd,aI as hd,z as _d,V as yd,a3 as vo,D as _i,e0 as bd,aE as wd,ak as xd,r as kd,C as xs,ag as Id,U as yn,d$ as Sd,ab as Td,k as ho,u as Cd,Z as Md,v as Ad,i as Pd,g as ks,f as _o,a0 as Rd,$ as Ed,a9 as Nd,x as yi,y as bi,l as wi,j as Ld,s as $d,a as Od,d2 as qd,ae as Dd,L as Bd,F as Fd,a2 as yo}from"./C2wWLl1x.js";import{J5 as yt,oP as Wd,tA as Vn,nE as bo,vt as xi,vv as ki,rN as zd,yr as ss,uM as Ii,nz as Si,bl as Kn,ys as Hd,qn as Ud,t4 as jd,vm as Ti,ny as Vd,mD as Kd,i as Gd,yV as Zd,yS as Qd,yU as Xd}from"./CI4_aI7e.js";import{a3 as Yd,y as Is,a1 as Jd,O as Ss,W as ec,$ as tc,k as rc,p as bn,P as cn,q as ac,G as nc,v as sc,t as oc,M as Ts,K as ic,z as lc,L as dc,_ as Sn,U as Fn,N as wo,n as xo,E as cc,c as Cs,F as ko,B as uc,w as Io,J as Tn,Q as fc,H as gc,j as mc,R as pc,T as vc,A as hc,g as _c,b as yc,D as bc,f as wc,e as xc,a as kc,C as Ic,i as Sc,d as qs,V as Ci,a4 as Tc,u as Cc,l as Mc}from"./7aKXh--T.js";import{i as Ac,e as Pc}from"./BoQ8Q7zJ.js";import{g as Ms}from"./B5aYN90J.js";import{M as wn,C as Cn}from"./DM71GnMx.js";import{C as So}from"./e_K38tqB.js";import"./CkoG9STP.js";import{P as Rc}from"./nrAGmqbi.js";import"./NgjMs0r6.js";import{c as Mi}from"./ChTqQfQN.js";import{S as Ec}from"./Cum1dYpM.js";import{D as To,M as Nc}from"./aitTA173.js";import{b as Lc,s as Ya,c as os}from"./CzMPk75T.js";import{O as Gn,y as As,E as Ps,B as Rs,N as $c,m as Oc,l as qc,k as Dc,d as Ln,C as Co,f as Bc,e as Fc,g as Wc}from"./eNRNxfO0.js";import{a as Ai,s as Mo}from"./BsieX9dN.js";import{f as zc}from"./BdWqymET.js";import{c as na}from"./CQIdhUGs.js";import{a as Hc,k as Pi,h as Ys,q as Ri,l as Ir}from"./DqFWZ_g1.js";import{P as Uc}from"./BROVvkEL.js";import{r as Es,q as Ns,B as Ao,i as jc}from"./DhWcN4bx.js";import{R as Ei,C as ps,m as Vc,h as Kc,g as Gc,i as Po,P as Zc}from"./Cz-HgbT1.js";import"./BLb6jd9K.js";import{c as Qc,s as Xc}from"./DteD0Nal.js";import{h as An}from"./pehcYFWW.js";import{b as Yc,a as Ni}from"./BVDDJIsV.js";import{P as Li}from"./DUctnn_k.js";import{B as Jc}from"./CplGG62F.js";import{o as $i,r as eu,e as tu}from"./CC-xReBN.js";import{o as Oi}from"./CNkmihEX.js";import{A as Zn,b as qi}from"./BR75pcGU.js";import{g as Js}from"./DcsxLfDg.js";import{a as ru,M as au}from"./BQDGTBxC.js";import{t as Nr}from"./D2MmXC4A.js";import{c as xn}from"./DGmOjLYi.js";import{A as nu}from"./DOwDDYVN.js";import{f as su,d as ou}from"./DUfE7lx2.js";import{a8 as iu,N as lu,Y as du,K as Ro,X as cu,v as uu}from"./1BRHaRmm.js";import{a as fu}from"./CC7to1B5.js";import{k as gu}from"./C9UsZ4re.js";import{S as mu}from"./BOROIf_S.js";import{u as pu,a as vu,c as Eo,S as hu}from"./DJfJ5NWH.js";import{T as Ds}from"./DAfOI1BG.js";import"./DCv0ZqUq.js";import{g as _u}from"./BaGw_bDr.js";import{a as yu}from"./C3-0e__R.js";import{b as bu}from"./C1YR8Gnj.js";import{b as No}from"./DfTSMq0b.js";import{ah as Fa,n as wu}from"./CAV1CzzW.js";import{x as xu}from"./DaqXt9wp.js";import{c as ku}from"./Dg9ZuAkk.js";import{r as Lo}from"./Dax7ITFa.js";function Iu(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:l,workspaceId:c,reason:f}=t;if(typeof a!="string"||typeof s!="string"||!s||typeof o!="string"||!o||typeof l!="string"||!l||typeof c!="string"||!c||f!=="finished"&&f!=="ttl-expired"&&f!=="output-match"&&f!=="line-count")return null;const y=t.trigger;return{scriptName:a,scriptId:s,runId:o,monitorId:l,workspaceId:c,reason:f,...f==="output-match"&&typeof y?.matchedLine=="string"?{matchedLine:y.matchedLine}:{}}}function Su(r){return r?.type==="script_monitor_wake"&&!("remoteAgentId"in r)}function Tu(r,t,a,s=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const o=r.messageMetadata?.fromPrincipalId??r.author?.principalId,l=iu(r)&&r.author?.principalId!==null&&o===t;return{edit:l,remove:l||t===a||s,sendNow:(l||s)&&!Di(r)}}function kn(r,t){if(t)return r.find(a=>a.editing&&a.editingMessageId?a.editingMessageId===t:a.id===t)}function Di(r){return Su(r.messageMetadata)&&typeof r.messageMetadata?.monitorId=="string"}function $o(r,t=Date.now()){const a=r.messageMetadata,s=a?.fromPrincipalId,o=a&&Object.hasOwn(a,"humanAuthor")&&!(typeof s=="string"&&s.length>0),l=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!l&&!o&&!Di(r)}const F_="pl-3.5! pr-2!";var Cu=x('<span class="tile-remove-slot svelte-d8pwpf"><!></span>'),Oo=x('<span class="attachment-status svelte-d8pwpf"> </span>'),Mu=x('<div class="file-image tile svelte-d8pwpf" data-kind="file"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),Au=x("<!><span> </span>",1),Pu=x('<img alt="" draggable="false"/>'),Ru=x('<span class="summary svelte-d8pwpf" data-clip-summary=""> </span>'),Eu=x('<span class="clip svelte-d8pwpf"><span class="record-dot svelte-d8pwpf" aria-hidden="true"></span><span class="duration svelte-d8pwpf"> </span><!></span>'),Nu=x('<div class="tile svelte-d8pwpf"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),Lu=x('<div class="attachment-row svelte-d8pwpf" role="group" data-dock-media-attachments=""></div>'),$u=x("<!> <!> <!>",1),Ou=x('<img draggable="false" class="svelte-d8pwpf"/>'),qu=x('<video controls="" playsinline="" class="svelte-d8pwpf"></video>',2),Du=x('<div class="media-viewer svelte-d8pwpf"><!></div>'),Bu=x("<!> <!>",1);function Fu(r,t){if(new.target)return St({component:Fu,...r});Mt(t,!0);const a=(P,ye=rr,ce=rr)=>{var T=Cu(),ge=W(T);st(ge,{variant:"secondary",size:"icon-sm",class:"tile-action tile-remove",get disabled(){return l()},get"aria-label"(){return ce()},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return ce()},onclick:()=>L(ye()),children:(Me,$e)=>{ws(Me,{glyph:"x"})},$$slots:{default:!0}}),O(T),d(P,T)};let s=g(t,"items",7),o=g(t,"labels",7),l=g(t,"disabled",7,!1),c=g(t,"onMarkUp",7),f=g(t,"onEdit",7),y=g(t,"onRemove",7),v=g(t,"onRetry",7),I=g(t,"onCopy",7),N=g(t,"onMenu",7);const q=P=>P.owner==="attachment"?2:{image:0,clip:1,file:2}[P.kind],X=n(()=>[...s()].sort((P,ye)=>q(P)-q(ye)));let k=_e(null),E=_e(!1),se=_e(null),G=null;const R=n(()=>s().find(P=>P.id===e(se)));ar(()=>{(!e(R)||e(R).kind==="image"&&!U(e(R)))&&H(E,!1)});function U(P){return P.kind==="image"&&P.status!=="placing"&&P.status!=="failed"&&P.url.trim().length>0}function B(P){return P.kind==="image"?o().image(P.markCount):P.kind==="clip"?P.summary?`${o().clip(P.duration)} ${P.summary}`:o().clip(P.duration):P.name}function ne(P,ye){if(!(l()||P.kind==="file"||P.kind==="image"&&!U(P)||P.kind==="clip"&&(!P.url||P.recording))){if((P.kind==="clip"||P.kind==="image")&&f()){f()(P.id);return}G=ye,H(se,P.id,!0),H(E,!0)}}async function L(P){l()||(e(se)===P&&H(E,!1),y()(P),await ba(),(!document.activeElement||document.activeElement===document.body)&&e(k)?.querySelector("button:not(:disabled)")?.focus())}function F(P){const ye=s().find(ce=>ce.id===P);l()||!ye||!U(ye)||(H(E,!1),f()?f()(P):c()(P))}function te(P,ye){P.key!=="Delete"||l()||(P.preventDefault(),P.stopPropagation(),L(ye))}function S(P){return P.status==="placing"||P.status==="failed"?!1:P.kind==="image"?!!P.file||U(P):P.kind==="clip"&&!P.recording&&!!P.url}function J(P,ye){const ce=Bl()?P.metaKey:P.ctrlKey,T=P.key.toLowerCase();if(ce&&!P.shiftKey&&!P.altKey&&(T==="c"||T==="x")){if(!I()||!S(ye)||(P.preventDefault(),P.stopPropagation(),T==="x"&&l()))return;I()(ye.id,T==="x");return}te(P,ye.id)}function oe(P,ye){!N()||!S(ye)||(P.preventDefault(),N()(ye.id))}var ke={get items(){return s()},set items(P){s(P),m()},get labels(){return o()},set labels(P){o(P),m()},get disabled(){return l()},set disabled(P=!1){l(P),m()},get onMarkUp(){return c()},set onMarkUp(P){c(P),m()},get onEdit(){return f()},set onEdit(P){f(P),m()},get onRemove(){return y()},set onRemove(P){y(P),m()},get onRetry(){return v()},set onRetry(P){v(P),m()},get onCopy(){return I()},set onCopy(P){I(P),m()},get onMenu(){return N()},set onMenu(P){N(P),m()},$set:Tt,$on:(P,ye)=>Ct(t,P,ye)},ue=Bu(),Ce=ve(ue);{var De=P=>{var ye=Lu();Ar(ye,21,()=>e(X),ce=>ce.id,(ce,T)=>{var ge=kt(),Me=ve(ge);{var $e=Ie=>{var M=Mu(),Z=W(M);{let V=n(()=>l()||e(T).status==="placing");fi(Z,{get id(){return e(T).id},get name(){return e(T).file.name},get type(){return e(T).file.imageMimeType},get imageData(){return e(T).file.imageData},get imageMimeType(){return e(T).file.imageMimeType},variant:"thumbnail",thumbnailClass:"size-full",class:"size-full",get disabled(){return e(V)},get placementStatus(){return e(T).status},get placementError(){return e(T).error}})}var re=C(Z,2);{var ie=V=>{var Re=Oo(),We=le(Re,!0);$(()=>{ee(Re,"data-failed",e(T).status==="failed"||void 0),ee(Re,"role",e(T).status==="failed"?"alert":"status"),ee(Re,"title",e(T).error),Y(We,e(T).status==="failed"?e(T).error??o().attachmentFailed:o().attachmentPending)}),d(V,Re)};D(re,V=>{e(T).status&&V(ie)})}var b=C(re,2),be=W(b);{var Ne=V=>{st(V,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(T).id),children:(Re,We)=>{Ot(Re,{get icon(){return $s},size:16})},$$slots:{default:!0}})};D(be,V=>{e(T).status==="failed"&&v()&&V(Ne)})}var A=C(be,2);{let V=n(()=>u.chat_attachmentPreview_remove_ariaLabel({name:e(T).file.name}));a(A,()=>e(T).id,()=>e(V))}O(b),O(M),$(()=>ee(M,"data-attachment-id",e(T).id)),Mr("keydown",M,V=>J(V,e(T))),Mr("contextmenu",M,V=>oe(V,e(T))),Ut(1,M,()=>En,()=>({tier:"fast",y:3,scale:.98})),Ut(2,M,()=>Qa,()=>({tier:"fast"})),d(Ie,M)},Pe=Ie=>{const M=n(()=>e(T).kind==="image"&&!U(e(T))&&e(T).status!=="failed");var Z=Nu(),re=W(Z);{var ie=me=>{st(me,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile file",get"aria-label"(){return e(T).name},get disabled(){return l()},onkeydown:Oe=>te(Oe,e(T).id),children:(Oe,Se)=>{var Be=Au(),ae=ve(Be);Ot(ae,{get icon(){return ya},size:20});var Ge=C(ae),dt=le(Ge,!0);$(()=>Y(dt,e(T).name)),d(Oe,Be)},$$slots:{default:!0}})},b=me=>{{let Oe=n(()=>B(e(T))),Se=n(()=>l()||e(T).kind==="clip"&&(e(T).recording||!e(T).url));st(me,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile",get"aria-label"(){return e(Oe)},get disabled(){return e(Se)},onkeydown:Be=>J(Be,e(T)),onclick:Be=>{Be.currentTarget instanceof HTMLElement&&ne(e(T),Be.currentTarget)},children:(Be,ae)=>{var Ge=kt(),dt=ve(Ge);{var sr=Le=>{var lt=Pu();$(()=>ee(lt,"src",e(T).url)),d(Le,lt)},Gt=Le=>{var lt=Eu(),qt=C(W(lt)),Je=le(qt,!0),qe=C(qt);{var bt=j=>{var h=Ru(),he=le(h,!0);$(()=>Y(he,e(T).summary)),d(j,h)};D(qe,j=>{e(T).summary&&j(bt)})}O(lt),$(()=>Y(Je,e(T).duration)),d(Le,lt)};D(dt,Le=>{e(T).kind==="image"?Le(sr):Le(Gt,-1)})}d(Be,Ge)},$$slots:{default:!0}})}},be=n(()=>e(T).kind!=="image"||U(e(T)));D(re,me=>{e(T).kind==="file"?me(ie):e(be)&&me(b,1)})}var Ne=C(re,2);{var A=me=>{var Oe=Oo(),Se=le(Oe,!0);$(()=>{ee(Oe,"data-failed",e(T).status==="failed"||void 0),ee(Oe,"role",e(T).status==="failed"?"alert":"status"),ee(Oe,"title",e(T).error),Y(Se,e(T).status==="failed"?e(T).error??o().attachmentFailed:o().attachmentPending)}),d(me,Oe)};D(Ne,me=>{(e(T).status||e(M))&&me(A)})}var V=C(Ne,2),Re=W(V);{var We=me=>{st(me,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(T).id),children:(Oe,Se)=>{Ot(Oe,{get icon(){return $s},size:16})},$$slots:{default:!0}})},et=me=>{{let Oe=n(()=>f()?o().edit:o().markUp),Se=n(()=>f()?o().edit:o().markUp);st(me,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return e(Oe)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Se)},onclick:()=>F(e(T).id),children:(Be,ae)=>{ws(Be,{glyph:"pencil"})},$$slots:{default:!0}})}},Ke=n(()=>U(e(T))),Bt=me=>{{let Oe=n(()=>f()?o().edit:o().play),Se=n(()=>f()?o().edit:o().play);st(me,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return e(Oe)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Se)},onclick:Be=>{Be.currentTarget instanceof HTMLElement&&ne(e(T),Be.currentTarget)},children:(Be,ae)=>{{let Ge=n(()=>f()?"pencil":"play");ws(Be,{get glyph(){return e(Ge)}})}},$$slots:{default:!0}})}};D(Re,me=>{e(T).status==="failed"&&v()?me(We):e(Ke)?me(et,1):e(T).kind==="clip"&&!e(T).recording&&e(T).url&&me(Bt,2)})}var we=C(Re,2);a(we,()=>e(T).id,()=>o().remove),O(V),O(Z),$(()=>{ee(Z,"data-kind",e(T).kind),ee(Z,"data-attachment-id",e(T).id),ee(Z,"aria-busy",e(M)||void 0)}),Mr("contextmenu",Z,me=>oe(me,e(T))),Ut(1,Z,()=>En,()=>({tier:"fast",y:3,scale:.98})),Ut(2,Z,()=>Qa,()=>({tier:"fast"})),d(Ie,Z)};D(Me,Ie=>{e(T).kind==="image"&&e(T).file?Ie($e):Ie(Pe,-1)})}d(ce,ge)}),O(ye),sa(ye,ce=>H(k,ce),()=>e(k)),$(()=>ee(ye,"aria-label",o().attachments)),d(P,ye)};D(Ce,P=>{e(X).length&&P(De)})}var at=C(Ce,2);{const P=ce=>{var T=kt(),ge=ve(T);{var Me=$e=>{var Pe=$u(),Ie=ve(Pe);{var M=b=>{st(b,{variant:"primary",get disabled(){return l()},onclick:()=>e(R)&&F(e(R).id),children:(be,Ne)=>{vr();var A=Wr();$(()=>Y(A,o().markUp)),d(be,A)},$$slots:{default:!0}})},Z=n(()=>U(e(R)));D(Ie,b=>{e(Z)&&b(M)})}var re=C(Ie,2);st(re,{variant:"secondary",get disabled(){return l()},onclick:()=>e(R)&&L(e(R).id),children:(b,be)=>{vr();var Ne=Wr();$(()=>Y(Ne,o().remove)),d(b,Ne)},$$slots:{default:!0}});var ie=C(re,2);st(ie,{variant:"ghost-light",onclick:()=>{H(E,!1)},children:(b,be)=>{vr();var Ne=Wr();$(()=>Y(Ne,o().done)),d(b,Ne)},$$slots:{default:!0}}),d($e,Pe)};D(ge,$e=>{e(R)&&e(R).kind!=="file"&&$e(Me)})}d(ce,T)};let ye=n(()=>e(R)?B(e(R)):o().attachments);ui(at,{get title(){return e(ye)},size:"wide",showCloseButton:!1,onCloseAutoFocus:ce=>{ce.preventDefault(),G?.isConnected?G.focus():e(k)?.querySelector("button:not(:disabled)")?.focus()},get open(){return e(E)},set open(ce){H(E,ce,!0)},footer:P,children:(ce,T)=>{var ge=kt(),Me=ve(ge);{var $e=Pe=>{var Ie=Du(),M=W(Ie);{var Z=b=>{var be=Ou();$(Ne=>{ee(be,"src",e(R).url),ee(be,"alt",Ne)},[()=>B(e(R))]),d(b,be)},re=n(()=>e(R).kind==="image"&&U(e(R))),ie=b=>{var be=qu();$(Ne=>{ee(be,"src",e(R).url),ee(be,"aria-label",Ne)},[()=>B(e(R))]),d(b,be)};D(M,b=>{e(re)?b(Z):e(R).kind==="clip"&&e(R).url&&b(ie,1)})}O(Ie),d(Pe,Ie)};D(Me,Pe=>{e(R)&&e(R).kind!=="file"&&Pe($e)})}d(ce,ge)},$$slots:{footer:!0,default:!0}})}return d(r,ue),At(ke)}Ja(["keydown","contextmenu"]);var Wu=x("<!> ",1),zu=x('<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 Bi(r,t){if(new.target)return St({component:Bi,...r});Mt(t,!0);let a=g(t,"name",7),s=g(t,"description",7),o=g(t,"content",7),l=g(t,"onUseScript",7),c=_e(!1);function f(){navigator.clipboard.writeText(o()),H(c,!0),setTimeout(()=>{H(c,!1)},2e3)}function y(){l()?.({name:a(),description:s(),content:o()})}var v={get name(){return a()},set name(S){a(S),m()},get description(){return s()},set description(S){s(S),m()},get content(){return o()},set content(S){o(S),m()},get onUseScript(){return l()},set onUseScript(S){l(S),m()},$set:Tt,$on:(S,J)=>Ct(t,S,J)},I=zu(),N=W(I),q=W(N),X=W(q),k=W(X);Ot(k,{get icon(){return us},size:"sm"}),O(X);var E=C(X,2),se=le(E,!0);O(q);var G=C(q,2),R=W(G);st(R,{variant:"ghost-light",size:"sm",onclick:f,class:"h-7 px-2",children:(S,J)=>{var oe=Wu(),ke=ve(oe);{let Ce=n(()=>e(c)?di:ci);Ot(ke,{get icon(){return e(Ce)},class:"mr-1"})}var ue=C(ke);$(Ce=>Y(ue,` ${Ce??""}`),[()=>e(c)?u.chat_shared_copied_label():u.chat_shared_copy_label()]),d(S,oe)},$$slots:{default:!0}});var U=C(R,2);{var B=S=>{st(S,{variant:"ghost-light",size:"sm",onclick:y,class:"h-7 px-2",children:(J,oe)=>{vr();var ke=Wr();$(ue=>Y(ke,ue),[()=>u.chat_setupScriptCard_useScript_label()]),d(J,ke)},$$slots:{default:!0}})};D(U,S=>{l()&&S(B)})}O(G),O(N);var ne=C(N,2),L=le(ne,!0),F=C(ne,2),te=le(F,!0);return O(I),$(()=>{Y(se,a()),Y(L,s()),Y(te,o())}),d(r,I),At(v)}const kr={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 Hu{constructor(){ma(this,"buffer","");ma(this,"currentToolName",null);ma(this,"currentToolId",null);ma(this,"lastToolId",null);ma(this,"currentToolParams",[]);ma(this,"currentToolResultContent",[]);ma(this,"inToolResult",!1);ma(this,"inCodeBlock",!1);ma(this,"codeBlockLanguage","");ma(this,"codeBlockContent","");ma(this,"characterBuffer","");ma(this,"inCharacterMode",!1);ma(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const o=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const f=this.currentToolResultContent.some(v=>v.startsWith("❌")||v.startsWith("Error:")),y=this.currentToolResultContent.map(v=>v.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
|
|
2
2
|
`);o.push({type:"tool_result",content:y,metadata:{toolId:this.currentToolId,isError:f}}),this.lastToolId=this.currentToolId,this.currentToolId=null,this.inToolResult=!1,this.currentToolResultContent=[]}const l=t.indexOf("🤖"),c=t.substring(l+2);if(this.inCharacterMode=!0,this.characterBuffer="",c&&c.trim()&&c!==`
|
|
3
3
|
`){const f=c.replace(/^\n/,"");f&&(this.characterBuffer=f)}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{aB as v,b as y}from"./
|
|
1
|
+
import{aB as v,b as y}from"./aitTA173.js";var w=5,O=1e-5,X=2,Y=.6,R=1e-6;function N(t){const e=[];for(let s=0;s<t.length-1;s++)e.push({a:t[s],b:t[s+1]});return e}y(N,"buildSegmentList");function T(t,e,s,a){const r=e.x-t.x,o=e.y-t.y,i=a.x-s.x,d=a.y-s.y,u=r*d-o*i;if(u===0)return null;const n=s.x-t.x,c=s.y-t.y,p=(n*d-c*i)/u,f=(n*o-c*r)/u;return p<=R||p>=1-R||f<=R||f>=1-R?null:{point:{x:t.x+p*r,y:t.y+p*o},tA:p,tB:f}}y(T,"segmentIntersection");function P(t){return Math.abs(t.b.x-t.a.x)>=Math.abs(t.b.y-t.a.y)}y(P,"isHorizontalSeg");function B(t,e,s){if(t.curve!=="rounded")return!1;const a=t.points,r=a[e],o=a[e+1];if(!r||!o)return!1;const i=Math.hypot(o.x-r.x,o.y-r.y),d=s*i,u=e>0?L(a[e-1],r,o,w):null;if(u&&d<u.cutLen)return!0;const n=e+2<a.length?L(r,o,a[e+2],w):null;return n!==null&&i-d<n.cutLen}y(B,"crossingSitsInRoundedCorner");function C(t){const e=[];for(let s=0;s<t.length;s++){const a=t[s],r=N(a.points);for(let o=s+1;o<t.length;o++){const i=t[o],d=N(i.points);for(const[u,n]of r.entries())for(const[c,p]of d.entries()){const f=T(n.a,n.b,p.a,p.b);if(!f||B(a,u,f.tA)||B(i,c,f.tB))continue;const g=P(n),S=P(p);(g!==S?g:!1)?e.push({jumpEdgeId:a.id,otherEdgeId:i.id,segIndex:u,t:f.tA,point:f.point}):e.push({jumpEdgeId:i.id,otherEdgeId:a.id,segIndex:c,t:f.tB,point:f.point})}}}return e}y(C,"findEdgeIntersections");function M(t){const e=Math.round(t*1e3)/1e3;return Number.isInteger(e)?`${e}`:`${e}`}y(M,"fmt");function A(t){return`${M(t.x)},${M(t.y)}`}y(A,"pointToString");function D(t){const e=t.b.x-t.a.x,s=t.b.y-t.a.y;return Math.abs(e)>=Math.abs(s)?e>=0?1:0:s>=0?1:0}y(D,"getArcSweepFlag");function _(t,e){if(t.length<2)return t.map(o=>({...o}));const s=t.map(o=>({...o})),a=e.arrowTypeStart&&v[e.arrowTypeStart];if(a){const o=t[0],i=t[1],d=Math.atan2(i.y-o.y,i.x-o.x);s[0].x=o.x+a*Math.cos(d),s[0].y=o.y+a*Math.sin(d)}const r=e.arrowTypeEnd&&v[e.arrowTypeEnd];if(r){const o=t.length,i=t[o-2],d=t[o-1],u=Math.atan2(d.y-i.y,d.x-i.x);s[o-1].x=d.x-r*Math.cos(u),s[o-1].y=d.y-r*Math.sin(u)}return s}y(_,"applyMarkerOffsets");function k(t,e,s,a,r){const o=t.point.x,i=t.point.y,d={x:o-e*t.r,y:i-s*t.r},u={x:o+e*t.r,y:i+s*t.r},n=[`L${A(d)}`];return r==="arc"?n.push(`A${M(t.r)},${M(t.r)} 0 0 ${a} ${A(u)}`):n.push(`M${A(u)}`),n}y(k,"emitJump");function L(t,e,s,a){const r=e.x-t.x,o=e.y-t.y,i=s.x-e.x,d=s.y-e.y,u=Math.hypot(r,o),n=Math.hypot(i,d);if(u<O||n<O)return null;const c=r/u,p=o/u,f=i/n,g=d/n,S=c*f+p*g,b=Math.max(-1,Math.min(1,S)),m=Math.acos(b);if(m<O||Math.abs(Math.PI-m)<O)return null;const h=Math.min(a/Math.sin(m/2),u/2,n/2);return{startX:e.x-c*h,startY:e.y-p*h,endX:e.x+f*h,endY:e.y+g*h,ctrlX:e.x,ctrlY:e.y,cutLen:h}}y(L,"computeRoundedCorner");function H(t,e,s){const a=t.points;if(a.length<2)return"";const r=_(a,t),o=t.curve==="rounded",i=N(r),d=new Map;for(const n of e){const c=i[n.segIndex];if(!c)continue;const p=Math.hypot(c.b.x-c.a.x,c.b.y-c.a.y),f=d.get(n.segIndex)??[];f.push({t:n.t,point:n.point,d:n.t*p,r:s.jumpRadius}),d.set(n.segIndex,f)}const u=[`M${A(r[0])}`];for(let n=0;n<i.length;n++){const c=i[n],p=Math.hypot(c.b.x-c.a.x,c.b.y-c.a.y),f=p===0?0:(c.b.x-c.a.x)/p,g=p===0?0:(c.b.y-c.a.y)/p,S=D(c);let b=0;if(o&&n>0){const l=L(r[n-1],r[n],r[n+1]??r[n],w);l&&(b=l.cutLen)}let m=p,h=null;o&&n<i.length-1&&(h=L(r[n],r[n+1],r[n+2]??r[n+1],w),h&&(m=p-h.cutLen));const $=s.jumpRadius*Y,x=[...d.get(n)??[]].sort((l,E)=>l.t-E.t).filter(l=>{const E=Math.min(l.d-b,m-l.d)-X;return l.r=Math.min(l.r,E),l.r>=$});for(let l=0;l<x.length-1;l++){const E=x[l+1].d-x[l].d;if(x[l].r+x[l+1].r>E){const I=E/2;x[l].r=Math.min(x[l].r,I),x[l+1].r=Math.min(x[l+1].r,I)}}for(const l of x)l.r<$||u.push(...k(l,f,g,S,s.jumpStyle));o&&h?(u.push(`L${M(h.startX)},${M(h.startY)}`),u.push(`Q${M(h.ctrlX)},${M(h.ctrlY)} ${M(h.endX)},${M(h.endY)}`)):u.push(`L${A(c.b)}`)}return u.join(" ")}y(H,"rewriteEdgePath");function J(t){return/^[\d\s+,.LMelm-]*$/.test(t)}y(J,"isStraightPath");function U(t){return t?t==="linear"||t==="rounded"||t==="step"||t==="stepBefore"||t==="stepAfter":!0}y(U,"curveSupportsLineHops");function j(t){if(!t)return null;try{const e=typeof atob=="function"?atob(t):Buffer.from(t,"base64").toString(),s=JSON.parse(e);if(!Array.isArray(s))return null;const a=[];for(const r of s)r&&typeof r.x=="number"&&typeof r.y=="number"&&a.push({x:r.x,y:r.y});return a.length>=2?a:null}catch{return null}}y(j,"decodeDataPoints");function F(t,e,s){if(!s.enabled)return;const a=t.node();if(!a)return;const r=new Map;for(const n of e)r.set(n.id,n);const o=new Map;for(const n of a.querySelectorAll("path[data-id]")){const c=n.getAttribute("data-id");c!==null&&!o.has(c)&&o.set(c,n)}const i=[];for(const n of e){const c=o.get(n.id);if(!c)continue;const f=j(c.getAttribute("data-points"))??n.points;i.push({...n,points:f})}const d=C(i);if(d.length===0)return;const u=new Map;for(const n of d){const c=u.get(n.jumpEdgeId)??[];c.push(n),u.set(n.jumpEdgeId,c)}for(const n of i){const c=u.get(n.id);if(!c||c.length===0)continue;const f=r.get(n.id)?.curve;if(f!==void 0&&!U(f))continue;const g=o.get(n.id);if(!g)continue;if(f===void 0){const x=g.getAttribute("d")??"";if(!J(x))continue}const S=g.getAttribute("style")??"",b=/stroke-dasharray\s*:\s*0\s+([\d.]+)\s+[\d.]+\s+([\d.]+)/.exec(S),m=b?Number.parseFloat(b[1]):null,h=b?Number.parseFloat(b[2]):null,$=H(n,c,s);if(g.setAttribute("d",$),m!==null&&h!==null&&typeof g.getTotalLength=="function"){const x=g.getTotalLength(),l=Math.max(0,x-m-h),E=`0 ${m} ${l} ${h}`,I=S.replace(/stroke-dasharray\s*:[^;]*;?/g,`stroke-dasharray: ${E};`).replace(/;\s*;+/g,";");g.setAttribute("style",I)}}}y(F,"applyLineJumpsToSvg");export{F as a};
|