@intent-hq/web 2.346.0 → 2.346.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{Brqq8vhd.js → -IUVo3ff.js} +4 -4
- package/web/app/immutable/chunks/{BVURea8L.js → -_IhnrUG.js} +1 -1
- package/web/app/immutable/chunks/{BDDEv5gU.js → -oWCrnEw.js} +1 -1
- package/web/app/immutable/chunks/{DknPpgEW.js → 0h3tB2X7.js} +1 -1
- package/web/app/immutable/chunks/{CJ_dtcmM.js → 1kPFR2jr.js} +1 -1
- package/web/app/immutable/chunks/{DcZKw8cP.js → 2_W5MGlF.js} +1 -1
- package/web/app/immutable/chunks/{CtDj7gZD.js → 35EIyCm3.js} +1 -1
- package/web/app/immutable/chunks/{9XVQ1GVX.js → 3OP-tats.js} +1 -1
- package/web/app/immutable/chunks/{CAdgzoaK.js → 3hAJcdO4.js} +1 -1
- package/web/app/immutable/chunks/{BY3nRRgO.js → 4I5A3DRt.js} +3 -3
- package/web/app/immutable/chunks/{ouMKS3MA.js → 5ICkS6dd.js} +1 -1
- package/web/app/immutable/chunks/{D31IcU1_.js → 5m7mNQI1.js} +1 -1
- package/web/app/immutable/chunks/{BOxkenyY.js → 8-yHkkqV.js} +1 -1
- package/web/app/immutable/chunks/{ahX1JzRb.js → 9PMcLe0B.js} +1 -1
- package/web/app/immutable/chunks/{CzcD2H5U.js → AfO8pDU9.js} +1 -1
- package/web/app/immutable/chunks/{z_Tdw9N5.js → B-hjApiN.js} +1 -1
- package/web/app/immutable/chunks/{ACNn9MHT.js → B-izwTdw.js} +2 -2
- package/web/app/immutable/chunks/{iKgBWWl-.js → B2Qef3kJ.js} +2 -2
- package/web/app/immutable/chunks/{B0mNIdOb.js → B2i6P1Yj.js} +1 -1
- package/web/app/immutable/chunks/{CcaAQlGA.js → B6_GAXLX.js} +1 -1
- package/web/app/immutable/chunks/{CQyjMIYw.js → B9wI8Jqn.js} +1 -1
- package/web/app/immutable/chunks/{DdVIXVso.js → BA-Wd8x9.js} +1 -1
- package/web/app/immutable/chunks/{asQ_ruFQ.js → BB4FgpiZ.js} +1 -1
- package/web/app/immutable/chunks/{ftma9Ybn.js → BBhsbqLJ.js} +1 -1
- package/web/app/immutable/chunks/{BDzYiKUH.js → BCjermhu.js} +1 -1
- package/web/app/immutable/chunks/{D-i7C44m.js → BD_lDepV.js} +2 -2
- package/web/app/immutable/chunks/{3as4gwP9.js → BDgfFtcK.js} +1 -1
- package/web/app/immutable/chunks/{Big_dnEI.js → BEA1dP-Y.js} +1 -1
- package/web/app/immutable/chunks/{CXpFRnSj.js → BEF8aCkH.js} +1 -1
- package/web/app/immutable/chunks/{Dj8J0eqI.js → BFVZAW0_.js} +1 -1
- package/web/app/immutable/chunks/{DFs6FJS8.js → BG2eX09y.js} +1 -1
- package/web/app/immutable/chunks/{BaYzTmbw.js → BGqL3gJO.js} +1 -1
- package/web/app/immutable/chunks/{B7dTLx8u.js → BGsa1Rn-.js} +1 -1
- package/web/app/immutable/chunks/{Ba1C4iSG.js → BHmRsJkZ.js} +1 -1
- package/web/app/immutable/chunks/{DhHSeQsG.js → BI0I5q5w.js} +3 -3
- package/web/app/immutable/chunks/{CvHwMug-.js → BIB7YFjF.js} +2 -2
- package/web/app/immutable/chunks/{OPvMR-5p.js → BIWW5pDn.js} +1 -1
- package/web/app/immutable/chunks/{BBlTlRXR.js → BKJdB-rj.js} +1 -1
- package/web/app/immutable/chunks/BKW86yq_.js +1 -0
- package/web/app/immutable/chunks/{CrjpdU4V.js → BLXPhKCH.js} +1 -1
- package/web/app/immutable/chunks/{-Wo302Zr.js → BMCRnGzk.js} +1 -1
- package/web/app/immutable/chunks/{BO8NImWp.js → BMlW8PWp.js} +1 -1
- package/web/app/immutable/chunks/{BKw5KoGy.js → BMxLlxet.js} +1 -1
- package/web/app/immutable/chunks/{DKTqwHrN.js → BO3bzcut.js} +1 -1
- package/web/app/immutable/chunks/BPZ_JA05.js +2 -0
- package/web/app/immutable/chunks/{B4gIvcP2.js → BW1uSKLL.js} +1 -1
- package/web/app/immutable/chunks/{DPUWJyjX.js → BYpXsiCq.js} +1 -1
- package/web/app/immutable/chunks/{Dto-4yb7.js → BZHceihR.js} +1 -1
- package/web/app/immutable/chunks/{Clhk_Z-l.js → BZklR_B6.js} +1 -1
- package/web/app/immutable/chunks/{BDPqCRJm.js → BZpL3F2r.js} +1 -1
- package/web/app/immutable/chunks/BZvAKLUn.js +1 -0
- package/web/app/immutable/chunks/{3h5ZjEwa.js → B_ALvSh2.js} +1 -1
- package/web/app/immutable/chunks/{BaYeKXL3.js → B_uWHofm.js} +1 -1
- package/web/app/immutable/chunks/{i2sZiDEq.js → BaDPh7vq.js} +1 -1
- package/web/app/immutable/chunks/{C3NeTp2u.js → BcLSwxTf.js} +1 -1
- package/web/app/immutable/chunks/{DOB2ATTF.js → BfaGwOq5.js} +1 -1
- package/web/app/immutable/chunks/{CiKocWhX.js → BfaHQDJW.js} +1 -1
- package/web/app/immutable/chunks/{DOKxXiSI.js → Bfi661u9.js} +4 -4
- package/web/app/immutable/chunks/{bKyElw3h.js → BjCpOU4b.js} +1 -1
- package/web/app/immutable/chunks/BjFh2SH5.js +1 -0
- package/web/app/immutable/chunks/{Dx3sZmi8.js → Bkff-hvs.js} +1 -1
- package/web/app/immutable/chunks/{DE8QOEZV.js → BkzhB_Po.js} +1 -1
- package/web/app/immutable/chunks/{Dkr_RXdV.js → BlznqeMI.js} +1 -1
- package/web/app/immutable/chunks/{D7dPbXji.js → BmLxQNOC.js} +1 -1
- package/web/app/immutable/chunks/{C3VPe7p1.js → BmooL5Pj.js} +1 -1
- package/web/app/immutable/chunks/{GzTl4Sb0.js → BnSdmDXX.js} +1 -1
- package/web/app/immutable/chunks/{cATI0wnI.js → BnsQkZ2z.js} +1 -1
- package/web/app/immutable/chunks/{DHGSAfCZ.js → BotBkFiN.js} +1 -1
- package/web/app/immutable/chunks/{B5HeJKYE.js → BppmVmxY.js} +1 -1
- package/web/app/immutable/chunks/{C-OtpXcF.js → BqOOOgy5.js} +1 -1
- package/web/app/immutable/chunks/{DzejiLWr.js → BqRBAXUd.js} +3 -3
- package/web/app/immutable/chunks/{WbTmlouE.js → Bs3_4AtC.js} +1 -1
- package/web/app/immutable/chunks/{C_EpV6jU.js → Bs7Hg6Iw.js} +1 -1
- package/web/app/immutable/chunks/{DZ3SUe8R.js → BtiDRzyn.js} +1 -1
- package/web/app/immutable/chunks/{A8_BT67P.js → BtwtItRa.js} +1 -1
- package/web/app/immutable/chunks/{Bgi2L8Br.js → BvpnWd-y.js} +1 -1
- package/web/app/immutable/chunks/{C33Dw59E.js → Bw9Opv8X.js} +1 -1
- package/web/app/immutable/chunks/{BLaIjbEF.js → BwPpu-bL.js} +1 -1
- package/web/app/immutable/chunks/{CzdMU9Bu.js → By74nslt.js} +2 -2
- package/web/app/immutable/chunks/{BWTugGQ8.js → BycUBg6h.js} +1 -1
- package/web/app/immutable/chunks/{YYacqJ9a.js → BzrasdW9.js} +1 -1
- package/web/app/immutable/chunks/{B4XZNQ4a.js → C-6Vv_Md.js} +1 -1
- package/web/app/immutable/chunks/{CVa6MqnK.js → C0deMyYN.js} +1 -1
- package/web/app/immutable/chunks/{DZyAzxxC.js → C1N6iAP2.js} +1 -1
- package/web/app/immutable/chunks/{DXnd4CJZ.js → C1c28WNI.js} +1 -1
- package/web/app/immutable/chunks/{Cb0zVN4i.js → C1s02RDB.js} +1 -1
- package/web/app/immutable/chunks/{Y4VeEPHl.js → C3LkuwxU.js} +1 -1
- package/web/app/immutable/chunks/{z-RLr2Z1.js → C4EqZepj.js} +1 -1
- package/web/app/immutable/chunks/{jlJQSpH6.js → C4LCiNWC.js} +1 -1
- package/web/app/immutable/chunks/{D492HRYt.js → C4s4Sq6j.js} +1 -1
- package/web/app/immutable/chunks/{DeCAcSD9.js → C4t0jJ4k.js} +1 -1
- package/web/app/immutable/chunks/{BfbZn9QX.js → C4xNNtUj.js} +1 -1
- package/web/app/immutable/chunks/{BK64B_Ic.js → C7CRtBIe.js} +1 -1
- package/web/app/immutable/chunks/{BTNEDHav.js → C7fHSR36.js} +1 -1
- package/web/app/immutable/chunks/{BMKkyPLo.js → C9u4tXUT.js} +1 -1
- package/web/app/immutable/chunks/{CgLoJgPR.js → CFFiNWgw.js} +1 -1
- package/web/app/immutable/chunks/{5Ixgq0WC.js → CFpSvOJx.js} +1 -1
- package/web/app/immutable/chunks/{B3D9gAmi.js → CGhe-vKv.js} +1 -1
- package/web/app/immutable/chunks/{CbZEAbX5.js → CIhlsnLM.js} +1 -1
- package/web/app/immutable/chunks/{DgHZa_R5.js → CJl18r_J.js} +1 -1
- package/web/app/immutable/chunks/{eNHX5lds.js → CK5SmfAe.js} +1 -1
- package/web/app/immutable/chunks/{D1CYDv8t.js → CKfg4UqD.js} +1 -1
- package/web/app/immutable/chunks/{Do80Vc58.js → CLqD3xZb.js} +1 -1
- package/web/app/immutable/chunks/{71L4lHBq.js → CMG5CVfP.js} +1 -1
- package/web/app/immutable/chunks/{DtAyUyC0.js → CMcMoJJq.js} +1 -1
- package/web/app/immutable/chunks/{C3oF1SK5.js → CNHQ2hz2.js} +1 -1
- package/web/app/immutable/chunks/{B1HPKTBI.js → CNOSe0wO.js} +1 -1
- package/web/app/immutable/chunks/{C4HHXGmJ.js → CNwVL4wn.js} +1 -1
- package/web/app/immutable/chunks/{s0TWEExr.js → COhzdkuA.js} +1 -1
- package/web/app/immutable/chunks/{DukmxKgk.js → CP2XzLLk.js} +1 -1
- package/web/app/immutable/chunks/{zGl9gaL0.js → CPE7SIVP.js} +1 -1
- package/web/app/immutable/chunks/{Chpqmkx4.js → CPo4UsMt.js} +1 -1
- package/web/app/immutable/chunks/{B83M2_sj.js → CS0II5i-.js} +1 -1
- package/web/app/immutable/chunks/{CQbtnalz.js → CS4C4Dqz.js} +1 -1
- package/web/app/immutable/chunks/{7eL9Pgig.js → CSelYXXo.js} +1 -1
- package/web/app/immutable/chunks/{IRbjhecv.js → CTMYdigD.js} +1 -1
- package/web/app/immutable/chunks/{DGmRhalF.js → CUEYQ1xR.js} +1 -1
- package/web/app/immutable/chunks/{T9tywf_e.js → CXZBvyNr.js} +1 -1
- package/web/app/immutable/chunks/{BnkmaA34.js → CXgI2Ln7.js} +1 -1
- package/web/app/immutable/chunks/{Zl17pAXX.js → CZ2Oen6-.js} +1 -1
- package/web/app/immutable/chunks/{Cq8oeEXe.js → Cd-mRODX.js} +1 -1
- package/web/app/immutable/chunks/{etVaBLxV.js → Cdb_pBT1.js} +1 -1
- package/web/app/immutable/chunks/{BeJ5WWx4.js → ChOLlFah.js} +22 -22
- package/web/app/immutable/chunks/{DryyHkNv.js → CiLrRXKC.js} +1 -1
- package/web/app/immutable/chunks/{CQB76zlc.js → CjS1Cmfi.js} +1 -1
- package/web/app/immutable/chunks/{ByLCbaqp.js → CjsTzCaF.js} +1 -1
- package/web/app/immutable/chunks/{BQbcEQz0.js → CjxgW2LG.js} +1 -1
- package/web/app/immutable/chunks/{CHfmHJ17.js → Cjyjhytt.js} +1 -1
- package/web/app/immutable/chunks/{Ckp5dOHW.js → Ck2hwsBm.js} +1 -1
- package/web/app/immutable/chunks/{B55-cQLT.js → CpB9-pxF.js} +1 -1
- package/web/app/immutable/chunks/{DMjNjha0.js → CqvGUHnF.js} +1 -1
- package/web/app/immutable/chunks/{Dkva_evl.js → CsvSUZwX.js} +2 -2
- package/web/app/immutable/chunks/{DOCWMdWU.js → CuD9DL4y.js} +1 -1
- package/web/app/immutable/chunks/{DwA_Z_f6.js → Cueu30DH.js} +1 -1
- package/web/app/immutable/chunks/{3DAIKGff.js → Cv_fAsRR.js} +1 -1
- package/web/app/immutable/chunks/{BmEcZoA2.js → CxSx5kbz.js} +1 -1
- package/web/app/immutable/chunks/{U6cHmbYS.js → CxlqEDL_.js} +3 -3
- package/web/app/immutable/chunks/{DzKYjnRy.js → CyhyGZAH.js} +2 -2
- package/web/app/immutable/chunks/{B0WVH3Hg.js → CzGRX-SL.js} +1 -1
- package/web/app/immutable/chunks/{DcwC09tE.js → CzGw49VI.js} +1 -1
- package/web/app/immutable/chunks/{CNT1n9YR.js → D0wwPGAk.js} +1 -1
- package/web/app/immutable/chunks/D1jZIoRI.js +1 -0
- package/web/app/immutable/chunks/D3e1E0pH.js +13 -0
- package/web/app/immutable/chunks/{CFs6uWH2.js → D6G3HdC8.js} +1 -1
- package/web/app/immutable/chunks/{C1osWUn_.js → D9TgvNHy.js} +1 -1
- package/web/app/immutable/chunks/{Cx31i8ng.js → D9WJ9yaW.js} +1 -1
- package/web/app/immutable/chunks/DD34O6fm.js +408 -0
- package/web/app/immutable/chunks/{Bxnf75xq.js → DGs9CA_z.js} +1 -1
- package/web/app/immutable/chunks/{B1U_DCBw.js → DKnPivVx.js} +1 -1
- package/web/app/immutable/chunks/{dBZS3-kp.js → DL98Mvfc.js} +1 -1
- package/web/app/immutable/chunks/{C8XrM-qb.js → DMtABnLi.js} +1 -1
- package/web/app/immutable/chunks/{CiIELmgj.js → DNMpoEvN.js} +1 -1
- package/web/app/immutable/chunks/{txy0Txom.js → DNQiloiF.js} +1 -1
- package/web/app/immutable/chunks/{BM7oCSp5.js → DN_Lq29a.js} +1 -1
- package/web/app/immutable/chunks/{CDbQwqu1.js → DQ3kuV3H.js} +1 -1
- package/web/app/immutable/chunks/{CmoBwSCp.js → DR-bu7f0.js} +1 -1
- package/web/app/immutable/chunks/{DzGNgfrZ.js → DRG7DUhO.js} +1 -1
- package/web/app/immutable/chunks/{CjbCpI18.js → DSHtWXiq.js} +1 -1
- package/web/app/immutable/chunks/{BLl22NdQ.js → DSU9ZcQ0.js} +1 -1
- package/web/app/immutable/chunks/{BlEwAz4v.js → DTTdoBjw.js} +1 -1
- package/web/app/immutable/chunks/{DRZKWEq3.js → DUyBdSjv.js} +1 -1
- package/web/app/immutable/chunks/{CXVUfxHv.js → DZZviYVT.js} +2 -2
- package/web/app/immutable/chunks/{Dr45ln4z.js → DaOs4JNK.js} +1 -1
- package/web/app/immutable/chunks/{DNjgs7AU.js → Db5vVNPd.js} +1 -1
- package/web/app/immutable/chunks/{DccrGg38.js → DciVixd2.js} +3 -3
- package/web/app/immutable/chunks/{Bgw3O9rE.js → DctMspbi.js} +1 -1
- package/web/app/immutable/chunks/{CswFIiBb.js → DetpMFuT.js} +1 -1
- package/web/app/immutable/chunks/{Cq2aackv.js → DghbEZ16.js} +1 -1
- package/web/app/immutable/chunks/{BOyF7pe9.js → DhUnCLhA.js} +1 -1
- package/web/app/immutable/chunks/{DYnCJwSs.js → DhWGSJOr.js} +1 -1
- package/web/app/immutable/chunks/{D7NdkRF-.js → DlrkMELS.js} +4 -4
- package/web/app/immutable/chunks/{CAUaU8Wh.js → DmY0GWNY.js} +1 -1
- package/web/app/immutable/chunks/DnBFSw4A.js +4 -0
- package/web/app/immutable/chunks/{DH-29Rs_.js → Dnk26fqb.js} +3 -3
- package/web/app/immutable/chunks/{BW9EApvt.js → Do1gmE20.js} +1 -1
- package/web/app/immutable/chunks/{BQ5F0iVp.js → DqmvYlsZ.js} +1 -1
- package/web/app/immutable/chunks/{SVZRr24P.js → Dsq9SKtm.js} +1 -1
- package/web/app/immutable/chunks/{DKKFIb2l.js → DuA0wXTo.js} +1 -1
- package/web/app/immutable/chunks/{BDZoh7yg.js → DuMO6x6m.js} +1 -1
- package/web/app/immutable/chunks/{DByMRbHr.js → Dx1uQEhV.js} +1 -1
- package/web/app/immutable/chunks/{D-TVq_rK.js → DxdbljsN.js} +1 -1
- package/web/app/immutable/chunks/{DHROL4K5.js → DxkncNQp.js} +1 -1
- package/web/app/immutable/chunks/{B79pUPc3.js → DxlsP5Pu.js} +4 -4
- package/web/app/immutable/chunks/{D0I9E6A0.js → DzEm_gMB.js} +1 -1
- package/web/app/immutable/chunks/{DTSEdINd.js → Dzr2-f8u.js} +2 -2
- package/web/app/immutable/chunks/{CrHk5l6X.js → E9kqzP8d.js} +1 -1
- package/web/app/immutable/chunks/{BJZ04Dji.js → ENl_7pWb.js} +1 -1
- package/web/app/immutable/chunks/{W7sv3DY6.js → HAVpWhg1.js} +1 -1
- package/web/app/immutable/chunks/{fzs92dqr.js → HXO2zRQJ.js} +1 -1
- package/web/app/immutable/chunks/{BqBqZaGQ.js → JbkOWTOg.js} +1 -1
- package/web/app/immutable/chunks/{DfjJilaB.js → KErKc4MM.js} +2 -2
- package/web/app/immutable/chunks/{DUQV_xq3.js → Mrn_4qcP.js} +1 -1
- package/web/app/immutable/chunks/{BcbQZUsh.js → NhKlePe6.js} +1 -1
- package/web/app/immutable/chunks/{ChNPgGKQ.js → NqdaVAll.js} +1 -1
- package/web/app/immutable/chunks/{DDySjsub.js → O3Ve923N.js} +1 -1
- package/web/app/immutable/chunks/O7PQPM4V.js +1 -0
- package/web/app/immutable/chunks/{BrIsEZwT.js → P1zH2HLT.js} +1 -1
- package/web/app/immutable/chunks/{BDtb6AfX.js → P2s61dnl.js} +1 -1
- package/web/app/immutable/chunks/{B-7vt8Nv.js → QcdWHB0v.js} +1 -1
- package/web/app/immutable/chunks/{V9qci_dz.js → RKjwEkJS.js} +1 -1
- package/web/app/immutable/chunks/{1_fC7X8z.js → R_Ru9hwD.js} +1 -1
- package/web/app/immutable/chunks/{DMYKSC8W.js → SnydeSOZ.js} +2 -2
- package/web/app/immutable/chunks/{BK2lpqz4.js → SrhdBdnO.js} +1 -1
- package/web/app/immutable/chunks/{BjURBDIt.js → T1DVgc50.js} +1 -1
- package/web/app/immutable/chunks/{C1CDOGnh.js → T9_nVC7k.js} +1 -1
- package/web/app/immutable/chunks/{CSg3z6A2.js → UKn44y3B.js} +1 -1
- package/web/app/immutable/chunks/{DW9MEQey.js → UxXMSC13.js} +1 -1
- package/web/app/immutable/chunks/{D9jvlcNy.js → VVSQHNmC.js} +1 -1
- package/web/app/immutable/chunks/{d-Ep-sfP.js → V_ABjOKq.js} +1 -1
- package/web/app/immutable/chunks/{BZYeogxf.js → W4Nuovgc.js} +1 -1
- package/web/app/immutable/chunks/{CCm1BgPl.js → YuOz6Rmc.js} +1 -1
- package/web/app/immutable/chunks/{B0-4rCYZ.js → Znww69M9.js} +1 -1
- package/web/app/immutable/chunks/{BcgSXbtK.js → _5Vv4dkf.js} +1 -1
- package/web/app/immutable/chunks/{BgKhYgm8.js → _RxuD-W2.js} +1 -1
- package/web/app/immutable/chunks/{CguBowm8.js → a48W8e3q.js} +1 -1
- package/web/app/immutable/chunks/{BYDvuR-h.js → bYaMqcEY.js} +1 -1
- package/web/app/immutable/chunks/{euZ22sAu.js → cX33-fuj.js} +1 -1
- package/web/app/immutable/chunks/{CSQXURhP.js → dT5WNNGq.js} +1 -1
- package/web/app/immutable/chunks/{D_SZXZdx.js → eqxSNkBq.js} +1 -1
- package/web/app/immutable/chunks/{BqyYlCY3.js → fPgojm2p.js} +1 -1
- package/web/app/immutable/chunks/{wTgWcOy1.js → hCF4Zu9x.js} +1 -1
- package/web/app/immutable/chunks/{CvGEpOsC.js → j3POoRwI.js} +1 -1
- package/web/app/immutable/chunks/{G_wYaln-.js → jqkXCyuX.js} +1 -1
- package/web/app/immutable/chunks/{CGcQAX9W.js → k6cZvV27.js} +1 -1
- package/web/app/immutable/chunks/{CP8WYBBE.js → m296fjds.js} +1 -1
- package/web/app/immutable/chunks/{BWAGtvpD.js → qvZYvB9N.js} +1 -1
- package/web/app/immutable/chunks/{-UJlOg-6.js → rBb3s3xl.js} +1 -1
- package/web/app/immutable/chunks/{ClMg3ew2.js → rISNYNCE.js} +1 -1
- package/web/app/immutable/chunks/{CA6TS0WC.js → sCaWuYEb.js} +1 -1
- package/web/app/immutable/chunks/{4sUGQp1u.js → tcnXcM0S.js} +1 -1
- package/web/app/immutable/chunks/{DjdPlKc4.js → tn7Dp-vi.js} +1 -1
- package/web/app/immutable/chunks/{BpYNQf9o.js → uIpdZ1Gn.js} +1 -1
- package/web/app/immutable/chunks/{BDPAYMJ1.js → uc8QMJUx.js} +1 -1
- package/web/app/immutable/chunks/{BWZmCaEW.js → yw7dEI88.js} +1 -1
- package/web/app/immutable/chunks/{D3toWTag.js → zEbP96sv.js} +4 -4
- package/web/app/immutable/chunks/{0qEvU7Aj.js → zqCR6Knb.js} +1 -1
- package/web/app/immutable/entry/{app.BXnRxWvG.js → app.Dg3CVjdE.js} +3 -3
- package/web/app/immutable/entry/start.51bhhgUY.js +1 -0
- package/web/app/immutable/nodes/{0.CFk1FXLg.js → 0.mr7Lr8Nh.js} +1 -1
- package/web/app/immutable/nodes/{1.Bd67D1tA.js → 1.rfzchHhR.js} +1 -1
- package/web/app/immutable/nodes/{10.CTZ0L3wZ.js → 10.D4xVtSvV.js} +1 -1
- package/web/app/immutable/nodes/{11.CH_h0WbH.js → 11.Bl5UwrS9.js} +1 -1
- package/web/app/immutable/nodes/{12.DhihsAtw.js → 12.CUp8k2-A.js} +1 -1
- package/web/app/immutable/nodes/{13.B727xJXs.js → 13.Ch9aZ9Uv.js} +3 -3
- package/web/app/immutable/nodes/{14.CgITgBOZ.js → 14.Bjuagqn-.js} +1 -1
- package/web/app/immutable/nodes/{15.CCzIPJGf.js → 15.Cto8qDz0.js} +1 -1
- package/web/app/immutable/nodes/{16.CbtJfPHZ.js → 16.SivUu1Ma.js} +1 -1
- package/web/app/immutable/nodes/{17.CelzCwXF.js → 17.Chj8J0QC.js} +1 -1
- package/web/app/immutable/nodes/{18.fqvApY-g.js → 18.D_tnQyvk.js} +2 -2
- package/web/app/immutable/nodes/{2.t-1b60vK.js → 2.WfgNcNo2.js} +4 -4
- package/web/app/immutable/nodes/{3.4L0YPvZL.js → 3.D4wTMvE8.js} +1 -1
- package/web/app/immutable/nodes/{4.BLQgcpcU.js → 4.ZitfbCkz.js} +1 -1
- package/web/app/immutable/nodes/{5.Bp_OiOTI.js → 5.BFEJ_NR_.js} +1 -1
- package/web/app/immutable/nodes/{6.CcuwCBp4.js → 6.Bkj3ggYn.js} +1 -1
- package/web/app/immutable/nodes/{7.B-TRUT7o.js → 7.Cz8EbGz5.js} +1 -1
- package/web/app/immutable/nodes/{8.CaG5gby5.js → 8.gF00dlat.js} +6 -6
- package/web/app/immutable/nodes/9.COG4Nc0F.js +39 -0
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/2V4-p70U.js +0 -408
- package/web/app/immutable/chunks/BAGVOK-j.js +0 -4
- package/web/app/immutable/chunks/Bbkml6DP.js +0 -1
- package/web/app/immutable/chunks/D9jYN6_J.js +0 -1
- package/web/app/immutable/chunks/DF1uIj8u.js +0 -1
- package/web/app/immutable/chunks/DOPeTAKk.js +0 -13
- package/web/app/immutable/chunks/DgwMMJRI.js +0 -2
- package/web/app/immutable/chunks/TL85KYB9.js +0 -1
- package/web/app/immutable/chunks/ciTxbtqU.js +0 -1
- package/web/app/immutable/entry/start.BX3EKd8C.js +0 -1
- package/web/app/immutable/nodes/9.DosMxTmg.js +0 -39
|
@@ -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/BYpXsiCq.js","/app/immutable/chunks/BGsa1Rn-.js","/app/immutable/chunks/SrhdBdnO.js","/app/immutable/chunks/CNHQ2hz2.js","/app/immutable/chunks/Cjyjhytt.js","/app/immutable/chunks/DghbEZ16.js","/app/immutable/chunks/DNQiloiF.js","/app/immutable/chunks/CMG5CVfP.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"./BKW86yq_.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("./9XVQ1GVX.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("./9XVQ1GVX.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("./9XVQ1GVX.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("./9XVQ1GVX.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("./9XVQ1GVX.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("./9XVQ1GVX.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("./9XVQ1GVX.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("./C33Dw59E.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("./Ba1C4iSG.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("./DPUWJyjX.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("./4sUGQp1u.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("./CbZEAbX5.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("./BKw5KoGy.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("./CiIELmgj.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("./B7dTLx8u.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("./3DAIKGff.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("./DwA_Z_f6.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("./BK2lpqz4.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("./Cq2aackv.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("./txy0Txom.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("./71L4lHBq.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("./3OP-tats.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("./3OP-tats.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("./3OP-tats.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("./3OP-tats.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("./3OP-tats.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("./3OP-tats.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("./3OP-tats.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("./Bw9Opv8X.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("./BHmRsJkZ.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("./BYpXsiCq.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("./tcnXcM0S.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("./CIhlsnLM.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("./BMxLlxet.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("./DNMpoEvN.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("./BGsa1Rn-.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("./Cv_fAsRR.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("./Cueu30DH.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("./SrhdBdnO.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("./DghbEZ16.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("./DNQiloiF.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("./CMG5CVfP.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,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{t as Zt,bq as N,by as te,bu as W,bs as ee,b as re,bo as n,_ as se}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/VVSQHNmC.js","/app/immutable/chunks/C4xNNtUj.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/RKjwEkJS.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/D9WJ9yaW.js","/app/immutable/chunks/BKW86yq_.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CEsW1euQ.js","/app/immutable/chunks/BcLSwxTf.js","/app/immutable/chunks/DRG7DUhO.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{t as Zt,bq as N,by as te,bu as W,bs as ee,b as re,bo as n,_ as se}from"./BKW86yq_.js";import{bo as ae,bs as ne,ca as C,bH as G,c5 as yt,aD as F,bj as ie,a5 as O,bS as p,bA as D,b_ as x,W as f,bn as oe,cd as lt,bV as kt,c9 as J,aA as Q,bl as R,bO as h,ay as St,aB as y}from"./DYhIMPy1.js";import{i as I}from"./CSelYXXo.js";import{f as wt,g as le,s as ce}from"./Bs7Hg6Iw.js";import{b as ue}from"./BaIAhI85.js";import{b as de}from"./4xlJdO9z.js";import{Iz as m,C9 as pe,B$ as me,B_ as fe,It as _e,BM as ve,ih as be,iH as ge}from"./C4xNNtUj.js";import{a as xe,T as he,D as ye,L as ke,o as Se}from"./BqRBAXUd.js";import{F as ct,c_ as we,c6 as $e,cW as Ae}from"./DmY0GWNY.js";import{f as $t}from"./zqCR6Knb.js";import{k as rt}from"./qvZYvB9N.js";import"./CsvSUZwX.js";import"./D9WJ9yaW.js";import"./ChTqQfQN.js";import"./CS4C4Dqz.js";import{r as Ce}from"./DaOs4JNK.js";import{selectScriptById as ut,selectScriptRuntime as Fe,selectScriptOutput as At,selectScriptRetainedOutput as Oe,selectCanDeleteScript as Ct}from"./BotBkFiN.js";import{g as De}from"./DUyBdSjv.js";import{bS as Re,dL as Ie,dl as Ft}from"./BB4FgpiZ.js";import"./DKnPivVx.js";import"./DhUnCLhA.js";import"./CMcMoJJq.js";import{c as Le}from"./P2s61dnl.js";import{I as Ot}from"./BjFh2SH5.js";var Dt=y("<!> ",1),Be=y('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Te=y('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),qe=y('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),Ee=y('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),Me=y('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Pe=y('<code class="text-muted-foreground font-mono text-xs"> </code>'),We=y('<span class="sr-only"> </span>'),ze=y('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!> <!></div></div>'),je=y('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function Ue(_,c){const j=ae();if(new.target)return Zt({component:Ue,..._});ne(c,!0);const L=()=>W(Pt,"$outputAuthority",B),u=()=>W(Bt,"$runtime$",B),v=()=>W(Tt,"$output$",B),w=()=>W(Mt,"$codeFontFamilyCSS",B),z=()=>W(qt,"$retainedOutput$",B),Rt=()=>W(Et,"$hidesAgentLifecycleActions$",B),dt=()=>W(Lt,"$script$",B),[B,It]=ee();let $=N(c,"scriptId",7),b=N(c,"workspaceId",7),st=N(c,"class",7,""),at=N(c,"runDisabled",7,!1),T=N(c,"runDisabledReason",7,null);const pt=J(()=>at()||T()!==null),q=lt(""),U=lt(""),mt=lt("");let nt=kt(!1);C(()=>q.set(b())),C(()=>U.set($()));let E,i=null,H=null,Y=null,V=null,M=null,X=null;const Lt=ut(q,U),Bt=Fe(q,U),Tt=At(q,U),qt=Oe(q,U,mt),Et=Re(q),Mt=De(),Pt=Ie(q),ft=crypto.randomUUID();C(()=>{const t=b();return $(),()=>{t&&m.dispatch(pe(t,ft))}}),C(()=>{const t=b(),e=$(),a=L(),s=u();if(!a||!t||!e)return;s.status,s.startedAt;const l=crypto.randomUUID();return mt.set(l),G(nt,yt(()=>v().chunks.length===0),!0),m.dispatch(me(t,e,l)),()=>m.dispatch(fe(t,e,l))});let Z=kt(0);const Wt=J(()=>u().status==="exited"&&u().exitCode!=null&&u().exitCode!==0&&u().exitCode<128);function zt(){if(!E||i)return;V=new he(E);const t=V.getCurrentTheme();i=new ye({allowProposedApi:!0,fontFamily:w(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),i.attachCustomKeyEventHandler(a=>{const s=a.metaKey||a.ctrlKey;return!(s&&a.key==="`"||s&&a.key==="j"||s&&a.key==="k")}),H=new Se,i.loadAddon(H);const e=new ke((a,s)=>{try{const l=new URL(s);l.hostname==="localhost"||l.hostname==="127.0.0.1"?Ce(s).then(g=>{se(async()=>{const{getPanelLayoutManager:k}=await import("./VVSQHNmC.js").then(A=>A.p);return{getPanelLayoutManager:k}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url).then(({getPanelLayoutManager:k})=>{k(b()).openBrowserPanel(g.url,void 0,void 0,g.requestedUrl)}).catch(()=>{window.open(g.url,"_blank")})}):window.open(s,"_blank")}catch{window.open(s,"_blank")}});i.loadAddon(e),i.open(E),V.applyTheme(i),X=requestAnimationFrame(()=>{X=null,H?.fit()}),Y=new ResizeObserver(()=>{H?.fit()}),Y.observe(E),jt()}function jt(){if(!i)return;const t=At.select(m.state,b(),$());t.chunks.length>0&&i.write(t.chunks.map(e=>e.text).join("")),G(Z,t.dropped+t.chunks.length)}function _t(){M!==null&&(cancelAnimationFrame(M),M=null),X!==null&&(cancelAnimationFrame(X),X=null),Y?.disconnect(),Y=null,V?.dispose(),V=null;const t=i;i=null,H=null,G(Z,0),t&&xe(t)}C(()=>{const t=v(),e=yt(()=>F(Z)),a=t.dropped+t.chunks.length;if(!i||a<=e)return;const s=Math.max(e-t.dropped,0);i.write(t.chunks.slice(s).map(l=>l.text).join("")),G(Z,a)}),C(()=>{const t=w();i&&i.options.fontFamily!==t&&(i.options.fontFamily=t)});function Ut(){F(pt)||m.dispatch(_e(b(),$()))}function Ht(){if(!b()){rt.error(n.terminal_scriptOutput_noWorkspace_error());return}m.dispatch(be(b(),$(),z()?.text,ft))}C(()=>{u().status==="idle"&&v().chunks.length===0&&_t()}),C(()=>{!(u().status==="idle"&&v().chunks.length===0)&&E&&!i&&(M!==null&&cancelAnimationFrame(M),M=requestAnimationFrame(()=>{M=null,zt()}))}),ie(()=>{_t()});var Vt={get scriptId(){return $()},set scriptId(t){$(t),Q()},get workspaceId(){return b()},set workspaceId(t){b(t),Q()},get class(){return st()},set class(t=""){st(t),Q()},get runDisabled(){return at()},set runDisabled(t=!1){at(t),Q()},get runDisabledReason(){return T()},set runDisabledReason(t=null){T(t),Q()},$set:te,$on:(t,e)=>re(c,t,e)},tt=je(),vt=O(tt);{var Xt=t=>{var e=Be(),a=O(e),s=O(a),l=O(s);ct(l,{get icon(){return we},size:"xs"}),D(s);var g=p(s,2),k=R(g,!0);D(a);var A=p(a,2);{var d=r=>{$t(r,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:Ht,children:(o,S)=>{var P=Dt(),K=St(P);ct(K,{get icon(){return Ae},size:"sm",class:"mr-1.5"});var et=p(K);x(ot=>h(et,` ${ot??""}`),[()=>n.terminal_scriptOutput_askAiToFix_label()]),f(o,P)},$$slots:{default:!0}})};I(A,r=>{Rt()||r(d)})}D(e),x(r=>h(k,r),[()=>n.terminal_scriptOutput_buildFailed_label({exitCode:u().exitCode??0})]),f(t,e)};I(vt,t=>{F(Wt)&&t(Xt)})}var bt=p(vt,2);{var Kt=t=>{var e=Ee(),a=O(e),s=R(a,!0),l=p(a,2),g=R(l,!0),k=p(l,2);{var A=r=>{var o=Te();let S;var P=R(o,!0);x(()=>{S=le(o,"",S,{"font-family":w()}),h(P,z().text)}),f(r,o)},d=r=>{var o=qe(),S=R(o,!0);x(P=>h(S,P),[()=>z().status==="loading"?n.terminal_scriptOutput_retainedLoading_label():n.terminal_scriptOutput_retainedUnavailable_label()]),f(r,o)};I(k,r=>{z().status==="available"?r(A):r(d,-1)})}D(e),x((r,o)=>{h(s,r),h(g,o)},[()=>n.terminal_scriptOutput_retained_label(),()=>n.terminal_scriptOutput_retained_description()]),de("open","toggle",e,r=>G(nt,r),()=>F(nt)),f(t,e)};I(bt,t=>{z()&&t(Kt)})}var gt=p(bt,2);{var Nt=t=>{var e=Me(),a=R(e,!0);x(s=>h(a,s),[()=>n.terminal_scriptOutput_live_label()]),f(t,e)};I(gt,t=>{v().chunks.length>0&&z()&&t(Nt)})}var xt=p(gt,2);{var Gt=t=>{var e=ze(),a=O(e),s=p(O(a),2);{var l=d=>{var r=Pe(),o=R(r,!0);x(S=>h(o,S),[()=>ve(dt())]),f(d,r)};I(s,d=>{dt()&&d(l)})}var g=p(s,2);{let d=J(()=>T()??void 0),r=J(()=>n.terminal_scriptOutput_run_label()),o=J(()=>T()?j:void 0);$t(g,{variant:"ghost",size:"xs",get disabled(){return F(pt)},get tooltip(){return F(d)},get"aria-label"(){return F(r)},get"aria-describedby"(){return F(o)},onclick:Ut,class:"text-muted-foreground hover:text-foreground",children:(S,P)=>{var K=Dt(),et=St(K);ct(et,{get icon(){return $e},class:"h-3 w-3 mr-1"});var ot=p(et);x(Yt=>h(ot,` ${Yt??""}`),[()=>n.terminal_scriptOutput_run_label()]),f(S,K)},$$slots:{default:!0}})}var k=p(g,2);{var A=d=>{var r=We(),o=R(r,!0);x(()=>{ce(r,"id",j),h(o,T())}),f(d,r)};I(k,d=>{T()&&d(A)})}D(a),D(e),f(t,e)};I(xt,t=>{u().status==="idle"&&v().chunks.length===0&&t(Gt)})}var it=p(xt,2);let ht;var Jt=O(it);ue(Jt,t=>E=t,()=>E),D(it),D(tt),x(()=>{wt(tt,1,`script-output-viewer ${st()??""}`,"svelte-115p4sl"),ht=wt(it,1,"flex-1 relative overflow-hidden",null,ht,{hidden:u().status==="idle"&&v().chunks.length===0})}),f(_,tt);var Qt=oe(Vt);return It(),Qt}async function fr(_,c,j){const L=ut.select(m.state,_,c);if(!L||!j()||!Ct.select(m.state,_,c))return;const u=Ot(L.runtime?.status),v=Ft.select(m.state,_);if(!v){rt.error(n.workspace_client_accessChanged_error());return}if(!await Le({title:n.scripts_delete_title({name:L.name}),description:u?n.scripts_delete_running_description():n.scripts_delete_description(),confirmLabel:n.scripts_delete_label(),destructive:!0}))return;if(v!==Ft.select(m.state,_)){rt.error(n.workspace_client_accessChanged_error());return}const w=ut.select(m.state,_,c);if(!j()||!w||w.createdAt!==L.createdAt||w.name!==L.name||!u&&Ot(w.runtime?.status)||!Ct.select(m.state,_,c)){rt.error(n.scripts_delete_changed_error());return}m.dispatch(ge(_,c,n.terminal_quakeOverlay_deleteScriptFailed_error()))}export{Ue as S,fr as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aB as v,b as y}from"./
|
|
1
|
+
import{aB as v,b as y}from"./Bfi661u9.js";var w=5,O=1e-5,X=2,Y=.6,R=1e-6;function N(t){const e=[];for(let s=0;s<t.length-1;s++)e.push({a:t[s],b:t[s+1]});return e}y(N,"buildSegmentList");function T(t,e,s,a){const r=e.x-t.x,o=e.y-t.y,i=a.x-s.x,d=a.y-s.y,u=r*d-o*i;if(u===0)return null;const n=s.x-t.x,c=s.y-t.y,p=(n*d-c*i)/u,f=(n*o-c*r)/u;return p<=R||p>=1-R||f<=R||f>=1-R?null:{point:{x:t.x+p*r,y:t.y+p*o},tA:p,tB:f}}y(T,"segmentIntersection");function P(t){return Math.abs(t.b.x-t.a.x)>=Math.abs(t.b.y-t.a.y)}y(P,"isHorizontalSeg");function B(t,e,s){if(t.curve!=="rounded")return!1;const a=t.points,r=a[e],o=a[e+1];if(!r||!o)return!1;const i=Math.hypot(o.x-r.x,o.y-r.y),d=s*i,u=e>0?L(a[e-1],r,o,w):null;if(u&&d<u.cutLen)return!0;const n=e+2<a.length?L(r,o,a[e+2],w):null;return n!==null&&i-d<n.cutLen}y(B,"crossingSitsInRoundedCorner");function C(t){const e=[];for(let s=0;s<t.length;s++){const a=t[s],r=N(a.points);for(let o=s+1;o<t.length;o++){const i=t[o],d=N(i.points);for(const[u,n]of r.entries())for(const[c,p]of d.entries()){const f=T(n.a,n.b,p.a,p.b);if(!f||B(a,u,f.tA)||B(i,c,f.tB))continue;const g=P(n),S=P(p);(g!==S?g:!1)?e.push({jumpEdgeId:a.id,otherEdgeId:i.id,segIndex:u,t:f.tA,point:f.point}):e.push({jumpEdgeId:i.id,otherEdgeId:a.id,segIndex:c,t:f.tB,point:f.point})}}}return e}y(C,"findEdgeIntersections");function M(t){const e=Math.round(t*1e3)/1e3;return Number.isInteger(e)?`${e}`:`${e}`}y(M,"fmt");function A(t){return`${M(t.x)},${M(t.y)}`}y(A,"pointToString");function D(t){const e=t.b.x-t.a.x,s=t.b.y-t.a.y;return Math.abs(e)>=Math.abs(s)?e>=0?1:0:s>=0?1:0}y(D,"getArcSweepFlag");function _(t,e){if(t.length<2)return t.map(o=>({...o}));const s=t.map(o=>({...o})),a=e.arrowTypeStart&&v[e.arrowTypeStart];if(a){const o=t[0],i=t[1],d=Math.atan2(i.y-o.y,i.x-o.x);s[0].x=o.x+a*Math.cos(d),s[0].y=o.y+a*Math.sin(d)}const r=e.arrowTypeEnd&&v[e.arrowTypeEnd];if(r){const o=t.length,i=t[o-2],d=t[o-1],u=Math.atan2(d.y-i.y,d.x-i.x);s[o-1].x=d.x-r*Math.cos(u),s[o-1].y=d.y-r*Math.sin(u)}return s}y(_,"applyMarkerOffsets");function k(t,e,s,a,r){const o=t.point.x,i=t.point.y,d={x:o-e*t.r,y:i-s*t.r},u={x:o+e*t.r,y:i+s*t.r},n=[`L${A(d)}`];return r==="arc"?n.push(`A${M(t.r)},${M(t.r)} 0 0 ${a} ${A(u)}`):n.push(`M${A(u)}`),n}y(k,"emitJump");function L(t,e,s,a){const r=e.x-t.x,o=e.y-t.y,i=s.x-e.x,d=s.y-e.y,u=Math.hypot(r,o),n=Math.hypot(i,d);if(u<O||n<O)return null;const c=r/u,p=o/u,f=i/n,g=d/n,S=c*f+p*g,b=Math.max(-1,Math.min(1,S)),m=Math.acos(b);if(m<O||Math.abs(Math.PI-m)<O)return null;const h=Math.min(a/Math.sin(m/2),u/2,n/2);return{startX:e.x-c*h,startY:e.y-p*h,endX:e.x+f*h,endY:e.y+g*h,ctrlX:e.x,ctrlY:e.y,cutLen:h}}y(L,"computeRoundedCorner");function H(t,e,s){const a=t.points;if(a.length<2)return"";const r=_(a,t),o=t.curve==="rounded",i=N(r),d=new Map;for(const n of e){const c=i[n.segIndex];if(!c)continue;const p=Math.hypot(c.b.x-c.a.x,c.b.y-c.a.y),f=d.get(n.segIndex)??[];f.push({t:n.t,point:n.point,d:n.t*p,r:s.jumpRadius}),d.set(n.segIndex,f)}const u=[`M${A(r[0])}`];for(let n=0;n<i.length;n++){const c=i[n],p=Math.hypot(c.b.x-c.a.x,c.b.y-c.a.y),f=p===0?0:(c.b.x-c.a.x)/p,g=p===0?0:(c.b.y-c.a.y)/p,S=D(c);let b=0;if(o&&n>0){const l=L(r[n-1],r[n],r[n+1]??r[n],w);l&&(b=l.cutLen)}let m=p,h=null;o&&n<i.length-1&&(h=L(r[n],r[n+1],r[n+2]??r[n+1],w),h&&(m=p-h.cutLen));const $=s.jumpRadius*Y,x=[...d.get(n)??[]].sort((l,E)=>l.t-E.t).filter(l=>{const E=Math.min(l.d-b,m-l.d)-X;return l.r=Math.min(l.r,E),l.r>=$});for(let l=0;l<x.length-1;l++){const E=x[l+1].d-x[l].d;if(x[l].r+x[l+1].r>E){const I=E/2;x[l].r=Math.min(x[l].r,I),x[l+1].r=Math.min(x[l+1].r,I)}}for(const l of x)l.r<$||u.push(...k(l,f,g,S,s.jumpStyle));o&&h?(u.push(`L${M(h.startX)},${M(h.startY)}`),u.push(`Q${M(h.ctrlX)},${M(h.ctrlY)} ${M(h.endX)},${M(h.endY)}`)):u.push(`L${A(c.b)}`)}return u.join(" ")}y(H,"rewriteEdgePath");function J(t){return/^[\d\s+,.LMelm-]*$/.test(t)}y(J,"isStraightPath");function U(t){return t?t==="linear"||t==="rounded"||t==="step"||t==="stepBefore"||t==="stepAfter":!0}y(U,"curveSupportsLineHops");function j(t){if(!t)return null;try{const e=typeof atob=="function"?atob(t):Buffer.from(t,"base64").toString(),s=JSON.parse(e);if(!Array.isArray(s))return null;const a=[];for(const r of s)r&&typeof r.x=="number"&&typeof r.y=="number"&&a.push({x:r.x,y:r.y});return a.length>=2?a:null}catch{return null}}y(j,"decodeDataPoints");function F(t,e,s){if(!s.enabled)return;const a=t.node();if(!a)return;const r=new Map;for(const n of e)r.set(n.id,n);const o=new Map;for(const n of a.querySelectorAll("path[data-id]")){const c=n.getAttribute("data-id");c!==null&&!o.has(c)&&o.set(c,n)}const i=[];for(const n of e){const c=o.get(n.id);if(!c)continue;const f=j(c.getAttribute("data-points"))??n.points;i.push({...n,points:f})}const d=C(i);if(d.length===0)return;const u=new Map;for(const n of d){const c=u.get(n.jumpEdgeId)??[];c.push(n),u.set(n.jumpEdgeId,c)}for(const n of i){const c=u.get(n.id);if(!c||c.length===0)continue;const f=r.get(n.id)?.curve;if(f!==void 0&&!U(f))continue;const g=o.get(n.id);if(!g)continue;if(f===void 0){const x=g.getAttribute("d")??"";if(!J(x))continue}const S=g.getAttribute("style")??"",b=/stroke-dasharray\s*:\s*0\s+([\d.]+)\s+[\d.]+\s+([\d.]+)/.exec(S),m=b?Number.parseFloat(b[1]):null,h=b?Number.parseFloat(b[2]):null,$=H(n,c,s);if(g.setAttribute("d",$),m!==null&&h!==null&&typeof g.getTotalLength=="function"){const x=g.getTotalLength(),l=Math.max(0,x-m-h),E=`0 ${m} ${l} ${h}`,I=S.replace(/stroke-dasharray\s*:[^;]*;?/g,`stroke-dasharray: ${E};`).replace(/;\s*;+/g,";");g.setAttribute("style",I)}}}y(F,"applyLineJumpsToSvg");export{F as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as z,bq as n,by as D,br as E,b as F}from"./
|
|
1
|
+
import{t as z,bq as n,by as D,br as E,b as F}from"./BKW86yq_.js";import{bs as G,a5 as s,bS as g,bA as i,W as d,bn as I,aA as o,aB as v}from"./DYhIMPy1.js";import{i as p}from"./CSelYXXo.js";import{s as c}from"./D9WJ9yaW.js";import{b as J,e as K}from"./Bs7Hg6Iw.js";var L=new Set(["$$slots","$$events","$$legacy","title","description","counter","leading","actions","class"]),M=v('<div class="flex shrink-0 items-center"><!></div>'),O=v('<div data-slot="screen-header-counter" class="type-caption mb-1 text-muted-foreground"><!></div>'),Q=v('<div data-slot="screen-header-description" class="mt-1 text-sm text-muted-foreground"><!></div>'),R=v('<div data-slot="screen-header-actions" class="flex shrink-0 items-center gap-1"><!></div>'),T=v('<header><!> <div class="min-w-0 flex-1"><!> <div data-slot="screen-header-title" class="min-w-0"><!></div> <!></div> <!></header>');function U(w,a){if(new.target)return z({component:U,...w});G(a,!0);let h=n(a,"title",7),l=n(a,"description",7),_=n(a,"counter",7),m=n(a,"leading",7),u=n(a,"actions",7),b=n(a,"class",7),A=E(a,L);var C={get title(){return h()},set title(e){h(e),o()},get description(){return l()},set description(e){l(e),o()},get counter(){return _()},set counter(e){_(e),o()},get leading(){return m()},set leading(e){m(e),o()},get actions(){return u()},set actions(e){u(e),o()},get class(){return b()},set class(e){b(e),o()},$set:D,$on:(e,t)=>F(a,e,t)},f=T();J(f,e=>({"data-slot":"screen-header",class:e,...A}),[()=>K("flex min-w-0 shrink-0 items-start gap-3 px-5 pt-5",b())]);var S=s(f);{var q=e=>{var t=M(),r=s(t);c(r,m),i(t),d(e,t)};p(S,e=>{m()&&e(q)})}var x=g(S,2),k=s(x);{var B=e=>{var t=O(),r=s(t);c(r,_),i(t),d(e,t)};p(k,e=>{_()&&e(B)})}var y=g(k,2),H=s(y);c(H,h),i(y);var N=g(y,2);{var P=e=>{var t=Q(),r=s(t);c(r,l),i(t),d(e,t)};p(N,e=>{l()&&e(P)})}i(x);var W=g(x,2);{var j=e=>{var t=R(),r=s(t);c(r,u),i(t),d(e,t)};p(W,e=>{u()&&e(j)})}return i(f),d(w,f),I(C)}export{U as S};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as t,s as r}from"./
|
|
1
|
+
import{c as t,s as r}from"./DTTdoBjw.js";import{b as a}from"./Bfi661u9.js";var s=a(e=>`${r(e)}
|
|
2
2
|
.swimlane.cluster:not([data-color-id]) rect {
|
|
3
3
|
stroke: ${e.clusterBorder} !important;
|
|
4
4
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as t}from"./YqTahsxp.js";import{Iz as r}from"./C4xNNtUj.js";import{bT as o}from"./BtwtItRa.js";function a(e){return!e||t().status!=="connected"?null:o.select(r.state,e)}export{a as resolveConnectedWorkspaceKeySlot};
|