@intent-hq/web 2.385.2 → 2.386.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/assets/0.DSZNT9Vm.css +1 -0
- package/web/app/immutable/chunks/{B5NaFcis.js → -8AxW0IA.js} +3 -3
- package/web/app/immutable/chunks/{CBueLH7U.js → -VR23WhZ.js} +1 -1
- package/web/app/immutable/chunks/{U7dpdlAf.js → 0b3rkAam.js} +1 -1
- package/web/app/immutable/chunks/{sSXTMg2P.js → 0y7aytZM.js} +1 -1
- package/web/app/immutable/chunks/{B6d1Nolc.js → 21kfe-mS.js} +1 -1
- package/web/app/immutable/chunks/{BvMBgdHo.js → 24f6N9l0.js} +1 -1
- package/web/app/immutable/chunks/{DcOkWaeN.js → 2aKRVAvL.js} +1 -1
- package/web/app/immutable/chunks/{IwNEzJ15.js → 3IpMTtMx.js} +1 -1
- package/web/app/immutable/chunks/{SbTG0nwQ.js → 3Kr2ijlK.js} +1 -1
- package/web/app/immutable/chunks/{CD-M_2xD.js → 3LCOBHm6.js} +1 -1
- package/web/app/immutable/chunks/{CTW83wJs.js → 3Qz3qAhk.js} +1 -1
- package/web/app/immutable/chunks/{CU_-vK2M.js → 6SOEgr71.js} +3 -3
- package/web/app/immutable/chunks/{gU2qspu9.js → 77KTvr2w.js} +1 -1
- package/web/app/immutable/chunks/{DAUvP6UD.js → 7EQMYysM.js} +1 -1
- package/web/app/immutable/chunks/{DlU1rxYV.js → 7i0OJtNQ.js} +1 -1
- package/web/app/immutable/chunks/{B6FGs8l2.js → 8jO_MBKF.js} +1 -1
- package/web/app/immutable/chunks/{C50zlWbZ.js → 9AJtSub0.js} +1 -1
- package/web/app/immutable/chunks/{7HiVLHLh.js → 9R_52XLX.js} +1 -1
- package/web/app/immutable/chunks/{DGMrUmNq.js → A3z9XWMi.js} +1 -1
- package/web/app/immutable/chunks/{CIJ-7Xzd.js → B-4i031c.js} +1 -1
- package/web/app/immutable/chunks/{B3IS1jjn.js → B-MjuJTx.js} +2 -2
- package/web/app/immutable/chunks/{BW1iql_y.js → B0kNPCxU.js} +1 -1
- package/web/app/immutable/chunks/{CYSndAne.js → B18ybwa0.js} +1 -1
- package/web/app/immutable/chunks/{pnbUAKkx.js → B1xM1EBM.js} +1 -1
- package/web/app/immutable/chunks/B2LBPAIA.js +1 -0
- package/web/app/immutable/chunks/{DuAAGnM9.js → B2OS2WTh.js} +1 -1
- package/web/app/immutable/chunks/{BjlMkd10.js → B3JbrKDZ.js} +1 -1
- package/web/app/immutable/chunks/{C2F2Vd1P.js → B3OJ_2Dd.js} +1 -1
- package/web/app/immutable/chunks/{-8sNsc56.js → B4F7GG5Q.js} +1 -1
- package/web/app/immutable/chunks/{CrsbEWnE.js → B8foSZsl.js} +1 -1
- package/web/app/immutable/chunks/{deEweluJ.js → B9kUdNbG.js} +1 -1
- package/web/app/immutable/chunks/{BTepRW_m.js → BB-hf8IY.js} +4 -4
- package/web/app/immutable/chunks/{TC7OsYhy.js → BCFB88Wl.js} +1 -1
- package/web/app/immutable/chunks/{jnsEVh0o.js → BCVhFPNJ.js} +1 -1
- package/web/app/immutable/chunks/{DYbZIRJE.js → BCiWc-GH.js} +1 -1
- package/web/app/immutable/chunks/{BD9db4FR.js → BCuI_zgX.js} +1 -1
- package/web/app/immutable/chunks/{D7P3vklT.js → BD7jFvJp.js} +1 -1
- package/web/app/immutable/chunks/{CObW_WD-.js → BDbFQqI8.js} +3 -3
- package/web/app/immutable/chunks/{0pEQEOm6.js → BE08e7Se.js} +1 -1
- package/web/app/immutable/chunks/{HU1Ksz8U.js → BGo6FK-0.js} +1 -1
- package/web/app/immutable/chunks/{CXZbeRE-.js → BHJpo3VA.js} +1 -1
- package/web/app/immutable/chunks/{ClYR_2Js.js → BIcof04i.js} +1 -1
- package/web/app/immutable/chunks/{Clo7aK1n.js → BIkt0YE0.js} +1 -1
- package/web/app/immutable/chunks/{ada9rZfE.js → BKFxm3WK.js} +1 -1
- package/web/app/immutable/chunks/{94vL4WlW.js → BNFvOw36.js} +1 -1
- package/web/app/immutable/chunks/{CzXIAWau.js → BNJkKc31.js} +1 -1
- package/web/app/immutable/chunks/{CTgU1bby.js → BOnTc4ny.js} +1 -1
- package/web/app/immutable/chunks/{7ZsTr9xa.js → BPDyvu9A.js} +1 -1
- package/web/app/immutable/chunks/{c0c_b7yh.js → BPpACIC2.js} +1 -1
- package/web/app/immutable/chunks/{zB9UbdEg.js → BRPJcG-m.js} +1 -1
- package/web/app/immutable/chunks/{C63WwVct.js → BRdQpeCl.js} +1 -1
- package/web/app/immutable/chunks/{DxC0zTSc.js → BUTuN2nE.js} +1 -1
- package/web/app/immutable/chunks/{CWOQ_pUA.js → BVcaPXq9.js} +1 -1
- package/web/app/immutable/chunks/{CoJyxFcH.js → BVyOECUU.js} +1 -1
- package/web/app/immutable/chunks/{DiURwJNX.js → BW2en5Js.js} +1 -1
- package/web/app/immutable/chunks/{BO8Bp7Ht.js → BWI85bGY.js} +1 -1
- package/web/app/immutable/chunks/{rXKOJqUt.js → BXHbm15d.js} +1 -1
- package/web/app/immutable/chunks/{CQMFoUkp.js → BYJh9adv.js} +1 -1
- package/web/app/immutable/chunks/{nw_ZiYCy.js → BYYtBM5R.js} +1 -1
- package/web/app/immutable/chunks/{YHt5oaBn.js → Bax102l4.js} +1 -1
- package/web/app/immutable/chunks/{bKvZbiNk.js → Bb-hI5du.js} +2 -2
- package/web/app/immutable/chunks/{3iG5yoX3.js → Bb8ARnaK.js} +1 -1
- package/web/app/immutable/chunks/{CJB-ebPL.js → BbWnSSTS.js} +1 -1
- package/web/app/immutable/chunks/{B0qb2Ymj.js → BbfEcBPg.js} +1 -1
- package/web/app/immutable/chunks/{CNSshwg_.js → BcYVm7io.js} +1 -1
- package/web/app/immutable/chunks/{DlpH_aW2.js → BdY8OnZP.js} +1 -1
- package/web/app/immutable/chunks/{BrMDbquN.js → BdlYeRHB.js} +2 -2
- package/web/app/immutable/chunks/{Dxd7AQYv.js → BeUuk8D1.js} +1 -1
- package/web/app/immutable/chunks/{Da-Blgd9.js → Bf_4e4N2.js} +1 -1
- package/web/app/immutable/chunks/{BVkAOJlr.js → BhYFIrRM.js} +1 -1
- package/web/app/immutable/chunks/{BWCYowXB.js → BhtJVlVx.js} +1 -1
- package/web/app/immutable/chunks/{0MXBpkLa.js → Bj4j6g-o.js} +1 -1
- package/web/app/immutable/chunks/{BJO0de_7.js → BjdIR-od.js} +1 -1
- package/web/app/immutable/chunks/{DVz0ewou.js → Bk14_fvY.js} +1 -1
- package/web/app/immutable/chunks/{Bc1vJq_Z.js → BlRGZv8u.js} +1 -1
- package/web/app/immutable/chunks/{Bi_Yd73A.js → BmLlDCoW.js} +1 -1
- package/web/app/immutable/chunks/{Ex_x2wO5.js → Bn4F-JIh.js} +1 -1
- package/web/app/immutable/chunks/{Bu-RLSv9.js → BoEcbLG-.js} +1 -1
- package/web/app/immutable/chunks/{DE32K02M.js → BolJpU8l.js} +4 -4
- package/web/app/immutable/chunks/{BwPwF85e.js → BpLxj3s3.js} +1 -1
- package/web/app/immutable/chunks/{D7Dfbf5g.js → BqCTtUhB.js} +1 -1
- package/web/app/immutable/chunks/{CmyAIpbY.js → BqrahRdk.js} +4 -4
- package/web/app/immutable/chunks/{Dval4sTX.js → BrDfJqC4.js} +1 -1
- package/web/app/immutable/chunks/{CCEmXQBN.js → BtMIAxno.js} +1 -1
- package/web/app/immutable/chunks/{CiWHn2aR.js → BthojcF8.js} +2 -2
- package/web/app/immutable/chunks/{DtqPBHQj.js → Btst3lgy.js} +1 -1
- package/web/app/immutable/chunks/{D-rRuAXZ.js → Bu3PKqut.js} +1 -1
- package/web/app/immutable/chunks/{pomj9evG.js → Bv_0mmoe.js} +1 -1
- package/web/app/immutable/chunks/{BQLaE7V5.js → BwVjpKmH.js} +1 -1
- package/web/app/immutable/chunks/{Mko8tFZb.js → BweHPPaS.js} +2 -2
- package/web/app/immutable/chunks/{418Agcsp.js → Bx7gCv2M.js} +1 -1
- package/web/app/immutable/chunks/{B8QvP_8b.js → BxU747mj.js} +1 -1
- package/web/app/immutable/chunks/{kAZ_zPIu.js → ByZL9dMf.js} +1 -1
- package/web/app/immutable/chunks/{B5q4SHo9.js → C1La-Fme.js} +1 -1
- package/web/app/immutable/chunks/{CletI6Pa.js → C21Z9LLF.js} +1 -1
- package/web/app/immutable/chunks/{BgDnzAo4.js → C4M_mNFP.js} +1 -1
- package/web/app/immutable/chunks/{BXJzIaQM.js → C6Wi6O6n.js} +1 -1
- package/web/app/immutable/chunks/{Cv0qomAl.js → C6afU4he.js} +1 -1
- package/web/app/immutable/chunks/{KReSIZSD.js → C6rz0msZ.js} +1 -1
- package/web/app/immutable/chunks/{CPI5xBWX.js → C8TrySMt.js} +1 -1
- package/web/app/immutable/chunks/{DI71nFp4.js → C9ij7Z2h.js} +1 -1
- package/web/app/immutable/chunks/{BY0BGmY0.js → CB8gRmKb.js} +1 -1
- package/web/app/immutable/chunks/{BVl79jmM.js → CDxGu9F5.js} +1 -1
- package/web/app/immutable/chunks/{BRKjDAGC.js → CDxV78M0.js} +1 -1
- package/web/app/immutable/chunks/{BTvTyEgq.js → CFB2mNds.js} +2 -2
- package/web/app/immutable/chunks/{IkcYx7DF.js → CF_a5Llj.js} +1 -1
- package/web/app/immutable/chunks/{OGqbAD_O.js → CFdI48b2.js} +1 -1
- package/web/app/immutable/chunks/{HC_j1BdV.js → CGHwi-2H.js} +1 -1
- package/web/app/immutable/chunks/{CI0C7_h-.js → CGUVvS8r.js} +1 -1
- package/web/app/immutable/chunks/CH-Qi35K.js +1 -0
- package/web/app/immutable/chunks/{BPuz5cN_.js → CIKXOyvw.js} +2 -2
- package/web/app/immutable/chunks/{4g_iHoQm.js → CIoJPvjg.js} +1 -1
- package/web/app/immutable/chunks/{CA4P_FmX.js → CJEwuNO9.js} +1 -1
- package/web/app/immutable/chunks/{Cy9hcA7q.js → CJke1tnU.js} +1 -1
- package/web/app/immutable/chunks/{BgQadJDW.js → CLqqc_hU.js} +1 -1
- package/web/app/immutable/chunks/{DPtj8tX0.js → CM9GoLV5.js} +1 -1
- package/web/app/immutable/chunks/{C9ew0Hx2.js → COBhx_l-.js} +1 -1
- package/web/app/immutable/chunks/{BMnuRHbZ.js → COS4Sgoi.js} +2 -2
- package/web/app/immutable/chunks/{DbqTt-YM.js → COSIRxZC.js} +1 -1
- package/web/app/immutable/chunks/{CPvH5Ru2.js → COlfJVPs.js} +4 -4
- package/web/app/immutable/chunks/{A0KsbysW.js → COsxNPUV.js} +1 -1
- package/web/app/immutable/chunks/{QRUY44Ff.js → CPWMushE.js} +1 -1
- package/web/app/immutable/chunks/{tLFaYuVN.js → CQ5BHnSj.js} +1 -1
- package/web/app/immutable/chunks/{B_75gRww.js → CRUcTVFP.js} +1 -1
- package/web/app/immutable/chunks/{C9p4fddz.js → CSb1CnpN.js} +1 -1
- package/web/app/immutable/chunks/{B5stdxh5.js → CTTICX_5.js} +1 -1
- package/web/app/immutable/chunks/{jBG7W4tL.js → CTqRHXfu.js} +1 -1
- package/web/app/immutable/chunks/{h8JtxU_T.js → CUA9hM4m.js} +1 -1
- package/web/app/immutable/chunks/{BXv1gq_o.js → CUeOEnqq.js} +1 -1
- package/web/app/immutable/chunks/{NC6gsHNQ.js → CW979n9w.js} +1 -1
- package/web/app/immutable/chunks/{FVS6L2WV.js → CY0EK8Cm.js} +3 -3
- package/web/app/immutable/chunks/{C1AUaRa8.js → CYq58ltZ.js} +1 -1
- package/web/app/immutable/chunks/{LQRHF1eM.js → CZ5zON0R.js} +1 -1
- package/web/app/immutable/chunks/{DQT1hnTe.js → C_wfHKmM.js} +1 -1
- package/web/app/immutable/chunks/{BmFHmusU.js → CaHWSiOY.js} +1 -1
- package/web/app/immutable/chunks/{iCWz6IE9.js → CaMRSd1-.js} +1 -1
- package/web/app/immutable/chunks/{DWa-2rkZ.js → CdGl_2eX.js} +1 -1
- package/web/app/immutable/chunks/{C8LrJXqa.js → Cerl373K.js} +1 -1
- package/web/app/immutable/chunks/{CvZTDgJa.js → CfnXjWQL.js} +1 -1
- package/web/app/immutable/chunks/ChKOG1mU.js +3 -0
- package/web/app/immutable/chunks/{CHto7_WH.js → ChOMtuod.js} +1 -1
- package/web/app/immutable/chunks/{CuPx_r7k.js → CjLfgoGI.js} +1 -1
- package/web/app/immutable/chunks/{2ZJE_wyo.js → CnMzOGNL.js} +1 -1
- package/web/app/immutable/chunks/{CmTojxTj.js → CnQVxh95.js} +1 -1
- package/web/app/immutable/chunks/{BuBXySe4.js → Cpgxz5sK.js} +1 -1
- package/web/app/immutable/chunks/{BmC9h1kv.js → Cpw2gXhG.js} +1 -1
- package/web/app/immutable/chunks/{Do2KlQU0.js → CsilY7l9.js} +1 -1
- package/web/app/immutable/chunks/{C-zB-6G6.js → CueOVPTy.js} +1 -1
- package/web/app/immutable/chunks/{VeUh5OMZ.js → CvSLeFQo.js} +1 -1
- package/web/app/immutable/chunks/{COgn_CzG.js → CvusaaYc.js} +1 -1
- package/web/app/immutable/chunks/{BECK4OaG.js → Cwg3XF5F.js} +1 -1
- package/web/app/immutable/chunks/{CDAnHxmJ.js → CyHe7TdT.js} +1 -1
- package/web/app/immutable/chunks/{B2CniqS1.js → D22j4iWy.js} +1 -1
- package/web/app/immutable/chunks/{BSUnflvl.js → D2Tzo4Hp.js} +1 -1
- package/web/app/immutable/chunks/{CMq0sOjt.js → D5A9atQX.js} +2 -2
- package/web/app/immutable/chunks/{CL4ty7oi.js → D5evzUZd.js} +1 -1
- package/web/app/immutable/chunks/{DJPIUVkw.js → D5xlMOwU.js} +1 -1
- package/web/app/immutable/chunks/{2qYrAiyX.js → D6_ybykj.js} +1 -1
- package/web/app/immutable/chunks/{CGYPBD6G.js → D7yetF0v.js} +1 -1
- package/web/app/immutable/chunks/{B5anfoVk.js → D9_wDL10.js} +1 -1
- package/web/app/immutable/chunks/{BhQMKzoM.js → DAI6QH7D.js} +1 -1
- package/web/app/immutable/chunks/{BLKFshyr.js → DAVG7sIL.js} +1 -1
- package/web/app/immutable/chunks/{BCZTn_fp.js → DBwdk2-0.js} +1 -1
- package/web/app/immutable/chunks/{BDOuZgzG.js → DC1xYxUn.js} +1 -1
- package/web/app/immutable/chunks/{TT8yXpG-.js → DDdsJrHq.js} +1 -1
- package/web/app/immutable/chunks/{D_VvdZe2.js → DEKjIPd8.js} +1 -1
- package/web/app/immutable/chunks/{Dvi4g0xk.js → DFKO8V-Y.js} +1 -1
- package/web/app/immutable/chunks/{BSgFpkqa.js → DGdWzkgm.js} +1 -1
- package/web/app/immutable/chunks/{BVuLEX_p.js → DIQ-xR1q.js} +1 -1
- package/web/app/immutable/chunks/{CFmT7rsG.js → DIWzdBfB.js} +1 -1
- package/web/app/immutable/chunks/{DhLHwyRV.js → DIad5c9_.js} +1 -1
- package/web/app/immutable/chunks/{B6eTPmJH.js → DJJ2Xrlq.js} +1 -1
- package/web/app/immutable/chunks/{4PAYwk2I.js → DJb2lMGn.js} +1 -1
- package/web/app/immutable/chunks/{DHcX7CG0.js → DKupjKLn.js} +1 -1
- package/web/app/immutable/chunks/{RHSH5iZ7.js → DNDJdxKs.js} +1 -1
- package/web/app/immutable/chunks/{Dp8FVKoA.js → DOLX5oss.js} +1 -1
- package/web/app/immutable/chunks/{7mo0aYB5.js → DOZ82gYM.js} +1 -1
- package/web/app/immutable/chunks/{lD0hZ5-I.js → DOir9M0E.js} +1 -1
- package/web/app/immutable/chunks/{3uhIXwkT.js → DQBViT5w.js} +1 -1
- package/web/app/immutable/chunks/{Dxfvrgme.js → DQvAX2eX.js} +1 -1
- package/web/app/immutable/chunks/{CgCJQyTf.js → DSDM77x3.js} +1 -1
- package/web/app/immutable/chunks/{O49gK3tp.js → DU1c0itA.js} +1 -1
- package/web/app/immutable/chunks/DWvCfaBg.js +1 -0
- package/web/app/immutable/chunks/{7y3Z0Q49.js → DX2U4Mz9.js} +3 -3
- package/web/app/immutable/chunks/{DLQIjfwi.js → DXDbxM_W.js} +1 -1
- package/web/app/immutable/chunks/{D40Fo-pJ.js → DY1YVoxv.js} +1 -1
- package/web/app/immutable/chunks/{8jMQM9h0.js → DY5rw8pn.js} +1 -1
- package/web/app/immutable/chunks/{BPxN1acN.js → DZSbMOPJ.js} +2 -2
- package/web/app/immutable/chunks/{CCyecAzB.js → DZjSAGjX.js} +1 -1
- package/web/app/immutable/chunks/Da8rtzmJ.js +1 -0
- package/web/app/immutable/chunks/{BdU-kPC9.js → DaOKbar2.js} +2 -2
- package/web/app/immutable/chunks/{CfYakquS.js → DbUDL_oo.js} +1 -1
- package/web/app/immutable/chunks/{DGv69LVd.js → Dbr8gjWS.js} +1 -1
- package/web/app/immutable/chunks/{COWlXo8C.js → DbxqdYAO.js} +3 -3
- package/web/app/immutable/chunks/{6xdvppss.js → DcLVN86K.js} +1 -1
- package/web/app/immutable/chunks/{BqARUxDK.js → DcMTwn77.js} +1 -1
- package/web/app/immutable/chunks/{DhVTc7Ol.js → DdRupUfV.js} +2 -2
- package/web/app/immutable/chunks/{wiGlLVr-.js → Dde9Z_vp.js} +1 -1
- package/web/app/immutable/chunks/{odj5qcEP.js → DdjeekcY.js} +1 -1
- package/web/app/immutable/chunks/{BJgwBOBz.js → Dduwpj0a.js} +1 -1
- package/web/app/immutable/chunks/{CV2tdNDf.js → De0cdeOU.js} +1 -1
- package/web/app/immutable/chunks/{B4I8lQNP.js → De2a277N.js} +1 -1
- package/web/app/immutable/chunks/{C_SKcJv7.js → DeY70dof.js} +1 -1
- package/web/app/immutable/chunks/{DSiGyv9Y.js → Df4a242o.js} +1 -1
- package/web/app/immutable/chunks/{BLvtkZ8G.js → DfgH7-YK.js} +1 -1
- package/web/app/immutable/chunks/{7OH6WUSt.js → DgjIVRdE.js} +1 -1
- package/web/app/immutable/chunks/{DVJBGL7F.js → DgzMHcMD.js} +1 -1
- package/web/app/immutable/chunks/{DEs9kPtf.js → Dh-HeAnQ.js} +1 -1
- package/web/app/immutable/chunks/{j67P3UNv.js → Dh438xC0.js} +2 -2
- package/web/app/immutable/chunks/{BZkfp4xg.js → DhaHSPPQ.js} +1 -1
- package/web/app/immutable/chunks/{B433f4mk.js → Di_ao8Rc.js} +1 -1
- package/web/app/immutable/chunks/{CIaruUrd.js → DjNuITHM.js} +1 -1
- package/web/app/immutable/chunks/{BSntxgH1.js → Djah0WfC.js} +1 -1
- package/web/app/immutable/chunks/{BbLh3POL.js → DlMrAlfA.js} +1 -1
- package/web/app/immutable/chunks/{BzirSHSv.js → Dm3wAkDL.js} +1 -1
- package/web/app/immutable/chunks/{B5qiyEpH.js → DpESY8ko.js} +1 -1
- package/web/app/immutable/chunks/{B_4WsP9b.js → DpvQ3NRH.js} +1 -1
- package/web/app/immutable/chunks/{JM7CQkWC.js → Dpvv-9m3.js} +1 -1
- package/web/app/immutable/chunks/{nwO3KCpP.js → DpxbS0Pj.js} +1 -1
- package/web/app/immutable/chunks/{BIGqOuh0.js → Drf1gLyo.js} +1 -1
- package/web/app/immutable/chunks/{Cp9EK0r2.js → DrkDJmY5.js} +1 -1
- package/web/app/immutable/chunks/{DpITHrfz.js → DsOS7N8Z.js} +1 -1
- package/web/app/immutable/chunks/{6paLMka3.js → Dt3xwKL6.js} +2 -2
- package/web/app/immutable/chunks/{CEEUgGO1.js → DtQHtXEW.js} +1 -1
- package/web/app/immutable/chunks/{DDb9H7X6.js → DvnO7gWT.js} +3 -3
- package/web/app/immutable/chunks/{BdEtT3Ti.js → DxWgWHgi.js} +1 -1
- package/web/app/immutable/chunks/{SRhgUz9l.js → DxuwadpA.js} +1 -1
- package/web/app/immutable/chunks/{DnKqeAaM.js → DyLERSuu.js} +1 -1
- package/web/app/immutable/chunks/{pMP23LzB.js → DyXOhKE5.js} +1 -1
- package/web/app/immutable/chunks/{BlIRL_82.js → Dyx6ysl7.js} +1 -1
- package/web/app/immutable/chunks/{CR-JVxLD.js → DzBJS0Lp.js} +1 -1
- package/web/app/immutable/chunks/{Bv_xG3nA.js → DzpuLv6U.js} +1 -1
- package/web/app/immutable/chunks/{BcKrkXju.js → E1uoF1cW.js} +1 -1
- package/web/app/immutable/chunks/{DsfORPYa.js → E8oicBhU.js} +1 -1
- package/web/app/immutable/chunks/{DV7x43jt.js → EQgYvydQ.js} +1 -1
- package/web/app/immutable/chunks/{9GO97JAL.js → FQkCsxt2.js} +1 -1
- package/web/app/immutable/chunks/{l7vsMvdj.js → HcbkpXC1.js} +2 -2
- package/web/app/immutable/chunks/{jVbx5uZK.js → HeVxSGdr.js} +1 -1
- package/web/app/immutable/chunks/{BoznPtpa.js → IG43rVtJ.js} +1 -1
- package/web/app/immutable/chunks/{CAfPEsZt.js → Ksiiix3Q.js} +1 -1
- package/web/app/immutable/chunks/{DlUpt_0u.js → LdXAlc1O.js} +1 -1
- package/web/app/immutable/chunks/{BzEFG3NN.js → Ly7eBIj5.js} +1 -1
- package/web/app/immutable/chunks/{B2jyBWIj.js → MoxNukrR.js} +1 -1
- package/web/app/immutable/chunks/{C-PQQ8rb.js → Nrq0Uf9_.js} +1 -1
- package/web/app/immutable/chunks/{DPR_clFy.js → OMssb4xF.js} +1 -1
- package/web/app/immutable/chunks/{C0Zo7HuP.js → PkPZtGfM.js} +1 -1
- package/web/app/immutable/chunks/{D1fDU8Ti.js → Pyf1FzKM.js} +1 -1
- package/web/app/immutable/chunks/{3qVSmuIV.js → QA00-uqv.js} +1 -1
- package/web/app/immutable/chunks/{BSygKG3g.js → QIFiwjW0.js} +3 -3
- package/web/app/immutable/chunks/{B5uejTJk.js → TN7R9Ny0.js} +1 -1
- package/web/app/immutable/chunks/{CVuncf5f.js → TXPMw3n4.js} +1 -1
- package/web/app/immutable/chunks/{B7y9pKDL.js → TyVpf8MX.js} +1 -1
- package/web/app/immutable/chunks/{fHygQTSC.js → UQ6MIVTw.js} +1 -1
- package/web/app/immutable/chunks/{yDmmPu6L.js → UnM4qztD.js} +1 -1
- package/web/app/immutable/chunks/{PhAbES0t.js → UqcU95a7.js} +1 -1
- package/web/app/immutable/chunks/{DLCFUd4s.js → VTJf_qPn.js} +1 -1
- package/web/app/immutable/chunks/{B8HnjSSF.js → W05hyx94.js} +1 -1
- package/web/app/immutable/chunks/{C2YpPfAS.js → XMluVOSf.js} +1 -1
- package/web/app/immutable/chunks/{BtBQ5qfh.js → Y4bYs1dr.js} +1 -1
- package/web/app/immutable/chunks/{B5tvpTFB.js → Y_tkjygB.js} +1 -1
- package/web/app/immutable/chunks/{DzqKdIr-.js → YbqMJoDi.js} +1 -1
- package/web/app/immutable/chunks/{CXeB7YFK.js → Z8DHXl17.js} +1 -1
- package/web/app/immutable/chunks/{CjjWPVbV.js → _HPNXgkR.js} +3 -3
- package/web/app/immutable/chunks/{Bf_nrOhg.js → aixoUWDq.js} +1 -1
- package/web/app/immutable/chunks/{BoG8wR7s.js → awY5HvZY.js} +1 -1
- package/web/app/immutable/chunks/{5-0LQoqd.js → bIL0xbKX.js} +1 -1
- package/web/app/immutable/chunks/{BByf3ILj.js → bojY7ttK.js} +1 -1
- package/web/app/immutable/chunks/{dmZv6JOg.js → cfiNEg68.js} +1 -1
- package/web/app/immutable/chunks/{DZScoaNb.js → dFhS46gw.js} +1 -1
- package/web/app/immutable/chunks/{DM1_VFfD.js → fC3yz20p.js} +1 -1
- package/web/app/immutable/chunks/{f5nWqjrx.js → h5ZeHogL.js} +1 -1
- package/web/app/immutable/chunks/{CsmNoTJl.js → hRfDutUE.js} +1 -1
- package/web/app/immutable/chunks/{C-G2u0Oe.js → hstOawAs.js} +1 -1
- package/web/app/immutable/chunks/{BbuLzldI.js → i8jM24jD.js} +1 -1
- package/web/app/immutable/chunks/{DmvYOHFs.js → ico0GHoP.js} +13 -13
- package/web/app/immutable/chunks/{Cp02CBjf.js → jyNUu-ZR.js} +1 -1
- package/web/app/immutable/chunks/{BDsciJGp.js → kAav5o2h.js} +1 -1
- package/web/app/immutable/chunks/{BV1ayWTC.js → lSLkjC_I.js} +1 -1
- package/web/app/immutable/chunks/{BuFDqZnJ.js → mRUS_S7Z.js} +1 -1
- package/web/app/immutable/chunks/{BHqp2vwo.js → maZzJmVw.js} +1 -1
- package/web/app/immutable/chunks/{BvbeTrka.js → r5JNAzEM.js} +1 -1
- package/web/app/immutable/chunks/{CXDUvPYf.js → rsUVVEzx.js} +1 -1
- package/web/app/immutable/chunks/{lTwh0Wzj.js → tHETzssD.js} +1 -1
- package/web/app/immutable/chunks/{Dmx5wWLe.js → v7JbBbwR.js} +1 -1
- package/web/app/immutable/chunks/{Cp7Byf5d.js → wBNgrgMC.js} +1 -1
- package/web/app/immutable/chunks/{DX9N1RQz.js → x-RVzKqZ.js} +1 -1
- package/web/app/immutable/chunks/{BKMQo7oP.js → yMcNgg0D.js} +1 -1
- package/web/app/immutable/chunks/{BNa9zzEx.js → yqEyUNVG.js} +1 -1
- package/web/app/immutable/chunks/{COjWFpJP.js → yy2JFRyT.js} +1 -1
- package/web/app/immutable/chunks/{7KxcPj98.js → zFAkpaJn.js} +1 -1
- package/web/app/immutable/entry/{app.CgTOio8y.js → app.gkm8TnXW.js} +3 -3
- package/web/app/immutable/entry/start.CMMmzvCE.js +1 -0
- package/web/app/immutable/nodes/{0.C2oVsoB8.js → 0.xKtnYOA2.js} +1 -1
- package/web/app/immutable/nodes/{1.riWgWdpy.js → 1.BMx4VsW1.js} +1 -1
- package/web/app/immutable/nodes/{10.DbjaWIBW.js → 10.HyXPJR8g.js} +5 -5
- package/web/app/immutable/nodes/{11.exvXwEGT.js → 11._cAIrch_.js} +1 -1
- package/web/app/immutable/nodes/{12.D6rxlIQy.js → 12.DOoAvwLA.js} +1 -1
- package/web/app/immutable/nodes/{13.CHYsmiD_.js → 13.Coj_sRB4.js} +1 -1
- package/web/app/immutable/nodes/{14.mG-YN9pn.js → 14.AVrz3ZLQ.js} +3 -3
- package/web/app/immutable/nodes/{15.D2k47bXC.js → 15.BGK-JRWm.js} +1 -1
- package/web/app/immutable/nodes/{16.BsFtzH0D.js → 16.CMkcwVoI.js} +1 -1
- package/web/app/immutable/nodes/{17.me_aOx8O.js → 17.BS5un5d0.js} +1 -1
- package/web/app/immutable/nodes/{18.BO1oZWgm.js → 18._hTG2-17.js} +1 -1
- package/web/app/immutable/nodes/{19.DPrP9Wtk.js → 19.DuCFyr_N.js} +2 -2
- package/web/app/immutable/nodes/{2.BpY-66TB.js → 2.uAqDAg4D.js} +4 -4
- package/web/app/immutable/nodes/{20.LbRPieV_.js → 20.C1pW6BvW.js} +1 -1
- package/web/app/immutable/nodes/{3.CriVb5Fs.js → 3.M-EbuqKW.js} +1 -1
- package/web/app/immutable/nodes/{4.dRoX-MYE.js → 4.ByPZ1Nrn.js} +1 -1
- package/web/app/immutable/nodes/{5.Bn3YBx-4.js → 5.DKAjjuf7.js} +1 -1
- package/web/app/immutable/nodes/{6.CgMdV-V1.js → 6.DOc_YxMK.js} +1 -1
- package/web/app/immutable/nodes/{7.FdAsp1bX.js → 7.gFNAyoNX.js} +1 -1
- package/web/app/immutable/nodes/{8.Da7xrRMP.js → 8.C_Kp8pWz.js} +1 -1
- package/web/app/immutable/nodes/{9.BnLzowQ-.js → 9.C6HX35Sq.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +19 -19
- package/web/app/immutable/assets/0.BmwjvpSF.css +0 -1
- package/web/app/immutable/chunks/CCIZBeez.js +0 -1
- package/web/app/immutable/chunks/CXdnCPBf.js +0 -3
- package/web/app/immutable/chunks/DWIoipce.js +0 -1
- package/web/app/immutable/chunks/Dws-34a7.js +0 -1
- package/web/app/immutable/chunks/Whej1Dge.js +0 -1
- package/web/app/immutable/entry/start.oAnCLCVf.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
var kle=Object.defineProperty;var Ile=(o,e,t)=>e in o?kle(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var Ji=(o,e,t)=>Ile(o,typeof e!="symbol"?e+"":e,t);import{_ as Ae}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/EQgYvydQ.js","/app/immutable/chunks/E8oicBhU.js","/app/immutable/chunks/CFdI48b2.js","/app/immutable/chunks/DgjIVRdE.js","/app/immutable/chunks/DQvAX2eX.js","/app/immutable/chunks/QA00-uqv.js","/app/immutable/chunks/OMssb4xF.js","/app/immutable/chunks/Y4bYs1dr.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var kle=Object.defineProperty;var Ile=(o,e,t)=>e in o?kle(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var Ji=(o,e,t)=>Ile(o,typeof e!="symbol"?e+"":e,t);import{_ as Ae}from"./DWvCfaBg.js";function qX(){return globalThis._VSCODE_NLS_MESSAGES}function k9(){return globalThis._VSCODE_NLS_LANGUAGE}const Ele=k9()==="pseudo"||typeof document<"u"&&document.location&&typeof document.location.hash=="string"&&document.location.hash.indexOf("pseudo=true")>=0;function Hk(o,e){let t;return e.length===0?t=o:t=o.replace(/\{(\d+)\}/g,(i,n)=>{const s=parseInt(n,10),r=e[s];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),Ele&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function m(o,e,...t){return Hk(typeof o=="number"?KX(o,e):e,t)}function KX(o,e){const t=qX()?.[o];if(typeof t!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${o} !!!`)}return t}function j(o,e,...t){let i;typeof o=="number"?i=KX(o,e):i=e;const n=Hk(i,t);return{value:n,original:e===i?n:Hk(e,t)}}function Tle(o,e){const t=o;typeof t.vscodeWindowId!="number"&&Object.defineProperty(t,"vscodeWindowId",{get:()=>e})}const Pt=window,mN=class mN{constructor(){this.mapWindowIdToZoomFactor=new Map}getZoomFactor(e){return this.mapWindowIdToZoomFactor.get(this.getWindowId(e))??1}getWindowId(e){return e.vscodeWindowId}};mN.INSTANCE=new mN;let tF=mN;function GX(o,e,t){typeof e=="string"&&(e=o.matchMedia(e)),e.addEventListener("change",t)}function iF(o){return tF.INSTANCE.getZoomFactor(o)}const hw=navigator.userAgent,js=hw.indexOf("Firefox")>=0,nM=hw.indexOf("AppleWebKit")>=0,vx=hw.indexOf("Chrome")>=0,Gm=!vx&&hw.indexOf("Safari")>=0,ZX=!vx&&!Gm&&nM;hw.indexOf("Electron/")>=0;const DU=hw.indexOf("Android")>=0;let S2=!1;if(typeof Pt.matchMedia=="function"){const o=Pt.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),e=Pt.matchMedia("(display-mode: fullscreen)");S2=o.matches,GX(Pt,o,({matches:t})=>{S2&&e.matches||(S2=t)})}function Vk(){return globalThis.MonacoEnvironment}class Nle{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?wC.isErrorNoTelemetry(e)?new wC(e.message+`
|
|
3
3
|
|
|
4
4
|
`+e.stack):new Error(e.message+`
|
|
5
5
|
|
|
@@ -992,4 +992,4 @@ Ensure your bundler properly bundles modules referenced by "new URL('...?esm', i
|
|
|
992
992
|
|
|
993
993
|
${JSON.stringify(s,null,2)}`);return r.value}}async notify(e,t,i){if(!this.checkChannel(this._requestSender))throw new Error;const n=e.paramsSerializer.serializeToJson(t);EX(n),this._requestSender.sendNotification({method:e.method,params:n},i)}};function EX(o){if(o!==null&&Array.isArray(o)&&typeof o!="object")throw new Error("Invalid value! Only null, array and object is allowed.")}var TX=class Tae extends Error{constructor(e,t,i=qa.genericApplicationError){super(e),Pe(this,"data"),Pe(this,"code"),this.data=t,this.code=i,Object.setPrototypeOf(this,Tae.prototype)}},N6e=class S9{constructor(e,t,i,n,s=!1){Pe(this,"method"),Pe(this,"paramsSerializer"),Pe(this,"resultSerializer"),Pe(this,"errorSerializer"),Pe(this,"isOptional"),Pe(this,"kind","request"),this.method=e,this.paramsSerializer=t,this.resultSerializer=i,this.errorSerializer=n,this.isOptional=s}withMethod(e){return new S9(e,this.paramsSerializer,this.resultSerializer,this.errorSerializer)}optional(){return new S9(this.method,this.paramsSerializer,this.resultSerializer,this.errorSerializer,!0)}},R6e=class Nae{constructor(e,t){Pe(this,"method"),Pe(this,"paramsSerializer"),Pe(this,"kind","notification"),this.method=e,this.paramsSerializer=t}withMethod(e){return new Nae(e,this.paramsSerializer)}};function Ze(o){return new N6e((o||{}).method,iC.sAny(),iC.sAny(),iC.sAny())}function zi(o){return new R6e((o||{}).method,iC.sAny())}const M6e=Symbol();var NX=(kX=M6e,YD=class{constructor(o){Pe(this,"error"),Pe(this,kX),this.error=o}},Pe(YD,"factory",o=>new YD(o)),YD);function A6e(o){const e=RX(o.server),t=RX(o.client);return new P6e(o.tags||[],e,t)}function RX(o){const e={};for(const[t,i]of Object.entries(o)){const n=i.method?i.method:t;e[t]=i.withMethod(n)}return e}var P6e=class Rae{constructor(e=[],t,i){Pe(this,"tags"),Pe(this,"server"),Pe(this,"client"),this.tags=e,this.server=t,this.client=i}_onlyDesignTime(){return new Error("This property is not meant to be accessed at runtime")}get TContractObject(){throw this._onlyDesignTime()}get TClientInterface(){throw this._onlyDesignTime()}get TServerInterface(){throw this._onlyDesignTime()}get TClientHandler(){throw this._onlyDesignTime()}get TServerHandler(){throw this._onlyDesignTime()}get TTags(){throw this._onlyDesignTime()}getInterface(e,t,i,n){const s=this.buildCounterpart(e,i),r=this.registerHandlers(e,t,n,s);return{counterpart:s,dispose:()=>r.dispose()}}buildCounterpart(e,t){const i={};for(const[n,s]of Object.entries(t)){let r;s.kind==="request"?s.isOptional?r=async(a,l)=>{a===void 0&&(a={});try{return await e.request(s,a,l)}catch(c){if(c&&c.code===qa.methodNotFound)return kae;throw c}}:r=(a,l)=>(a===void 0&&(a={}),e.request(s,a,l)):r=(a,l)=>(a===void 0&&(a={}),e.notify(s,a,l)),i[n]=r}return i}registerHandlers(e,t,i,n){const s=[];for(const[r,a]of Object.entries(t))if(a.kind==="request"){let l=i[r];if(!l)continue;const c=this.createRequestHandler(n,l);s.push(e.registerRequestHandler(a,c))}else{const l=i[r];l&&s.push(e.registerNotificationHandler(a,(c,d)=>{l(c,{context:d,counterpart:n})}))}return{dispose:()=>s.forEach(r=>r.dispose())}}createRequestHandler(e,t){return async(i,n,s)=>{const r=await t(i,{context:s,counterpart:e,newErr:NX.factory,requestId:n});return r instanceof NX?r.error:{ok:r}}}static getServerFromStream(e,t,i,n){const s=w9.fromTransport(t,i),{server:r}=e.getServer(s,n);return s.startListen(),{channel:s,server:r}}static registerServerToStream(e,t,i,n){const s=w9.fromTransport(t,i),{client:r}=e.registerServer(s,n);return s.startListen(),{channel:s,client:r}}getServer(e,t){const{counterpart:i,dispose:n}=this.getInterface(e,this.client,this.server,t);return{server:i,dispose:n}}registerServer(e,t){const{counterpart:i,dispose:n}=this.getInterface(e,this.server,this.client,t);return{client:i,dispose:n}}withContext(){return new Rae(this.tags,this.server,this.client)}};let nC=(function(o){return o.Comment="comment",o.Imports="imports",o.Region="region",o})({}),en=(function(o){return o[o.File=1]="File",o[o.Module=2]="Module",o[o.Namespace=3]="Namespace",o[o.Package=4]="Package",o[o.Class=5]="Class",o[o.Method=6]="Method",o[o.Property=7]="Property",o[o.Field=8]="Field",o[o.Constructor=9]="Constructor",o[o.Enum=10]="Enum",o[o.Interface=11]="Interface",o[o.Function=12]="Function",o[o.Variable=13]="Variable",o[o.Constant=14]="Constant",o[o.String=15]="String",o[o.Number=16]="Number",o[o.Boolean=17]="Boolean",o[o.Array=18]="Array",o[o.Object=19]="Object",o[o.Key=20]="Key",o[o.Null=21]="Null",o[o.EnumMember=22]="EnumMember",o[o.Struct=23]="Struct",o[o.Event=24]="Event",o[o.Operator=25]="Operator",o[o.TypeParameter=26]="TypeParameter",o})({}),Mae=(function(o){return o[o.Deprecated=1]="Deprecated",o})({}),MX=(function(o){return o[o.Type=1]="Type",o[o.Parameter=2]="Parameter",o})({}),O6e=(function(o){return o[o.None=0]="None",o[o.Full=1]="Full",o[o.Incremental=2]="Incremental",o})({}),cn=(function(o){return o[o.Text=1]="Text",o[o.Method=2]="Method",o[o.Function=3]="Function",o[o.Constructor=4]="Constructor",o[o.Field=5]="Field",o[o.Variable=6]="Variable",o[o.Class=7]="Class",o[o.Interface=8]="Interface",o[o.Module=9]="Module",o[o.Property=10]="Property",o[o.Unit=11]="Unit",o[o.Value=12]="Value",o[o.Enum=13]="Enum",o[o.Keyword=14]="Keyword",o[o.Snippet=15]="Snippet",o[o.Color=16]="Color",o[o.File=17]="File",o[o.Reference=18]="Reference",o[o.Folder=19]="Folder",o[o.EnumMember=20]="EnumMember",o[o.Constant=21]="Constant",o[o.Struct=22]="Struct",o[o.Event=23]="Event",o[o.Operator=24]="Operator",o[o.TypeParameter=25]="TypeParameter",o})({}),F6e=(function(o){return o[o.Deprecated=1]="Deprecated",o})({}),W6e=(function(o){return o[o.PlainText=1]="PlainText",o[o.Snippet=2]="Snippet",o})({}),JO=(function(o){return o[o.Text=1]="Text",o[o.Read=2]="Read",o[o.Write=3]="Write",o})({}),Dd=(function(o){return o.Empty="",o.QuickFix="quickfix",o.Refactor="refactor",o.RefactorExtract="refactor.extract",o.RefactorInline="refactor.inline",o.RefactorRewrite="refactor.rewrite",o.Source="source",o.SourceOrganizeImports="source.organizeImports",o.SourceFixAll="source.fixAll",o})({}),pN=(function(o){return o.PlainText="plaintext",o.Markdown="markdown",o})({}),dh=(function(o){return o[o.Error=1]="Error",o[o.Warning=2]="Warning",o[o.Information=3]="Information",o[o.Hint=4]="Hint",o})({}),AX=(function(o){return o[o.Unnecessary=1]="Unnecessary",o[o.Deprecated=2]="Deprecated",o})({}),Wk=(function(o){return o[o.Invoked=1]="Invoked",o[o.TriggerCharacter=2]="TriggerCharacter",o[o.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",o})({}),Bk=(function(o){return o[o.Invoked=1]="Invoked",o[o.TriggerCharacter=2]="TriggerCharacter",o[o.ContentChange=3]="ContentChange",o})({}),y9=(function(o){return o[o.Invoked=1]="Invoked",o[o.Automatic=2]="Automatic",o})({}),B6e=(function(o){return o.Relative="relative",o})({});var wt=class{constructor(o){this.method=o}};const ht={textDocumentImplementation:new wt("textDocument/implementation"),textDocumentTypeDefinition:new wt("textDocument/typeDefinition"),textDocumentDocumentColor:new wt("textDocument/documentColor"),textDocumentColorPresentation:new wt("textDocument/colorPresentation"),textDocumentFoldingRange:new wt("textDocument/foldingRange"),textDocumentDeclaration:new wt("textDocument/declaration"),textDocumentSelectionRange:new wt("textDocument/selectionRange"),textDocumentPrepareCallHierarchy:new wt("textDocument/prepareCallHierarchy"),textDocumentSemanticTokensFull:new wt("textDocument/semanticTokens/full"),textDocumentSemanticTokensFullDelta:new wt("textDocument/semanticTokens/full/delta"),textDocumentLinkedEditingRange:new wt("textDocument/linkedEditingRange"),workspaceWillCreateFiles:new wt("workspace/willCreateFiles"),workspaceWillRenameFiles:new wt("workspace/willRenameFiles"),workspaceWillDeleteFiles:new wt("workspace/willDeleteFiles"),textDocumentMoniker:new wt("textDocument/moniker"),textDocumentPrepareTypeHierarchy:new wt("textDocument/prepareTypeHierarchy"),textDocumentInlineValue:new wt("textDocument/inlineValue"),textDocumentInlayHint:new wt("textDocument/inlayHint"),textDocumentDiagnostic:new wt("textDocument/diagnostic"),textDocumentInlineCompletion:new wt("textDocument/inlineCompletion"),textDocumentWillSaveWaitUntil:new wt("textDocument/willSaveWaitUntil"),textDocumentCompletion:new wt("textDocument/completion"),textDocumentHover:new wt("textDocument/hover"),textDocumentSignatureHelp:new wt("textDocument/signatureHelp"),textDocumentDefinition:new wt("textDocument/definition"),textDocumentReferences:new wt("textDocument/references"),textDocumentDocumentHighlight:new wt("textDocument/documentHighlight"),textDocumentDocumentSymbol:new wt("textDocument/documentSymbol"),textDocumentCodeAction:new wt("textDocument/codeAction"),workspaceSymbol:new wt("workspace/symbol"),textDocumentCodeLens:new wt("textDocument/codeLens"),textDocumentDocumentLink:new wt("textDocument/documentLink"),textDocumentFormatting:new wt("textDocument/formatting"),textDocumentRangeFormatting:new wt("textDocument/rangeFormatting"),textDocumentRangesFormatting:new wt("textDocument/rangesFormatting"),textDocumentOnTypeFormatting:new wt("textDocument/onTypeFormatting"),textDocumentRename:new wt("textDocument/rename"),workspaceExecuteCommand:new wt("workspace/executeCommand"),workspaceDidCreateFiles:new wt("workspace/didCreateFiles"),workspaceDidRenameFiles:new wt("workspace/didRenameFiles"),workspaceDidDeleteFiles:new wt("workspace/didDeleteFiles"),workspaceDidChangeConfiguration:new wt("workspace/didChangeConfiguration"),textDocumentDidOpen:new wt("textDocument/didOpen"),textDocumentDidChange:new wt("textDocument/didChange"),textDocumentDidClose:new wt("textDocument/didClose"),textDocumentDidSave:new wt("textDocument/didSave"),textDocumentWillSave:new wt("textDocument/willSave"),workspaceDidChangeWatchedFiles:new wt("workspace/didChangeWatchedFiles")},bx=A6e({server:{textDocumentImplementation:Ze({method:"textDocument/implementation"}),textDocumentTypeDefinition:Ze({method:"textDocument/typeDefinition"}),textDocumentDocumentColor:Ze({method:"textDocument/documentColor"}),textDocumentColorPresentation:Ze({method:"textDocument/colorPresentation"}),textDocumentFoldingRange:Ze({method:"textDocument/foldingRange"}),textDocumentDeclaration:Ze({method:"textDocument/declaration"}),textDocumentSelectionRange:Ze({method:"textDocument/selectionRange"}),textDocumentPrepareCallHierarchy:Ze({method:"textDocument/prepareCallHierarchy"}),callHierarchyIncomingCalls:Ze({method:"callHierarchy/incomingCalls"}),callHierarchyOutgoingCalls:Ze({method:"callHierarchy/outgoingCalls"}),textDocumentSemanticTokensFull:Ze({method:"textDocument/semanticTokens/full"}),textDocumentSemanticTokensFullDelta:Ze({method:"textDocument/semanticTokens/full/delta"}),textDocumentSemanticTokensRange:Ze({method:"textDocument/semanticTokens/range"}),textDocumentLinkedEditingRange:Ze({method:"textDocument/linkedEditingRange"}),workspaceWillCreateFiles:Ze({method:"workspace/willCreateFiles"}),workspaceWillRenameFiles:Ze({method:"workspace/willRenameFiles"}),workspaceWillDeleteFiles:Ze({method:"workspace/willDeleteFiles"}),textDocumentMoniker:Ze({method:"textDocument/moniker"}),textDocumentPrepareTypeHierarchy:Ze({method:"textDocument/prepareTypeHierarchy"}),typeHierarchySupertypes:Ze({method:"typeHierarchy/supertypes"}),typeHierarchySubtypes:Ze({method:"typeHierarchy/subtypes"}),textDocumentInlineValue:Ze({method:"textDocument/inlineValue"}),textDocumentInlayHint:Ze({method:"textDocument/inlayHint"}),inlayHintResolve:Ze({method:"inlayHint/resolve"}),textDocumentDiagnostic:Ze({method:"textDocument/diagnostic"}),workspaceDiagnostic:Ze({method:"workspace/diagnostic"}),textDocumentInlineCompletion:Ze({method:"textDocument/inlineCompletion"}),initialize:Ze({method:"initialize"}),shutdown:Ze({method:"shutdown"}),textDocumentWillSaveWaitUntil:Ze({method:"textDocument/willSaveWaitUntil"}),textDocumentCompletion:Ze({method:"textDocument/completion"}),completionItemResolve:Ze({method:"completionItem/resolve"}),textDocumentHover:Ze({method:"textDocument/hover"}),textDocumentSignatureHelp:Ze({method:"textDocument/signatureHelp"}),textDocumentDefinition:Ze({method:"textDocument/definition"}),textDocumentReferences:Ze({method:"textDocument/references"}),textDocumentDocumentHighlight:Ze({method:"textDocument/documentHighlight"}),textDocumentDocumentSymbol:Ze({method:"textDocument/documentSymbol"}),textDocumentCodeAction:Ze({method:"textDocument/codeAction"}),codeActionResolve:Ze({method:"codeAction/resolve"}),workspaceSymbol:Ze({method:"workspace/symbol"}),workspaceSymbolResolve:Ze({method:"workspaceSymbol/resolve"}),textDocumentCodeLens:Ze({method:"textDocument/codeLens"}),codeLensResolve:Ze({method:"codeLens/resolve"}),textDocumentDocumentLink:Ze({method:"textDocument/documentLink"}),documentLinkResolve:Ze({method:"documentLink/resolve"}),textDocumentFormatting:Ze({method:"textDocument/formatting"}),textDocumentRangeFormatting:Ze({method:"textDocument/rangeFormatting"}),textDocumentRangesFormatting:Ze({method:"textDocument/rangesFormatting"}),textDocumentOnTypeFormatting:Ze({method:"textDocument/onTypeFormatting"}),textDocumentRename:Ze({method:"textDocument/rename"}),textDocumentPrepareRename:Ze({method:"textDocument/prepareRename"}),workspaceExecuteCommand:Ze({method:"workspace/executeCommand"}),workspaceDidChangeWorkspaceFolders:zi({method:"workspace/didChangeWorkspaceFolders"}),windowWorkDoneProgressCancel:zi({method:"window/workDoneProgress/cancel"}),workspaceDidCreateFiles:zi({method:"workspace/didCreateFiles"}),workspaceDidRenameFiles:zi({method:"workspace/didRenameFiles"}),workspaceDidDeleteFiles:zi({method:"workspace/didDeleteFiles"}),notebookDocumentDidOpen:zi({method:"notebookDocument/didOpen"}),notebookDocumentDidChange:zi({method:"notebookDocument/didChange"}),notebookDocumentDidSave:zi({method:"notebookDocument/didSave"}),notebookDocumentDidClose:zi({method:"notebookDocument/didClose"}),initialized:zi({method:"initialized"}),exit:zi({method:"exit"}),workspaceDidChangeConfiguration:zi({method:"workspace/didChangeConfiguration"}),textDocumentDidOpen:zi({method:"textDocument/didOpen"}),textDocumentDidChange:zi({method:"textDocument/didChange"}),textDocumentDidClose:zi({method:"textDocument/didClose"}),textDocumentDidSave:zi({method:"textDocument/didSave"}),textDocumentWillSave:zi({method:"textDocument/willSave"}),workspaceDidChangeWatchedFiles:zi({method:"workspace/didChangeWatchedFiles"}),setTrace:zi({method:"$/setTrace"}),cancelRequest:zi({method:"$/cancelRequest"}),progress:zi({method:"$/progress"})},client:{workspaceWorkspaceFolders:Ze({method:"workspace/workspaceFolders"}).optional(),workspaceConfiguration:Ze({method:"workspace/configuration"}).optional(),workspaceFoldingRangeRefresh:Ze({method:"workspace/foldingRange/refresh"}).optional(),windowWorkDoneProgressCreate:Ze({method:"window/workDoneProgress/create"}).optional(),workspaceSemanticTokensRefresh:Ze({method:"workspace/semanticTokens/refresh"}).optional(),windowShowDocument:Ze({method:"window/showDocument"}).optional(),workspaceInlineValueRefresh:Ze({method:"workspace/inlineValue/refresh"}).optional(),workspaceInlayHintRefresh:Ze({method:"workspace/inlayHint/refresh"}).optional(),workspaceDiagnosticRefresh:Ze({method:"workspace/diagnostic/refresh"}).optional(),clientRegisterCapability:Ze({method:"client/registerCapability"}).optional(),clientUnregisterCapability:Ze({method:"client/unregisterCapability"}).optional(),windowShowMessageRequest:Ze({method:"window/showMessageRequest"}).optional(),workspaceCodeLensRefresh:Ze({method:"workspace/codeLens/refresh"}).optional(),workspaceApplyEdit:Ze({method:"workspace/applyEdit"}).optional(),windowShowMessage:zi({method:"window/showMessage"}),windowLogMessage:zi({method:"window/logMessage"}),telemetryEvent:zi({method:"telemetry/event"}),textDocumentPublishDiagnostics:zi({method:"textDocument/publishDiagnostics"}),logTrace:zi({method:"$/logTrace"}),cancelRequest:zi({method:"$/cancelRequest"}),progress:zi({method:"$/progress"})}});function Gp(o,e){if(o.textModel!==e)throw new Error(`Expected text model to be ${e}, but got ${o.textModel}`);return o}var ln=(XO=class{constructor(){Pe(this,"_store",new Mz)}dispose(){this._store.dispose()}_register(o){if(o===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(o)}},Pe(XO,"None",Object.freeze({dispose(){}})),XO),Mz=(XD=class{constructor(){Pe(this,"_toDispose",new Set),Pe(this,"_isDisposed",!1)}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){if(this._toDispose.size!==0)try{for(const o of this._toDispose)o.dispose()}finally{this._toDispose.clear()}}add(o){if(!o)return o;if(o===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?XD.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(o),o}},Pe(XD,"DISABLE_DISPOSED_WARNING",!1),XD);const Aae=new Map([[Dd.Empty,""],[Dd.QuickFix,"quickfix"],[Dd.Refactor,"refactor"],[Dd.RefactorExtract,"refactor.extract"],[Dd.RefactorInline,"refactor.inline"],[Dd.RefactorRewrite,"refactor.rewrite"],[Dd.Source,"source"],[Dd.SourceOrganizeImports,"source.organizeImports"],[Dd.SourceFixAll,"source.fixAll"]]);function H6e(o){if(o)return Aae.get(o)??o}const V6e=new Map([[Le.CodeActionTriggerType.Invoke,y9.Invoked],[Le.CodeActionTriggerType.Auto,y9.Automatic]]);function z6e(o){return V6e.get(o)??y9.Invoked}const Pae=new Map([[cn.Text,Le.CompletionItemKind.Text],[cn.Method,Le.CompletionItemKind.Method],[cn.Function,Le.CompletionItemKind.Function],[cn.Constructor,Le.CompletionItemKind.Constructor],[cn.Field,Le.CompletionItemKind.Field],[cn.Variable,Le.CompletionItemKind.Variable],[cn.Class,Le.CompletionItemKind.Class],[cn.Interface,Le.CompletionItemKind.Interface],[cn.Module,Le.CompletionItemKind.Module],[cn.Property,Le.CompletionItemKind.Property],[cn.Unit,Le.CompletionItemKind.Unit],[cn.Value,Le.CompletionItemKind.Value],[cn.Enum,Le.CompletionItemKind.Enum],[cn.Keyword,Le.CompletionItemKind.Keyword],[cn.Snippet,Le.CompletionItemKind.Snippet],[cn.Color,Le.CompletionItemKind.Color],[cn.File,Le.CompletionItemKind.File],[cn.Reference,Le.CompletionItemKind.Reference],[cn.Folder,Le.CompletionItemKind.Folder],[cn.EnumMember,Le.CompletionItemKind.EnumMember],[cn.Constant,Le.CompletionItemKind.Constant],[cn.Struct,Le.CompletionItemKind.Struct],[cn.Event,Le.CompletionItemKind.Event],[cn.Operator,Le.CompletionItemKind.Operator],[cn.TypeParameter,Le.CompletionItemKind.TypeParameter]]);function U6e(o){return o?Pae.get(o)??Le.CompletionItemKind.Text:Le.CompletionItemKind.Text}const Oae=new Map([[F6e.Deprecated,Le.CompletionItemTag.Deprecated]]);function $6e(o){return Oae.get(o)}const j6e=new Map([[Le.CompletionTriggerKind.Invoke,Wk.Invoked],[Le.CompletionTriggerKind.TriggerCharacter,Wk.TriggerCharacter],[Le.CompletionTriggerKind.TriggerForIncompleteCompletions,Wk.TriggerForIncompleteCompletions]]);function q6e(o){return j6e.get(o)??Wk.Invoked}const K6e=new Map([[W6e.Snippet,Le.CompletionItemInsertTextRule.InsertAsSnippet]]);function G6e(o){if(o)return K6e.get(o)}const Fae=new Map([[en.File,Le.SymbolKind.File],[en.Module,Le.SymbolKind.Module],[en.Namespace,Le.SymbolKind.Namespace],[en.Package,Le.SymbolKind.Package],[en.Class,Le.SymbolKind.Class],[en.Method,Le.SymbolKind.Method],[en.Property,Le.SymbolKind.Property],[en.Field,Le.SymbolKind.Field],[en.Constructor,Le.SymbolKind.Constructor],[en.Enum,Le.SymbolKind.Enum],[en.Interface,Le.SymbolKind.Interface],[en.Function,Le.SymbolKind.Function],[en.Variable,Le.SymbolKind.Variable],[en.Constant,Le.SymbolKind.Constant],[en.String,Le.SymbolKind.String],[en.Number,Le.SymbolKind.Number],[en.Boolean,Le.SymbolKind.Boolean],[en.Array,Le.SymbolKind.Array],[en.Object,Le.SymbolKind.Object],[en.Key,Le.SymbolKind.Key],[en.Null,Le.SymbolKind.Null],[en.EnumMember,Le.SymbolKind.EnumMember],[en.Struct,Le.SymbolKind.Struct],[en.Event,Le.SymbolKind.Event],[en.Operator,Le.SymbolKind.Operator],[en.TypeParameter,Le.SymbolKind.TypeParameter]]);function Wae(o){return Fae.get(o)??Le.SymbolKind.File}const Z6e=new Map([[Mae.Deprecated,Le.SymbolTag.Deprecated]]);function Bae(o){return Z6e.get(o)}const Y6e=new Map([[JO.Text,Le.DocumentHighlightKind.Text],[JO.Read,Le.DocumentHighlightKind.Read],[JO.Write,Le.DocumentHighlightKind.Write]]);function X6e(o){return o?Y6e.get(o)??Le.DocumentHighlightKind.Text:Le.DocumentHighlightKind.Text}const Q6e=new Map([[nC.Comment,Le.FoldingRangeKind.Comment],[nC.Imports,Le.FoldingRangeKind.Imports],[nC.Region,Le.FoldingRangeKind.Region]]);function J6e(o){if(o)return Q6e.get(o)}const eze=new Map([[Gc.Error,dh.Error],[Gc.Warning,dh.Warning],[Gc.Info,dh.Information],[Gc.Hint,dh.Hint]]);function tze(o){return eze.get(o)??dh.Error}const ize=new Map([[dh.Error,Gc.Error],[dh.Warning,Gc.Warning],[dh.Information,Gc.Info],[dh.Hint,Gc.Hint]]);function nze(o){return o?ize.get(o)??Gc.Error:Gc.Error}const Hae=new Map([[AX.Unnecessary,DX.Unnecessary],[AX.Deprecated,DX.Deprecated]]);function sze(o){return Hae.get(o)}const oze=new Map([[Le.SignatureHelpTriggerKind.Invoke,Bk.Invoked],[Le.SignatureHelpTriggerKind.TriggerCharacter,Bk.TriggerCharacter],[Le.SignatureHelpTriggerKind.ContentChange,Bk.ContentChange]]);function rze(o){return oze.get(o)??Bk.Invoked}function sC(o){if(o)return{id:o.command,title:o.title,arguments:o.arguments}}const aze=new Map([[MX.Type,Le.InlayHintKind.Type],[MX.Parameter,Le.InlayHintKind.Parameter]]);function lze(o){return o?aze.get(o)??Le.InlayHintKind.Type:Le.InlayHintKind.Type}function Ug(o,e){if("targetUri"in o){const t=e.bridge.translateBackRange({uri:o.targetUri},o.targetRange);return{uri:t.textModel.uri,range:t.range,originSelectionRange:o.originSelectionRange?e.bridge.translateBackRange({uri:o.targetUri},o.originSelectionRange).range:void 0,targetSelectionRange:o.targetSelectionRange?e.bridge.translateBackRange({uri:o.targetUri},o.targetSelectionRange).range:void 0}}else{const t=e.bridge.translateBackRange({uri:o.uri},o.range);return{uri:t.textModel.uri,range:t.range}}}function Qn(o){return!o||o.length===0?{language:"*"}:o.map(e=>"notebook"in e?typeof e.notebook=="string"?{notebookType:e.notebook,language:e.language}:{notebookType:e.notebook.notebookType,language:e.language,pattern:e.notebook.pattern,scheme:e.notebook.scheme}:{language:e.language,pattern:e.pattern,scheme:e.scheme})}function cze(o,e){if(!e)return!0;const t=o.getLanguageId();if(o.uri.toString(!0),!e||e.length===0)return!0;for(const i of e)if(!(i.language&&i.language!=="*"&&i.language!==t))return!0;return!1}function x9(o){const e={severity:nze(o.severity),startLineNumber:o.range.start.line+1,startColumn:o.range.start.character+1,endLineNumber:o.range.end.line+1,endColumn:o.range.end.character+1,message:o.message,source:o.source,code:typeof o.code=="string"?o.code:o.code?.toString()};return o.tags&&(e.tags=o.tags.map(t=>sze(t)).filter(t=>t!==void 0)),o.relatedInformation&&(e.relatedInformation=o.relatedInformation.map(t=>({resource:yae.parse(t.location.uri),startLineNumber:t.location.range.start.line+1,startColumn:t.location.range.start.character+1,endLineNumber:t.location.range.end.line+1,endColumn:t.location.range.end.character+1,message:t.message}))),e}var dze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{completion:{dynamicRegistration:!0,contextSupport:!0,completionItemKind:{valueSet:Array.from(Pae.keys())},completionItem:{tagSupport:{valueSet:Array.from(Oae.keys())},commitCharactersSupport:!0,deprecatedSupport:!0,preselectSupport:!0}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentCompletion,!0,e=>Le.registerCompletionItemProvider(Qn(e.documentSelector),new hze(this._connection,e))))}},hze=class{constructor(o,e){Pe(this,"resolveCompletionItem"),this._client=o,this._capabilities=e,e.resolveProvider&&(this.resolveCompletionItem=async(t,i)=>(Vae(t,await this._client.server.completionItemResolve(t._lspItem),this._client.bridge,t._translated,t._model),t))}get triggerCharacters(){return this._capabilities.triggerCharacters}async provideCompletionItems(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentCompletion({textDocument:n.textDocument,position:n.position,context:t.triggerCharacter?{triggerKind:q6e(t.triggerKind),triggerCharacter:t.triggerCharacter}:void 0});return s?{suggestions:(Array.isArray(s)?s:s.items).map(r=>({...uze(r,this._client.bridge,n,o,e),_lspItem:r,_translated:n,_model:o}))}:{suggestions:[]}}};function uze(o,e,t,i,n){let s=o.insertText||o.label,r;o.textEdit&&("range"in o.textEdit?(s=o.textEdit.newText,r=Gp(e.translateBackRange(t.textDocument,o.textEdit.range),i).range):(s=o.textEdit.newText,r={insert:Gp(e.translateBackRange(t.textDocument,o.textEdit.insert),i).range,replace:Gp(e.translateBackRange(t.textDocument,o.textEdit.replace),i).range})),r||(r=i2.fromPositions(n,n));const a={label:o.label,kind:U6e(o.kind),insertText:s,sortText:o.sortText,filterText:o.filterText,preselect:o.preselect,commitCharacters:o.commitCharacters,range:r};return Vae(a,o,e,t,i),a}function Vae(o,e,t,i,n){e.detail!==void 0&&(o.detail=e.detail),e.documentation!==void 0&&(o.documentation=gze(e.documentation)),e.insertTextFormat!==void 0&&(o.insertTextRules=G6e(e.insertTextFormat)),e.tags&&e.tags.length>0&&(o.tags=e.tags.map($6e).filter(s=>s!==void 0)),e.additionalTextEdits&&e.additionalTextEdits.length>0&&(o.additionalTextEdits=e.additionalTextEdits.map(s=>({range:Gp(t.translateBackRange(i.textDocument,s.range),n).range,text:s.newText}))),e.command&&(o.command=sC(e.command))}function gze(o){if(o)return typeof o=="string"?o:{value:o.value}}var fze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{hover:{dynamicRegistration:!0,contentFormat:[pN.Markdown,pN.PlainText]}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentHover,!0,e=>Le.registerHoverProvider(Qn(e.documentSelector),new pze(this._connection,e))))}},pze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideHover(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentHover({textDocument:i.textDocument,position:i.position});return!n||!n.contents?null:{contents:mze(n.contents),range:n.range?this._client.bridge.translateBackRange(i.textDocument,n.range).range:void 0}}};function mze(o){return Array.isArray(o)?o.map(e=>PX(e)):[PX(o)]}function PX(o){return typeof o=="string"?{value:o}:"kind"in o?{value:o.value}:{value:`\`\`\`${o.language}
|
|
994
994
|
${o.value}
|
|
995
|
-
\`\`\``}}var _ze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{signatureHelp:{dynamicRegistration:!0,contextSupport:!0,signatureInformation:{documentationFormat:[pN.Markdown,pN.PlainText],parameterInformation:{labelOffsetSupport:!0},activeParameterSupport:!0}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentSignatureHelp,!0,e=>Le.registerSignatureHelpProvider(Qn(e.documentSelector),new bze(this._connection,e))))}},bze=class{constructor(o,e){Pe(this,"signatureHelpTriggerCharacters"),Pe(this,"signatureHelpRetriggerCharacters"),this._client=o,this._capabilities=e,this.signatureHelpTriggerCharacters=e.triggerCharacters,this.signatureHelpRetriggerCharacters=e.retriggerCharacters}async provideSignatureHelp(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentSignatureHelp({textDocument:n.textDocument,position:n.position,context:{triggerKind:rze(i.triggerKind),triggerCharacter:i.triggerCharacter,isRetrigger:i.isRetrigger}});return s?{value:{signatures:s.signatures.map(r=>({label:r.label,documentation:OX(r.documentation),parameters:r.parameters?.map(a=>({label:a.label,documentation:OX(a.documentation)}))||[],activeParameter:r.activeParameter})),activeSignature:s.activeSignature||0,activeParameter:s.activeParameter||0},dispose:()=>{}}:null}};function OX(o){if(o)return typeof o=="string"?o:{value:o.value}}var vze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{definition:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDefinition,!0,e=>Le.registerDefinitionProvider(Qn(e.documentSelector),new Cze(this._connection,e))))}},Cze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDefinition(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentDefinition({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},wze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{declaration:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDeclaration,!0,e=>Le.registerDeclarationProvider(Qn(e.documentSelector),new Sze(this._connection,e))))}},Sze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDeclaration(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentDeclaration({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},yze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{typeDefinition:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentTypeDefinition,!0,e=>Le.registerTypeDefinitionProvider(Qn(e.documentSelector),new xze(this._connection,e))))}},xze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideTypeDefinition(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentTypeDefinition({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},Lze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{implementation:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentImplementation,!0,e=>Le.registerImplementationProvider(Qn(e.documentSelector),new Dze(this._connection,e))))}},Dze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideImplementation(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentImplementation({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},kze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{references:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentReferences,!0,e=>Le.registerReferenceProvider(Qn(e.documentSelector),new Ize(this._connection,e))))}},Ize=class{constructor(o,e){this._client=o,this._capabilities=e}async provideReferences(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentReferences({textDocument:n.textDocument,position:n.position,context:{includeDeclaration:t.includeDeclaration}});return s?s.map(r=>{const a=this._client.bridge.translateBackRange({uri:r.uri},r.range);return{uri:a.textModel.uri,range:a.range}}):null}},Eze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{documentHighlight:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDocumentHighlight,!0,e=>Le.registerDocumentHighlightProvider(Qn(e.documentSelector),new Tze(this._connection,e))))}},Tze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentHighlights(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentDocumentHighlight({textDocument:i.textDocument,position:i.position});return n?n.map(s=>({range:this._client.bridge.translateBackRange(i.textDocument,s.range).range,kind:X6e(s.kind)})):null}},Nze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{documentSymbol:{dynamicRegistration:!0,hierarchicalDocumentSymbolSupport:!0,symbolKind:{valueSet:Array.from(Fae.keys())},tagSupport:{valueSet:[Mae.Deprecated]}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDocumentSymbol,!0,e=>Le.registerDocumentSymbolProvider(Qn(e.documentSelector),new Rze(this._connection,e))))}},Rze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentSymbols(o,e){const t=this._client.bridge.translate(o,new X_(1,1)),i=await this._client.server.textDocumentDocumentSymbol({textDocument:t.textDocument});return i?Array.isArray(i)&&i.length>0?"location"in i[0]?i.map(n=>Mze(n,this._client)):i.map(n=>zae(n,this._client,t.textDocument)):[]:null}};function zae(o,e,t){return{name:o.name,detail:o.detail||"",kind:Wae(o.kind),tags:o.tags?.map(i=>Bae(i)).filter(i=>i!==void 0)||[],range:e.bridge.translateBackRange(t,o.range).range,selectionRange:e.bridge.translateBackRange(t,o.selectionRange).range,children:o.children?.map(i=>zae(i,e,t))||[]}}function Mze(o,e){return{name:o.name,detail:"",kind:Wae(o.kind),tags:o.tags?.map(t=>Bae(t)).filter(t=>t!==void 0)||[],range:e.bridge.translateBackRange({uri:o.location.uri},o.location.range).range,selectionRange:e.bridge.translateBackRange({uri:o.location.uri},o.location.range).range,children:[]}}var Aze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{rename:{dynamicRegistration:!0,prepareSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentRename,!0,e=>Le.registerRenameProvider(Qn(e.documentSelector),new Pze(this._connection,e))))}},Pze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideRenameEdits(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentRename({textDocument:n.textDocument,position:n.position,newName:t});return s?Oze(s,this._client):null}async resolveRenameLocation(o,e,t){if(!this._capabilities.prepareProvider)return null;const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentPrepareRename({textDocument:i.textDocument,position:i.position});if(!n)return null;if("range"in n&&"placeholder"in n)return{range:this._client.bridge.translateBackRange(i.textDocument,n.range).range,text:n.placeholder};if("defaultBehavior"in n)return null;if("start"in n&&"end"in n){const s=this._client.bridge.translateBackRange(i.textDocument,n).range;return{range:s,text:o.getValueInRange(s)}}return null}};function Oze(o,e){const t=[];if(o.changes)for(const i in o.changes){const n=o.changes[i];for(const s of n){const r=e.bridge.translateBackRange({uri:i},s.range);t.push({resource:r.textModel.uri,versionId:void 0,textEdit:{range:r.range,text:s.newText}})}}if(o.documentChanges){for(const i of o.documentChanges)if("textDocument"in i){const n=i.textDocument.uri;for(const s of i.edits){const r=e.bridge.translateBackRange({uri:n},s.range);t.push({resource:r.textModel.uri,versionId:i.textDocument.version,textEdit:{range:r.range,text:s.newText}})}}}return{edits:t}}var Fze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{codeAction:{dynamicRegistration:!0,codeActionLiteralSupport:{codeActionKind:{valueSet:Array.from(Aae.keys())}},isPreferredSupport:!0,disabledSupport:!0,dataSupport:!0,resolveSupport:{properties:["edit"]}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentCodeAction,!0,e=>Le.registerCodeActionProvider(Qn(e.documentSelector),new Wze(this._connection,e))))}},Wze=class{constructor(o,e){Pe(this,"resolveCodeAction"),this._client=o,this._capabilities=e,e.resolveProvider&&(this.resolveCodeAction=async(t,i)=>{if(t._lspAction){const n=await this._client.server.codeActionResolve(t._lspAction);n.edit&&(t.edit=FX(n.edit,this._client)),n.command&&(t.command=sC(n.command))}return t})}async provideCodeActions(o,e,t,i){const n=this._client.bridge.translate(o,e.getStartPosition()),s=await this._client.server.textDocumentCodeAction({textDocument:n.textDocument,range:this._client.bridge.translateRange(o,e),context:{diagnostics:t.markers.map(r=>({range:this._client.bridge.translateRange(o,i2.lift(r)),message:r.message,severity:tze(r.severity)})),triggerKind:z6e(t.trigger)}});return s?{actions:(Array.isArray(s)?s:[s]).map(r=>{if("title"in r&&!("kind"in r)){const a=r;return{title:a.title,command:sC(a)}}else{const a=r;return{title:a.title,kind:H6e(a.kind),isPreferred:a.isPreferred,disabled:a.disabled?.reason,edit:a.edit?FX(a.edit,this._client):void 0,command:sC(a.command),_lspAction:a}}}),dispose:()=>{}}:null}};function FX(o,e){const t=[];if(o.changes)for(const i in o.changes){const n=o.changes[i];for(const s of n){const r=e.bridge.translateBackRange({uri:i},s.range);t.push({resource:r.textModel.uri,versionId:void 0,textEdit:{range:r.range,text:s.newText}})}}if(o.documentChanges){for(const i of o.documentChanges)if("textDocument"in i){const n=i.textDocument.uri;for(const s of i.edits){const r=e.bridge.translateBackRange({uri:n},s.range);t.push({resource:r.textModel.uri,versionId:i.textDocument.version??void 0,textEdit:{range:r.range,text:s.newText}})}}}return{edits:t}}var Bze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{codeLens:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentCodeLens,!0,e=>Le.registerCodeLensProvider(Qn(e.documentSelector),new Hze(this._connection,e))))}},Hze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideCodeLenses(o,e){const t=this._client.bridge.translate(o,new X_(1,1)),i=await this._client.server.textDocumentCodeLens({textDocument:t.textDocument});return i?{lenses:i.map(n=>({range:Gp(this._client.bridge.translateBackRange(t.textDocument,n.range),o).range,command:sC(n.command),_lspCodeLens:n})),dispose:()=>{}}:null}async resolveCodeLens(o,e,t){if(!this._capabilities.resolveProvider||!e._lspCodeLens)return e;const i=await this._client.server.codeLensResolve(e._lspCodeLens);return i.command&&(e.command={id:i.command.command,title:i.command.title,arguments:i.command.arguments}),e}},Vze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{documentLink:{dynamicRegistration:!0,tooltipSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDocumentLink,!0,e=>Le.registerLinkProvider(Qn(e.documentSelector),new zze(this._connection,e))))}},zze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideLinks(o,e){const t=this._client.bridge.translate(o,new X_(1,1)),i=await this._client.server.textDocumentDocumentLink({textDocument:t.textDocument});return i?{links:i.map(n=>({range:this._client.bridge.translateBackRange(t.textDocument,n.range).range,url:n.target,tooltip:n.tooltip}))}:null}async resolveLink(o,e){return this._capabilities.resolveProvider,o}},Uze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{formatting:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentFormatting,!0,e=>Le.registerDocumentFormattingEditProvider(Qn(e.documentSelector),new $ze(this._connection,e))))}},$ze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentFormattingEdits(o,e,t){const i=this._client.bridge.translate(o,new X_(1,1)),n=await this._client.server.textDocumentFormatting({textDocument:i.textDocument,options:{tabSize:e.tabSize,insertSpaces:e.insertSpaces}});return n?n.map(s=>({range:this._client.bridge.translateBackRange(i.textDocument,s.range).range,text:s.newText})):null}},jze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{rangeFormatting:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentRangeFormatting,!0,e=>Le.registerDocumentRangeFormattingEditProvider(Qn(e.documentSelector),new qze(this._connection,e))))}},qze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentRangeFormattingEdits(o,e,t,i){const n=this._client.bridge.translate(o,e.getStartPosition()),s=await this._client.server.textDocumentRangeFormatting({textDocument:n.textDocument,range:this._client.bridge.translateRange(o,e),options:{tabSize:t.tabSize,insertSpaces:t.insertSpaces}});return s?s.map(r=>({range:this._client.bridge.translateBackRange(n.textDocument,r.range).range,text:r.newText})):null}},Kze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{onTypeFormatting:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentOnTypeFormatting,!0,e=>Le.registerOnTypeFormattingEditProvider(Qn(e.documentSelector),new Gze(this._connection,e))))}},Gze=class{constructor(o,e){Pe(this,"autoFormatTriggerCharacters"),this._client=o,this._capabilities=e,this.autoFormatTriggerCharacters=[e.firstTriggerCharacter,...e.moreTriggerCharacter||[]]}async provideOnTypeFormattingEdits(o,e,t,i,n){const s=this._client.bridge.translate(o,e),r=await this._client.server.textDocumentOnTypeFormatting({textDocument:s.textDocument,position:s.position,ch:t,options:{tabSize:i.tabSize,insertSpaces:i.insertSpaces}});return r?r.map(a=>({range:this._client.bridge.translateBackRange(s.textDocument,a.range).range,text:a.newText})):null}},Zze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{foldingRange:{dynamicRegistration:!0,rangeLimit:5e3,lineFoldingOnly:!1,foldingRangeKind:{valueSet:[nC.Comment,nC.Imports,nC.Region]}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentFoldingRange,!0,e=>Le.registerFoldingRangeProvider(Qn(e.documentSelector),new Yze(this._connection,e))))}},Yze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideFoldingRanges(o,e,t){const i=this._client.bridge.translate(o,new X_(1,1)),n=await this._client.server.textDocumentFoldingRange({textDocument:i.textDocument});return n?n.map(s=>({start:s.startLine+1,end:s.endLine+1,kind:J6e(s.kind)})):null}},Xze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{selectionRange:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentSelectionRange,!0,e=>Le.registerSelectionRangeProvider(Qn(e.documentSelector),new Qze(this._connection,e))))}},Qze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideSelectionRanges(o,e,t){const i=this._client.bridge.translate(o,e[0]),n=await this._client.server.textDocumentSelectionRange({textDocument:i.textDocument,positions:e.map(s=>this._client.bridge.translate(o,s).position)});return n?n.map(s=>this.convertSelectionRange(s,i.textDocument)):null}convertSelectionRange(o,e){const t=[];let i=o;for(;i;)t.push({range:this._client.bridge.translateBackRange(e,i.range).range}),i=i.parent;return t}},Jze=class extends ln{constructor(o){super(),Pe(this,"_providers",new Set),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{inlayHint:{dynamicRegistration:!0,resolveSupport:{properties:["tooltip","textEdits","label.tooltip","label.location","label.command"]}}},workspace:{inlayHint:{refreshSupport:!0}}})),this._register(this._connection.connection.registerRequestHandler(bx.client.workspaceInlayHintRefresh,async()=>{for(const e of this._providers)e.refresh();return{ok:null}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentInlayHint,!0,e=>{const t=new eUe(this._connection,e);this._providers.add(t);const i=Le.registerInlayHintsProvider(Qn(e.documentSelector),t);return{dispose:()=>{this._providers.delete(t),i.dispose()}}}))}},eUe=class{constructor(o,e){Pe(this,"_onDidChangeInlayHints",new dw),Pe(this,"onDidChangeInlayHints",this._onDidChangeInlayHints.event),Pe(this,"resolveInlayHint"),this._client=o,this._capabilities=e,e.resolveProvider&&(this.resolveInlayHint=async(t,i)=>{const n=await this._client.server.inlayHintResolve(t._lspInlayHint);return n.tooltip&&(t.tooltip=L9(n.tooltip)),n.label!==t._lspInlayHint.label&&(t.label=WX(n.label)),n.textEdits&&(t.textEdits=n.textEdits.map(s=>({range:this._client.bridge.translateBackRange({uri:t._targetUri},s.range).range,text:s.newText}))),t})}refresh(){this._onDidChangeInlayHints.fire()}async provideInlayHints(o,e,t){const i=this._client.bridge.translate(o,e.getStartPosition()),n=await tUe(async()=>await this._client.server.textDocumentInlayHint({textDocument:i.textDocument,range:this._client.bridge.translateRange(o,e)}));return n?{hints:n.map(s=>({label:WX(s.label),position:Gp(this._client.bridge.translateBack(i.textDocument,s.position),o).position,kind:lze(s.kind),tooltip:L9(s.tooltip),paddingLeft:s.paddingLeft,paddingRight:s.paddingRight,textEdits:s.textEdits?.map(r=>({range:Gp(this._client.bridge.translateBackRange(i.textDocument,r.range),o).range,text:r.newText})),_lspInlayHint:s,_targetUri:i.textDocument.uri})),dispose:()=>{}}:null}};async function tUe(o){for(let e=3;;e--)try{return await o()}catch(t){if(t.message==="content modified"&&e>0)continue;throw t}}function WX(o){return typeof o=="string"?o:o.map(e=>{const t={label:e.value,tooltip:L9(e.tooltip),command:sC(e.command)};return e.location&&(t.location={uri:yae.parse(e.location.uri),range:new i2(e.location.range.start.line+1,e.location.range.start.character+1,e.location.range.end.line+1,e.location.range.end.character+1)}),t})}function L9(o){if(o)return typeof o=="string"?o:{value:o.value}}var iUe=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{semanticTokens:{dynamicRegistration:!0,requests:{range:!0,full:{delta:!0}},tokenTypes:["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"],tokenModifiers:["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],formats:[B6e.Relative],overlappingTokenSupport:!1,multilineTokenSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentSemanticTokensFull,!0,e=>Le.registerDocumentSemanticTokensProvider(Qn(e.documentSelector),new nUe(this._connection,e))))}},nUe=class{constructor(o,e){this._client=o,this._capabilities=e}getLegend(){return{tokenTypes:this._capabilities.legend.tokenTypes,tokenModifiers:this._capabilities.legend.tokenModifiers}}releaseDocumentSemanticTokens(o){}async provideDocumentSemanticTokens(o,e,t){const i=this._client.bridge.translate(o,o.getPositionAt(0)),n=this._capabilities.full;if(e&&n&&typeof n=="object"&&n.delta){const r=await this._client.server.textDocumentSemanticTokensFullDelta({textDocument:i.textDocument,previousResultId:e});return r?"edits"in r?{resultId:r.resultId,edits:r.edits.map(a=>({start:a.start,deleteCount:a.deleteCount,data:a.data?new Uint32Array(a.data):void 0}))}:{resultId:r.resultId,data:new Uint32Array(r.data)}:null}const s=await this._client.server.textDocumentSemanticTokensFull({textDocument:i.textDocument});return s?{resultId:s.resultId,data:new Uint32Array(s.data)}:null}async provideDocumentSemanticTokensEdits(o,e,t){return this.provideDocumentSemanticTokens(o,e,t)}},sUe=class extends ln{constructor(o){super(),Pe(this,"_diagnosticsMarkerOwner","lsp"),Pe(this,"_pullDiagnosticProviders",new Map),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{publishDiagnostics:{relatedInformation:!0,tagSupport:{valueSet:[...Hae.keys()]},versionSupport:!0,codeDescriptionSupport:!0,dataSupport:!0},diagnostic:{dynamicRegistration:!0,relatedDocumentSupport:!0}}})),this._register(this._connection.connection.registerNotificationHandler(bx.client.textDocumentPublishDiagnostics,e=>this._handlePublishDiagnostics(e))),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDiagnostic,!0,e=>{const t=new Mz;for(const i of Kp.getModels())this._addPullDiagnosticProvider(i,e,t);return t.add(Kp.onDidCreateModel(i=>{this._addPullDiagnosticProvider(i,e,t)})),t}))}_addPullDiagnosticProvider(o,e,t){if(o.getLanguageId(),!cze(o,e.documentSelector))return;const i=new oUe(o,this._connection,this._diagnosticsMarkerOwner,e);this._pullDiagnosticProviders.set(o,i),t.add(i),t.add(o.onWillDispose(()=>{this._pullDiagnosticProviders.delete(o)}))}_handlePublishDiagnostics(o){const e=o.uri;try{const t=this._connection.bridge.translateBack({uri:e},{line:0,character:0}).textModel;if(!t||t.isDisposed())return;const i=o.diagnostics.map(n=>x9(n));Kp.setModelMarkers(t,this._diagnosticsMarkerOwner,i)}catch(t){console.debug(`Could not set diagnostics for ${e}:`,t)}}},oUe=class extends ln{constructor(o,e,t,i){super(),Pe(this,"_updateHandle"),Pe(this,"_previousResultId"),this._model=o,this._connection=e,this._markerOwner=t,this._capability=i,this._register(this._model.onDidChangeContent(()=>{this._scheduleDiagnosticUpdate()})),this._scheduleDiagnosticUpdate()}_scheduleDiagnosticUpdate(){this._updateHandle!==void 0&&clearTimeout(this._updateHandle),this._updateHandle=window.setTimeout(()=>{this._updateHandle=void 0,this._requestDiagnostics()},500)}async _requestDiagnostics(){if(!this._model.isDisposed())try{const o=this._connection.bridge.translate(this._model,new X_(1,1)),e=await this._connection.server.textDocumentDiagnostic({textDocument:o.textDocument,identifier:this._capability.identifier,previousResultId:this._previousResultId});if(this._model.isDisposed())return;this._handleDiagnosticReport(e)}catch(o){console.error("Error requesting diagnostics:",o)}}_handleDiagnosticReport(o){if(o.kind==="full"){this._previousResultId=o.resultId;const e=o.items.map(t=>x9(t));Kp.setModelMarkers(this._model,this._markerOwner,e),"relatedDocuments"in o&&o.relatedDocuments&&this._handleRelatedDocuments(o.relatedDocuments)}else o.kind==="unchanged"&&(this._previousResultId=o.resultId)}_handleRelatedDocuments(o){for(const[e,t]of Object.entries(o))try{const i=this._connection.bridge.translateBack({uri:e},{line:0,character:0}).textModel;if(!i||i.isDisposed())continue;if(t.kind==="full"){const n=t.items.map(s=>x9(s));Kp.setModelMarkers(i,this._markerOwner,n)}}catch(i){console.debug(`Could not set related diagnostics for ${e}:`,i)}}dispose(){this._updateHandle!==void 0&&(clearTimeout(this._updateHandle),this._updateHandle=void 0),super.dispose()}},rUe=class{constructor(o,e,t,i){this.server=o,this.bridge=e,this.capabilities=t,this.connection=i}},aUe=class extends ln{constructor(o){super(),Pe(this,"_staticCapabilities",new Set),Pe(this,"_dynamicFromStatic",dUe.create()),Pe(this,"_registrations",new Map),Pe(this,"_serverCapabilities"),this._connection=o,this._register(this._connection.registerRequestHandler(bx.client.clientRegisterCapability,async e=>{for(const t of e.registrations){const i=HX(t.method),n=new BX(t.id,i,t.registerOptions,!1);this._registerCapabilityOptions(n)}return{ok:null}})),this._register(this._connection.registerRequestHandler(bx.client.clientUnregisterCapability,async e=>{for(const t of e.unregisterations){const i=HX(t.method),n=this._registrations.get(i),s=n?.registrations.get(t.id);if(!s)throw new Error(`No registration for method ${t.method} with id ${t.id}`);s?.handlerDisposables.forEach(r=>r.dispose()),n?.registrations.delete(t.id)}return{ok:null}}))}_registerCapabilityOptions(o){let e=this._registrations.get(o.capability);if(e||(e=new VX,this._registrations.set(o.capability,e)),e.registrations.has(o.id))throw new Error(`Handler for method ${o.capability.method} with id ${o.id} already registered`);e.registrations.set(o.id,o);for(const t of e.handlers)!t.handleStaticCapability&&o.isFromStatic||o.handlerDisposables.set(t,t.handler(o.options))}setServerCapabilities(o){if(this._serverCapabilities)throw new Error("Server capabilities already set");this._serverCapabilities=o;for(const e of Object.values(ht)){const t=this._dynamicFromStatic.getOptions(e,o);t&&this._registerCapabilityOptions(new BX(e.method,e,t,!0))}}getClientCapabilities(){const o={};for(const e of this._staticCapabilities)$ae(o,e.cap);return o}addStaticClientCapabilities(o){const e={cap:o};return this._staticCapabilities.add(e),{dispose:()=>{this._staticCapabilities.delete(e)}}}registerCapabilityHandler(o,e,t){let i=this._registrations.get(o);i||(i=new VX,this._registrations.set(o,i));const n=new lUe(o,e,t);i.handlers.add(n);for(const s of i.registrations.values())!n.handleStaticCapability&&s.isFromStatic||s.handlerDisposables.set(n,t(s.options));return{dispose:()=>{i.handlers.delete(n);for(const s of i.registrations.values()){const r=s.handlerDisposables.get(n);r&&(r.dispose(),s.handlerDisposables.delete(n))}}}}},lUe=class{constructor(o,e,t){this.capability=o,this.handleStaticCapability=e,this.handler=t}},BX=class{constructor(o,e,t,i){Pe(this,"handlerDisposables",new Map),this.id=o,this.capability=e,this.options=t,this.isFromStatic=i}};const cUe=new Map([...Object.values(ht)].map(o=>[o.method,o]));function HX(o){const e=cUe.get(o);if(!e)throw new Error(`No capability found for method ${o}`);return e}var VX=class{constructor(){Pe(this,"handlers",new Set),Pe(this,"registrations",new Map)}},dUe=class Uae{constructor(){Pe(this,"_mappings",new Map)}static create(){const e=new Uae;return e.set(ht.textDocumentDidChange,t=>{if(t.textDocumentSync!==void 0)return typeof t.textDocumentSync=="object"?{syncKind:t.textDocumentSync.change??O6e.None,documentSelector:null}:{syncKind:t.textDocumentSync,documentSelector:null}}),e.set(ht.textDocumentCompletion,t=>t.completionProvider),e.set(ht.textDocumentHover,t=>t.hoverProvider),e.set(ht.textDocumentSignatureHelp,t=>t.signatureHelpProvider),e.set(ht.textDocumentDefinition,t=>t.definitionProvider),e.set(ht.textDocumentReferences,t=>t.referencesProvider),e.set(ht.textDocumentDocumentHighlight,t=>t.documentHighlightProvider),e.set(ht.textDocumentDocumentSymbol,t=>t.documentSymbolProvider),e.set(ht.textDocumentCodeAction,t=>t.codeActionProvider),e.set(ht.textDocumentCodeLens,t=>t.codeLensProvider),e.set(ht.textDocumentDocumentLink,t=>t.documentLinkProvider),e.set(ht.textDocumentFormatting,t=>t.documentFormattingProvider),e.set(ht.textDocumentRangeFormatting,t=>t.documentRangeFormattingProvider),e.set(ht.textDocumentOnTypeFormatting,t=>t.documentOnTypeFormattingProvider),e.set(ht.textDocumentRename,t=>t.renameProvider),e.set(ht.textDocumentFoldingRange,t=>t.foldingRangeProvider),e.set(ht.textDocumentDeclaration,t=>t.declarationProvider),e.set(ht.textDocumentTypeDefinition,t=>t.typeDefinitionProvider),e.set(ht.textDocumentImplementation,t=>t.implementationProvider),e.set(ht.textDocumentDocumentColor,t=>t.colorProvider),e.set(ht.textDocumentSelectionRange,t=>t.selectionRangeProvider),e.set(ht.textDocumentLinkedEditingRange,t=>t.linkedEditingRangeProvider),e.set(ht.textDocumentPrepareCallHierarchy,t=>t.callHierarchyProvider),e.set(ht.textDocumentSemanticTokensFull,t=>t.semanticTokensProvider),e.set(ht.textDocumentInlayHint,t=>t.inlayHintProvider),e.set(ht.textDocumentInlineValue,t=>t.inlineValueProvider),e.set(ht.textDocumentDiagnostic,t=>t.diagnosticProvider),e.set(ht.textDocumentMoniker,t=>t.monikerProvider),e.set(ht.textDocumentPrepareTypeHierarchy,t=>t.typeHierarchyProvider),e.set(ht.workspaceSymbol,t=>t.workspaceSymbolProvider),e.set(ht.workspaceExecuteCommand,t=>t.executeCommandProvider),e}set(e,t){if(this._mappings.has(e.method))throw new Error(`Capability for method ${e.method} already registered`);this._mappings.set(e.method,t)}getOptions(e,t){const i=this._mappings.get(e.method);if(i)return i(t)}};function $ae(o,e){for(const t of Object.keys(e)){const i=e[t];if(i===void 0)continue;const n=o[t];if(n===void 0){o[t]=i;continue}if(typeof i!="object"||i===null){o[t]=i;continue}if(typeof n!="object"||n===null){o[t]=i;continue}$ae(n,i)}}var hUe=class extends ln{constructor(o,e){super(),Pe(this,"_managedModels",new Map),Pe(this,"_managedModelsReverse",new Map),Pe(this,"_started",!1),this._server=o,this._capabilities=e,this._register(this._capabilities.addStaticClientCapabilities({textDocument:{synchronization:{dynamicRegistration:!0,willSave:!1,willSaveWaitUntil:!1,didSave:!1}}})),this._register(e.registerCapabilityHandler(ht.textDocumentDidChange,!0,t=>{if(this._started)return{dispose:()=>{}};this._started=!0,this._register(Kp.onDidCreateModel(i=>{this._getOrCreateManagedModel(i)}));for(const i of Kp.getModels())this._getOrCreateManagedModel(i);return{dispose:()=>{}}}))}_getOrCreateManagedModel(o){if(!this._started)throw new Error("Not started");const e=o.uri.toString(!0).toLowerCase();let t=this._managedModels.get(o);return t||(t=new uUe(o,this._server),this._managedModels.set(o,t),this._managedModelsReverse.set(e,o)),o.onWillDispose(()=>{t.dispose(),this._managedModels.delete(o),this._managedModelsReverse.delete(e)}),t}translateBack(o,e){const t=o.uri.toLowerCase(),i=this._managedModelsReverse.get(t);if(!i)throw new Error(`No text model for uri ${t}`);return{textModel:i,position:new X_(e.line+1,e.character+1)}}translateBackRange(o,e){const t=o.uri.toLowerCase(),i=this._managedModelsReverse.get(t);if(!i)throw new Error(`No text model for uri ${t}`);return{textModel:i,range:new i2(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}}translate(o,e){return{textDocument:{uri:o.uri.toString(!0)},position:{line:e.lineNumber-1,character:e.column-1}}}translateRange(o,e){return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}},uUe=class extends ln{constructor(o,e){super(),this._textModel=o,this._api=e;const t=o.uri.toString(!0).toLowerCase();this._api.textDocumentDidOpen({textDocument:{languageId:o.getLanguageId(),uri:t,version:o.getVersionId(),text:o.getValue()}}),this._register(o.onDidChangeContent(i=>{const n=i.changes.map(s=>gUe(s));this._api.textDocumentDidChange({textDocument:{uri:t,version:o.getVersionId()},contentChanges:n})})),this._register({dispose:()=>{this._api.textDocumentDidClose({textDocument:{uri:t}})}})}};function gUe(o){return{range:fUe(o.range),rangeLength:o.rangeLength,text:o.text}}function fUe(o){return{start:{line:o.startLineNumber-1,character:o.startColumn-1},end:{line:o.endLineNumber-1,character:o.endColumn-1}}}var pUe=class{constructor(o){Pe(this,"_connection"),Pe(this,"_capabilitiesRegistry"),Pe(this,"_bridge"),Pe(this,"_initPromise");const e=w9.fromTransport(o),t=bx.getServer(e,{});e.startListen(),this._capabilitiesRegistry=new aUe(e),this._bridge=new hUe(t.server,this._capabilitiesRegistry),this._connection=new rUe(t.server,this._bridge,this._capabilitiesRegistry,e),this.createFeatures(),this._initPromise=this._init()}async _init(){const o=await this._connection.server.initialize({processId:null,capabilities:this._capabilitiesRegistry.getClientCapabilities(),rootUri:null});this._connection.server.initialized({}),this._capabilitiesRegistry.setServerCapabilities(o.capabilities)}createFeatures(){const o=new Mz;return o.add(new dze(this._connection)),o.add(new fze(this._connection)),o.add(new _ze(this._connection)),o.add(new vze(this._connection)),o.add(new wze(this._connection)),o.add(new yze(this._connection)),o.add(new Lze(this._connection)),o.add(new kze(this._connection)),o.add(new Eze(this._connection)),o.add(new Nze(this._connection)),o.add(new Aze(this._connection)),o.add(new Fze(this._connection)),o.add(new Bze(this._connection)),o.add(new Vze(this._connection)),o.add(new Uze(this._connection)),o.add(new jze(this._connection)),o.add(new Kze(this._connection)),o.add(new Zze(this._connection)),o.add(new Xze(this._connection)),o.add(new Jze(this._connection)),o.add(new iUe(this._connection)),o.add(new sUe(this._connection)),o}},Vb=null;typeof WebSocket<"u"?Vb=WebSocket:typeof MozWebSocket<"u"?Vb=MozWebSocket:typeof global<"u"?Vb=global.WebSocket||global.MozWebSocket:typeof window<"u"?Vb=window.WebSocket||window.MozWebSocket:typeof self<"u"&&(Vb=self.WebSocket||self.MozWebSocket);var mUe=Vb;function _Ue(o){return"host"in o?{address:`${o.forceTls?"wss":"ws"}://${o.host}:${o.port}`}:o}var bUe=class D9 extends xae{constructor(e){super(),Pe(this,"socket"),Pe(this,"errorEmitter",new Rz),Pe(this,"onError",this.errorEmitter),this.socket=e,e.onmessage=t=>{try{const i=t.data;if(typeof i=="string"){const n=JSON.parse(i);this._dispatchReceivedMessage(n)}else throw new Error("Not supported")}catch(i){this.errorEmitter.fire({error:i})}},e.onclose=t=>{this._onConnectionClosed()}}static connectTo(e){const t=new mUe(_Ue(e).address);return new Promise((i,n)=>{t.onerror=s=>{n(s)},t.onopen=()=>{i(new D9(t))}})}static fromWebSocket(e){return new D9(e)}close(){this.socket.close()}dispose(){this.close()}_sendImpl(e){const t=JSON.stringify(e);return new Promise((i,n)=>{this.socket.send(t,s=>{s?n(s):i()})})}toString(){return`${this.id}@${this.socket.url}`}},jae=class extends xae{constructor(o,e=void 0,t=void 0){super(),Pe(this,"_windowLike"),Pe(this,"_source"),Pe(this,"_loadingState"),Pe(this,"_disposed",!1),Pe(this,"_messageHandler",({data:i,source:n})=>{this._source&&n!==this._source||typeof i=="object"&&i&&this._dispatchReceivedMessage(i)}),this._windowLike=o,this._source=e,this._loadingState=t,this._windowLike.addEventListener("message",this._messageHandler)}async _sendImpl(o){if(this._disposed)throw new Error("Transport is disposed");this._loadingState&&!this._loadingState.loaded&&await this._loadingState.onLoaded,this._windowLike.postMessage(o)}toString(){return`${this.id}@${this._windowLike}`}dispose(){this._disposed||(this._disposed=!0,this._windowLike.removeEventListener("message",this._messageHandler))}};function vUe(o){if(typeof window>"u")throw new Error("call this function from the main browser thread");return new jae(o)}function CUe(o){if(typeof window>"u")throw new Error("call this function from the main browser thread");return new jae(o.contentWindow,o.contentWindow,{loaded:window.document.readyState==="complete",onLoaded:new Promise(e=>{window.addEventListener("load",()=>e())})})}const GKe=Object.freeze(Object.defineProperty({__proto__:null,MonacoLspClient:pUe,WebSocketTransport:bUe,createTransportToIFrame:CUe,createTransportToWorker:vUe},Symbol.toStringTag,{value:"Module"})),qae={},eF={};class Az{static getOrCreate(e){return eF[e]||(eF[e]=new Az(e)),eF[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,qae[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}}function We(o){const e=o.id;qae[e]=o,Le.register(o);const t=Az.getOrCreate(e);Le.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),Le.onLanguageEncountered(e,async()=>{const i=await t.load();Le.setLanguageConfiguration(e,i.conf)})}We({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>Ae(()=>import("./DLDM7-KI.js"),[],import.meta.url)});We({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>Ae(()=>import("./DNDY2TF8.js"),[],import.meta.url)});We({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>Ae(()=>import("./Y6nb8tq_.js"),[],import.meta.url)});We({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>Ae(()=>import("./BwHxbl9M.js"),[],import.meta.url)});We({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>Ae(()=>import("./CFznDFnq.js"),[],import.meta.url)});We({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>Ae(()=>import("./Bf6VGUru.js"),[],import.meta.url)});We({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>Ae(()=>import("./Dnu-v4kV.js"),[],import.meta.url)});We({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>Ae(()=>import("./Bd8akH9Z.js"),[],import.meta.url)});We({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>Ae(()=>import("./BbWJElDN.js"),[],import.meta.url)});We({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>Ae(()=>import("./BbWJElDN.js"),[],import.meta.url)});We({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>Ae(()=>import("./Co3qMtFm.js"),[],import.meta.url)});We({id:"csp",extensions:[".csp"],aliases:["CSP","csp"],loader:()=>Ae(()=>import("./D-4FJmMZ.js"),[],import.meta.url)});We({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>Ae(()=>import("./DdJfP1eB.js"),[],import.meta.url)});We({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>Ae(()=>import("./cTPe9QuQ.js"),[],import.meta.url)});We({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>Ae(()=>import("./BOtBlQCF.js"),[],import.meta.url)});We({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>Ae(()=>import("./BG73LgW2.js"),[],import.meta.url)});We({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>Ae(()=>import("./BEgZUVRK.js"),[],import.meta.url)});We({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>Ae(()=>import("./BkW5O-1t.js"),[],import.meta.url)});We({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>Ae(()=>import("./BeJ5waoc.js"),[],import.meta.url)});We({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>Ae(()=>import("./PahG7c26.js"),[],import.meta.url)});We({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>Ae(()=>import("./418Agcsp.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationDollar)});We({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>Ae(()=>import("./418Agcsp.js"),[],import.meta.url).then(o=>o.TagAngleInterpolationDollar)});We({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>Ae(()=>import("./418Agcsp.js"),[],import.meta.url).then(o=>o.TagBracketInterpolationDollar)});We({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>Ae(()=>import("./418Agcsp.js"),[],import.meta.url).then(o=>o.TagAngleInterpolationBracket)});We({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>Ae(()=>import("./418Agcsp.js"),[],import.meta.url).then(o=>o.TagBracketInterpolationBracket)});We({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>Ae(()=>import("./418Agcsp.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationDollar)});We({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>Ae(()=>import("./418Agcsp.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationBracket)});We({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>Ae(()=>import("./acbASCJo.js"),[],import.meta.url)});We({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>Ae(()=>import("./BxJiqAUM.js"),[],import.meta.url)});We({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>Ae(()=>import("./C-PQQ8rb.js"),[],import.meta.url)});We({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>Ae(()=>import("./DtV1sZF8.js"),[],import.meta.url)});We({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>Ae(()=>import("./BuFDqZnJ.js"),[],import.meta.url)});We({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>Ae(()=>import("./Kd9XrMLS.js"),[],import.meta.url)});We({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>Ae(()=>import("./CXBNlu9o.js"),[],import.meta.url)});We({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>Ae(()=>import("./DV7x43jt.js"),__vite__mapDeps([0,1]),import.meta.url)});We({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>Ae(()=>import("./cl7-CwDS.js"),[],import.meta.url)});We({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>Ae(()=>import("./s7OhZKlX.js"),[],import.meta.url)});We({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>Ae(()=>import("./9HpZscsL.js"),[],import.meta.url)});We({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>Ae(()=>import("./OrD6JF1K.js"),[],import.meta.url)});We({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>Ae(()=>import("./Cyyb5UIc.js"),[],import.meta.url)});We({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>Ae(()=>import("./BbuLzldI.js"),[],import.meta.url)});We({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>Ae(()=>import("./B8OfTtLu.js"),[],import.meta.url)});We({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>Ae(()=>import("./BFxVWTOG.js"),[],import.meta.url)});We({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>Ae(()=>import("./ada9rZfE.js"),[],import.meta.url)});We({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>Ae(()=>import("./CiqrrVzr.js"),[],import.meta.url)});We({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>Ae(()=>import("./DmeGPVcC.js"),[],import.meta.url)});We({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>Ae(()=>import("./C_tMU-Nz.js"),[],import.meta.url)});We({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>Ae(()=>import("./BDtDVThU.js"),[],import.meta.url)});We({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>Ae(()=>import("./vHIfCaH5.js"),[],import.meta.url)});We({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>Ae(()=>import("./DtZ0uQbO.js"),[],import.meta.url)});We({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>Ae(()=>import("./Ub6l9XKa.js"),[],import.meta.url)});We({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>Ae(()=>import("./BlNEE0v7.js"),[],import.meta.url)});We({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>Ae(()=>import("./BBUBE1dy.js"),[],import.meta.url)});We({id:"pla",extensions:[".pla"],loader:()=>Ae(()=>import("./DSh2-awV.js"),[],import.meta.url)});We({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>Ae(()=>import("./CocnycG-.js"),[],import.meta.url)});We({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>Ae(()=>import("./tScXyioY.js"),[],import.meta.url)});We({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>Ae(()=>import("./COWaemsV.js"),[],import.meta.url)});We({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>Ae(()=>import("./Brw8urJB.js"),[],import.meta.url)});We({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>Ae(()=>import("./8SOpv6rk.js"),[],import.meta.url)});We({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>Ae(()=>import("./iCWz6IE9.js"),[],import.meta.url)});We({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>Ae(()=>import("./Bw9ernYp.js"),[],import.meta.url)});We({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>Ae(()=>import("./j7ic8hl3.js"),[],import.meta.url)});We({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>Ae(()=>import("./B5qiyEpH.js"),[],import.meta.url)});We({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>Ae(()=>import("./Bu5POkcn.js"),[],import.meta.url)});We({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>Ae(()=>import("./Bs9aos_-.js"),[],import.meta.url)});We({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>Ae(()=>import("./CqXO7rUv.js"),[],import.meta.url)});We({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>Ae(()=>import("./zBfavPgS.js"),[],import.meta.url)});We({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>Ae(()=>import("./BzKRNQWT.js"),[],import.meta.url)});We({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>Ae(()=>import("./BBc9UKZt.js"),[],import.meta.url)});We({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>Ae(()=>import("./D9hQfWCl.js"),[],import.meta.url)});We({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>Ae(()=>import("./BPhDTwHR.js"),[],import.meta.url)});We({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>Ae(()=>import("./CBJaRo0y.js"),[],import.meta.url)});We({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>Ae(()=>import("./DiJ1NA_G.js"),[],import.meta.url)});We({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>Ae(()=>import("./Db0IVjzk.js"),[],import.meta.url)});We({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>Ae(()=>import("./CnS9iZB_.js"),[],import.meta.url)});We({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>Ae(()=>import("./CJmd_6j2.js"),[],import.meta.url)});We({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>Ae(()=>import("./ClhHkBeG.js"),[],import.meta.url)});We({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>Ae(()=>import("./CHwy0fLd.js"),[],import.meta.url)});We({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>Ae(()=>import("./Bqt4WxQ4.js"),[],import.meta.url)});We({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>Ae(()=>import("./Bs9z6M-B.js"),[],import.meta.url)});We({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>Ae(()=>import("./Bs9z6M-B.js"),[],import.meta.url)});We({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>Ae(()=>import("./Dm6ycUr_.js"),[],import.meta.url)});We({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>Ae(()=>import("./Csy3S7wG.js"),[],import.meta.url)});We({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>Ae(()=>import("./DsfORPYa.js"),[],import.meta.url)});We({id:"typespec",extensions:[".tsp"],aliases:["TypeSpec"],loader:()=>Ae(()=>import("./Btyra-wh.js"),[],import.meta.url)});We({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>Ae(()=>import("./Db0cS2oM.js"),[],import.meta.url)});We({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>Ae(()=>import("./DumH7NcR.js"),[],import.meta.url)});We({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:()=>Ae(()=>import("./Cy9hcA7q.js"),[],import.meta.url)});We({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>Ae(()=>import("./BbLh3POL.js"),[],import.meta.url)});let Pz=class{constructor(e,t,i){this._onDidChange=new dw,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}};const Oz={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},Fz={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},Kae=new Pz("css",Oz,Fz),Gae=new Pz("scss",Oz,Fz),Zae=new Pz("less",Oz,Fz);function Wz(){return Ae(()=>import("./OGqbAD_O.js"),__vite__mapDeps([2,3,4]),import.meta.url)}Le.onLanguage("less",()=>{Wz().then(o=>o.setupMode(Zae))});Le.onLanguage("scss",()=>{Wz().then(o=>o.setupMode(Gae))});Le.onLanguage("css",()=>{Wz().then(o=>o.setupMode(Kae))});const YKe=Object.freeze(Object.defineProperty({__proto__:null,cssDefaults:Kae,lessDefaults:Zae,scssDefaults:Gae},Symbol.toStringTag,{value:"Module"}));let wUe=class{constructor(e,t,i){this._onDidChange=new dw,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}};const SUe={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},n2={format:SUe,suggest:{},data:{useDefaultDataProvider:!0}};function s2(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===XS,documentFormattingEdits:o===XS,documentRangeFormattingEdits:o===XS}}const XS="html",zX="handlebars",UX="razor",Yae=o2(XS,n2,s2(XS)),yUe=Yae.defaults,Xae=o2(zX,n2,s2(zX)),xUe=Xae.defaults,Qae=o2(UX,n2,s2(UX)),LUe=Qae.defaults;function DUe(){return Ae(()=>import("./3qVSmuIV.js"),__vite__mapDeps([5,3,4]),import.meta.url)}function o2(o,e=n2,t=s2(o)){const i=new wUe(o,e,t);let n;const s=Le.onLanguage(o,async()=>{n=(await DUe()).setupMode(i)});return{defaults:i,dispose(){s.dispose(),n?.dispose(),n=void 0}}}const QKe=Object.freeze(Object.defineProperty({__proto__:null,handlebarDefaults:xUe,handlebarLanguageService:Xae,htmlDefaults:yUe,htmlLanguageService:Yae,razorDefaults:LUe,razorLanguageService:Qae,registerHTMLLanguageService:o2},Symbol.toStringTag,{value:"Module"}));let kUe=class{constructor(e,t,i){this._onDidChange=new dw,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}};const IUe={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},EUe={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},Jae=new kUe("json",IUe,EUe),TUe=()=>ele().then(o=>o.getWorker());function ele(){return Ae(()=>import("./DPR_clFy.js"),__vite__mapDeps([6,3,4]),import.meta.url)}Le.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});Le.onLanguage("json",()=>{ele().then(o=>o.setupMode(Jae))});const eGe=Object.freeze(Object.defineProperty({__proto__:null,getWorker:TUe,jsonDefaults:Jae},Symbol.toStringTag,{value:"Module"})),NUe="5.9.3";var tle=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(tle||{}),ile=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(ile||{}),nle=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(nle||{}),sle=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(sle||{}),ole=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(ole||{});class rle{constructor(e,t,i,n,s){this._onDidChange=new dw,this._onDidExtraLibsChange=new dw,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(n),this.setModeConfiguration(s),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(typeof t>"u"?i=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:i=t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let n=1;return this._removedExtraLibs[i]&&(n=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(n=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:n},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let s=this._extraLibs[i];s&&s.version===n&&(delete this._extraLibs[i],this._removedExtraLibs[i]=n,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(const t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(const t of e){const i=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,n=t.content;let s=1;this._removedExtraLibs[i]&&(s=this._removedExtraLibs[i]+1),this._extraLibs[i]={content:n,version:s}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}}const RUe=NUe,ale={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},lle=new rle({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},ale),cle=new rle({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},ale),MUe=()=>r2().then(o=>o.getTypeScriptWorker()),AUe=()=>r2().then(o=>o.getJavaScriptWorker());function r2(){return Ae(()=>import("./BtBQ5qfh.js"),__vite__mapDeps([7,3]),import.meta.url)}Le.onLanguage("typescript",()=>r2().then(o=>o.setupTypeScript(lle)));Le.onLanguage("javascript",()=>r2().then(o=>o.setupJavaScript(cle)));const tGe=Object.freeze(Object.defineProperty({__proto__:null,JsxEmit:ile,ModuleKind:tle,ModuleResolutionKind:ole,NewLineKind:nle,ScriptTarget:sle,getJavaScriptWorker:AUe,getTypeScriptWorker:MUe,javascriptDefaults:cle,typescriptDefaults:lle,typescriptVersion:RUe},Symbol.toStringTag,{value:"Module"})),$X="__monacoFindWidgetTabIndexPatchApplied",I1="__monacoFindWidgetOriginalTabIndex";function jX(o,e){const t=o?._domNode;if(!t)return;const i=t.querySelectorAll('input, textarea, [tabindex], [role="button"], [role="checkbox"]');for(const n of i)if(n instanceof HTMLElement)if(e){if(!(I1 in n.dataset))continue;const s=n.dataset[I1];s===""?n.removeAttribute("tabindex"):n.tabIndex=Number(s),delete n.dataset[I1]}else I1 in n.dataset||(n.dataset[I1]=n.getAttribute("tabindex")??""),n.tabIndex=-1}if(!Kd[$X]){const o=Kd.prototype._reveal,e=Kd.prototype._hide;Kd.prototype._reveal=function(...t){o.apply(this,t),jX(this,!0)},Kd.prototype._hide=function(...t){e.apply(this,t),jX(this,!1)},Kd[$X]=!0}export{zKe as C,dw as E,ile as J,UKe as K,Gc as M,X_ as P,i2 as R,sle as S,KKe as T,yae as U,$Ke as a,DX as b,tle as c,ole as d,jKe as e,qKe as f,Kp as g,QKe as h,GKe as i,cle as j,eGe as k,Le as l,tGe as m,YKe as r,lle as t};
|
|
995
|
+
\`\`\``}}var _ze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{signatureHelp:{dynamicRegistration:!0,contextSupport:!0,signatureInformation:{documentationFormat:[pN.Markdown,pN.PlainText],parameterInformation:{labelOffsetSupport:!0},activeParameterSupport:!0}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentSignatureHelp,!0,e=>Le.registerSignatureHelpProvider(Qn(e.documentSelector),new bze(this._connection,e))))}},bze=class{constructor(o,e){Pe(this,"signatureHelpTriggerCharacters"),Pe(this,"signatureHelpRetriggerCharacters"),this._client=o,this._capabilities=e,this.signatureHelpTriggerCharacters=e.triggerCharacters,this.signatureHelpRetriggerCharacters=e.retriggerCharacters}async provideSignatureHelp(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentSignatureHelp({textDocument:n.textDocument,position:n.position,context:{triggerKind:rze(i.triggerKind),triggerCharacter:i.triggerCharacter,isRetrigger:i.isRetrigger}});return s?{value:{signatures:s.signatures.map(r=>({label:r.label,documentation:OX(r.documentation),parameters:r.parameters?.map(a=>({label:a.label,documentation:OX(a.documentation)}))||[],activeParameter:r.activeParameter})),activeSignature:s.activeSignature||0,activeParameter:s.activeParameter||0},dispose:()=>{}}:null}};function OX(o){if(o)return typeof o=="string"?o:{value:o.value}}var vze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{definition:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDefinition,!0,e=>Le.registerDefinitionProvider(Qn(e.documentSelector),new Cze(this._connection,e))))}},Cze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDefinition(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentDefinition({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},wze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{declaration:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDeclaration,!0,e=>Le.registerDeclarationProvider(Qn(e.documentSelector),new Sze(this._connection,e))))}},Sze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDeclaration(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentDeclaration({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},yze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{typeDefinition:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentTypeDefinition,!0,e=>Le.registerTypeDefinitionProvider(Qn(e.documentSelector),new xze(this._connection,e))))}},xze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideTypeDefinition(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentTypeDefinition({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},Lze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{implementation:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentImplementation,!0,e=>Le.registerImplementationProvider(Qn(e.documentSelector),new Dze(this._connection,e))))}},Dze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideImplementation(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentImplementation({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},kze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{references:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentReferences,!0,e=>Le.registerReferenceProvider(Qn(e.documentSelector),new Ize(this._connection,e))))}},Ize=class{constructor(o,e){this._client=o,this._capabilities=e}async provideReferences(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentReferences({textDocument:n.textDocument,position:n.position,context:{includeDeclaration:t.includeDeclaration}});return s?s.map(r=>{const a=this._client.bridge.translateBackRange({uri:r.uri},r.range);return{uri:a.textModel.uri,range:a.range}}):null}},Eze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{documentHighlight:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDocumentHighlight,!0,e=>Le.registerDocumentHighlightProvider(Qn(e.documentSelector),new Tze(this._connection,e))))}},Tze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentHighlights(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentDocumentHighlight({textDocument:i.textDocument,position:i.position});return n?n.map(s=>({range:this._client.bridge.translateBackRange(i.textDocument,s.range).range,kind:X6e(s.kind)})):null}},Nze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{documentSymbol:{dynamicRegistration:!0,hierarchicalDocumentSymbolSupport:!0,symbolKind:{valueSet:Array.from(Fae.keys())},tagSupport:{valueSet:[Mae.Deprecated]}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDocumentSymbol,!0,e=>Le.registerDocumentSymbolProvider(Qn(e.documentSelector),new Rze(this._connection,e))))}},Rze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentSymbols(o,e){const t=this._client.bridge.translate(o,new X_(1,1)),i=await this._client.server.textDocumentDocumentSymbol({textDocument:t.textDocument});return i?Array.isArray(i)&&i.length>0?"location"in i[0]?i.map(n=>Mze(n,this._client)):i.map(n=>zae(n,this._client,t.textDocument)):[]:null}};function zae(o,e,t){return{name:o.name,detail:o.detail||"",kind:Wae(o.kind),tags:o.tags?.map(i=>Bae(i)).filter(i=>i!==void 0)||[],range:e.bridge.translateBackRange(t,o.range).range,selectionRange:e.bridge.translateBackRange(t,o.selectionRange).range,children:o.children?.map(i=>zae(i,e,t))||[]}}function Mze(o,e){return{name:o.name,detail:"",kind:Wae(o.kind),tags:o.tags?.map(t=>Bae(t)).filter(t=>t!==void 0)||[],range:e.bridge.translateBackRange({uri:o.location.uri},o.location.range).range,selectionRange:e.bridge.translateBackRange({uri:o.location.uri},o.location.range).range,children:[]}}var Aze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{rename:{dynamicRegistration:!0,prepareSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentRename,!0,e=>Le.registerRenameProvider(Qn(e.documentSelector),new Pze(this._connection,e))))}},Pze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideRenameEdits(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentRename({textDocument:n.textDocument,position:n.position,newName:t});return s?Oze(s,this._client):null}async resolveRenameLocation(o,e,t){if(!this._capabilities.prepareProvider)return null;const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentPrepareRename({textDocument:i.textDocument,position:i.position});if(!n)return null;if("range"in n&&"placeholder"in n)return{range:this._client.bridge.translateBackRange(i.textDocument,n.range).range,text:n.placeholder};if("defaultBehavior"in n)return null;if("start"in n&&"end"in n){const s=this._client.bridge.translateBackRange(i.textDocument,n).range;return{range:s,text:o.getValueInRange(s)}}return null}};function Oze(o,e){const t=[];if(o.changes)for(const i in o.changes){const n=o.changes[i];for(const s of n){const r=e.bridge.translateBackRange({uri:i},s.range);t.push({resource:r.textModel.uri,versionId:void 0,textEdit:{range:r.range,text:s.newText}})}}if(o.documentChanges){for(const i of o.documentChanges)if("textDocument"in i){const n=i.textDocument.uri;for(const s of i.edits){const r=e.bridge.translateBackRange({uri:n},s.range);t.push({resource:r.textModel.uri,versionId:i.textDocument.version,textEdit:{range:r.range,text:s.newText}})}}}return{edits:t}}var Fze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{codeAction:{dynamicRegistration:!0,codeActionLiteralSupport:{codeActionKind:{valueSet:Array.from(Aae.keys())}},isPreferredSupport:!0,disabledSupport:!0,dataSupport:!0,resolveSupport:{properties:["edit"]}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentCodeAction,!0,e=>Le.registerCodeActionProvider(Qn(e.documentSelector),new Wze(this._connection,e))))}},Wze=class{constructor(o,e){Pe(this,"resolveCodeAction"),this._client=o,this._capabilities=e,e.resolveProvider&&(this.resolveCodeAction=async(t,i)=>{if(t._lspAction){const n=await this._client.server.codeActionResolve(t._lspAction);n.edit&&(t.edit=FX(n.edit,this._client)),n.command&&(t.command=sC(n.command))}return t})}async provideCodeActions(o,e,t,i){const n=this._client.bridge.translate(o,e.getStartPosition()),s=await this._client.server.textDocumentCodeAction({textDocument:n.textDocument,range:this._client.bridge.translateRange(o,e),context:{diagnostics:t.markers.map(r=>({range:this._client.bridge.translateRange(o,i2.lift(r)),message:r.message,severity:tze(r.severity)})),triggerKind:z6e(t.trigger)}});return s?{actions:(Array.isArray(s)?s:[s]).map(r=>{if("title"in r&&!("kind"in r)){const a=r;return{title:a.title,command:sC(a)}}else{const a=r;return{title:a.title,kind:H6e(a.kind),isPreferred:a.isPreferred,disabled:a.disabled?.reason,edit:a.edit?FX(a.edit,this._client):void 0,command:sC(a.command),_lspAction:a}}}),dispose:()=>{}}:null}};function FX(o,e){const t=[];if(o.changes)for(const i in o.changes){const n=o.changes[i];for(const s of n){const r=e.bridge.translateBackRange({uri:i},s.range);t.push({resource:r.textModel.uri,versionId:void 0,textEdit:{range:r.range,text:s.newText}})}}if(o.documentChanges){for(const i of o.documentChanges)if("textDocument"in i){const n=i.textDocument.uri;for(const s of i.edits){const r=e.bridge.translateBackRange({uri:n},s.range);t.push({resource:r.textModel.uri,versionId:i.textDocument.version??void 0,textEdit:{range:r.range,text:s.newText}})}}}return{edits:t}}var Bze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{codeLens:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentCodeLens,!0,e=>Le.registerCodeLensProvider(Qn(e.documentSelector),new Hze(this._connection,e))))}},Hze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideCodeLenses(o,e){const t=this._client.bridge.translate(o,new X_(1,1)),i=await this._client.server.textDocumentCodeLens({textDocument:t.textDocument});return i?{lenses:i.map(n=>({range:Gp(this._client.bridge.translateBackRange(t.textDocument,n.range),o).range,command:sC(n.command),_lspCodeLens:n})),dispose:()=>{}}:null}async resolveCodeLens(o,e,t){if(!this._capabilities.resolveProvider||!e._lspCodeLens)return e;const i=await this._client.server.codeLensResolve(e._lspCodeLens);return i.command&&(e.command={id:i.command.command,title:i.command.title,arguments:i.command.arguments}),e}},Vze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{documentLink:{dynamicRegistration:!0,tooltipSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDocumentLink,!0,e=>Le.registerLinkProvider(Qn(e.documentSelector),new zze(this._connection,e))))}},zze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideLinks(o,e){const t=this._client.bridge.translate(o,new X_(1,1)),i=await this._client.server.textDocumentDocumentLink({textDocument:t.textDocument});return i?{links:i.map(n=>({range:this._client.bridge.translateBackRange(t.textDocument,n.range).range,url:n.target,tooltip:n.tooltip}))}:null}async resolveLink(o,e){return this._capabilities.resolveProvider,o}},Uze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{formatting:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentFormatting,!0,e=>Le.registerDocumentFormattingEditProvider(Qn(e.documentSelector),new $ze(this._connection,e))))}},$ze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentFormattingEdits(o,e,t){const i=this._client.bridge.translate(o,new X_(1,1)),n=await this._client.server.textDocumentFormatting({textDocument:i.textDocument,options:{tabSize:e.tabSize,insertSpaces:e.insertSpaces}});return n?n.map(s=>({range:this._client.bridge.translateBackRange(i.textDocument,s.range).range,text:s.newText})):null}},jze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{rangeFormatting:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentRangeFormatting,!0,e=>Le.registerDocumentRangeFormattingEditProvider(Qn(e.documentSelector),new qze(this._connection,e))))}},qze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentRangeFormattingEdits(o,e,t,i){const n=this._client.bridge.translate(o,e.getStartPosition()),s=await this._client.server.textDocumentRangeFormatting({textDocument:n.textDocument,range:this._client.bridge.translateRange(o,e),options:{tabSize:t.tabSize,insertSpaces:t.insertSpaces}});return s?s.map(r=>({range:this._client.bridge.translateBackRange(n.textDocument,r.range).range,text:r.newText})):null}},Kze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{onTypeFormatting:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentOnTypeFormatting,!0,e=>Le.registerOnTypeFormattingEditProvider(Qn(e.documentSelector),new Gze(this._connection,e))))}},Gze=class{constructor(o,e){Pe(this,"autoFormatTriggerCharacters"),this._client=o,this._capabilities=e,this.autoFormatTriggerCharacters=[e.firstTriggerCharacter,...e.moreTriggerCharacter||[]]}async provideOnTypeFormattingEdits(o,e,t,i,n){const s=this._client.bridge.translate(o,e),r=await this._client.server.textDocumentOnTypeFormatting({textDocument:s.textDocument,position:s.position,ch:t,options:{tabSize:i.tabSize,insertSpaces:i.insertSpaces}});return r?r.map(a=>({range:this._client.bridge.translateBackRange(s.textDocument,a.range).range,text:a.newText})):null}},Zze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{foldingRange:{dynamicRegistration:!0,rangeLimit:5e3,lineFoldingOnly:!1,foldingRangeKind:{valueSet:[nC.Comment,nC.Imports,nC.Region]}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentFoldingRange,!0,e=>Le.registerFoldingRangeProvider(Qn(e.documentSelector),new Yze(this._connection,e))))}},Yze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideFoldingRanges(o,e,t){const i=this._client.bridge.translate(o,new X_(1,1)),n=await this._client.server.textDocumentFoldingRange({textDocument:i.textDocument});return n?n.map(s=>({start:s.startLine+1,end:s.endLine+1,kind:J6e(s.kind)})):null}},Xze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{selectionRange:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentSelectionRange,!0,e=>Le.registerSelectionRangeProvider(Qn(e.documentSelector),new Qze(this._connection,e))))}},Qze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideSelectionRanges(o,e,t){const i=this._client.bridge.translate(o,e[0]),n=await this._client.server.textDocumentSelectionRange({textDocument:i.textDocument,positions:e.map(s=>this._client.bridge.translate(o,s).position)});return n?n.map(s=>this.convertSelectionRange(s,i.textDocument)):null}convertSelectionRange(o,e){const t=[];let i=o;for(;i;)t.push({range:this._client.bridge.translateBackRange(e,i.range).range}),i=i.parent;return t}},Jze=class extends ln{constructor(o){super(),Pe(this,"_providers",new Set),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{inlayHint:{dynamicRegistration:!0,resolveSupport:{properties:["tooltip","textEdits","label.tooltip","label.location","label.command"]}}},workspace:{inlayHint:{refreshSupport:!0}}})),this._register(this._connection.connection.registerRequestHandler(bx.client.workspaceInlayHintRefresh,async()=>{for(const e of this._providers)e.refresh();return{ok:null}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentInlayHint,!0,e=>{const t=new eUe(this._connection,e);this._providers.add(t);const i=Le.registerInlayHintsProvider(Qn(e.documentSelector),t);return{dispose:()=>{this._providers.delete(t),i.dispose()}}}))}},eUe=class{constructor(o,e){Pe(this,"_onDidChangeInlayHints",new dw),Pe(this,"onDidChangeInlayHints",this._onDidChangeInlayHints.event),Pe(this,"resolveInlayHint"),this._client=o,this._capabilities=e,e.resolveProvider&&(this.resolveInlayHint=async(t,i)=>{const n=await this._client.server.inlayHintResolve(t._lspInlayHint);return n.tooltip&&(t.tooltip=L9(n.tooltip)),n.label!==t._lspInlayHint.label&&(t.label=WX(n.label)),n.textEdits&&(t.textEdits=n.textEdits.map(s=>({range:this._client.bridge.translateBackRange({uri:t._targetUri},s.range).range,text:s.newText}))),t})}refresh(){this._onDidChangeInlayHints.fire()}async provideInlayHints(o,e,t){const i=this._client.bridge.translate(o,e.getStartPosition()),n=await tUe(async()=>await this._client.server.textDocumentInlayHint({textDocument:i.textDocument,range:this._client.bridge.translateRange(o,e)}));return n?{hints:n.map(s=>({label:WX(s.label),position:Gp(this._client.bridge.translateBack(i.textDocument,s.position),o).position,kind:lze(s.kind),tooltip:L9(s.tooltip),paddingLeft:s.paddingLeft,paddingRight:s.paddingRight,textEdits:s.textEdits?.map(r=>({range:Gp(this._client.bridge.translateBackRange(i.textDocument,r.range),o).range,text:r.newText})),_lspInlayHint:s,_targetUri:i.textDocument.uri})),dispose:()=>{}}:null}};async function tUe(o){for(let e=3;;e--)try{return await o()}catch(t){if(t.message==="content modified"&&e>0)continue;throw t}}function WX(o){return typeof o=="string"?o:o.map(e=>{const t={label:e.value,tooltip:L9(e.tooltip),command:sC(e.command)};return e.location&&(t.location={uri:yae.parse(e.location.uri),range:new i2(e.location.range.start.line+1,e.location.range.start.character+1,e.location.range.end.line+1,e.location.range.end.character+1)}),t})}function L9(o){if(o)return typeof o=="string"?o:{value:o.value}}var iUe=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{semanticTokens:{dynamicRegistration:!0,requests:{range:!0,full:{delta:!0}},tokenTypes:["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"],tokenModifiers:["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],formats:[B6e.Relative],overlappingTokenSupport:!1,multilineTokenSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentSemanticTokensFull,!0,e=>Le.registerDocumentSemanticTokensProvider(Qn(e.documentSelector),new nUe(this._connection,e))))}},nUe=class{constructor(o,e){this._client=o,this._capabilities=e}getLegend(){return{tokenTypes:this._capabilities.legend.tokenTypes,tokenModifiers:this._capabilities.legend.tokenModifiers}}releaseDocumentSemanticTokens(o){}async provideDocumentSemanticTokens(o,e,t){const i=this._client.bridge.translate(o,o.getPositionAt(0)),n=this._capabilities.full;if(e&&n&&typeof n=="object"&&n.delta){const r=await this._client.server.textDocumentSemanticTokensFullDelta({textDocument:i.textDocument,previousResultId:e});return r?"edits"in r?{resultId:r.resultId,edits:r.edits.map(a=>({start:a.start,deleteCount:a.deleteCount,data:a.data?new Uint32Array(a.data):void 0}))}:{resultId:r.resultId,data:new Uint32Array(r.data)}:null}const s=await this._client.server.textDocumentSemanticTokensFull({textDocument:i.textDocument});return s?{resultId:s.resultId,data:new Uint32Array(s.data)}:null}async provideDocumentSemanticTokensEdits(o,e,t){return this.provideDocumentSemanticTokens(o,e,t)}},sUe=class extends ln{constructor(o){super(),Pe(this,"_diagnosticsMarkerOwner","lsp"),Pe(this,"_pullDiagnosticProviders",new Map),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{publishDiagnostics:{relatedInformation:!0,tagSupport:{valueSet:[...Hae.keys()]},versionSupport:!0,codeDescriptionSupport:!0,dataSupport:!0},diagnostic:{dynamicRegistration:!0,relatedDocumentSupport:!0}}})),this._register(this._connection.connection.registerNotificationHandler(bx.client.textDocumentPublishDiagnostics,e=>this._handlePublishDiagnostics(e))),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDiagnostic,!0,e=>{const t=new Mz;for(const i of Kp.getModels())this._addPullDiagnosticProvider(i,e,t);return t.add(Kp.onDidCreateModel(i=>{this._addPullDiagnosticProvider(i,e,t)})),t}))}_addPullDiagnosticProvider(o,e,t){if(o.getLanguageId(),!cze(o,e.documentSelector))return;const i=new oUe(o,this._connection,this._diagnosticsMarkerOwner,e);this._pullDiagnosticProviders.set(o,i),t.add(i),t.add(o.onWillDispose(()=>{this._pullDiagnosticProviders.delete(o)}))}_handlePublishDiagnostics(o){const e=o.uri;try{const t=this._connection.bridge.translateBack({uri:e},{line:0,character:0}).textModel;if(!t||t.isDisposed())return;const i=o.diagnostics.map(n=>x9(n));Kp.setModelMarkers(t,this._diagnosticsMarkerOwner,i)}catch(t){console.debug(`Could not set diagnostics for ${e}:`,t)}}},oUe=class extends ln{constructor(o,e,t,i){super(),Pe(this,"_updateHandle"),Pe(this,"_previousResultId"),this._model=o,this._connection=e,this._markerOwner=t,this._capability=i,this._register(this._model.onDidChangeContent(()=>{this._scheduleDiagnosticUpdate()})),this._scheduleDiagnosticUpdate()}_scheduleDiagnosticUpdate(){this._updateHandle!==void 0&&clearTimeout(this._updateHandle),this._updateHandle=window.setTimeout(()=>{this._updateHandle=void 0,this._requestDiagnostics()},500)}async _requestDiagnostics(){if(!this._model.isDisposed())try{const o=this._connection.bridge.translate(this._model,new X_(1,1)),e=await this._connection.server.textDocumentDiagnostic({textDocument:o.textDocument,identifier:this._capability.identifier,previousResultId:this._previousResultId});if(this._model.isDisposed())return;this._handleDiagnosticReport(e)}catch(o){console.error("Error requesting diagnostics:",o)}}_handleDiagnosticReport(o){if(o.kind==="full"){this._previousResultId=o.resultId;const e=o.items.map(t=>x9(t));Kp.setModelMarkers(this._model,this._markerOwner,e),"relatedDocuments"in o&&o.relatedDocuments&&this._handleRelatedDocuments(o.relatedDocuments)}else o.kind==="unchanged"&&(this._previousResultId=o.resultId)}_handleRelatedDocuments(o){for(const[e,t]of Object.entries(o))try{const i=this._connection.bridge.translateBack({uri:e},{line:0,character:0}).textModel;if(!i||i.isDisposed())continue;if(t.kind==="full"){const n=t.items.map(s=>x9(s));Kp.setModelMarkers(i,this._markerOwner,n)}}catch(i){console.debug(`Could not set related diagnostics for ${e}:`,i)}}dispose(){this._updateHandle!==void 0&&(clearTimeout(this._updateHandle),this._updateHandle=void 0),super.dispose()}},rUe=class{constructor(o,e,t,i){this.server=o,this.bridge=e,this.capabilities=t,this.connection=i}},aUe=class extends ln{constructor(o){super(),Pe(this,"_staticCapabilities",new Set),Pe(this,"_dynamicFromStatic",dUe.create()),Pe(this,"_registrations",new Map),Pe(this,"_serverCapabilities"),this._connection=o,this._register(this._connection.registerRequestHandler(bx.client.clientRegisterCapability,async e=>{for(const t of e.registrations){const i=HX(t.method),n=new BX(t.id,i,t.registerOptions,!1);this._registerCapabilityOptions(n)}return{ok:null}})),this._register(this._connection.registerRequestHandler(bx.client.clientUnregisterCapability,async e=>{for(const t of e.unregisterations){const i=HX(t.method),n=this._registrations.get(i),s=n?.registrations.get(t.id);if(!s)throw new Error(`No registration for method ${t.method} with id ${t.id}`);s?.handlerDisposables.forEach(r=>r.dispose()),n?.registrations.delete(t.id)}return{ok:null}}))}_registerCapabilityOptions(o){let e=this._registrations.get(o.capability);if(e||(e=new VX,this._registrations.set(o.capability,e)),e.registrations.has(o.id))throw new Error(`Handler for method ${o.capability.method} with id ${o.id} already registered`);e.registrations.set(o.id,o);for(const t of e.handlers)!t.handleStaticCapability&&o.isFromStatic||o.handlerDisposables.set(t,t.handler(o.options))}setServerCapabilities(o){if(this._serverCapabilities)throw new Error("Server capabilities already set");this._serverCapabilities=o;for(const e of Object.values(ht)){const t=this._dynamicFromStatic.getOptions(e,o);t&&this._registerCapabilityOptions(new BX(e.method,e,t,!0))}}getClientCapabilities(){const o={};for(const e of this._staticCapabilities)$ae(o,e.cap);return o}addStaticClientCapabilities(o){const e={cap:o};return this._staticCapabilities.add(e),{dispose:()=>{this._staticCapabilities.delete(e)}}}registerCapabilityHandler(o,e,t){let i=this._registrations.get(o);i||(i=new VX,this._registrations.set(o,i));const n=new lUe(o,e,t);i.handlers.add(n);for(const s of i.registrations.values())!n.handleStaticCapability&&s.isFromStatic||s.handlerDisposables.set(n,t(s.options));return{dispose:()=>{i.handlers.delete(n);for(const s of i.registrations.values()){const r=s.handlerDisposables.get(n);r&&(r.dispose(),s.handlerDisposables.delete(n))}}}}},lUe=class{constructor(o,e,t){this.capability=o,this.handleStaticCapability=e,this.handler=t}},BX=class{constructor(o,e,t,i){Pe(this,"handlerDisposables",new Map),this.id=o,this.capability=e,this.options=t,this.isFromStatic=i}};const cUe=new Map([...Object.values(ht)].map(o=>[o.method,o]));function HX(o){const e=cUe.get(o);if(!e)throw new Error(`No capability found for method ${o}`);return e}var VX=class{constructor(){Pe(this,"handlers",new Set),Pe(this,"registrations",new Map)}},dUe=class Uae{constructor(){Pe(this,"_mappings",new Map)}static create(){const e=new Uae;return e.set(ht.textDocumentDidChange,t=>{if(t.textDocumentSync!==void 0)return typeof t.textDocumentSync=="object"?{syncKind:t.textDocumentSync.change??O6e.None,documentSelector:null}:{syncKind:t.textDocumentSync,documentSelector:null}}),e.set(ht.textDocumentCompletion,t=>t.completionProvider),e.set(ht.textDocumentHover,t=>t.hoverProvider),e.set(ht.textDocumentSignatureHelp,t=>t.signatureHelpProvider),e.set(ht.textDocumentDefinition,t=>t.definitionProvider),e.set(ht.textDocumentReferences,t=>t.referencesProvider),e.set(ht.textDocumentDocumentHighlight,t=>t.documentHighlightProvider),e.set(ht.textDocumentDocumentSymbol,t=>t.documentSymbolProvider),e.set(ht.textDocumentCodeAction,t=>t.codeActionProvider),e.set(ht.textDocumentCodeLens,t=>t.codeLensProvider),e.set(ht.textDocumentDocumentLink,t=>t.documentLinkProvider),e.set(ht.textDocumentFormatting,t=>t.documentFormattingProvider),e.set(ht.textDocumentRangeFormatting,t=>t.documentRangeFormattingProvider),e.set(ht.textDocumentOnTypeFormatting,t=>t.documentOnTypeFormattingProvider),e.set(ht.textDocumentRename,t=>t.renameProvider),e.set(ht.textDocumentFoldingRange,t=>t.foldingRangeProvider),e.set(ht.textDocumentDeclaration,t=>t.declarationProvider),e.set(ht.textDocumentTypeDefinition,t=>t.typeDefinitionProvider),e.set(ht.textDocumentImplementation,t=>t.implementationProvider),e.set(ht.textDocumentDocumentColor,t=>t.colorProvider),e.set(ht.textDocumentSelectionRange,t=>t.selectionRangeProvider),e.set(ht.textDocumentLinkedEditingRange,t=>t.linkedEditingRangeProvider),e.set(ht.textDocumentPrepareCallHierarchy,t=>t.callHierarchyProvider),e.set(ht.textDocumentSemanticTokensFull,t=>t.semanticTokensProvider),e.set(ht.textDocumentInlayHint,t=>t.inlayHintProvider),e.set(ht.textDocumentInlineValue,t=>t.inlineValueProvider),e.set(ht.textDocumentDiagnostic,t=>t.diagnosticProvider),e.set(ht.textDocumentMoniker,t=>t.monikerProvider),e.set(ht.textDocumentPrepareTypeHierarchy,t=>t.typeHierarchyProvider),e.set(ht.workspaceSymbol,t=>t.workspaceSymbolProvider),e.set(ht.workspaceExecuteCommand,t=>t.executeCommandProvider),e}set(e,t){if(this._mappings.has(e.method))throw new Error(`Capability for method ${e.method} already registered`);this._mappings.set(e.method,t)}getOptions(e,t){const i=this._mappings.get(e.method);if(i)return i(t)}};function $ae(o,e){for(const t of Object.keys(e)){const i=e[t];if(i===void 0)continue;const n=o[t];if(n===void 0){o[t]=i;continue}if(typeof i!="object"||i===null){o[t]=i;continue}if(typeof n!="object"||n===null){o[t]=i;continue}$ae(n,i)}}var hUe=class extends ln{constructor(o,e){super(),Pe(this,"_managedModels",new Map),Pe(this,"_managedModelsReverse",new Map),Pe(this,"_started",!1),this._server=o,this._capabilities=e,this._register(this._capabilities.addStaticClientCapabilities({textDocument:{synchronization:{dynamicRegistration:!0,willSave:!1,willSaveWaitUntil:!1,didSave:!1}}})),this._register(e.registerCapabilityHandler(ht.textDocumentDidChange,!0,t=>{if(this._started)return{dispose:()=>{}};this._started=!0,this._register(Kp.onDidCreateModel(i=>{this._getOrCreateManagedModel(i)}));for(const i of Kp.getModels())this._getOrCreateManagedModel(i);return{dispose:()=>{}}}))}_getOrCreateManagedModel(o){if(!this._started)throw new Error("Not started");const e=o.uri.toString(!0).toLowerCase();let t=this._managedModels.get(o);return t||(t=new uUe(o,this._server),this._managedModels.set(o,t),this._managedModelsReverse.set(e,o)),o.onWillDispose(()=>{t.dispose(),this._managedModels.delete(o),this._managedModelsReverse.delete(e)}),t}translateBack(o,e){const t=o.uri.toLowerCase(),i=this._managedModelsReverse.get(t);if(!i)throw new Error(`No text model for uri ${t}`);return{textModel:i,position:new X_(e.line+1,e.character+1)}}translateBackRange(o,e){const t=o.uri.toLowerCase(),i=this._managedModelsReverse.get(t);if(!i)throw new Error(`No text model for uri ${t}`);return{textModel:i,range:new i2(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}}translate(o,e){return{textDocument:{uri:o.uri.toString(!0)},position:{line:e.lineNumber-1,character:e.column-1}}}translateRange(o,e){return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}},uUe=class extends ln{constructor(o,e){super(),this._textModel=o,this._api=e;const t=o.uri.toString(!0).toLowerCase();this._api.textDocumentDidOpen({textDocument:{languageId:o.getLanguageId(),uri:t,version:o.getVersionId(),text:o.getValue()}}),this._register(o.onDidChangeContent(i=>{const n=i.changes.map(s=>gUe(s));this._api.textDocumentDidChange({textDocument:{uri:t,version:o.getVersionId()},contentChanges:n})})),this._register({dispose:()=>{this._api.textDocumentDidClose({textDocument:{uri:t}})}})}};function gUe(o){return{range:fUe(o.range),rangeLength:o.rangeLength,text:o.text}}function fUe(o){return{start:{line:o.startLineNumber-1,character:o.startColumn-1},end:{line:o.endLineNumber-1,character:o.endColumn-1}}}var pUe=class{constructor(o){Pe(this,"_connection"),Pe(this,"_capabilitiesRegistry"),Pe(this,"_bridge"),Pe(this,"_initPromise");const e=w9.fromTransport(o),t=bx.getServer(e,{});e.startListen(),this._capabilitiesRegistry=new aUe(e),this._bridge=new hUe(t.server,this._capabilitiesRegistry),this._connection=new rUe(t.server,this._bridge,this._capabilitiesRegistry,e),this.createFeatures(),this._initPromise=this._init()}async _init(){const o=await this._connection.server.initialize({processId:null,capabilities:this._capabilitiesRegistry.getClientCapabilities(),rootUri:null});this._connection.server.initialized({}),this._capabilitiesRegistry.setServerCapabilities(o.capabilities)}createFeatures(){const o=new Mz;return o.add(new dze(this._connection)),o.add(new fze(this._connection)),o.add(new _ze(this._connection)),o.add(new vze(this._connection)),o.add(new wze(this._connection)),o.add(new yze(this._connection)),o.add(new Lze(this._connection)),o.add(new kze(this._connection)),o.add(new Eze(this._connection)),o.add(new Nze(this._connection)),o.add(new Aze(this._connection)),o.add(new Fze(this._connection)),o.add(new Bze(this._connection)),o.add(new Vze(this._connection)),o.add(new Uze(this._connection)),o.add(new jze(this._connection)),o.add(new Kze(this._connection)),o.add(new Zze(this._connection)),o.add(new Xze(this._connection)),o.add(new Jze(this._connection)),o.add(new iUe(this._connection)),o.add(new sUe(this._connection)),o}},Vb=null;typeof WebSocket<"u"?Vb=WebSocket:typeof MozWebSocket<"u"?Vb=MozWebSocket:typeof global<"u"?Vb=global.WebSocket||global.MozWebSocket:typeof window<"u"?Vb=window.WebSocket||window.MozWebSocket:typeof self<"u"&&(Vb=self.WebSocket||self.MozWebSocket);var mUe=Vb;function _Ue(o){return"host"in o?{address:`${o.forceTls?"wss":"ws"}://${o.host}:${o.port}`}:o}var bUe=class D9 extends xae{constructor(e){super(),Pe(this,"socket"),Pe(this,"errorEmitter",new Rz),Pe(this,"onError",this.errorEmitter),this.socket=e,e.onmessage=t=>{try{const i=t.data;if(typeof i=="string"){const n=JSON.parse(i);this._dispatchReceivedMessage(n)}else throw new Error("Not supported")}catch(i){this.errorEmitter.fire({error:i})}},e.onclose=t=>{this._onConnectionClosed()}}static connectTo(e){const t=new mUe(_Ue(e).address);return new Promise((i,n)=>{t.onerror=s=>{n(s)},t.onopen=()=>{i(new D9(t))}})}static fromWebSocket(e){return new D9(e)}close(){this.socket.close()}dispose(){this.close()}_sendImpl(e){const t=JSON.stringify(e);return new Promise((i,n)=>{this.socket.send(t,s=>{s?n(s):i()})})}toString(){return`${this.id}@${this.socket.url}`}},jae=class extends xae{constructor(o,e=void 0,t=void 0){super(),Pe(this,"_windowLike"),Pe(this,"_source"),Pe(this,"_loadingState"),Pe(this,"_disposed",!1),Pe(this,"_messageHandler",({data:i,source:n})=>{this._source&&n!==this._source||typeof i=="object"&&i&&this._dispatchReceivedMessage(i)}),this._windowLike=o,this._source=e,this._loadingState=t,this._windowLike.addEventListener("message",this._messageHandler)}async _sendImpl(o){if(this._disposed)throw new Error("Transport is disposed");this._loadingState&&!this._loadingState.loaded&&await this._loadingState.onLoaded,this._windowLike.postMessage(o)}toString(){return`${this.id}@${this._windowLike}`}dispose(){this._disposed||(this._disposed=!0,this._windowLike.removeEventListener("message",this._messageHandler))}};function vUe(o){if(typeof window>"u")throw new Error("call this function from the main browser thread");return new jae(o)}function CUe(o){if(typeof window>"u")throw new Error("call this function from the main browser thread");return new jae(o.contentWindow,o.contentWindow,{loaded:window.document.readyState==="complete",onLoaded:new Promise(e=>{window.addEventListener("load",()=>e())})})}const GKe=Object.freeze(Object.defineProperty({__proto__:null,MonacoLspClient:pUe,WebSocketTransport:bUe,createTransportToIFrame:CUe,createTransportToWorker:vUe},Symbol.toStringTag,{value:"Module"})),qae={},eF={};class Az{static getOrCreate(e){return eF[e]||(eF[e]=new Az(e)),eF[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,qae[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}}function We(o){const e=o.id;qae[e]=o,Le.register(o);const t=Az.getOrCreate(e);Le.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),Le.onLanguageEncountered(e,async()=>{const i=await t.load();Le.setLanguageConfiguration(e,i.conf)})}We({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>Ae(()=>import("./DLDM7-KI.js"),[],import.meta.url)});We({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>Ae(()=>import("./DNDY2TF8.js"),[],import.meta.url)});We({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>Ae(()=>import("./Y6nb8tq_.js"),[],import.meta.url)});We({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>Ae(()=>import("./BwHxbl9M.js"),[],import.meta.url)});We({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>Ae(()=>import("./CFznDFnq.js"),[],import.meta.url)});We({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>Ae(()=>import("./Bf6VGUru.js"),[],import.meta.url)});We({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>Ae(()=>import("./Dnu-v4kV.js"),[],import.meta.url)});We({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>Ae(()=>import("./Bd8akH9Z.js"),[],import.meta.url)});We({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>Ae(()=>import("./BbWJElDN.js"),[],import.meta.url)});We({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>Ae(()=>import("./BbWJElDN.js"),[],import.meta.url)});We({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>Ae(()=>import("./Co3qMtFm.js"),[],import.meta.url)});We({id:"csp",extensions:[".csp"],aliases:["CSP","csp"],loader:()=>Ae(()=>import("./D-4FJmMZ.js"),[],import.meta.url)});We({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>Ae(()=>import("./DdJfP1eB.js"),[],import.meta.url)});We({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>Ae(()=>import("./cTPe9QuQ.js"),[],import.meta.url)});We({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>Ae(()=>import("./BOtBlQCF.js"),[],import.meta.url)});We({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>Ae(()=>import("./BG73LgW2.js"),[],import.meta.url)});We({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>Ae(()=>import("./BEgZUVRK.js"),[],import.meta.url)});We({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>Ae(()=>import("./BkW5O-1t.js"),[],import.meta.url)});We({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>Ae(()=>import("./BeJ5waoc.js"),[],import.meta.url)});We({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>Ae(()=>import("./PahG7c26.js"),[],import.meta.url)});We({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>Ae(()=>import("./Bx7gCv2M.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationDollar)});We({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>Ae(()=>import("./Bx7gCv2M.js"),[],import.meta.url).then(o=>o.TagAngleInterpolationDollar)});We({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>Ae(()=>import("./Bx7gCv2M.js"),[],import.meta.url).then(o=>o.TagBracketInterpolationDollar)});We({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>Ae(()=>import("./Bx7gCv2M.js"),[],import.meta.url).then(o=>o.TagAngleInterpolationBracket)});We({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>Ae(()=>import("./Bx7gCv2M.js"),[],import.meta.url).then(o=>o.TagBracketInterpolationBracket)});We({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>Ae(()=>import("./Bx7gCv2M.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationDollar)});We({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>Ae(()=>import("./Bx7gCv2M.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationBracket)});We({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>Ae(()=>import("./acbASCJo.js"),[],import.meta.url)});We({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>Ae(()=>import("./BxJiqAUM.js"),[],import.meta.url)});We({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>Ae(()=>import("./Nrq0Uf9_.js"),[],import.meta.url)});We({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>Ae(()=>import("./DtV1sZF8.js"),[],import.meta.url)});We({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>Ae(()=>import("./mRUS_S7Z.js"),[],import.meta.url)});We({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>Ae(()=>import("./Kd9XrMLS.js"),[],import.meta.url)});We({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>Ae(()=>import("./CXBNlu9o.js"),[],import.meta.url)});We({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>Ae(()=>import("./EQgYvydQ.js"),__vite__mapDeps([0,1]),import.meta.url)});We({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>Ae(()=>import("./cl7-CwDS.js"),[],import.meta.url)});We({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>Ae(()=>import("./s7OhZKlX.js"),[],import.meta.url)});We({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>Ae(()=>import("./9HpZscsL.js"),[],import.meta.url)});We({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>Ae(()=>import("./OrD6JF1K.js"),[],import.meta.url)});We({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>Ae(()=>import("./Cyyb5UIc.js"),[],import.meta.url)});We({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>Ae(()=>import("./i8jM24jD.js"),[],import.meta.url)});We({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>Ae(()=>import("./B8OfTtLu.js"),[],import.meta.url)});We({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>Ae(()=>import("./BFxVWTOG.js"),[],import.meta.url)});We({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>Ae(()=>import("./BKFxm3WK.js"),[],import.meta.url)});We({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>Ae(()=>import("./CiqrrVzr.js"),[],import.meta.url)});We({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>Ae(()=>import("./DmeGPVcC.js"),[],import.meta.url)});We({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>Ae(()=>import("./C_tMU-Nz.js"),[],import.meta.url)});We({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>Ae(()=>import("./BDtDVThU.js"),[],import.meta.url)});We({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>Ae(()=>import("./vHIfCaH5.js"),[],import.meta.url)});We({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>Ae(()=>import("./DtZ0uQbO.js"),[],import.meta.url)});We({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>Ae(()=>import("./Ub6l9XKa.js"),[],import.meta.url)});We({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>Ae(()=>import("./BlNEE0v7.js"),[],import.meta.url)});We({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>Ae(()=>import("./BBUBE1dy.js"),[],import.meta.url)});We({id:"pla",extensions:[".pla"],loader:()=>Ae(()=>import("./DSh2-awV.js"),[],import.meta.url)});We({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>Ae(()=>import("./CocnycG-.js"),[],import.meta.url)});We({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>Ae(()=>import("./tScXyioY.js"),[],import.meta.url)});We({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>Ae(()=>import("./COWaemsV.js"),[],import.meta.url)});We({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>Ae(()=>import("./Brw8urJB.js"),[],import.meta.url)});We({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>Ae(()=>import("./8SOpv6rk.js"),[],import.meta.url)});We({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>Ae(()=>import("./CaMRSd1-.js"),[],import.meta.url)});We({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>Ae(()=>import("./Bw9ernYp.js"),[],import.meta.url)});We({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>Ae(()=>import("./j7ic8hl3.js"),[],import.meta.url)});We({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>Ae(()=>import("./DpESY8ko.js"),[],import.meta.url)});We({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>Ae(()=>import("./Bu5POkcn.js"),[],import.meta.url)});We({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>Ae(()=>import("./Bs9aos_-.js"),[],import.meta.url)});We({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>Ae(()=>import("./CqXO7rUv.js"),[],import.meta.url)});We({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>Ae(()=>import("./zBfavPgS.js"),[],import.meta.url)});We({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>Ae(()=>import("./BzKRNQWT.js"),[],import.meta.url)});We({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>Ae(()=>import("./BBc9UKZt.js"),[],import.meta.url)});We({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>Ae(()=>import("./D9hQfWCl.js"),[],import.meta.url)});We({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>Ae(()=>import("./BPhDTwHR.js"),[],import.meta.url)});We({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>Ae(()=>import("./CBJaRo0y.js"),[],import.meta.url)});We({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>Ae(()=>import("./DiJ1NA_G.js"),[],import.meta.url)});We({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>Ae(()=>import("./Db0IVjzk.js"),[],import.meta.url)});We({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>Ae(()=>import("./CnS9iZB_.js"),[],import.meta.url)});We({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>Ae(()=>import("./CJmd_6j2.js"),[],import.meta.url)});We({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>Ae(()=>import("./ClhHkBeG.js"),[],import.meta.url)});We({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>Ae(()=>import("./CHwy0fLd.js"),[],import.meta.url)});We({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>Ae(()=>import("./Bqt4WxQ4.js"),[],import.meta.url)});We({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>Ae(()=>import("./Bs9z6M-B.js"),[],import.meta.url)});We({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>Ae(()=>import("./Bs9z6M-B.js"),[],import.meta.url)});We({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>Ae(()=>import("./Dm6ycUr_.js"),[],import.meta.url)});We({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>Ae(()=>import("./Csy3S7wG.js"),[],import.meta.url)});We({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>Ae(()=>import("./E8oicBhU.js"),[],import.meta.url)});We({id:"typespec",extensions:[".tsp"],aliases:["TypeSpec"],loader:()=>Ae(()=>import("./Btyra-wh.js"),[],import.meta.url)});We({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>Ae(()=>import("./Db0cS2oM.js"),[],import.meta.url)});We({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>Ae(()=>import("./DumH7NcR.js"),[],import.meta.url)});We({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:()=>Ae(()=>import("./CJke1tnU.js"),[],import.meta.url)});We({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>Ae(()=>import("./DlMrAlfA.js"),[],import.meta.url)});let Pz=class{constructor(e,t,i){this._onDidChange=new dw,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}};const Oz={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},Fz={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},Kae=new Pz("css",Oz,Fz),Gae=new Pz("scss",Oz,Fz),Zae=new Pz("less",Oz,Fz);function Wz(){return Ae(()=>import("./CFdI48b2.js"),__vite__mapDeps([2,3,4]),import.meta.url)}Le.onLanguage("less",()=>{Wz().then(o=>o.setupMode(Zae))});Le.onLanguage("scss",()=>{Wz().then(o=>o.setupMode(Gae))});Le.onLanguage("css",()=>{Wz().then(o=>o.setupMode(Kae))});const YKe=Object.freeze(Object.defineProperty({__proto__:null,cssDefaults:Kae,lessDefaults:Zae,scssDefaults:Gae},Symbol.toStringTag,{value:"Module"}));let wUe=class{constructor(e,t,i){this._onDidChange=new dw,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}};const SUe={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},n2={format:SUe,suggest:{},data:{useDefaultDataProvider:!0}};function s2(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===XS,documentFormattingEdits:o===XS,documentRangeFormattingEdits:o===XS}}const XS="html",zX="handlebars",UX="razor",Yae=o2(XS,n2,s2(XS)),yUe=Yae.defaults,Xae=o2(zX,n2,s2(zX)),xUe=Xae.defaults,Qae=o2(UX,n2,s2(UX)),LUe=Qae.defaults;function DUe(){return Ae(()=>import("./QA00-uqv.js"),__vite__mapDeps([5,3,4]),import.meta.url)}function o2(o,e=n2,t=s2(o)){const i=new wUe(o,e,t);let n;const s=Le.onLanguage(o,async()=>{n=(await DUe()).setupMode(i)});return{defaults:i,dispose(){s.dispose(),n?.dispose(),n=void 0}}}const QKe=Object.freeze(Object.defineProperty({__proto__:null,handlebarDefaults:xUe,handlebarLanguageService:Xae,htmlDefaults:yUe,htmlLanguageService:Yae,razorDefaults:LUe,razorLanguageService:Qae,registerHTMLLanguageService:o2},Symbol.toStringTag,{value:"Module"}));let kUe=class{constructor(e,t,i){this._onDidChange=new dw,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}};const IUe={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},EUe={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},Jae=new kUe("json",IUe,EUe),TUe=()=>ele().then(o=>o.getWorker());function ele(){return Ae(()=>import("./OMssb4xF.js"),__vite__mapDeps([6,3,4]),import.meta.url)}Le.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});Le.onLanguage("json",()=>{ele().then(o=>o.setupMode(Jae))});const eGe=Object.freeze(Object.defineProperty({__proto__:null,getWorker:TUe,jsonDefaults:Jae},Symbol.toStringTag,{value:"Module"})),NUe="5.9.3";var tle=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(tle||{}),ile=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(ile||{}),nle=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(nle||{}),sle=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(sle||{}),ole=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(ole||{});class rle{constructor(e,t,i,n,s){this._onDidChange=new dw,this._onDidExtraLibsChange=new dw,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(n),this.setModeConfiguration(s),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(typeof t>"u"?i=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:i=t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let n=1;return this._removedExtraLibs[i]&&(n=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(n=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:n},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let s=this._extraLibs[i];s&&s.version===n&&(delete this._extraLibs[i],this._removedExtraLibs[i]=n,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(const t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(const t of e){const i=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,n=t.content;let s=1;this._removedExtraLibs[i]&&(s=this._removedExtraLibs[i]+1),this._extraLibs[i]={content:n,version:s}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}}const RUe=NUe,ale={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},lle=new rle({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},ale),cle=new rle({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},ale),MUe=()=>r2().then(o=>o.getTypeScriptWorker()),AUe=()=>r2().then(o=>o.getJavaScriptWorker());function r2(){return Ae(()=>import("./Y4bYs1dr.js"),__vite__mapDeps([7,3]),import.meta.url)}Le.onLanguage("typescript",()=>r2().then(o=>o.setupTypeScript(lle)));Le.onLanguage("javascript",()=>r2().then(o=>o.setupJavaScript(cle)));const tGe=Object.freeze(Object.defineProperty({__proto__:null,JsxEmit:ile,ModuleKind:tle,ModuleResolutionKind:ole,NewLineKind:nle,ScriptTarget:sle,getJavaScriptWorker:AUe,getTypeScriptWorker:MUe,javascriptDefaults:cle,typescriptDefaults:lle,typescriptVersion:RUe},Symbol.toStringTag,{value:"Module"})),$X="__monacoFindWidgetTabIndexPatchApplied",I1="__monacoFindWidgetOriginalTabIndex";function jX(o,e){const t=o?._domNode;if(!t)return;const i=t.querySelectorAll('input, textarea, [tabindex], [role="button"], [role="checkbox"]');for(const n of i)if(n instanceof HTMLElement)if(e){if(!(I1 in n.dataset))continue;const s=n.dataset[I1];s===""?n.removeAttribute("tabindex"):n.tabIndex=Number(s),delete n.dataset[I1]}else I1 in n.dataset||(n.dataset[I1]=n.getAttribute("tabindex")??""),n.tabIndex=-1}if(!Kd[$X]){const o=Kd.prototype._reveal,e=Kd.prototype._hide;Kd.prototype._reveal=function(...t){o.apply(this,t),jX(this,!0)},Kd.prototype._hide=function(...t){e.apply(this,t),jX(this,!1)},Kd[$X]=!0}export{zKe as C,dw as E,ile as J,UKe as K,Gc as M,X_ as P,i2 as R,sle as S,KKe as T,yae as U,$Ke as a,DX as b,tle as c,ole as d,jKe as e,qKe as f,Kp as g,QKe as h,GKe as i,cle as j,eGe as k,Le as l,tGe as m,YKe as r,lle as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as k1}from"./
|
|
1
|
+
import{g as k1}from"./CGHwi-2H.js";import{g as E1}from"./yMcNgg0D.js";import{s as C1}from"./B4F7GG5Q.js";import{b as k,a$ as t1,ay as oe,X as Ce,a1 as S1,aP as x1,bh as Gt,a_ as T1,aZ as D1,b0 as _1,V as v1,U as F1,Y as V1,z as I1,ax as s1,J as i1,as as L1,$ as Rt,aW as Ot,r as B1,N as M1,am as y1,aU as w1,ab as N1,x as R1,aT as O1,p as P1}from"./BolJpU8l.js";import{c as G1}from"./D9_wDL10.js";import{aR as U1}from"./awY5HvZY.js";var tt={SHAPE_UNSUPPORTED:"SHAPE_UNSUPPORTED",SHAPE_REMOVED:"SHAPE_REMOVED",EDGE_OPERATOR_UNSUPPORTED:"EDGE_OPERATOR_UNSUPPORTED",REFERENCE_EDGE_LABEL_REJECTED:"REFERENCE_EDGE_LABEL_REJECTED",CONNECTOR_REF_UNRESOLVED:"CONNECTOR_REF_UNRESOLVED",CONNECTOR_REF_NOT_A_CONNECTOR:"CONNECTOR_REF_NOT_A_CONNECTOR",METADATA_KEY_MISAPPLIED:"METADATA_KEY_MISAPPLIED",DUPLICATE_ID_NODE:"DUPLICATE_ID_NODE",RESERVED_SYNTHETIC_ID:"RESERVED_SYNTHETIC_ID",CONTAINMENT_VIOLATION:"CONTAINMENT_VIOLATION",EDGE_SEMANTIC_CONTRADICTION:"EDGE_SEMANTIC_CONTRADICTION",FLOW_NO_INPUT:"FLOW_NO_INPUT"},j1=new Set([tt.SHAPE_UNSUPPORTED,tt.SHAPE_REMOVED,tt.CONTAINMENT_VIOLATION]);new Set(Object.values(tt).filter(s=>!j1.has(s)));var z1=new Map([["task","roundedRect"],["tool","subroutine"],["input","lean-right"],["lean_right","lean-right"],["decision","diamond"],["refdoc","lin-doc"],["action","hexagon"],["round","rect"]]),W1=new Set(["doc","stadium","terminal","circle","trapezoid","inv_trapezoid","inv-trapezoid","doublecircle","double-circle","typeDeclaration","procs","lean_left","lean-left","in-out","cylinder","ellipse","odd","tag-rect","tagged-rectangle","delay","half-rounded-rectangle","lin-rect","lined-rectangle","win-pane","window-pane","curv-trap","curved-trapezoid"]),K1=new Set(["roundedRect","subroutine","subprocess","subproc","framed-rectangle","lean-right","diamond","lin-doc","lined-document","hexagon","hex","connector","collapsedGroup"]),$e="roundedRect";function et(s){return s&&(z1.get(s)??s)}k(et,"resolveShapeAlias");function r1(s,i){for(const n of s)if(!n.isGroup){if((!n.shape||n.shape==="squareRect"||n.shape==="rect")&&(n.shape=$e),W1.has(n.shape)){const r=`shape "${n.shape}" was removed in v0.8.1, using "${$e}"`;i?.emitError?i.emitError("SHAPE_REMOVED",r,{nodeId:n.id}):oe.warn(`agentflow: ${r}`),n.shape=$e;continue}if(!K1.has(n.shape)){const r=`shape "${n.shape}" is not supported, using "${$e}"`;i?.emitWarning?i.emitWarning("SHAPE_UNSUPPORTED",r,{nodeId:n.id}):oe.warn(`agentflow: ${r}`),n.shape=$e}}}k(r1,"normaliseNodeShapes");var Lt=new Map([["tool",0],["task",1],["decision",2],["input",3],["refdoc",4],["connector",5],["action",6]]),a1=Lt.size,o1=k(s=>`af-kind-${s}`,"kindClass"),H1=[...Lt.keys()],u1=k(s=>Math.max(1,s-a1),"containerSlotCount"),l1=k((s,i)=>{const n=a1+s%u1(i);return i>0?n%i:n},"containerSlot");function c1(s,i,n){const r=Ce().themeVariables?.borderColorArray,u=Array.isArray(r)?r.length:0;let l=n.size;for(const c of s??[]){if(c.isGroup||c.shape==="collapsedGroup"){const h=n.get(String(c.id))??l++;c.colorIndex=l1(h,u);continue}const a=i(String(c.id));a&&Lt.has(a)&&(c.cssClasses=`${c.cssClasses??""} ${o1(a)}`.replace(/\s+/g," ").trim())}}k(c1,"assignColorSlots");var n1="agentflow-",Pt=new Set(["shape","view","icon","img","form","pos","w","h","class","style","labelType"]),Y1=new Set(["subroutine","subprocess","subproc","framed-rectangle","tool"]),q1={flow:"flowGroup"};function It(s){if(Array.isArray(s))return s.map(n=>It(n));if(s===null||typeof s!="object")return s;const i={};for(const n of Object.keys(s))n==="__proto__"||n==="constructor"||n==="prototype"||(i[n]=It(s[n]));return i}k(It,"stripPrototypeKeys");function d1(s){let i=!1,n=!1,r=0,u;const l=[];for(const c of s.split(`
|
|
2
2
|
`)){if(u!==void 0){const p=c.length-c.trimStart().length;if(c.trim()===""||p>u){l.push(c);continue}u=void 0}let a=-1;for(let p=0;p<c.length;p++){const A=c[p];if(n)A==="\\"?p++:A==='"'&&(n=!1);else if(i)A==="'"&&(i=!1);else if(A==='"')n=!0;else if(A==="'")i=!0;else if(A==="#"&&(p===0||c[p-1]===" "||c[p-1]===" ")){a=p;break}else A==="["||A==="{"?r++:(A==="]"||A==="}")&&(r=Math.max(0,r-1))}if(i||n||r>0){l.push(c);continue}const h=a>=0?c.slice(0,a):c,g=a>=0?c.slice(a):"";if(/:\s*[>|][\d+-]*\s*$/.test(h)){u=c.length-c.trimStart().length,l.push(c);continue}l.push(h.replace(/,([\t ]*)$/,"$1")+g)}return l.join(`
|
|
3
3
|
`)}k(d1,"stripLineTrailingCommas");var Ze,X1=(Ze=class{constructor(){this.vertexCounter=0,this.config=Ce(),this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.globalNodes=new Set,this.connectors=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.diagramId="",this.preserveCommentsWhenParsing=!0,this.frontmatterLineOffset=0,this.elementMappings=[],this.bareVertexMappings=new WeakSet,this.diagnostics=[],this.postParseValidationRun=!1,this.funs=[],this.setAccTitle=T1,this.setAccDescription=D1,this.setDiagramTitle=_1,this.getAccTitle=v1,this.getAccDescription=F1,this.getDiagramTitle=V1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addGlobal=this.addGlobal.bind(this),this.addConnector=this.addConnector.bind(this),this.addConnectorMapping=this.addConnectorMapping.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.setFrontmatterLineOffset=this.setFrontmatterLineOffset.bind(this),this.addVertexMapping=this.addVertexMapping.bind(this),this.extendVertexMapping=this.extendVertexMapping.bind(this),this.addEdgeMapping=this.addEdgeMapping.bind(this),this.addSubgraphMapping=this.addSubgraphMapping.bind(this),this.emitWarning=this.emitWarning.bind(this),this.emitError=this.emitError.bind(this),this.getDiagnostics=this.getDiagnostics.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return I1.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const n of this.vertices.values())if(n.id===i)return this.diagramId?`${this.diagramId}-${n.domId}`:n.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,n,r,u,l,c,a={},h,g){if(!i||i.trim().length===0)return;let p;if(h!==void 0){let m;h.includes(`
|
|
4
4
|
`)?m=h+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as T,bo as r,bw as W,bq as x,b as $,bs as B}from"./
|
|
1
|
+
import{t as T,bo as r,bw as W,bq as x,b as $,bs as B}from"./DWvCfaBg.js";import{bs as C,cd as H,ca as S,a7 as u,ay as f,W as k,bn as q,aA as o}from"./3SdAC2_C.js";import{i as D}from"./VTJf_qPn.js";import{k as J}from"./bIL0xbKX.js";import{a as L}from"./B1xM1EBM.js";import{dH as j}from"./3Kr2ijlK.js";import{Jx as z,h0 as E}from"./CIoJPvjg.js";function F(i,t){if(new.target)return T({component:F,...i});C(t,!0);const d=()=>B(v,"$workspace$",b),[b,w]=x();let c=r(t,"tab",7),a=r(t,"workspaceId",7),n=r(t,"layoutId",7),p=r(t,"isActive",7);const m=H(a());S(()=>m.set(a()));const v=j(m);var _={get tab(){return c()},set tab(e){c(e),o()},get workspaceId(){return a()},set workspaceId(e){a(e),o()},get layoutId(){return n()},set layoutId(e){n(e),o()},get isActive(){return p()},set isActive(e){p(e),o()},$set:W,$on:(e,s)=>$(t,e,s)},l=u(),g=f(l);{var y=e=>{var s=u(),h=f(s);J(h,a,A=>{L(A,{get workspace(){return d()},showBackToList:!1,onclose:()=>z.dispatch(E(n()??a(),c().id))})}),k(e,s)};D(g,e=>{p()&&d()&&e(y)})}k(i,l);var I=q(_);return w(),I}export{F as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as E,o as l,b,s as x,d as dt,l as S,c as ct,_ as M,r as ut}from"./CIyUrgF0.js";import{Z as _}from"./
|
|
1
|
+
import{n as E,o as l,b,s as x,d as dt,l as S,c as ct,_ as M,r as ut}from"./CIyUrgF0.js";import{Z as _}from"./Bu3PKqut.js";import{c as lt,a as mt}from"./DxwfiAWm.js";const L=E().finite().nonnegative(),Q=l({completedAtMs:L,samples:b(l({atMs:L,pointCount:E().int().min(0).max(2048),end:l({x:E().finite(),y:E().finite()}).strict()}).strict()).min(1).max(64)}).strict().refine(t=>t.samples.every((s,n)=>s.atMs<=t.completedAtMs&&(!n||s.atMs>=t.samples[n-1].atMs)),"Invalid gesture clock");function Vt(t,s,n){if(!s||n>=s.completedAtMs)return t;const i=[...s.samples].reverse().find(e=>e.atMs<=n);if(!i)return null;if(t.kind==="path")return i.pointCount?{kind:"path",points:t.points.slice(0,i.pointCount)}:null;if(t.kind==="arrow")return{kind:"arrow",from:t.from,to:i.end};if(t.kind==="rect"){const e=s.samples[0].end,a=Math.abs(i.end.x-e.x),r=Math.abs(i.end.y-e.y);return a>0&&r>0?{kind:"rect",x:Math.min(e.x,i.end.x),y:Math.min(e.y,i.end.y),w:a,h:r}:null}return t}const f=E().finite(),A=f.nonnegative(),R=E().int().nonnegative(),h=x().min(1).max(512),V=l({startMs:A,endMs:A}).strict().refine(t=>t.endMs>=t.startMs,"Reversed range"),z=l({x:f,y:f}).strict(),$=l({x:f,y:f,w:f.positive(),h:f.positive()}).strict(),ft=$.extend({id:h}),Wt=16,W=2,q=l({id:h,radius:f.positive().max(4096),points:b(z).min(1).max(4096)}).strict();function Zt(t){const s=t.points.map(a=>a.x),n=t.points.map(a=>a.y),i=Math.min(...s)-t.radius,e=Math.min(...n)-t.radius;return{x:i,y:e,w:Math.max(...s)+t.radius-i,h:Math.max(...n)+t.radius-e}}function Qt(t,s){return q.parse({...t,radius:t.radius*Math.max(Math.abs(s.scaleX),Math.abs(s.scaleY)),points:t.points.map(n=>({x:n.x*s.scaleX+s.offsetX,y:n.y*s.scaleY+s.offsetY}))})}const tt=dt("kind",[$.extend({kind:S("rect")}),l({kind:S("point"),x:f,y:f}).strict(),l({kind:S("path"),points:b(z).min(1).max(4096)}).strict(),l({kind:S("arrow"),from:z,to:z}).strict(),l({kind:S("text"),x:f,y:f,text:x().max(1e4),fontSize:f.positive(),style:S("sticky").optional(),width:f.positive().max(4096).optional(),padding:f.nonnegative().max(1024).optional()}).strict()]);function st(t){const s=t.fontSize*1.4,n=t.style==="sticky"?t.padding??8:0;if(t.style!=="sticky"){const r=t.text.split(`
|
|
2
2
|
`);return{lines:r,width:Math.max(1,...r.map(d=>d.length))*t.fontSize*.65,height:r.length*s,padding:n,lineHeight:s}}const i=Math.max(n*2+1,t.width??240),e=Math.max(1,Math.floor((i-n*2)/(t.fontSize*.65))),a=[];for(const r of t.text.split(`
|
|
3
3
|
`)){let d=r;for(;d.length>e;){const c=d.lastIndexOf(" ",e),u=c>0?c:e;a.push(d.slice(0,u).trimEnd()),d=d.slice(u).trimStart()}a.push(d)}return{lines:a,width:i,height:a.length*s+n*2,padding:n,lineHeight:s}}function qt(t,s){const n=st(t),i=tt.parse({...t,x:t.x*s.scaleX+s.offsetX,y:t.y*s.scaleY+s.offsetY,fontSize:t.fontSize*Math.abs(s.scaleY),...t.style==="sticky"?{width:n.width*Math.abs(s.scaleX),padding:n.padding*Math.min(Math.abs(s.scaleX),Math.abs(s.scaleY))}:{}});if(i.kind!=="text")throw new Error("invalid-text-transform");return i}const U=l({gestureProgress:Q.optional(),id:h,atMs:A,batchId:h,source:M(["recording","editor"]),kind:M(["click","box","draw","arrow","element","text"]),included:ct(),geometry:tt,label:x().max(2048),note:x().max(2e4),context:l({selector:x().max(8192).nullable(),text:x().max(2e4).nullable(),url:x().max(8192).nullable()}).strict()}).strict(),pt=l({id:h,atMs:A,clearAtMs:A.nullable()}).strict().refine(t=>t.clearAtMs===null||t.clearAtMs>=t.atMs,"Reversed batch"),ht=l({mode:M(["fullscreen","window","region"]),frame:l({displayId:E().int(),rect:$,coordinateSpace:S("screen-points-top-left")}).strict().nullable()}).strict(),j=l({id:h,revision:R,kind:M(["recording","screenshot"]),capture:ht.optional(),attachmentId:h,path:x().refine(t=>t.startsWith(".intent/attachments/")&&!/[\\\x00]/.test(t)&&!t.split("/").some(s=>!s||s==="."||s===".."),"Invalid attachment path"),durationMs:A,width:f.positive(),height:f.positive(),audio:M(["available","none","unknown"]),batches:b(pt).max(1e4),visuals:M(["clean","baked-marks"]),capturedMarks:b(U).max(1e4).optional(),bakedMarks:b(U).max(1e4).optional()}).strict().superRefine((t,s)=>{for(const n of t.capturedMarks??[]){const i=n.gestureProgress;i&&(t.kind!=="recording"||i.completedAtMs>t.durationMs||i.samples.some(e=>e.atMs<n.atMs||n.geometry.kind==="path"&&e.pointCount>n.geometry.points.length))&&s.addIssue({code:_.custom,path:["capturedMarks"],message:"Gesture timing does not match the recording"})}t.kind==="recording"&&t.durationMs<=0&&s.addIssue({code:_.custom,path:["durationMs"],message:"Recording duration is missing"})}),Mt=l({status:M(["pending","ready","no-speech","unavailable","failed"]),revision:R,words:b(l({id:h,text:x().max(2e4),startMs:A.nullable(),endMs:A.nullable(),alignment:M(["word","segment","untimed"])}).strict().superRefine((t,s)=>{(t.startMs===null!=(t.endMs===null)||t.startMs!==null&&t.endMs!==null&&t.endMs<t.startMs)&&s.addIssue({code:_.custom,message:"Incomplete or reversed recognition timing"}),t.alignment!=="untimed"&&(t.startMs===null||t.endMs===null)&&s.addIssue({code:_.custom,message:"Timed recognition units require genuine timestamps"}),t.alignment==="untimed"&&t.startMs!==null&&s.addIssue({code:_.custom,message:"Untimed text cannot claim timestamps"})})).max(2e5),error:x().max(2048).optional()}).strict();l({video:M(["full","highlights"]),voice:M(["audio","transcript","off"])}).strict();const G=l({version:S(1),kind:M(["recording","screenshot"]),sourceId:h,sourceRevision:R,revision:R,trim:V,cuts:b(V).max(1e4),marks:b(U).max(1e4),blurRegions:b(ft).max(1e3),blurStrokes:b(q).max(1e3).optional(),crop:$.nullable(),video:M(["full","highlights"]),voice:M(["audio","transcript","off"]),wordEdits:ut(x(),x().max(2e4))}).strict().superRefine((t,s)=>{const n=new Set;for(const i of t.marks)n.has(i.id)&&s.addIssue({code:_.custom,path:["marks"],message:"Duplicate mark identity"}),n.add(i.id)}),kt=l({openId:h,outputVersion:S(W).optional(),sourceId:h,sourceRevision:R,pair:l({workspaceId:h,agentId:h}).strict(),expectedEditRevision:R,edit:G,replacement:l({candidateToken:h,source:j}).strict().optional()}).strict().refine(t=>!(t.edit.blurStrokes?.length||t.edit.marks.some(s=>s.geometry.kind==="text"&&s.geometry.style==="sticky"))||t.outputVersion===W,"This edit requires an admitted output version");function X(t){const s=t.filter(i=>Number.isFinite(i.startMs)&&Number.isFinite(i.endMs)&&i.endMs>i.startMs).map(i=>({...i})).sort((i,e)=>i.startMs-e.startMs),n=[];for(const i of s){const e=n.at(-1);e&&i.startMs<=e.endMs?e.endMs=Math.max(e.endMs,i.endMs):n.push(i)}return n}function K(t,s){let n=X(t);for(const i of X(s))n=n.flatMap(e=>i.endMs<=e.startMs||i.startMs>=e.endMs?[e]:[...i.startMs>e.startMs?[{startMs:e.startMs,endMs:i.startMs}]:[],...i.endMs<e.endMs?[{startMs:i.endMs,endMs:e.endMs}]:[]]);return n}function Y(t,s,n){const i=t===n?Math.max(0,t-.001):t;return s.some(e=>i>=e.startMs&&i<e.endMs)}const N=6;function xt(t){if(t.kind==="point")return{x:t.x-N,y:t.y-N,w:N*2,h:N*2};if(t.kind==="rect")return{x:t.x,y:t.y,w:t.w,h:t.h};if(t.kind==="text"){const e=st(t);return{x:t.x,y:t.y,w:e.width,h:e.height}}const s=t.kind==="path"?t.points:[t.from,t.to],n=Math.min(...s.map(e=>e.x)),i=Math.min(...s.map(e=>e.y));return{x:n,y:i,w:Math.max(1,Math.max(...s.map(e=>e.x))-n),h:Math.max(1,Math.max(...s.map(e=>e.y))-i)}}function gt(t,s){if(!s)return!1;const n=xt(t.geometry);return n.x+n.w<s.x||n.x>s.x+s.w||n.y+n.h<s.y||n.y>s.y+s.h}function It(t){const s=K([t.trim],t.cuts);return t.marks.some(n=>n.included&&Y(n.atMs,s,t.trim.endMs))}function ts(t){return t.visuals==="clean"}function ss(t,s){const n=t.kind==="recording",i=s?.status==="ready";return{audio:{enabled:n&&t.audio==="available",reason:t.audio==="available"?null:"audio-unavailable"},transcript:{enabled:n&&i,reason:i?null:s?.status==="pending"?"transcript-pending":"transcript-unavailable"},off:{enabled:!0,reason:null}}}function ns(t,s,n,i=null){const e={version:1,kind:t.kind,sourceId:t.id,sourceRevision:t.revision,revision:0,trim:{startMs:0,endMs:t.durationMs},cuts:[],marks:structuredClone([...s]),blurRegions:[],blurStrokes:[],crop:null,video:i?.video??"highlights",voice:i?.voice??"transcript",wordEdits:{}};return t.kind==="screenshot"?(e.video="full",e.voice="off",e):(It(e)||(e.video="full"),(t.audio==="none"||n?.status==="no-speech"||e.voice==="audio"&&t.audio!=="available")&&(e.voice="off"),e)}function yt(t,s,n,i,e){const a=[],r=t.cuts.length>0||t.trim.startMs>0||t.trim.endMs<s.durationMs;if(!r&&n.words.some(o=>{const m=t.wordEdits[o.id]??o.text;return/^[\s\p{P}]*$/u.test(m)&&/^[\s\p{P}]*$/u.test(o.text)?!1:o.startMs===null||o.endMs===null||o.startMs<s.durationMs&&o.endMs>s.durationMs})){const o=[];let m=!1;for(const y of n.words){const D=t.wordEdits[y.id]??y.text;if(!D.trim()){y.text.trim()&&(m=!1);continue}/^[\s\p{P}]*$/u.test(D)?m&&(o[o.length-1]+=D.trim()):(o.push(D.trim()),m=!0)}const v=[...i].sort((y,D)=>y.mark.atMs-D.mark.atMs||y.n-D.n).map(({n:y,mark:D})=>`[mark ${y}: ${D.label||D.kind}]`).join(`
|
|
4
4
|
`);return{text:[o.join(" ").replace(/[^\S\n]+/g," ").trim(),v].filter(Boolean).join(`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{bm as h,_ as T}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DpxbS0Pj.js","/app/immutable/chunks/BXHbm15d.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/DWvCfaBg.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/VTJf_qPn.js","/app/immutable/chunks/BCuI_zgX.js","/app/immutable/chunks/Bu3PKqut.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/Drf1gLyo.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/CueOVPTy.js","/app/immutable/chunks/CIKXOyvw.js","/app/immutable/chunks/zFAkpaJn.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/Y_tkjygB.js","/app/immutable/chunks/bIL0xbKX.js","/app/immutable/chunks/W05hyx94.js","/app/immutable/chunks/2aKRVAvL.js","/app/immutable/chunks/CIoJPvjg.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/DY5rw8pn.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/D7yetF0v.js","/app/immutable/chunks/BlRGZv8u.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/DcLVN86K.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/D5xlMOwU.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/CQ5BHnSj.js","/app/immutable/chunks/3Kr2ijlK.js","/app/immutable/chunks/BrDfJqC4.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/Bb-hI5du.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/TN7R9Ny0.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bm as h,_ as T}from"./DWvCfaBg.js";import{m as f,Jx as a,dp as P,HU as S,zh as N,G3 as R,vU as q,r8 as H,vs as U,LC as W}from"./CIoJPvjg.js";import{f as I}from"./D5xlMOwU.js";import{E as j}from"./CIKXOyvw.js";import{parseIntentLink as V}from"./D5A9atQX.js";import{m as y}from"./BXHbm15d.js";import"./3SdAC2_C.js";import"./BCuI_zgX.js";import"./Bu3PKqut.js";import"./ChTqQfQN.js";import"./2aKRVAvL.js";import{x as B,k as C,w as L}from"./DJJ2Xrlq.js";import{dH as D}from"./3Kr2ijlK.js";import{q as E,p as z,j as $}from"./CGUVvS8r.js";const p="assistant-content",G=a.createSelector(t=>{const r=E.select(t),s=z.select(t),e=$.select(t).find(i=>i.agentId===s)??r.find(i=>i.isActive)??r.find(i=>i.messageCount>0)??r[0];return P(e?.agentId??null)}),O=new Map;function J(t,r=!1){const s=O.get(t)??{explicit:0,background:0},e={explicit:s.explicit+(r?0:1),background:s.background+(r?1:0)};return O.set(t,e),r?e:{explicit:e.explicit}}function k(t,r){const s=O.get(t);return s!==void 0&&r.explicit===s.explicit&&(r.background===void 0||r.background===s.background)}async function K(t){a.dispatch(q(t)),L.select(a.state,t).restoreStatus==="pending"&&await new Promise(r=>{const s=L.withStore(a)(t).subscribe(e=>{e.restoreStatus!=="pending"&&(r(),queueMicrotask(()=>s()))})})}function _(t,r,s){const e=L.select(a.state,s);if(!e.panels[p]||Object.keys(e.panels).some(i=>i!==p)){const i=e.panels[p],d=Object.values(e.panels).flatMap(n=>n.tabs.filter(o=>o.type!=="agent"||o.workspaceId!==f)),c=d.some(n=>n.id===i?.activeTabId)?i?.activeTabId??null:d.at(-1)?.id??null;a.dispatch(H(s,{root:{type:"panel",panelId:p},panels:{[p]:{id:p,tabs:d,activeTabId:c}},focusedPanelId:e.focusedPanelId===p?p:null,hiddenTabs:C.select(a.state,s)}))}a.dispatch(U(s,t,p,void 0,!0,void 0,!1,r.background||r.preserveFocus,void 0,r.background))}async function de(t,r={}){try{return await Q(t,r)}catch(s){return y.error(h.ui_linkHandler_notFound_title(),{description:s instanceof Error?s.message:String(s)}),!0}}async function Q(t,r){const s=/^intent:\/\/local\/([^/?#]+)\/agent\/([^/?#]+)$/.exec(t),e=t.startsWith("intent://")?V(t):null,i=e?.valid&&e.type==="workspace"?[t,e.resourceId]:/^\/workspace\/([^/?#]+)\/?$/.exec(t),d=/^https?:\/\//.test(t)&&!j(t);if(!i&&!s&&!d&&!(e?.valid&&["file","message","note","task"].includes(e.type))||i&&[f,"new"].includes(i[1]))return!1;const c=E.select(a.state),n=r.agentId?P(r.agentId):r.background?c.length===1?P(c[0].agentId):null:r.layoutId??G.select(a.state);if(!n)return!0;const o=J(n,r.background);if(await K(n),!k(n,o))return!0;if(i){const u=i[1],g=await I.workspaces.get(u);return k(n,o)?g?(a.dispatch(S(g)),_({type:"workspace",title:g.title,workspaceId:u,closable:!0},r,n),!0):(y.error(h.workspace_loader_notFound_title()),!0):!0}if(s)return x(s[1],s[2],r,n,o);if(d){const{resolveBrowserLinkForOpen:u}=await T(async()=>{const{resolveBrowserLinkForOpen:v}=await import("./DpxbS0Pj.js").then(w=>w.b);return{resolveBrowserLinkForOpen:v}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]),import.meta.url),g=await u(t);return k(n,o)&&_({type:"browser",title:new URL(t).hostname,browserUrl:g.url,browserRequestedUrl:g.requestedUrl,workspaceId:f,closable:!0},r,n),!0}if(!e?.valid)return!1;const b=e.workspaceId??f;if(e.type==="file"){const u=await I.workspaces.get(b);return k(n,o)?u?(a.dispatch(S(u)),_({type:"file",title:e.resourceId.split("/").at(-1)??e.resourceId,filePath:e.resourceId,workspaceId:b,closable:!0,data:{line:e.line,filePathIsLiteral:!0}},r,n),!0):(y.error(h.workspace_loader_notFound_title()),!0):!0}if(e.type==="message"&&e.agentId)return x(b,e.agentId,r,n,o,e.resourceId);if(e.type!=="note"&&e.type!=="task")return!1;const l=e.workspaceId??f,[m,A]=await Promise.all([a.dispatch(N(l,e.resourceId)),Promise.resolve(D.select(a.state,l)??I.workspaces.get(l)).catch(()=>null)]);if(!k(n,o))return!0;if(!m||String(m.workspaceId)!==l)return y.error(h.ui_linkHandler_notFound_title(),{description:h.ui_linkHandler_noteNotFound_error({noteId:e.resourceId,workspaceId:l})}),!0;A&&String(A.id)===l&&a.dispatch(S(A));const M=Object.entries(B.select(a.state)).some(([u,g])=>{const v=w=>w.type==="note"&&w.noteId===String(m.id)&&(w.workspaceId??u)===l;return Object.values(g.panels).some(w=>w.tabs.some(v))||C.select(a.state,u).some(v)}),F=a.state.transientUi.byWorkspaceId[l]?.noteViewModeByNoteId[String(m.id)];return!M&&(!r.background||F===void 0)&&a.dispatch(R(l,String(m.id),"editor")),_({type:"note",title:m.title,noteId:String(m.id),workspaceId:l,closable:!0},r,n),!0}async function x(t,r,s,e,i,d){const c=await I.agents.get(r,t===f?void 0:t);t===f&&c&&(t=String(c.workspaceId));const n=t===f?null:await I.workspaces.get(t);if(!k(e,i))return!0;if(!n&&t!==f||!c||String(c.workspaceId)!==t)return y.error(h.ui_linkHandler_notFound_title()),!0;if(n&&a.dispatch(S(n)),a.dispatch(W(c)),_({type:"agent",title:c.name??r,agentId:r,workspaceId:t,closable:!0},s,e),d&&!s.background){const{openMessage:o}=await T(async()=>{const{openMessage:b}=await import("./DcLVN86K.js");return{openMessage:b}},__vite__mapDeps([32,33,34,35,4,5,21,22,23,24,3,8,25,15,2,13,14,7,9,16,36,37,38,39,40,27,17,6,12,41,19,42,43,44,45]),import.meta.url);o({workspaceId:t,agentId:r,messageId:d,contentAlreadyOpen:!0})}return!0}export{p as ASSISTANT_CONTENT_PANEL_ID,G as selectAssistantPanelLayoutId,de as showAssistantContent};
|