@intent-hq/web 2.344.0 → 2.345.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/{CPi3hzpu.js → -6JGlnE4.js} +1 -1
- package/web/app/immutable/chunks/{4GiF-64P.js → -7ARPWgR.js} +1 -1
- package/web/app/immutable/chunks/{DHP1DFPI.js → -SwunqO3.js} +1 -1
- package/web/app/immutable/chunks/{C-3coqYU.js → 34C5M9lk.js} +1 -1
- package/web/app/immutable/chunks/{DEnfRYcH.js → 3G6kqi6m.js} +1 -1
- package/web/app/immutable/chunks/{D6-Slo8_.js → 4UXIq5lZ.js} +5 -5
- package/web/app/immutable/chunks/{oYQw_s1S.js → 5MLUIYhU.js} +1 -1
- package/web/app/immutable/chunks/{DukOM-92.js → 7Zs8wY6y.js} +1 -1
- package/web/app/immutable/chunks/{CFLZAMP_.js → 8XhHIJcn.js} +1 -1
- package/web/app/immutable/chunks/{BW73Ve1a.js → 9HNwwiNt.js} +1 -1
- package/web/app/immutable/chunks/{CicdOSYm.js → A0r9TbR7.js} +2 -2
- package/web/app/immutable/chunks/{DWQSi293.js → A34-FDia.js} +1 -1
- package/web/app/immutable/chunks/{BycXuHIq.js → A8JjhnEv.js} +1 -1
- package/web/app/immutable/chunks/{UtZBgRek.js → AzoskYOh.js} +1 -1
- package/web/app/immutable/chunks/{Gobu28zb.js → B-jmn73b.js} +2 -2
- package/web/app/immutable/chunks/{CPYWKVyq.js → B0biUQQF.js} +1 -1
- package/web/app/immutable/chunks/{lI7T5mqw.js → B1C_jfbV.js} +1 -1
- package/web/app/immutable/chunks/{BYg2F-3D.js → B1Zj1zGG.js} +1 -1
- package/web/app/immutable/chunks/{CiTK-_b6.js → B203wRvP.js} +1 -1
- package/web/app/immutable/chunks/{Bev5K0J8.js → B39Mxie0.js} +4 -4
- package/web/app/immutable/chunks/{C91dOInA.js → B5tGFpkq.js} +1 -1
- package/web/app/immutable/chunks/{jbKFYOOg.js → B65N3w4u.js} +1 -1
- package/web/app/immutable/chunks/{Bo4mc4_O.js → B6iA2dvO.js} +1 -1
- package/web/app/immutable/chunks/{BnZrTj7m.js → B7o4NziF.js} +1 -1
- package/web/app/immutable/chunks/{CGXahRhf.js → BBasLmtQ.js} +1 -1
- package/web/app/immutable/chunks/{CJSrEfR4.js → BDACnpyW.js} +1 -1
- package/web/app/immutable/chunks/{Br0dSiCW.js → BESEELLz.js} +1 -1
- package/web/app/immutable/chunks/{BXbF11Gp.js → BFp6vZSQ.js} +1 -1
- package/web/app/immutable/chunks/{tcxAslUm.js → BI7MYBTt.js} +1 -1
- package/web/app/immutable/chunks/{DaaneYTG.js → BIEvH8pu.js} +1 -1
- package/web/app/immutable/chunks/{BSpir4qY.js → BIlaJXMS.js} +1 -1
- package/web/app/immutable/chunks/{ei2mFcvT.js → BIoLrYT0.js} +1 -1
- package/web/app/immutable/chunks/{BmB6-2Ft.js → BL8tUtYB.js} +1 -1
- package/web/app/immutable/chunks/{Cs-BSsj3.js → BL8utEbB.js} +1 -1
- package/web/app/immutable/chunks/{BkUAKnVY.js → BLR6m4ri.js} +1 -1
- package/web/app/immutable/chunks/{CI-nVEa_.js → BMaybjSV.js} +1 -1
- package/web/app/immutable/chunks/{CnJe4S2a.js → BMm9sGZ6.js} +1 -1
- package/web/app/immutable/chunks/{D6cqwcO2.js → BNuo4lAs.js} +1 -1
- package/web/app/immutable/chunks/{BdUSoBxL.js → BO67r0G6.js} +2 -2
- package/web/app/immutable/chunks/{KJX0Kw6L.js → BP5uyQTv.js} +3 -3
- package/web/app/immutable/chunks/{DGYr0_ON.js → BP7CI4Qx.js} +1 -1
- package/web/app/immutable/chunks/BPvruhgT.js +13 -0
- package/web/app/immutable/chunks/{Dp_2W12t.js → BQEszNiH.js} +1 -1
- package/web/app/immutable/chunks/{BmT6wRR1.js → BRww0MVx.js} +1 -1
- package/web/app/immutable/chunks/{D9ajM8uP.js → BVPvh88-.js} +1 -1
- package/web/app/immutable/chunks/{DAYo95RN.js → BVt_T8ao.js} +1 -1
- package/web/app/immutable/chunks/{quYX3pdL.js → BVviSubD.js} +1 -1
- package/web/app/immutable/chunks/{fCEIPyv5.js → BXeiKdwz.js} +1 -1
- package/web/app/immutable/chunks/{ixz6jb_3.js → BY-x4QLt.js} +1 -1
- package/web/app/immutable/chunks/{B_frQYKx.js → BYFJ74nm.js} +1 -1
- package/web/app/immutable/chunks/{DBSA3jai.js → BYMNRS4c.js} +1 -1
- package/web/app/immutable/chunks/{Dyra2UkJ.js → BZLRqiW7.js} +1 -1
- package/web/app/immutable/chunks/{B7_gjxTl.js → BZcpShp8.js} +1 -1
- package/web/app/immutable/chunks/{juQAMcx2.js → BZr7mr7Q.js} +1 -1
- package/web/app/immutable/chunks/{B1Hn0_Hu.js → BbNk8c_P.js} +1 -1
- package/web/app/immutable/chunks/{Wsz69q6g.js → BdD2ADMz.js} +1 -1
- package/web/app/immutable/chunks/{ClTZNeVO.js → BdkEw9JP.js} +1 -1
- package/web/app/immutable/chunks/{BPk8wgKn.js → BecPnSy0.js} +3 -3
- package/web/app/immutable/chunks/{DIHT0C7u.js → BgX4ALX_.js} +3 -3
- package/web/app/immutable/chunks/{BgN4cuBh.js → BhMsVKL2.js} +1 -1
- package/web/app/immutable/chunks/{2XZtwznc.js → BiRT6AoP.js} +4 -4
- package/web/app/immutable/chunks/{Cj2EKBCH.js → Bk8EDJRq.js} +1 -1
- package/web/app/immutable/chunks/BlZYlbA9.js +1 -0
- package/web/app/immutable/chunks/{nmrokYzj.js → BmP1Wws6.js} +1 -1
- package/web/app/immutable/chunks/{4NM3BVdw.js → BoCZH6mk.js} +1 -1
- package/web/app/immutable/chunks/{kHCC2X2-.js → BqQiAH0O.js} +1 -1
- package/web/app/immutable/chunks/{Bv5I7YDM.js → BqRoJfH0.js} +1 -1
- package/web/app/immutable/chunks/{BM1KP-FJ.js → BqqN40AD.js} +1 -1
- package/web/app/immutable/chunks/{B4yyNCE8.js → BrTyn-oU.js} +1 -1
- package/web/app/immutable/chunks/{BLHhhsG2.js → BsRwjCPo.js} +1 -1
- package/web/app/immutable/chunks/{HIyZggkg.js → BtXLgEvw.js} +4 -4
- package/web/app/immutable/chunks/{DcFwDOMt.js → BwSA3fCS.js} +1 -1
- package/web/app/immutable/chunks/{Ca3YR8yw.js → BxuxDWAX.js} +1 -1
- package/web/app/immutable/chunks/{XvLHDIL-.js → ByCIOkhM.js} +1 -1
- package/web/app/immutable/chunks/{Dq9eeDUE.js → BzbcgIXt.js} +1 -1
- package/web/app/immutable/chunks/{RNDWAc1K.js → BzzDMYz_.js} +6 -6
- package/web/app/immutable/chunks/{Cn3xolhp.js → C-M7eh_Z.js} +1 -1
- package/web/app/immutable/chunks/{CDFRnJ8k.js → C1nHAGLu.js} +1 -1
- package/web/app/immutable/chunks/{DN71oh5l.js → C3SYquhf.js} +1 -1
- package/web/app/immutable/chunks/C4dCVzfY.js +2 -0
- package/web/app/immutable/chunks/{BvSNOyzW.js → C4pN30lR.js} +2 -2
- package/web/app/immutable/chunks/{DIumxlqP.js → C52Qm4vO.js} +1 -1
- package/web/app/immutable/chunks/{CdN2Ihv_.js → C5AlgdZ0.js} +1 -1
- package/web/app/immutable/chunks/{iwClg1fT.js → C7tPYy06.js} +3 -3
- package/web/app/immutable/chunks/{CjZIABEV.js → C8BVjzNA.js} +1 -1
- package/web/app/immutable/chunks/{g9G7tvrf.js → C8dU7SM3.js} +2 -2
- package/web/app/immutable/chunks/{uPiYeMwS.js → CCwwkuT-.js} +1 -1
- package/web/app/immutable/chunks/{BSo5IXuX.js → CD-XXU5z.js} +1 -1
- package/web/app/immutable/chunks/{CClqWu60.js → CDQzU1Fp.js} +1 -1
- package/web/app/immutable/chunks/{BAR7XkP3.js → CEQZVenN.js} +1 -1
- package/web/app/immutable/chunks/{C46XexX0.js → CFduDdmx.js} +1 -1
- package/web/app/immutable/chunks/{_RGinDCt.js → CKzqOQI8.js} +1 -1
- package/web/app/immutable/chunks/{Cn19T3na.js → CL2hu5s-.js} +1 -1
- package/web/app/immutable/chunks/{DhtvToBX.js → CMxRuwYt.js} +1 -1
- package/web/app/immutable/chunks/{BjcX_fOv.js → CN-2rfdx.js} +1 -1
- package/web/app/immutable/chunks/{BRhVB6Sv.js → COrK0goa.js} +1 -1
- package/web/app/immutable/chunks/{DuIazAmY.js → CRQGIXhv.js} +1 -1
- package/web/app/immutable/chunks/{Bk2hJ8Ly.js → CSdIXJpO.js} +1 -1
- package/web/app/immutable/chunks/{C3MZ_izG.js → CVYjvOCP.js} +1 -1
- package/web/app/immutable/chunks/{DWiPdXwB.js → CW13jkE8.js} +1 -1
- package/web/app/immutable/chunks/{DTBnd4hM.js → CW41MFVu.js} +1 -1
- package/web/app/immutable/chunks/{BA55iEBB.js → CWE4oREl.js} +1 -1
- package/web/app/immutable/chunks/{BQAjCr1w.js → CWQrbZgx.js} +1 -1
- package/web/app/immutable/chunks/{CzQCBVm9.js → CW_fORnH.js} +1 -1
- package/web/app/immutable/chunks/{fI_J_To4.js → CWmsRWEf.js} +1 -1
- package/web/app/immutable/chunks/{BW1LTGV1.js → CYf2hryc.js} +1 -1
- package/web/app/immutable/chunks/{BrysY2Ec.js → Ca05Jmq3.js} +1 -1
- package/web/app/immutable/chunks/{B1SJZtm3.js → CaGwo1Kh.js} +1 -1
- package/web/app/immutable/chunks/{BEyWfhqM.js → CaxyE6o_.js} +1 -1
- package/web/app/immutable/chunks/{CWIcIgSm.js → CbCgON3R.js} +1 -1
- package/web/app/immutable/chunks/{sEcTUaec.js → CcPTLJNE.js} +1 -1
- package/web/app/immutable/chunks/{L30ES58t.js → CcXuSxXv.js} +1 -1
- package/web/app/immutable/chunks/{D8YFvJ64.js → Cc_BIXdP.js} +1 -1
- package/web/app/immutable/chunks/{D61HjMue.js → CcuS-fLp.js} +1 -1
- package/web/app/immutable/chunks/{BOa-AN22.js → CcvLGgrc.js} +1 -1
- package/web/app/immutable/chunks/{DAPhb2nP.js → CdZRK319.js} +45 -45
- package/web/app/immutable/chunks/{CwRpBR2e.js → CeswpNyE.js} +1 -1
- package/web/app/immutable/chunks/{CadpuSEK.js → Cf09_YLr.js} +1 -1
- package/web/app/immutable/chunks/{B461Cu-8.js → Cfj3Lc6y.js} +1 -1
- package/web/app/immutable/chunks/{DwSYIDzZ.js → CgQ2Q_uI.js} +1 -1
- package/web/app/immutable/chunks/{yl6pDKiQ.js → CgW9XFcu.js} +1 -1
- package/web/app/immutable/chunks/{D37kdZVn.js → Ch8P3vqn.js} +1 -1
- package/web/app/immutable/chunks/{BjnZ1Xf3.js → Ck9ZyE1n.js} +1 -1
- package/web/app/immutable/chunks/{BvrMTALy.js → ClTbUKJh.js} +1 -1
- package/web/app/immutable/chunks/{CrH1YN9o.js → CoDSLIZp.js} +1 -1
- package/web/app/immutable/chunks/{By0eqGj-.js → CoLl8pQb.js} +1 -1
- package/web/app/immutable/chunks/{BMs7t3_m.js → CoXBdOLx.js} +1 -1
- package/web/app/immutable/chunks/{C9gix5Ke.js → CpHZSST_.js} +1 -1
- package/web/app/immutable/chunks/{DA3kI_Ir.js → Cq0XJSNB.js} +1 -1
- package/web/app/immutable/chunks/{Ck9j_FHl.js → Cr_Liz2C.js} +1 -1
- package/web/app/immutable/chunks/{CxLPEkg7.js → CuhrgDBI.js} +1 -1
- package/web/app/immutable/chunks/{DxBvyCwr.js → CvGYkRzD.js} +1 -1
- package/web/app/immutable/chunks/{BgzyvwGo.js → CvWyDJGm.js} +1 -1
- package/web/app/immutable/chunks/{DkvJR80T.js → Cv_J2c72.js} +1 -1
- package/web/app/immutable/chunks/{DHApIXYn.js → CwqpuMd6.js} +1 -1
- package/web/app/immutable/chunks/{BtBKKn81.js → CxdrVCtW.js} +1 -1
- package/web/app/immutable/chunks/{DZmMN74z.js → D3mUsAm9.js} +1 -1
- package/web/app/immutable/chunks/D5jO2tMO.js +1 -0
- package/web/app/immutable/chunks/{D1uFLIU4.js → D6YDmdhV.js} +2 -2
- package/web/app/immutable/chunks/{B9dU3-fa.js → D6qSHwEu.js} +1 -1
- package/web/app/immutable/chunks/{PDh5csw9.js → DATvyyct.js} +1 -1
- package/web/app/immutable/chunks/{CgWXj0YG.js → DBN9LmpO.js} +2 -2
- package/web/app/immutable/chunks/{MioiZpXB.js → DC_750GV.js} +1 -1
- package/web/app/immutable/chunks/{BuFMu57Q.js → DEGVinbl.js} +1 -1
- package/web/app/immutable/chunks/{D8FYgRYk.js → DHNidPtN.js} +1 -1
- package/web/app/immutable/chunks/{DOrgOYHc.js → DKBMY4SO.js} +2 -2
- package/web/app/immutable/chunks/{CDRWYo_y.js → DLQToZFF.js} +1 -1
- package/web/app/immutable/chunks/{hX9Crt6i.js → DLqztIqC.js} +1 -1
- package/web/app/immutable/chunks/{BUUYjiKy.js → DOca_73f.js} +1 -1
- package/web/app/immutable/chunks/{NTeezaZ2.js → DOo17E8X.js} +1 -1
- package/web/app/immutable/chunks/{-IITeht6.js → DPHzX3VR.js} +1 -1
- package/web/app/immutable/chunks/{X4o7hGKf.js → DPLUjB3C.js} +4 -4
- package/web/app/immutable/chunks/{C59ujSMF.js → DSbO2mrE.js} +1 -1
- package/web/app/immutable/chunks/{DVH2puba.js → DSf8k2cE.js} +1 -1
- package/web/app/immutable/chunks/DTQYcznv.js +1 -0
- package/web/app/immutable/chunks/{TKg6aZ2_.js → DTXLkH8c.js} +1 -1
- package/web/app/immutable/chunks/{CMO4ot9F.js → DU8kuP6M.js} +1 -1
- package/web/app/immutable/chunks/{CdqlgErf.js → DXCE75Ih.js} +1 -1
- package/web/app/immutable/chunks/{BwScowY6.js → DXDMhDlS.js} +1 -1
- package/web/app/immutable/chunks/{zWI60sec.js → DYmPPjiq.js} +1 -1
- package/web/app/immutable/chunks/{DT4LiP7Y.js → DZNLst19.js} +1 -1
- package/web/app/immutable/chunks/{BBC8ZwBc.js → DZmwTozc.js} +1 -1
- package/web/app/immutable/chunks/{xBFqBq1j.js → D_2_kcuU.js} +1 -1
- package/web/app/immutable/chunks/{Cyfw6OkG.js → D_uYvQAH.js} +1 -1
- package/web/app/immutable/chunks/{DVsRM1tQ.js → DbGgneou.js} +2 -2
- package/web/app/immutable/chunks/{CgLCO0VS.js → DbK3CxeL.js} +1 -1
- package/web/app/immutable/chunks/DbSsu2ZZ.js +2 -0
- package/web/app/immutable/chunks/{CmSDhJgU.js → Dc64E_SR.js} +1 -1
- package/web/app/immutable/chunks/{BnrnoFjd.js → DdSX2jjJ.js} +1 -1
- package/web/app/immutable/chunks/{HLKPZgVy.js → Ddw98WmY.js} +1 -1
- package/web/app/immutable/chunks/{BpIeTy9w.js → DdxviGOy.js} +2 -2
- package/web/app/immutable/chunks/{gsElU_36.js → De4z9gHo.js} +1 -1
- package/web/app/immutable/chunks/{f5lTIPHi.js → DeBWJfUF.js} +1 -1
- package/web/app/immutable/chunks/{D8DQsqlL.js → DeBZgR-l.js} +1 -1
- package/web/app/immutable/chunks/{BdHmsKvO.js → Dj_XMlva.js} +1 -1
- package/web/app/immutable/chunks/{ozzjQyCh.js → Dk6iNNLu.js} +1 -1
- package/web/app/immutable/chunks/{CThb3iAk.js → DlN76n90.js} +1 -1
- package/web/app/immutable/chunks/{WyTFZ_7I.js → DlxIHej5.js} +1 -1
- package/web/app/immutable/chunks/{BZm5iyKH.js → DnpnDt-B.js} +1 -1
- package/web/app/immutable/chunks/{DhUtJEn_.js → Dnr9ynjr.js} +1 -1
- package/web/app/immutable/chunks/{SEJ8ae0u.js → DoBQR8Vx.js} +2 -2
- package/web/app/immutable/chunks/{DVYqzV0n.js → DpMTpLDQ.js} +1 -1
- package/web/app/immutable/chunks/{D__R5V-4.js → Drt5qRI8.js} +1 -1
- package/web/app/immutable/chunks/{D-J8Mlcm.js → DtTm3-vx.js} +2 -2
- package/web/app/immutable/chunks/{pAYxBetQ.js → Dt_vOHph.js} +1 -1
- package/web/app/immutable/chunks/DtftInpc.js +1 -0
- package/web/app/immutable/chunks/{DLykoDqY.js → DuLyqtXH.js} +1 -1
- package/web/app/immutable/chunks/{DTrgzOIA.js → Duypuh1W.js} +1 -1
- package/web/app/immutable/chunks/{C62A1TLT.js → DvCoPCgB.js} +2 -2
- package/web/app/immutable/chunks/{COMJNvT3.js → DxMV_lzZ.js} +1 -1
- package/web/app/immutable/chunks/{DjCFWz1t.js → DyASeQ3m.js} +2 -2
- package/web/app/immutable/chunks/{l6o3Xx95.js → Dz4sFk1c.js} +1 -1
- package/web/app/immutable/chunks/{tHDPdTwr.js → Ek5W6pp5.js} +1 -1
- package/web/app/immutable/chunks/{C8b2UIVX.js → FBAcw4MJ.js} +1 -1
- package/web/app/immutable/chunks/{DNM32kqo.js → H60Tbroe.js} +1 -1
- package/web/app/immutable/chunks/{Dl7ZwNmB.js → HKs3jfWW.js} +1 -1
- package/web/app/immutable/chunks/{SxNmK2GR.js → HvBMlLJP.js} +3 -3
- package/web/app/immutable/chunks/{D4pwA7AS.js → I2ER02OI.js} +2 -2
- package/web/app/immutable/chunks/JzAjTSJP.js +1 -0
- package/web/app/immutable/chunks/{DzX5UiFd.js → LeKgig9P.js} +1 -1
- package/web/app/immutable/chunks/{Cxz3q_28.js → PqUcZw1l.js} +1 -1
- package/web/app/immutable/chunks/{YRBYMsQ5.js → PrJr0a2j.js} +1 -1
- package/web/app/immutable/chunks/{bJswqAg7.js → Q-Oe5gQg.js} +1 -1
- package/web/app/immutable/chunks/{CqhKSPXA.js → QE-hjQtm.js} +1 -1
- package/web/app/immutable/chunks/{CztRrCMq.js → RL06_5hJ.js} +1 -1
- package/web/app/immutable/chunks/{CfaMHdWP.js → RvvsGyv8.js} +1 -1
- package/web/app/immutable/chunks/S3l_n0fN.js +1 -0
- package/web/app/immutable/chunks/{BhzRZYY1.js → SopK520R.js} +2 -2
- package/web/app/immutable/chunks/{CerTrxRJ.js → UYKGMt9K.js} +1 -1
- package/web/app/immutable/chunks/{_VCQMG81.js → VD4zAAAW.js} +1 -1
- package/web/app/immutable/chunks/{gsD5Xe0D.js → Vk-IHNCU.js} +4 -4
- package/web/app/immutable/chunks/{9cPLPH_O.js → WQwO_6NF.js} +1 -1
- package/web/app/immutable/chunks/{CjXLe_MO.js → X8W_BfF4.js} +1 -1
- package/web/app/immutable/chunks/{Ct8owPqN.js → XIXbmV8F.js} +1 -1
- package/web/app/immutable/chunks/{CIX0DuRO.js → XzMpMF29.js} +1 -1
- package/web/app/immutable/chunks/{BdNiI0PS.js → Z8gQAmFb.js} +4 -4
- package/web/app/immutable/chunks/{CVikHxT_.js → Z9xsSWyS.js} +3 -3
- package/web/app/immutable/chunks/{CoTJDQuc.js → _6kx8oz-.js} +1 -1
- package/web/app/immutable/chunks/{BUY1W-f0.js → _xNtAuSN.js} +1 -1
- package/web/app/immutable/chunks/{CTXbgIPd.js → dEUeoghd.js} +41 -41
- package/web/app/immutable/chunks/{Cfd0oFGI.js → dR3YHGeF.js} +1 -1
- package/web/app/immutable/chunks/{CHukbU1Q.js → domP6Duj.js} +1 -1
- package/web/app/immutable/chunks/{BIG4edn9.js → elYeRxWm.js} +1 -1
- package/web/app/immutable/chunks/{CdjPYGHf.js → exKuue_y.js} +1 -1
- package/web/app/immutable/chunks/{B10JrSzM.js → finAdq6c.js} +1 -1
- package/web/app/immutable/chunks/{C4Jo6GXP.js → gURPJ1oX.js} +1 -1
- package/web/app/immutable/chunks/{BnjfAdW_.js → h4-gUr-R.js} +1 -1
- package/web/app/immutable/chunks/{gJDgmD_2.js → hTzIX9qo.js} +1 -1
- package/web/app/immutable/chunks/{nLXSdbN2.js → hY1hM8g2.js} +1 -1
- package/web/app/immutable/chunks/{DhDeMWX_.js → jn3Rypn_.js} +1 -1
- package/web/app/immutable/chunks/{DGySvVDu.js → kjMhmnu9.js} +1 -1
- package/web/app/immutable/chunks/{DIyuJ_GU.js → m3ndyWcI.js} +1 -1
- package/web/app/immutable/chunks/{BIY2S7K4.js → n58mTCVv.js} +1 -1
- package/web/app/immutable/chunks/{BYRfWsRg.js → oPIupn-5.js} +1 -1
- package/web/app/immutable/chunks/{CHFUz5Rr.js → oilydQC6.js} +1 -1
- package/web/app/immutable/chunks/{Ba7k-40o.js → p3fN-Vr3.js} +1 -1
- package/web/app/immutable/chunks/{CnhilOhJ.js → rWjPMnbJ.js} +1 -1
- package/web/app/immutable/chunks/{C-s9_soQ.js → s_GzTTEG.js} +1 -1
- package/web/app/immutable/chunks/{DqWTOCbK.js → uo2kAWaz.js} +1 -1
- package/web/app/immutable/entry/{app.DfuiYuem.js → app.B3U21m46.js} +3 -3
- package/web/app/immutable/entry/start.BmptZn82.js +1 -0
- package/web/app/immutable/nodes/{0.D56mBX7M.js → 0.CWw0htIy.js} +1 -1
- package/web/app/immutable/nodes/{1.az7hmVZE.js → 1.CwxWqCh2.js} +1 -1
- package/web/app/immutable/nodes/{10.ijh736ED.js → 10.DsQSJA4U.js} +1 -1
- package/web/app/immutable/nodes/{11.CPz1gfx7.js → 11.C9N9_Xb9.js} +1 -1
- package/web/app/immutable/nodes/{12.IWuvbIEt.js → 12.CqRfopX4.js} +1 -1
- package/web/app/immutable/nodes/{13.K9ySk2sQ.js → 13.CscEwLVK.js} +3 -3
- package/web/app/immutable/nodes/{14.BvEshoLb.js → 14.CGbyYvxu.js} +1 -1
- package/web/app/immutable/nodes/{15.MdkxIvV5.js → 15.BWtoiI44.js} +1 -1
- package/web/app/immutable/nodes/{16.CKCeF79S.js → 16.Cfgb0nOQ.js} +1 -1
- package/web/app/immutable/nodes/{17.DnoEG3fq.js → 17.DFAwhIn_.js} +2 -2
- package/web/app/immutable/nodes/{2.B4faJzFv.js → 2.DTAk55p0.js} +11 -11
- package/web/app/immutable/nodes/{3.CXkOfW97.js → 3.DGPBblLK.js} +1 -1
- package/web/app/immutable/nodes/4.ReQ1u5-M.js +1 -0
- package/web/app/immutable/nodes/{5.DE5jTHSS.js → 5.Dp2B2lHQ.js} +2 -2
- package/web/app/immutable/nodes/{6.DhIYx_bX.js → 6.BpkWHnQJ.js} +1 -1
- package/web/app/immutable/nodes/{7.CqVh2822.js → 7.C7_Pil7L.js} +1 -1
- package/web/app/immutable/nodes/{8.CtwSJYpI.js → 8.bG-TRaEn.js} +12 -12
- package/web/app/immutable/nodes/{9.RM7Dv9Cl.js → 9.CBynOn0l.js} +20 -20
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +9 -9
- package/web/index.html +19 -19
- package/web/app/immutable/chunks/7V9sfwkG.js +0 -1
- package/web/app/immutable/chunks/B5lHtLmV.js +0 -13
- package/web/app/immutable/chunks/CGWRZzdk.js +0 -1
- package/web/app/immutable/chunks/CsF8OjbK.js +0 -1
- package/web/app/immutable/chunks/DWBLeVMU.js +0 -1
- package/web/app/immutable/chunks/D_aUnmwC.js +0 -1
- package/web/app/immutable/chunks/DnzNFOP-.js +0 -1
- package/web/app/immutable/chunks/Dx9ju3Oy.js +0 -2
- package/web/app/immutable/chunks/PXetJRrh.js +0 -2
- package/web/app/immutable/entry/start.DDUK339f.js +0 -1
- package/web/app/immutable/nodes/4.DAQzul95.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as g,br as n,bu as v,bz as b,bs as h,b as x}from"./
|
|
1
|
+
import{t as g,br as n,bu as v,bz as b,bs as h,b as x}from"./DTQYcznv.js";import{bs as S,a7 as w,ay as y,aD as _,W as k,bn as z,aA as i,c9 as C}from"./DYhIMPy1.js";import{c as A}from"./BmP1Wws6.js";import{l as I,r as M}from"./Ck9ZyE1n.js";import{S as P}from"./Dc64E_SR.js";var W=new Set(["$$slots","$$events","$$legacy","ref","class","data-slot"]);function D(l,t){if(new.target)return g({component:D,...l});S(t,!0);let a=n(t,"ref",15,null),r=n(t,"class",7),s=n(t,"data-slot",7,"separator"),p=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)},c=w(),d=y(c);{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)}},()=>p,{get ref(){return a()},set ref(f){a(f)}}))})}return k(l,c),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,4 +1,4 @@
|
|
|
1
|
-
import{Ia as Y,Ix as r,rI as Le,nx as f,B8 as Ne,xZ as E,qq as Te,nw as S,B2 as Be,g as G,rf as J,B3 as z,c as De,nj as X,A as xe,rn as _,h7 as He,D as je}from"./CicdOSYm.js";import{k as We}from"./uXuxG9cN.js";import{l as Fe,s as Ke}from"./CnJe4S2a.js";import{cj as qe,c1 as w,cE as $e,ca as M,b_ as k,cv as C,cN as Z,cM as Ue,cD as Qe,b$ as Ve,bv as Ye,m as Ge,G as Je,dS as ze,dC as ee,ax as Xe,cm as Ze,dr as te,cK as et,cL as tt,cP as nt}from"./CPYWKVyq.js";import{P as ot,c as rt}from"./BvFAWM27.js";import{bp as u}from"./CGWRZzdk.js";import{t as st}from"./BM1KP-FJ.js";import{v as ct,y as at}from"./DaaneYTG.js";function lt(e,t,n){if(!e||!n?.length)return null;const o=new Set(n);if(t!==null&&!o.has(t))return null;const s=e.lastIndexOf("/"),c=s>=0?e.slice(s+1):"",a=o.has(c)?e.slice(0,s):e;return t===null?a:`${a}/${t}`}const it={major:5,minor:2};function dt(e){const{major:t,minor:n}=it;return We(e,t,n)}function N(e,t,n){const o=Y(e);return o.providerId&&n(o.providerId)===t?o.modelId:e}function L(e,t){const n=t(e);if(n)return n;const o=/\/(minimal|low|medium|high|xhigh|max|ultra|none)$/i.exec(e);if(!o||o.index===0)return;const s=t(e.slice(0,o.index)),c=o[1].toLowerCase();return s?`${s} (${c.charAt(0).toUpperCase()}${c.slice(1)})`:void 0}function ut(e,t){return JSON.stringify([t||null,e])}const ft=r.createSelector((e,t)=>(t?e.providerModels?.byWorkspaceId?.[t]:e.providerModels?.byProviderId)??{}),_n=r.createSelector((e,t,n)=>ft.select(e,n)[t]),wn=r.createSelector(e=>e.providerModels?.clearEpoch??0),Rn=r.createSelector((e,t)=>(t?e.providerModels?.requestsByWorkspaceId?.[t]?.map:e.providerModels?.requests?.map)??{}),pt=r.createSelector(e=>Object.fromEntries(Object.values(e.providerModels?.observers?.map??{}).flatMap(({providerIds:t,workspaceId:n})=>t.map(o=>[ut(o,n),{providerId:o,workspaceId:n}])))),On=r.createSelector(e=>Object.keys(pt.select(e)).sort()),mt=r.createSelector((e,t,n)=>Le(e.providerModels?.learnedNames??{},t,n)),Ln=r.createSelector(e=>e.providerModels.learnedNames),bt={auggie:"auggie",claudeCode:"claude-code",codex:"codex",mock:"mock",opencode:"opencode",pi:"pi",cortex:"cortex",droid:"droid",grok:"grok",unsloth:"unsloth",antigravity:"antigravity",cursor:"cursor"},gt=new Map(Object.entries(bt).map(([e,t])=>[t,e]));function vt(e,t){const n=gt.get(t);return n===void 0?void 0:e?.providers[n]}function Nn(e,t){const n=vt(e,t);return n?.available===!0&&ne(t,n.authenticated)}const Tn=new Set(["claude-code"]);function ne(e,t){return t!==!1}const j=new WeakMap,oe=r.createSelector(e=>{if(!qe.select(e))return e.agentAvailability.providerStatusMap;const t=e.providerCatalog?.providers;if(!t)return{};let n=j.get(t);return n||(n=Object.fromEntries(f(t).map(o=>[o.id,{available:!0}])),j.set(t,n)),n}),Bn=r.createSelector(e=>e.agentAvailability.providerLoadingMap),Dn=r.createSelector(e=>e.agentAvailability.providerCheckEpochMap),St=r.createSelector(e=>e.agentAvailability.hasCheckedOnce),xn=r.createSelector(e=>Object.values(e.agentAvailability.providerLoadingMap).some(t=>t)),Hn=r.createSelector(e=>e.agentAvailability.npxStatus),jn=r.createSelector(e=>e.agentAvailability.hiddenProviders),Wn=r.createSelector(e=>e.agentAvailability.discoveryError),Fn=r.createSelector(e=>e.agentAvailability.discoveryRevision),Kn=r.createSelector(e=>e.agentAvailability.refreshModelsPending),qn=r.createSelector(e=>e.agentAvailability.refreshModelsRevision),$n=r.createSelector(e=>e.sidebarNav?.onboardingActive&&e.userPreferences.providerSetupHydratedBackendId===e.connections.windowBackendId&&!e.userPreferences.hasCompletedProviderSetup&&w.select(e)==="owner"?$e.select(e):null),Un=r.createSelector((e,t)=>f(e.providerSettings.requests).filter(n=>n.sessionId===t)),Qn=r.createSelector((e,t)=>e.providerSettings.sessions.includes(t)),Vn=r.createSelector((e,t)=>e.providerSettings.writeRevisions?.[t]??0),Yn=r.createSelector(e=>e.providerSettings.paths),Gn=r.createSelector(e=>e.providerSettings.pathsRevision),I=r.createSelector(e=>M.select(e)?k.select(e)?.defaultProviderId??"":e.model.defaultProviderId);r.createSelector((e,t)=>I.select(e)===t);const ht=r.createSelector(e=>M.select(e)?Object.fromEntries((k.select(e)?.enabledProviderIds??[]).map(t=>[t,!0])):e.providerSettings.enabledProviders),re=r.createSelector((e,t)=>{if(M.select(e))return k.select(e)?.enabledProviderIds?.includes(t)===!0;const n=e.providerSettings.nonDisableableProviderIds??[];return Ne(e.providerSettings.enabledProviders,t,{canBeDisabled:!n.includes(t)})}),se=r.createSelector(e=>{if(M.select(e))return k.select(e)?.enabledProviderIds??[];const t=e.providerSettings.enabledProviders,n=e.providerCatalog?f(e.providerCatalog.providers):[],o=new Set(n.filter(a=>re.select(e,a.id)).map(a=>a.id)),s=I.select(e),c=E(s);c&&t[c]!==!1&&o.add(c);for(const[a,l]of Object.entries(t))l&&o.add(a);return[...o]});function Pt(e,t){const n=Z.select(e,t);return M.select(e)?n?.visible!==!0:!!(n?.requiresEnvVar||n?.requiresFeatureCode)}const R=r.createSelector(e=>{const t=oe.select(e);return se.select(e).filter(n=>!Pt(e,n)&&t[n]?.available===!0)}),Jn=r.createSelector((e,t)=>{const n=oe.select(e),o=C.select(e,t);return R.select(e).filter(s=>C.select(e,s)!==o&&re.select(e,s)&&ne(s,n[s]?.authenticated))}),zn=r.createSelector(e=>St.select(e)?R.select(e):se.select(e)),Xn=r.createSelector(e=>{const t=E(I.select(e));return R.select(e).includes(t)}),Zn=r.createSelector(e=>e.providerSettings.fastMode),eo=r.createSelector(e=>{const t=e.providerSettings.fastMode,n={...t?.confirmed};for(const[o,s]of Object.entries(t?.pending??{}))n[o]=s.enabled;return n}),to=r.createSelector(e=>Object.values(m(e).defaults).some(t=>t.remoteLaunch!==void 0)),no=r.createSelector(e=>e.providerSettings.fastMode?.supported?["claude-code","codex"].filter(t=>Z.select(e,t)?.supportsFastMode===!0):[]),m=e=>e.providerSettings?.profiles??Te,oo=r.createSelector(e=>Ue.select(e).filter(t=>t.supportsProfiles===!0).map(t=>t.id)),ro=r.createSelector((e,t)=>f(m(e).items).filter(n=>n.baseProviderId===t)),so=r.createSelector(e=>[...new Set(f(m(e).items).map(t=>t.baseProviderId))]),co=r.createSelector(e=>m(e).defaults),ao=r.createSelector((e,t)=>m(e).defaults[t]),lo=r.createSelector((e,t)=>S(m(e).items,t)),io=r.createSelector(e=>m(e).revision),uo=r.createSelector(e=>m(e).loadStatus),fo=r.createSelector(e=>m(e).status),po=r.createSelector(e=>m(e).activation),mo=r.createSelector(e=>Object.fromEntries(f(m(e).mutations).map(t=>[t.id,t]))),yt={},bo=r.createSelector(e=>m(e).identity??yt),Mt={},go=r.createSelector(e=>m(e).setups??Mt),vo=r.createSelector(e=>(e.providerSettings?.sessions.length??0)>0),So=r.createSelector(e=>e.model),ho=r.createSelector(e=>{const t=Qe.select(e),n=w.select(e);if(!t||n!=="owner"&&n!=="member")return null;const o=I.select(e);return n==="member"&&!o?null:JSON.stringify([t,o,n==="member"?Ve.select(e):null])});function ce(e,t){return t??I.select(e)}const H=r.createSelector((e,t)=>{const n=ce(e,t),o=e.model.availableModelsProviderId===n?f(e.model.availableModels):[],s=k.select(e),c=M.select(e)?s?.defaultProviderId===n?s.defaultModelId:null:e.model.providerModels[n];return c||(R.select(e).includes(n)?Be(o):"")}),It=r.createSelector((e,t)=>H.select(e,t)!==""),Po=r.createSelector(e=>I.select(e)!==""||It.select(e)),Ct=r.createSelector(e=>e.model.availableModels),yo=r.createSelector(e=>f(Ct.select(e))),Mo=r.createSelector(e=>e.model.availableModelsProviderId),ae=r.createSelector((e,t)=>{const n=ce(e,t);return e.model.loadingState[n]??null}),Io=r.createSelector((e,t)=>ae.select(e,t)?.status==="loading"),Co=r.createSelector((e,t)=>{const n=ae.select(e,t);return n?.status!=="error"?null:n.error??null}),Eo=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.model.loadingState))o.warning&&(t[n]=o.warning);return t}),ko=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.model.loadingState))o.stale&&(t[n]=!0);return t}),Ao=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.model.loadingState))o.warning&&o.warningKind&&(t[n]=o.warningKind);return t}),_o=r.createSelector(e=>e.model.providerModels),wo=r.createSelector(e=>e.model.defaultReasoningEffort),Ro=r.createSelector(e=>e.model.modelPickerCollapsedGroups),Oo=r.createSelector((e,t)=>e.model.fallbackInfoByAgentId[t]??null),Et=r.createSelector((e,t,n,o)=>{const s=i=>C.select(e,i,o),c=s(t),a=N(n,c,s),l=e.model?.availableModels;if(!o&&l&&(!c||c===e.model.availableModelsProviderId)){const i=S(l,n)??S(l,a);if(i)return i}const d=o?e.providerModels?.byWorkspaceId?.[o]?.[c]:e.providerModels?.byProviderId?.[c];return d?.models.find(i=>i.value===n)??d?.models.find(i=>N(i.value,c,s)===a)}),Lo=r.createSelector((e,t,n,o)=>{const s=i=>C.select(e,i,o),c=s(t),a=N(n,c,s),l=i=>Et.select(e,c,i,o)?.label,d=i=>mt.select(e,c,i);return L(n,l)??(a!==n?L(a,l):void 0)??d(n)??L(a,d)}),kt=r.createSelector((e,t)=>{if(!t)return;const n=e.model?.availableModels;if(!n)return;const o=T(t);return S(n,o)?.effortLevels});function T(e){const t=Y(e).modelId,n=t.indexOf("/");return n>0?t.slice(0,n):t}const At=r.createSelector((e,t,n,o)=>{if(n){if(!o&&(!t||t===e.model?.availableModelsProviderId)){const s=kt.select(e,n);if(s)return s}if(t){const s=T(n);return(o?e.providerModels?.byWorkspaceId?.[o]?.[t]:e.providerModels?.byProviderId[t])?.models.find(a=>T(a.value)===s)?.effortLevels}}}),_t=r.createSelector((e,t)=>{const n=e.agentSessions?.byAgentId[t];if(!n)return;if(Array.isArray(n.effortLevels)&&n.effortLevels.length>0)return n.effortLevels;const o=n.workspaceId?e.providerCatalog?.byWorkspaceId?.[n.workspaceId]?.settings??[]:void 0,s=o?.find(g=>g.path==="model.defaultProvider")?.value,c=o?typeof s=="string"?s:"":Ye.select(e),a=Ge(n,c),l=C.select(e,a??c,n.workspaceId),d=o?.find(g=>g.path==="model.providerDefaults")?.value,i=d&&typeof d=="object"?d[l]:void 0,h=n.model??(o?typeof i=="string"?i:"":H.select(e,l));return At.select(e,l,h,n.workspaceId)}),le="application/vnd.intent.question+json";function wt(e){if(!e||typeof e!="object")return!1;const t=e;return typeof t.label=="string"&&t.label.length>0&&(t.description===void 0||typeof t.description=="string")}function Rt(e){if(!e||typeof e!="object")return!1;const t=e;return typeof t.attachmentId=="string"&&typeof t.header=="string"&&t.header.length>0&&typeof t.question=="string"&&t.question.length>0&&(t.explanation===void 0||typeof t.explanation=="string")&&Array.isArray(t.options)&&t.options.length>=2&&t.options.every(wt)&&(t.multiSelect===void 0||typeof t.multiSelect=="boolean")}function No(e){if(!e||typeof e!="object")return!1;const t=e;if(t.type!=="resource")return!1;const n=t.resource;return typeof n=="object"&&n!==null&&n.mimeType===le}function Ot(e){if(!e||typeof e!="object")return null;const t=e,n=t.resource??t.metadata?.resource??t;if(!n||typeof n!="object"||n.mimeType!==le||typeof n.text!="string")return null;try{const o=JSON.parse(n.text);return Rt(o)?o:null}catch{return null}}const Lt="attachmentId",Nt=/^tar-[0-9a-f]{12}$/;function ie(e){if(!e||typeof e!="object")return null;const t=e;if(t.type!=="resource")return null;const n=t.resource;return!n||typeof n!="object"||typeof n.uri!="string"||typeof n.mimeType!="string"||typeof n.text!="string"||n.name!==void 0&&typeof n.name!="string"?null:n}function de(e){const t=ie(e);if(!t)return null;try{const n=JSON.parse(t.text);if(!n||typeof n!="object"||Array.isArray(n))return null;const o=n[Lt];return typeof o=="string"&&Nt.test(o)?o:null}catch{return null}}function B(e){return Array.isArray(e)?`[${e.map(B).join(",")}]`:e&&typeof e=="object"?`{${Object.entries(e).sort(([n],[o])=>n<o?-1:n>o?1:0).map(([n,o])=>`${JSON.stringify(n)}:${B(o)}`).join(",")}}`:JSON.stringify(e)??"undefined"}function Tt(e){const t=ie(e);if(!t)return null;if(t.mimeType===ot)try{const o=JSON.parse(t.text);if(rt(o))return`proposal:${o.kind}:${o.applyToolCallId??o.preview.title}:${B(o.payload)}`}catch{}const n=de(e);return n?`nonce:${n}`:t.uri.length>0?`uri:${t.uri}:${t.text}`:null}function W(e){return de(e)!==null}function Bt(e){const t=new Map,n=[];for(const o of e){const s=Tt(o);if(s===null){n.push(o);continue}const c=t.get(s);if(c===void 0){t.set(s,n.length),n.push(o);continue}W(o)&&!W(n[c])&&(n[c]=o)}return n}function ue(e,t){if(typeof t!="string"||t.length===0)return!1;const n=e?.dismissedQuestionsMessageId;return typeof n=="string"&&n===t}function Dt(e){if(e.skipped)return"(skipped)";const t=[...e.selectedLabels],n=e.imageBlocks?.length??0,o=n===0?"":n===1?u.chat_questionWizard_imagesAttached_label_one():u.chat_questionWizard_imagesAttached_label_many({count:st(n)});return(e.freeText||n>0)&&t.push(`(Other) ${[e.freeText,o].filter(Boolean).join(" ")}`),t.length===0?"(skipped)":t.join(", ")}function xt(e){return e.map(t=>`Q: ${t.question.question}
|
|
1
|
+
import{Ic as Y,Iz as r,rI as Le,nx as f,Ba as Ne,x$ as E,qq as Te,nw as S,B4 as Be,g as G,rf as z,B5 as J,c as De,nj as X,A as xe,rn as _,h7 as He,D as je}from"./A0r9TbR7.js";import{k as We}from"./uXuxG9cN.js";import{l as Fe,s as Ke}from"./BMm9sGZ6.js";import{cj as qe,c1 as w,cE as $e,ca as M,b_ as k,cv as C,cN as Z,cM as Ue,cD as Qe,b$ as Ve,bv as Ye,m as Ge,G as ze,dS as Je,dC as ee,ax as Xe,cm as Ze,dr as te,cK as et,cL as tt,cP as nt}from"./B0biUQQF.js";import{P as ot,c as rt}from"./BvFAWM27.js";import{bp as u}from"./DTQYcznv.js";import{t as st}from"./BqqN40AD.js";import{v as ct,y as at}from"./BIEvH8pu.js";function lt(e,t,n){if(!e||!n?.length)return null;const o=new Set(n);if(t!==null&&!o.has(t))return null;const s=e.lastIndexOf("/"),c=s>=0?e.slice(s+1):"",a=o.has(c)?e.slice(0,s):e;return t===null?a:`${a}/${t}`}const it={major:5,minor:2};function dt(e){const{major:t,minor:n}=it;return We(e,t,n)}function N(e,t,n){const o=Y(e);return o.providerId&&n(o.providerId)===t?o.modelId:e}function L(e,t){const n=t(e);if(n)return n;const o=/\/(minimal|low|medium|high|xhigh|max|ultra|none)$/i.exec(e);if(!o||o.index===0)return;const s=t(e.slice(0,o.index)),c=o[1].toLowerCase();return s?`${s} (${c.charAt(0).toUpperCase()}${c.slice(1)})`:void 0}function ut(e,t){return JSON.stringify([t||null,e])}const ft=r.createSelector((e,t)=>(t?e.providerModels?.byWorkspaceId?.[t]:e.providerModels?.byProviderId)??{}),_n=r.createSelector((e,t,n)=>ft.select(e,n)[t]),wn=r.createSelector(e=>e.providerModels?.clearEpoch??0),Rn=r.createSelector((e,t)=>(t?e.providerModels?.requestsByWorkspaceId?.[t]?.map:e.providerModels?.requests?.map)??{}),pt=r.createSelector(e=>Object.fromEntries(Object.values(e.providerModels?.observers?.map??{}).flatMap(({providerIds:t,workspaceId:n})=>t.map(o=>[ut(o,n),{providerId:o,workspaceId:n}])))),On=r.createSelector(e=>Object.keys(pt.select(e)).sort()),mt=r.createSelector((e,t,n)=>Le(e.providerModels?.learnedNames??{},t,n)),Ln=r.createSelector(e=>e.providerModels.learnedNames),bt={auggie:"auggie",claudeCode:"claude-code",codex:"codex",mock:"mock",opencode:"opencode",pi:"pi",cortex:"cortex",droid:"droid",grok:"grok",unsloth:"unsloth",antigravity:"antigravity",cursor:"cursor"},gt=new Map(Object.entries(bt).map(([e,t])=>[t,e]));function vt(e,t){const n=gt.get(t);return n===void 0?void 0:e?.providers[n]}function Nn(e,t){const n=vt(e,t);return n?.available===!0&&ne(t,n.authenticated)}const Tn=new Set(["claude-code"]);function ne(e,t){return t!==!1}const j=new WeakMap,oe=r.createSelector(e=>{if(!qe.select(e))return e.agentAvailability.providerStatusMap;const t=e.providerCatalog?.providers;if(!t)return{};let n=j.get(t);return n||(n=Object.fromEntries(f(t).map(o=>[o.id,{available:!0}])),j.set(t,n)),n}),Bn=r.createSelector(e=>e.agentAvailability.providerLoadingMap),Dn=r.createSelector(e=>e.agentAvailability.providerCheckEpochMap),St=r.createSelector(e=>e.agentAvailability.hasCheckedOnce),xn=r.createSelector(e=>Object.values(e.agentAvailability.providerLoadingMap).some(t=>t)),Hn=r.createSelector(e=>e.agentAvailability.npxStatus),jn=r.createSelector(e=>e.agentAvailability.hiddenProviders),Wn=r.createSelector(e=>e.agentAvailability.discoveryError),Fn=r.createSelector(e=>e.agentAvailability.discoveryRevision),Kn=r.createSelector(e=>e.agentAvailability.refreshModelsPending),qn=r.createSelector(e=>e.agentAvailability.refreshModelsRevision),$n=r.createSelector(e=>e.sidebarNav?.onboardingActive&&e.userPreferences.providerSetupHydratedBackendId===e.connections.windowBackendId&&!e.userPreferences.hasCompletedProviderSetup&&w.select(e)==="owner"?$e.select(e):null),Un=r.createSelector((e,t)=>f(e.providerSettings.requests).filter(n=>n.sessionId===t)),Qn=r.createSelector((e,t)=>e.providerSettings.sessions.includes(t)),Vn=r.createSelector((e,t)=>e.providerSettings.writeRevisions?.[t]??0),Yn=r.createSelector(e=>e.providerSettings.paths),Gn=r.createSelector(e=>e.providerSettings.pathsRevision),I=r.createSelector(e=>M.select(e)?k.select(e)?.defaultProviderId??"":e.model.defaultProviderId);r.createSelector((e,t)=>I.select(e)===t);const ht=r.createSelector(e=>M.select(e)?Object.fromEntries((k.select(e)?.enabledProviderIds??[]).map(t=>[t,!0])):e.providerSettings.enabledProviders),re=r.createSelector((e,t)=>{if(M.select(e))return k.select(e)?.enabledProviderIds?.includes(t)===!0;const n=e.providerSettings.nonDisableableProviderIds??[];return Ne(e.providerSettings.enabledProviders,t,{canBeDisabled:!n.includes(t)})}),se=r.createSelector(e=>{if(M.select(e))return k.select(e)?.enabledProviderIds??[];const t=e.providerSettings.enabledProviders,n=e.providerCatalog?f(e.providerCatalog.providers):[],o=new Set(n.filter(a=>re.select(e,a.id)).map(a=>a.id)),s=I.select(e),c=E(s);c&&t[c]!==!1&&o.add(c);for(const[a,l]of Object.entries(t))l&&o.add(a);return[...o]});function Pt(e,t){const n=Z.select(e,t);return M.select(e)?n?.visible!==!0:!!(n?.requiresEnvVar||n?.requiresFeatureCode)}const R=r.createSelector(e=>{const t=oe.select(e);return se.select(e).filter(n=>!Pt(e,n)&&t[n]?.available===!0)}),zn=r.createSelector((e,t)=>{const n=oe.select(e),o=C.select(e,t);return R.select(e).filter(s=>C.select(e,s)!==o&&re.select(e,s)&&ne(s,n[s]?.authenticated))}),Jn=r.createSelector(e=>St.select(e)?R.select(e):se.select(e)),Xn=r.createSelector(e=>{const t=E(I.select(e));return R.select(e).includes(t)}),Zn=r.createSelector(e=>e.providerSettings.fastMode),eo=r.createSelector(e=>{const t=e.providerSettings.fastMode,n={...t?.confirmed};for(const[o,s]of Object.entries(t?.pending??{}))n[o]=s.enabled;return n}),to=r.createSelector(e=>Object.values(m(e).defaults).some(t=>t.remoteLaunch!==void 0)),no=r.createSelector(e=>e.providerSettings.fastMode?.supported?["claude-code","codex"].filter(t=>Z.select(e,t)?.supportsFastMode===!0):[]),m=e=>e.providerSettings?.profiles??Te,oo=r.createSelector(e=>Ue.select(e).filter(t=>t.supportsProfiles===!0).map(t=>t.id)),ro=r.createSelector((e,t)=>f(m(e).items).filter(n=>n.baseProviderId===t)),so=r.createSelector(e=>[...new Set(f(m(e).items).map(t=>t.baseProviderId))]),co=r.createSelector(e=>m(e).defaults),ao=r.createSelector((e,t)=>m(e).defaults[t]),lo=r.createSelector((e,t)=>S(m(e).items,t)),io=r.createSelector(e=>m(e).revision),uo=r.createSelector(e=>m(e).loadStatus),fo=r.createSelector(e=>m(e).status),po=r.createSelector(e=>m(e).activation),mo=r.createSelector(e=>Object.fromEntries(f(m(e).mutations).map(t=>[t.id,t]))),yt={},bo=r.createSelector(e=>m(e).identity??yt),Mt={},go=r.createSelector(e=>m(e).setups??Mt),vo=r.createSelector(e=>(e.providerSettings?.sessions.length??0)>0),So=r.createSelector(e=>e.model),ho=r.createSelector(e=>{const t=Qe.select(e),n=w.select(e);if(!t||n!=="owner"&&n!=="member")return null;const o=I.select(e);return n==="member"&&!o?null:JSON.stringify([t,o,n==="member"?Ve.select(e):null])});function ce(e,t){return t??I.select(e)}const H=r.createSelector((e,t)=>{const n=ce(e,t),o=e.model.availableModelsProviderId===n?f(e.model.availableModels):[],s=k.select(e),c=M.select(e)?s?.defaultProviderId===n?s.defaultModelId:null:e.model.providerModels[n];return c||(R.select(e).includes(n)?Be(o):"")}),It=r.createSelector((e,t)=>H.select(e,t)!==""),Po=r.createSelector(e=>I.select(e)!==""||It.select(e)),Ct=r.createSelector(e=>e.model.availableModels),yo=r.createSelector(e=>f(Ct.select(e))),Mo=r.createSelector(e=>e.model.availableModelsProviderId),ae=r.createSelector((e,t)=>{const n=ce(e,t);return e.model.loadingState[n]??null}),Io=r.createSelector((e,t)=>ae.select(e,t)?.status==="loading"),Co=r.createSelector((e,t)=>{const n=ae.select(e,t);return n?.status!=="error"?null:n.error??null}),Eo=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.model.loadingState))o.warning&&(t[n]=o.warning);return t}),ko=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.model.loadingState))o.stale&&(t[n]=!0);return t}),Ao=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.model.loadingState))o.warning&&o.warningKind&&(t[n]=o.warningKind);return t}),_o=r.createSelector(e=>e.model.providerModels),wo=r.createSelector(e=>e.model.defaultReasoningEffort),Ro=r.createSelector(e=>e.model.modelPickerCollapsedGroups),Oo=r.createSelector((e,t)=>e.model.fallbackInfoByAgentId[t]??null),Et=r.createSelector((e,t,n,o)=>{const s=i=>C.select(e,i,o),c=s(t),a=N(n,c,s),l=e.model?.availableModels;if(!o&&l&&(!c||c===e.model.availableModelsProviderId)){const i=S(l,n)??S(l,a);if(i)return i}const d=o?e.providerModels?.byWorkspaceId?.[o]?.[c]:e.providerModels?.byProviderId?.[c];return d?.models.find(i=>i.value===n)??d?.models.find(i=>N(i.value,c,s)===a)}),Lo=r.createSelector((e,t,n,o)=>{const s=i=>C.select(e,i,o),c=s(t),a=N(n,c,s),l=i=>Et.select(e,c,i,o)?.label,d=i=>mt.select(e,c,i);return L(n,l)??(a!==n?L(a,l):void 0)??d(n)??L(a,d)}),kt=r.createSelector((e,t)=>{if(!t)return;const n=e.model?.availableModels;if(!n)return;const o=T(t);return S(n,o)?.effortLevels});function T(e){const t=Y(e).modelId,n=t.indexOf("/");return n>0?t.slice(0,n):t}const At=r.createSelector((e,t,n,o)=>{if(n){if(!o&&(!t||t===e.model?.availableModelsProviderId)){const s=kt.select(e,n);if(s)return s}if(t){const s=T(n);return(o?e.providerModels?.byWorkspaceId?.[o]?.[t]:e.providerModels?.byProviderId[t])?.models.find(a=>T(a.value)===s)?.effortLevels}}}),_t=r.createSelector((e,t)=>{const n=e.agentSessions?.byAgentId[t];if(!n)return;if(Array.isArray(n.effortLevels)&&n.effortLevels.length>0)return n.effortLevels;const o=n.workspaceId?e.providerCatalog?.byWorkspaceId?.[n.workspaceId]?.settings??[]:void 0,s=o?.find(g=>g.path==="model.defaultProvider")?.value,c=o?typeof s=="string"?s:"":Ye.select(e),a=Ge(n,c),l=C.select(e,a??c,n.workspaceId),d=o?.find(g=>g.path==="model.providerDefaults")?.value,i=d&&typeof d=="object"?d[l]:void 0,h=n.model??(o?typeof i=="string"?i:"":H.select(e,l));return At.select(e,l,h,n.workspaceId)}),le="application/vnd.intent.question+json";function wt(e){if(!e||typeof e!="object")return!1;const t=e;return typeof t.label=="string"&&t.label.length>0&&(t.description===void 0||typeof t.description=="string")}function Rt(e){if(!e||typeof e!="object")return!1;const t=e;return typeof t.attachmentId=="string"&&typeof t.header=="string"&&t.header.length>0&&typeof t.question=="string"&&t.question.length>0&&(t.explanation===void 0||typeof t.explanation=="string")&&Array.isArray(t.options)&&t.options.length>=2&&t.options.every(wt)&&(t.multiSelect===void 0||typeof t.multiSelect=="boolean")}function No(e){if(!e||typeof e!="object")return!1;const t=e;if(t.type!=="resource")return!1;const n=t.resource;return typeof n=="object"&&n!==null&&n.mimeType===le}function Ot(e){if(!e||typeof e!="object")return null;const t=e,n=t.resource??t.metadata?.resource??t;if(!n||typeof n!="object"||n.mimeType!==le||typeof n.text!="string")return null;try{const o=JSON.parse(n.text);return Rt(o)?o:null}catch{return null}}const Lt="attachmentId",Nt=/^tar-[0-9a-f]{12}$/;function ie(e){if(!e||typeof e!="object")return null;const t=e;if(t.type!=="resource")return null;const n=t.resource;return!n||typeof n!="object"||typeof n.uri!="string"||typeof n.mimeType!="string"||typeof n.text!="string"||n.name!==void 0&&typeof n.name!="string"?null:n}function de(e){const t=ie(e);if(!t)return null;try{const n=JSON.parse(t.text);if(!n||typeof n!="object"||Array.isArray(n))return null;const o=n[Lt];return typeof o=="string"&&Nt.test(o)?o:null}catch{return null}}function B(e){return Array.isArray(e)?`[${e.map(B).join(",")}]`:e&&typeof e=="object"?`{${Object.entries(e).sort(([n],[o])=>n<o?-1:n>o?1:0).map(([n,o])=>`${JSON.stringify(n)}:${B(o)}`).join(",")}}`:JSON.stringify(e)??"undefined"}function Tt(e){const t=ie(e);if(!t)return null;if(t.mimeType===ot)try{const o=JSON.parse(t.text);if(rt(o))return`proposal:${o.kind}:${o.applyToolCallId??o.preview.title}:${B(o.payload)}`}catch{}const n=de(e);return n?`nonce:${n}`:t.uri.length>0?`uri:${t.uri}:${t.text}`:null}function W(e){return de(e)!==null}function Bt(e){const t=new Map,n=[];for(const o of e){const s=Tt(o);if(s===null){n.push(o);continue}const c=t.get(s);if(c===void 0){t.set(s,n.length),n.push(o);continue}W(o)&&!W(n[c])&&(n[c]=o)}return n}function ue(e,t){if(typeof t!="string"||t.length===0)return!1;const n=e?.dismissedQuestionsMessageId;return typeof n=="string"&&n===t}function Dt(e){if(e.skipped)return"(skipped)";const t=[...e.selectedLabels],n=e.imageBlocks?.length??0,o=n===0?"":n===1?u.chat_questionWizard_imagesAttached_label_one():u.chat_questionWizard_imagesAttached_label_many({count:st(n)});return(e.freeText||n>0)&&t.push(`(Other) ${[e.freeText,o].filter(Boolean).join(" ")}`),t.length===0?"(skipped)":t.join(", ")}function xt(e){return e.map(t=>`Q: ${t.question.question}
|
|
2
2
|
A: ${Dt(t)}`).join(`
|
|
3
3
|
|
|
4
|
-
`)}const fe="question_answers";function Ht(e){return{type:fe,answeredQuestionsMessageId:e}}function To(e,t){const n=e.flatMap(o=>o.skipped?[]:o.imageBlocks??[]);return{text:xt(e),messageMetadata:Ht(t),...n.length>0?{imageBlocks:n}:{}}}function F(e){if(!e||typeof e!="object")return null;const t=e;if(t.type!==fe)return null;const n=t.answeredQuestionsMessageId;return typeof n=="string"&&n.length>0?n:null}function K(e){const t=F(e),n=t?[t]:[];if(e&&typeof e=="object"&&"mergedMessageMetadata"in e){const o=e.mergedMessageMetadata;if(Array.isArray(o))for(const s of o){const c=F(s);c&&!n.includes(c)&&n.push(c)}}return n}function pe(e){if(!e)return[];const t=K(e.metadata);if(t.length)return t;const n=Array.isArray(e.contentBlocks)?e.contentBlocks:[];return[...new Set(n.flatMap(o=>o.type==="text"?K(o.messageMetadata):[]))]}function me(e){return e===void 0?{kind:"absent"}:e===""?{kind:"cleared"}:{kind:"set",messageId:e}}function q(e){return Bt(e.contentBlocks??[]).map(Ot).filter(t=>t!==null)}function be(e,t){return e.some(n=>n.role==="user"&&pe(n).includes(t))}function $(e,t){return e.some(n=>pe({metadata:n.messageMetadata}).includes(t))}function jt(e,t,n=!1,o,s=[]){if(n||e.length===0)return null;const c=me(o);if(c.kind==="cleared")return null;if(c.kind==="set"){const a=e.find(d=>d.id===c.messageId);if(!a||a.role!=="assistant"||a.isStreaming||be(e,c.messageId)||$(s,c.messageId))return null;const l=q(a);return l.length>0?{messageId:a.id,questions:l}:null}if(t)return null;for(let a=e.length-1;a>=0;a--){const l=e[a];if(l.role==="system")continue;if(l.role!=="assistant"||l.isStreaming||$(s,l.id))return null;const d=q(l);return d.length>0?{messageId:l.id,questions:d}:null}return null}function Wt(e){const t=jt(e.messages??[],Je(ze(e)),!1,e.metadata?.pendingQuestionsMessageId);return!t||ue(e.metadata,t.messageId)?null:t}function Ft(e){if(Wt(e)!==null)return!0;const t=me(e.metadata?.pendingQuestionsMessageId);if(t.kind!=="set")return!1;const n=e.messages??[];return n.some(o=>o.id===t.messageId)||be(n,t.messageId)?!1:!ue(e.metadata,t.messageId)}const ge=0,D=1,Kt=2,b=4,ve=6,qt=[2,3,4,5,0,1],$t=16777215,Se=689407,he=3199320,Pe=16766474,ye=16752394,x=16726832,Me=6607615,Ut=12540658,y=.9,Qt=.5,Ie=.25,Vt=.25,Yt={unassigned:{c:0,b:0,e:ge,s:0},idle:{c:$t,b:.12,e:D,s:0},running:{c:Se,b:.6,e:b,s:Qt},unread:{c:Me,b:.4,e:b,s:Ie},complete:{c:he,b:.5,e:D,s:0},attention:{c:Pe,b:.8,e:b,s:y},blocked:{c:ye,b:.75,e:b,s:y},failed:{c:x,b:.7,e:b,s:y}},Gt={e:ge,b:0,s:0,m:0,c:0},U=.35,Jt=.75,Q=4;function zt(e){const n=(Math.min(Math.max(e,1),Q)-1)/(Q-1);return U+n*(Jt-U)}const Xt={dark:Gt,complete:{e:D,b:.25,s:0,m:0,c:he},unread:{e:b,b:.4,s:Ie,m:0,c:Me},question:{e:b,b:.8,s:y,m:0,c:Pe},blocked:{e:b,b:.8,s:y,m:0,c:ye},failed:{e:b,b:.8,s:y,m:0,c:x},recording:{e:b,b:.8,s:y,m:0,c:x},disconnected:{e:Kt,b:.2,s:Vt,m:0,c:Ut}};function Bo(e){const t=[];for(let n=0;n<ve;n+=1){const o=e[n]??"unassigned";t.push({id:qt[n],...Yt[o]})}return t.sort((n,o)=>n.id-o.id),t}function Do(e){const t=e.kind==="running"?{e:b,b:.5,s:zt(e.runningCount),m:0,c:Se}:Xt[e.kind];return{keys:{...t},ambient:{...t}}}function Ce(e){return X(e)?.kind==="blocker"}function Ee(e){return X(e)?.kind==="discussion"||Ft(e)}function ke(e){return e.status===De.Error}function V(e,t){const n=e.workspaceAgents.byWorkspaceId[t]?.foregroundAgentIds??[],o=e.agentSessions?.byAgentId??{},s=[];for(const c of n){const a=o[String(c)];a&&s.push(a)}return s}const Zt=new Set(["complete","pr_queued","pr_ready","pr_open","pr_merged"]);function Ae(e){return e.activity==="agent_running"||e.displayStatus==="in_progress"}function _e(e){return e.displayStatus!==void 0&&Zt.has(e.displayStatus)}function en(e,t){return t.some(ke)?"failed":t.some(Ce)?"blocked":t.some(Ee)?"attention":Ae(e)?"running":e.attention==="unread"?"unread":_e(e)?"complete":"idle"}function tn(e){if(e.daemonHealth?.health==="down")return{keys:new Array(ve).fill("unassigned"),ambient:{kind:"disconnected"}};const t=f(e.workspace.workspaces).filter(p=>p.id!==G&&J(p)),n=new Map;for(const p of t)n.set(p.id,p);const s=z(e.hardwareConsole.keyPins,t,e.hardwareConsole.excludedWorkspaceIds??[]).map(p=>{const P=p===null?void 0:n.get(p);return P?en(P,V(e,P.id)):"unassigned"});let c=!1,a=!1,l=!1,d=0,i=!1,h=!1;const g=new Set(e.tabState.workspaceStacks.flat());for(const p of t){if(!g.has(p.id))continue;const P=V(e,p.id);P.some(ke)&&(c=!0),P.some(Ce)&&(a=!0),P.some(Ee)&&(l=!0),Ae(p)&&(d+=1),p.attention==="unread"&&(i=!0),_e(p)&&(h=!0)}let v;return e.hardwareConsole.pttRecording===!0?v={kind:"recording"}:c?v={kind:"failed"}:a?v={kind:"blocked"}:l?v={kind:"question"}:i?v={kind:"unread"}:d>0?v={kind:"running",runningCount:d}:h?v={kind:"complete"}:v={kind:"dark"},{keys:s,ambient:v}}const xo=r.createSelector(e=>{const t=w.select(e);return t==="guest"||t==="member"}),Ho=r.createSelector(e=>{const t=e.hardwareConsole;if(w.select(e)!=="owner"||!t?.isConsoleOwner||!t.enabledHydrationSucceeded||!t.actionMappingHydrationSucceeded)return null;const n=o=>xe.filter((s,c)=>t.actionMappingByModel[o][c]==="cycle-open-windows");return JSON.stringify({enabled:t.enabled,keysByModel:{"creator-micro-2":n("creator-micro-2"),"codex-micro":n("codex-micro")}})}),jo=r.createSelector(e=>e.hardwareConsole.enabled),Wo=r.createSelector(e=>e.hardwareConsole.encoderBehavior),Fo=r.createSelector(e=>e.hardwareConsole.encoderBehaviorSaveFailed),Ko=r.createSelector(e=>e.hardwareConsole.isConsoleOwner),qo=r.createSelector(e=>e.hardwareConsole.promptPickerLimit),$o=r.createSelector(e=>e.hardwareConsole.actionMappingByModel),Uo=r.createSelector(e=>e.hardwareConsole.cycleScopeByFamily),Qo=r.createSelector(e=>e.hardwareConsole.keyPins),Vo=r.createSelector(e=>e.hardwareConsole.excludedWorkspaceIds),Yo=r.createSelector(e=>e.hardwareConsole.promptUsage),nn=r.createSelector(e=>{const t=ee.select(e).filter(J);return z(e.hardwareConsole.keyPins,t,e.hardwareConsole.excludedWorkspaceIds)}),Go=r.createSelector((e,t)=>{const n=e.hardwareConsole.keyPins.indexOf(t);return n===-1?null:n}),Jo=r.createSelector((e,t)=>{const n=nn.select(e).indexOf(t);return n===-1?null:n}),zo=r.createSelector(e=>e.hardwareConsole.radialPrompt),Xo=r.createSelector(e=>e.hardwareConsole.encoderHudWorkspaceId),Zo=r.createSelector(e=>{const t=e.hardwareConsole.encoderHudWorkspaceId;return t===null?null:ee.select(e).find(n=>n.id===t)?.title??null}),er=r.createSelector(e=>e.hardwareConsole.actionHudLabel),tr=r.createSelector(e=>e.hardwareConsole.pttRecording),nr=r.createSelector(e=>e.hardwareConsole.voiceTranscribing),or=r.createSelector(e=>tn(e)),on=r.createSelector((e,t,n)=>{const o=e.agentSessions.byAgentId[n];if(!o||o.workspaceId!==t)return null;const s=_t.select(e,n);if(!s?.length)return null;const c=Xe.select(e,n),a=o.model??H.select(e,c),l=e.daemonHealth.stats?.protocolVersion,d=dt(l)?lt(a,null,s):a;return{key:JSON.stringify([t,n,c,d,s]),workspaceId:t,agentId:n,levels:s}}),rn=r.createSelector(e=>{const t=e.hardwareConsole;if(!t.enabled||!t.isConsoleOwner||!t.encoderBehaviorHydrated||t.encoderBehavior!=="agent-effort")return null;const n=Fe.select(e);if(!n||n===G||Ze.select(e,n))return null;const o=Ke.select(e,n);return o?.type!=="agent"||!o.agentId||o.workspaceId&&o.workspaceId!==n?null:on.select(e,n,o.agentId)}),rr=r.createSelector(e=>{const t=e.hardwareConsole.encoderEffortFeedback;return!t||rn.select(e)?.key!==t.target.key?null:(e.agentSessions.byAgentId[t.target.agentId]?.reasoningEffort??null)===t.effort?t:null}),sn=[],sr=r.createSelector((e,t)=>S(e.connections.workflows,t)),cr=r.createSelector(e=>({writing:e.connections.keychainWritesPending>0,loadFailed:e.connections.keychainLoadError,saveFailed:e.connections.keychainSaveError})),ar=r.createSelector(e=>e.connections.selfPublication),lr=r.createSelector(e=>e.connections.selfPublicationBusy),ir=r.createSelector((e,t)=>({guest:S(e.guestSessions.sessions,t),connection:S(e.connections.connections,t)})),dr=r.createSelector(e=>f(e.connections.connections).filter(t=>!t.displayOnly)),ur=r.createSelector(e=>f(e.connections.connections).filter(t=>!t.displayOnly&&t.daemonMode!=="node")),fr=r.createSelector(e=>f(e.connections.connections).filter(t=>!t.displayOnly&&!t.isLocal)),pr=r.createSelector(e=>e.connections.hasReceivedList);r.createSelector((e,t)=>S(e.connections.connections,t)?.status??"not-open");const mr=r.createSelector(e=>e.connections.windowBackendId),br=r.createSelector(e=>{const{connections:t,windowBackendId:n}=e.connections;return S(t,n)??null}),gr=r.createSelector(e=>e.connections.pinnedVersion),vr=r.createSelector(e=>e.connections.connectedIds);r.createSelector(e=>e.connections.status);const Sr=r.createSelector(e=>e.connections.status==="connecting"||e.connections.openingIds.length>0);r.createSelector((e,t)=>e.connections.openingIds.includes(t));r.createSelector(e=>e.connections.error);const hr=r.createSelector(e=>e.connections.certMismatch),Pr=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.connections.certWarnings))t[n]=f(o);return t}),yr=r.createSelector(e=>{const t=e.connections.certWarnings[e.connections.windowBackendId];return t?f(t):sn}),Mr=r.createSelector(e=>{const{authRejected:t,windowBackendId:n}=e.connections;return t&&t.id===n?t:null}),Ir=r.createSelector(e=>{const{protocolMismatch:t,windowBackendId:n}=e.connections;return t&&t.id===n?t:null}),Cr=r.createSelector(e=>{const{protocolMismatch:t,windowBackendId:n,protocolMismatchModalDismissed:o}=e.connections;return!t||t.id!==n||o?null:t}),Er=r.createSelector(e=>e.connections.keychainSync),kr=r.createSelector(e=>e.connections.browserHost?.manageConnections===!0),Ar=r.createSelector(e=>e.connections.browserHost?.backendBound===!1),_r=r.createSelector(e=>{const t=e.connections.browserHost;return t?.manageConnections===!0&&!t.tailcatAvailable});function we(e){const t=e.trim();if(!t.startsWith("tc"))return!1;const n=t.slice(2);if(n.length<50||n.length%4===1||!/^[A-Za-z0-9_-]+$/.test(n))return!1;const o=atob(n.slice(0,4).replace(/-/g,"+").replace(/_/g,"/")).charCodeAt(0);return o>=161&&o<=187||o===191}function wr(e){if(!e||typeof e!="object")return null;const t=e;for(const n of[t.collaborationName,t.prettyHostname,t.hostname])if(typeof n=="string"&&A(n))return A(n);return null}function Rr(e){return[...A(e)].length<=100&&!/\p{Cc}/u.test(e)}function A(e){return e.replace(/^\p{White_Space}+|\p{White_Space}+$/gu,"")}function cn(e){const t=e.label.trim(),n=e.host&&e.port!=null?`${e.host}:${e.port}`:"";return(t&&t!==n?t:"")||e.hostname?.trim()||t||n}function an(e){const t=e.machineName?.trim();return t?u.settings_devices_localMachine_label({name:t}):u.layout_daemonStatus_localConnection_label()}function Or(e,t){if(e.isLocal)return an(e);const n=cn(e);return e.id===t?u.settings_devices_connectedBackend_label({name:n}):n}function ln(e){const t=A(e.hostname??"");return t||(we(e.label)?u.connection_unknownHost_label():e.label)}function Lr(e){const t=e.label.trim();return!t||we(t)?null:t!==ln(e)?t:null}function Nr(e){return e.catalogProfiles.some(t=>typeof t.remoteCompatible=="boolean")||e.defaultRemoteIncompatibility||e.defaultRemoteLaunch||e.profileDefaults.some(t=>typeof t.remoteCompatible=="boolean")?"supported":e.catalogProfiles.length>0?"unsupported":e.profilesLoadStatus==="idle"?"unknown":"unsupported"}function Tr(e,t,n){if(_(e)){const o=t.find(s=>s.providerRef===e);return o?.remoteCompatible!==!1?null:o.remoteIncompatibility??{reason:"unknown",keys:[]}}return null}const dn=1440*60*1e3;function un(e,t){if(!e?.capabilities)return"missing";const n=e.observedAt?Date.parse(e.observedAt):Number.NaN;return Number.isFinite(n)&&t-n>dn?"stale":"fresh"}function Br(e,t,n){if(!e||un(e,n)!=="fresh")return;const o=E(t),s=e.capabilities?.providers.find(c=>c.id===o);return s&&s.models.length>0?s.models:void 0}const fn=new Set(["cli-missing","prerequisite-missing"]);function Dr(e){return e.visible!==!1&&!fn.has(e.status)}const pn=new Set(["signed-out","auth-failed"]);function mn(e){return pn.has(e)}function bn(e,t){if(_(t))return!1;const n=E(t),o=e?.capabilities?.providers.find(s=>s.id===n);return!!o&&mn(o.status)}function Re(e,t){return(t.defaultRemoteLaunch?t.defaultRemoteLaunch[e]==="send":!t.defaultRemoteIncompatibility?.[e])&&t.defaultHasOverrides?.[e]!==!1}function gn(e,t,n){return n.defaultRemoteLaunch?.[t]==="refused"?!1:!e.cloud&&!bn(e,t)}function xr(e){const{machine:t,providerRef:n}=e;return _(n)||gn(t,n,e)||Re(n,e)?null:e.catalogProfiles.find(o=>o.baseProviderId===n&&o.remoteCompatible===!0)??null}const vn=r.createSelector(e=>ct.select(e)&&at.select(e)&&e.remoteMachines?.supported===!0&&e.cloudMachines?.supported===!0),Hr=r.createSelector(e=>{const t=e.cloudMachines?.providerKinds??["e2b"];return e.cloudMachines?.entries===!0?t:t.filter(n=>n==="e2b")}),jr=r.createSelector(e=>e.cloudMachines?.entries===!0);function Oe(e){return Object.values(e.cloudMachines?.providers??{}).sort((t,n)=>t.configuredAt.localeCompare(n.configuredAt)||t.name.localeCompare(n.name))}const Wr=r.createSelector(Oe),Fr=r.createSelector(e=>Object.values(e.cloudMachines?.machines??{}).sort((t,n)=>(t.cloud?.startedAt??"").localeCompare(n.cloud?.startedAt??""))),Kr=r.createSelector(e=>Object.values(e.cloudMachines?.machines??{}).filter(t=>t.cloud?.state==="paused").length);function Sn(e,t){const n=t.cloud;return!n?.agentId||!n.workspaceId||!te.select(e,n.workspaceId)?null:{workspaceId:n.workspaceId,agentId:n.agentId}}const qr=r.createSelector((e,t)=>{const n={},o={};for(const s of t){const c=s.cloud?.workspaceId;if(c&&!(c in n)){const a=te.select(e,c);n[c]=a?.title||a?.name||null}o[s.id]=Sn(e,s)}return{workspaceNames:n,agentLinks:o}}),$r=r.createSelector(e=>e.cloudMachines?.readAt??{}),Ur=r.createSelector(e=>e.cloudMachines?.pending??{}),Qr=r.createSelector(e=>e.cloudMachines?.failures??{}),Vr=r.createSelector(e=>e.cloudMachines?.validated??null);function Yr(e){if(!vn.select(e))return null;const t=Oe(e);if(t.length===0)return null;const n=e.cloudMachines?.entries===!0;return t.map(o=>({cloudMachineId:o.id,label:o.provider==="northflank"?o.name.trim().toLowerCase()==="northflank"?He("northflank"):u.cloudMachines_startOn_northflank_label({name:o.name}):n&&(t.length>1||o.name.trim().toLowerCase()!=="e2b")?u.cloudMachines_startOn_entry_label({name:o.name}):u.cloudMachines_startOn_label(),unavailableReason:o.state!=="key-rejected"?null:o.provider==="northflank"?u.cloudMachines_northflank_state_tokenRejected_label():u.cloudMachines_state_keyRejected_label(),needsProfile:!hn(e,o)}))}function hn(e,t){const n=ht.select(e),o=e.providerSettings?.profiles?.defaults??{},s={defaultRemoteLaunch:tt.select(e),defaultRemoteIncompatibility:et.select(e)},c=i=>n[i]!==!1&&(t.agentProviders.length===0||t.agentProviders.includes(i)),a=new Set([...t.agentProviders,...Object.keys(s.defaultRemoteLaunch??{})]);for(const i of a)if(c(i)&&(o[i]?.env.length??0)>0&&Re(i,s))return!0;const l=e.providerSettings?.profiles?.items,d=l?f(l):[];return nt.select(e).some(i=>{if(i.remoteCompatible!==!0||!c(i.baseProviderId))return!1;const h=d.find(g=>g.providerRef===i.providerRef);return!h||h.env.some(g=>g.kind==="set")})}function Gr(e,t,n=e.cloudMachines?.providers[je]??null){if(!t)return null;const o=n,s=E(t);if(o&&o.agentProviders.length>0&&!o.agentProviders.includes(s))return u.cloudMachines_startOn_providerMissing();const c=e.providerSettings?.profiles;if(_(t)){const l=c?f(c.items).find(d=>d.providerRef===t):void 0;return l?l.remoteCompatible===!1?u.cloudMachines_startOn_needsProfile():l.env.some(d=>d.kind==="set")?null:u.cloudMachines_startOn_needsProfile():null}const a=c?.defaults?.[s];return a?a.remoteCompatible===!1?u.cloudMachines_startOn_needsProfile():a.env.some(l=>l.kind==="set")?null:u.cloudMachines_startOn_needsProfile():c?.loadStatus==="success"?u.cloudMachines_startOn_needsProfile():null}const O=new Map;function Jr(e){return O.has(e)}function zr(e){return O.get(e)}function Xr(e){O.set(e.agentId,e)}function Zr(e){O.delete(e)}export{yo as $,ve as A,No as B,be as C,$ as D,bn as E,we as F,un as G,Br as H,N as I,A as J,ut as K,xr as L,Tr as M,Tn as N,Nr as O,bt as P,Zr as Q,L as R,er as S,Mr as T,Ir as U,I as V,_t as W,ko as X,Ao as Y,Eo as Z,R as _,tn as a,So as a$,Mo as a0,ur as a1,so as a2,Pr as a3,Wr as a4,jr as a5,Qr as a6,vn as a7,Ur as a8,Hr as a9,Qo as aA,nn as aB,Yo as aC,zo as aD,or as aE,St as aF,Po as aG,kr as aH,_r as aI,Xn as aJ,xn as aK,Sr as aL,Ko as aM,Io as aN,re as aO,cr as aP,Er as aQ,mt as aR,Ln as aS,Co as aT,ho as aU,Et as aV,Lo as aW,kt as aX,Oo as aY,zn as aZ,Ro as a_,$r as aa,Fr as ab,Vr as ac,vr as ad,hr as ae,ir as af,sr as ag,dr as ah,pr as ai,br as aj,yr as ak,mr as al,wo as am,ht as an,on as ao,rr as ap,rn as aq,Xo as ar,Zo as as,no as at,$o as au,Uo as av,jo as aw,Wo as ax,Fo as ay,Vo as az,To as b,Ar as b0,Hn as b1,On as b2,pt as b3,$n as b4,Kr as b5,gr as b6,oo as b7,qo as b8,Cr as b9,uo as bA,io as bB,vo as bC,Qn as bD,Un as bE,oe as bF,Vn as bG,tr as bH,Jn as bI,fr as bJ,to as bK,qr as bL,H as bM,ar as bN,lr as bO,xo as bP,nr as bQ,Ho as bR,Go as bS,Jo as bT,Ft as bU,Wt as bV,Xr as bW,Yr as bX,dt as bY,Rr as bZ,Dn as ba,ao as bb,co as bc,Wn as bd,Fn as be,Zn as bf,eo as bg,jn as bh,Bn as bi,At as bj,_o as bk,_n as bl,ft as bm,wn as bn,Kn as bo,qn as bp,Rn as bq,Yn as br,Gn as bs,lo as bt,po as bu,bo as bv,mo as bw,go as bx,fo as by,ro as bz,lt as c,Do as d,Bo as e,me as f,Gr as g,wr as h,Bt as i,gn as j,Re as k,jt as l,cn as m,Lr as n,ln as o,an as p,Or as q,pe as r,zr as s,vt as t,Ot as u,Jr as v,Dr as w,ne as x,Nn as y,ue as z};
|
|
4
|
+
`)}const fe="question_answers";function Ht(e){return{type:fe,answeredQuestionsMessageId:e}}function To(e,t){const n=e.flatMap(o=>o.skipped?[]:o.imageBlocks??[]);return{text:xt(e),messageMetadata:Ht(t),...n.length>0?{imageBlocks:n}:{}}}function F(e){if(!e||typeof e!="object")return null;const t=e;if(t.type!==fe)return null;const n=t.answeredQuestionsMessageId;return typeof n=="string"&&n.length>0?n:null}function K(e){const t=F(e),n=t?[t]:[];if(e&&typeof e=="object"&&"mergedMessageMetadata"in e){const o=e.mergedMessageMetadata;if(Array.isArray(o))for(const s of o){const c=F(s);c&&!n.includes(c)&&n.push(c)}}return n}function pe(e){if(!e)return[];const t=K(e.metadata);if(t.length)return t;const n=Array.isArray(e.contentBlocks)?e.contentBlocks:[];return[...new Set(n.flatMap(o=>o.type==="text"?K(o.messageMetadata):[]))]}function me(e){return e===void 0?{kind:"absent"}:e===""?{kind:"cleared"}:{kind:"set",messageId:e}}function q(e){return Bt(e.contentBlocks??[]).map(Ot).filter(t=>t!==null)}function be(e,t){return e.some(n=>n.role==="user"&&pe(n).includes(t))}function $(e,t){return e.some(n=>pe({metadata:n.messageMetadata}).includes(t))}function jt(e,t,n=!1,o,s=[]){if(n||e.length===0)return null;const c=me(o);if(c.kind==="cleared")return null;if(c.kind==="set"){const a=e.find(d=>d.id===c.messageId);if(!a||a.role!=="assistant"||a.isStreaming||be(e,c.messageId)||$(s,c.messageId))return null;const l=q(a);return l.length>0?{messageId:a.id,questions:l}:null}if(t)return null;for(let a=e.length-1;a>=0;a--){const l=e[a];if(l.role==="system")continue;if(l.role!=="assistant"||l.isStreaming||$(s,l.id))return null;const d=q(l);return d.length>0?{messageId:l.id,questions:d}:null}return null}function Wt(e){const t=jt(e.messages??[],ze(Je(e)),!1,e.metadata?.pendingQuestionsMessageId);return!t||ue(e.metadata,t.messageId)?null:t}function Ft(e){if(Wt(e)!==null)return!0;const t=me(e.metadata?.pendingQuestionsMessageId);if(t.kind!=="set")return!1;const n=e.messages??[];return n.some(o=>o.id===t.messageId)||be(n,t.messageId)?!1:!ue(e.metadata,t.messageId)}const ge=0,D=1,Kt=2,b=4,ve=6,qt=[2,3,4,5,0,1],$t=16777215,Se=689407,he=3199320,Pe=16766474,ye=16752394,x=16726832,Me=6607615,Ut=12540658,y=.9,Qt=.5,Ie=.25,Vt=.25,Yt={unassigned:{c:0,b:0,e:ge,s:0},idle:{c:$t,b:.12,e:D,s:0},running:{c:Se,b:.6,e:b,s:Qt},unread:{c:Me,b:.4,e:b,s:Ie},complete:{c:he,b:.5,e:D,s:0},attention:{c:Pe,b:.8,e:b,s:y},blocked:{c:ye,b:.75,e:b,s:y},failed:{c:x,b:.7,e:b,s:y}},Gt={e:ge,b:0,s:0,m:0,c:0},U=.35,zt=.75,Q=4;function Jt(e){const n=(Math.min(Math.max(e,1),Q)-1)/(Q-1);return U+n*(zt-U)}const Xt={dark:Gt,complete:{e:D,b:.25,s:0,m:0,c:he},unread:{e:b,b:.4,s:Ie,m:0,c:Me},question:{e:b,b:.8,s:y,m:0,c:Pe},blocked:{e:b,b:.8,s:y,m:0,c:ye},failed:{e:b,b:.8,s:y,m:0,c:x},recording:{e:b,b:.8,s:y,m:0,c:x},disconnected:{e:Kt,b:.2,s:Vt,m:0,c:Ut}};function Bo(e){const t=[];for(let n=0;n<ve;n+=1){const o=e[n]??"unassigned";t.push({id:qt[n],...Yt[o]})}return t.sort((n,o)=>n.id-o.id),t}function Do(e){const t=e.kind==="running"?{e:b,b:.5,s:Jt(e.runningCount),m:0,c:Se}:Xt[e.kind];return{keys:{...t},ambient:{...t}}}function Ce(e){return X(e)?.kind==="blocker"}function Ee(e){return X(e)?.kind==="discussion"||Ft(e)}function ke(e){return e.status===De.Error}function V(e,t){const n=e.workspaceAgents.byWorkspaceId[t]?.foregroundAgentIds??[],o=e.agentSessions?.byAgentId??{},s=[];for(const c of n){const a=o[String(c)];a&&s.push(a)}return s}const Zt=new Set(["complete","pr_queued","pr_ready","pr_open","pr_merged"]);function Ae(e){return e.activity==="agent_running"||e.displayStatus==="in_progress"}function _e(e){return e.displayStatus!==void 0&&Zt.has(e.displayStatus)}function en(e,t){return t.some(ke)?"failed":t.some(Ce)?"blocked":t.some(Ee)?"attention":Ae(e)?"running":e.attention==="unread"?"unread":_e(e)?"complete":"idle"}function tn(e){if(e.daemonHealth?.health==="down")return{keys:new Array(ve).fill("unassigned"),ambient:{kind:"disconnected"}};const t=f(e.workspace.workspaces).filter(p=>p.id!==G&&z(p)),n=new Map;for(const p of t)n.set(p.id,p);const s=J(e.hardwareConsole.keyPins,t,e.hardwareConsole.excludedWorkspaceIds??[]).map(p=>{const P=p===null?void 0:n.get(p);return P?en(P,V(e,P.id)):"unassigned"});let c=!1,a=!1,l=!1,d=0,i=!1,h=!1;const g=new Set(e.tabState.workspaceStacks.flat());for(const p of t){if(!g.has(p.id))continue;const P=V(e,p.id);P.some(ke)&&(c=!0),P.some(Ce)&&(a=!0),P.some(Ee)&&(l=!0),Ae(p)&&(d+=1),p.attention==="unread"&&(i=!0),_e(p)&&(h=!0)}let v;return e.hardwareConsole.pttRecording===!0?v={kind:"recording"}:c?v={kind:"failed"}:a?v={kind:"blocked"}:l?v={kind:"question"}:i?v={kind:"unread"}:d>0?v={kind:"running",runningCount:d}:h?v={kind:"complete"}:v={kind:"dark"},{keys:s,ambient:v}}const xo=r.createSelector(e=>{const t=w.select(e);return t==="guest"||t==="member"}),Ho=r.createSelector(e=>{const t=e.hardwareConsole;if(w.select(e)!=="owner"||!t?.isConsoleOwner||!t.enabledHydrationSucceeded||!t.actionMappingHydrationSucceeded)return null;const n=o=>xe.filter((s,c)=>t.actionMappingByModel[o][c]==="cycle-open-windows");return JSON.stringify({enabled:t.enabled,keysByModel:{"creator-micro-2":n("creator-micro-2"),"codex-micro":n("codex-micro")}})}),jo=r.createSelector(e=>e.hardwareConsole.enabled),Wo=r.createSelector(e=>e.hardwareConsole.encoderBehavior),Fo=r.createSelector(e=>e.hardwareConsole.encoderBehaviorSaveFailed),Ko=r.createSelector(e=>e.hardwareConsole.isConsoleOwner),qo=r.createSelector(e=>e.hardwareConsole.promptPickerLimit),$o=r.createSelector(e=>e.hardwareConsole.actionMappingByModel),Uo=r.createSelector(e=>e.hardwareConsole.cycleScopeByFamily),Qo=r.createSelector(e=>e.hardwareConsole.keyPins),Vo=r.createSelector(e=>e.hardwareConsole.excludedWorkspaceIds),Yo=r.createSelector(e=>e.hardwareConsole.promptUsage),nn=r.createSelector(e=>{const t=ee.select(e).filter(z);return J(e.hardwareConsole.keyPins,t,e.hardwareConsole.excludedWorkspaceIds)}),Go=r.createSelector((e,t)=>{const n=e.hardwareConsole.keyPins.indexOf(t);return n===-1?null:n}),zo=r.createSelector((e,t)=>{const n=nn.select(e).indexOf(t);return n===-1?null:n}),Jo=r.createSelector(e=>e.hardwareConsole.radialPrompt),Xo=r.createSelector(e=>e.hardwareConsole.encoderHudWorkspaceId),Zo=r.createSelector(e=>{const t=e.hardwareConsole.encoderHudWorkspaceId;return t===null?null:ee.select(e).find(n=>n.id===t)?.title??null}),er=r.createSelector(e=>e.hardwareConsole.actionHudLabel),tr=r.createSelector(e=>e.hardwareConsole.pttRecording),nr=r.createSelector(e=>e.hardwareConsole.voiceTranscribing),or=r.createSelector(e=>tn(e)),on=r.createSelector((e,t,n)=>{const o=e.agentSessions.byAgentId[n];if(!o||o.workspaceId!==t)return null;const s=_t.select(e,n);if(!s?.length)return null;const c=Xe.select(e,n),a=o.model??H.select(e,c),l=e.daemonHealth.stats?.protocolVersion,d=dt(l)?lt(a,null,s):a;return{key:JSON.stringify([t,n,c,d,s]),workspaceId:t,agentId:n,levels:s}}),rn=r.createSelector(e=>{const t=e.hardwareConsole;if(!t.enabled||!t.isConsoleOwner||!t.encoderBehaviorHydrated||t.encoderBehavior!=="agent-effort")return null;const n=Fe.select(e);if(!n||n===G||Ze.select(e,n))return null;const o=Ke.select(e,n);return o?.type!=="agent"||!o.agentId||o.workspaceId&&o.workspaceId!==n?null:on.select(e,n,o.agentId)}),rr=r.createSelector(e=>{const t=e.hardwareConsole.encoderEffortFeedback;return!t||rn.select(e)?.key!==t.target.key?null:(e.agentSessions.byAgentId[t.target.agentId]?.reasoningEffort??null)===t.effort?t:null}),sn=[],sr=r.createSelector((e,t)=>S(e.connections.workflows,t)),cr=r.createSelector(e=>({writing:e.connections.keychainWritesPending>0,loadFailed:e.connections.keychainLoadError,saveFailed:e.connections.keychainSaveError})),ar=r.createSelector(e=>e.connections.selfPublication),lr=r.createSelector(e=>e.connections.selfPublicationBusy),ir=r.createSelector((e,t)=>({guest:S(e.guestSessions.sessions,t),connection:S(e.connections.connections,t)})),dr=r.createSelector(e=>f(e.connections.connections).filter(t=>!t.displayOnly)),ur=r.createSelector(e=>f(e.connections.connections).filter(t=>!t.displayOnly&&t.daemonMode!=="node")),fr=r.createSelector(e=>f(e.connections.connections).filter(t=>!t.displayOnly&&!t.isLocal)),pr=r.createSelector(e=>e.connections.hasReceivedList);r.createSelector((e,t)=>S(e.connections.connections,t)?.status??"not-open");const mr=r.createSelector(e=>e.connections.windowBackendId),br=r.createSelector(e=>{const{connections:t,windowBackendId:n}=e.connections;return S(t,n)??null}),gr=r.createSelector(e=>e.connections.pinnedVersion),vr=r.createSelector(e=>e.connections.connectedIds);r.createSelector(e=>e.connections.status);const Sr=r.createSelector(e=>e.connections.status==="connecting"||e.connections.openingIds.length>0);r.createSelector((e,t)=>e.connections.openingIds.includes(t));r.createSelector(e=>e.connections.error);const hr=r.createSelector(e=>e.connections.certMismatch),Pr=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.connections.certWarnings))t[n]=f(o);return t}),yr=r.createSelector(e=>{const t=e.connections.certWarnings[e.connections.windowBackendId];return t?f(t):sn}),Mr=r.createSelector(e=>{const{authRejected:t,windowBackendId:n}=e.connections;return t&&t.id===n?t:null}),Ir=r.createSelector(e=>{const{protocolMismatch:t,windowBackendId:n}=e.connections;return t&&t.id===n?t:null}),Cr=r.createSelector(e=>{const{protocolMismatch:t,windowBackendId:n,protocolMismatchModalDismissed:o}=e.connections;return!t||t.id!==n||o?null:t}),Er=r.createSelector(e=>e.connections.keychainSync),kr=r.createSelector(e=>e.connections.browserHost?.manageConnections===!0),Ar=r.createSelector(e=>e.connections.browserHost?.backendBound===!1),_r=r.createSelector(e=>{const t=e.connections.browserHost;return t?.manageConnections===!0&&!t.tailcatAvailable});function we(e){const t=e.trim();if(!t.startsWith("tc"))return!1;const n=t.slice(2);if(n.length<50||n.length%4===1||!/^[A-Za-z0-9_-]+$/.test(n))return!1;const o=atob(n.slice(0,4).replace(/-/g,"+").replace(/_/g,"/")).charCodeAt(0);return o>=161&&o<=187||o===191}function wr(e){if(!e||typeof e!="object")return null;const t=e;for(const n of[t.collaborationName,t.prettyHostname,t.hostname])if(typeof n=="string"&&A(n))return A(n);return null}function Rr(e){return[...A(e)].length<=100&&!/\p{Cc}/u.test(e)}function A(e){return e.replace(/^\p{White_Space}+|\p{White_Space}+$/gu,"")}function cn(e){const t=e.label.trim(),n=e.host&&e.port!=null?`${e.host}:${e.port}`:"";return(t&&t!==n?t:"")||e.hostname?.trim()||t||n}function an(e){const t=e.machineName?.trim();return t?u.settings_devices_localMachine_label({name:t}):u.layout_daemonStatus_localConnection_label()}function Or(e,t){if(e.isLocal)return an(e);const n=cn(e);return e.id===t?u.settings_devices_connectedBackend_label({name:n}):n}function ln(e){const t=A(e.hostname??"");return t||(we(e.label)?u.connection_unknownHost_label():e.label)}function Lr(e){const t=e.label.trim();return!t||we(t)?null:t!==ln(e)?t:null}function Nr(e){return e.catalogProfiles.some(t=>typeof t.remoteCompatible=="boolean")||e.defaultRemoteIncompatibility||e.defaultRemoteLaunch||e.profileDefaults.some(t=>typeof t.remoteCompatible=="boolean")?"supported":e.catalogProfiles.length>0?"unsupported":e.profilesLoadStatus==="idle"?"unknown":"unsupported"}function Tr(e,t,n){if(_(e)){const o=t.find(s=>s.providerRef===e);return o?.remoteCompatible!==!1?null:o.remoteIncompatibility??{reason:"unknown",keys:[]}}return null}const dn=1440*60*1e3;function un(e,t){if(!e?.capabilities)return"missing";const n=e.observedAt?Date.parse(e.observedAt):Number.NaN;return Number.isFinite(n)&&t-n>dn?"stale":"fresh"}function Br(e,t,n){if(!e||un(e,n)!=="fresh")return;const o=E(t),s=e.capabilities?.providers.find(c=>c.id===o);return s&&s.models.length>0?s.models:void 0}const fn=new Set(["cli-missing","prerequisite-missing"]);function Dr(e){return e.visible!==!1&&!fn.has(e.status)}const pn=new Set(["signed-out","auth-failed"]);function mn(e){return pn.has(e)}function bn(e,t){if(_(t))return!1;const n=E(t),o=e?.capabilities?.providers.find(s=>s.id===n);return!!o&&mn(o.status)}function Re(e,t){return(t.defaultRemoteLaunch?t.defaultRemoteLaunch[e]==="send":!t.defaultRemoteIncompatibility?.[e])&&t.defaultHasOverrides?.[e]!==!1}function gn(e,t,n){return n.defaultRemoteLaunch?.[t]==="refused"?!1:!e.cloud&&!bn(e,t)}function xr(e){const{machine:t,providerRef:n}=e;return _(n)||gn(t,n,e)||Re(n,e)?null:e.catalogProfiles.find(o=>o.baseProviderId===n&&o.remoteCompatible===!0)??null}const vn=r.createSelector(e=>ct.select(e)&&at.select(e)&&e.remoteMachines?.supported===!0&&e.cloudMachines?.supported===!0),Hr=r.createSelector(e=>{const t=e.cloudMachines?.providerKinds??["e2b"];return e.cloudMachines?.entries===!0?t:t.filter(n=>n==="e2b")}),jr=r.createSelector(e=>e.cloudMachines?.entries===!0);function Oe(e){return Object.values(e.cloudMachines?.providers??{}).sort((t,n)=>t.configuredAt.localeCompare(n.configuredAt)||t.name.localeCompare(n.name))}const Wr=r.createSelector(Oe),Fr=r.createSelector(e=>Object.values(e.cloudMachines?.machines??{}).sort((t,n)=>(t.cloud?.startedAt??"").localeCompare(n.cloud?.startedAt??""))),Kr=r.createSelector(e=>Object.values(e.cloudMachines?.machines??{}).filter(t=>t.cloud?.state==="paused").length);function Sn(e,t){const n=t.cloud;return!n?.agentId||!n.workspaceId||!te.select(e,n.workspaceId)?null:{workspaceId:n.workspaceId,agentId:n.agentId}}const qr=r.createSelector((e,t)=>{const n={},o={};for(const s of t){const c=s.cloud?.workspaceId;if(c&&!(c in n)){const a=te.select(e,c);n[c]=a?.title||a?.name||null}o[s.id]=Sn(e,s)}return{workspaceNames:n,agentLinks:o}}),$r=r.createSelector(e=>e.cloudMachines?.readAt??{}),Ur=r.createSelector(e=>e.cloudMachines?.pending??{}),Qr=r.createSelector(e=>e.cloudMachines?.failures??{}),Vr=r.createSelector(e=>e.cloudMachines?.validated??null);function Yr(e){if(!vn.select(e))return null;const t=Oe(e);if(t.length===0)return null;const n=e.cloudMachines?.entries===!0;return t.map(o=>({cloudMachineId:o.id,label:o.provider==="northflank"?o.name.trim().toLowerCase()==="northflank"?He("northflank"):u.cloudMachines_startOn_northflank_label({name:o.name}):n&&(t.length>1||o.name.trim().toLowerCase()!=="e2b")?u.cloudMachines_startOn_entry_label({name:o.name}):u.cloudMachines_startOn_label(),unavailableReason:o.state!=="key-rejected"?null:o.provider==="northflank"?u.cloudMachines_northflank_state_tokenRejected_label():u.cloudMachines_state_keyRejected_label(),needsProfile:!hn(e,o)}))}function hn(e,t){const n=ht.select(e),o=e.providerSettings?.profiles?.defaults??{},s={defaultRemoteLaunch:tt.select(e),defaultRemoteIncompatibility:et.select(e)},c=i=>n[i]!==!1&&(t.agentProviders.length===0||t.agentProviders.includes(i)),a=new Set([...t.agentProviders,...Object.keys(s.defaultRemoteLaunch??{})]);for(const i of a)if(c(i)&&(o[i]?.env.length??0)>0&&Re(i,s))return!0;const l=e.providerSettings?.profiles?.items,d=l?f(l):[];return nt.select(e).some(i=>{if(i.remoteCompatible!==!0||!c(i.baseProviderId))return!1;const h=d.find(g=>g.providerRef===i.providerRef);return!h||h.env.some(g=>g.kind==="set")})}function Gr(e,t,n=e.cloudMachines?.providers[je]??null){if(!t)return null;const o=n,s=E(t);if(o&&o.agentProviders.length>0&&!o.agentProviders.includes(s))return u.cloudMachines_startOn_providerMissing();const c=e.providerSettings?.profiles;if(_(t)){const l=c?f(c.items).find(d=>d.providerRef===t):void 0;return l?l.remoteCompatible===!1?u.cloudMachines_startOn_needsProfile():l.env.some(d=>d.kind==="set")?null:u.cloudMachines_startOn_needsProfile():null}const a=c?.defaults?.[s];return a?a.remoteCompatible===!1?u.cloudMachines_startOn_needsProfile():a.env.some(l=>l.kind==="set")?null:u.cloudMachines_startOn_needsProfile():c?.loadStatus==="success"?u.cloudMachines_startOn_needsProfile():null}const O=new Map;function zr(e){return O.has(e)}function Jr(e){return O.get(e)}function Xr(e){O.set(e.agentId,e)}function Zr(e){O.delete(e)}export{yo as $,ve as A,No as B,be as C,$ as D,bn as E,we as F,un as G,Br as H,N as I,A as J,ut as K,xr as L,Tr as M,Tn as N,Nr as O,bt as P,Zr as Q,L as R,er as S,Mr as T,Ir as U,I as V,_t as W,ko as X,Ao as Y,Eo as Z,R as _,tn as a,So as a$,Mo as a0,ur as a1,so as a2,Pr as a3,Wr as a4,jr as a5,Qr as a6,vn as a7,Ur as a8,Hr as a9,Qo as aA,nn as aB,Yo as aC,Jo as aD,or as aE,St as aF,Po as aG,kr as aH,_r as aI,Xn as aJ,xn as aK,Sr as aL,Ko as aM,Io as aN,re as aO,cr as aP,Er as aQ,mt as aR,Ln as aS,Co as aT,ho as aU,Et as aV,Lo as aW,kt as aX,Oo as aY,Jn as aZ,Ro as a_,$r as aa,Fr as ab,Vr as ac,vr as ad,hr as ae,ir as af,sr as ag,dr as ah,pr as ai,br as aj,yr as ak,mr as al,wo as am,ht as an,on as ao,rr as ap,rn as aq,Xo as ar,Zo as as,no as at,$o as au,Uo as av,jo as aw,Wo as ax,Fo as ay,Vo as az,To as b,Ar as b0,Hn as b1,On as b2,pt as b3,$n as b4,Kr as b5,gr as b6,oo as b7,qo as b8,Cr as b9,uo as bA,io as bB,vo as bC,Qn as bD,Un as bE,oe as bF,Vn as bG,tr as bH,zn as bI,fr as bJ,to as bK,qr as bL,H as bM,ar as bN,lr as bO,xo as bP,nr as bQ,Ho as bR,Go as bS,zo as bT,Ft as bU,Wt as bV,Xr as bW,Yr as bX,dt as bY,Rr as bZ,Dn as ba,ao as bb,co as bc,Wn as bd,Fn as be,Zn as bf,eo as bg,jn as bh,Bn as bi,At as bj,_o as bk,_n as bl,ft as bm,wn as bn,Kn as bo,qn as bp,Rn as bq,Yn as br,Gn as bs,lo as bt,po as bu,bo as bv,mo as bw,go as bx,fo as by,ro as bz,lt as c,Do as d,Bo as e,me as f,Gr as g,wr as h,Bt as i,gn as j,Re as k,jt as l,cn as m,Lr as n,ln as o,an as p,Or as q,pe as r,Jr as s,vt as t,Ot as u,zr as v,Dr as w,ne as x,Nn as y,ue as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{I as pr}from"./D8YFvJ64.js";import{b as f,a$ as Er,X as j,aW as Kt,ay as nt,P as Ue,B as ur,h as fr,z as N,a_ as Ke,aZ as _r,b0 as gr,V as xr,U as yr,Y as Ir,ax as Rr,J as Or,r as Lr,aV as Ft,bh as Q,aa as tt,l as vt,aH as Ge,Z as br,W as zt,a7 as mr,aQ as Xe}from"./BdNiI0PS.js";import{d as Sr,h as le,g as pt,e as Ar,a as he,b as de}from"./9cPLPH_O.js";var ne=(function(){var e=f(function(_t,w,C,D){for(C=C||{},D=_t.length;D--;C[_t[D]]=w);return C},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],o=[1,9],s=[1,11],n=[1,12],h=[1,14],d=[1,15],E=[1,17],u=[1,18],_=[1,19],L=[1,25],g=[1,26],R=[1,27],T=[1,28],O=[1,29],x=[1,30],m=[1,31],S=[1,32],b=[1,33],P=[1,34],k=[1,35],B=[1,36],V=[1,37],H=[1,38],z=[1,39],X=[1,40],et=[1,42],rt=[1,43],U=[1,44],ot=[1,45],at=[1,46],W=[1,47],M=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],Z=[1,56],Mt=[1,75],A=[1,81],v=[1,82],dt=[1,83],st=[1,84],K=[1,85],mt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],ye=[1,94],Ie=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[1,106],De=[2,79],ve=[2,78],Pt=[4,5,17,51,53,54],Bt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],Ce=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],$t=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],Me=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],jt=[5,52],F=[62,70,71,72,73],Be=[62,73],lt=[1,152],te={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:f(function(w,C,D,y,G,c,kt){var p=c.length-1;switch(G){case 3:return y.apply(c[p]),c[p];case 4:case 10:this.$=[];break;case 5:case 11:c[p-1].push(c[p]),this.$=c[p-1];break;case 6:case 7:case 12:case 13:this.$=c[p];break;case 8:case 9:case 14:this.$=[];break;case 16:c[p].type="createParticipant",this.$=c[p];break;case 17:c[p-1].unshift({type:"boxStart",boxData:y.parseBoxData(c[p-2])}),c[p-1].push({type:"boxEnd",boxText:c[p-2]}),this.$=c[p-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-2]),sequenceIndexStep:Number(c[p-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-1].actor};break;case 30:y.setDiagramTitle(c[p].substring(6)),this.$=c[p].substring(6);break;case 31:y.setDiagramTitle(c[p].substring(7)),this.$=c[p].substring(7);break;case 32:this.$=c[p].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=c[p].trim(),y.setAccDescription(this.$);break;case 35:c[p-1].unshift({type:"loopStart",loopText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.LOOP_START}),c[p-1].push({type:"loopEnd",loopText:c[p-2],signalType:y.LINETYPE.LOOP_END}),this.$=c[p-1];break;case 36:c[p-1].unshift({type:"rectStart",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_START}),c[p-1].push({type:"rectEnd",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_END}),this.$=c[p-1];break;case 37:c[p-1].unshift({type:"optStart",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_START}),c[p-1].push({type:"optEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_END}),this.$=c[p-1];break;case 38:c[p-1].unshift({type:"altStart",altText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.ALT_START}),c[p-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=c[p-1];break;case 39:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 40:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_OVER_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 41:c[p-1].unshift({type:"criticalStart",criticalText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.CRITICAL_START}),c[p-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=c[p-1];break;case 42:c[p-1].unshift({type:"breakStart",breakText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_START}),c[p-1].push({type:"breakEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_END}),this.$=c[p-1];break;case 44:this.$=c[p-3].concat([{type:"option",optionText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.CRITICAL_OPTION},c[p]]);break;case 46:this.$=c[p-3].concat([{type:"and",parText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.PAR_AND},c[p]]);break;case 48:this.$=c[p-3].concat([{type:"else",altText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.ALT_ELSE},c[p]]);break;case 49:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 50:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 51:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 52:case 57:c[p-1].draw="actor",c[p-1].type="addParticipant",this.$=c[p-1];break;case 53:c[p-1].type="destroyParticipant",this.$=c[p-1];break;case 54:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 55:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 56:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 58:this.$=[c[p-1],{type:"addNote",placement:c[p-2],actor:c[p-1].actor,text:c[p]}];break;case 59:c[p-2]=[].concat(c[p-1],c[p-1]).slice(0,2),c[p-2][0]=c[p-2][0].actor,c[p-2][1]=c[p-2][1].actor,this.$=[c[p-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:c[p-2].slice(0,2),text:c[p]}];break;case 60:this.$=[c[p-1],{type:"addLinks",actor:c[p-1].actor,text:c[p]}];break;case 61:this.$=[c[p-1],{type:"addALink",actor:c[p-1].actor,text:c[p]}];break;case 62:this.$=[c[p-1],{type:"addProperties",actor:c[p-1].actor,text:c[p]}];break;case 63:this.$=[c[p-1],{type:"addDetails",actor:c[p-1].actor,text:c[p]}];break;case 66:this.$=[c[p-2],c[p]];break;case 67:this.$=c[p];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor}];break;case 71:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-4].actor}];break;case 72:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor}];break;case 73:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-4].actor}];break;case 74:this.$=[c[p-5],c[p-1],{type:"addMessage",from:c[p-5].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-5].actor}];break;case 75:this.$=[c[p-3],c[p-1],{type:"addMessage",from:c[p-3].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p]}];break;case 76:this.$={type:"addParticipant",actor:c[p-1],config:c[p]};break;case 77:this.$=c[p-1].trim();break;case 78:case 79:this.$={type:"addParticipant",actor:c[p]};break;case 80:this.$=y.LINETYPE.SOLID_OPEN;break;case 81:this.$=y.LINETYPE.DOTTED_OPEN;break;case 82:this.$=y.LINETYPE.SOLID;break;case 83:this.$=y.LINETYPE.SOLID_TOP;break;case 84:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 85:this.$=y.LINETYPE.STICK_TOP;break;case 86:this.$=y.LINETYPE.STICK_BOTTOM;break;case 87:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 88:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 90:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 92:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 94:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 99:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 100:this.$=y.LINETYPE.DOTTED;break;case 101:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 102:this.$=y.LINETYPE.SOLID_CROSS;break;case 103:this.$=y.LINETYPE.DOTTED_CROSS;break;case 104:this.$=y.LINETYPE.SOLID_POINT;break;case 105:this.$=y.LINETYPE.DOTTED_POINT;break;case 106:this.$=y.parseMessage(c[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,5]),{9:48,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,7]),e(M,[2,8]),e(M,[2,9]),e(M,[2,15]),{13:49,51:H,53:z,54:X},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,62:Z,73:W},{23:57,62:Z,73:W},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},{5:[1,62]},e(M,[2,30]),e(M,[2,31]),{33:[1,63]},{35:[1,64]},e(M,[2,34]),{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{16:[1,72]},{23:73,55:74,62:Z,73:Mt},{23:76,55:77,62:Z,73:Mt},{23:78,62:Z,73:W},{69:79,72:[1,80],78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},{57:107,59:[1,108],67:[1,109],68:[1,110]},{23:111,62:Z,73:W},e([72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],De,{23:112,62:Z,73:W}),{23:113,62:Z,73:W},{23:114,62:Z,73:W},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ve),e(M,[2,6]),e(M,[2,16]),e(Pt,[2,10],{11:115}),e(M,[2,18]),{5:[1,117],20:[1,116]},{5:[1,118]},e(M,[2,22]),{5:[1,119]},e([5,52,66,104],De),{5:[1,120]},e(M,[2,25]),e(M,[2,26]),e(M,[2,27]),e(M,[2,28]),e(M,[2,29]),e(M,[2,32]),e(M,[2,33]),e(Bt,i,{7:121}),e(Bt,i,{7:122}),e(Bt,i,{7:123}),e(Ce,i,{41:124,7:125}),e($t,i,{43:126,7:127}),e($t,i,{7:127,43:128}),e(Me,i,{46:129,7:130}),e(Bt,i,{7:131}),{5:[1,133],52:[1,132]},{5:[1,135],52:[1,134]},e(jt,ve,{74:136,75:[1,137]}),{5:[1,139],52:[1,138]},{5:[1,141],52:[1,140]},{5:[1,142]},{23:146,62:Z,70:[1,143],71:[1,144],72:[1,145],73:W},{69:147,78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},e(F,[2,80]),e(F,[2,81]),e(F,[2,82]),e(F,[2,83]),e(F,[2,84]),e(F,[2,85]),e(F,[2,86]),e(F,[2,87]),e(F,[2,88]),e(F,[2,89]),e(F,[2,90]),e(F,[2,91]),e(F,[2,92]),e(F,[2,93]),e(F,[2,94]),e(F,[2,95]),e(F,[2,96]),e(F,[2,97]),e(F,[2,98]),e(F,[2,99]),e(F,[2,100]),e(F,[2,101]),e(F,[2,102]),e(F,[2,103]),e(F,[2,104]),e(F,[2,105]),{23:148,62:Z,73:W},{23:150,60:149,62:Z,73:W},e(Be,[2,68]),e(Be,[2,69]),{58:151,104:lt},{58:153,104:lt},{58:154,104:lt},{58:155,104:lt},{4:[1,158],5:[1,160],12:157,13:159,17:[1,156],51:H,53:z,54:X},{5:[1,161]},e(M,[2,20]),e(M,[2,21]),e(M,[2,23]),e(M,[2,24]),{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,162],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,163],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,164],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,165]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,47],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,50:[1,166],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,167]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,45],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,49:[1,168],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,169]},{17:[1,170]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,43],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,48:[1,171],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,172],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{16:[1,173]},e(M,[2,50]),{16:[1,174]},e(M,[2,55]),e(jt,[2,76]),{76:[1,175]},{16:[1,176]},e(M,[2,52]),{16:[1,177]},e(M,[2,57]),e(M,[2,53]),{23:178,62:Z,73:W},{23:179,62:Z,73:W},{23:180,62:Z,73:W},{58:181,104:lt},{23:182,62:Z,72:[1,183],73:W},{58:184,104:lt},{58:185,104:lt},{66:[1,186],104:[2,67]},{5:[2,60]},{5:[2,106]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(M,[2,17]),e(Pt,[2,11]),{13:187,51:H,53:z,54:X},e(Pt,[2,13]),e(Pt,[2,14]),e(M,[2,19]),e(M,[2,35]),e(M,[2,36]),e(M,[2,37]),e(M,[2,38]),{16:[1,188]},e(M,[2,39]),{16:[1,189]},e(M,[2,40]),e(M,[2,41]),{16:[1,190]},e(M,[2,42]),{5:[1,191]},{5:[1,192]},{77:[1,193]},{5:[1,194]},{5:[1,195]},{58:196,104:lt},{58:197,104:lt},{58:198,104:lt},{5:[2,75]},{58:199,104:lt},{23:200,62:Z,73:W},{5:[2,58]},{5:[2,59]},{23:201,62:Z,73:W},e(Pt,[2,12]),e(Ce,i,{7:125,41:202}),e($t,i,{7:127,43:203}),e(Me,i,{7:130,46:204}),e(M,[2,49]),e(M,[2,54]),e(jt,[2,77]),e(M,[2,51]),e(M,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:205,104:lt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],151:[2,60],152:[2,106],153:[2,61],154:[2,62],155:[2,63],181:[2,75],184:[2,58],185:[2,59],196:[2,70],197:[2,71],198:[2,72],199:[2,73],201:[2,66],202:[2,48],203:[2,46],204:[2,44],205:[2,74]},parseError:f(function(w,C){if(C.recoverable)this.trace(w);else{var D=new Error(w);throw D.hash=C,D}},"parseError"),parse:f(function(w){var C=this,D=[0],y=[],G=[null],c=[],kt=this.table,p="",Vt=0,Ye=0,lr=2,Ve=1,hr=c.slice.call(arguments,1),$=Object.create(this.lexer),It={yy:{}};for(var ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ee)&&(It.yy[ee]=this.yy[ee]);$.setInput(w,It.yy),It.yy.lexer=$,It.yy.parser=this,typeof $.yylloc>"u"&&($.yylloc={});var re=$.yylloc;c.push(re);var dr=$.options&&$.options.ranges;typeof It.yy.parseError=="function"?this.parseError=It.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Tr(ct){D.length=D.length-2*ct,G.length=G.length-ct,c.length=c.length-ct}f(Tr,"popStack");function We(){var ct;return ct=y.pop()||$.lex()||Ve,typeof ct!="number"&&(ct instanceof Array&&(y=ct,ct=y.pop()),ct=C.symbols_[ct]||ct),ct}f(We,"lex");for(var it,Rt,ht,ae,St={},Wt,Et,He,Ht;;){if(Rt=D[D.length-1],this.defaultActions[Rt]?ht=this.defaultActions[Rt]:((it===null||typeof it>"u")&&(it=We()),ht=kt[Rt]&&kt[Rt][it]),typeof ht>"u"||!ht.length||!ht[0]){var se="";Ht=[];for(Wt in kt[Rt])this.terminals_[Wt]&&Wt>lr&&Ht.push("'"+this.terminals_[Wt]+"'");$.showPosition?se="Parse error on line "+(Vt+1)+`:
|
|
1
|
+
import{I as pr}from"./Cc_BIXdP.js";import{b as f,a$ as Er,X as j,aW as Kt,ay as nt,P as Ue,B as ur,h as fr,z as N,a_ as Ke,aZ as _r,b0 as gr,V as xr,U as yr,Y as Ir,ax as Rr,J as Or,r as Lr,aV as Ft,bh as Q,aa as tt,l as vt,aH as Ge,Z as br,W as zt,a7 as mr,aQ as Xe}from"./Z8gQAmFb.js";import{d as Sr,h as le,g as pt,e as Ar,a as he,b as de}from"./WQwO_6NF.js";var ne=(function(){var e=f(function(_t,w,C,D){for(C=C||{},D=_t.length;D--;C[_t[D]]=w);return C},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],o=[1,9],s=[1,11],n=[1,12],h=[1,14],d=[1,15],E=[1,17],u=[1,18],_=[1,19],L=[1,25],g=[1,26],R=[1,27],T=[1,28],O=[1,29],x=[1,30],m=[1,31],S=[1,32],b=[1,33],P=[1,34],k=[1,35],B=[1,36],V=[1,37],H=[1,38],z=[1,39],X=[1,40],et=[1,42],rt=[1,43],U=[1,44],ot=[1,45],at=[1,46],W=[1,47],M=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],Z=[1,56],Mt=[1,75],A=[1,81],v=[1,82],dt=[1,83],st=[1,84],K=[1,85],mt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],ye=[1,94],Ie=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[1,106],De=[2,79],ve=[2,78],Pt=[4,5,17,51,53,54],Bt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],Ce=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],$t=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],Me=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],jt=[5,52],F=[62,70,71,72,73],Be=[62,73],lt=[1,152],te={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:f(function(w,C,D,y,G,c,kt){var p=c.length-1;switch(G){case 3:return y.apply(c[p]),c[p];case 4:case 10:this.$=[];break;case 5:case 11:c[p-1].push(c[p]),this.$=c[p-1];break;case 6:case 7:case 12:case 13:this.$=c[p];break;case 8:case 9:case 14:this.$=[];break;case 16:c[p].type="createParticipant",this.$=c[p];break;case 17:c[p-1].unshift({type:"boxStart",boxData:y.parseBoxData(c[p-2])}),c[p-1].push({type:"boxEnd",boxText:c[p-2]}),this.$=c[p-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-2]),sequenceIndexStep:Number(c[p-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-1].actor};break;case 30:y.setDiagramTitle(c[p].substring(6)),this.$=c[p].substring(6);break;case 31:y.setDiagramTitle(c[p].substring(7)),this.$=c[p].substring(7);break;case 32:this.$=c[p].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=c[p].trim(),y.setAccDescription(this.$);break;case 35:c[p-1].unshift({type:"loopStart",loopText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.LOOP_START}),c[p-1].push({type:"loopEnd",loopText:c[p-2],signalType:y.LINETYPE.LOOP_END}),this.$=c[p-1];break;case 36:c[p-1].unshift({type:"rectStart",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_START}),c[p-1].push({type:"rectEnd",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_END}),this.$=c[p-1];break;case 37:c[p-1].unshift({type:"optStart",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_START}),c[p-1].push({type:"optEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_END}),this.$=c[p-1];break;case 38:c[p-1].unshift({type:"altStart",altText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.ALT_START}),c[p-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=c[p-1];break;case 39:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 40:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_OVER_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 41:c[p-1].unshift({type:"criticalStart",criticalText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.CRITICAL_START}),c[p-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=c[p-1];break;case 42:c[p-1].unshift({type:"breakStart",breakText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_START}),c[p-1].push({type:"breakEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_END}),this.$=c[p-1];break;case 44:this.$=c[p-3].concat([{type:"option",optionText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.CRITICAL_OPTION},c[p]]);break;case 46:this.$=c[p-3].concat([{type:"and",parText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.PAR_AND},c[p]]);break;case 48:this.$=c[p-3].concat([{type:"else",altText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.ALT_ELSE},c[p]]);break;case 49:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 50:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 51:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 52:case 57:c[p-1].draw="actor",c[p-1].type="addParticipant",this.$=c[p-1];break;case 53:c[p-1].type="destroyParticipant",this.$=c[p-1];break;case 54:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 55:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 56:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 58:this.$=[c[p-1],{type:"addNote",placement:c[p-2],actor:c[p-1].actor,text:c[p]}];break;case 59:c[p-2]=[].concat(c[p-1],c[p-1]).slice(0,2),c[p-2][0]=c[p-2][0].actor,c[p-2][1]=c[p-2][1].actor,this.$=[c[p-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:c[p-2].slice(0,2),text:c[p]}];break;case 60:this.$=[c[p-1],{type:"addLinks",actor:c[p-1].actor,text:c[p]}];break;case 61:this.$=[c[p-1],{type:"addALink",actor:c[p-1].actor,text:c[p]}];break;case 62:this.$=[c[p-1],{type:"addProperties",actor:c[p-1].actor,text:c[p]}];break;case 63:this.$=[c[p-1],{type:"addDetails",actor:c[p-1].actor,text:c[p]}];break;case 66:this.$=[c[p-2],c[p]];break;case 67:this.$=c[p];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor}];break;case 71:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-4].actor}];break;case 72:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor}];break;case 73:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-4].actor}];break;case 74:this.$=[c[p-5],c[p-1],{type:"addMessage",from:c[p-5].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-5].actor}];break;case 75:this.$=[c[p-3],c[p-1],{type:"addMessage",from:c[p-3].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p]}];break;case 76:this.$={type:"addParticipant",actor:c[p-1],config:c[p]};break;case 77:this.$=c[p-1].trim();break;case 78:case 79:this.$={type:"addParticipant",actor:c[p]};break;case 80:this.$=y.LINETYPE.SOLID_OPEN;break;case 81:this.$=y.LINETYPE.DOTTED_OPEN;break;case 82:this.$=y.LINETYPE.SOLID;break;case 83:this.$=y.LINETYPE.SOLID_TOP;break;case 84:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 85:this.$=y.LINETYPE.STICK_TOP;break;case 86:this.$=y.LINETYPE.STICK_BOTTOM;break;case 87:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 88:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 90:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 92:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 94:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 99:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 100:this.$=y.LINETYPE.DOTTED;break;case 101:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 102:this.$=y.LINETYPE.SOLID_CROSS;break;case 103:this.$=y.LINETYPE.DOTTED_CROSS;break;case 104:this.$=y.LINETYPE.SOLID_POINT;break;case 105:this.$=y.LINETYPE.DOTTED_POINT;break;case 106:this.$=y.parseMessage(c[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,5]),{9:48,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,7]),e(M,[2,8]),e(M,[2,9]),e(M,[2,15]),{13:49,51:H,53:z,54:X},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,62:Z,73:W},{23:57,62:Z,73:W},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},{5:[1,62]},e(M,[2,30]),e(M,[2,31]),{33:[1,63]},{35:[1,64]},e(M,[2,34]),{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{16:[1,72]},{23:73,55:74,62:Z,73:Mt},{23:76,55:77,62:Z,73:Mt},{23:78,62:Z,73:W},{69:79,72:[1,80],78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},{57:107,59:[1,108],67:[1,109],68:[1,110]},{23:111,62:Z,73:W},e([72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],De,{23:112,62:Z,73:W}),{23:113,62:Z,73:W},{23:114,62:Z,73:W},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ve),e(M,[2,6]),e(M,[2,16]),e(Pt,[2,10],{11:115}),e(M,[2,18]),{5:[1,117],20:[1,116]},{5:[1,118]},e(M,[2,22]),{5:[1,119]},e([5,52,66,104],De),{5:[1,120]},e(M,[2,25]),e(M,[2,26]),e(M,[2,27]),e(M,[2,28]),e(M,[2,29]),e(M,[2,32]),e(M,[2,33]),e(Bt,i,{7:121}),e(Bt,i,{7:122}),e(Bt,i,{7:123}),e(Ce,i,{41:124,7:125}),e($t,i,{43:126,7:127}),e($t,i,{7:127,43:128}),e(Me,i,{46:129,7:130}),e(Bt,i,{7:131}),{5:[1,133],52:[1,132]},{5:[1,135],52:[1,134]},e(jt,ve,{74:136,75:[1,137]}),{5:[1,139],52:[1,138]},{5:[1,141],52:[1,140]},{5:[1,142]},{23:146,62:Z,70:[1,143],71:[1,144],72:[1,145],73:W},{69:147,78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},e(F,[2,80]),e(F,[2,81]),e(F,[2,82]),e(F,[2,83]),e(F,[2,84]),e(F,[2,85]),e(F,[2,86]),e(F,[2,87]),e(F,[2,88]),e(F,[2,89]),e(F,[2,90]),e(F,[2,91]),e(F,[2,92]),e(F,[2,93]),e(F,[2,94]),e(F,[2,95]),e(F,[2,96]),e(F,[2,97]),e(F,[2,98]),e(F,[2,99]),e(F,[2,100]),e(F,[2,101]),e(F,[2,102]),e(F,[2,103]),e(F,[2,104]),e(F,[2,105]),{23:148,62:Z,73:W},{23:150,60:149,62:Z,73:W},e(Be,[2,68]),e(Be,[2,69]),{58:151,104:lt},{58:153,104:lt},{58:154,104:lt},{58:155,104:lt},{4:[1,158],5:[1,160],12:157,13:159,17:[1,156],51:H,53:z,54:X},{5:[1,161]},e(M,[2,20]),e(M,[2,21]),e(M,[2,23]),e(M,[2,24]),{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,162],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,163],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,164],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,165]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,47],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,50:[1,166],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,167]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,45],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,49:[1,168],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,169]},{17:[1,170]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,43],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,48:[1,171],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,172],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{16:[1,173]},e(M,[2,50]),{16:[1,174]},e(M,[2,55]),e(jt,[2,76]),{76:[1,175]},{16:[1,176]},e(M,[2,52]),{16:[1,177]},e(M,[2,57]),e(M,[2,53]),{23:178,62:Z,73:W},{23:179,62:Z,73:W},{23:180,62:Z,73:W},{58:181,104:lt},{23:182,62:Z,72:[1,183],73:W},{58:184,104:lt},{58:185,104:lt},{66:[1,186],104:[2,67]},{5:[2,60]},{5:[2,106]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(M,[2,17]),e(Pt,[2,11]),{13:187,51:H,53:z,54:X},e(Pt,[2,13]),e(Pt,[2,14]),e(M,[2,19]),e(M,[2,35]),e(M,[2,36]),e(M,[2,37]),e(M,[2,38]),{16:[1,188]},e(M,[2,39]),{16:[1,189]},e(M,[2,40]),e(M,[2,41]),{16:[1,190]},e(M,[2,42]),{5:[1,191]},{5:[1,192]},{77:[1,193]},{5:[1,194]},{5:[1,195]},{58:196,104:lt},{58:197,104:lt},{58:198,104:lt},{5:[2,75]},{58:199,104:lt},{23:200,62:Z,73:W},{5:[2,58]},{5:[2,59]},{23:201,62:Z,73:W},e(Pt,[2,12]),e(Ce,i,{7:125,41:202}),e($t,i,{7:127,43:203}),e(Me,i,{7:130,46:204}),e(M,[2,49]),e(M,[2,54]),e(jt,[2,77]),e(M,[2,51]),e(M,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:205,104:lt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],151:[2,60],152:[2,106],153:[2,61],154:[2,62],155:[2,63],181:[2,75],184:[2,58],185:[2,59],196:[2,70],197:[2,71],198:[2,72],199:[2,73],201:[2,66],202:[2,48],203:[2,46],204:[2,44],205:[2,74]},parseError:f(function(w,C){if(C.recoverable)this.trace(w);else{var D=new Error(w);throw D.hash=C,D}},"parseError"),parse:f(function(w){var C=this,D=[0],y=[],G=[null],c=[],kt=this.table,p="",Vt=0,Ye=0,lr=2,Ve=1,hr=c.slice.call(arguments,1),$=Object.create(this.lexer),It={yy:{}};for(var ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ee)&&(It.yy[ee]=this.yy[ee]);$.setInput(w,It.yy),It.yy.lexer=$,It.yy.parser=this,typeof $.yylloc>"u"&&($.yylloc={});var re=$.yylloc;c.push(re);var dr=$.options&&$.options.ranges;typeof It.yy.parseError=="function"?this.parseError=It.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Tr(ct){D.length=D.length-2*ct,G.length=G.length-ct,c.length=c.length-ct}f(Tr,"popStack");function We(){var ct;return ct=y.pop()||$.lex()||Ve,typeof ct!="number"&&(ct instanceof Array&&(y=ct,ct=y.pop()),ct=C.symbols_[ct]||ct),ct}f(We,"lex");for(var it,Rt,ht,ae,St={},Wt,Et,He,Ht;;){if(Rt=D[D.length-1],this.defaultActions[Rt]?ht=this.defaultActions[Rt]:((it===null||typeof it>"u")&&(it=We()),ht=kt[Rt]&&kt[Rt][it]),typeof ht>"u"||!ht.length||!ht[0]){var se="";Ht=[];for(Wt in kt[Rt])this.terminals_[Wt]&&Wt>lr&&Ht.push("'"+this.terminals_[Wt]+"'");$.showPosition?se="Parse error on line "+(Vt+1)+`:
|
|
2
2
|
`+$.showPosition()+`
|
|
3
3
|
Expecting `+Ht.join(", ")+", got '"+(this.terminals_[it]||it)+"'":se="Parse error on line "+(Vt+1)+": Unexpected "+(it==Ve?"end of input":"'"+(this.terminals_[it]||it)+"'"),this.parseError(se,{text:$.match,token:this.terminals_[it]||it,line:$.yylineno,loc:re,expected:Ht})}if(ht[0]instanceof Array&&ht.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Rt+", token: "+it);switch(ht[0]){case 1:D.push(it),G.push($.yytext),c.push($.yylloc),D.push(ht[1]),it=null,Ye=$.yyleng,p=$.yytext,Vt=$.yylineno,re=$.yylloc;break;case 2:if(Et=this.productions_[ht[1]][1],St.$=G[G.length-Et],St._$={first_line:c[c.length-(Et||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(Et||1)].first_column,last_column:c[c.length-1].last_column},dr&&(St._$.range=[c[c.length-(Et||1)].range[0],c[c.length-1].range[1]]),ae=this.performAction.apply(St,[p,Ye,Vt,It.yy,ht[1],G,c].concat(hr)),typeof ae<"u")return ae;Et&&(D=D.slice(0,-1*Et*2),G=G.slice(0,-1*Et),c=c.slice(0,-1*Et)),D.push(this.productions_[ht[1]][0]),G.push(St.$),c.push(St._$),He=kt[D[D.length-2]][D[D.length-1]],D.push(He);break;case 3:return!0}}return!0},"parse")},cr=(function(){var _t={EOF:1,parseError:f(function(C,D){if(this.yy.parser)this.yy.parser.parseError(C,D);else throw new Error(C)},"parseError"),setInput:f(function(w,C){return this.yy=C||this.yy||{},this._input=w,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:f(function(){var w=this._input[0];this.yytext+=w,this.yyleng++,this.offset++,this.match+=w,this.matched+=w;var C=w.match(/(?:\r\n?|\n).*/g);return C?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),w},"input"),unput:f(function(w){var C=w.length,D=w.split(/(?:\r\n?|\n)/g);this._input=w+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-C),this.offset-=C;var y=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),D.length-1&&(this.yylineno-=D.length-1);var G=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:D?(D.length===y.length?this.yylloc.first_column:0)+y[y.length-D.length].length-D[0].length:this.yylloc.first_column-C},this.options.ranges&&(this.yylloc.range=[G[0],G[0]+this.yyleng-C]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(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:f(function(w){this.unput(this.match.slice(w))},"less"),pastInput:f(function(){var w=this.matched.substr(0,this.matched.length-this.match.length);return(w.length>20?"...":"")+w.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var w=this.match;return w.length<20&&(w+=this._input.substr(0,20-w.length)),(w.substr(0,20)+(w.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var w=this.pastInput(),C=new Array(w.length+1).join("-");return w+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aB as v,b as y}from"./
|
|
1
|
+
import{aB as v,b as y}from"./Z8gQAmFb.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as O,br as m,a_ as y,bz as R,b as T,bp as C}from"./
|
|
1
|
+
import{t as O,br as m,a_ as y,bz as R,b as T,bp as C}from"./DTQYcznv.js";import{bs as U,a7 as Y,ay as q,W as s,bn as J,aA as v,be as p,b$ as f,b_ as u,bO as d,a5 as z,bA as L,bS as Q,aD as V,aB as A,c9 as X,aG as Z,bI as tt}from"./DYhIMPy1.js";import{E as P}from"./Ddw98WmY.js";import{I as et}from"./Ck9ZyE1n.js";import"./COrK0goa.js";import{f as S}from"./BP5uyQTv.js";import{F as at,$ as ot,bL as st}from"./CoLl8pQb.js";import"./CaxyE6o_.js";import{e as nt,b as rt}from"./CpHZSST_.js";var it=A('<span aria-hidden="true"><!></span>'),lt=A('<div class="flex flex-wrap justify-center gap-2"><!> <!></div>');function ct(g,n){if(new.target)return O({component:ct,...g});U(n,!0);let o=m(n,"view",7),b=m(n,"canMove",7,!1),w=m(n,"waiting",7,!1),h=m(n,"onWait",7),x=m(n,"onMove",7);var E={get view(){return o()},set view(t){o(t),v()},get canMove(){return b()},set canMove(t=!1){b(t),v()},get waiting(){return w()},set waiting(t=!1){w(t),v()},get onWait(){return h()},set onWait(t){h(t),v()},get onMove(){return x()},set onMove(t){x(t),v()},$set:R,$on:(t,k)=>T(n,t,k)},H=Y(),I=q(H);{var B=t=>{P(t,{class:"h-full min-h-0",density:"compact","data-workspace-home-panel-notice":"starting",icon:_=>{var r=it(),e=z(r);et(e,{size:16}),L(r),s(_,r)},title:_=>{p();var r=f();u(e=>d(r,e),[()=>C.workspaceHome_starting_label()]),s(_,r)},$$slots:{icon:!0,title:!0}})},F=t=>{P(t,{class:"h-full",get"data-workspace-home-panel-notice"(){return o().state},icon:e=>{{let a=X(()=>o().state==="moving"?ot:st);at(e,{get icon(){return V(a)},class:"size-5"})}},title:e=>{p();var a=f();u(l=>d(a,l),[()=>rt(o().state==="moving"?"moving":"detached")]),s(e,a)},description:e=>{p();var a=f();u(l=>d(a,l),[()=>nt(o())]),s(e,a)},actions:e=>{var a=lt(),l=z(a);{var D=i=>{S(i,{variant:"outline",size:"sm",get disabled(){return w()},onclick:()=>h()?.(),children:(M,N)=>{p();var c=f();u(W=>d(c,W),[()=>C.workspaceHome_wait_label()]),s(M,c)},$$slots:{default:!0}})};y(l,i=>{o().canWait&&i(D)})}var G=Q(l,2);{var K=i=>{S(i,{variant:"outline",size:"sm",onclick:()=>x()?.(),children:(M,N)=>{p();var c=f();u(W=>d(c,W),[()=>C.workspaceHome_move_label()]),s(M,c)},$$slots:{default:!0}})};y(G,i=>{b()&&i(K)})}L(a),s(e,a)},$$slots:{icon:!0,title:!0,description:!0,actions:!0}})};y(I,t=>{o().starting?t(B):t(F,-1)})}return s(g,H),J(E)}const $=Symbol("workspace-home-panel");function wt(g){tt($,g)}function ht(){return Z($)}export{ct as W,ht as g,wt as s};
|