@intent-hq/web 2.385.2 → 2.387.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/assets/0.DSZNT9Vm.css +1 -0
- package/web/app/immutable/chunks/{CBueLH7U.js → -2rOENSl.js} +1 -1
- package/web/app/immutable/chunks/{-8sNsc56.js → -hTxjwFO.js} +1 -1
- package/web/app/immutable/chunks/{DJPIUVkw.js → 0Kw0mmSW.js} +1 -1
- package/web/app/immutable/chunks/{deEweluJ.js → 6NStP9u7.js} +1 -1
- package/web/app/immutable/chunks/{BzirSHSv.js → 6uD0LviT.js} +1 -1
- package/web/app/immutable/chunks/{Dxd7AQYv.js → 9fNNDfgo.js} +1 -1
- package/web/app/immutable/chunks/{C9ew0Hx2.js → AXzVloaq.js} +1 -1
- package/web/app/immutable/chunks/{TT8yXpG-.js → AfZNmzF0.js} +1 -1
- package/web/app/immutable/chunks/{BSUnflvl.js → B-bGycam.js} +1 -1
- package/web/app/immutable/chunks/{Da-Blgd9.js → B0RPkrmZ.js} +1 -1
- package/web/app/immutable/chunks/{pomj9evG.js → B1TtNV9x.js} +1 -1
- package/web/app/immutable/chunks/{DPtj8tX0.js → B3QTKmHy.js} +1 -1
- package/web/app/immutable/chunks/{BdU-kPC9.js → B3ziY5oo.js} +2 -2
- package/web/app/immutable/chunks/{DE32K02M.js → B6-aVrNf.js} +4 -4
- package/web/app/immutable/chunks/{CMq0sOjt.js → B79iAtSu.js} +2 -2
- package/web/app/immutable/chunks/{B433f4mk.js → B7esq_NU.js} +1 -1
- package/web/app/immutable/chunks/{BByf3ILj.js → B9BALnhr.js} +1 -1
- package/web/app/immutable/chunks/{nw_ZiYCy.js → B9GWGWit.js} +1 -1
- package/web/app/immutable/chunks/{TC7OsYhy.js → BAAQt1ZW.js} +1 -1
- package/web/app/immutable/chunks/{DVz0ewou.js → BC5HDfRR.js} +1 -1
- package/web/app/immutable/chunks/BC6tIXxU.js +1 -0
- package/web/app/immutable/chunks/{l7vsMvdj.js → BFMlH_mp.js} +2 -2
- package/web/app/immutable/chunks/{f5nWqjrx.js → BFi0zRRv.js} +1 -1
- package/web/app/immutable/chunks/{DM1_VFfD.js → BH3eRhvI.js} +1 -1
- package/web/app/immutable/chunks/{BlIRL_82.js → BIfjK4Wy.js} +1 -1
- package/web/app/immutable/chunks/{BmC9h1kv.js → BJEUIKTL.js} +1 -1
- package/web/app/immutable/chunks/{SbTG0nwQ.js → BJbm_MWC.js} +1 -1
- package/web/app/immutable/chunks/{Mko8tFZb.js → BK0IkwFP.js} +2 -2
- package/web/app/immutable/chunks/{D7Dfbf5g.js → BLMhg4vm.js} +1 -1
- package/web/app/immutable/chunks/{Dvi4g0xk.js → BLhJfI63.js} +1 -1
- package/web/app/immutable/chunks/{C50zlWbZ.js → BNDTLRE1.js} +1 -1
- package/web/app/immutable/chunks/{A0KsbysW.js → BOyRg328.js} +1 -1
- package/web/app/immutable/chunks/{CJB-ebPL.js → BP-cDE7g.js} +1 -1
- package/web/app/immutable/chunks/{lD0hZ5-I.js → BPscmH6M.js} +1 -1
- package/web/app/immutable/chunks/{CEEUgGO1.js → BQ8hOnRo.js} +1 -1
- package/web/app/immutable/chunks/{BD9db4FR.js → BQhBnAuP.js} +1 -1
- package/web/app/immutable/chunks/{JM7CQkWC.js → BRRnx9NG.js} +1 -1
- package/web/app/immutable/chunks/{CPI5xBWX.js → BSt1DBgt.js} +1 -1
- package/web/app/immutable/chunks/{BoznPtpa.js → BSu_WKe5.js} +1 -1
- package/web/app/immutable/chunks/{8jMQM9h0.js → BUsnh1ZW.js} +1 -1
- package/web/app/immutable/chunks/{RHSH5iZ7.js → BVYisuIY.js} +1 -1
- package/web/app/immutable/chunks/{IkcYx7DF.js → BVmCM-pH.js} +1 -1
- package/web/app/immutable/chunks/{Dxfvrgme.js → BWJopR_X.js} +1 -1
- package/web/app/immutable/chunks/{CFmT7rsG.js → BXlN4FOb.js} +1 -1
- package/web/app/immutable/chunks/{BXJzIaQM.js → BaOiWDrc.js} +1 -1
- package/web/app/immutable/chunks/{C-PQQ8rb.js → Bajx4HLb.js} +1 -1
- package/web/app/immutable/chunks/{DhVTc7Ol.js → Bbae4OrB.js} +2 -2
- package/web/app/immutable/chunks/{BbuLzldI.js → Bbs1UlDC.js} +1 -1
- package/web/app/immutable/chunks/{DnKqeAaM.js → BcrN1yjB.js} +1 -1
- package/web/app/immutable/chunks/{sSXTMg2P.js → BfQFKWzJ.js} +1 -1
- package/web/app/immutable/chunks/{DSiGyv9Y.js → Bj4IsLvN.js} +1 -1
- package/web/app/immutable/chunks/{BCZTn_fp.js → BkcO6l5G.js} +1 -1
- package/web/app/immutable/chunks/{Cv0qomAl.js → Bl72eYFn.js} +1 -1
- package/web/app/immutable/chunks/{B5uejTJk.js → BlAMrm5X.js} +1 -1
- package/web/app/immutable/chunks/{7ZsTr9xa.js → BlJAndP6.js} +1 -1
- package/web/app/immutable/chunks/{pnbUAKkx.js → Blt813S0.js} +1 -1
- package/web/app/immutable/chunks/{D1fDU8Ti.js → Bm3beBRj.js} +1 -1
- package/web/app/immutable/chunks/{OGqbAD_O.js → BmM9C7Gu.js} +1 -1
- package/web/app/immutable/chunks/{CmyAIpbY.js → Bmm_g7di.js} +4 -4
- package/web/app/immutable/chunks/{CD-M_2xD.js → BoUQWR1c.js} +1 -1
- package/web/app/immutable/chunks/{BECK4OaG.js → BoZ2kJyE.js} +1 -1
- package/web/app/immutable/chunks/{wiGlLVr-.js → BpXDXz8J.js} +1 -1
- package/web/app/immutable/chunks/{7y3Z0Q49.js → BpwKnO7b.js} +3 -3
- package/web/app/immutable/chunks/{tLFaYuVN.js → Bq7euxCs.js} +1 -1
- package/web/app/immutable/chunks/{CI0C7_h-.js → Bsdq-idi.js} +1 -1
- package/web/app/immutable/chunks/{CfYakquS.js → Bsru2omj.js} +1 -1
- package/web/app/immutable/chunks/{D_VvdZe2.js → Bstq-Mm1.js} +1 -1
- package/web/app/immutable/chunks/{CPvH5Ru2.js → Bt11uxE8.js} +4 -4
- package/web/app/immutable/chunks/{BdEtT3Ti.js → BtchneSc.js} +1 -1
- package/web/app/immutable/chunks/{3qVSmuIV.js → Bu67WlMm.js} +1 -1
- package/web/app/immutable/chunks/{CvZTDgJa.js → BuTcdZo7.js} +1 -1
- package/web/app/immutable/chunks/{Bf_nrOhg.js → BuXXIZt7.js} +1 -1
- package/web/app/immutable/chunks/{DsfORPYa.js → BudPFdIj.js} +1 -1
- package/web/app/immutable/chunks/{SRhgUz9l.js → BuiwW61u.js} +1 -1
- package/web/app/immutable/chunks/{4PAYwk2I.js → BvjgIPau.js} +1 -1
- package/web/app/immutable/chunks/{DEs9kPtf.js → BxTCsbTV.js} +1 -1
- package/web/app/immutable/chunks/{BoG8wR7s.js → ByBw1QkA.js} +1 -1
- package/web/app/immutable/chunks/{CmTojxTj.js → Byr10Y9u.js} +1 -1
- package/web/app/immutable/chunks/{BLvtkZ8G.js → C-y1uW-U.js} +1 -1
- package/web/app/immutable/chunks/{B4I8lQNP.js → C07_BcWL.js} +1 -1
- package/web/app/immutable/chunks/{BHqp2vwo.js → C2zt__Wj.js} +1 -1
- package/web/app/immutable/chunks/{B3IS1jjn.js → C4t02ICg.js} +2 -2
- package/web/app/immutable/chunks/{2ZJE_wyo.js → C53ouDFl.js} +1 -1
- package/web/app/immutable/chunks/{DzqKdIr-.js → C6rcni5e.js} +1 -1
- package/web/app/immutable/chunks/{CAfPEsZt.js → C7ajdkO4.js} +1 -1
- package/web/app/immutable/chunks/{O49gK3tp.js → C8Wy-uTf.js} +1 -1
- package/web/app/immutable/chunks/{DYbZIRJE.js → CACH34FC.js} +1 -1
- package/web/app/immutable/chunks/{FVS6L2WV.js → CAiDxi6i.js} +3 -3
- package/web/app/immutable/chunks/{5-0LQoqd.js → CBbdbU2x.js} +1 -1
- package/web/app/immutable/chunks/{BTepRW_m.js → CCzan1r_.js} +4 -4
- package/web/app/immutable/chunks/{0pEQEOm6.js → CD9WEaPg.js} +1 -1
- package/web/app/immutable/chunks/{DV7x43jt.js → CEap7Fwz.js} +1 -1
- package/web/app/immutable/chunks/{BV1ayWTC.js → CG28d89U.js} +1 -1
- package/web/app/immutable/chunks/{C_SKcJv7.js → CGdXewiA.js} +1 -1
- package/web/app/immutable/chunks/{CjjWPVbV.js → CHApvLbz.js} +3 -3
- package/web/app/immutable/chunks/{DWa-2rkZ.js → CIWQMI37.js} +1 -1
- package/web/app/immutable/chunks/{zB9UbdEg.js → CIlqcFRn.js} +1 -1
- package/web/app/immutable/chunks/{BqARUxDK.js → CJ7hw6mW.js} +1 -1
- package/web/app/immutable/chunks/{DDb9H7X6.js → CKcb8dge.js} +3 -3
- package/web/app/immutable/chunks/{BzEFG3NN.js → CMsGHYhn.js} +1 -1
- package/web/app/immutable/chunks/{Dmx5wWLe.js → CNl453qs.js} +1 -1
- package/web/app/immutable/chunks/{B6eTPmJH.js → COVS9Crf.js} +1 -1
- package/web/app/immutable/chunks/{iCWz6IE9.js → CPdyCf2B.js} +1 -1
- package/web/app/immutable/chunks/{HC_j1BdV.js → CQA1q0F9.js} +1 -1
- package/web/app/immutable/chunks/{B5anfoVk.js → CS6HVyHp.js} +1 -1
- package/web/app/immutable/chunks/{DVJBGL7F.js → CSlvwZw1.js} +1 -1
- package/web/app/immutable/chunks/{BSygKG3g.js → CTVz-pXS.js} +3 -3
- package/web/app/immutable/chunks/{7KxcPj98.js → CTowDLQa.js} +1 -1
- package/web/app/immutable/chunks/{BQLaE7V5.js → CULu7FSf.js} +1 -1
- package/web/app/immutable/chunks/{C2YpPfAS.js → CUxtJz1o.js} +1 -1
- package/web/app/immutable/chunks/{CoJyxFcH.js → CV5qbjYN.js} +1 -1
- package/web/app/immutable/chunks/{0MXBpkLa.js → CVd7xnlx.js} +1 -1
- package/web/app/immutable/chunks/{7HiVLHLh.js → CW4vzFn_.js} +1 -1
- package/web/app/immutable/chunks/{CVuncf5f.js → CY2g-8Xo.js} +1 -1
- package/web/app/immutable/chunks/{CObW_WD-.js → CY4ZK6xA.js} +3 -3
- package/web/app/immutable/chunks/{rXKOJqUt.js → CZB2ndi9.js} +1 -1
- package/web/app/immutable/chunks/{CuPx_r7k.js → CZex5Cac.js} +1 -1
- package/web/app/immutable/chunks/{DAUvP6UD.js → C_4qh07f.js} +1 -1
- package/web/app/immutable/chunks/{B2jyBWIj.js → CbQ8NVeY.js} +1 -1
- package/web/app/immutable/chunks/{B5NaFcis.js → CbQYR4R2.js} +3 -3
- package/web/app/immutable/chunks/{D40Fo-pJ.js → CcgSaDDB.js} +1 -1
- package/web/app/immutable/chunks/CeeeYtIE.js +1 -0
- package/web/app/immutable/chunks/{CV2tdNDf.js → CfIVswBm.js} +1 -1
- package/web/app/immutable/chunks/{VeUh5OMZ.js → CfaCrhAh.js} +1 -1
- package/web/app/immutable/chunks/{C9p4fddz.js → CggFXl4B.js} +1 -1
- package/web/app/immutable/chunks/{6paLMka3.js → Chg0KuUy.js} +2 -2
- package/web/app/immutable/chunks/{CTW83wJs.js → Ci75CkmK.js} +1 -1
- package/web/app/immutable/chunks/{CWOQ_pUA.js → CisSEUth.js} +1 -1
- package/web/app/immutable/chunks/{2qYrAiyX.js → Ck8ZqpbB.js} +1 -1
- package/web/app/immutable/chunks/{DHcX7CG0.js → ClQE9kQf.js} +1 -1
- package/web/app/immutable/chunks/{CgCJQyTf.js → ClSbVEed.js} +1 -1
- package/web/app/immutable/chunks/{BLKFshyr.js → CmhKJ6Ie.js} +1 -1
- package/web/app/immutable/chunks/{lTwh0Wzj.js → CndJcn8K.js} +1 -1
- package/web/app/immutable/chunks/{Clo7aK1n.js → Co9CFvqw.js} +1 -1
- package/web/app/immutable/chunks/{3iG5yoX3.js → CoAfXTHr.js} +1 -1
- package/web/app/immutable/chunks/CoCy46Yy.js +1 -0
- package/web/app/immutable/chunks/{DLQIjfwi.js → CoOgBJzu.js} +1 -1
- package/web/app/immutable/chunks/{CQMFoUkp.js → Cq8MD_3v.js} +1 -1
- package/web/app/immutable/chunks/{DpITHrfz.js → CqGq5PHb.js} +1 -1
- package/web/app/immutable/chunks/{Bi_Yd73A.js → CrL2Nk6a.js} +1 -1
- package/web/app/immutable/chunks/{CzXIAWau.js → CrZlcn4Y.js} +1 -1
- package/web/app/immutable/chunks/{D-rRuAXZ.js → CrpUtGFn.js} +1 -1
- package/web/app/immutable/chunks/{CiWHn2aR.js → CrvtnK13.js} +2 -2
- package/web/app/immutable/chunks/{94vL4WlW.js → CrwLq8nY.js} +1 -1
- package/web/app/immutable/chunks/{CXZbeRE-.js → Cs-DtA5c.js} +1 -1
- package/web/app/immutable/chunks/{6xdvppss.js → CtDIyzmZ.js} +1 -1
- package/web/app/immutable/chunks/{CL4ty7oi.js → Cuqu6DgP.js} +1 -1
- package/web/app/immutable/chunks/{BIGqOuh0.js → Cw2fqKk9.js} +1 -1
- package/web/app/immutable/chunks/{9GO97JAL.js → CwCTYQp7.js} +1 -1
- package/web/app/immutable/chunks/{COWlXo8C.js → CxMr7p-O.js} +3 -3
- package/web/app/immutable/chunks/{CCyecAzB.js → Cyr0PKv3.js} +1 -1
- package/web/app/immutable/chunks/{BuFDqZnJ.js → CzTSi5lc.js} +1 -1
- package/web/app/immutable/chunks/{HU1Ksz8U.js → CzjElr82.js} +1 -1
- package/web/app/immutable/chunks/{ada9rZfE.js → D-DyBHf9.js} +1 -1
- package/web/app/immutable/chunks/{BTvTyEgq.js → D-aEx3GL.js} +2 -2
- package/web/app/immutable/chunks/{DbqTt-YM.js → D1R1FWjP.js} +1 -1
- package/web/app/immutable/chunks/{CYSndAne.js → D1YPh_5n.js} +1 -1
- package/web/app/immutable/chunks/{kAZ_zPIu.js → D24Of5Kd.js} +1 -1
- package/web/app/immutable/chunks/{C0Zo7HuP.js → D25lWS8Q.js} +1 -1
- package/web/app/immutable/chunks/{NC6gsHNQ.js → D2ch709U.js} +1 -1
- package/web/app/immutable/chunks/{BNa9zzEx.js → D2kIeaeO.js} +1 -1
- package/web/app/immutable/chunks/{BgDnzAo4.js → D2y-zN_4.js} +1 -1
- package/web/app/immutable/chunks/{fHygQTSC.js → D3waRWO1.js} +1 -1
- package/web/app/immutable/chunks/{DcOkWaeN.js → D48_y-cl.js} +1 -1
- package/web/app/immutable/chunks/{DX9N1RQz.js → D49zWKPf.js} +1 -1
- package/web/app/immutable/chunks/{4g_iHoQm.js → D5wnbxHp.js} +1 -1
- package/web/app/immutable/chunks/{CletI6Pa.js → D7AX9X0W.js} +1 -1
- package/web/app/immutable/chunks/{CCEmXQBN.js → DCL7QtVR.js} +1 -1
- package/web/app/immutable/chunks/{U7dpdlAf.js → DEQDOTA1.js} +1 -1
- package/web/app/immutable/chunks/{DlpH_aW2.js → DGK5CsQK.js} +1 -1
- package/web/app/immutable/chunks/{BrMDbquN.js → DGj-492Z.js} +2 -2
- package/web/app/immutable/chunks/{B8HnjSSF.js → DIEHuZ8f.js} +1 -1
- package/web/app/immutable/chunks/{Cy9hcA7q.js → DIoT8eB4.js} +1 -1
- package/web/app/immutable/chunks/{BPuz5cN_.js → DJivXy66.js} +2 -2
- package/web/app/immutable/chunks/{BXv1gq_o.js → DKeBnsgS.js} +1 -1
- package/web/app/immutable/chunks/DLO_0egf.js +1 -0
- package/web/app/immutable/chunks/{yDmmPu6L.js → DLttsd3i.js} +1 -1
- package/web/app/immutable/chunks/{BSgFpkqa.js → DMV5KQix.js} +1 -1
- package/web/app/immutable/chunks/DNZCPKpq.js +3 -0
- package/web/app/immutable/chunks/{BWCYowXB.js → DNnmVx8j.js} +1 -1
- package/web/app/immutable/chunks/DP0K41jk.js +1 -0
- package/web/app/immutable/chunks/{BmFHmusU.js → DP2r4UWt.js} +1 -1
- package/web/app/immutable/chunks/{B6d1Nolc.js → DPG1HUgG.js} +1 -1
- package/web/app/immutable/chunks/{BvbeTrka.js → DPjr22dV.js} +1 -1
- package/web/app/immutable/chunks/{LQRHF1eM.js → DPmNtGFj.js} +1 -1
- package/web/app/immutable/chunks/{bKvZbiNk.js → DQ8CqY9L.js} +2 -2
- package/web/app/immutable/chunks/{IwNEzJ15.js → DQpDIYyw.js} +1 -1
- package/web/app/immutable/chunks/{CrsbEWnE.js → DRLJuUwT.js} +1 -1
- package/web/app/immutable/chunks/{B5stdxh5.js → DRXgE6SQ.js} +1 -1
- package/web/app/immutable/chunks/{Ex_x2wO5.js → DU1ubslo.js} +1 -1
- package/web/app/immutable/chunks/{ClYR_2Js.js → DUFN_Pzm.js} +1 -1
- package/web/app/immutable/chunks/{CNSshwg_.js → DWqaYE81.js} +1 -1
- package/web/app/immutable/chunks/{BY0BGmY0.js → DXI99C-u.js} +1 -1
- package/web/app/immutable/chunks/{DI71nFp4.js → D_5u7gP_.js} +1 -1
- package/web/app/immutable/chunks/{D7P3vklT.js → D_AhXAPc.js} +1 -1
- package/web/app/immutable/chunks/{BMnuRHbZ.js → DaMlaKH_.js} +2 -2
- package/web/app/immutable/chunks/{CsmNoTJl.js → Db1BGAZN.js} +1 -1
- package/web/app/immutable/chunks/{COjWFpJP.js → DcRqMoeH.js} +1 -1
- package/web/app/immutable/chunks/{BO8Bp7Ht.js → Dd3UnPYB.js} +1 -1
- package/web/app/immutable/chunks/{C1AUaRa8.js → DdLy5J3P.js} +1 -1
- package/web/app/immutable/chunks/{B_75gRww.js → DezlVQ1h.js} +1 -1
- package/web/app/immutable/chunks/{DPR_clFy.js → Dga6E45c.js} +1 -1
- package/web/app/immutable/chunks/{Bu-RLSv9.js → DgtVALrr.js} +1 -1
- package/web/app/immutable/chunks/{CIJ-7Xzd.js → DhVLJG6D.js} +1 -1
- package/web/app/immutable/chunks/{C63WwVct.js → DkERMj5B.js} +1 -1
- package/web/app/immutable/chunks/{DGMrUmNq.js → DkJYBjJg.js} +1 -1
- package/web/app/immutable/chunks/{BSntxgH1.js → DkOk28fz.js} +1 -1
- package/web/app/immutable/chunks/{BDsciJGp.js → Dk_Hc5oq.js} +1 -1
- package/web/app/immutable/chunks/{DGv69LVd.js → DlfbUU6o.js} +1 -1
- package/web/app/immutable/chunks/{odj5qcEP.js → DlwTP-AJ.js} +1 -1
- package/web/app/immutable/chunks/{CU_-vK2M.js → Dm98YBgx.js} +3 -3
- package/web/app/immutable/chunks/{BhQMKzoM.js → DmWvRjk6.js} +1 -1
- package/web/app/immutable/chunks/{CDAnHxmJ.js → DmpdpJAo.js} +1 -1
- package/web/app/immutable/chunks/{DhLHwyRV.js → Dn_aCJkC.js} +1 -1
- package/web/app/immutable/chunks/{BVuLEX_p.js → Do-SaITx.js} +1 -1
- package/web/app/immutable/chunks/{c0c_b7yh.js → DoY7_Wfd.js} +1 -1
- package/web/app/immutable/chunks/{CXeB7YFK.js → DqEoTQds.js} +1 -1
- package/web/app/immutable/chunks/{B7y9pKDL.js → DtVrXGBM.js} +1 -1
- package/web/app/immutable/chunks/{Do2KlQU0.js → DtkIwON_.js} +1 -1
- package/web/app/immutable/chunks/{BRKjDAGC.js → DuoQQplG.js} +1 -1
- package/web/app/immutable/chunks/{B5tvpTFB.js → DwGyIIXK.js} +1 -1
- package/web/app/immutable/chunks/{DlUpt_0u.js → DwbEs_9r.js} +1 -1
- package/web/app/immutable/chunks/{COgn_CzG.js → DwiE5WsI.js} +1 -1
- package/web/app/immutable/chunks/{DiURwJNX.js → DxSE2XEK.js} +1 -1
- package/web/app/immutable/chunks/{Cp02CBjf.js → DxnZvDv0.js} +1 -1
- package/web/app/immutable/chunks/{418Agcsp.js → Dy9FYRX8.js} +1 -1
- package/web/app/immutable/chunks/{BKMQo7oP.js → DzTn7KcX.js} +1 -1
- package/web/app/immutable/chunks/{CXDUvPYf.js → ELYZilX0.js} +1 -1
- package/web/app/immutable/chunks/{7mo0aYB5.js → ExR0UceK.js} +1 -1
- package/web/app/immutable/chunks/{Bc1vJq_Z.js → FLpsgWeB.js} +1 -1
- package/web/app/immutable/chunks/{B5q4SHo9.js → GTsIF2uA.js} +1 -1
- package/web/app/immutable/chunks/{BwPwF85e.js → HLNbJ-7M.js} +1 -1
- package/web/app/immutable/chunks/{B2CniqS1.js → Hi2H4bj8.js} +1 -1
- package/web/app/immutable/chunks/{DZScoaNb.js → I9b9apiN.js} +1 -1
- package/web/app/immutable/chunks/{PhAbES0t.js → Idk978zJ.js} +1 -1
- package/web/app/immutable/chunks/{DQT1hnTe.js → Ii0VTY5h.js} +1 -1
- package/web/app/immutable/chunks/{jBG7W4tL.js → ItBm4ElA.js} +1 -1
- package/web/app/immutable/chunks/{BJgwBOBz.js → Jk9a4xPx.js} +1 -1
- package/web/app/immutable/chunks/{BW1iql_y.js → KtEuoG00.js} +1 -1
- package/web/app/immutable/chunks/{DtqPBHQj.js → L3K71tUU.js} +1 -1
- package/web/app/immutable/chunks/{Bv_xG3nA.js → Lk7a_7W9.js} +1 -1
- package/web/app/immutable/chunks/{nwO3KCpP.js → Mmc_61iE.js} +1 -1
- package/web/app/immutable/chunks/{DlU1rxYV.js → R5lmOJFS.js} +1 -1
- package/web/app/immutable/chunks/{B6FGs8l2.js → RTRAqswA.js} +1 -1
- package/web/app/immutable/chunks/{CTgU1bby.js → T-5C1GqS.js} +1 -1
- package/web/app/immutable/chunks/{B5qiyEpH.js → UYAhegVx.js} +1 -1
- package/web/app/immutable/chunks/{h8JtxU_T.js → UsbmbYa0.js} +1 -1
- package/web/app/immutable/chunks/{pMP23LzB.js → VcnbZvDh.js} +1 -1
- package/web/app/immutable/chunks/{gU2qspu9.js → WvHbj6rB.js} +1 -1
- package/web/app/immutable/chunks/{jnsEVh0o.js → XK8g38bo.js} +1 -1
- package/web/app/immutable/chunks/{B0qb2Ymj.js → Y2a1lhL9.js} +1 -1
- package/web/app/immutable/chunks/YLhFQnIu.js +1 -0
- package/web/app/immutable/chunks/{DLCFUd4s.js → YeOAvjnW.js} +1 -1
- package/web/app/immutable/chunks/{Dval4sTX.js → _3Ca9E4W.js} +1 -1
- package/web/app/immutable/chunks/{BZkfp4xg.js → _duPkHC1.js} +1 -1
- package/web/app/immutable/chunks/{BuBXySe4.js → aR8LYT4O.js} +1 -1
- package/web/app/immutable/chunks/{CIaruUrd.js → cEIzYo-d.js} +1 -1
- package/web/app/immutable/chunks/{dmZv6JOg.js → cPsAlOmH.js} +1 -1
- package/web/app/immutable/chunks/{jVbx5uZK.js → cc1gQUub.js} +1 -1
- package/web/app/immutable/chunks/{j67P3UNv.js → cpPIph2M.js} +2 -2
- package/web/app/immutable/chunks/{QRUY44Ff.js → d028N8d2.js} +1 -1
- package/web/app/immutable/chunks/{BDOuZgzG.js → ewL2yuZ8.js} +1 -1
- package/web/app/immutable/chunks/{BbLh3POL.js → g08hegP2.js} +1 -1
- package/web/app/immutable/chunks/{YHt5oaBn.js → gHZWxIPZ.js} +1 -1
- package/web/app/immutable/chunks/{BgQadJDW.js → gJJMUdOI.js} +1 -1
- package/web/app/immutable/chunks/{CGYPBD6G.js → gwv5JQYH.js} +1 -1
- package/web/app/immutable/chunks/{C8LrJXqa.js → iAKTK0Nq.js} +1 -1
- package/web/app/immutable/chunks/{B8QvP_8b.js → j5ppcWWU.js} +1 -1
- package/web/app/immutable/chunks/{BcKrkXju.js → jAIXVFR4.js} +1 -1
- package/web/app/immutable/chunks/{C2F2Vd1P.js → kvtKUeBe.js} +1 -1
- package/web/app/immutable/chunks/{BjlMkd10.js → lZ7zkdkp.js} +1 -1
- package/web/app/immutable/chunks/{B_4WsP9b.js → mUNs8NSR.js} +1 -1
- package/web/app/immutable/chunks/{C-zB-6G6.js → oBIu7LTI.js} +1 -1
- package/web/app/immutable/chunks/{BPxN1acN.js → oHUzFHtp.js} +2 -2
- package/web/app/immutable/chunks/{BVkAOJlr.js → pHYq50Ny.js} +1 -1
- package/web/app/immutable/chunks/{BvMBgdHo.js → pJyYpzre.js} +1 -1
- package/web/app/immutable/chunks/{DmvYOHFs.js → qm1BBGRe.js} +13 -13
- package/web/app/immutable/chunks/{BJO0de_7.js → qoDJOBiM.js} +1 -1
- package/web/app/immutable/chunks/{KReSIZSD.js → r2R1I-D0.js} +1 -1
- package/web/app/immutable/chunks/{Cp9EK0r2.js → rlNXEIUc.js} +1 -1
- package/web/app/immutable/chunks/{CR-JVxLD.js → scTXKJzg.js} +1 -1
- package/web/app/immutable/chunks/{BVl79jmM.js → tVmNccZ-.js} +1 -1
- package/web/app/immutable/chunks/{3uhIXwkT.js → w-7j2Qtq.js} +1 -1
- package/web/app/immutable/chunks/{CHto7_WH.js → x2AHvZeQ.js} +1 -1
- package/web/app/immutable/chunks/{DuAAGnM9.js → xPYDsdm4.js} +1 -1
- package/web/app/immutable/chunks/{Dp8FVKoA.js → xzksWQ-h.js} +1 -1
- package/web/app/immutable/chunks/{CA4P_FmX.js → ygDvZWWC.js} +1 -1
- package/web/app/immutable/chunks/{7OH6WUSt.js → z91bgOZ6.js} +1 -1
- package/web/app/immutable/chunks/{BtBQ5qfh.js → z_SeEaJQ.js} +1 -1
- package/web/app/immutable/chunks/{C-G2u0Oe.js → zxxqPN9_.js} +1 -1
- package/web/app/immutable/entry/{app.CgTOio8y.js → app.DOLk01Bm.js} +3 -3
- package/web/app/immutable/entry/start.CIQw0TYU.js +1 -0
- package/web/app/immutable/nodes/{0.C2oVsoB8.js → 0.qPBEcapg.js} +1 -1
- package/web/app/immutable/nodes/{1.riWgWdpy.js → 1.Bi3sNEdL.js} +1 -1
- package/web/app/immutable/nodes/10.DHyl6QAs.js +39 -0
- package/web/app/immutable/nodes/{11.exvXwEGT.js → 11.pqpLvrmB.js} +1 -1
- package/web/app/immutable/nodes/{12.D6rxlIQy.js → 12.C5GV0W_U.js} +1 -1
- package/web/app/immutable/nodes/{13.CHYsmiD_.js → 13.BpCKbOND.js} +1 -1
- package/web/app/immutable/nodes/{14.mG-YN9pn.js → 14.DomreN-2.js} +3 -3
- package/web/app/immutable/nodes/{15.D2k47bXC.js → 15.CKbUOFrf.js} +1 -1
- package/web/app/immutable/nodes/{16.BsFtzH0D.js → 16.BcdRdVBS.js} +1 -1
- package/web/app/immutable/nodes/{17.me_aOx8O.js → 17.C5h-oNNo.js} +1 -1
- package/web/app/immutable/nodes/{18.BO1oZWgm.js → 18.vgJOUK1N.js} +1 -1
- package/web/app/immutable/nodes/{19.DPrP9Wtk.js → 19.3QLuvvWY.js} +2 -2
- package/web/app/immutable/nodes/{2.BpY-66TB.js → 2.CSj73FLT.js} +4 -4
- package/web/app/immutable/nodes/{20.LbRPieV_.js → 20.CuOgTm-x.js} +1 -1
- package/web/app/immutable/nodes/{3.CriVb5Fs.js → 3.BUbQ5Tes.js} +1 -1
- package/web/app/immutable/nodes/{4.dRoX-MYE.js → 4.Byn29Mul.js} +1 -1
- package/web/app/immutable/nodes/{5.Bn3YBx-4.js → 5.CMHzkmR-.js} +1 -1
- package/web/app/immutable/nodes/{6.CgMdV-V1.js → 6.N0CPg2uE.js} +1 -1
- package/web/app/immutable/nodes/{7.FdAsp1bX.js → 7.4Szvqobl.js} +1 -1
- package/web/app/immutable/nodes/{8.Da7xrRMP.js → 8.BKw9KMbS.js} +1 -1
- package/web/app/immutable/nodes/{9.BnLzowQ-.js → 9.BBJWosck.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +19 -19
- package/web/app/immutable/assets/0.BmwjvpSF.css +0 -1
- package/web/app/immutable/chunks/CCIZBeez.js +0 -1
- package/web/app/immutable/chunks/CXdnCPBf.js +0 -3
- package/web/app/immutable/chunks/Cp7Byf5d.js +0 -1
- package/web/app/immutable/chunks/DWIoipce.js +0 -1
- package/web/app/immutable/chunks/Dws-34a7.js +0 -1
- package/web/app/immutable/chunks/DxC0zTSc.js +0 -1
- package/web/app/immutable/chunks/Whej1Dge.js +0 -1
- package/web/app/immutable/entry/start.oAnCLCVf.js +0 -1
- package/web/app/immutable/nodes/10.DbjaWIBW.js +0 -39
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as Ie}from"./B5anfoVk.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./DE32K02M.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
|
|
1
|
+
import{e as Ie}from"./CS6HVyHp.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./B6-aVrNf.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
|
|
2
2
|
`+A.showPosition()+`
|
|
3
3
|
Expecting `+Ft.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Zt="Parse error on line "+(vt+1)+": Unexpected "+(M==ce?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Zt,{text:A.match,token:this.terminals_[M]||M,line:A.yylineno,loc:Kt,expected:Ft})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+St+", token: "+M);switch(V[0]){case 1:E.push(M),D.push(A.yytext),o.push(A.yylloc),E.push(V[1]),M=null,le=A.yyleng,f=A.yytext,vt=A.yylineno,Kt=A.yylloc;break;case 2:if(z=this.productions_[V[1]][1],Ct.$=D[D.length-z],Ct._$={first_line:o[o.length-(z||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(z||1)].first_column,last_column:o[o.length-1].last_column},Ae&&(Ct._$.range=[o[o.length-(z||1)].range[0],o[o.length-1].range[1]]),Gt=this.performAction.apply(Ct,[f,le,vt,Et.yy,V[1],D,o].concat(Ne)),typeof Gt<"u")return Gt;z&&(E=E.slice(0,-1*z*2),D=D.slice(0,-1*z),o=o.slice(0,-1*z)),E.push(this.productions_[V[1]][0]),D.push(Ct.$),o.push(Ct._$),he=Dt[E[E.length-2]][E[E.length-1]],E.push(he);break;case 3:return!0}}return!0},"parse")},Pe=(function(){var _t={EOF:1,parseError:d(function(x,E){if(this.yy.parser)this.yy.parser.parseError(x,E);else throw new Error(x)},"parseError"),setInput:d(function(m,x){return this.yy=x||this.yy||{},this._input=m,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var x=m.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},"input"),unput:d(function(m){var x=m.length,E=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var _=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),E.length-1&&(this.yylineno-=E.length-1);var D=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:E?(E.length===_.length?this.yylloc.first_column:0)+_[_.length-E.length].length-E[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(m){this.unput(this.match.slice(m))},"less"),pastInput:d(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var m=this.pastInput(),x=new Array(m.length+1).join("-");return m+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Ul=Object.defineProperty;var jl=(r,t,a)=>t in r?Ul(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a;var pa=(r,t,a)=>jl(r,typeof t!="symbol"?t+"":t,a);import{t as pt,bo as g,bw as vt,b as ht,bm as d,bq as Ea,bs as tr,br as Vl,bp as vn}from"./Dws-34a7.js";import{ai as Ga,bs as _t,ca as Xt,aD as e,bH as D,ay as fe,bS as A,a7 as St,W as c,a5 as V,bA as F,bn as bt,c9 as n,bV as ue,aA as m,b_ as $,aj as xr,aB as I,be as Cr,b$ as Pr,bO as Q,bf as rr,c0 as Ia,bl as oe,bj as ja,c6 as Gl,bo as nn,br as Zr,am as Da,ax as Ba,bk as as,aw as pn,bz as ns,cb as Fn,c5 as Mn,aC as Ir,cd as vo,bv as Kl}from"./3SdAC2_C.js";import{i as O}from"./DLCFUd4s.js";import{g as kr,e as sa,p as ms,i as Ha,I as Zl,h as eo,X as pi,o as Ql}from"./C-zB-6G6.js";import{n as Kt,l as On,c as Ya,g as rn,s as ks,k as ss,S as Xl}from"./Bc1vJq_Z.js";import{s as J,f as Fe,g as hn,c as It,e as Qt,b as _n,p as Yl,S as Jl,C as ed}from"./BD9db4FR.js";import{b as ea}from"./Dn334wJv.js";import{f as st,ae as to,a_ as td}from"./BIGqOuh0.js";import{J as rd,O as ad,Q as Is}from"./BPuz5cN_.js";import"./C2F2Vd1P.js";import"./BW1iql_y.js";import"./gU2qspu9.js";import{t as Ma,k as vi}from"./D-rRuAXZ.js";import{F as Bt,a4 as zs,bg as ka,cK as ps,au as hi,aZ as _i,aK as nd,c9 as sd,a6 as os,aN as od,cN as id,cM as ld,a3 as vs,aC as is,aw as hs,I as ho,aj as dd,bu as cd,aS as ud,aX as fd,bJ as gd,ao as md,bk as bi,cC as pd,aP as _o,c0 as Ss,aI as Hn,cW as vd,cb as hd,bn as _d,b as bd,cp as yd,ag as wd,ba as Ts,cr as wn,cF as xd,az as kd,c6 as Id,d3 as Sd}from"./CGYPBD6G.js";import{C as yi,A as Td,o as Cd}from"./jBG7W4tL.js";import{b as Cs,V as bo}from"./yDmmPu6L.js";import{A as wi}from"./nw_ZiYCy.js";import{bZ as xi,aj as Md,j as Kn,a4 as Ws,al as ls,E as Ad,au as Zn,aP as Pd,aS as yo}from"./BoG8wR7s.js";import{t as an,o as Rd}from"./DAsc1V4f.js";import{ch as Qn,aO as qn,d2 as ki,d4 as Va,c6 as _s,q as Nd,cX as Ii,d1 as bs,d0 as Si,c_ as Ti,n as Ca,al as Ed,am as $d,aJ as Ld,z as Od,V as qd,a3 as wo,D as Ci,e4 as Dd,aF as Bd,ak as Fd,r as zd,C as Ms,ag as Wd,U as xn,e2 as Hd,ab as Ud,k as xo,u as jd,Z as Vd,v as Gd,i as Kd,g as As,f as ko,a0 as Zd,$ as Qd,a9 as Xd,x as Mi,y as Ai,l as Pi,j as Yd,s as Jd,a as ec,d5 as tc,ae as rc,e3 as ac,L as nc,F as sc,a2 as Io,bq as oc,av as ic}from"./SbTG0nwQ.js";import{Jx as mt,o$ as lc,tQ as Xn,nQ as So,vJ as Ri,vL as Ni,s1 as dc,yI as ds,v0 as Ei,nL as $i,br as En,nY as cc,nZ as uc,yJ as fc,qz as gc,tk as mc,vC as Li,nK as pc,mP as vc,m as hc,za as _c,z7 as bc,z9 as yc}from"./4g_iHoQm.js";import{a3 as wc,y as Ps,a1 as xc,O as Rs,W as kc,$ as Ic,k as Sc,p as kn,P as un,q as Tc,G as Cc,v as Mc,t as Ac,M as Ns,K as Pc,z as Rc,L as Nc,_ as An,U as Un,N as To,n as Co,E as Ec,c as Es,F as Mo,B as $c,w as Ao,J as Pn,Q as Lc,H as Oc,j as qc,R as Dc,T as Bc,A as Fc,g as zc,b as Wc,D as Hc,f as Uc,e as jc,a as Vc,C as Gc,i as Kc,d as Hs,V as Oi,a4 as Zc,u as Qc,l as Xc}from"./COWlXo8C.js";import{i as Yc,e as Jc}from"./Dval4sTX.js";import{g as $s}from"./B5aYN90J.js";import{M as In,C as Rn}from"./CObW_WD-.js";import{C as Po}from"./B0qb2Ymj.js";import"./Dxd7AQYv.js";import{P as eu}from"./BzirSHSv.js";import"./BlIRL_82.js";import{c as qi}from"./ChTqQfQN.js";import{S as tu}from"./DpITHrfz.js";import{D as Ro,M as ru}from"./DE32K02M.js";import{b as au,s as en,c as cs}from"./DHcX7CG0.js";import{O as Yn,y as Ls,E as Os,B as qs,N as nu,m as su,l as ou,k as iu,d as Dn,C as No,f as lu,e as du,g as cu}from"./jnsEVh0o.js";import{a as Di,s as Eo}from"./BsieX9dN.js";import{f as uu}from"./BdWqymET.js";import{c as na}from"./Whej1Dge.js";import{a as fu,k as Bi,h as ro,q as Fi,l as wr}from"./B8HnjSSF.js";import{P as gu}from"./DWa-2rkZ.js";import{r as Ds,q as Bs,B as $o,i as mu}from"./j67P3UNv.js";import{R as zi,C as ys,m as pu,h as vu,g as hu,i as Lo,P as _u}from"./rXKOJqUt.js";import"./DcOkWaeN.js";import{c as bu,s as yu}from"./BSygKG3g.js";import{h as gn}from"./Mko8tFZb.js";import{b as wu,a as Wi}from"./CTgU1bby.js";import{P as Hi}from"./CoJyxFcH.js";import{B as xu}from"./DM1_VFfD.js";import{o as Ui,r as ku,e as Iu}from"./BQLaE7V5.js";import{o as ji}from"./DhVTc7Ol.js";import{A as Jn,b as Vi}from"./VeUh5OMZ.js";import{g as ao}from"./Da-Blgd9.js";import{a as Su,M as Tu}from"./7KxcPj98.js";import{a as Gi}from"./DGMrUmNq.js";import{E as Cu,n as Mu}from"./DJPIUVkw.js";import{t as Tr}from"./C-BsEdGZ.js";import{c as Sn}from"./B5tvpTFB.js";import{A as Au}from"./BXJzIaQM.js";import{f as Pu,d as Ru}from"./DYbZIRJE.js";import{ad as Nu,P as Eu,Z as $u,L as Oo,Y as Lu,w as Ou,a0 as Ki,$ as Zi}from"./BTepRW_m.js";import{a as qu}from"./CC7to1B5.js";import{k as Du}from"./5-0LQoqd.js";import{S as Bu}from"./Bu-RLSv9.js";import{u as Fu,a as zu,c as qo,S as Wu}from"./D9tVylVS.js";import{T as us}from"./Bi_Yd73A.js";import"./C50zlWbZ.js";import{g as Hu,a as Uu}from"./C63WwVct.js";import{I as ju,R as Vu,q as Gu}from"./CjjWPVbV.js";import{b as Qi}from"./B6d1Nolc.js";import{b as Do}from"./goTpbPhD.js";import{ah as Ua,n as Ku}from"./B_4WsP9b.js";import{c as Zu}from"./CiWHn2aR.js";import{r as Bo}from"./CXdnCPBf.js";function Qu(r){if(!r||typeof r!="object")return null;const t=r;if(t.type!=="script_monitor_wake"||t.source!=="system")return null;const{scriptName:a,scriptId:s,runId:o,monitorId:i,workspaceId:l,reason:u}=t;if(typeof a!="string"||typeof s!="string"||!s||typeof o!="string"||!o||typeof i!="string"||!i||typeof l!="string"||!l||u!=="finished"&&u!=="ttl-expired"&&u!=="output-match"&&u!=="line-count")return null;const h=t.trigger;return{scriptName:a,scriptId:s,runId:o,monitorId:i,workspaceId:l,reason:u,...u==="output-match"&&typeof h?.matchedLine=="string"?{matchedLine:h.matchedLine}:{}}}function Xu(r){return r?.type==="script_monitor_wake"&&!("remoteAgentId"in r)}function Yu(r,t,a,s=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const o=r.messageMetadata?.fromPrincipalId??r.author?.principalId,i=Nu(r)&&r.author?.principalId!==null&&o===t;return{edit:i,remove:i||t===a||s,sendNow:(i||s)&&!Xi(r)}}function Tn(r,t){if(t)return r.find(a=>a.editing&&a.editingMessageId?a.editingMessageId===t:a.id===t)}function Xi(r){return Xu(r.messageMetadata)&&typeof r.messageMetadata?.monitorId=="string"}function Fo(r,t=Date.now()){const a=r.messageMetadata,s=a?.fromPrincipalId,o=a&&Object.hasOwn(a,"humanAuthor")&&!(typeof s=="string"&&s.length>0),i=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!i&&!o&&!Xi(r)}const Cb="pl-3.5! pr-2!";var Ju=I('<span class="tile-remove-slot svelte-d8pwpf"><!></span>'),zo=I('<span class="attachment-status svelte-d8pwpf"> </span>'),ef=I('<div class="file-image tile svelte-d8pwpf" data-kind="file"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),tf=I("<!><span> </span>",1),rf=I('<img alt="" draggable="false"/>'),af=I('<span class="summary svelte-d8pwpf" data-clip-summary=""> </span>'),nf=I('<span class="clip svelte-d8pwpf"><span class="record-dot svelte-d8pwpf" aria-hidden="true"></span><span class="duration svelte-d8pwpf"> </span><!></span>'),sf=I('<div class="tile svelte-d8pwpf"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),of=I('<div class="attachment-row svelte-d8pwpf" role="group" data-dock-media-attachments=""></div>'),lf=I("<!> <!> <!>",1),df=I('<img draggable="false" class="svelte-d8pwpf"/>'),cf=I('<video controls="" playsinline="" class="svelte-d8pwpf"></video>',2),uf=I('<div class="media-viewer svelte-d8pwpf"><!></div>'),ff=I("<!> <!>",1);function gf(r,t){if(new.target)return pt({component:gf,...r});_t(t,!0);const a=(T,me=rr,le=rr)=>{var N=Ju(),ve=V(N);st(ve,{variant:"secondary",size:"icon-sm",class:"tile-action tile-remove",get disabled(){return i()},get"aria-label"(){return le()},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return le()},onclick:()=>z(me()),children:(Le,Ae)=>{Cs(Le,{glyph:"x"})},$$slots:{default:!0}}),F(N),c(T,N)};let s=g(t,"items",7),o=g(t,"labels",7),i=g(t,"disabled",7,!1),l=g(t,"onMarkUp",7),u=g(t,"onEdit",7),h=g(t,"onRemove",7),v=g(t,"onRetry",7),x=g(t,"onCopy",7),M=g(t,"onMenu",7);const B=T=>T.owner==="attachment"?2:{image:0,clip:1,file:2}[T.kind],U=n(()=>[...s()].sort((T,me)=>B(T)-B(me)));let w=ue(null),C=ue(!1),re=ue(null),G=null;const S=n(()=>s().find(T=>T.id===e(re)));Xt(()=>{(!e(S)||e(S).kind==="image"&&!j(e(S)))&&D(C,!1)});function j(T){return T.kind==="image"&&T.status!=="placing"&&T.status!=="failed"&&T.url.trim().length>0}function L(T){return T.kind==="image"?o().image(T.markCount):T.kind==="clip"?T.summary?`${o().clip(T.duration)} ${T.summary}`:o().clip(T.duration):T.name}function ne(T,me){if(!(i()||T.kind==="file"||T.kind==="image"&&!j(T)||T.kind==="clip"&&(!T.url||T.recording))){if((T.kind==="clip"||T.kind==="image")&&u()){u()(T.id);return}G=me,D(re,T.id,!0),D(C,!0)}}async function z(T){i()||(e(re)===T&&D(C,!1),h()(T),await Ia(),(!document.activeElement||document.activeElement===document.body)&&e(w)?.querySelector("button:not(:disabled)")?.focus())}function q(T){const me=s().find(le=>le.id===T);i()||!me||!j(me)||(D(C,!1),u()?u()(T):l()(T))}function ee(T,me){T.key!=="Delete"||i()||(T.preventDefault(),T.stopPropagation(),z(me))}function R(T){return T.status==="placing"||T.status==="failed"?!1:T.kind==="image"?!!T.file||j(T):T.kind==="clip"&&!T.recording&&!!T.url}function X(T,me){const le=rd()?T.metaKey:T.ctrlKey,N=T.key.toLowerCase();if(le&&!T.shiftKey&&!T.altKey&&(N==="c"||N==="x")){if(!x()||!R(me)||(T.preventDefault(),T.stopPropagation(),N==="x"&&i()))return;x()(me.id,N==="x");return}ee(T,me.id)}function te(T,me){!M()||!R(me)||(T.preventDefault(),M()(me.id))}var _e={get items(){return s()},set items(T){s(T),m()},get labels(){return o()},set labels(T){o(T),m()},get disabled(){return i()},set disabled(T=!1){i(T),m()},get onMarkUp(){return l()},set onMarkUp(T){l(T),m()},get onEdit(){return u()},set onEdit(T){u(T),m()},get onRemove(){return h()},set onRemove(T){h(T),m()},get onRetry(){return v()},set onRetry(T){v(T),m()},get onCopy(){return x()},set onCopy(T){x(T),m()},get onMenu(){return M()},set onMenu(T){M(T),m()},$set:vt,$on:(T,me)=>ht(t,T,me)},de=ff(),ge=fe(de);{var Pe=T=>{var me=of();kr(me,21,()=>e(U),le=>le.id,(le,N)=>{var ve=St(),Le=fe(ve);{var Ae=xe=>{var P=ef(),Y=V(P);{let W=n(()=>i()||e(N).status==="placing");wi(Y,{get id(){return e(N).id},get name(){return e(N).file.name},get type(){return e(N).file.imageMimeType},get imageData(){return e(N).file.imageData},get imageMimeType(){return e(N).file.imageMimeType},variant:"thumbnail",thumbnailClass:"size-full",class:"size-full",get disabled(){return e(W)},get placementStatus(){return e(N).status},get placementError(){return e(N).error}})}var ae=A(Y,2);{var we=W=>{var be=zo(),Re=oe(be,!0);$(()=>{J(be,"data-failed",e(N).status==="failed"||void 0),J(be,"role",e(N).status==="failed"?"alert":"status"),J(be,"title",e(N).error),Q(Re,e(N).status==="failed"?e(N).error??o().attachmentFailed:o().attachmentPending)}),c(W,be)};O(ae,W=>{e(N).status&&W(we)})}var _=A(ae,2),Se=V(_);{var Ce=W=>{st(W,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(N).id),children:(be,Re)=>{Bt(be,{get icon(){return zs},size:16})},$$slots:{default:!0}})};O(Se,W=>{e(N).status==="failed"&&v()&&W(Ce)})}var E=A(Se,2);{let W=n(()=>d.chat_attachmentPreview_remove_ariaLabel({name:e(N).file.name}));a(E,()=>e(N).id,()=>e(W))}F(_),F(P),$(()=>J(P,"data-attachment-id",e(N).id)),xr("keydown",P,W=>X(W,e(N))),xr("contextmenu",P,W=>te(W,e(N))),Kt(1,P,()=>On,()=>({tier:"fast",y:3,scale:.98})),Kt(2,P,()=>Ya,()=>({tier:"fast"})),c(xe,P)},Ee=xe=>{const P=n(()=>e(N).kind==="image"&&!j(e(N))&&e(N).status!=="failed");var Y=sf(),ae=V(Y);{var we=ke=>{st(ke,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile file",get"aria-label"(){return e(N).name},get disabled(){return i()},onkeydown:$e=>ee($e,e(N).id),children:($e,Oe)=>{var Ue=tf(),se=fe(Ue);Bt(se,{get icon(){return ka},size:20});var Ge=A(se),yt=oe(Ge,!0);$(()=>Q(yt,e(N).name)),c($e,Ue)},$$slots:{default:!0}})},_=ke=>{{let $e=n(()=>L(e(N))),Oe=n(()=>i()||e(N).kind==="clip"&&(e(N).recording||!e(N).url));st(ke,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile",get"aria-label"(){return e($e)},get disabled(){return e(Oe)},onkeydown:Ue=>X(Ue,e(N)),onclick:Ue=>{Ue.currentTarget instanceof HTMLElement&&ne(e(N),Ue.currentTarget)},children:(Ue,se)=>{var Ge=St(),yt=fe(Ge);{var Ft=et=>{var Ke=rf();$(()=>J(Ke,"src",e(N).url)),c(et,Ke)},er=et=>{var Ke=nf(),$t=A(V(Ke)),Tt=oe($t,!0),ut=A($t);{var ze=K=>{var y=af(),pe=oe(y,!0);$(()=>Q(pe,e(N).summary)),c(K,y)};O(ut,K=>{e(N).summary&&K(ze)})}F(Ke),$(()=>Q(Tt,e(N).duration)),c(et,Ke)};O(yt,et=>{e(N).kind==="image"?et(Ft):et(er,-1)})}c(Ue,Ge)},$$slots:{default:!0}})}},Se=n(()=>e(N).kind!=="image"||j(e(N)));O(ae,ke=>{e(N).kind==="file"?ke(we):e(Se)&&ke(_,1)})}var Ce=A(ae,2);{var E=ke=>{var $e=zo(),Oe=oe($e,!0);$(()=>{J($e,"data-failed",e(N).status==="failed"||void 0),J($e,"role",e(N).status==="failed"?"alert":"status"),J($e,"title",e(N).error),Q(Oe,e(N).status==="failed"?e(N).error??o().attachmentFailed:o().attachmentPending)}),c(ke,$e)};O(Ce,ke=>{(e(N).status||e(P))&&ke(E)})}var W=A(Ce,2),be=V(W);{var Re=ke=>{st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(N).id),children:($e,Oe)=>{Bt($e,{get icon(){return zs},size:16})},$$slots:{default:!0}})},Ve=ke=>{{let $e=n(()=>u()?o().edit:o().markUp),Oe=n(()=>u()?o().edit:o().markUp);st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e($e)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Oe)},onclick:()=>q(e(N).id),children:(Ue,se)=>{Cs(Ue,{glyph:"pencil"})},$$slots:{default:!0}})}},De=n(()=>j(e(N))),Et=ke=>{{let $e=n(()=>u()?o().edit:o().play),Oe=n(()=>u()?o().edit:o().play);st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e($e)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Oe)},onclick:Ue=>{Ue.currentTarget instanceof HTMLElement&&ne(e(N),Ue.currentTarget)},children:(Ue,se)=>{{let Ge=n(()=>u()?"pencil":"play");Cs(Ue,{get glyph(){return e(Ge)}})}},$$slots:{default:!0}})}};O(be,ke=>{e(N).status==="failed"&&v()?ke(Re):e(De)?ke(Ve,1):e(N).kind==="clip"&&!e(N).recording&&e(N).url&&ke(Et,2)})}var ye=A(be,2);a(ye,()=>e(N).id,()=>o().remove),F(W),F(Y),$(()=>{J(Y,"data-kind",e(N).kind),J(Y,"data-attachment-id",e(N).id),J(Y,"aria-busy",e(P)||void 0)}),xr("contextmenu",Y,ke=>te(ke,e(N))),Kt(1,Y,()=>On,()=>({tier:"fast",y:3,scale:.98})),Kt(2,Y,()=>Ya,()=>({tier:"fast"})),c(xe,Y)};O(Le,xe=>{e(N).kind==="image"&&e(N).file?xe(Ae):xe(Ee,-1)})}c(le,ve)}),F(me),ea(me,le=>D(w,le),()=>e(w)),$(()=>J(me,"aria-label",o().attachments)),c(T,me)};O(ge,T=>{e(U).length&&T(Pe)})}var Ie=A(ge,2);{const T=le=>{var N=St(),ve=fe(N);{var Le=Ae=>{var Ee=lf(),xe=fe(Ee);{var P=_=>{st(_,{variant:"primary",get disabled(){return i()},onclick:()=>e(S)&&q(e(S).id),children:(Se,Ce)=>{Cr();var E=Pr();$(()=>Q(E,o().markUp)),c(Se,E)},$$slots:{default:!0}})},Y=n(()=>j(e(S)));O(xe,_=>{e(Y)&&_(P)})}var ae=A(xe,2);st(ae,{variant:"secondary",get disabled(){return i()},onclick:()=>e(S)&&z(e(S).id),children:(_,Se)=>{Cr();var Ce=Pr();$(()=>Q(Ce,o().remove)),c(_,Ce)},$$slots:{default:!0}});var we=A(ae,2);st(we,{variant:"ghost-light",onclick:()=>{D(C,!1)},children:(_,Se)=>{Cr();var Ce=Pr();$(()=>Q(Ce,o().done)),c(_,Ce)},$$slots:{default:!0}}),c(Ae,Ee)};O(ve,Ae=>{e(S)&&e(S).kind!=="file"&&Ae(Le)})}c(le,N)};let me=n(()=>e(S)?L(e(S)):o().attachments);yi(Ie,{get title(){return e(me)},size:"wide",showCloseButton:!1,onCloseAutoFocus:le=>{le.preventDefault(),G?.isConnected?G.focus():e(w)?.querySelector("button:not(:disabled)")?.focus()},get open(){return e(C)},set open(le){D(C,le,!0)},footer:T,children:(le,N)=>{var ve=St(),Le=fe(ve);{var Ae=Ee=>{var xe=uf(),P=V(xe);{var Y=_=>{var Se=df();$(Ce=>{J(Se,"src",e(S).url),J(Se,"alt",Ce)},[()=>L(e(S))]),c(_,Se)},ae=n(()=>e(S).kind==="image"&&j(e(S))),we=_=>{var Se=cf();$(Ce=>{J(Se,"src",e(S).url),J(Se,"aria-label",Ce)},[()=>L(e(S))]),c(_,Se)};O(P,_=>{e(ae)?_(Y):e(S).kind==="clip"&&e(S).url&&_(we,1)})}F(xe),c(Ee,xe)};O(Le,Ee=>{e(S)&&e(S).kind!=="file"&&Ee(Ae)})}c(le,ve)},$$slots:{footer:!0,default:!0}})}return c(r,de),bt(_e)}Ga(["keydown","contextmenu"]);var mf=I("<!> ",1),pf=I('<div class="flex flex-col gap-2 px-4 py-3 bg-muted/30 border border-border rounded-lg my-4"><div class="flex items-center justify-between gap-2"><div class="flex items-center gap-2"><div class="shrink-0 text-subtle"><!></div> <div class="font-medium text-sm"> </div></div> <div class="flex items-center gap-1"><!> <!></div></div> <div class="text-xs text-subtle"> </div> <pre class="text-xs bg-background/50 rounded p-2 overflow-x-auto max-h-40 overflow-y-auto font-mono"> </pre></div>');function Yi(r,t){if(new.target)return pt({component:Yi,...r});_t(t,!0);let a=g(t,"name",7),s=g(t,"description",7),o=g(t,"content",7),i=g(t,"onUseScript",7),l=ue(!1);function u(){navigator.clipboard.writeText(o()),D(l,!0),setTimeout(()=>{D(l,!1)},2e3)}function h(){i()?.({name:a(),description:s(),content:o()})}var v={get name(){return a()},set name(R){a(R),m()},get description(){return s()},set description(R){s(R),m()},get content(){return o()},set content(R){o(R),m()},get onUseScript(){return i()},set onUseScript(R){i(R),m()},$set:vt,$on:(R,X)=>ht(t,R,X)},x=pf(),M=V(x),B=V(M),U=V(B),w=V(U);Bt(w,{get icon(){return ps},size:"sm"}),F(U);var C=A(U,2),re=oe(C,!0);F(B);var G=A(B,2),S=V(G);st(S,{variant:"ghost-light",size:"sm",onclick:u,class:"h-7 px-2",children:(R,X)=>{var te=mf(),_e=fe(te);{let ge=n(()=>e(l)?hi:_i);Bt(_e,{get icon(){return e(ge)},class:"mr-1"})}var de=A(_e);$(ge=>Q(de,` ${ge??""}`),[()=>e(l)?d.chat_shared_copied_label():d.chat_shared_copy_label()]),c(R,te)},$$slots:{default:!0}});var j=A(S,2);{var L=R=>{st(R,{variant:"ghost-light",size:"sm",onclick:h,class:"h-7 px-2",children:(X,te)=>{Cr();var _e=Pr();$(de=>Q(_e,de),[()=>d.chat_setupScriptCard_useScript_label()]),c(X,_e)},$$slots:{default:!0}})};O(j,R=>{i()&&R(L)})}F(G),F(M);var ne=A(M,2),z=oe(ne,!0),q=A(ne,2),ee=oe(q,!0);return F(x),$(()=>{Q(re,a()),Q(z,s()),Q(ee,o())}),c(r,x),bt(v)}const yr={toolStart:/(?:\x1B\[\d+m)?🔧\s+(?:Tool call:\s+)?(.+?)(?:\x1B\[0m)?$/,toolDetail:/(?:[└├]─\s+(.+)$|^\s{3,}(.+)$)/,toolResult:/(?:\x1B\[\d+m)?📋\s+Tool result:\s+(.+?)(?:\x1B\[0m)?$/,toolSuccess:/[✓✔✅]\s+(.+)$/,toolError:/[❌✗❎]\s+(.+)$/,sessionInfo:/[Ss]ession:\s*([a-f0-9-]+)/,resumedSession:/📂?\s*Resumed session/i,assistantMarker:/🤖/,systemMarker:/💻/,userMarker:/👤/,thinkingMarker:/🤔\s*Thinking/i,waitingMarker:/^⏳\s+Running/i,indexingProgress:/^Indexing:\s*\[.*\]\s*\d+%/,agentDigest:/<agent_digest>([\s\S]*?)<\/agent_digest>/,setupScript:/<setup_script\s+name="([^"]+)"\s+description="([^"]+)">([\s\S]*?)<\/setup_script>/};class vf{constructor(){pa(this,"buffer","");pa(this,"currentToolName",null);pa(this,"currentToolId",null);pa(this,"lastToolId",null);pa(this,"currentToolParams",[]);pa(this,"currentToolResultContent",[]);pa(this,"inToolResult",!1);pa(this,"inCodeBlock",!1);pa(this,"codeBlockLanguage","");pa(this,"codeBlockContent","");pa(this,"characterBuffer","");pa(this,"inCharacterMode",!1);pa(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const o=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const u=this.currentToolResultContent.some(v=>v.startsWith("❌")||v.startsWith("Error:")),h=this.currentToolResultContent.map(v=>v.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
|
|
1
|
+
var Ul=Object.defineProperty;var jl=(r,t,a)=>t in r?Ul(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a;var pa=(r,t,a)=>jl(r,typeof t!="symbol"?t+"":t,a);import{t as pt,bo as g,bw as vt,b as ht,bm as d,bq as Ea,bs as tr,br as Vl,bp as vn}from"./YLhFQnIu.js";import{ai as Ga,bs as _t,ca as Xt,aD as e,bH as D,ay as fe,bS as A,a7 as St,W as c,a5 as V,bA as F,bn as bt,c9 as n,bV as ue,aA as m,b_ as $,aj as xr,aB as I,be as Cr,b$ as Pr,bO as Q,bf as rr,c0 as Ia,bl as oe,bj as ja,c6 as Gl,bo as nn,br as Zr,am as Da,ax as Ba,bk as as,aw as pn,bz as ns,cb as Fn,c5 as Mn,aC as Ir,cd as vo,bv as Kl}from"./3SdAC2_C.js";import{i as O}from"./YeOAvjnW.js";import{g as kr,e as sa,p as ms,i as Ha,I as Zl,h as eo,X as pi,o as Ql}from"./oBIu7LTI.js";import{n as Kt,l as On,c as Ya,g as rn,s as ks,k as ss,S as Xl}from"./FLpsgWeB.js";import{s as J,f as Fe,g as hn,c as It,e as Qt,b as _n,p as Yl,S as Jl,C as ed}from"./BQhBnAuP.js";import{b as ea}from"./Dn334wJv.js";import{f as st,ae as to,a_ as td}from"./Cw2fqKk9.js";import{J as rd,O as ad,Q as Is}from"./DJivXy66.js";import"./kvtKUeBe.js";import"./KtEuoG00.js";import"./WvHbj6rB.js";import{t as Ma,k as vi}from"./CrpUtGFn.js";import{F as Bt,a4 as zs,bg as ka,cK as ps,au as hi,aZ as _i,aK as nd,c9 as sd,a6 as os,aN as od,cN as id,cM as ld,a3 as vs,aC as is,aw as hs,I as ho,aj as dd,bu as cd,aS as ud,aX as fd,bJ as gd,ao as md,bk as bi,cC as pd,aP as _o,c0 as Ss,aI as Hn,cW as vd,cb as hd,bn as _d,b as bd,cp as yd,ag as wd,ba as Ts,cr as wn,cF as xd,az as kd,c6 as Id,d3 as Sd}from"./gwv5JQYH.js";import{C as yi,A as Td,o as Cd}from"./ItBm4ElA.js";import{b as Cs,V as bo}from"./DLttsd3i.js";import{A as wi}from"./B9GWGWit.js";import{bZ as xi,aj as Md,j as Kn,a4 as Ws,al as ls,E as Ad,au as Zn,aP as Pd,aS as yo}from"./ByBw1QkA.js";import{t as an,o as Rd}from"./DAsc1V4f.js";import{ch as Qn,aO as qn,d2 as ki,d4 as Va,c6 as _s,q as Nd,cX as Ii,d1 as bs,d0 as Si,c_ as Ti,n as Ca,al as Ed,am as $d,aJ as Ld,z as Od,V as qd,a3 as wo,D as Ci,e4 as Dd,aF as Bd,ak as Fd,r as zd,C as Ms,ag as Wd,U as xn,e2 as Hd,ab as Ud,k as xo,u as jd,Z as Vd,v as Gd,i as Kd,g as As,f as ko,a0 as Zd,$ as Qd,a9 as Xd,x as Mi,y as Ai,l as Pi,j as Yd,s as Jd,a as ec,d5 as tc,ae as rc,e3 as ac,L as nc,F as sc,a2 as Io,bq as oc,av as ic}from"./BJbm_MWC.js";import{Jx as mt,o$ as lc,tQ as Xn,nQ as So,vJ as Ri,vL as Ni,s1 as dc,yI as ds,v0 as Ei,nL as $i,br as En,nY as cc,nZ as uc,yJ as fc,qz as gc,tk as mc,vC as Li,nK as pc,mP as vc,m as hc,za as _c,z7 as bc,z9 as yc}from"./D5wnbxHp.js";import{a3 as wc,y as Ps,a1 as xc,O as Rs,W as kc,$ as Ic,k as Sc,p as kn,P as un,q as Tc,G as Cc,v as Mc,t as Ac,M as Ns,K as Pc,z as Rc,L as Nc,_ as An,U as Un,N as To,n as Co,E as Ec,c as Es,F as Mo,B as $c,w as Ao,J as Pn,Q as Lc,H as Oc,j as qc,R as Dc,T as Bc,A as Fc,g as zc,b as Wc,D as Hc,f as Uc,e as jc,a as Vc,C as Gc,i as Kc,d as Hs,V as Oi,a4 as Zc,u as Qc,l as Xc}from"./CxMr7p-O.js";import{i as Yc,e as Jc}from"./_3Ca9E4W.js";import{g as $s}from"./B5aYN90J.js";import{M as In,C as Rn}from"./CY4ZK6xA.js";import{C as Po}from"./Y2a1lhL9.js";import"./9fNNDfgo.js";import{P as eu}from"./6uD0LviT.js";import"./BIfjK4Wy.js";import{c as qi}from"./ChTqQfQN.js";import{S as tu}from"./CqGq5PHb.js";import{D as Ro,M as ru}from"./B6-aVrNf.js";import{b as au,s as en,c as cs}from"./ClQE9kQf.js";import{O as Yn,y as Ls,E as Os,B as qs,N as nu,m as su,l as ou,k as iu,d as Dn,C as No,f as lu,e as du,g as cu}from"./XK8g38bo.js";import{a as Di,s as Eo}from"./BsieX9dN.js";import{f as uu}from"./BdWqymET.js";import{c as na}from"./CeeeYtIE.js";import{a as fu,k as Bi,h as ro,q as Fi,l as wr}from"./DIEHuZ8f.js";import{P as gu}from"./CIWQMI37.js";import{r as Ds,q as Bs,B as $o,i as mu}from"./cpPIph2M.js";import{R as zi,C as ys,m as pu,h as vu,g as hu,i as Lo,P as _u}from"./CZB2ndi9.js";import"./D48_y-cl.js";import{c as bu,s as yu}from"./CTVz-pXS.js";import{h as gn}from"./BK0IkwFP.js";import{b as wu,a as Wi}from"./T-5C1GqS.js";import{P as Hi}from"./CV5qbjYN.js";import{B as xu}from"./BH3eRhvI.js";import{o as Ui,r as ku,e as Iu}from"./CULu7FSf.js";import{o as ji}from"./Bbae4OrB.js";import{A as Jn,b as Vi}from"./CfaCrhAh.js";import{g as ao}from"./B0RPkrmZ.js";import{a as Su,M as Tu}from"./CTowDLQa.js";import{a as Gi}from"./DkJYBjJg.js";import{E as Cu,n as Mu}from"./0Kw0mmSW.js";import{t as Tr}from"./C-BsEdGZ.js";import{c as Sn}from"./DwGyIIXK.js";import{A as Au}from"./BaOiWDrc.js";import{f as Pu,d as Ru}from"./CACH34FC.js";import{ad as Nu,P as Eu,Z as $u,L as Oo,Y as Lu,w as Ou,a0 as Ki,$ as Zi}from"./CCzan1r_.js";import{a as qu}from"./CC7to1B5.js";import{k as Du}from"./CBbdbU2x.js";import{S as Bu}from"./DgtVALrr.js";import{u as Fu,a as zu,c as qo,S as Wu}from"./D9tVylVS.js";import{T as us}from"./CrL2Nk6a.js";import"./BNDTLRE1.js";import{g as Hu,a as Uu}from"./DkERMj5B.js";import{I as ju,R as Vu,q as Gu}from"./CHApvLbz.js";import{b as Qi}from"./DPG1HUgG.js";import{b as Do}from"./goTpbPhD.js";import{ah as Ua,n as Ku}from"./mUNs8NSR.js";import{c as Zu}from"./CrvtnK13.js";import{r as Bo}from"./DNZCPKpq.js";function Qu(r){if(!r||typeof r!="object")return null;const t=r;if(t.type!=="script_monitor_wake"||t.source!=="system")return null;const{scriptName:a,scriptId:s,runId:o,monitorId:i,workspaceId:l,reason:u}=t;if(typeof a!="string"||typeof s!="string"||!s||typeof o!="string"||!o||typeof i!="string"||!i||typeof l!="string"||!l||u!=="finished"&&u!=="ttl-expired"&&u!=="output-match"&&u!=="line-count")return null;const h=t.trigger;return{scriptName:a,scriptId:s,runId:o,monitorId:i,workspaceId:l,reason:u,...u==="output-match"&&typeof h?.matchedLine=="string"?{matchedLine:h.matchedLine}:{}}}function Xu(r){return r?.type==="script_monitor_wake"&&!("remoteAgentId"in r)}function Yu(r,t,a,s=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const o=r.messageMetadata?.fromPrincipalId??r.author?.principalId,i=Nu(r)&&r.author?.principalId!==null&&o===t;return{edit:i,remove:i||t===a||s,sendNow:(i||s)&&!Xi(r)}}function Tn(r,t){if(t)return r.find(a=>a.editing&&a.editingMessageId?a.editingMessageId===t:a.id===t)}function Xi(r){return Xu(r.messageMetadata)&&typeof r.messageMetadata?.monitorId=="string"}function Fo(r,t=Date.now()){const a=r.messageMetadata,s=a?.fromPrincipalId,o=a&&Object.hasOwn(a,"humanAuthor")&&!(typeof s=="string"&&s.length>0),i=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!i&&!o&&!Xi(r)}const Cb="pl-3.5! pr-2!";var Ju=I('<span class="tile-remove-slot svelte-d8pwpf"><!></span>'),zo=I('<span class="attachment-status svelte-d8pwpf"> </span>'),ef=I('<div class="file-image tile svelte-d8pwpf" data-kind="file"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),tf=I("<!><span> </span>",1),rf=I('<img alt="" draggable="false"/>'),af=I('<span class="summary svelte-d8pwpf" data-clip-summary=""> </span>'),nf=I('<span class="clip svelte-d8pwpf"><span class="record-dot svelte-d8pwpf" aria-hidden="true"></span><span class="duration svelte-d8pwpf"> </span><!></span>'),sf=I('<div class="tile svelte-d8pwpf"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),of=I('<div class="attachment-row svelte-d8pwpf" role="group" data-dock-media-attachments=""></div>'),lf=I("<!> <!> <!>",1),df=I('<img draggable="false" class="svelte-d8pwpf"/>'),cf=I('<video controls="" playsinline="" class="svelte-d8pwpf"></video>',2),uf=I('<div class="media-viewer svelte-d8pwpf"><!></div>'),ff=I("<!> <!>",1);function gf(r,t){if(new.target)return pt({component:gf,...r});_t(t,!0);const a=(T,me=rr,le=rr)=>{var N=Ju(),ve=V(N);st(ve,{variant:"secondary",size:"icon-sm",class:"tile-action tile-remove",get disabled(){return i()},get"aria-label"(){return le()},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return le()},onclick:()=>z(me()),children:(Le,Ae)=>{Cs(Le,{glyph:"x"})},$$slots:{default:!0}}),F(N),c(T,N)};let s=g(t,"items",7),o=g(t,"labels",7),i=g(t,"disabled",7,!1),l=g(t,"onMarkUp",7),u=g(t,"onEdit",7),h=g(t,"onRemove",7),v=g(t,"onRetry",7),x=g(t,"onCopy",7),M=g(t,"onMenu",7);const B=T=>T.owner==="attachment"?2:{image:0,clip:1,file:2}[T.kind],U=n(()=>[...s()].sort((T,me)=>B(T)-B(me)));let w=ue(null),C=ue(!1),re=ue(null),G=null;const S=n(()=>s().find(T=>T.id===e(re)));Xt(()=>{(!e(S)||e(S).kind==="image"&&!j(e(S)))&&D(C,!1)});function j(T){return T.kind==="image"&&T.status!=="placing"&&T.status!=="failed"&&T.url.trim().length>0}function L(T){return T.kind==="image"?o().image(T.markCount):T.kind==="clip"?T.summary?`${o().clip(T.duration)} ${T.summary}`:o().clip(T.duration):T.name}function ne(T,me){if(!(i()||T.kind==="file"||T.kind==="image"&&!j(T)||T.kind==="clip"&&(!T.url||T.recording))){if((T.kind==="clip"||T.kind==="image")&&u()){u()(T.id);return}G=me,D(re,T.id,!0),D(C,!0)}}async function z(T){i()||(e(re)===T&&D(C,!1),h()(T),await Ia(),(!document.activeElement||document.activeElement===document.body)&&e(w)?.querySelector("button:not(:disabled)")?.focus())}function q(T){const me=s().find(le=>le.id===T);i()||!me||!j(me)||(D(C,!1),u()?u()(T):l()(T))}function ee(T,me){T.key!=="Delete"||i()||(T.preventDefault(),T.stopPropagation(),z(me))}function R(T){return T.status==="placing"||T.status==="failed"?!1:T.kind==="image"?!!T.file||j(T):T.kind==="clip"&&!T.recording&&!!T.url}function X(T,me){const le=rd()?T.metaKey:T.ctrlKey,N=T.key.toLowerCase();if(le&&!T.shiftKey&&!T.altKey&&(N==="c"||N==="x")){if(!x()||!R(me)||(T.preventDefault(),T.stopPropagation(),N==="x"&&i()))return;x()(me.id,N==="x");return}ee(T,me.id)}function te(T,me){!M()||!R(me)||(T.preventDefault(),M()(me.id))}var _e={get items(){return s()},set items(T){s(T),m()},get labels(){return o()},set labels(T){o(T),m()},get disabled(){return i()},set disabled(T=!1){i(T),m()},get onMarkUp(){return l()},set onMarkUp(T){l(T),m()},get onEdit(){return u()},set onEdit(T){u(T),m()},get onRemove(){return h()},set onRemove(T){h(T),m()},get onRetry(){return v()},set onRetry(T){v(T),m()},get onCopy(){return x()},set onCopy(T){x(T),m()},get onMenu(){return M()},set onMenu(T){M(T),m()},$set:vt,$on:(T,me)=>ht(t,T,me)},de=ff(),ge=fe(de);{var Pe=T=>{var me=of();kr(me,21,()=>e(U),le=>le.id,(le,N)=>{var ve=St(),Le=fe(ve);{var Ae=xe=>{var P=ef(),Y=V(P);{let W=n(()=>i()||e(N).status==="placing");wi(Y,{get id(){return e(N).id},get name(){return e(N).file.name},get type(){return e(N).file.imageMimeType},get imageData(){return e(N).file.imageData},get imageMimeType(){return e(N).file.imageMimeType},variant:"thumbnail",thumbnailClass:"size-full",class:"size-full",get disabled(){return e(W)},get placementStatus(){return e(N).status},get placementError(){return e(N).error}})}var ae=A(Y,2);{var we=W=>{var be=zo(),Re=oe(be,!0);$(()=>{J(be,"data-failed",e(N).status==="failed"||void 0),J(be,"role",e(N).status==="failed"?"alert":"status"),J(be,"title",e(N).error),Q(Re,e(N).status==="failed"?e(N).error??o().attachmentFailed:o().attachmentPending)}),c(W,be)};O(ae,W=>{e(N).status&&W(we)})}var _=A(ae,2),Se=V(_);{var Ce=W=>{st(W,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(N).id),children:(be,Re)=>{Bt(be,{get icon(){return zs},size:16})},$$slots:{default:!0}})};O(Se,W=>{e(N).status==="failed"&&v()&&W(Ce)})}var E=A(Se,2);{let W=n(()=>d.chat_attachmentPreview_remove_ariaLabel({name:e(N).file.name}));a(E,()=>e(N).id,()=>e(W))}F(_),F(P),$(()=>J(P,"data-attachment-id",e(N).id)),xr("keydown",P,W=>X(W,e(N))),xr("contextmenu",P,W=>te(W,e(N))),Kt(1,P,()=>On,()=>({tier:"fast",y:3,scale:.98})),Kt(2,P,()=>Ya,()=>({tier:"fast"})),c(xe,P)},Ee=xe=>{const P=n(()=>e(N).kind==="image"&&!j(e(N))&&e(N).status!=="failed");var Y=sf(),ae=V(Y);{var we=ke=>{st(ke,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile file",get"aria-label"(){return e(N).name},get disabled(){return i()},onkeydown:$e=>ee($e,e(N).id),children:($e,Oe)=>{var Ue=tf(),se=fe(Ue);Bt(se,{get icon(){return ka},size:20});var Ge=A(se),yt=oe(Ge,!0);$(()=>Q(yt,e(N).name)),c($e,Ue)},$$slots:{default:!0}})},_=ke=>{{let $e=n(()=>L(e(N))),Oe=n(()=>i()||e(N).kind==="clip"&&(e(N).recording||!e(N).url));st(ke,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile",get"aria-label"(){return e($e)},get disabled(){return e(Oe)},onkeydown:Ue=>X(Ue,e(N)),onclick:Ue=>{Ue.currentTarget instanceof HTMLElement&&ne(e(N),Ue.currentTarget)},children:(Ue,se)=>{var Ge=St(),yt=fe(Ge);{var Ft=et=>{var Ke=rf();$(()=>J(Ke,"src",e(N).url)),c(et,Ke)},er=et=>{var Ke=nf(),$t=A(V(Ke)),Tt=oe($t,!0),ut=A($t);{var ze=K=>{var y=af(),pe=oe(y,!0);$(()=>Q(pe,e(N).summary)),c(K,y)};O(ut,K=>{e(N).summary&&K(ze)})}F(Ke),$(()=>Q(Tt,e(N).duration)),c(et,Ke)};O(yt,et=>{e(N).kind==="image"?et(Ft):et(er,-1)})}c(Ue,Ge)},$$slots:{default:!0}})}},Se=n(()=>e(N).kind!=="image"||j(e(N)));O(ae,ke=>{e(N).kind==="file"?ke(we):e(Se)&&ke(_,1)})}var Ce=A(ae,2);{var E=ke=>{var $e=zo(),Oe=oe($e,!0);$(()=>{J($e,"data-failed",e(N).status==="failed"||void 0),J($e,"role",e(N).status==="failed"?"alert":"status"),J($e,"title",e(N).error),Q(Oe,e(N).status==="failed"?e(N).error??o().attachmentFailed:o().attachmentPending)}),c(ke,$e)};O(Ce,ke=>{(e(N).status||e(P))&&ke(E)})}var W=A(Ce,2),be=V(W);{var Re=ke=>{st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(N).id),children:($e,Oe)=>{Bt($e,{get icon(){return zs},size:16})},$$slots:{default:!0}})},Ve=ke=>{{let $e=n(()=>u()?o().edit:o().markUp),Oe=n(()=>u()?o().edit:o().markUp);st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e($e)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Oe)},onclick:()=>q(e(N).id),children:(Ue,se)=>{Cs(Ue,{glyph:"pencil"})},$$slots:{default:!0}})}},De=n(()=>j(e(N))),Et=ke=>{{let $e=n(()=>u()?o().edit:o().play),Oe=n(()=>u()?o().edit:o().play);st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e($e)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Oe)},onclick:Ue=>{Ue.currentTarget instanceof HTMLElement&&ne(e(N),Ue.currentTarget)},children:(Ue,se)=>{{let Ge=n(()=>u()?"pencil":"play");Cs(Ue,{get glyph(){return e(Ge)}})}},$$slots:{default:!0}})}};O(be,ke=>{e(N).status==="failed"&&v()?ke(Re):e(De)?ke(Ve,1):e(N).kind==="clip"&&!e(N).recording&&e(N).url&&ke(Et,2)})}var ye=A(be,2);a(ye,()=>e(N).id,()=>o().remove),F(W),F(Y),$(()=>{J(Y,"data-kind",e(N).kind),J(Y,"data-attachment-id",e(N).id),J(Y,"aria-busy",e(P)||void 0)}),xr("contextmenu",Y,ke=>te(ke,e(N))),Kt(1,Y,()=>On,()=>({tier:"fast",y:3,scale:.98})),Kt(2,Y,()=>Ya,()=>({tier:"fast"})),c(xe,Y)};O(Le,xe=>{e(N).kind==="image"&&e(N).file?xe(Ae):xe(Ee,-1)})}c(le,ve)}),F(me),ea(me,le=>D(w,le),()=>e(w)),$(()=>J(me,"aria-label",o().attachments)),c(T,me)};O(ge,T=>{e(U).length&&T(Pe)})}var Ie=A(ge,2);{const T=le=>{var N=St(),ve=fe(N);{var Le=Ae=>{var Ee=lf(),xe=fe(Ee);{var P=_=>{st(_,{variant:"primary",get disabled(){return i()},onclick:()=>e(S)&&q(e(S).id),children:(Se,Ce)=>{Cr();var E=Pr();$(()=>Q(E,o().markUp)),c(Se,E)},$$slots:{default:!0}})},Y=n(()=>j(e(S)));O(xe,_=>{e(Y)&&_(P)})}var ae=A(xe,2);st(ae,{variant:"secondary",get disabled(){return i()},onclick:()=>e(S)&&z(e(S).id),children:(_,Se)=>{Cr();var Ce=Pr();$(()=>Q(Ce,o().remove)),c(_,Ce)},$$slots:{default:!0}});var we=A(ae,2);st(we,{variant:"ghost-light",onclick:()=>{D(C,!1)},children:(_,Se)=>{Cr();var Ce=Pr();$(()=>Q(Ce,o().done)),c(_,Ce)},$$slots:{default:!0}}),c(Ae,Ee)};O(ve,Ae=>{e(S)&&e(S).kind!=="file"&&Ae(Le)})}c(le,N)};let me=n(()=>e(S)?L(e(S)):o().attachments);yi(Ie,{get title(){return e(me)},size:"wide",showCloseButton:!1,onCloseAutoFocus:le=>{le.preventDefault(),G?.isConnected?G.focus():e(w)?.querySelector("button:not(:disabled)")?.focus()},get open(){return e(C)},set open(le){D(C,le,!0)},footer:T,children:(le,N)=>{var ve=St(),Le=fe(ve);{var Ae=Ee=>{var xe=uf(),P=V(xe);{var Y=_=>{var Se=df();$(Ce=>{J(Se,"src",e(S).url),J(Se,"alt",Ce)},[()=>L(e(S))]),c(_,Se)},ae=n(()=>e(S).kind==="image"&&j(e(S))),we=_=>{var Se=cf();$(Ce=>{J(Se,"src",e(S).url),J(Se,"aria-label",Ce)},[()=>L(e(S))]),c(_,Se)};O(P,_=>{e(ae)?_(Y):e(S).kind==="clip"&&e(S).url&&_(we,1)})}F(xe),c(Ee,xe)};O(Le,Ee=>{e(S)&&e(S).kind!=="file"&&Ee(Ae)})}c(le,ve)},$$slots:{footer:!0,default:!0}})}return c(r,de),bt(_e)}Ga(["keydown","contextmenu"]);var mf=I("<!> ",1),pf=I('<div class="flex flex-col gap-2 px-4 py-3 bg-muted/30 border border-border rounded-lg my-4"><div class="flex items-center justify-between gap-2"><div class="flex items-center gap-2"><div class="shrink-0 text-subtle"><!></div> <div class="font-medium text-sm"> </div></div> <div class="flex items-center gap-1"><!> <!></div></div> <div class="text-xs text-subtle"> </div> <pre class="text-xs bg-background/50 rounded p-2 overflow-x-auto max-h-40 overflow-y-auto font-mono"> </pre></div>');function Yi(r,t){if(new.target)return pt({component:Yi,...r});_t(t,!0);let a=g(t,"name",7),s=g(t,"description",7),o=g(t,"content",7),i=g(t,"onUseScript",7),l=ue(!1);function u(){navigator.clipboard.writeText(o()),D(l,!0),setTimeout(()=>{D(l,!1)},2e3)}function h(){i()?.({name:a(),description:s(),content:o()})}var v={get name(){return a()},set name(R){a(R),m()},get description(){return s()},set description(R){s(R),m()},get content(){return o()},set content(R){o(R),m()},get onUseScript(){return i()},set onUseScript(R){i(R),m()},$set:vt,$on:(R,X)=>ht(t,R,X)},x=pf(),M=V(x),B=V(M),U=V(B),w=V(U);Bt(w,{get icon(){return ps},size:"sm"}),F(U);var C=A(U,2),re=oe(C,!0);F(B);var G=A(B,2),S=V(G);st(S,{variant:"ghost-light",size:"sm",onclick:u,class:"h-7 px-2",children:(R,X)=>{var te=mf(),_e=fe(te);{let ge=n(()=>e(l)?hi:_i);Bt(_e,{get icon(){return e(ge)},class:"mr-1"})}var de=A(_e);$(ge=>Q(de,` ${ge??""}`),[()=>e(l)?d.chat_shared_copied_label():d.chat_shared_copy_label()]),c(R,te)},$$slots:{default:!0}});var j=A(S,2);{var L=R=>{st(R,{variant:"ghost-light",size:"sm",onclick:h,class:"h-7 px-2",children:(X,te)=>{Cr();var _e=Pr();$(de=>Q(_e,de),[()=>d.chat_setupScriptCard_useScript_label()]),c(X,_e)},$$slots:{default:!0}})};O(j,R=>{i()&&R(L)})}F(G),F(M);var ne=A(M,2),z=oe(ne,!0),q=A(ne,2),ee=oe(q,!0);return F(x),$(()=>{Q(re,a()),Q(z,s()),Q(ee,o())}),c(r,x),bt(v)}const yr={toolStart:/(?:\x1B\[\d+m)?🔧\s+(?:Tool call:\s+)?(.+?)(?:\x1B\[0m)?$/,toolDetail:/(?:[└├]─\s+(.+)$|^\s{3,}(.+)$)/,toolResult:/(?:\x1B\[\d+m)?📋\s+Tool result:\s+(.+?)(?:\x1B\[0m)?$/,toolSuccess:/[✓✔✅]\s+(.+)$/,toolError:/[❌✗❎]\s+(.+)$/,sessionInfo:/[Ss]ession:\s*([a-f0-9-]+)/,resumedSession:/📂?\s*Resumed session/i,assistantMarker:/🤖/,systemMarker:/💻/,userMarker:/👤/,thinkingMarker:/🤔\s*Thinking/i,waitingMarker:/^⏳\s+Running/i,indexingProgress:/^Indexing:\s*\[.*\]\s*\d+%/,agentDigest:/<agent_digest>([\s\S]*?)<\/agent_digest>/,setupScript:/<setup_script\s+name="([^"]+)"\s+description="([^"]+)">([\s\S]*?)<\/setup_script>/};class vf{constructor(){pa(this,"buffer","");pa(this,"currentToolName",null);pa(this,"currentToolId",null);pa(this,"lastToolId",null);pa(this,"currentToolParams",[]);pa(this,"currentToolResultContent",[]);pa(this,"inToolResult",!1);pa(this,"inCodeBlock",!1);pa(this,"codeBlockLanguage","");pa(this,"codeBlockContent","");pa(this,"characterBuffer","");pa(this,"inCharacterMode",!1);pa(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const o=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const u=this.currentToolResultContent.some(v=>v.startsWith("❌")||v.startsWith("Error:")),h=this.currentToolResultContent.map(v=>v.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
|
|
2
2
|
`);o.push({type:"tool_result",content:h,metadata:{toolId:this.currentToolId,isError:u}}),this.lastToolId=this.currentToolId,this.currentToolId=null,this.inToolResult=!1,this.currentToolResultContent=[]}const i=t.indexOf("🤖"),l=t.substring(i+2);if(this.inCharacterMode=!0,this.characterBuffer="",l&&l.trim()&&l!==`
|
|
3
3
|
`){const u=l.replace(/^\n/,"");u&&(this.characterBuffer=u)}return o}if(this.inCharacterMode){if(t.trim()===""&&this.characterBuffer==="")return[];if(t.includes(`
|
|
4
4
|
`)&&this.characterBuffer.length>0){const o=t.substring(0,t.indexOf(`
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{bm as o,t as st,bo as K,bw as nt,b as ot,bq as Ft,bs as Fe,_ as Ut}from"./Dws-34a7.js";import{bs as it,a5 as f,aD as t,bA as v,b_ as T,W as y,bn as ct,c9 as k,aA as H,aB as S,ca as Ue,bk as Vt,c6 as Yt,cd as Pe,bV as Gt,bS as g,ay as ge,bl as M,bO as N}from"./3SdAC2_C.js";import{i as $}from"./DLCFUd4s.js";import{e as Ve,g as Ye}from"./C-zB-6G6.js";import{c as Qt,e as Jt,f as lt,g as Xt,s as x}from"./BD9db4FR.js";import{a_ as Zt,da as ea,X as ta,aI as aa,dD as ra,a3 as sa,dH as dt}from"./SbTG0nwQ.js";import{t as Ge}from"./DAsc1V4f.js";import{b as na,A as oa}from"./VeUh5OMZ.js";import{p as Qe}from"./CmyAIpbY.js";import{aM as ia,aJ as ca,aK as Je,a0 as la}from"./B_4WsP9b.js";import{S as le}from"./jBG7W4tL.js";import"./BPuz5cN_.js";import{f as Xe}from"./BIGqOuh0.js";import{l as B,n as da}from"./B8HnjSSF.js";import{sc as ut,Jx as W,mP as ua,fV as pa,nL as va,v0 as ma,c as _a,wD as ga,tF as fa,rV as wa}from"./4g_iHoQm.js";import{c as ba}from"./ChTqQfQN.js";import{o as ka}from"./B5uejTJk.js";import{aR as ha,aS as Ze,bC as ya,aB as xa,bB as Sa,aG as Aa,d3 as Ca,cT as Ra,F as fe,ay as et,bK as Ia}from"./CGYPBD6G.js";import{selectCurrentWorkspaceTabId as Pa}from"./DtqPBHQj.js";import{p as qa}from"./BoG8wR7s.js";import{i as Ma}from"./CjjWPVbV.js";const Na=new Set(["failed","blocked","needs_attention","in_progress"]),Wa={failed:{visual:"icon",icon:Ra,className:"text-foreground"},blocked:{visual:"icon",icon:Ca,className:"text-danger"},needs_attention:{visual:"icon",icon:Aa,className:"text-warning-ink"},in_progress:{visual:"dot",icon:null,className:"workspace-status-color-active"},waiting:{visual:"icon",icon:Sa,className:"text-muted-foreground"},unread:{visual:"dot",icon:null,className:"workspace-status-color-unread"},not_started:{visual:"dot",icon:null,className:"text-muted-foreground/35"},idle:{visual:"dot",icon:null,className:"text-muted-foreground/35"},complete:{visual:"icon",icon:xa,className:"text-success"},pr_queued:{visual:"icon",icon:ya,className:"text-info"},pr_ready:{visual:"icon",icon:Ze,className:"text-success"},pr_open:{visual:"icon",icon:Ze,className:"text-info"},pr_merged:{visual:"icon",icon:ha,className:"text-purple-500"}};function Ta(r){switch(r){case"failed":return o.workspace_statusIcon_failed_label();case"blocked":return o.workspace_statusIcon_blocked_label();case"needs_attention":return o.workspace_statusIcon_needsAttention_label();case"in_progress":return o.workspace_statusIcon_inProgress_label();case"waiting":return o.workspace_taskStatus_waiting_label();case"unread":return o.layout_activeCard_unread_header();case"not_started":return o.workspace_statusIcon_notStarted_label();case"idle":return o.workspace_statusIcon_idle_label();case"complete":return o.workspace_statusIcon_complete_label();case"pr_queued":return o.workspace_statusIcon_prQueued_label();case"pr_ready":return o.workspace_statusIcon_prReady_label();case"pr_open":return o.workspace_statusIcon_prOpen_label();case"pr_merged":return o.workspace_statusIcon_prMerged_label()}}function Da(r){const n=ut(r.displayStatus)?r.displayStatus:"not_started";return Na.has(n)?n:r.attention==="unread"?"unread":r.waiting===!0?"waiting":n}function pt(r){const n=r==="waiting"||r==="unread"||ut(r)?r:"not_started",b=Ta(n);return{state:n,...Wa[n],label:b,tooltip:b,accessibleName:b}}var Oa=S('<span class="workspace-status-dot svelte-14zk5l0" data-workspace-status-dot=""></span>'),Ea=S("<span><!></span>");function vt(r,n){if(new.target)return st({component:vt,...r});it(n,!0);let b=K(n,"status",7),m=K(n,"size",7,14),w=K(n,"decorative",7,!1),u=K(n,"class",7);const i=k(()=>pt(b()));var a={get status(){return b()},set status(_){b(_),H()},get size(){return m()},set size(_=14){m(_),H()},get decorative(){return w()},set decorative(_=!1){w(_),H()},get class(){return u()},set class(_){u(_),H()},$set:nt,$on:(_,G)=>ot(n,_,G)},p=Ea(),re=f(p);{var se=_=>{var G=Oa();y(_,G)},ne=_=>{fe(_,{get icon(){return t(i).icon},class:"size-full!"})};$(re,_=>{t(i).visual==="dot"?_(se):t(i).icon&&_(ne,1)})}return v(p),T(_=>{lt(p,1,_,"svelte-14zk5l0"),Xt(p,`width: ${m()??""}px; height: ${m()??""}px;`),x(p,"role",w()?void 0:"img"),x(p,"aria-label",w()?void 0:t(i).accessibleName),x(p,"aria-hidden",w()?"true":void 0),x(p,"title",w()?void 0:t(i).tooltip),x(p,"data-workspace-status",t(i).state),x(p,"data-workspace-status-visual",t(i).visual),x(p,"data-workspace-status-icon",t(i).icon?.iconName)},[()=>Qt(Jt("workspace-status-icon inline-flex shrink-0 items-center justify-center forced-colors:text-[CanvasText]",t(i).className,u()))]),y(r,p),ct(a)}const Me=6e4,Ne=60*Me,We=24*Ne,tt=30*We;function La(r,n=new Date){if(r==null)return null;const b=r instanceof Date?r:new Date(r),m=b.getTime(),w=n.getTime();if(!Number.isFinite(m)||!Number.isFinite(w))return null;const u=Math.max(0,w-m);let i;u<Me?i="<1m":u<Ne?i=`${B(Math.floor(u/Me))}m`:u<We?i=`${B(Math.floor(u/Ne))}h`:u<tt?i=`${B(Math.floor(u/We))}d`:i=`${B(Math.floor(u/tt))}mo`;const a=m>w?n:b,p=da(a,{now:n});return p?{compact:i,accessible:p,dateTime:b.toISOString()}:null}var $a=S('<div><div class="grid gap-0.5 px-5 pt-4"><div class="flex min-w-0 items-center justify-between gap-3"><!> <!></div> <!> <!></div> <div class="my-3 border-t border-border" data-workspace-hover-card-divider=""></div> <div class="body-grid grid min-w-0 grid-cols-1 items-stretch gap-3 px-5 pb-4" data-workspace-hover-card-columns=""><div class="grid" data-workspace-hover-card-activity=""><!></div> <div class="pull-requests grid" data-workspace-hover-card-pr-column=""><!></div></div></div>'),Ka=S('<p class="type-caption mt-1 min-w-0 line-clamp-3 text-muted-foreground" data-workspace-hover-card-summary=""> </p>'),Ha=S('<span class="shrink-0 text-muted-foreground" data-workspace-hover-card-question-meta=""><span aria-hidden="true"> </span></span>'),Ba=S('<span class="row-span-2 flex h-(--text-caption-line-height) items-center" aria-hidden="true"><!></span><span class="type-caption min-w-0 truncate text-foreground" data-workspace-hover-card-agent-name=""> </span><time class="type-caption whitespace-nowrap text-muted-foreground" data-workspace-hover-card-agent-time=""> </time> <span class="agent-detail type-caption flex min-w-0 items-start gap-1.5 text-muted-foreground svelte-1vax087" data-workspace-hover-card-agent-detail=""><span class="min-w-0 truncate" data-workspace-hover-card-agent-context=""> </span><!></span>',1),at=S('<div role="listitem"><!></div>'),za=S('<div class="type-caption mt-3 flex items-center justify-between text-muted-foreground" data-workspace-hover-card-overflow=""><span> </span> <!></div>'),ja=S('<section class="activity min-w-0" data-workspace-hover-card-activity="" data-workspace-hover-card-agent-table=""><div class="-mx-2 grid gap-2" role="list"></div> <!></section>'),Fa=S('<!> <span class="type-caption min-w-0 truncate text-foreground" data-workspace-hover-card-pr-title=""> </span> <span class="type-caption shrink-0 text-muted-foreground" data-workspace-hover-card-pr-status=""> </span> <span class="type-caption shrink-0 text-muted-foreground" data-workspace-hover-card-pr-number=""> </span>',1),Ua=S('<div class="grid w-full min-w-0 grid-cols-[1rem_minmax(0,1fr)_auto_auto] items-center gap-x-2 rounded-sm px-2 py-0 text-left" data-workspace-hover-card-pr-row=""><!></div>'),Va=S('<div class="type-caption mt-3 flex items-center justify-between text-muted-foreground" data-workspace-hover-card-pr-overflow=""><span> </span> <!></div>'),Ya=S('<section class="pull-requests min-w-0" data-workspace-hover-card-pr-column=""><div class="-mx-2 grid min-w-0 gap-2" role="list" data-workspace-hover-card-pr-list=""></div> <!></section>'),Ga=S('<div class="my-3 border-t border-border" data-workspace-hover-card-divider=""></div> <div class="body-grid grid min-w-0 grid-cols-1 items-stretch gap-3 px-5 pb-4" data-workspace-hover-card-columns=""><!> <!></div>',1),Qa=S('<header data-workspace-hover-card-header=""><div class="min-w-0" data-workspace-hover-card-identity=""><div class="flex min-w-0 items-center justify-between gap-3"><h2 class="type-body min-w-0 truncate font-medium text-foreground" data-workspace-hover-card-title=""> </h2> <span class="type-caption flex shrink-0 items-center gap-1.5 text-muted-foreground" data-workspace-hover-card-status=""><span class="truncate" data-workspace-hover-card-status-label=""> </span><!></span></div> <div class="type-caption mt-0.5 min-w-0 truncate text-muted-foreground" data-workspace-hover-card-repo=""> </div> <!></div></header> <!>',1),Ja=S('<section class="workspace-hover-card shrink-0 overflow-hidden rounded-md bg-background text-left text-foreground shadow-(--elevation-overlay) ring-1 ring-border svelte-1vax087" data-workspace-hover-card="" data-workspace-hover-card-layout="landscape"><!></section>');function Xa(r,n){if(new.target)return st({component:Xa,...r});it(n,!0);const b=()=>Fe(gt,"$workspaceAgents$",w),m=()=>Fe(ft,"$prMonitors$",w),[w,u]=Ft(),i=ba("WorkspaceHoverCard");let a=K(n,"workspace",7),p=K(n,"isLoading",7,!1),re=K(n,"activeAgentIds",23,()=>[]),se=K(n,"loadAgentSessions",7,!0),ne=K(n,"onkeydown",7),_=K(n,"staticData",7,!1);const G=Pe("");function mt(){return _()?Pe([]):Zt(G)}function _t(){return _()?Pe([]):ea(G)}const gt=mt(),ft=_t();Ue(()=>G.set(a()?.id??""));let Te=Gt(0);Vt(()=>Qe.subscribe(()=>Yt(Te)));let wt=k(()=>a()?.agentSummary?.agentIds??[]),De=k(()=>(t(Te),a()?Qe.getStreamingAgentIdsForWorkspace(a().id):[])),Oe=null,we=new Set;Ue(()=>{if(!a()||!se())return;const e=String(a().id);Oe!==e&&(Oe=e,we=new Set);for(const c of new Set([...t(wt).slice(0,6),...re(),...t(De)]))we.has(c)||(W.dispatch(ua(e,c)),we.add(c))});function bt(e){return[e.name,e.context,e.questionMeta?.accessible,e.updated.accessible].filter(Boolean).join(". ")}function kt(e){return e?e.kind==="attention"?e.attention.reason?.trim()||null:"text"in e&&e.text.trim()||null:null}function ht(e){return La(e.lastActivity||e.updatedAt||e.createdAt)??{compact:"—",accessible:o.workspace_hoverCard_noRecentActivity_label()}}function yt(e){const c=String(e.status).toLowerCase(),l=va(e),h=na(e),E=h==="question"?ia(e):null,I=kt(aa.select(W.state,String(e.id)));let P,z,q,A,D,J,j=!1;if(h==="question"){P="attention",z="question",q=E?.questions[0]?.question.trim()||I||o.workspace_hoverCard_question_label(),A="question",D=1;const de=E?.questions.length??0;de>1&&(J={compact:`${B(1)}/${B(de)}`,accessible:o.chat_questionWizard_stepCounter_label({current:1,total:de})})}else if(h==="attention-discussion")P="attention",z="discussion",q=l?.reason?.trim()||o.chat_agentCard_attentionDiscussion_label(),A="attention-discussion",D=1;else if(h==="attention-blocker"||c==="blocked")P="attention",z="blocker",q=l?.reason?.trim()||o.chat_agentCard_attentionBlocker_label(),A="attention-blocker",D=0;else if(e.hasUnread)P="attention",z="unread",q=I||o.chat_newMessagesDivider_label(),j=!!I,A="unread",D=2;else if(e.isStreaming||e.isProcessing||re().includes(String(e.id))||t(De).includes(String(e.id))||["active","busy","processing","responding","running","streaming","in_progress"].includes(c))P="active",q=I||o.workspace_devScripts_running_label(),j=!!I,A=e.isProcessing?"responding":"running",D=3;else if(["waiting","pending","queued","starting"].includes(c))P="waiting",q=I||o.workspace_taskStatus_waiting_label(),j=!!I,A="waiting",D=4;else return null;const ye=e.agentMetadata??e.metadata;return{id:String(e.id),name:e.name?.trim()||o.workspace_fileChanges_agent_label(),group:P,attentionKind:z,avatarState:A,specialist:ye?.specialist,context:q,questionMeta:J,contextIsPreview:j,updated:ht(e),priority:D}}let xt=k(()=>{const e=a()?.agentSummary,c=new Map;if(Array.isArray(e?.agents))for(const l of e.agents)l&&typeof l=="object"&&typeof l.id=="string"&&c.set(l.id,l.parentAgentId);return b().filter(l=>{const h=c.get(String(l.id));return!(pa(l)!=="topLevel"||typeof h=="string"&&h||l.pendingDeleteAt||l.retiredAt||String(l.status).toLowerCase()==="deleted")})}),be=k(()=>t(xt).map(yt).filter(e=>e!==null).sort((e,c)=>e.priority-c.priority)),St=k(()=>t(be).slice(0,6)),Ee=k(()=>Math.max(0,t(be).length-6)),At=k(()=>a()?.repositoryName?a().repositoryOwner?`${a().repositoryOwner} / ${a().repositoryName}`:a().repositoryName:o.workspace_hoverCard_localRepository_label()),Le=k(()=>Da(a()??{})),Ct=k(()=>pt(t(Le))),ke=k(()=>a()?.statusMessage?.trim()||"");function $e(e){if(!e)return null;const c=e.activePullRequest??e.pullRequests?.[0]??null;return c||(e.prStatus?{id:`legacy-pr-${e.prNumber??"workspace"}`,number:e.prNumber??0,url:e.prUrl??"",title:o.workspace_hoverCard_pullRequest_label(),status:e.prStatus,createdAt:e.updatedAt,updatedAt:e.updatedAt}:null)}let Rt=k(()=>a()?_()?$e(a()):ra.select(W.state,a().id)??$e(a()):null),Q=k(()=>{if(!a()||ta(a()))return[];const e=a().repositoryOwner&&a().repositoryName?`${a().repositoryOwner}/${a().repositoryName}`:void 0;return Ma({workspacePRs:a().pullRequests,activePR:t(Rt),monitors:m(),workspaceRepo:e,buildPrUrl:(c,l)=>qa(c,a().repositoryOwner,a().repositoryName,l),getDisplayTitle:c=>c.title})}),It=k(()=>t(Q).slice(0,3)),Ke=k(()=>Math.max(0,t(Q).length-3)),He=k(()=>t(be).length>0),Be=k(()=>t(Q).length>0),ze=k(()=>t(He)||t(Be));function je(e){const c=e.resource?.repository.provider==="gitlab"?`${e.repo} !${e.number}`:e.repo?o.workspace_card_prBadge_repoLine_tooltip({repo:e.repo,number:e.number}):o.workspace_card_prBadge_label({number:` #${e.number}`});return[sa(c,e),e.title,e.details].filter(Boolean).join(`
|
|
3
|
-
`)}function Pt(e,c){if(e.stopPropagation(),!a()||!se())return;const l=a().id;Pa.select(W.state)!==l&&ka(l).catch(h=>{i.warn("Failed to switch workspace for hover-card agent",{agentId:c,error:h})}),W.dispatch(ma(l,{agentId:c}))}function qt(e,c){if(e.stopPropagation(),!a()||!c.url)return;const l=a().id;Ut(async()=>{const{handleLink:h}=await import("./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/BK0IkwFP.js","/app/immutable/chunks/YLhFQnIu.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/D5wnbxHp.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BUsnh1ZW.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/CrpUtGFn.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/D-aEx3GL.js","/app/immutable/chunks/BJbm_MWC.js","/app/immutable/chunks/gwv5JQYH.js","/app/immutable/chunks/DwGyIIXK.js","/app/immutable/chunks/YeOAvjnW.js","/app/immutable/chunks/BQhBnAuP.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/oBIu7LTI.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/DJivXy66.js","/app/immutable/chunks/CTowDLQa.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/_3Ca9E4W.js","/app/immutable/chunks/DIEHuZ8f.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DQ8CqY9L.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/mUNs8NSR.js","/app/immutable/chunks/L3K71tUU.js","/app/immutable/chunks/Bq7euxCs.js","/app/immutable/chunks/COVS9Crf.js","/app/immutable/chunks/Idk978zJ.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/CZB2ndi9.js","/app/immutable/chunks/Cw2fqKk9.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/CBbdbU2x.js","/app/immutable/chunks/D48_y-cl.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/FLpsgWeB.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bm as o,t as st,bo as K,bw as nt,b as ot,bq as Ft,bs as Fe,_ as Ut}from"./YLhFQnIu.js";import{bs as it,a5 as f,aD as t,bA as v,b_ as T,W as y,bn as ct,c9 as k,aA as H,aB as S,ca as Ue,bk as Vt,c6 as Yt,cd as Pe,bV as Gt,bS as g,ay as ge,bl as M,bO as N}from"./3SdAC2_C.js";import{i as $}from"./YeOAvjnW.js";import{e as Ve,g as Ye}from"./oBIu7LTI.js";import{c as Qt,e as Jt,f as lt,g as Xt,s as x}from"./BQhBnAuP.js";import{a_ as Zt,da as ea,X as ta,aI as aa,dD as ra,a3 as sa,dH as dt}from"./BJbm_MWC.js";import{t as Ge}from"./DAsc1V4f.js";import{b as na,A as oa}from"./CfaCrhAh.js";import{p as Qe}from"./Bmm_g7di.js";import{aM as ia,aJ as ca,aK as Je,a0 as la}from"./mUNs8NSR.js";import{S as le}from"./ItBm4ElA.js";import"./DJivXy66.js";import{f as Xe}from"./Cw2fqKk9.js";import{l as B,n as da}from"./DIEHuZ8f.js";import{sc as ut,Jx as W,mP as ua,fV as pa,nL as va,v0 as ma,c as _a,wD as ga,tF as fa,rV as wa}from"./D5wnbxHp.js";import{c as ba}from"./ChTqQfQN.js";import{o as ka}from"./BlAMrm5X.js";import{aR as ha,aS as Ze,bC as ya,aB as xa,bB as Sa,aG as Aa,d3 as Ca,cT as Ra,F as fe,ay as et,bK as Ia}from"./gwv5JQYH.js";import{selectCurrentWorkspaceTabId as Pa}from"./L3K71tUU.js";import{p as qa}from"./ByBw1QkA.js";import{i as Ma}from"./CHApvLbz.js";const Na=new Set(["failed","blocked","needs_attention","in_progress"]),Wa={failed:{visual:"icon",icon:Ra,className:"text-foreground"},blocked:{visual:"icon",icon:Ca,className:"text-danger"},needs_attention:{visual:"icon",icon:Aa,className:"text-warning-ink"},in_progress:{visual:"dot",icon:null,className:"workspace-status-color-active"},waiting:{visual:"icon",icon:Sa,className:"text-muted-foreground"},unread:{visual:"dot",icon:null,className:"workspace-status-color-unread"},not_started:{visual:"dot",icon:null,className:"text-muted-foreground/35"},idle:{visual:"dot",icon:null,className:"text-muted-foreground/35"},complete:{visual:"icon",icon:xa,className:"text-success"},pr_queued:{visual:"icon",icon:ya,className:"text-info"},pr_ready:{visual:"icon",icon:Ze,className:"text-success"},pr_open:{visual:"icon",icon:Ze,className:"text-info"},pr_merged:{visual:"icon",icon:ha,className:"text-purple-500"}};function Ta(r){switch(r){case"failed":return o.workspace_statusIcon_failed_label();case"blocked":return o.workspace_statusIcon_blocked_label();case"needs_attention":return o.workspace_statusIcon_needsAttention_label();case"in_progress":return o.workspace_statusIcon_inProgress_label();case"waiting":return o.workspace_taskStatus_waiting_label();case"unread":return o.layout_activeCard_unread_header();case"not_started":return o.workspace_statusIcon_notStarted_label();case"idle":return o.workspace_statusIcon_idle_label();case"complete":return o.workspace_statusIcon_complete_label();case"pr_queued":return o.workspace_statusIcon_prQueued_label();case"pr_ready":return o.workspace_statusIcon_prReady_label();case"pr_open":return o.workspace_statusIcon_prOpen_label();case"pr_merged":return o.workspace_statusIcon_prMerged_label()}}function Da(r){const n=ut(r.displayStatus)?r.displayStatus:"not_started";return Na.has(n)?n:r.attention==="unread"?"unread":r.waiting===!0?"waiting":n}function pt(r){const n=r==="waiting"||r==="unread"||ut(r)?r:"not_started",b=Ta(n);return{state:n,...Wa[n],label:b,tooltip:b,accessibleName:b}}var Oa=S('<span class="workspace-status-dot svelte-14zk5l0" data-workspace-status-dot=""></span>'),Ea=S("<span><!></span>");function vt(r,n){if(new.target)return st({component:vt,...r});it(n,!0);let b=K(n,"status",7),m=K(n,"size",7,14),w=K(n,"decorative",7,!1),u=K(n,"class",7);const i=k(()=>pt(b()));var a={get status(){return b()},set status(_){b(_),H()},get size(){return m()},set size(_=14){m(_),H()},get decorative(){return w()},set decorative(_=!1){w(_),H()},get class(){return u()},set class(_){u(_),H()},$set:nt,$on:(_,G)=>ot(n,_,G)},p=Ea(),re=f(p);{var se=_=>{var G=Oa();y(_,G)},ne=_=>{fe(_,{get icon(){return t(i).icon},class:"size-full!"})};$(re,_=>{t(i).visual==="dot"?_(se):t(i).icon&&_(ne,1)})}return v(p),T(_=>{lt(p,1,_,"svelte-14zk5l0"),Xt(p,`width: ${m()??""}px; height: ${m()??""}px;`),x(p,"role",w()?void 0:"img"),x(p,"aria-label",w()?void 0:t(i).accessibleName),x(p,"aria-hidden",w()?"true":void 0),x(p,"title",w()?void 0:t(i).tooltip),x(p,"data-workspace-status",t(i).state),x(p,"data-workspace-status-visual",t(i).visual),x(p,"data-workspace-status-icon",t(i).icon?.iconName)},[()=>Qt(Jt("workspace-status-icon inline-flex shrink-0 items-center justify-center forced-colors:text-[CanvasText]",t(i).className,u()))]),y(r,p),ct(a)}const Me=6e4,Ne=60*Me,We=24*Ne,tt=30*We;function La(r,n=new Date){if(r==null)return null;const b=r instanceof Date?r:new Date(r),m=b.getTime(),w=n.getTime();if(!Number.isFinite(m)||!Number.isFinite(w))return null;const u=Math.max(0,w-m);let i;u<Me?i="<1m":u<Ne?i=`${B(Math.floor(u/Me))}m`:u<We?i=`${B(Math.floor(u/Ne))}h`:u<tt?i=`${B(Math.floor(u/We))}d`:i=`${B(Math.floor(u/tt))}mo`;const a=m>w?n:b,p=da(a,{now:n});return p?{compact:i,accessible:p,dateTime:b.toISOString()}:null}var $a=S('<div><div class="grid gap-0.5 px-5 pt-4"><div class="flex min-w-0 items-center justify-between gap-3"><!> <!></div> <!> <!></div> <div class="my-3 border-t border-border" data-workspace-hover-card-divider=""></div> <div class="body-grid grid min-w-0 grid-cols-1 items-stretch gap-3 px-5 pb-4" data-workspace-hover-card-columns=""><div class="grid" data-workspace-hover-card-activity=""><!></div> <div class="pull-requests grid" data-workspace-hover-card-pr-column=""><!></div></div></div>'),Ka=S('<p class="type-caption mt-1 min-w-0 line-clamp-3 text-muted-foreground" data-workspace-hover-card-summary=""> </p>'),Ha=S('<span class="shrink-0 text-muted-foreground" data-workspace-hover-card-question-meta=""><span aria-hidden="true"> </span></span>'),Ba=S('<span class="row-span-2 flex h-(--text-caption-line-height) items-center" aria-hidden="true"><!></span><span class="type-caption min-w-0 truncate text-foreground" data-workspace-hover-card-agent-name=""> </span><time class="type-caption whitespace-nowrap text-muted-foreground" data-workspace-hover-card-agent-time=""> </time> <span class="agent-detail type-caption flex min-w-0 items-start gap-1.5 text-muted-foreground svelte-1vax087" data-workspace-hover-card-agent-detail=""><span class="min-w-0 truncate" data-workspace-hover-card-agent-context=""> </span><!></span>',1),at=S('<div role="listitem"><!></div>'),za=S('<div class="type-caption mt-3 flex items-center justify-between text-muted-foreground" data-workspace-hover-card-overflow=""><span> </span> <!></div>'),ja=S('<section class="activity min-w-0" data-workspace-hover-card-activity="" data-workspace-hover-card-agent-table=""><div class="-mx-2 grid gap-2" role="list"></div> <!></section>'),Fa=S('<!> <span class="type-caption min-w-0 truncate text-foreground" data-workspace-hover-card-pr-title=""> </span> <span class="type-caption shrink-0 text-muted-foreground" data-workspace-hover-card-pr-status=""> </span> <span class="type-caption shrink-0 text-muted-foreground" data-workspace-hover-card-pr-number=""> </span>',1),Ua=S('<div class="grid w-full min-w-0 grid-cols-[1rem_minmax(0,1fr)_auto_auto] items-center gap-x-2 rounded-sm px-2 py-0 text-left" data-workspace-hover-card-pr-row=""><!></div>'),Va=S('<div class="type-caption mt-3 flex items-center justify-between text-muted-foreground" data-workspace-hover-card-pr-overflow=""><span> </span> <!></div>'),Ya=S('<section class="pull-requests min-w-0" data-workspace-hover-card-pr-column=""><div class="-mx-2 grid min-w-0 gap-2" role="list" data-workspace-hover-card-pr-list=""></div> <!></section>'),Ga=S('<div class="my-3 border-t border-border" data-workspace-hover-card-divider=""></div> <div class="body-grid grid min-w-0 grid-cols-1 items-stretch gap-3 px-5 pb-4" data-workspace-hover-card-columns=""><!> <!></div>',1),Qa=S('<header data-workspace-hover-card-header=""><div class="min-w-0" data-workspace-hover-card-identity=""><div class="flex min-w-0 items-center justify-between gap-3"><h2 class="type-body min-w-0 truncate font-medium text-foreground" data-workspace-hover-card-title=""> </h2> <span class="type-caption flex shrink-0 items-center gap-1.5 text-muted-foreground" data-workspace-hover-card-status=""><span class="truncate" data-workspace-hover-card-status-label=""> </span><!></span></div> <div class="type-caption mt-0.5 min-w-0 truncate text-muted-foreground" data-workspace-hover-card-repo=""> </div> <!></div></header> <!>',1),Ja=S('<section class="workspace-hover-card shrink-0 overflow-hidden rounded-md bg-background text-left text-foreground shadow-(--elevation-overlay) ring-1 ring-border svelte-1vax087" data-workspace-hover-card="" data-workspace-hover-card-layout="landscape"><!></section>');function Xa(r,n){if(new.target)return st({component:Xa,...r});it(n,!0);const b=()=>Fe(gt,"$workspaceAgents$",w),m=()=>Fe(ft,"$prMonitors$",w),[w,u]=Ft(),i=ba("WorkspaceHoverCard");let a=K(n,"workspace",7),p=K(n,"isLoading",7,!1),re=K(n,"activeAgentIds",23,()=>[]),se=K(n,"loadAgentSessions",7,!0),ne=K(n,"onkeydown",7),_=K(n,"staticData",7,!1);const G=Pe("");function mt(){return _()?Pe([]):Zt(G)}function _t(){return _()?Pe([]):ea(G)}const gt=mt(),ft=_t();Ue(()=>G.set(a()?.id??""));let Te=Gt(0);Vt(()=>Qe.subscribe(()=>Yt(Te)));let wt=k(()=>a()?.agentSummary?.agentIds??[]),De=k(()=>(t(Te),a()?Qe.getStreamingAgentIdsForWorkspace(a().id):[])),Oe=null,we=new Set;Ue(()=>{if(!a()||!se())return;const e=String(a().id);Oe!==e&&(Oe=e,we=new Set);for(const c of new Set([...t(wt).slice(0,6),...re(),...t(De)]))we.has(c)||(W.dispatch(ua(e,c)),we.add(c))});function bt(e){return[e.name,e.context,e.questionMeta?.accessible,e.updated.accessible].filter(Boolean).join(". ")}function kt(e){return e?e.kind==="attention"?e.attention.reason?.trim()||null:"text"in e&&e.text.trim()||null:null}function ht(e){return La(e.lastActivity||e.updatedAt||e.createdAt)??{compact:"—",accessible:o.workspace_hoverCard_noRecentActivity_label()}}function yt(e){const c=String(e.status).toLowerCase(),l=va(e),h=na(e),E=h==="question"?ia(e):null,I=kt(aa.select(W.state,String(e.id)));let P,z,q,A,D,J,j=!1;if(h==="question"){P="attention",z="question",q=E?.questions[0]?.question.trim()||I||o.workspace_hoverCard_question_label(),A="question",D=1;const de=E?.questions.length??0;de>1&&(J={compact:`${B(1)}/${B(de)}`,accessible:o.chat_questionWizard_stepCounter_label({current:1,total:de})})}else if(h==="attention-discussion")P="attention",z="discussion",q=l?.reason?.trim()||o.chat_agentCard_attentionDiscussion_label(),A="attention-discussion",D=1;else if(h==="attention-blocker"||c==="blocked")P="attention",z="blocker",q=l?.reason?.trim()||o.chat_agentCard_attentionBlocker_label(),A="attention-blocker",D=0;else if(e.hasUnread)P="attention",z="unread",q=I||o.chat_newMessagesDivider_label(),j=!!I,A="unread",D=2;else if(e.isStreaming||e.isProcessing||re().includes(String(e.id))||t(De).includes(String(e.id))||["active","busy","processing","responding","running","streaming","in_progress"].includes(c))P="active",q=I||o.workspace_devScripts_running_label(),j=!!I,A=e.isProcessing?"responding":"running",D=3;else if(["waiting","pending","queued","starting"].includes(c))P="waiting",q=I||o.workspace_taskStatus_waiting_label(),j=!!I,A="waiting",D=4;else return null;const ye=e.agentMetadata??e.metadata;return{id:String(e.id),name:e.name?.trim()||o.workspace_fileChanges_agent_label(),group:P,attentionKind:z,avatarState:A,specialist:ye?.specialist,context:q,questionMeta:J,contextIsPreview:j,updated:ht(e),priority:D}}let xt=k(()=>{const e=a()?.agentSummary,c=new Map;if(Array.isArray(e?.agents))for(const l of e.agents)l&&typeof l=="object"&&typeof l.id=="string"&&c.set(l.id,l.parentAgentId);return b().filter(l=>{const h=c.get(String(l.id));return!(pa(l)!=="topLevel"||typeof h=="string"&&h||l.pendingDeleteAt||l.retiredAt||String(l.status).toLowerCase()==="deleted")})}),be=k(()=>t(xt).map(yt).filter(e=>e!==null).sort((e,c)=>e.priority-c.priority)),St=k(()=>t(be).slice(0,6)),Ee=k(()=>Math.max(0,t(be).length-6)),At=k(()=>a()?.repositoryName?a().repositoryOwner?`${a().repositoryOwner} / ${a().repositoryName}`:a().repositoryName:o.workspace_hoverCard_localRepository_label()),Le=k(()=>Da(a()??{})),Ct=k(()=>pt(t(Le))),ke=k(()=>a()?.statusMessage?.trim()||"");function $e(e){if(!e)return null;const c=e.activePullRequest??e.pullRequests?.[0]??null;return c||(e.prStatus?{id:`legacy-pr-${e.prNumber??"workspace"}`,number:e.prNumber??0,url:e.prUrl??"",title:o.workspace_hoverCard_pullRequest_label(),status:e.prStatus,createdAt:e.updatedAt,updatedAt:e.updatedAt}:null)}let Rt=k(()=>a()?_()?$e(a()):ra.select(W.state,a().id)??$e(a()):null),Q=k(()=>{if(!a()||ta(a()))return[];const e=a().repositoryOwner&&a().repositoryName?`${a().repositoryOwner}/${a().repositoryName}`:void 0;return Ma({workspacePRs:a().pullRequests,activePR:t(Rt),monitors:m(),workspaceRepo:e,buildPrUrl:(c,l)=>qa(c,a().repositoryOwner,a().repositoryName,l),getDisplayTitle:c=>c.title})}),It=k(()=>t(Q).slice(0,3)),Ke=k(()=>Math.max(0,t(Q).length-3)),He=k(()=>t(be).length>0),Be=k(()=>t(Q).length>0),ze=k(()=>t(He)||t(Be));function je(e){const c=e.resource?.repository.provider==="gitlab"?`${e.repo} !${e.number}`:e.repo?o.workspace_card_prBadge_repoLine_tooltip({repo:e.repo,number:e.number}):o.workspace_card_prBadge_label({number:` #${e.number}`});return[sa(c,e),e.title,e.details].filter(Boolean).join(`
|
|
3
|
+
`)}function Pt(e,c){if(e.stopPropagation(),!a()||!se())return;const l=a().id;Pa.select(W.state)!==l&&ka(l).catch(h=>{i.warn("Failed to switch workspace for hover-card agent",{agentId:c,error:h})}),W.dispatch(ma(l,{agentId:c}))}function qt(e,c){if(e.stopPropagation(),!a()||!c.url)return;const l=a().id;Ut(async()=>{const{handleLink:h}=await import("./BK0IkwFP.js").then(E=>E.l);return{handleLink:h}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46]),import.meta.url).then(({handleLink:h})=>h(c.url,{workspaceId:l,event:e}))}var Mt={get workspace(){return a()},set workspace(e){a(e),H()},get isLoading(){return p()},set isLoading(e=!1){p(e),H()},get activeAgentIds(){return re()},set activeAgentIds(e=[]){re(e),H()},get loadAgentSessions(){return se()},set loadAgentSessions(e=!0){se(e),H()},get onkeydown(){return ne()},set onkeydown(e){ne(e),H()},get staticData(){return _()},set staticData(e=!1){_(e),H()},$set:nt,$on:(e,c)=>ot(n,e,c)},he=Ja(),Nt=f(he);{var Wt=e=>{var c=$a(),l=f(c),h=f(l),E=f(h);le(E,{class:"h-7 min-w-0 max-w-64 flex-1"});var I=g(E,2);le(I,{class:"h-5 w-20 shrink-0"}),v(h);var P=g(h,2);le(P,{class:"h-4 w-40"});var z=g(P,2);le(z,{class:"mt-2 h-10 w-full"}),v(l);var q=g(l,4),A=f(q),D=f(A);le(D,{class:"h-10 w-full"}),v(A);var J=g(A,2),j=f(J);le(j,{class:"h-10 w-full"}),v(J),v(q),v(c),y(e,c)},Tt=e=>{var c=Qa(),l=ge(c);let h;var E=f(l),I=f(E),P=f(I),z=M(P,!0),q=g(P,2),A=f(q),D=M(A,!0),J=g(A);vt(J,{get status(){return t(Le)},size:16,decorative:!0}),v(q),v(I);var j=g(I,2),ye=M(j,!0),de=g(j,2);{var Ot=F=>{var oe=Ka(),me=M(oe,!0);Ve(oe,(_e,xe)=>Ge?.(_e,xe),()=>t(ke)),T(()=>N(me,t(ke))),y(F,oe)};$(de,F=>{t(ke)&&F(Ot)})}v(E),v(l);var Et=g(l,2);{var Lt=F=>{var oe=Ga(),me=g(ge(oe),2),_e=f(me);{var xe=X=>{var U=ja(),Y=f(U);Ye(Y,21,()=>t(St),d=>d.id,(d,s)=>{var C=at(),Z=f(C);{let ee=k(()=>bt(t(s)));Xe(Z,{variant:"plain",wrapContent:!1,class:"grid h-auto! min-h-8 w-full min-w-0 cursor-pointer grid-cols-[1rem_minmax(0,1fr)_auto] items-start justify-normal gap-x-2 gap-y-0 whitespace-normal rounded-sm border-0! px-2! py-0! text-left font-normal transition-colors hover:bg-muted/50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",get"aria-label"(){return t(ee)},"data-workspace-hover-card-agent-row":!0,get"data-agent-group-row"(){return t(s).group},get"data-attention-kind"(){return t(s).attentionKind},get onkeydown(){return ne()},onclick:V=>Pt(V,t(s).id),children:(V,ue)=>{var O=Ba(),R=ge(O),L=f(R);{let ae=k(()=>t(s).specialist??null);oa(L,{get agentId(){return t(s).id},variant:"compact",get state(){return t(s).avatarState},get specialist(){return t(ae)}})}v(R);var ie=g(R),Ce=M(ie,!0),te=g(ie),Re=M(te,!0),pe=g(te,2),ve=f(pe),Ie=M(ve,!0);Ve(ve,(ae,ce)=>Ge?.(ae,ce),()=>t(s).context);var Ht=g(ve);{var Bt=ae=>{var ce=Ha(),zt=f(ce),jt=M(zt,!0);v(ce),T(()=>{x(ce,"aria-label",t(s).questionMeta.accessible),N(jt,t(s).questionMeta.compact)}),y(ae,ce)};$(Ht,ae=>{t(s).questionMeta&&ae(Bt)})}v(pe),T(()=>{N(Ce,t(s).name),x(te,"datetime",t(s).updated.dateTime),x(te,"aria-label",t(s).updated.accessible),N(Re,t(s).updated.compact),x(pe,"data-workspace-hover-card-agent-preview",t(s).contextIsPreview||void 0),N(Ie,t(s).context)}),y(V,O)},$$slots:{default:!0}})}v(C),y(d,C)}),v(Y);var Se=g(Y,2);{var Ae=d=>{var s=za(),C=f(s),Z=M(C,!0),ee=g(C,2);fe(ee,{get icon(){return et},size:10}),v(s),T(V=>N(Z,V),[()=>o.workspace_hoverCard_moreAgents_label({count:B(t(Ee))})]),y(d,s)};$(Se,d=>{t(Ee)&&d(Ae)})}v(U),T(d=>x(U,"aria-label",d),[()=>o.workspace_multiSelectSidebar_agentsTab_label()]),y(X,U)};$(_e,X=>{t(He)&&X(xe)})}var $t=g(_e,2);{var Kt=X=>{var U=Ya(),Y=f(U);Ye(Y,21,()=>t(It),d=>d.identity,(d,s)=>{var C=at();{const ue=O=>{var R=Fa(),L=ge(R);fe(L,{get icon(){return t(s).statusIcon},size:16,get class(){return`shrink-0 justify-self-start ${t(s).foregroundClass??""}`}});var ie=g(L,2),Ce=M(ie,!0),te=g(ie,2),Re=M(te,!0),pe=g(te,2),ve=M(pe,!0);T(Ie=>{N(Ce,Ie),N(Re,t(s).accessibleStateLabel),N(ve,t(s).numberLabel??`#${t(s).number}`)},[()=>t(s).title||(t(s).resource?.repository.provider==="gitlab"?o.workspace_hoverCard_mergeRequest_label():o.workspace_hoverCard_pullRequest_label())]),y(O,R)};var Z=f(C);{var ee=O=>{{let R=k(()=>je(t(s)));Xe(O,{variant:"plain",wrapContent:!1,class:"grid h-auto! w-full min-w-0 grid-cols-[1rem_minmax(0,1fr)_auto_auto] items-center justify-normal gap-x-2 whitespace-normal rounded-sm border-0! px-2! py-0! text-left font-normal transition-colors hover:bg-muted/50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",get"aria-label"(){return t(R)},"data-workspace-hover-card-pr-row":!0,get"data-pr-identity"(){return t(s).identity},get"data-pr-status"(){return t(s).status},get onkeydown(){return ne()},onclick:L=>qt(L,t(s)),children:(L,ie)=>{ue(L)},$$slots:{default:!0}})}},V=O=>{var R=Ua(),L=f(R);ue(L),v(R),T(()=>{x(R,"data-pr-identity",t(s).identity),x(R,"data-pr-status",t(s).status)}),y(O,R)};$(Z,O=>{t(s).url?O(ee):O(V,-1)})}v(C)}T(ue=>x(C,"aria-label",ue),[()=>t(s).url?void 0:je(t(s))]),y(d,C)}),v(Y);var Se=g(Y,2);{var Ae=d=>{var s=Va(),C=f(s),Z=M(C,!0),ee=g(C,2);fe(ee,{get icon(){return et},size:10}),v(s),T(V=>N(Z,V),[()=>o.workspace_hoverCard_moreItems_label({count:B(t(Ke))})]),y(d,s)};$(Se,d=>{t(Ke)&&d(Ae)})}v(U),T((d,s)=>{x(U,"aria-label",d),x(Y,"aria-label",s)},[()=>t(Q).every(d=>d.resource?.repository.provider==="gitlab")?o.workspace_hoverCard_mergeRequests_label():t(Q).some(d=>d.resource?.repository.provider==="gitlab")?o.workspace_hoverCard_reviews_label():o.workspace_hoverCard_pullRequests_label(),()=>t(Q).every(d=>d.resource?.repository.provider==="gitlab")?o.workspace_hoverCard_mergeRequests_label():t(Q).some(d=>d.resource?.repository.provider==="gitlab")?o.workspace_hoverCard_reviews_label():o.workspace_hoverCard_pullRequests_label()]),y(X,U)};$($t,X=>{t(Be)&&X(Kt)})}v(me),y(F,oe)};$(Et,F=>{t(ze)&&F(Lt)})}T(F=>{h=lt(l,1,"min-w-0 px-5 pt-4",null,h,{"pb-4":!t(ze)}),N(z,F),N(D,t(Ct).label),N(ye,t(At))},[()=>a().title||o.workspace_links_untitled_label()]),y(e,c)};$(Nt,e=>{p()||!a()?e(Wt):e(Tt,-1)})}v(he),y(r,he);var Dt=ct(Mt);return u(),Dt}const rt=800,xr=175,Za=300;function er(){let r=0,n=null;const b=new Set,m=new Set;function w(){return r>0||n!==null?0:rt}function u(){const a=w();b.forEach(p=>p(a))}function i(){n!==null&&(clearTimeout(n),n=null)}return{get currentOpenDelay(){return w()},subscribe(a){return b.add(a),a(w()),()=>b.delete(a)},notifyOpened(){const a=r===0&&n===null;i(),r+=1,a&&u()},notifyClosed(){r!==0&&(r-=1,!(r>0)&&(i(),n=setTimeout(()=>{n=null,u()},Za)))},deferClose(a){return m.add(a),()=>m.delete(a)},settleDeferredCloses(){const a=[...m];m.clear(),a.forEach(p=>p())},reset(){const a=w()!==rt;i(),r=0,m.clear(),a&&u()}}}const Sr=er();function qe(r){const n=dt.select(W.state,r);return n!==void 0&&wa(n)}function tr(r,n){if(!qe(r))return[];const b=ca.select(W.state,r),m=Je.select(W.state,r),w=la.select(W.state),u=[];for(let i=0;i<_a;i+=1){const a=w[i],p=a&&a!==r?dt.select(W.state,a):void 0;u.push({id:`assign-micro-key-${i+1}`,label:p?o.workspace_card_assignOccupiedMicroKey_label({number:B(i+1),title:p.title}):o.workspace_card_assignMicroKeyNumber_label({number:B(i+1)}),checked:b===i,closeOnSelect:!0,onClick:()=>{qe(r)&&W.dispatch(ga(i,r)),n()}})}return m!==null&&(u.push({type:"separator"}),u.push({id:"unassign-micro-key",label:o.workspace_card_unassignMicroKey_label(),onClick:()=>{qe(r)&&Je.select(W.state,r)===m&&W.dispatch(fa(m)),n()}})),u}function Ar(r,{connected:n,onClose:b}){if(!n)return[];const m=tr(r,b);if(m.length===0)return[];const w=m.filter(i=>"id"in i&&i.id!=="unassign-micro-key"),u=m.find(i=>"id"in i&&i.id==="unassign-micro-key");return[{id:"assign-micro-key",label:o.workspace_card_assignMicroKey_label(),icon:Ia,onClick:()=>{},selection:"single",submenu:w},...u?[u]:[]]}export{xr as W,rt as a,Xa as b,vt as c,tr as d,Ar as e,pt as g,Da as r,Sr as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as T,bo as r,bw as W,bq as x,b as $,bs as B}from"./
|
|
1
|
+
import{t as T,bo as r,bw as W,bq as x,b as $,bs as B}from"./YLhFQnIu.js";import{bs as C,cd as H,ca as S,a7 as u,ay as f,W as k,bn as q,aA as o}from"./3SdAC2_C.js";import{i as D}from"./YeOAvjnW.js";import{k as J}from"./CBbdbU2x.js";import{a as L}from"./Blt813S0.js";import{dH as j}from"./BJbm_MWC.js";import{Jx as z,h0 as E}from"./D5wnbxHp.js";function F(i,t){if(new.target)return T({component:F,...i});C(t,!0);const d=()=>B(v,"$workspace$",b),[b,w]=x();let c=r(t,"tab",7),a=r(t,"workspaceId",7),n=r(t,"layoutId",7),p=r(t,"isActive",7);const m=H(a());S(()=>m.set(a()));const v=j(m);var _={get tab(){return c()},set tab(e){c(e),o()},get workspaceId(){return a()},set workspaceId(e){a(e),o()},get layoutId(){return n()},set layoutId(e){n(e),o()},get isActive(){return p()},set isActive(e){p(e),o()},$set:W,$on:(e,s)=>$(t,e,s)},l=u(),g=f(l);{var y=e=>{var s=u(),h=f(s);J(h,a,A=>{L(A,{get workspace(){return d()},showBackToList:!1,onclose:()=>z.dispatch(E(n()??a(),c().id))})}),k(e,s)};D(g,e=>{p()&&d()&&e(y)})}k(i,l);var I=q(_);return w(),I}export{F as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o$ as o}from"./D5wnbxHp.js";import{aO as r}from"./BJbm_MWC.js";function c(n,e){if(!e)return!0;const t=r.select(n,e);return!!t&&!o(t)}export{c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as ke,bo as r,bm as u,bw as Be,b as Me}from"./
|
|
1
|
+
import{t as ke,bo as r,bm as u,bw as Be,b as Me}from"./YLhFQnIu.js";import{bs as We,ca as Ie,a5 as oe,bS as b,aD as s,bA as ce,b_ as ve,W as me,bn as Ne,c9 as d,aA as a,bl as Pe,bO as ze,aB as pe}from"./3SdAC2_C.js";import{i as Qe}from"./YeOAvjnW.js";import{c as E,e as y,s as Ae,f as K}from"./BQhBnAuP.js";import{F as D,cs as Oe,az as Ve,aw as qe,d3 as Ue}from"./gwv5JQYH.js";import{f as de}from"./Cw2fqKk9.js";import"./DJivXy66.js";import{I as Xe}from"./DkERMj5B.js";import"./kvtKUeBe.js";var je=pe("<span> </span>"),Ge=pe('<div role="search"><div><!> <!> <!></div> <div><!> <!> <!></div></div>');function He(ge,t){if(new.target)return ke({component:He,...ge});We(t,!0);let i=r(t,"query",15,""),c=r(t,"inputRef",15,null),R=r(t,"placeholder",23,()=>u.ui_panelFindBar_find_placeholder()),g=r(t,"disabled",7,!1),x=r(t,"inputDisabled",7,!1),k=r(t,"navigationDisabled",7,!1),_=r(t,"closeDisabled",7,!1),B=r(t,"disableNavigationWhenNoMatches",7,!0),M=r(t,"autofocus",7,!1),W=r(t,"selectOnFocus",7,!0),I=r(t,"focusTrigger",7),N=r(t,"currentMatchIndex",7,0),o=r(t,"totalMatches",7),v=r(t,"resultText",7,void 0),P=r(t,"emptyResultText",23,()=>u.ui_panelFindBar_noMatches_label()),z=r(t,"showResultText",7,!0),Q=r(t,"showResultWhenQueryEmpty",7,!1),A=r(t,"resultFormat",7,"slash"),O=r(t,"resultVariant",7,void 0),m=r(t,"searchAriaLabel",23,()=>u.ui_panelFindBar_search_ariaLabel()),p=r(t,"previousLabel",23,()=>u.ui_panelFindBar_previous_label()),V=r(t,"previousShortcutLabel",7,"Shift+Enter"),q=r(t,"previousKeyShortcuts",7,"Shift+Enter"),U=r(t,"previousTitle",7,void 0),S=r(t,"nextLabel",23,()=>u.ui_panelFindBar_next_label()),X=r(t,"nextShortcutLabel",7,"Enter"),j=r(t,"nextKeyShortcuts",7,"Enter"),G=r(t,"nextTitle",7,void 0),L=r(t,"closeLabel",23,()=>u.ui_panelFindBar_close_label()),H=r(t,"closeShortcutLabel",7,"Esc"),J=r(t,"closeKeyShortcuts",7,"Escape"),Y=r(t,"closeTitle",7,void 0),Z=r(t,"layout",7,"floating"),$=r(t,"class",7),ee=r(t,"inputWrapperClass",7),te=r(t,"inputClass",7),re=r(t,"actionsClass",7),T=r(t,"onPrevious",7),F=r(t,"onNext",7),h=r(t,"onClose",7),ae=r(t,"onQueryChange",7),ne=r(t,"onInput",7),se=r(t,"onKeydown",7);const w=d(()=>i().trim().length>0),le=d(()=>g()||k()||!s(w)||B()&&typeof o()=="number"&&o()<=0),he=d(()=>{if(v()!==void 0)return v();if(!z()||!s(w)&&!Q()||typeof o()!="number")return null;if(o()<=0)return s(w)?P():null;const e=Math.min(Math.max(N()+1,1),o());return A()==="of"?u.ui_panelFindBar_matchOf_label({current:e,total:o()}):`${e} / ${o()}`}),Se=d(()=>O()??(typeof o()=="number"&&o()<=0&&s(w)?"destructive":"muted"));Ie(()=>{(M()||I()!==void 0)&&c()&&!g()&&!x()&&(c().focus(),W()&&c().select())});function Le(){c()?.focus()}function Te(){c()?.blur()}function Fe(){c()?.select()}function ue(e,n){return n?`${e} (${n})`:e}function we(e){i(e.currentTarget.value),ae()?.(i(),e),ne()?.(e)}function Ce(e){se()?.(e),!e.defaultPrevented&&(e.key==="Escape"&&h()&&!_()&&!g()?(e.preventDefault(),h()(e)):e.key==="Enter"&&!s(le)&&(e.preventDefault(),e.shiftKey?T()?.(i(),e):F()?.(i(),e)))}var Ee={focus:Le,blur:Te,select:Fe,get query(){return i()},set query(e=""){i(e),a()},get inputRef(){return c()},set inputRef(e=null){c(e),a()},get placeholder(){return R()},set placeholder(e=u.ui_panelFindBar_find_placeholder()){R(e),a()},get disabled(){return g()},set disabled(e=!1){g(e),a()},get inputDisabled(){return x()},set inputDisabled(e=!1){x(e),a()},get navigationDisabled(){return k()},set navigationDisabled(e=!1){k(e),a()},get closeDisabled(){return _()},set closeDisabled(e=!1){_(e),a()},get disableNavigationWhenNoMatches(){return B()},set disableNavigationWhenNoMatches(e=!0){B(e),a()},get autofocus(){return M()},set autofocus(e=!1){M(e),a()},get selectOnFocus(){return W()},set selectOnFocus(e=!0){W(e),a()},get focusTrigger(){return I()},set focusTrigger(e){I(e),a()},get currentMatchIndex(){return N()},set currentMatchIndex(e=0){N(e),a()},get totalMatches(){return o()},set totalMatches(e){o(e),a()},get resultText(){return v()},set resultText(e=void 0){v(e),a()},get emptyResultText(){return P()},set emptyResultText(e=u.ui_panelFindBar_noMatches_label()){P(e),a()},get showResultText(){return z()},set showResultText(e=!0){z(e),a()},get showResultWhenQueryEmpty(){return Q()},set showResultWhenQueryEmpty(e=!1){Q(e),a()},get resultFormat(){return A()},set resultFormat(e="slash"){A(e),a()},get resultVariant(){return O()},set resultVariant(e=void 0){O(e),a()},get searchAriaLabel(){return m()},set searchAriaLabel(e=u.ui_panelFindBar_search_ariaLabel()){m(e),a()},get previousLabel(){return p()},set previousLabel(e=u.ui_panelFindBar_previous_label()){p(e),a()},get previousShortcutLabel(){return V()},set previousShortcutLabel(e="Shift+Enter"){V(e),a()},get previousKeyShortcuts(){return q()},set previousKeyShortcuts(e="Shift+Enter"){q(e),a()},get previousTitle(){return U()},set previousTitle(e=void 0){U(e),a()},get nextLabel(){return S()},set nextLabel(e=u.ui_panelFindBar_next_label()){S(e),a()},get nextShortcutLabel(){return X()},set nextShortcutLabel(e="Enter"){X(e),a()},get nextKeyShortcuts(){return j()},set nextKeyShortcuts(e="Enter"){j(e),a()},get nextTitle(){return G()},set nextTitle(e=void 0){G(e),a()},get closeLabel(){return L()},set closeLabel(e=u.ui_panelFindBar_close_label()){L(e),a()},get closeShortcutLabel(){return H()},set closeShortcutLabel(e="Esc"){H(e),a()},get closeKeyShortcuts(){return J()},set closeKeyShortcuts(e="Escape"){J(e),a()},get closeTitle(){return Y()},set closeTitle(e=void 0){Y(e),a()},get layout(){return Z()},set layout(e="floating"){Z(e),a()},get class(){return $()},set class(e){$(e),a()},get inputWrapperClass(){return ee()},set inputWrapperClass(e){ee(e),a()},get inputClass(){return te()},set inputClass(e){te(e),a()},get actionsClass(){return re()},set actionsClass(e){re(e),a()},get onPrevious(){return T()},set onPrevious(e){T(e),a()},get onNext(){return F()},set onNext(e){F(e),a()},get onClose(){return h()},set onClose(e){h(e),a()},get onQueryChange(){return ae()},set onQueryChange(e){ae(e),a()},get onInput(){return ne()},set onInput(e){ne(e),a()},get onKeydown(){return se()},set onKeydown(e){se(e),a()},$set:Be,$on:(e,n)=>Me(t,e,n)},f=Ge(),C=oe(f),fe=oe(C);D(fe,{get icon(){return Oe},class:"size-3 shrink-0 text-muted-foreground"});var be=b(fe,2);{let e=d(()=>g()||x()),n=d(()=>y("h-6 w-36 border-0 bg-transparent px-0 py-0 text-sm shadow-none","placeholder:text-muted-foreground",te()));Xe(be,{type:"text",get placeholder(){return R()},get disabled(){return s(e)},noFocusStyle:!0,get class(){return s(n)},get"aria-label"(){return m()},oninput:we,onkeydown:Ce,get ref(){return c()},set ref(l){c(l)},get value(){return i()},set value(l){i(l)}})}var Ke=b(be,2);{var De=e=>{var n=je(),l=Pe(n,!0);ve(_e=>{K(n,1,_e),ze(l,s(he))},[()=>E(y("whitespace-nowrap text-xs tabular-nums",s(Se)==="destructive"?"text-danger":"text-muted-foreground"))]),me(e,n)};Qe(Ke,e=>{s(he)&&e(De)})}ce(C);var ie=b(C,2),ye=oe(ie);{let e=d(()=>U()??ue(p(),V()));de(ye,{type:"button",variant:"ghost-light",size:"icon-xs",class:"rounded-sm",onclick:n=>T()?.(i(),n),get disabled(){return s(le)},get"aria-label"(){return p()},get"aria-keyshortcuts"(){return q()},get title(){return s(e)},children:(n,l)=>{D(n,{get icon(){return Ve},class:"size-3"})},$$slots:{default:!0}})}var xe=b(ye,2);{let e=d(()=>G()??ue(S(),X()));de(xe,{type:"button",variant:"ghost-light",size:"icon-xs",class:"rounded-sm",onclick:n=>F()?.(i(),n),get disabled(){return s(le)},get"aria-label"(){return S()},get"aria-keyshortcuts"(){return j()},get title(){return s(e)},children:(n,l)=>{D(n,{get icon(){return qe},class:"size-3"})},$$slots:{default:!0}})}var Re=b(xe,2);{let e=d(()=>g()||_()),n=d(()=>Y()??ue(L(),H()));de(Re,{type:"button",variant:"ghost-light",size:"icon-xs",class:"rounded-sm",onclick:l=>h()?.(l),get disabled(){return s(e)},get"aria-label"(){return L()},get"aria-keyshortcuts"(){return J()},get title(){return s(n)},children:(l,_e)=>{D(l,{get icon(){return Ue},class:"size-3.5"})},$$slots:{default:!0}})}return ce(ie),ce(f),ve((e,n,l)=>{Ae(f,"aria-label",m()),K(f,1,e),K(C,1,n),K(ie,1,l)},[()=>E(y("inline-flex items-center gap-1 rounded-lg border border-border bg-background/95 px-2 py-1 shadow-lg backdrop-blur supports-[backdrop-filter]:bg-background/90",Z()==="floating"&&"absolute top-2 right-4 z-50",g()&&"pointer-events-none opacity-60",$())),()=>E(y("flex h-7 min-w-0 items-center gap-1.5 rounded-md border border-border bg-muted/40 px-2",ee())),()=>E(y("flex items-center gap-0.5",re()))]),me(ge,f),Ne(Ee)}export{He as P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bm as n,t as F,bo as i,bw as x,b as B}from"./
|
|
1
|
+
import{bm as n,t as F,bo as i,bw as x,b as B}from"./YLhFQnIu.js";import{bs as Q,a5 as U,bS as D,bA as K,b_ as N,aD as f,W as I,bn as P,c9 as A,aA as u,aB as q}from"./3SdAC2_C.js";import{i as E}from"./YeOAvjnW.js";import{f as V,s as _,g as H}from"./BQhBnAuP.js";import{d as R,A as j,a as J}from"./DPjr22dV.js";import{aL as M}from"./mUNs8NSR.js";import{nL as T,i as m}from"./D5wnbxHp.js";import{e8 as G,O as X,N as Y}from"./BJbm_MWC.js";function Z(e){switch(e){case"running":return n.layout_activeCard_running_header();case"responding":return n.agentOverview_hierarchyGraph_statusResponding_label();case"unread":return n.layout_activeCard_unread_header();case"completed":return n.agentOverview_hierarchyGraph_statusCompleted_label();case"failed":return n.agentOverview_hierarchyGraph_statusFailed_label();case"question":return n.chat_questionWizard_title();case"waiting":return n.agentOverview_hierarchyGraph_statusWaiting_label();case"needs-permission":return n.events_activity_agentAskedPermission_label();case"attention-discussion":return n.chat_agentCard_attentionDiscussion_label();case"attention-blocker":return n.chat_agentCard_attentionBlocker_label();case"idle":return n.agentOverview_hierarchyGraph_statusIdle_label()}}var $=q('<span class="agent-avatar-unread-dot svelte-v6mebl" data-avatar-unread-dot=""></span>'),ee=q('<span role="img" data-agent-avatar-with-state="" data-agent-avatar-surface=""><!> <!></span>');function te(e,a){if(new.target)return F({component:te,...e});Q(a,!0);let d=i(a,"agentId",7),l=i(a,"specialist",7,null),o=i(a,"icon",7,null),v=i(a,"provider",7,void 0),c=i(a,"variant",7,R),g=i(a,"size",7,void 0),r=i(a,"state",7,"idle"),h=i(a,"class",7,"");const w=A(()=>Z(r())),y=A(()=>g()??J[c()].surface),p=A(()=>g()===void 0);var L={get agentId(){return d()},set agentId(t){d(t),u()},get specialist(){return l()},set specialist(t=null){l(t),u()},get icon(){return o()},set icon(t=null){o(t),u()},get provider(){return v()},set provider(t=void 0){v(t),u()},get variant(){return c()},set variant(t=R){c(t),u()},get size(){return g()},set size(t=void 0){g(t),u()},get state(){return r()},set state(t="idle"){r(t),u()},get class(){return h()},set class(t=""){h(t),u()},$set:x,$on:(t,b)=>B(a,t,b)},s=ee();let C;var k=U(s);j(k,{get agentId(){return d()},get specialist(){return l()},get icon(){return o()},get provider(){return v()},get variant(){return c()},get size(){return g()}});var O=D(k,2);{var W=t=>{var b=$();I(t,b)};E(O,t=>{r()==="unread"&&t(W)})}return K(s),N(()=>{V(s,1,`agent-avatar-with-state agent-avatar-with-state--${r()??""} ${h()??""}`,"svelte-v6mebl"),_(s,"aria-label",f(w)),_(s,"title",f(w)),_(s,"data-avatar-state",r()),_(s,"data-avatar-variant",f(p)?c():void 0),C=H(s,"",C,{width:f(p)?void 0:`${f(y)}px`,height:f(p)?void 0:`${f(y)}px`})}),I(e,s),P(L)}function S(e){return X(e)}function ae(e){return Y(e)}function z(e,a={}){const{hasUnread:d=!1,isActive:l=!1,isCompleted:o=!1,isFailed:v=!1,hasQuestion:c=!1,hasPermissionRequest:g=!1,attentionKind:r=null}=a;return o&&!S(e)?"completed":v||e.status===m.Error||e.status==="failed"?"failed":c?"question":g?"needs-permission":r==="discussion"?"attention-discussion":r==="blocker"?"attention-blocker":ae(e)?"waiting":S(e)?"running":d&&!l?"unread":"idle"}function ce(e,a={}){if(!e)return z({},a);const d=T(e),l=e.status===m.Completed||String(e.status).toLowerCase()==="completed",o=e.status===m.Error||e.status===m.Deleted||String(e.status).toLowerCase()==="failed";return z(G(e),{...a,hasQuestion:M(e)||a.hasQuestion===!0,hasUnread:a.hasUnread??e.hasUnread,isCompleted:a.isCompleted??l,isFailed:a.isFailed??o,attentionKind:a.attentionKind??d?.kind??null})}function ge(e){return e?S(G(e)):!1}export{te as A,z as a,ce as b,Z as g,ge as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as A,bo as a,bw as T,bp as D,b as E}from"./
|
|
1
|
+
import{t as A,bo as a,bw as T,bp as D,b as E}from"./YLhFQnIu.js";import{aG as F,bs as G,c5 as J,aD as K,a5 as p,bS as M,bf as P,bA as x,W as S,bn as B,c9 as Q,aA as s,aB as y}from"./3SdAC2_C.js";import{i as U}from"./YeOAvjnW.js";import{t as w}from"./CrpUtGFn.js";import{b as H,e as _}from"./BQhBnAuP.js";import{b as I}from"./Dn334wJv.js";import{u as V,c as N,s as X,b as Y,a as Z}from"./D9tVylVS.js";import{C as $}from"./Bj4IsLvN.js";const ee=Symbol("card-group"),te=()=>F(ee);var re=new Set(["$$slots","$$events","$$legacy","ref","class","inert","interactive","level","border","selected","media","children"]),ae=y('<div data-slot="card-media" class="shrink-0 p-4"><!></div>'),se=y("<div><!> <!></div>");function ne(v,t){if(new.target)return A({component:ne,...v});G(t,!0);let i=a(t,"ref",15,null),o=a(t,"class",7),d=a(t,"inert",7,!1),l=a(t,"interactive",7,!1),m=a(t,"level",7),u=a(t,"border",7),n=a(t,"selected",7,!1),f=a(t,"media",7),r=a(t,"children",7),C=D(t,re);const c=te(),L=Q(()=>u()==="outlined"||u()===void 0&&(!c||c.border==="outlined"&&c.separated)),O=V(),h=N(J(()=>m()??O+1));X(h);const R=N(h+1);var W={get ref(){return i()},set ref(e=null){i(e),s()},get class(){return o()},set class(e){o(e),s()},get inert(){return d()},set inert(e=!1){d(e),s()},get interactive(){return l()},set interactive(e=!1){l(e),s()},get level(){return m()},set level(e){m(e),s()},get border(){return u()},set border(e){u(e),s()},get selected(){return n()},set selected(e=!1){n(e),s()},get media(){return f()},set media(e){f(e),s()},get children(){return r()},set children(e){r(e),s()},$set:T,$on:(e,g)=>E(t,e,g)},b=se();H(b,e=>({"data-slot":"card","data-selected":n()||void 0,"data-orientation":c?.orientation,"data-surface-level":h,"data-inert":d()||void 0,"data-interactive":l()||void 0,inert:d(),class:e,...C}),[()=>_("flex min-w-0 flex-col overflow-hidden rounded-md text-card-foreground",K(L)?c?"border border-border bg-transparent":Z(h):"bg-transparent",n()&&"bg-selected",c?.orientation==="inline"&&"flex-row items-center [&>[data-slot=card-header]]:min-w-0 [&>[data-slot=card-header]]:flex-1",c&&"relative",l()?_("cursor-pointer transition-[background-color,box-shadow] duration-(--motion-fast) ease-(--ease-standard)","focus-visible:outline focus-visible:-outline-offset-1","active:bg-active data-[state=pressed]:bg-active motion-reduce:transition-none",Y(R)):"",o())]);var k=p(b);{var j=e=>{var g=ae(),z=p(g);w(z,f),x(g),S(e,g)};U(k,e=>{f()&&e(j)})}var q=M(k,2);return w(q,()=>r()??P),x(b),I(b,e=>i(e),()=>i()),S(v,b),B(W)}var ie=new Set(["$$slots","$$events","$$legacy","ref","class","flush","children"]),de=y("<div><!></div>");function le(v,t){if(new.target)return A({component:le,...v});G(t,!0);let i=a(t,"ref",15,null),o=a(t,"class",7),d=a(t,"flush",7,!1),l=a(t,"children",7),m=D(t,ie);var u={get ref(){return i()},set ref(r=null){i(r),s()},get class(){return o()},set class(r){o(r),s()},get flush(){return d()},set flush(r=!1){d(r),s()},get children(){return l()},set children(r){l(r),s()},$set:T,$on:(r,C)=>E(t,r,C)},n=de();H(n,r=>({"data-slot":"card-content","data-flush":d()||void 0,class:r,...m}),[()=>_("type-body min-w-0",d()?"p-0":_($,"py-4 first:pt-4"),o())]);var f=p(n);return w(f,()=>l()??P),x(n),I(n,r=>i(r),()=>i()),S(v,n),B(u)}export{ne as C,le as a};
|