@intent-hq/web 2.332.1 → 2.334.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{D3hH9rNi.js → 03PfIO_9.js} +1 -1
- package/web/app/immutable/chunks/{MbWbx059.js → 072Tb_6D.js} +1 -1
- package/web/app/immutable/chunks/{BeZwt05v.js → 1N54IjFy.js} +1 -1
- package/web/app/immutable/chunks/{dpdLxO6f.js → 2J-nekl4.js} +3 -3
- package/web/app/immutable/chunks/{DivUGPVj.js → 2cP0f-ZS.js} +1 -1
- package/web/app/immutable/chunks/{D5BJwiCX.js → 35OKERyz.js} +3 -3
- package/web/app/immutable/chunks/{BwEg66U_.js → 4AVTvQlm.js} +1 -1
- package/web/app/immutable/chunks/{B832GCAy.js → 4doVsrTt.js} +1 -1
- package/web/app/immutable/chunks/{D3zprjIo.js → 5gyILap3.js} +1 -1
- package/web/app/immutable/chunks/{CsBfHq3z.js → 71wna1Z8.js} +1 -1
- package/web/app/immutable/chunks/{BTdEOciU.js → 7AKPDTqy.js} +1 -1
- package/web/app/immutable/chunks/{DCmZzs_t.js → 8ZRaDoDY.js} +1 -1
- package/web/app/immutable/chunks/{CKywtFzw.js → 9oNS7b_T.js} +1 -1
- package/web/app/immutable/chunks/{BSQNx4Vk.js → AMK506zb.js} +1 -1
- package/web/app/immutable/chunks/{HSKzTsh4.js → Az9OQ8Pw.js} +1 -1
- package/web/app/immutable/chunks/{BAzseDFu.js → B-1pTbth.js} +1 -1
- package/web/app/immutable/chunks/{DHj5Vli6.js → B-lr2mEf.js} +1 -1
- package/web/app/immutable/chunks/{CYgZakZC.js → B0h3U-Yz.js} +1 -1
- package/web/app/immutable/chunks/{Jr_-MnLx.js → B29HdkQh.js} +1 -1
- package/web/app/immutable/chunks/{7vJjNlp5.js → B3KrGqdQ.js} +1 -1
- package/web/app/immutable/chunks/{BL_9_s5D.js → B3RoFPrI.js} +1 -1
- package/web/app/immutable/chunks/{Dtby9LLe.js → B4egTWvZ.js} +1 -1
- package/web/app/immutable/chunks/{BlieKkQ9.js → B6KMCDK3.js} +1 -1
- package/web/app/immutable/chunks/{ZiiwkTV-.js → B77TCztV.js} +1 -1
- package/web/app/immutable/chunks/{CS_bXQRj.js → B7_YNW7R.js} +1 -1
- package/web/app/immutable/chunks/{BWcK5t6w.js → B94CMzpV.js} +1 -1
- package/web/app/immutable/chunks/{aA6XO7Z6.js → BAOVYkFF.js} +1 -1
- package/web/app/immutable/chunks/{CE_FxgNs.js → BAzeccV1.js} +1 -1
- package/web/app/immutable/chunks/{DdkKMLjv.js → BBA4Bzbm.js} +1 -1
- package/web/app/immutable/chunks/{DD5ISNL6.js → BCGsV37m.js} +1 -1
- package/web/app/immutable/chunks/{d6WJXB_G.js → BE3xHJK-.js} +1 -1
- package/web/app/immutable/chunks/{L4diC29H.js → BE_5EfDm.js} +4 -4
- package/web/app/immutable/chunks/{CdKj5L2M.js → BFBxuHtI.js} +1 -1
- package/web/app/immutable/chunks/{BtxhSwaF.js → BHNjUi-M.js} +1 -1
- package/web/app/immutable/chunks/{9WOIFXVq.js → BHVl-WA3.js} +1 -1
- package/web/app/immutable/chunks/{B9Yp_9YB.js → BHvVwiFl.js} +1 -1
- package/web/app/immutable/chunks/{BLMF5IFF.js → BIvp5Tt2.js} +1 -1
- package/web/app/immutable/chunks/{CKDHxXsq.js → BJOBGHF6.js} +1 -1
- package/web/app/immutable/chunks/{Df2kEBtG.js → BMFAZxzl.js} +1 -1
- package/web/app/immutable/chunks/{GLVkpxmO.js → BMMqOSaL.js} +1 -1
- package/web/app/immutable/chunks/{DJ54sSxs.js → BNcmjmX0.js} +1 -1
- package/web/app/immutable/chunks/{RnZH5q_1.js → BNhmUsaA.js} +1 -1
- package/web/app/immutable/chunks/BRJ8JwtZ.js +2 -0
- package/web/app/immutable/chunks/{B2Iig513.js → BW9zdIKM.js} +1 -1
- package/web/app/immutable/chunks/{BUxvwYCZ.js → BWLkc8Du.js} +1 -1
- package/web/app/immutable/chunks/{CpxAEr5T.js → BY2EZOH5.js} +1 -1
- package/web/app/immutable/chunks/{CI8cTsXC.js → BYS_XVzS.js} +1 -1
- package/web/app/immutable/chunks/{EnAyz2Ek.js → B_sZwi21.js} +1 -1
- package/web/app/immutable/chunks/{CqCOQpit.js → BaeUp1de.js} +1 -1
- package/web/app/immutable/chunks/{Rni3zXxR.js → BcRUrG7V.js} +1 -1
- package/web/app/immutable/chunks/{Dz_Si7JX.js → BcvgmgBl.js} +1 -1
- package/web/app/immutable/chunks/{CoMudm58.js → Bd-UWJsU.js} +1 -1
- package/web/app/immutable/chunks/{BaodgUOU.js → BdYPHOrS.js} +1 -1
- package/web/app/immutable/chunks/{DY2uGuix.js → Bdtl8KA4.js} +1 -1
- package/web/app/immutable/chunks/{a_UT53Db.js → BduWPjcR.js} +1 -1
- package/web/app/immutable/chunks/BeA8kzlg.js +1 -0
- package/web/app/immutable/chunks/{CglC4HOM.js → BfDRfZ1x.js} +1 -1
- package/web/app/immutable/chunks/{CHyKyUzM.js → BfNeIJAh.js} +1 -1
- package/web/app/immutable/chunks/{DytZzUZT.js → BfiKUtfz.js} +1 -1
- package/web/app/immutable/chunks/{XP2gV3S1.js → BiRCgfI8.js} +1 -1
- package/web/app/immutable/chunks/{NoEKF6rx.js → BjWMcF7P.js} +1 -1
- package/web/app/immutable/chunks/{CH1kO0eh.js → BjdHDlxK.js} +1 -1
- package/web/app/immutable/chunks/{9yLYut_f.js → Bmyv2TKf.js} +1 -1
- package/web/app/immutable/chunks/{xbz74Y37.js → Bobasviv.js} +1 -1
- package/web/app/immutable/chunks/Bp1o3thS.js +1 -0
- package/web/app/immutable/chunks/{BwHfUkOf.js → BpidAqRA.js} +6 -6
- package/web/app/immutable/chunks/{DmihuZfS.js → BpnwXy6U.js} +1 -1
- package/web/app/immutable/chunks/{C9KtSy8M.js → BrK9k8X4.js} +1 -1
- package/web/app/immutable/chunks/{C0Tvtwp-.js → BsYAGCCJ.js} +1 -1
- package/web/app/immutable/chunks/{CMQoknXV.js → BsbCFjWI.js} +1 -1
- package/web/app/immutable/chunks/{Ci37X5fE.js → BuCbZihK.js} +2 -2
- package/web/app/immutable/chunks/{zVHvgElF.js → BuEytmbB.js} +1 -1
- package/web/app/immutable/chunks/{5BjH__qw.js → BuNYZSRv.js} +1 -1
- package/web/app/immutable/chunks/{BYJTJW1o.js → BuxSPewv.js} +1 -1
- package/web/app/immutable/chunks/{wYgYMVXC.js → Bv6lXJbF.js} +1 -1
- package/web/app/immutable/chunks/{Dr8wriKt.js → Bvt4TKMh.js} +1 -1
- package/web/app/immutable/chunks/{BMla283I.js → Bxd9OUMD.js} +1 -1
- package/web/app/immutable/chunks/{Bielx7or.js → BzOameBd.js} +1 -1
- package/web/app/immutable/chunks/{DsAgoq4e.js → C-tVLzji.js} +1 -1
- package/web/app/immutable/chunks/{D76tmIP3.js → C1MSnWt8.js} +1 -1
- package/web/app/immutable/chunks/{CkMfCuzz.js → C1ZTS4Sh.js} +1 -1
- package/web/app/immutable/chunks/{BsWB9YpI.js → C3KFiFcK.js} +1 -1
- package/web/app/immutable/chunks/{hgJz-lxL.js → C4RucMn0.js} +1 -1
- package/web/app/immutable/chunks/{C9IQsGTN.js → C5vuxPIj.js} +1 -1
- package/web/app/immutable/chunks/{CpMi3Pqw.js → C7Fm8r7x.js} +1 -1
- package/web/app/immutable/chunks/{Z2NV50FD.js → C7Ro1E0r.js} +1 -1
- package/web/app/immutable/chunks/C7wbrsvU.js +1 -0
- package/web/app/immutable/chunks/{HcYBxKPc.js → CArqGgyL.js} +1 -1
- package/web/app/immutable/chunks/{BaUPC41p.js → CBC7YFdV.js} +1 -1
- package/web/app/immutable/chunks/{D6dlkp5M.js → CCGEGA0G.js} +1 -1
- package/web/app/immutable/chunks/CCPn5VZR.js +1 -0
- package/web/app/immutable/chunks/{D3E9Lwsk.js → CDSwBgYD.js} +1 -1
- package/web/app/immutable/chunks/{Bi2Qf6lk.js → CESOOiWP.js} +1 -1
- package/web/app/immutable/chunks/{EZSy0A04.js → CEboTiDi.js} +3 -3
- package/web/app/immutable/chunks/{DDNd0tnm.js → CFS-CWu3.js} +1 -1
- package/web/app/immutable/chunks/{CM28_vQq.js → CGVLIZz9.js} +1 -1
- package/web/app/immutable/chunks/{C7eDW7UL.js → CGiCL1Ov.js} +1 -1
- package/web/app/immutable/chunks/{ChNKlZtm.js → CIqnL4UD.js} +1 -1
- package/web/app/immutable/chunks/{CdgAiqh6.js → CJB7cvC2.js} +1 -1
- package/web/app/immutable/chunks/{CeOYgNbD.js → CKJpktTE.js} +1 -1
- package/web/app/immutable/chunks/{D7VyNuwA.js → CKrDMmMA.js} +1 -1
- package/web/app/immutable/chunks/{BRWLc5hQ.js → CMOnvdXp.js} +1 -1
- package/web/app/immutable/chunks/{CA4-dLAB.js → CMpcqAa4.js} +3 -3
- package/web/app/immutable/chunks/{CYp2pkXV.js → CO7hmy56.js} +1 -1
- package/web/app/immutable/chunks/{DgtU93Ce.js → CP_jYxTi.js} +1 -1
- package/web/app/immutable/chunks/{u6FKwXpA.js → CRLRbkCn.js} +1 -1
- package/web/app/immutable/chunks/{B8OTnzCv.js → CSSojjBG.js} +1 -1
- package/web/app/immutable/chunks/{BCJxSao_.js → CWYYinAo.js} +1 -1
- package/web/app/immutable/chunks/{fUxAhSKl.js → CXKfuiUF.js} +1 -1
- package/web/app/immutable/chunks/{BpePMNve.js → CXzbClP6.js} +1 -1
- package/web/app/immutable/chunks/{DgyZN5lH.js → CYttmgAy.js} +2 -2
- package/web/app/immutable/chunks/CZ_kVWbN.js +4 -0
- package/web/app/immutable/chunks/{NrjxMz2i.js → CZnrzyHp.js} +1 -1
- package/web/app/immutable/chunks/{XBT2FDUw.js → CfwVmHCf.js} +1 -1
- package/web/app/immutable/chunks/{DBZdNxOK.js → CgWmg0h0.js} +1 -1
- package/web/app/immutable/chunks/{Bmwe3v73.js → CiQ6prZ_.js} +1 -1
- package/web/app/immutable/chunks/{C2NjZei7.js → Ci__OGHt.js} +1 -1
- package/web/app/immutable/chunks/{CHqSpAhM.js → Cil-vK29.js} +1 -1
- package/web/app/immutable/chunks/{C0mowKhJ.js → CiqS40z1.js} +1 -1
- package/web/app/immutable/chunks/{CHz9NPSg.js → CjijEKrk.js} +1 -1
- package/web/app/immutable/chunks/{BRfIKJVK.js → Ckt4hpBJ.js} +1 -1
- package/web/app/immutable/chunks/{NpJ_H_lL.js → Cl-7Au8R.js} +1 -1
- package/web/app/immutable/chunks/{Zi02dDqY.js → ClZsJ0tq.js} +1 -1
- package/web/app/immutable/chunks/{FgsGgOBB.js → Cn1E5b8h.js} +1 -1
- package/web/app/immutable/chunks/{BEdXc2Cn.js → CnMdEUN9.js} +1 -1
- package/web/app/immutable/chunks/{wAlzdqKW.js → Co38dt7I.js} +1 -1
- package/web/app/immutable/chunks/{DUj2SOU7.js → CoVAqVcd.js} +1 -1
- package/web/app/immutable/chunks/{AMuVbvNH.js → Csi1v0mQ.js} +1 -1
- package/web/app/immutable/chunks/{eO-TU1Uq.js → CuXSY9SQ.js} +2 -2
- package/web/app/immutable/chunks/{D0WfEFI8.js → CwKaV1IY.js} +1 -1
- package/web/app/immutable/chunks/{DsX0vSiK.js → CwMAKc0Q.js} +1 -1
- package/web/app/immutable/chunks/{wF4KE5sw.js → CwMqpcMm.js} +1 -1
- package/web/app/immutable/chunks/{BL5Rh4Sz.js → CwakGbfV.js} +1 -1
- package/web/app/immutable/chunks/{CCXE6oHN.js → CwiXEybf.js} +1 -1
- package/web/app/immutable/chunks/{BPe3vmZW.js → Cxbk0QV6.js} +1 -1
- package/web/app/immutable/chunks/{jyWTS4lZ.js → D-JSvqq2.js} +2 -2
- package/web/app/immutable/chunks/{CLMPxb4p.js → D-Uzg_w_.js} +1 -1
- package/web/app/immutable/chunks/{1bpiYpBu.js → D-v3doGL.js} +1 -1
- package/web/app/immutable/chunks/{BKjGGpm1.js → D0BUPqIH.js} +4 -4
- package/web/app/immutable/chunks/{C1dnD04C.js → D0Nn2MSZ.js} +43 -43
- package/web/app/immutable/chunks/{01VYey36.js → D2laB2lQ.js} +1 -1
- package/web/app/immutable/chunks/{DYXF8P9g.js → D3DGxoeO.js} +1 -1
- package/web/app/immutable/chunks/{BmIdlkCY.js → D8UOq-cZ.js} +1 -1
- package/web/app/immutable/chunks/D9wogWMJ.js +1 -0
- package/web/app/immutable/chunks/{D-Mv0NgR.js → DAGiwOmW.js} +1 -1
- package/web/app/immutable/chunks/{DxhV3A5f.js → DANuQK8j.js} +1 -1
- package/web/app/immutable/chunks/{B6SFcGZ4.js → DAxsY0Gj.js} +1 -1
- package/web/app/immutable/chunks/DCCFERAn.js +1 -0
- package/web/app/immutable/chunks/{Ct1y2X3-.js → DCD7Mz5K.js} +1 -1
- package/web/app/immutable/chunks/{BRc8KqQS.js → DDRhcF_8.js} +1 -1
- package/web/app/immutable/chunks/{BzOYno2y.js → DF71nvkU.js} +1 -1
- package/web/app/immutable/chunks/{BCR36ulI.js → DGUKdi7i.js} +1 -1
- package/web/app/immutable/chunks/{DgqSfEsd.js → DGcTdGo8.js} +2 -2
- package/web/app/immutable/chunks/{D-0JsOoD.js → DJQSxFj4.js} +1 -1
- package/web/app/immutable/chunks/{CYBP2kAe.js → DKNnPYeR.js} +1 -1
- package/web/app/immutable/chunks/{Cqn-1YSM.js → DKf1LSfP.js} +1 -1
- package/web/app/immutable/chunks/{quL6pHxK.js → DLtIqvYl.js} +2 -2
- package/web/app/immutable/chunks/{BdorRWAe.js → DMHPeP9b.js} +1 -1
- package/web/app/immutable/chunks/{1N4-_XNd.js → DMW_Ogh_.js} +1 -1
- package/web/app/immutable/chunks/{CInI0Sus.js → DNEb71Dh.js} +1 -1
- package/web/app/immutable/chunks/DVNTCHDs.js +1 -0
- package/web/app/immutable/chunks/{Qj93naoS.js → DVTVoVn3.js} +1 -1
- package/web/app/immutable/chunks/{BA5tpMka.js → DVWbUaqE.js} +2 -2
- package/web/app/immutable/chunks/{Pd9lmiP5.js → DWLCZ9bk.js} +1 -1
- package/web/app/immutable/chunks/{DQa6YuyW.js → DXNrmOAj.js} +1 -1
- package/web/app/immutable/chunks/{DLI1aSNH.js → DXO_adPf.js} +1 -1
- package/web/app/immutable/chunks/{Dl-ybQ3z.js → DZTtqmYJ.js} +1 -1
- package/web/app/immutable/chunks/{CQ-f-CXn.js → D_i6tc5B.js} +1 -1
- package/web/app/immutable/chunks/{DQhpCQ8x.js → DbWOkCcI.js} +1 -1
- package/web/app/immutable/chunks/{uU0UH-Q4.js → DcZ6Y3e4.js} +1 -1
- package/web/app/immutable/chunks/DdWD_Vv3.js +1 -0
- package/web/app/immutable/chunks/{BQypG4-Z.js → Df-CfLbF.js} +1 -1
- package/web/app/immutable/chunks/{R4bwBwT_.js → DfBE7crq.js} +1 -1
- package/web/app/immutable/chunks/{7ts4wsuO.js → DhSqfFgd.js} +1 -1
- package/web/app/immutable/chunks/{CNf_ONa3.js → DiUyyFSb.js} +1 -1
- package/web/app/immutable/chunks/{BkMLj_bt.js → Diees_tN.js} +1 -1
- package/web/app/immutable/chunks/{DenVKqrV.js → Dk1_0x0Q.js} +1 -1
- package/web/app/immutable/chunks/{bbeE_6so.js → DkPqbYEN.js} +1 -1
- package/web/app/immutable/chunks/{D10X859N.js → DqdGC4dy.js} +1 -1
- package/web/app/immutable/chunks/Dso1_H3c.js +1 -0
- package/web/app/immutable/chunks/{nhnbx7C0.js → DuD0elPz.js} +1 -1
- package/web/app/immutable/chunks/{DegFSSpo.js → DvQkR2Is.js} +1 -1
- package/web/app/immutable/chunks/{C2aaRYxm.js → DwLudbcs.js} +1 -1
- package/web/app/immutable/chunks/{DBwqw4Qu.js → DxFUSFjo.js} +1 -1
- package/web/app/immutable/chunks/{BnXfq0KH.js → DxGil5MD.js} +1 -1
- package/web/app/immutable/chunks/{CmtNfm_M.js → DxHHBDex.js} +1 -1
- package/web/app/immutable/chunks/{CY6Ad305.js → DyEA97Ij.js} +1 -1
- package/web/app/immutable/chunks/{DEL8D3D_.js → DySSBJC4.js} +1 -1
- package/web/app/immutable/chunks/{CR7cFb79.js → DyrELBv-.js} +1 -1
- package/web/app/immutable/chunks/{BOXppFhx.js → Dzg-ll0I.js} +1 -1
- package/web/app/immutable/chunks/{C0y0G1dd.js → DziBVnxJ.js} +3 -3
- package/web/app/immutable/chunks/{DRFOuvia.js → FEnI6pqw.js} +1 -1
- package/web/app/immutable/chunks/{idgVmMSO.js → G3lcIaVb.js} +1 -1
- package/web/app/immutable/chunks/{DX0DDRCM.js → GY5YfSD1.js} +1 -1
- package/web/app/immutable/chunks/{Cq9yywqY.js → H6rH-O5e.js} +1 -1
- package/web/app/immutable/chunks/{BFLeHPtB.js → HZf189bi.js} +1 -1
- package/web/app/immutable/chunks/{Dsnfh8nl.js → HjTnEK4j.js} +1 -1
- package/web/app/immutable/chunks/{Cyv_QpXG.js → MCnrQrjH.js} +1 -1
- package/web/app/immutable/chunks/{La4DuXBq.js → MItv5vwZ.js} +1 -1
- package/web/app/immutable/chunks/{INGceerY.js → N6ccAT9m.js} +3 -3
- package/web/app/immutable/chunks/{IqoI0Sop.js → Ossh6uZu.js} +1 -1
- package/web/app/immutable/chunks/{B8vvVbvT.js → PA5tKchu.js} +1 -1
- package/web/app/immutable/chunks/{Ck4zrPgL.js → Qk-BsDf0.js} +1 -1
- package/web/app/immutable/chunks/{IjAEhEd_.js → RlWPb-l5.js} +1 -1
- package/web/app/immutable/chunks/{ClRyDWdo.js → SpNk3-qf.js} +2 -2
- package/web/app/immutable/chunks/{CFF4_0hC.js → T2yA2AgY.js} +2 -2
- package/web/app/immutable/chunks/{IlWp1nGl.js → Ug0dtdu2.js} +4 -4
- package/web/app/immutable/chunks/{uc0NJTBD.js → VLZW5k04.js} +1 -1
- package/web/app/immutable/chunks/{9REiaz4P.js → Wjuib0ag.js} +1 -1
- package/web/app/immutable/chunks/{DbZHCFkf.js → YkXzGZ8n.js} +1 -1
- package/web/app/immutable/chunks/{3ol3wj0q.js → Z1K5P4U2.js} +1 -1
- package/web/app/immutable/chunks/{CF-5Z7Xo.js → ayrFAfGH.js} +1 -1
- package/web/app/immutable/chunks/{BB1bdkKj.js → dLK087oD.js} +1 -1
- package/web/app/immutable/chunks/{vEgCNzPn.js → f7LaE2V_.js} +4 -4
- package/web/app/immutable/chunks/{ShdiMoFn.js → fJUF_fJi.js} +1 -1
- package/web/app/immutable/chunks/{Cc05Arx_.js → fOffirGV.js} +1 -1
- package/web/app/immutable/chunks/{B4CT3ZnO.js → gVcm9LZ1.js} +1 -1
- package/web/app/immutable/chunks/{rz6OBXp5.js → jrcipDnr.js} +1 -1
- package/web/app/immutable/chunks/{OtDorjRa.js → k3FE0FJZ.js} +1 -1
- package/web/app/immutable/chunks/{DTmn8xTR.js → l8UFOWir.js} +3 -3
- package/web/app/immutable/chunks/{g2VxMEGm.js → m2BK1mVX.js} +1 -1
- package/web/app/immutable/chunks/m5UczIQR.js +18 -0
- package/web/app/immutable/chunks/{Cc3p9mKN.js → mdduA0pr.js} +1 -1
- package/web/app/immutable/chunks/{BKpbFIyR.js → nd4329YU.js} +1 -1
- package/web/app/immutable/chunks/{DHO1UrQa.js → oJD7n1Ce.js} +1 -1
- package/web/app/immutable/chunks/{7usnYPNF.js → rNW14wgI.js} +1 -1
- package/web/app/immutable/chunks/{CSAk4qZa.js → sT0KaY62.js} +1 -1
- package/web/app/immutable/chunks/{rExovR4J.js → t1ZWo-I1.js} +1 -1
- package/web/app/immutable/chunks/{tE5q5HcJ.js → tO-hey33.js} +1 -1
- package/web/app/immutable/chunks/{nUyY273s.js → td5hg6sa.js} +1 -1
- package/web/app/immutable/chunks/{DvT1AhIX.js → tj2YkYbp.js} +1 -1
- package/web/app/immutable/chunks/{phDOGC4e.js → wP6HsJDJ.js} +1 -1
- package/web/app/immutable/chunks/{-vn0_Dx_.js → wylA95cI.js} +1 -1
- package/web/app/immutable/chunks/{DO_AuT0X.js → xD874lNR.js} +2 -2
- package/web/app/immutable/chunks/{DjiG1aj4.js → xTKdEUQT.js} +1 -1
- package/web/app/immutable/chunks/{DB6X5Jmb.js → zP9pbpMh.js} +1 -1
- package/web/app/immutable/chunks/{BqzIXvAg.js → zobwBhBP.js} +1 -1
- package/web/app/immutable/entry/{app.Btk0VZWt.js → app.DzJavKOz.js} +3 -3
- package/web/app/immutable/entry/start.D3-DqMWL.js +1 -0
- package/web/app/immutable/nodes/{0.0HFA2uVE.js → 0.DwHYAcJA.js} +1 -1
- package/web/app/immutable/nodes/{1.CZQtUsls.js → 1.CNlxk-Wb.js} +1 -1
- package/web/app/immutable/nodes/{10.MP2WoiSH.js → 10.Bnp8Ru15.js} +1 -1
- package/web/app/immutable/nodes/{11.v3TvfIzF.js → 11.CVezrggv.js} +1 -1
- package/web/app/immutable/nodes/{12.DU8-Nmz-.js → 12.BPw8mLRI.js} +1 -1
- package/web/app/immutable/nodes/{13.pNrv4shY.js → 13.DEB8Wg7Z.js} +3 -3
- package/web/app/immutable/nodes/{14.C9nz_rbo.js → 14.C5EP7pij.js} +1 -1
- package/web/app/immutable/nodes/{15.DBMm4pyM.js → 15.FeIesTUd.js} +1 -1
- package/web/app/immutable/nodes/{16.ClJoD8WH.js → 16.CxMj36A8.js} +1 -1
- package/web/app/immutable/nodes/{17.BIcZRnyp.js → 17.CWgUp0nx.js} +2 -2
- package/web/app/immutable/nodes/2.i3va2l-3.js +13 -0
- package/web/app/immutable/nodes/{3.Bi5S8K8Z.js → 3.TRZPY3g1.js} +1 -1
- package/web/app/immutable/nodes/{4.CtEWydTh.js → 4.Q_cklVfx.js} +1 -1
- package/web/app/immutable/nodes/{5.dqwJX5_j.js → 5.DQss9mOg.js} +1 -1
- package/web/app/immutable/nodes/{6.D2iLOyko.js → 6.B1fe3H2i.js} +1 -1
- package/web/app/immutable/nodes/{7.Ca_BtpTz.js → 7.Bs2GT-JO.js} +1 -1
- package/web/app/immutable/nodes/8.Bhi1HY5b.js +14 -0
- package/web/app/immutable/nodes/{9.Db1dzGjG.js → 9.BWi2XzAl.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +19 -19
- package/web/app/immutable/chunks/-svebp9s.js +0 -18
- package/web/app/immutable/chunks/Bap15j_Q.js +0 -4
- package/web/app/immutable/chunks/Brb5mMFP.js +0 -1
- package/web/app/immutable/chunks/C9Vu0azd.js +0 -1
- package/web/app/immutable/chunks/CCbp1hCi.js +0 -1
- package/web/app/immutable/chunks/CXgKrD4b.js +0 -1
- package/web/app/immutable/chunks/D6WWKWsa.js +0 -2
- package/web/app/immutable/chunks/DKDrWyIv.js +0 -1
- package/web/app/immutable/chunks/Nzi7bwxO.js +0 -1
- package/web/app/immutable/chunks/VIhYvpCH.js +0 -1
- package/web/app/immutable/chunks/o1Ob2Zjf.js +0 -1
- package/web/app/immutable/chunks/tjb4ezeK.js +0 -1
- package/web/app/immutable/entry/start.atGTcU00.js +0 -1
- package/web/app/immutable/nodes/2.B3TiYssM.js +0 -13
- package/web/app/immutable/nodes/8.BhbuK5L7.js +0 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as we,bq as r,a_ as m,by as pe,b as be,bo as _}from"./
|
|
1
|
+
import{t as we,bq as r,a_ as m,by as pe,b as be,bo as _}from"./Dso1_H3c.js";import{bs as me,a7 as h,ay as c,W as l,bn as xe,aA as n,bS as E,aD as M,bH as Ee,a5 as Se,bA as Te,c9 as le,aB as ie,bV as Pe,be as S,b$ as T,b_ as P,bO as k}from"./DYhIMPy1.js";import{c as v}from"./B3KrGqdQ.js";import{i as ke}from"./CnMdEUN9.js";import{F as Ce,cu as De,ba as Fe,a7 as We,a5 as Oe,a1 as Me,aQ as ze,c8 as ye}from"./DAGiwOmW.js";import{f as Ve}from"./m5UczIQR.js";import{p as Ae,h as Le,M as Ie,g as C}from"./Az9OQ8Pw.js";import"./BAOVYkFF.js";var Be=ie("<!> <!> <!> <!> <!> <!>",1),Ue=ie("<span><!></span>"),qe=ie("<!> <!>",1);function He(de,a){if(new.target)return we({component:He,...de});me(a,!0);const ge=e=>{var w=Be(),z=c(w);{var ne=t=>{var s=h(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Fe},get checked(){return R()},closeOnSelect:!1,get onCheckedChange(){return X()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_markdownPreview_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(z,t=>{K()&&t(ne)})}var y=E(z,2);{var D=t=>{var s=h(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return We},get checked(){return Z()},closeOnSelect:!1,get onCheckedChange(){return $()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_allFilesExpanded_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(y,t=>{Y()&&t(D)})}var se=E(y,2);{var V=t=>{var s=h(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Oe},get checked(){return L()},closeOnSelect:!1,get onCheckedChange(){return I()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_foldUnchanged_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(se,t=>{A()&&t(V)})}var F=E(se,2);{var oe=t=>{var s=h(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Me},get checked(){return U()},closeOnSelect:!1,get onCheckedChange(){return q()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_wrapLines_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(F,t=>{B()&&t(oe)})}var x=E(F,2);{var p=t=>{var s=h(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return ze},get checked(){return N()},closeOnSelect:!1,get onCheckedChange(){return Q()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_splitView_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(x,t=>{H()&&t(p)})}var b=E(x,2);{var W=t=>{var s=h(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return ye},get checked(){return G()},closeOnSelect:!1,get onCheckedChange(){return J()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_diffIndicators_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(b,t=>{j()&&t(W)})}l(e,w)};let A=r(a,"showFold",7,!0),L=r(a,"foldEnabled",7,!1),I=r(a,"onToggleFold",7),B=r(a,"showWrap",7,!0),U=r(a,"wrapEnabled",7,!1),q=r(a,"onToggleWrap",7),H=r(a,"showSplit",7,!0),N=r(a,"splitEnabled",7,!1),Q=r(a,"onToggleSplit",7),j=r(a,"showDiff",7,!1),G=r(a,"diffEnabled",7,!1),J=r(a,"onToggleDiff",7),K=r(a,"showPreview",7,!1),R=r(a,"previewEnabled",7,!1),X=r(a,"onTogglePreview",7),Y=r(a,"showExpand",7,!1),Z=r(a,"expanded",7,!1),$=r(a,"onToggleExpand",7),ee=r(a,"class",7,""),te=r(a,"size",7,"xs"),ae=r(a,"embedded",7,!1),re=Pe(!1);const ue={xs:"icon-xs",sm:"icon-sm",md:"icon"};var ce={get showFold(){return A()},set showFold(e=!0){A(e),n()},get foldEnabled(){return L()},set foldEnabled(e=!1){L(e),n()},get onToggleFold(){return I()},set onToggleFold(e){I(e),n()},get showWrap(){return B()},set showWrap(e=!0){B(e),n()},get wrapEnabled(){return U()},set wrapEnabled(e=!1){U(e),n()},get onToggleWrap(){return q()},set onToggleWrap(e){q(e),n()},get showSplit(){return H()},set showSplit(e=!0){H(e),n()},get splitEnabled(){return N()},set splitEnabled(e=!1){N(e),n()},get onToggleSplit(){return Q()},set onToggleSplit(e){Q(e),n()},get showDiff(){return j()},set showDiff(e=!1){j(e),n()},get diffEnabled(){return G()},set diffEnabled(e=!1){G(e),n()},get onToggleDiff(){return J()},set onToggleDiff(e){J(e),n()},get showPreview(){return K()},set showPreview(e=!1){K(e),n()},get previewEnabled(){return R()},set previewEnabled(e=!1){R(e),n()},get onTogglePreview(){return X()},set onTogglePreview(e){X(e),n()},get showExpand(){return Y()},set showExpand(e=!1){Y(e),n()},get expanded(){return Z()},set expanded(e=!1){Z(e),n()},get onToggleExpand(){return $()},set onToggleExpand(e){$(e),n()},get class(){return ee()},set class(e=""){ee(e),n()},get size(){return te()},set size(e="xs"){te(e),n()},get embedded(){return ae()},set embedded(e=!1){ae(e),n()},$set:pe,$on:(e,w)=>be(a,e,w)},fe=h(),_e=c(fe);{var ve=e=>{ge(e)},he=e=>{var w=h(),z=c(w);v(z,()=>Ie,(ne,y)=>{y(ne,{get open(){return M(re)},set open(D){Ee(re,D,!0)},children:(D,se)=>{var V=qe(),F=c(V);{const x=(p,b)=>{let W=()=>(b?.()).props;var t=Ue();ke(t,()=>({class:"contents",...W()}));var s=Se(t);{let i=le(()=>_.ui_viewSettings_trigger_tooltip()),d=le(()=>_.ui_viewSettings_trigger_tooltip());Ve(s,{variant:"ghost-light",get size(){return ue[te()]},get tooltip(){return M(i)},tooltipSide:"bottom",get"aria-label"(){return M(d)},get"aria-expanded"(){return M(re)},get class(){return ee()},"data-testid":"view-settings-trigger",children:(g,f)=>{Ce(g,{get icon(){return De},size:"xs"})},$$slots:{default:!0}})}Te(t),l(p,t)};v(F,()=>Ae,(p,b)=>{b(p,{child:x,$$slots:{child:!0}})})}var oe=E(F,2);{let x=le(()=>_.ui_dropdownMenu_ariaLabel());v(oe,()=>Le,(p,b)=>{b(p,{align:"end",class:"w-56 p-3!",get"aria-label"(){return M(x)},children:(W,t)=>{ge(W)},$$slots:{default:!0}})})}l(D,V)},$$slots:{default:!0}})}),l(e,w)};m(_e,e=>{ae()?e(ve):e(he,-1)})}return l(de,fe),xe(ce)}export{He as V};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{fF as U,Ik as o,ny as x,m0 as F,lT as G,sT as K}from"./
|
|
1
|
+
import{fF as U,Ik as o,ny as x,m0 as F,lT as G,sT as K}from"./Dk1_0x0Q.js";import{g as q,G as j,dS as V,cG as N,dr as w,dC as E,dN as M,cB as Y,aB as $}from"./CArqGgyL.js";import{l as z,R as J,E as Q}from"./CIqnL4UD.js";function X(e){return!e.retiredAt&&!e.pendingDeleteAt&&e.status!=="deleted"}function k(e){const t=new Date(e.lastActivity??e.updatedAt??e.createdAt).getTime()||0,s=e.messages.at(-1)?.timestamp,r=s&&new Date(s).getTime()||0;return Math.max(t,r)}function we(e){const t=e.filter(X).map(s=>({agent:s,activity:k(s),created:new Date(s.createdAt).getTime()||0})).sort((s,r)=>r.activity-s.activity||r.created-s.created||String(s.agent.id).localeCompare(String(r.agent.id)));return t.find(({agent:s})=>U(s)==="topLevel")?.agent??t[0]?.agent??null}const p="__chief__",L="New chat";function Z(e){const t=e?.trim();return!t||t===L||t==="New chat with Assistant"||t==="New chat with Intent"||t==="Chief of Staff"||t.startsWith("New thread ")}function ee(e){const t=e.name?.trim();if(e.nameExplicitlySet&&t)return t;const r=e.messages.find(l=>l.role==="user")??e.messages[0],c=r?q(r).trim():"";return!t||Z(t)?c||L:c||t}const te="chief-of-staff",se=6,W="## Assistant Runtime Identity\n\nYou are Intent's built-in Assistant. Operate at the app level with `ws.app.*` tools: manage workspaces, settings, specialists, navigation, and cross-workspace agents. You are not a repository coding agent. Treat generic coding-agent, workspace, spec, task, and delegation instructions as subordinate to this role.\n\nWhen the user requests repository work, create or open the appropriate workspace and hand the work to the appropriate specialist. Once you have enough repository or PR information, act through the app-level proposal flow instead of merely promising to verify, prepare, or hand off the work.\n\nShow workspaces, notes, files, agent conversations and repository links beside your conversation when they help the user. Share ordinary Markdown links to notes (intent://local/note/<noteId> or intent://local/<workspaceId>/note/<noteId>) workspace links (intent://local/workspace/<workspaceId>), workspace file and agent links, and HTTPS repository URLs; clicking opens a closable content panel while keeping chat visible. To show content automatically, call `ws.app.ui.navigate` with the same link or /workspace/<workspaceId>. Calling `ws.app.workspaces.open` also shows that workspace beside chat unless the user requests a new window. Each conversation has its own panel history. Workspaces show the same detail and agent chat as Home’s Workspaces tab. Earlier content remains available in that conversation’s panel header picker. Creating a note alone does not open it: explicitly navigate when you want to show it.\n\nWhen the user asks to transfer a project between devices, find the source workspace with `ws.app.workspaces.list` and call `ws.app.workspaces.transfer(id, { destination })`. Pass the user's destination name as the hint, or omit it so they can choose a saved device in the inline card. The source is the device serving this assistant conversation. The tool only proposes the transfer: wait for approval or cancellation in the card, and report completion only after the proposal is applied.";function be(e){const t=e?.trim();return t?`${W}
|
|
2
2
|
|
|
3
3
|
${t}`:W}const re=o.createSelector((e,t)=>{const s=e.backgroundHooks?.byWorkspaceId?.[t];return s?x(s.hooks):[]}),oe=o.createSelector((e,t)=>e.backgroundHooks?.byWorkspaceId?.[t]?.snapshotStatus??"loading"),O=o.createSelector((e,t)=>e.scriptMonitor?.byWorkspaceId[t]??F),Ae=o.createSelector((e,t,s)=>{const r=O.select(e,t);return r.status==="unsupported"?[]:r.monitors.filter(c=>c.agentId===s)}),u=o.createSelector((e,t,s)=>{const r=K(t,s);return e.agentSubscriptionUI.entries[r]??G}),ne=o.createSelector((e,t,s)=>u.select(e,t,s).subscriptions),ae=o.createSelector((e,t,s)=>u.select(e,t,s).eventSubscriptions??[]),ce=o.createSelector((e,t,s)=>u.select(e,t,s).delegationGroups),ve=o.createSelector((e,t,s)=>u.select(e,t,s).agentStatuses),ye=o.createSelector((e,t,s)=>u.select(e,t,s).waitingState),Ce=o.createSelector((e,t,s)=>u.select(e,t,s).wokenUpInfo);function ie(e){return[...new Set(e.filter(Boolean))]}const Te=o.createSelector((e,t,s)=>{const r=u.select(e,t,s),c=[],l=new Set,i=n=>{for(const a of ie(n))l.has(a)||(l.add(a),c.push(a))},h=[...r.subscriptions].sort((n,a)=>n.createdAt.localeCompare(a.createdAt)||n.id.localeCompare(a.id));for(const n of h)n.delegationGroup?.awaitMode!=="all"&&i(n.actorIds);const g=new Map;for(const n of r.delegationGroups)n.awaitMode==="all"&&g.set(n.groupId,n);for(const n of g.values())i(n.expectedAgentIds);for(const n of h){const a=n.delegationGroup;a?.awaitMode==="all"&&!g.has(a.groupId)&&i(a.expectedAgentIds)}const d=new Set;for(const n of r.delegationGroups){for(const a of n.completedAgentIds)d.add(a);for(const a of n.deletedAgentIds)d.add(a);for(const[a,f]of Object.entries(n.agentStatuses))f==="completed"&&d.add(a)}for(const[n,a]of Object.entries(r.agentStatuses))a==="completed"&&d.add(n);const A=e.agentSessions?.byAgentId??{},v=new Set([...d].filter(n=>{const a=A[n];return!a||!j(V(a))})),y=new Map(c.map((n,a)=>[n,a])),C=n=>{const a=A[n];if(!a)return 2;if(a.attentionRequestKind==="blocker")return 0;if(a.attentionRequestKind==="discussion")return 1;if(v.has(n))return 4;const f=String(a.status).toLowerCase();return f==="responding"||f==="active"||f==="processing"?2:3},T=c.filter(n=>!v.has(n)).sort((n,a)=>C(n)-C(a)||(y.get(n)??0)-(y.get(a)??0));return{visible:r.snapshotStatus==="failed"||r.waitingState==="completed"||c.length>0||r.wokenUpInfo!==null,count:T.length,participantAgentIds:T}}),We=o.createSelector((e,t,s)=>u.select(e,t,s).snapshotStatus),Ne=o.createSelector((e,t)=>{const s=`${t}:`,r=[];for(const c of Object.keys(e.agentSubscriptionUI.entries))c.startsWith(s)&&r.push(c.slice(s.length));return r});o.createSelector((e,t,s)=>{const r=ce.select(e,t,s);let c=0,l=0;for(const i of r)c+=i.expectedAgentIds.length,l+=i.completedAgentIds.length+i.deletedAgentIds.length;return{total:c,completed:l}});const Ee=o.createSelector(e=>{const t=z.select(e);if(!t||!J.select(e))return[];const s=new Set;for(const r of Q.select(e,t)){const c=r.panes.find(l=>l.id===r.activePaneId);c?.type==="agent"&&c.agentId&&s.add(c.agentId)}return[...s].map(r=>({wsId:t,agentId:r}))}),P="pinned",le=64;function I(e){return e.trim().toLocaleLowerCase()}function R(e){return e===P}function Me(e,t){const s=e.trim();if(s.length===0)return{ok:!1,error:"empty"};if([...s].length>le)return{ok:!1,error:"tooLong"};const r=I(s);return r===P?{ok:!1,error:"reserved"}:t.some(c=>I(c)===r)?{ok:!1,error:"duplicate"}:{ok:!0,label:s}}function de(e){const t=new Map;for(const s of e){if(typeof s!="string"||R(s))continue;const r=s.trim();if(r.length===0)continue;const c=I(r);t.has(c)||t.set(c,s)}return[...t.values()].sort((s,r)=>s.localeCompare(r,void 0,{sensitivity:"base"}))}function _(e){const s=e.workspaceAgents?.byWorkspaceId?.[p]?.agentIds,r=s&&s.length>0?new Set(s.map(i=>String(i))):null,c=e.agentSessions?.agentIdsByWorkspace?.[p]??[],l=c.length>0?c.map(i=>e.agentSessions?.byAgentId?.[i]).filter(i=>!!i):Object.values(e.agentSessions?.byAgentId??{}).filter(i=>i.workspaceId===p);return r?l.filter(i=>r.has(String(i.id))):l}function D(e){return e.metadata?.specialist===te&&e.metadata?.chiefPromptVersion===se}function B(e){return Math.max(e.messages.length,e.messageCount??0)}function S(e){return{agentId:e.id,title:ee(e),isActive:e.isStreaming===!0||e.isProcessing===!0||e.isResponding===!0,messageCount:B(e),pinned:e.pinned===!0,retired:!!e.retiredAt}}function b(e){return _(e).filter(t=>!t.retiredAt)}function m(e,t){return k(t)-k(e)}const Le=o.createSelector(e=>e.sidebarNav.panelItem),Oe=o.createSelector(e=>e.sidebarNav.onboardingActive),Pe=o.createSelector(e=>e.sidebarNav.showCreateModal),Re=o.createSelector(e=>e.sidebarNav.createModalUsesHomeRepository),_e=o.createSelector(e=>e.sidebarNav.createModalPrefillRequest),H=o.createSelector(e=>N.select(e)?.capabilities.workspaceLabels===1),De=o.createSelector((e,t)=>w.select(e,t)?.label??null),Be=o.createSelector(e=>de(E.select(e).map(t=>t.label))),pe=["id","label"],He=o.createSelector((e,t)=>H.select(e)&&M.select(e,t,pe)!==null),ue=o.createSelector(e=>N.select(e)?.capabilities.workspaceAutoArchiveOptOut===1),ge=o.createSelector(e=>(e.sidebarNav.autoArchiveIdleAfterDays??0)>0),Ue=o.createSelector((e,t)=>w.select(e,t)?.autoArchiveDisabled===!0),fe=["id","autoArchiveDisabled"],xe=o.createSelector((e,t)=>{if(!ue.select(e)||!ge.select(e))return!1;const s=w.select(e,t);return!s||s.isRemote===!0||s.environmentConfig?.type==="remote"?!1:M.select(e,t,fe)!==null}),Fe=o.createSelector(e=>e.sidebarNav.pinnedWorkspaceIds),Ge=o.createSelector(e=>H.select(e)?E.select(e).filter(t=>R(t.label)).map(t=>t.id):e.sidebarNav.pinnedWorkspaceIds),Ke=o.createSelector((e,t)=>e.sidebarNav.multiSelectSelectedTabIdsByWorkspaceId[t]??["overview"]),qe=o.createSelector((e,t)=>e.sidebarNav.noteOrderByWorkspaceId[t]??[]),je=o.createSelector((e,t)=>e.sidebarNav.collapsedNoteIdsByWorkspaceId[t]??[]),Ve=o.createSelector((e,t)=>e.sidebarNav.expandedNoteIdsByWorkspaceId?.[t]??[]),Ye=o.createSelector(e=>e.sidebarNav.chiefActiveAgentId),$e=o.createSelector((e,t)=>{const s=e.agentSessions.byAgentId[t];if(s?.workspaceId!==p)return{hooks:0,monitors:0,subscriptions:0};const r=oe.select(e,p)==="ready"?re.select(e,p).filter(d=>d.agentId===t&&(d.state==="scheduled"||d.state==="running")).length:s.waitingOnHooks?.length??0,c=Y.select(e,p)==="ready"?$.select(e,p,t).filter(d=>d.state==="active").length:s.waitingOnPrMonitors?.length??0,l=O.select(e,p),i=l.status==="unsupported"?0:l.status==="ready"?l.monitors.filter(d=>d.agentId===t&&d.state==="active").length:s.waitingOnScriptMonitors?.length??0,h=s.isWaitingForOtherAgents===!1?0:s.waitingForAgentIds?.length??(ne.select(e,p,t).length||(s.isWaitingForOtherAgents?1:0)),g=ae.select(e,p,t).filter(d=>d.subscriberAgentId===t).length;return{hooks:r,monitors:c+i,subscriptions:h+g}}),ze=o.createSelector(e=>e.sidebarNav.statsOverlayOpen),he=o.createSelector(e=>b(e).sort((t,s)=>+(s.pinned===!0)-+(t.pinned===!0)||m(t,s)).map(S)),Se=o.createSelector(e=>_(e).filter(t=>!!t.retiredAt).sort(m).map(S)),Je=o.createSelector(e=>[...he.select(e),...Se.select(e)]),Qe=o.createSelector(e=>{const t=b(e).filter(D).sort(m)[0];return t?S(t):null}),Xe=o.createSelector(e=>{const t=b(e).filter(s=>B(s)===0&&!s.lastMessageId&&D(s)).sort(m)[0];return t?S(t):null});export{Oe as A,Le as B,se as C,L as D,Ge as E,Se as F,Xe as G,O as H,Pe as I,ze as J,We as K,Ne as L,ye as M,Ce as N,Ue as O,P,je as Q,Ve as R,De as S,Be as T,qe as U,Me as V,le as W,te as a,p as b,be as c,X as d,Te as e,ve as f,ne as g,Je as h,R as i,$e as j,re as k,oe as l,xe as m,He as n,Ye as o,he as p,_e as q,we as r,Ae as s,Re as t,Qe as u,ce as v,Ee as w,H as x,Fe as y,Ke as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aR as a,aP as m,aQ as i,m as y,a0 as C,l as x,ab as R,Y as T,b3 as k,aJ as N,ad as A,bM as p,bL as l,O as v,bZ as O,w as S,bN as r,aG as W}from"./DYhIMPy1.js";import{B as F}from"./
|
|
1
|
+
import{aR as a,aP as m,aQ as i,m as y,a0 as C,l as x,ab as R,Y as T,b3 as k,aJ as N,ad as A,bM as p,bL as l,O as v,bZ as O,w as S,bN as r,aG as W}from"./DYhIMPy1.js";import{B as F}from"./Dso1_H3c.js";import{C as g}from"./Cl-7Au8R.js";import{be as M}from"./Dk1_0x0Q.js";function U(t,s,B,f,G,L){let E=a;a&&m();var e=null;a&&i.nodeType===y&&(e=i,m());var u=a?i:t,b=v,_=new F(u,!1);C(()=>{const n=s()||null;var w=n==="svg"?S:void 0;if(n===null){_.ensure(null,null),r(!0);return}return _.ensure(n,c=>{if(n){var h=a;if(e=a?e:R(n,w),T(e,e),f){var d=null;a&&k(n)&&e.append(d=document.createComment(""));var o=a?N(e):e.appendChild(A());a&&(o===null?p(!1):l(o)),g(b),f(e,o),d?.remove(),g(null)}v.nodes.end=e,h||c.before(e)}a&&l(c)}),r(!0),()=>{n&&r(!1)}},x),O(()=>{r(!0)}),E&&(p(!0),l(u))}const I=Symbol("workspace-route-context");function P(t){return t&&t!=="new"?M(t):null}function V(t,s){return t?.startsWith("/workspace/")?P(s):null}function X(){try{return W(I)}catch{return}}export{I as W,P as a,U as e,X as g,V as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Ut}from"./CNf_ONa3.js";import{s as Kt}from"./B4CT3ZnO.js";import{b as f,C as Tt,a_ as Zt,V as jt,aZ as Wt,U as qt,b0 as Ht,Y as Qt,X as tt,ay as F,z as Xt,r as Jt,$ as $t,am as te,aU as ee,ab as se,aG as ie,aT as re,p as ae,_ as ne,a1 as oe,aP as ce,aW as le,bh as he}from"./BKjGGpm1.js";var Ct=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],u=[1,10],y=[1,11],g=[1,12],k=[1,30],C=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],O=[1,19],N=[1,28],I=[1,29],x=[1,20],D=[1,18],L=[1,21],w=[1,22],Ot=[2,6],h=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],W=[43,51,53,54,55,74,75],q=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],xt=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},s(a,Ot,{1:[2,1]}),s(h,[2,3]),s(h,[2,4]),s(h,[2,5]),s(h,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(h,[2,26]),s(h,[2,27]),s(h,[2,28]),s(h,[2,29]),s(h,[2,30]),s(h,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(h,[2,36]),s(h,[2,37]),s(h,[2,38]),s(h,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:x,53:D,54:L,55:w},{10:51,43:O,51:x,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:x,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(h,[2,23]),s(h,[2,24]),s(h,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},{12:q,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:q,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(h,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(h,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(Nt,[2,82]),s(Nt,[2,83]),s(h,[2,31]),s(h,Ot),{6:st,9:it,35:90,45:xt,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:q,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(h,[2,45],{45:B}),{6:st,9:it,35:95,45:xt,50:rt},s(h,[2,32]),{10:97,36:96,43:O,51:x,53:D,54:L,55:w},s(h,[2,51]),s(h,[2,52]),s(h,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:x,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(h,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(h,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(h,[2,40]),{12:q,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(h,[2,46]),{10:115,20:[1,114],43:O,51:x,53:D,54:L,55:w},s(vt,[2,34]),s(h,[2,7]),s(h,[2,84]),s(h,[2,85]),s(h,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(h,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:q,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(h,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(h,[2,19]),s(h,[2,22],{16:[1,131],45:B}),s(h,[2,33]),s(h,[2,10]),{12:[1,132],45:B},s(h,[2,9]),s(yt,[2,73]),s(h,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(h,[2,20]),s(h,[2,8]),s(h,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(lt+1)+`:
|
|
1
|
+
import{g as Ut}from"./DiUyyFSb.js";import{s as Kt}from"./gVcm9LZ1.js";import{b as f,C as Tt,a_ as Zt,V as jt,aZ as Wt,U as qt,b0 as Ht,Y as Qt,X as tt,ay as F,z as Xt,r as Jt,$ as $t,am as te,aU as ee,ab as se,aG as ie,aT as re,p as ae,_ as ne,a1 as oe,aP as ce,aW as le,bh as he}from"./D0BUPqIH.js";var Ct=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],u=[1,10],y=[1,11],g=[1,12],k=[1,30],C=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],O=[1,19],N=[1,28],I=[1,29],x=[1,20],D=[1,18],L=[1,21],w=[1,22],Ot=[2,6],h=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],W=[43,51,53,54,55,74,75],q=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],xt=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},s(a,Ot,{1:[2,1]}),s(h,[2,3]),s(h,[2,4]),s(h,[2,5]),s(h,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(h,[2,26]),s(h,[2,27]),s(h,[2,28]),s(h,[2,29]),s(h,[2,30]),s(h,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(h,[2,36]),s(h,[2,37]),s(h,[2,38]),s(h,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:x,53:D,54:L,55:w},{10:51,43:O,51:x,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:x,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(h,[2,23]),s(h,[2,24]),s(h,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},{12:q,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:q,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(h,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(h,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(Nt,[2,82]),s(Nt,[2,83]),s(h,[2,31]),s(h,Ot),{6:st,9:it,35:90,45:xt,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:q,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(h,[2,45],{45:B}),{6:st,9:it,35:95,45:xt,50:rt},s(h,[2,32]),{10:97,36:96,43:O,51:x,53:D,54:L,55:w},s(h,[2,51]),s(h,[2,52]),s(h,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:x,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(h,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(h,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(h,[2,40]),{12:q,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(h,[2,46]),{10:115,20:[1,114],43:O,51:x,53:D,54:L,55:w},s(vt,[2,34]),s(h,[2,7]),s(h,[2,84]),s(h,[2,85]),s(h,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(h,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:q,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(h,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(h,[2,19]),s(h,[2,22],{16:[1,131],45:B}),s(h,[2,33]),s(h,[2,10]),{12:[1,132],45:B},s(h,[2,9]),s(yt,[2,73]),s(h,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(h,[2,20]),s(h,[2,8]),s(h,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(lt+1)+`:
|
|
2
2
|
`+m.showPosition()+`
|
|
3
3
|
Expecting `+ut.join(", ")+", got '"+(this.terminals_[E]||E)+"'":St="Parse error on line "+(lt+1)+": Unexpected "+(E==Lt?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(St,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:mt,expected:ut})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(T[0]){case 1:d.push(E),_.push(m.yytext),t.push(m.yylloc),d.push(T[1]),E=null,Dt=m.yyleng,e=m.yytext,lt=m.yylineno,mt=m.yylloc;break;case 2:if(R=this.productions_[T[1]][1],U.$=_[_.length-R],U._$={first_line:t[t.length-(R||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(R||1)].first_column,last_column:t[t.length-1].last_column},Pt&&(U._$.range=[t[t.length-(R||1)].range[0],t[t.length-1].range[1]]),Et=this.performAction.apply(U,[e,Dt,lt,Y.yy,T[1],_,t].concat(Yt)),typeof Et<"u")return Et;R&&(d=d.slice(0,-1*R*2),_=_.slice(0,-1*R),t=t.slice(0,-1*R)),d.push(this.productions_[T[1]][0]),_.push(U.$),t.push(U._$),Vt=$[d[d.length-2]][d[d.length-1]],d.push(Vt);break;case 3:return!0}}return!0},"parse")},Gt=(function(){var G={EOF:1,parseError:f(function(l,d){if(this.yy.parser)this.yy.parser.parseError(l,d);else throw new Error(l)},"parseError"),setInput:f(function(n,l){return this.yy=l||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var l=n.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:f(function(n){var l=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===i.length?this.yylloc.first_column:0)+i[i.length-d.length].length-d[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(n){this.unput(this.match.slice(n))},"less"),pastInput:f(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var n=this.pastInput(),l=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as g,bq as h,bo as v,by as w,b as C}from"./
|
|
1
|
+
import{t as g,bq as h,bo as v,by as w,b as C}from"./Dso1_H3c.js";import{bs as T,a5 as u,bl as l,bS as _,bA as c,b_ as A,bO as p,W as O,bn as S,aA as j,aB as q}from"./DYhIMPy1.js";var B=q('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><div class="text-center"><p class="text-lg font-medium text-foreground"> </p> <p class="text-sm"> </p> <p class="text-xs mt-4 text-subtle"> </p></div></div>');function I(n,a){if(new.target)return g({component:I,...n});T(a,!0);let e=h(a,"tab",7);var m={get tab(){return e()},set tab(t){e(t),j()},$set:w,$on:(t,r)=>C(a,t,r)},s=B(),o=u(s),b=u(o),d=l(b,!0),i=_(b,2),x=l(i,!0),f=_(i,2),y=l(f,!0);return c(o),c(s),A((t,r)=>{p(d,e().title),p(x,t),p(y,r)},[()=>v.layout_panelContent_typeLabel({type:e().type}),()=>v.layout_overviewTab_notImplemented_label()]),O(n,s),S(m)}export{I as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as F,bq as L,bo as H,a_ as B,by as G,bs as dt,b as J,bu as nt}from"./
|
|
1
|
+
import{t as F,bq as L,bo as H,a_ as B,by as G,bs as dt,b as J,bu as nt}from"./Dso1_H3c.js";import{bs as K,cd as lt,ca as z,c5 as ct,a5 as T,be as D,b$ as M,b_ as h,bO as _,W as l,bH as U,aD as e,bS as C,bA as q,bn as N,bV as it,aA as R,c9 as u,aB as b,bl as S,ay as pt}from"./DYhIMPy1.js";import{C as ut}from"./03PfIO_9.js";import{f as V}from"./m5UczIQR.js";import{k as bt}from"./nd4329YU.js";import{Ik as W,dp as vt,dm as kt,dq as _t}from"./Dk1_0x0Q.js";var gt=b('<p class="p-2 text-xs text-subtle" data-testid="hook-script-content-too-large"> </p>'),ft=b('<div class="min-h-0 min-w-0 flex-1 overflow-auto" data-testid="hook-script-content-script"><!></div>'),mt=b('<span class="text-xs font-medium text-danger"> </span> <pre class="whitespace-pre-wrap break-all rounded bg-danger-background/10 p-2 font-mono text-xs text-danger"> </pre>',1),ht=b('<pre class="whitespace-pre-wrap break-all rounded bg-muted/40 p-2 font-mono text-xs text-subtle"> </pre>'),xt=b('<p class="text-xs text-subtle"> </p>'),wt=b('<div class="flex min-h-0 min-w-0 flex-1 flex-col gap-2 overflow-auto" data-testid="hook-script-content-logs"><!> <!></div>'),It=b('<div class="flex h-full min-h-0 min-w-0 flex-col gap-3 overflow-hidden" data-testid="hook-script-content"><div class="flex shrink-0 border-b border-border" role="tablist"><!> <!></div> <!></div>');function Q(x,c){if(new.target)return F({component:Q,...x});K(c,!0);const g=()=>nt($,"$hooks$",w),[w,E]=dt();let s=L(c,"workspaceId",7),I=L(c,"hookId",7);const d=lt(s());z(()=>d.set(s()));const $=bt(d),v=u(()=>g().find(t=>t.hookId===I()));z(()=>{if(!s())return;const t=s();return ct(()=>{W.dispatch(vt(t)),W.dispatch(kt(t))}),()=>W.dispatch(_t(t))});let k=it("script");var X={get workspaceId(){return s()},set workspaceId(t){s(t),R()},get hookId(){return I()},set hookId(t){I(t),R()},$set:G,$on:(t,r)=>J(c,t,r)},A=It(),O=T(A),j=T(O);{let t=u(()=>e(k)==="script"),r=u(()=>e(k)==="script"?"border-primary-ink text-primary-ink":"border-transparent text-subtle");V(j,{variant:"ghost",role:"tab",get"aria-selected"(){return e(t)},get class(){return`border-b-2 px-3 py-1.5 text-sm ${e(r)??""}`},onclick:()=>U(k,"script"),children:(p,y)=>{D();var i=M();h(a=>_(i,a),[()=>H.chat_backgroundHooks_modal_scriptTab_label()]),l(p,i)},$$slots:{default:!0}})}var Y=C(j,2);{let t=u(()=>e(k)==="logs"),r=u(()=>e(k)==="logs"?"border-primary-ink text-primary-ink":"border-transparent text-subtle");V(Y,{variant:"ghost",role:"tab",get"aria-selected"(){return e(t)},get class(){return`border-b-2 px-3 py-1.5 text-sm ${e(r)??""}`},onclick:()=>U(k,"logs"),children:(p,y)=>{D();var i=M();h(a=>_(i,a),[()=>H.chat_backgroundHooks_modal_logsTab_label()]),l(p,i)},$$slots:{default:!0}})}q(O);var Z=C(O,2);{var tt=t=>{var r=ft(),p=T(r);{var y=a=>{var f=gt(),o=S(f,!0);h(n=>_(o,n),[()=>H.chat_backgroundHooks_modal_codeTooLarge_description({size:(e(v).codeBytes??0).toLocaleString()})]),l(a,f)},i=a=>{{let f=u(()=>e(v)?.code??"");ut(a,{get code(){return e(f)},language:"javascript",noMargin:!0})}};B(p,a=>{e(v)?.codeOmitted?a(y):a(i,-1)})}q(r),l(t,r)},et=t=>{var r=wt(),p=T(r);{var y=o=>{var n=mt(),m=pt(n),P=S(m,!0),at=C(m,2),ot=S(at,!0);h(st=>{_(P,st),_(ot,e(v).lastError)},[()=>H.chat_backgroundHooks_modal_lastError_label()]),l(o,n)};B(p,o=>{e(v)?.lastError&&o(y)})}var i=C(p,2);{var a=o=>{var n=ht(),m=S(n,!0);h(()=>_(m,e(v).lastLogs)),l(o,n)},f=o=>{var n=xt(),m=S(n,!0);h(P=>_(m,P),[()=>H.chat_backgroundHooks_modal_noLogs_description()]),l(o,n)};B(i,o=>{e(v)?.lastLogs?o(a):o(f,-1)})}q(r),l(t,r)};B(Z,t=>{e(k)==="script"?t(tt):t(et,-1)})}q(A),l(x,A);var rt=N(X);return E(),rt}var $t=b('<div class="h-full min-h-0 min-w-0 max-w-full overflow-hidden p-4" data-testid="hook-script-panel"><!></div>');function yt(x,c){if(new.target)return F({component:yt,...x});K(c,!0);let g=L(c,"tab",7),w=L(c,"workspaceId",7);var E={get tab(){return g()},set tab(d){g(d),R()},get workspaceId(){return w()},set workspaceId(d){w(d),R()},$set:G,$on:(d,$)=>J(c,d,$)},s=$t(),I=T(s);{let d=u(()=>g().workspaceId??w()),$=u(()=>g().hookId??"");Q(I,{get workspaceId(){return e(d)},get hookId(){return e($)}})}return q(s),l(x,s),N(E)}export{yt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Oe=Object.defineProperty;var ke=t=>{throw TypeError(t)};var Be=(t,e,s)=>e in t?Oe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var O=(t,e,s)=>Be(t,typeof e!="symbol"?e+"":e,s),ye=(t,e,s)=>e.has(t)||ke("Cannot "+s);var l=(t,e,s)=>(ye(t,e,"read from private field"),s?s.call(t):e.get(t)),k=(t,e,s)=>e.has(t)?ke("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s);var Y=(t,e,s)=>(ye(t,e,"access private method"),s);import{t as oe,a_ as ue,by as de,b as ce,bt as Re,bq as i,br as De}from"./
|
|
1
|
+
var Oe=Object.defineProperty;var ke=t=>{throw TypeError(t)};var Be=(t,e,s)=>e in t?Oe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var O=(t,e,s)=>Be(t,typeof e!="symbol"?e+"":e,s),ye=(t,e,s)=>e.has(t)||ke("Cannot "+s);var l=(t,e,s)=>(ye(t,e,"read from private field"),s?s.call(t):e.get(t)),k=(t,e,s)=>e.has(t)?ke("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s);var Y=(t,e,s)=>(ye(t,e,"access private method"),s);import{t as oe,a_ as ue,by as de,b as ce,bt as Re,bq as i,br as De}from"./Dso1_H3c.js";import{ao as N,aZ as He,aL as Je,bh as je,c9 as m,aD as b,bH as w,bs as le,a7 as he,ay as ee,W as D,bn as fe,bo as Ge,bS as Ve,aA as o,a5 as Se,bf as We,bA as Pe,aB as Le,b_ as Fe,aC as ge}from"./DYhIMPy1.js";import{c as Ue}from"./B3KrGqdQ.js";import{i as Ze,v as Ke,l as Qe}from"./CnMdEUN9.js";import{H as Xe}from"./GY5YfSD1.js";import{s as Ce}from"./BfNeIJAh.js";import{h as Ie,av as Ye,bM as se,l as $e,ad as et,aE as _e,aF as we,a$ as tt,bh as rt,aS as nt,aT as xe,aJ as C,bn as st}from"./m5UczIQR.js";import"./BWYr8u9e.js";import{i as at}from"./BeP4UORy.js";var it="font-weight: bold",ot="font-weight: normal";function qe(t){N?console.warn(`%c[svelte] state_snapshot_uncloneable
|
|
2
2
|
%c${t?`The following properties cannot be cloned with \`$state.snapshot\` — the return value contains the originals:
|
|
3
3
|
|
|
4
4
|
${t}`:"Value cannot be cloned with `$state.snapshot` — the original value was returned"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./
|
|
1
|
+
import{l as e}from"./35OKERyz.js";const t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],a={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:e.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};export{a as conf,m as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./
|
|
1
|
+
import{l as e}from"./35OKERyz.js";const n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:e.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:e.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:e.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:e.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},o={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","satisfies","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/#?[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([dgimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}};export{n as conf,o as language};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as xe}from"./B4CT3ZnO.js";import{p as be}from"./Dr8wriKt.js";import{b as C,a6 as Ce,W as ae,q as ee,aX as we,B as Te,ay as te,b8 as B,aW as Z,a_ as Le,V as $e,b0 as Ae,Y as Fe,U as _e,aZ as Ne,O as Me,ao as ke,r as Ve}from"./BKjGGpm1.js";import{p as ze}from"./DBZdNxOK.js";import{f as O,o as Q}from"./IqoI0Sop.js";function De(t){var a=0,l=t.children,n=l&&l.length;if(!n)a=1;else for(;--n>=0;)a+=l[n].value;t.value=a}function Pe(){return this.eachAfter(De)}function Be(t,a){let l=-1;for(const n of this)t.call(a,n,++l,this);return this}function We(t,a){for(var l=this,n=[l],s,r,h=-1;l=n.pop();)if(t.call(a,l,++h,this),s=l.children)for(r=s.length-1;r>=0;--r)n.push(s[r]);return this}function Ee(t,a){for(var l=this,n=[l],s=[],r,h,d,f=-1;l=n.pop();)if(s.push(l),r=l.children)for(h=0,d=r.length;h<d;++h)n.push(r[h]);for(;l=s.pop();)t.call(a,l,++f,this);return this}function Re(t,a){let l=-1;for(const n of this)if(t.call(a,n,++l,this))return n}function He(t){return this.eachAfter(function(a){for(var l=+t(a.data)||0,n=a.children,s=n&&n.length;--s>=0;)l+=n[s].value;a.value=l})}function Ie(t){return this.eachBefore(function(a){a.children&&a.children.sort(t)})}function Oe(t){for(var a=this,l=qe(a,t),n=[a];a!==l;)a=a.parent,n.push(a);for(var s=n.length;t!==l;)n.splice(s,0,t),t=t.parent;return n}function qe(t,a){if(t===a)return t;var l=t.ancestors(),n=a.ancestors(),s=null;for(t=l.pop(),a=n.pop();t===a;)s=t,t=l.pop(),a=n.pop();return s}function Ge(){for(var t=this,a=[t];t=t.parent;)a.push(t);return a}function Xe(){return Array.from(this)}function Ye(){var t=[];return this.eachBefore(function(a){a.children||t.push(a)}),t}function je(){var t=this,a=[];return t.each(function(l){l!==t&&a.push({source:l.parent,target:l})}),a}function*Ue(){var t=this,a,l=[t],n,s,r;do for(a=l.reverse(),l=[];t=a.pop();)if(yield t,n=t.children)for(s=0,r=n.length;s<r;++s)l.push(n[s]);while(l.length)}function ne(t,a){t instanceof Map?(t=[void 0,t],a===void 0&&(a=Ke)):a===void 0&&(a=Je);for(var l=new Y(t),n,s=[l],r,h,d,f;n=s.pop();)if((h=a(n.data))&&(f=(h=Array.from(h)).length))for(n.children=h,d=f-1;d>=0;--d)s.push(r=h[d]=new Y(h[d])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(et)}function Ze(){return ne(this).eachBefore(Qe)}function Je(t){return t.children}function Ke(t){return Array.isArray(t)?t[1]:null}function Qe(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function et(t){var a=0;do t.height=a;while((t=t.parent)&&t.height<++a)}function Y(t){this.data=t,this.depth=this.height=0,this.parent=null}Y.prototype=ne.prototype={constructor:Y,count:Pe,each:Be,eachAfter:Ee,eachBefore:We,find:Re,sum:He,sort:Ie,path:Oe,ancestors:Ge,descendants:Xe,leaves:Ye,links:je,copy:Ze,[Symbol.iterator]:Ue};function tt(t){if(typeof t!="function")throw new Error;return t}function q(){return 0}function G(t){return function(){return t}}function at(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function oe(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(n-a)/t.value;++d<f;)h=r[d],h.y0=l,h.y1=s,h.x0=a,h.x1=a+=h.value*o}Object.create(Y.prototype);function ce(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(s-l)/t.value;++d<f;)h=r[d],h.x0=a,h.x1=n,h.y0=l,h.y1=l+=h.value*o}var he=(1+Math.sqrt(5))/2;function de(t,a,l,n,s,r){for(var h=[],d=a.children,f,o,u=0,S=0,i=d.length,v,x,g=a.value,p,b,_,$,z,R,N;u<i;){v=s-l,x=r-n;do p=d[S++].value;while(!p&&S<i);for(b=_=p,R=Math.max(x/v,v/x)/(g*t),N=p*p*R,z=Math.max(_/N,N/b);S<i;++S){if(p+=o=d[S].value,o<b&&(b=o),o>_&&(_=o),N=p*p*R,$=Math.max(_/N,N/b),$>z){p-=o;break}z=$}h.push(f={value:p,dice:v<x,children:d.slice(u,S)}),f.dice?oe(f,l,n,s,g?n+=x*p/g:r):ce(f,l,n,g?l+=v*p/g:s,r),g-=p,u=S}return h}var nt=(function t(a){function l(n,s,r,h,d){de(a,n,s,r,h,d)}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);function lt(){var t=nt,a=!1,l=1,n=1,s=[0],r=q,h=q,d=q,f=q,o=q;function u(i){return i.x0=i.y0=0,i.x1=l,i.y1=n,i.eachBefore(S),s=[0],a&&i.eachBefore(at),i}function S(i){var v=s[i.depth],x=i.x0+v,g=i.y0+v,p=i.x1-v,b=i.y1-v;p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),i.x0=x,i.y0=g,i.x1=p,i.y1=b,i.children&&(v=s[i.depth+1]=r(i)/2,x+=o(i)-v,g+=h(i)-v,p-=d(i)-v,b-=f(i)-v,p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),t(i,x,g,p,b))}return u.round=function(i){return arguments.length?(a=!!i,u):a},u.size=function(i){return arguments.length?(l=+i[0],n=+i[1],u):[l,n]},u.tile=function(i){return arguments.length?(t=tt(i),u):t},u.padding=function(i){return arguments.length?u.paddingInner(i).paddingOuter(i):u.paddingInner()},u.paddingInner=function(i){return arguments.length?(r=typeof i=="function"?i:G(+i),u):r},u.paddingOuter=function(i){return arguments.length?u.paddingTop(i).paddingRight(i).paddingBottom(i).paddingLeft(i):u.paddingTop()},u.paddingTop=function(i){return arguments.length?(h=typeof i=="function"?i:G(+i),u):h},u.paddingRight=function(i){return arguments.length?(d=typeof i=="function"?i:G(+i),u):d},u.paddingBottom=function(i){return arguments.length?(f=typeof i=="function"?i:G(+i),u):f},u.paddingLeft=function(i){return arguments.length?(o=typeof i=="function"?i:G(+i),u):o},u}(function t(a){function l(n,s,r,h,d){if((f=n._squarify)&&f.ratio===a)for(var f,o,u,S,i=-1,v,x=f.length,g=n.value;++i<x;){for(o=f[i],u=o.children,S=o.value=0,v=u.length;S<v;++S)o.value+=u[S].value;o.dice?oe(o,s,r,h,g?r+=(d-r)*o.value/g:d):ce(o,s,r,g?s+=(h-s)*o.value/g:h,d),g-=o.value}else n._squarify=f=de(a,n,s,r,h,d),f.ratio=a}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);var E,ue=(E=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=Le,this.getAccTitle=$e,this.setDiagramTitle=Ae,this.getDiagramTitle=Fe,this.getAccDescription=_e,this.setAccDescription=Ne}getNodes(){return this.nodes}getConfig(){const a=Me,l=ae();return ee({...a.treemap,...l.treemap??{}})}addNode(a,l){this.nodes.push(a),this.levels.set(a,l),l===0&&(this.outerNodes.push(a),this.root??=a)}getRoot(){return{name:"",children:this.outerNodes}}addClass(a,l){const n=this.classes.get(a)??{id:a,styles:[],textStyles:[]},s=l.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");s&&s.forEach(r=>{ke(r)&&(n?.textStyles?n.textStyles.push(r):n.textStyles=[r]),n?.styles?n.styles.push(r):n.styles=[r]}),this.classes.set(a,n)}getClasses(){return this.classes}getStylesForClass(a){return this.classes.get(a)?.styles??[]}clear(){Ve(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},C(E,"TreeMapDB"),E);function pe(t){if(!t.length)return[];const a=[],l=[];return t.forEach(n=>{const s={name:n.name,children:n.type==="Leaf"?void 0:[]};for(s.classSelector=n?.classSelector,n?.cssCompiledStyles&&(s.cssCompiledStyles=n.cssCompiledStyles),n.type==="Leaf"&&n.value!==void 0&&(s.value=n.value);l.length>0&&l[l.length-1].level>=n.level;)l.pop();if(l.length===0)a.push(s);else{const r=l[l.length-1].node;r.children?r.children.push(s):r.children=[s]}n.type!=="Leaf"&&l.push({node:s,level:n.level})}),a}C(pe,"buildHierarchy");var st=C((t,a)=>{be(t,a);const l=[];for(const r of t.TreemapRows??[])r.$type==="ClassDefStatement"&&a.addClass(r.className??"",r.styleText??"");for(const r of t.TreemapRows??[]){const h=r.item;if(!h)continue;const d=r.indent?parseInt(r.indent):0,f=rt(h),o=h.classSelector?a.getStylesForClass(h.classSelector):[],u=o.length>0?o:void 0,S={level:d,name:f,type:h.$type,value:h.value,classSelector:h.classSelector,cssCompiledStyles:u};l.push(S)}const n=pe(l),s=C((r,h)=>{for(const d of r)a.addNode(d,h),d.children&&d.children.length>0&&s(d.children,h+1)},"addNodesRecursively");s(n,0)},"populate"),rt=C(t=>t.name?String(t.name):"","getItemName"),fe={parser:{yy:void 0},parse:C(async t=>{try{const l=await ze("treemap",t);te.debug("Treemap AST:",l);const n=fe.parser?.yy;if(!(n instanceof ue))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");st(l,n)}catch(a){throw te.error("Error parsing treemap:",a),a}},"parse")},it=10,W=10,X=25,ot=C((t,a,l,n)=>{const s=n.db,r=s.getConfig(),h=r.padding??it,d=s.getDiagramTitle(),f=s.getRoot(),{themeVariables:o}=ae();if(!f)return;const u=d?30:0,S=we(a),i=r.nodeWidth?r.nodeWidth*W:960,v=r.nodeHeight?r.nodeHeight*W:500,x=i,g=v+u;S.attr("viewBox",`0 0 ${x} ${g}`),Te(S,g,x,r.useMaxWidth);let p;try{const e=r.valueFormat||",";if(e==="$0,0")p=C(c=>"$"+O(",")(c),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const c=/\.\d+/.exec(e),m=c?c[0]:"";p=C(w=>"$"+O(","+m)(w),"valueFormat")}else if(e.startsWith("$")){const c=e.substring(1);p=C(m=>"$"+O(c||"")(m),"valueFormat")}else p=O(e)}catch(e){te.error("Error creating format function:",e),p=O(",")}const b=Q().range(["transparent",o.cScale0,o.cScale1,o.cScale2,o.cScale3,o.cScale4,o.cScale5,o.cScale6,o.cScale7,o.cScale8,o.cScale9,o.cScale10,o.cScale11]),_=Q().range(["transparent",o.cScalePeer0,o.cScalePeer1,o.cScalePeer2,o.cScalePeer3,o.cScalePeer4,o.cScalePeer5,o.cScalePeer6,o.cScalePeer7,o.cScalePeer8,o.cScalePeer9,o.cScalePeer10,o.cScalePeer11]),$=Q().range([o.cScaleLabel0,o.cScaleLabel1,o.cScaleLabel2,o.cScaleLabel3,o.cScaleLabel4,o.cScaleLabel5,o.cScaleLabel6,o.cScaleLabel7,o.cScaleLabel8,o.cScaleLabel9,o.cScaleLabel10,o.cScaleLabel11]);d&&S.append("text").attr("x",x/2).attr("y",u/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(d);const z=S.append("g").attr("transform",`translate(0, ${u})`).attr("class","treemapContainer"),R=ne(f).sum(e=>e.value??0).sort((e,c)=>(c.value??0)-(e.value??0)),le=lt().size([i,v]).paddingTop(e=>e.children&&e.children.length>0?X+W:0).paddingInner(h).paddingLeft(e=>e.children&&e.children.length>0?W:0).paddingRight(e=>e.children&&e.children.length>0?W:0).paddingBottom(e=>e.children&&e.children.length>0?W:0).round(!0)(R),me=le.descendants().filter(e=>e.children&&e.children.length>0),H=z.selectAll(".treemapSection").data(me).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",X).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),H.append("clipPath").attr("id",(e,c)=>`clip-section-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",X),H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,c)=>`treemapSection section${c}`).attr("fill",e=>b(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>_(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const c=B({cssCompiledStyles:e.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),H.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",X/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("clip-path",(e,c)=>`url(#clip-section-${a}-${c})`).attr("style",e=>{if(e.depth===0)return"display: none;";const c="dominant-baseline: middle; font-size: 12px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).each(function(e){if(e.depth===0)return;const c=Z(this),m=e.data.name;c.text(m);const w=e.x1-e.x0,L=6;let T;r.showValues!==!1&&e.value?T=w-10-30-10-L:T=w-L-6;const y=Math.max(15,T),M=c.node();if(M.getComputedTextLength()>y){let V=m;for(;V.length>0;){if(V=m.substring(0,V.length-1),V.length===0){c.text("..."),M.getComputedTextLength()>y&&c.text("");break}if(c.text(V+"..."),M.getComputedTextLength()<=y)break}}}),r.showValues!==!1&&H.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",X/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?p(e.value):"").attr("font-style","italic").attr("style",e=>{if(e.depth===0)return"display: none;";const c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")});const se=le.leaves(),A=se.length>20,ge=A?16:38,j=A?14:28,D=A?4:8,I=A?4:6,J=A?2:4,re=A?8:10,K=A?1:2,U=z.selectAll(".treemapLeafGroup").data(se).enter().append("g").attr("class",(e,c)=>`treemapNode treemapLeafGroup leaf${c}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);U.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("style",e=>B({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("stroke-width",3),U.append("clipPath").attr("id",(e,c)=>`clip-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),U.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>{const c=`text-anchor: middle; dominant-baseline: middle; font-size: ${ge}px;fill:`+$(e.data.name)+";",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).attr("clip-path",(e,c)=>`url(#clip-${a}-${c})`).text(e=>e.data.name).each(function(e){const c=Z(this),m=e.x1-e.x0,w=e.y1-e.y0,L=c.node(),T=m-2*J,P=w-2*J;if(T<re||P<re){c.style("display","none");return}let y=parseInt(c.style("font-size"),10);const M=.6;for(;L.getComputedTextLength()>T&&y>D;)y--,c.style("font-size",`${y}px`);let F=Math.max(I,Math.min(j,Math.round(y*M))),k=y+K+F;for(;k>P&&y>D&&(y--,F=Math.max(I,Math.min(j,Math.round(y*M))),!(F<I&&y===D));)c.style("font-size",`${y}px`),k=y+K+F;c.style("font-size",`${y}px`),A?(y<D||P<D)&&c.style("display","none"):(L.getComputedTextLength()>T||y<D||P<y)&&c.style("display","none")}),r.showValues!==!1&&U.append("text").attr("class","treemapValue").attr("x",c=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",c=>{const m=`text-anchor: middle; dominant-baseline: hanging; font-size: ${j}px;fill:`+$(c.data.name)+";",w=B({cssCompiledStyles:c.data.cssCompiledStyles});return m+w.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,m)=>`url(#clip-${a}-${m})`).text(c=>c.value?p(c.value):"").each(function(c){const m=Z(this),w=this.parentNode;if(!w){m.style("display","none");return}const L=Z(w).select(".treemapLabel");if(L.empty()||L.style("display")==="none"){m.style("display","none");return}const T=parseFloat(L.style("font-size")),y=Math.max(I,Math.min(j,Math.round(T*.6)));m.style("font-size",`${y}px`);const F=(c.y1-c.y0)/2+T/2+K;m.attr("y",F);const k=c.x1-c.x0,ie=c.y1-c.y0-4,ve=k-2*J;m.node().getComputedTextLength()>ve||F+y>ie||y<I?m.style("display","none"):m.style("display",null)});const ye=r.diagramPadding??8;xe(S,ye,"flowchart",r?.useMaxWidth||!1)},"draw"),ct=C(function(t,a){return a.db.getClasses()},"getClasses"),ht={draw:ot,getClasses:ct},dt={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ut=C(({treemap:t}={})=>{const a=Ce(),l=ae(),n=ee(a,l.themeVariables),s=ee(dt,t),r=s.titleColor??n.titleColor,h=s.labelColor??n.textColor,d=s.valueColor??n.textColor;return`
|
|
1
|
+
import{s as xe}from"./gVcm9LZ1.js";import{p as be}from"./Bvt4TKMh.js";import{b as C,a6 as Ce,W as ae,q as ee,aX as we,B as Te,ay as te,b8 as B,aW as Z,a_ as Le,V as $e,b0 as Ae,Y as Fe,U as _e,aZ as Ne,O as Me,ao as ke,r as Ve}from"./D0BUPqIH.js";import{p as ze}from"./CgWmg0h0.js";import{f as O,o as Q}from"./Ossh6uZu.js";function De(t){var a=0,l=t.children,n=l&&l.length;if(!n)a=1;else for(;--n>=0;)a+=l[n].value;t.value=a}function Pe(){return this.eachAfter(De)}function Be(t,a){let l=-1;for(const n of this)t.call(a,n,++l,this);return this}function We(t,a){for(var l=this,n=[l],s,r,h=-1;l=n.pop();)if(t.call(a,l,++h,this),s=l.children)for(r=s.length-1;r>=0;--r)n.push(s[r]);return this}function Ee(t,a){for(var l=this,n=[l],s=[],r,h,d,f=-1;l=n.pop();)if(s.push(l),r=l.children)for(h=0,d=r.length;h<d;++h)n.push(r[h]);for(;l=s.pop();)t.call(a,l,++f,this);return this}function Re(t,a){let l=-1;for(const n of this)if(t.call(a,n,++l,this))return n}function He(t){return this.eachAfter(function(a){for(var l=+t(a.data)||0,n=a.children,s=n&&n.length;--s>=0;)l+=n[s].value;a.value=l})}function Ie(t){return this.eachBefore(function(a){a.children&&a.children.sort(t)})}function Oe(t){for(var a=this,l=qe(a,t),n=[a];a!==l;)a=a.parent,n.push(a);for(var s=n.length;t!==l;)n.splice(s,0,t),t=t.parent;return n}function qe(t,a){if(t===a)return t;var l=t.ancestors(),n=a.ancestors(),s=null;for(t=l.pop(),a=n.pop();t===a;)s=t,t=l.pop(),a=n.pop();return s}function Ge(){for(var t=this,a=[t];t=t.parent;)a.push(t);return a}function Xe(){return Array.from(this)}function Ye(){var t=[];return this.eachBefore(function(a){a.children||t.push(a)}),t}function je(){var t=this,a=[];return t.each(function(l){l!==t&&a.push({source:l.parent,target:l})}),a}function*Ue(){var t=this,a,l=[t],n,s,r;do for(a=l.reverse(),l=[];t=a.pop();)if(yield t,n=t.children)for(s=0,r=n.length;s<r;++s)l.push(n[s]);while(l.length)}function ne(t,a){t instanceof Map?(t=[void 0,t],a===void 0&&(a=Ke)):a===void 0&&(a=Je);for(var l=new Y(t),n,s=[l],r,h,d,f;n=s.pop();)if((h=a(n.data))&&(f=(h=Array.from(h)).length))for(n.children=h,d=f-1;d>=0;--d)s.push(r=h[d]=new Y(h[d])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(et)}function Ze(){return ne(this).eachBefore(Qe)}function Je(t){return t.children}function Ke(t){return Array.isArray(t)?t[1]:null}function Qe(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function et(t){var a=0;do t.height=a;while((t=t.parent)&&t.height<++a)}function Y(t){this.data=t,this.depth=this.height=0,this.parent=null}Y.prototype=ne.prototype={constructor:Y,count:Pe,each:Be,eachAfter:Ee,eachBefore:We,find:Re,sum:He,sort:Ie,path:Oe,ancestors:Ge,descendants:Xe,leaves:Ye,links:je,copy:Ze,[Symbol.iterator]:Ue};function tt(t){if(typeof t!="function")throw new Error;return t}function q(){return 0}function G(t){return function(){return t}}function at(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function oe(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(n-a)/t.value;++d<f;)h=r[d],h.y0=l,h.y1=s,h.x0=a,h.x1=a+=h.value*o}Object.create(Y.prototype);function ce(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(s-l)/t.value;++d<f;)h=r[d],h.x0=a,h.x1=n,h.y0=l,h.y1=l+=h.value*o}var he=(1+Math.sqrt(5))/2;function de(t,a,l,n,s,r){for(var h=[],d=a.children,f,o,u=0,S=0,i=d.length,v,x,g=a.value,p,b,_,$,z,R,N;u<i;){v=s-l,x=r-n;do p=d[S++].value;while(!p&&S<i);for(b=_=p,R=Math.max(x/v,v/x)/(g*t),N=p*p*R,z=Math.max(_/N,N/b);S<i;++S){if(p+=o=d[S].value,o<b&&(b=o),o>_&&(_=o),N=p*p*R,$=Math.max(_/N,N/b),$>z){p-=o;break}z=$}h.push(f={value:p,dice:v<x,children:d.slice(u,S)}),f.dice?oe(f,l,n,s,g?n+=x*p/g:r):ce(f,l,n,g?l+=v*p/g:s,r),g-=p,u=S}return h}var nt=(function t(a){function l(n,s,r,h,d){de(a,n,s,r,h,d)}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);function lt(){var t=nt,a=!1,l=1,n=1,s=[0],r=q,h=q,d=q,f=q,o=q;function u(i){return i.x0=i.y0=0,i.x1=l,i.y1=n,i.eachBefore(S),s=[0],a&&i.eachBefore(at),i}function S(i){var v=s[i.depth],x=i.x0+v,g=i.y0+v,p=i.x1-v,b=i.y1-v;p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),i.x0=x,i.y0=g,i.x1=p,i.y1=b,i.children&&(v=s[i.depth+1]=r(i)/2,x+=o(i)-v,g+=h(i)-v,p-=d(i)-v,b-=f(i)-v,p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),t(i,x,g,p,b))}return u.round=function(i){return arguments.length?(a=!!i,u):a},u.size=function(i){return arguments.length?(l=+i[0],n=+i[1],u):[l,n]},u.tile=function(i){return arguments.length?(t=tt(i),u):t},u.padding=function(i){return arguments.length?u.paddingInner(i).paddingOuter(i):u.paddingInner()},u.paddingInner=function(i){return arguments.length?(r=typeof i=="function"?i:G(+i),u):r},u.paddingOuter=function(i){return arguments.length?u.paddingTop(i).paddingRight(i).paddingBottom(i).paddingLeft(i):u.paddingTop()},u.paddingTop=function(i){return arguments.length?(h=typeof i=="function"?i:G(+i),u):h},u.paddingRight=function(i){return arguments.length?(d=typeof i=="function"?i:G(+i),u):d},u.paddingBottom=function(i){return arguments.length?(f=typeof i=="function"?i:G(+i),u):f},u.paddingLeft=function(i){return arguments.length?(o=typeof i=="function"?i:G(+i),u):o},u}(function t(a){function l(n,s,r,h,d){if((f=n._squarify)&&f.ratio===a)for(var f,o,u,S,i=-1,v,x=f.length,g=n.value;++i<x;){for(o=f[i],u=o.children,S=o.value=0,v=u.length;S<v;++S)o.value+=u[S].value;o.dice?oe(o,s,r,h,g?r+=(d-r)*o.value/g:d):ce(o,s,r,g?s+=(h-s)*o.value/g:h,d),g-=o.value}else n._squarify=f=de(a,n,s,r,h,d),f.ratio=a}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);var E,ue=(E=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=Le,this.getAccTitle=$e,this.setDiagramTitle=Ae,this.getDiagramTitle=Fe,this.getAccDescription=_e,this.setAccDescription=Ne}getNodes(){return this.nodes}getConfig(){const a=Me,l=ae();return ee({...a.treemap,...l.treemap??{}})}addNode(a,l){this.nodes.push(a),this.levels.set(a,l),l===0&&(this.outerNodes.push(a),this.root??=a)}getRoot(){return{name:"",children:this.outerNodes}}addClass(a,l){const n=this.classes.get(a)??{id:a,styles:[],textStyles:[]},s=l.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");s&&s.forEach(r=>{ke(r)&&(n?.textStyles?n.textStyles.push(r):n.textStyles=[r]),n?.styles?n.styles.push(r):n.styles=[r]}),this.classes.set(a,n)}getClasses(){return this.classes}getStylesForClass(a){return this.classes.get(a)?.styles??[]}clear(){Ve(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},C(E,"TreeMapDB"),E);function pe(t){if(!t.length)return[];const a=[],l=[];return t.forEach(n=>{const s={name:n.name,children:n.type==="Leaf"?void 0:[]};for(s.classSelector=n?.classSelector,n?.cssCompiledStyles&&(s.cssCompiledStyles=n.cssCompiledStyles),n.type==="Leaf"&&n.value!==void 0&&(s.value=n.value);l.length>0&&l[l.length-1].level>=n.level;)l.pop();if(l.length===0)a.push(s);else{const r=l[l.length-1].node;r.children?r.children.push(s):r.children=[s]}n.type!=="Leaf"&&l.push({node:s,level:n.level})}),a}C(pe,"buildHierarchy");var st=C((t,a)=>{be(t,a);const l=[];for(const r of t.TreemapRows??[])r.$type==="ClassDefStatement"&&a.addClass(r.className??"",r.styleText??"");for(const r of t.TreemapRows??[]){const h=r.item;if(!h)continue;const d=r.indent?parseInt(r.indent):0,f=rt(h),o=h.classSelector?a.getStylesForClass(h.classSelector):[],u=o.length>0?o:void 0,S={level:d,name:f,type:h.$type,value:h.value,classSelector:h.classSelector,cssCompiledStyles:u};l.push(S)}const n=pe(l),s=C((r,h)=>{for(const d of r)a.addNode(d,h),d.children&&d.children.length>0&&s(d.children,h+1)},"addNodesRecursively");s(n,0)},"populate"),rt=C(t=>t.name?String(t.name):"","getItemName"),fe={parser:{yy:void 0},parse:C(async t=>{try{const l=await ze("treemap",t);te.debug("Treemap AST:",l);const n=fe.parser?.yy;if(!(n instanceof ue))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");st(l,n)}catch(a){throw te.error("Error parsing treemap:",a),a}},"parse")},it=10,W=10,X=25,ot=C((t,a,l,n)=>{const s=n.db,r=s.getConfig(),h=r.padding??it,d=s.getDiagramTitle(),f=s.getRoot(),{themeVariables:o}=ae();if(!f)return;const u=d?30:0,S=we(a),i=r.nodeWidth?r.nodeWidth*W:960,v=r.nodeHeight?r.nodeHeight*W:500,x=i,g=v+u;S.attr("viewBox",`0 0 ${x} ${g}`),Te(S,g,x,r.useMaxWidth);let p;try{const e=r.valueFormat||",";if(e==="$0,0")p=C(c=>"$"+O(",")(c),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const c=/\.\d+/.exec(e),m=c?c[0]:"";p=C(w=>"$"+O(","+m)(w),"valueFormat")}else if(e.startsWith("$")){const c=e.substring(1);p=C(m=>"$"+O(c||"")(m),"valueFormat")}else p=O(e)}catch(e){te.error("Error creating format function:",e),p=O(",")}const b=Q().range(["transparent",o.cScale0,o.cScale1,o.cScale2,o.cScale3,o.cScale4,o.cScale5,o.cScale6,o.cScale7,o.cScale8,o.cScale9,o.cScale10,o.cScale11]),_=Q().range(["transparent",o.cScalePeer0,o.cScalePeer1,o.cScalePeer2,o.cScalePeer3,o.cScalePeer4,o.cScalePeer5,o.cScalePeer6,o.cScalePeer7,o.cScalePeer8,o.cScalePeer9,o.cScalePeer10,o.cScalePeer11]),$=Q().range([o.cScaleLabel0,o.cScaleLabel1,o.cScaleLabel2,o.cScaleLabel3,o.cScaleLabel4,o.cScaleLabel5,o.cScaleLabel6,o.cScaleLabel7,o.cScaleLabel8,o.cScaleLabel9,o.cScaleLabel10,o.cScaleLabel11]);d&&S.append("text").attr("x",x/2).attr("y",u/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(d);const z=S.append("g").attr("transform",`translate(0, ${u})`).attr("class","treemapContainer"),R=ne(f).sum(e=>e.value??0).sort((e,c)=>(c.value??0)-(e.value??0)),le=lt().size([i,v]).paddingTop(e=>e.children&&e.children.length>0?X+W:0).paddingInner(h).paddingLeft(e=>e.children&&e.children.length>0?W:0).paddingRight(e=>e.children&&e.children.length>0?W:0).paddingBottom(e=>e.children&&e.children.length>0?W:0).round(!0)(R),me=le.descendants().filter(e=>e.children&&e.children.length>0),H=z.selectAll(".treemapSection").data(me).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",X).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),H.append("clipPath").attr("id",(e,c)=>`clip-section-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",X),H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,c)=>`treemapSection section${c}`).attr("fill",e=>b(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>_(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const c=B({cssCompiledStyles:e.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),H.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",X/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("clip-path",(e,c)=>`url(#clip-section-${a}-${c})`).attr("style",e=>{if(e.depth===0)return"display: none;";const c="dominant-baseline: middle; font-size: 12px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).each(function(e){if(e.depth===0)return;const c=Z(this),m=e.data.name;c.text(m);const w=e.x1-e.x0,L=6;let T;r.showValues!==!1&&e.value?T=w-10-30-10-L:T=w-L-6;const y=Math.max(15,T),M=c.node();if(M.getComputedTextLength()>y){let V=m;for(;V.length>0;){if(V=m.substring(0,V.length-1),V.length===0){c.text("..."),M.getComputedTextLength()>y&&c.text("");break}if(c.text(V+"..."),M.getComputedTextLength()<=y)break}}}),r.showValues!==!1&&H.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",X/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?p(e.value):"").attr("font-style","italic").attr("style",e=>{if(e.depth===0)return"display: none;";const c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")});const se=le.leaves(),A=se.length>20,ge=A?16:38,j=A?14:28,D=A?4:8,I=A?4:6,J=A?2:4,re=A?8:10,K=A?1:2,U=z.selectAll(".treemapLeafGroup").data(se).enter().append("g").attr("class",(e,c)=>`treemapNode treemapLeafGroup leaf${c}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);U.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("style",e=>B({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("stroke-width",3),U.append("clipPath").attr("id",(e,c)=>`clip-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),U.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>{const c=`text-anchor: middle; dominant-baseline: middle; font-size: ${ge}px;fill:`+$(e.data.name)+";",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).attr("clip-path",(e,c)=>`url(#clip-${a}-${c})`).text(e=>e.data.name).each(function(e){const c=Z(this),m=e.x1-e.x0,w=e.y1-e.y0,L=c.node(),T=m-2*J,P=w-2*J;if(T<re||P<re){c.style("display","none");return}let y=parseInt(c.style("font-size"),10);const M=.6;for(;L.getComputedTextLength()>T&&y>D;)y--,c.style("font-size",`${y}px`);let F=Math.max(I,Math.min(j,Math.round(y*M))),k=y+K+F;for(;k>P&&y>D&&(y--,F=Math.max(I,Math.min(j,Math.round(y*M))),!(F<I&&y===D));)c.style("font-size",`${y}px`),k=y+K+F;c.style("font-size",`${y}px`),A?(y<D||P<D)&&c.style("display","none"):(L.getComputedTextLength()>T||y<D||P<y)&&c.style("display","none")}),r.showValues!==!1&&U.append("text").attr("class","treemapValue").attr("x",c=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",c=>{const m=`text-anchor: middle; dominant-baseline: hanging; font-size: ${j}px;fill:`+$(c.data.name)+";",w=B({cssCompiledStyles:c.data.cssCompiledStyles});return m+w.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,m)=>`url(#clip-${a}-${m})`).text(c=>c.value?p(c.value):"").each(function(c){const m=Z(this),w=this.parentNode;if(!w){m.style("display","none");return}const L=Z(w).select(".treemapLabel");if(L.empty()||L.style("display")==="none"){m.style("display","none");return}const T=parseFloat(L.style("font-size")),y=Math.max(I,Math.min(j,Math.round(T*.6)));m.style("font-size",`${y}px`);const F=(c.y1-c.y0)/2+T/2+K;m.attr("y",F);const k=c.x1-c.x0,ie=c.y1-c.y0-4,ve=k-2*J;m.node().getComputedTextLength()>ve||F+y>ie||y<I?m.style("display","none"):m.style("display",null)});const ye=r.diagramPadding??8;xe(S,ye,"flowchart",r?.useMaxWidth||!1)},"draw"),ct=C(function(t,a){return a.db.getClasses()},"getClasses"),ht={draw:ot,getClasses:ct},dt={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ut=C(({treemap:t}={})=>{const a=Ce(),l=ae(),n=ee(a,l.themeVariables),s=ee(dt,t),r=s.titleColor??n.titleColor,h=s.labelColor??n.textColor,d=s.valueColor??n.textColor;return`
|
|
2
2
|
.treemapNode.section {
|
|
3
3
|
stroke: ${s.sectionStrokeColor};
|
|
4
4
|
stroke-width: ${s.sectionStrokeWidth};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as ue,bq as b,a_ as I,by as fe,b as pe,bo as y}from"./
|
|
1
|
+
import{t as ue,bq as b,a_ as I,by as fe,b as pe,bo as y}from"./Dso1_H3c.js";import{bs as ge,a7 as X,ay as E,W as _,bn as ve,aA as m,a5 as V,aD as e,bS as j,bl as Z,b_ as z,bO as ee,bA as G,aB as P,bf as be,c9 as i}from"./DYhIMPy1.js";import{n as _e,v as N,u as f,w as O}from"./CnMdEUN9.js";import{F as me,bp as he,bo as xe}from"./DAGiwOmW.js";import{f as ye,am as ke}from"./m5UczIQR.js";import{o as Se}from"./DVWbUaqE.js";import{t as H}from"./Cl-7Au8R.js";import{a as te,p as we,b as ze,d as Pe}from"./D8UOq-cZ.js";var $e=P('<span aria-hidden="true"></span>'),Ie=P('<span class="absolute -right-0.5 -bottom-0.5 inline-flex items-center justify-center rounded-full bg-background text-foreground" aria-hidden="true"><!></span>'),Me=P('<span><span data-presence-avatar-tile=""><!></span> <!> <!></span>'),Ae=P('<!> <span class="sr-only"> </span>',1),Ce=P('<span class="inline-flex shrink-0 items-center justify-center rounded-full border border-background bg-muted px-1 font-medium leading-none text-muted-foreground"> </span>'),Le=P('<span role="group" data-presence-avatar-stack=""><!> <!></span>');function Ve(J,u){if(new.target)return ue({component:Ve,...J});ge(u,!0);const R=(t,a=be)=>{const k=i(()=>Pe(a())),L=i(()=>a().online===!1);var d=Me();let o;var r=V(d);let v;var $=V(r);{let n=i(()=>ze(a()));Se($,{fill:!0,get avatarUrl(){return a().avatarUrl},get label(){return e(n)}})}G(r);var S=j(r,2);{var D=n=>{var s=$e();z(()=>{N(s,1,`absolute -right-0.5 -top-0.5 h-1.5 w-1.5 rounded-full border border-background ${a().online?"bg-success":"bg-muted-foreground"}`),f(s,"data-presence-status",a().online?"online":"offline")}),_(n,s)};I(S,n=>{l()==="stack"&&a().hostRole&&a().online!==void 0&&n(D)})}var Y=j(S,2);{var c=n=>{var s=Ie();let h;var w=V(s);{let x=i(()=>a().identity.provider==="gitlab"?he:xe);me(w,{get icon(){return e(x)}})}G(s),z(x=>{f(s,"data-presence-identity-provider",a().identity.provider),f(s,"data-presence-identity-host",a().identity.host),h=O(s,"",h,{width:`${e(q)??""}px`,height:`${e(q)??""}px`,"font-size":x})},[()=>`${Math.round(e(q)*.8)}px`]),_(n,s)};I(Y,n=>{l()==="stack"&&a().identity&&n(c)})}G(d),z(n=>{N(d,1,`relative inline-flex shrink-0 rounded-full border ${l()==="tile"?"border-border":`border-background ${e(k)?ne[e(k)]:""}`}`),f(d,"data-presence-avatar",a().principalId),f(d,"data-presence-ring",l()==="stack"?e(k)??void 0:void 0),f(d,"data-presence-offline",e(L)||void 0),f(d,"data-presence-self",a().self||void 0),o=O(d,"",o,{width:`${g()??""}px`,height:`${g()??""}px`}),N(r,1,`inline-flex h-full w-full items-center justify-center overflow-hidden rounded-full font-medium leading-none ${l()==="tile"?"bg-muted text-muted-foreground":"text-primary-foreground"} ${e(L)||l()==="tile"&&a().viewing===!1?"grayscale":""}`),v=O(r,"",v,{"font-size":e(K),"background-color":n})},[()=>l()==="stack"?we(a().principalId):void 0]),_(t,d)};let p=b(u,"people",7),M=b(u,"maxVisible",7,3),g=b(u,"size",7,16),l=b(u,"variant",7,"stack"),A=b(u,"side",7,"bottom"),B=b(u,"decorative",7,!1),C=b(u,"action",7),F=b(u,"class",7,"");const ae=i(()=>p().slice(0,M())),T=i(()=>Math.max(0,p().length-M())),U=i(()=>p().filter(t=>!t.self&&t.online!==!1).length),W=i(()=>p().filter(t=>!t.self&&t.online===!1).length),re=i(()=>e(U)===1?y.presence_avatarStack_people_one():e(U)>1?y.presence_avatarStack_people_many({count:H(e(U))}):e(W)===0?y.presence_avatarStack_onlyYou_label():e(W)===1?y.presence_avatarStack_offline_one():y.presence_avatarStack_offline_many({count:H(e(W))})),K=i(()=>`${Math.max(8,Math.round(g()*.55))}px`),q=i(()=>Math.max(9,Math.round(g()*.5))),ne={owner:"ring-2 ring-info",member:"ring-2 ring-success",guest:"ring-2 ring-warning-ink",offline:"ring-2 ring-muted-foreground/40"};var se={get people(){return p()},set people(t){p(t),m()},get maxVisible(){return M()},set maxVisible(t=3){M(t),m()},get size(){return g()},set size(t=16){g(t),m()},get variant(){return l()},set variant(t="stack"){l(t),m()},get side(){return A()},set side(t="bottom"){A(t),m()},get decorative(){return B()},set decorative(t=!1){B(t),m()},get action(){return C()},set action(t){C(t),m()},get class(){return F()},set class(t=""){F(t),m()},$set:fe,$on:(t,a)=>pe(u,t,a)},Q=X(),ie=E(Q);{var oe=t=>{var a=Le(),k=V(a);_e(k,17,()=>e(ae),o=>o.principalId,(o,r)=>{var v=X(),$=E(v);{var S=c=>{const n=i(()=>{const{label:s,onSelect:h}=C()(e(r));return{personLabel:s,onSelect:h}});{let s=i(()=>e(n).onSelect?void 0:!0),h=i(()=>e(n).onSelect??void 0);ye(c,{variant:"plain",wrapContent:!1,class:"h-auto rounded-full p-0 aria-disabled:opacity-100",get tooltip(){return e(n).personLabel},get tooltipSide(){return A()},get"aria-label"(){return e(n).personLabel},get"aria-disabled"(){return e(s)},get onclick(){return e(h)},get"data-presence-person-button"(){return e(r).principalId},children:(w,x)=>{R(w,()=>e(r))},$$slots:{default:!0}})}},D=c=>{R(c,()=>e(r))},Y=c=>{{let n=i(()=>te(e(r)));ke(c,{get content(){return e(n)},get side(){return A()},children:(s,h)=>{var w=Ae(),x=E(w);R(x,()=>e(r));var le=j(x,2),de=Z(le,!0);z(ce=>ee(de,ce),[()=>te(e(r))]),_(s,w)},$$slots:{default:!0}})}};I($,c=>{C()?c(S):B()?c(D,1):c(Y,-1)})}_(o,v)});var L=j(k,2);{var d=o=>{var r=Ce();let v;var $=Z(r,!0);z(S=>{f(r,"data-presence-overflow",e(T)),v=O(r,"",v,{"min-width":`${g()??""}px`,height:`${g()??""}px`,"font-size":e(K)}),ee($,S)},[()=>y.presence_avatarStack_more_label({count:H(e(T))})]),_(o,r)};I(L,o=>{e(T)>0&&o(d)})}G(a),z(o=>{N(a,1,`inline-flex items-center ${l()==="tile"?"flex-wrap gap-1.25":"-space-x-1"} ${F()??""}`),f(a,"aria-label",o),f(a,"data-presence-count",p().length)},[()=>l()==="tile"?y.workspace_peopleTile_title():e(re)]),_(t,a)};I(ie,t=>{p().length>0&&t(oe)})}return _(J,Q),ve(se)}export{Ve as P};
|