@intent-hq/web 2.317.0 → 2.317.2
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/{D2MdcX20.js → -oBRwUwo.js} +1 -1
- package/web/app/immutable/chunks/{1MM4WffX.js → -pQB0SQC.js} +1 -1
- package/web/app/immutable/chunks/{cf1Brjzn.js → 0gFz0POF.js} +1 -1
- package/web/app/immutable/chunks/{gUC3lRBd.js → 1HLMWEVR.js} +3 -3
- package/web/app/immutable/chunks/{DljOzx1o.js → 2qAiupor.js} +1 -1
- package/web/app/immutable/chunks/{GOcCF0xv.js → 3ABUvTUz.js} +1 -1
- package/web/app/immutable/chunks/{C_xALoSF.js → 4UMD9xsX.js} +1 -1
- package/web/app/immutable/chunks/{Bys31tzi.js → 4gTuF-Ct.js} +1 -1
- package/web/app/immutable/chunks/{BlGpoHuO.js → 51i2b0Zy.js} +4 -4
- package/web/app/immutable/chunks/{avnay2CS.js → 5FkB6ttu.js} +1 -1
- package/web/app/immutable/chunks/{2sa8qIAB.js → 5s1JeAQX.js} +1 -1
- package/web/app/immutable/chunks/{WDQu-iPa.js → 70jzMwhc.js} +1 -1
- package/web/app/immutable/chunks/{DmgwTJaD.js → 7LP4OqPX.js} +1 -1
- package/web/app/immutable/chunks/AZ_GDgFb.js +1 -0
- package/web/app/immutable/chunks/{C2_aeUYM.js → B-7x7ULv.js} +1 -1
- package/web/app/immutable/chunks/{Ch6n50QZ.js → B-yP-PGc.js} +1 -1
- package/web/app/immutable/chunks/{BAcscHZ9.js → B0ViTaXX.js} +1 -1
- package/web/app/immutable/chunks/{CYX6S8VK.js → B19l4IVQ.js} +1 -1
- package/web/app/immutable/chunks/{DM0CXxx0.js → B1JwdW4Q.js} +1 -1
- package/web/app/immutable/chunks/{h1OZX-ME.js → B3DLTfYH.js} +1 -1
- package/web/app/immutable/chunks/{CFe8-T5F.js → B4pMa2Ff.js} +1 -1
- package/web/app/immutable/chunks/{CO_zjcSy.js → B5U_Qd5T.js} +1 -1
- package/web/app/immutable/chunks/{NSkm34Jv.js → B8MMU67d.js} +1 -1
- package/web/app/immutable/chunks/{B1NJ5pzL.js → B9pc_pKk.js} +3 -3
- package/web/app/immutable/chunks/{DgYP6-Ts.js → BDRH2dQc.js} +1 -1
- package/web/app/immutable/chunks/{DLnrKStT.js → BDe_nklR.js} +1 -1
- package/web/app/immutable/chunks/{C4Z1vjzd.js → BFCJosLD.js} +1 -1
- package/web/app/immutable/chunks/{BqkqHfzf.js → BH-KJlp3.js} +1 -1
- package/web/app/immutable/chunks/{BGl5gjhT.js → BJw5wnOV.js} +1 -1
- package/web/app/immutable/chunks/{DKZU30Gj.js → BKE1GgFG.js} +1 -1
- package/web/app/immutable/chunks/{WU5yHhJ9.js → BLbOCNKp.js} +1 -1
- package/web/app/immutable/chunks/{DMQUXENv.js → BPiLsEn1.js} +2 -2
- package/web/app/immutable/chunks/{DbZ_zQlq.js → BQ4SUKhz.js} +1 -1
- package/web/app/immutable/chunks/{CW0E9xqo.js → BQpiQojj.js} +1 -1
- package/web/app/immutable/chunks/{MTqrPgXh.js → BRpw_Wa2.js} +1 -1
- package/web/app/immutable/chunks/{COtDauzr.js → BSi1rsrO.js} +1 -1
- package/web/app/immutable/chunks/{yLCQj9vq.js → BTtki0b6.js} +1 -1
- package/web/app/immutable/chunks/{Cl0jxY31.js → BUjUgUAA.js} +1 -1
- package/web/app/immutable/chunks/{DroMvY3m.js → BUz6aP3C.js} +3 -3
- package/web/app/immutable/chunks/{CPv5PsAl.js → BWj5RUp1.js} +1 -1
- package/web/app/immutable/chunks/{DcDUL2lD.js → BXrsorfX.js} +1 -1
- package/web/app/immutable/chunks/{CmwCaFMB.js → BXyOJh3J.js} +2 -2
- package/web/app/immutable/chunks/{78ciQIXP.js → BZ0Iewxk.js} +1 -1
- package/web/app/immutable/chunks/{BNdZ_9uw.js → BZ3_6s6_.js} +1 -1
- package/web/app/immutable/chunks/{DEXbUvgl.js → BZypROSK.js} +1 -1
- package/web/app/immutable/chunks/{DcSgegeE.js → B_-M_Rk1.js} +4 -4
- package/web/app/immutable/chunks/{DmMf-gSU.js → BcHWqFY-.js} +1 -1
- package/web/app/immutable/chunks/Bd8Du0Fd.js +1 -0
- package/web/app/immutable/chunks/{DvnqGv6n.js → Be5Er9P3.js} +1 -1
- package/web/app/immutable/chunks/{H_E0v0IH.js → BeTxGqXI.js} +3 -3
- package/web/app/immutable/chunks/{D21siGJn.js → BefL-1js.js} +3 -3
- package/web/app/immutable/chunks/{Bv5S3aez.js → Beo1BUT8.js} +3 -3
- package/web/app/immutable/chunks/{XJFhLiIT.js → Bho7eqFf.js} +1 -1
- package/web/app/immutable/chunks/{CGvw_v2X.js → BmwCvXG3.js} +1 -1
- package/web/app/immutable/chunks/{CYZanEy-.js → BoC-gLSw.js} +1 -1
- package/web/app/immutable/chunks/{BTUdYLJq.js → BpkV1q6g.js} +1 -1
- package/web/app/immutable/chunks/BqI9uavK.js +2 -0
- package/web/app/immutable/chunks/{L-gnvTJU.js → Brobdake.js} +1 -1
- package/web/app/immutable/chunks/{Cz7C_97W.js → Bscf_BG7.js} +1 -1
- package/web/app/immutable/chunks/{D9I5kjGH.js → BtgBL_Zs.js} +1 -1
- package/web/app/immutable/chunks/{C4Go0ZUc.js → BuPHrdQM.js} +1 -1
- package/web/app/immutable/chunks/{Bo8ZBCqJ.js → BvdQxsGv.js} +1 -1
- package/web/app/immutable/chunks/{CbFHvbCz.js → Bya-ggU-.js} +1 -1
- package/web/app/immutable/chunks/{DdCI35A_.js → BypSPjBC.js} +26 -26
- package/web/app/immutable/chunks/{3FY3HcmJ.js → C-QwlfDr.js} +1 -1
- package/web/app/immutable/chunks/{D5EAAcY_.js → C-e-yd98.js} +1 -1
- package/web/app/immutable/chunks/{37Ot8ebN.js → C-eLL0ai.js} +1 -1
- package/web/app/immutable/chunks/{CW4Luigb.js → C-oQiQ3z.js} +4 -4
- package/web/app/immutable/chunks/{BYzPqnCf.js → C0dWqch7.js} +1 -1
- package/web/app/immutable/chunks/{C_dkWQA1.js → C1MXqCUp.js} +2 -2
- package/web/app/immutable/chunks/{e1GtcuZv.js → C1wi1pKa.js} +1 -1
- package/web/app/immutable/chunks/{C04pXnsd.js → C2gHzjc8.js} +1 -1
- package/web/app/immutable/chunks/{CMcSelvo.js → C3Sa4Adg.js} +1 -1
- package/web/app/immutable/chunks/{DCkl9dqS.js → C68vqe0o.js} +1 -1
- package/web/app/immutable/chunks/{DizHcyTH.js → C6o6HQ6t.js} +1 -1
- package/web/app/immutable/chunks/{B1L6cKI-.js → C7G5eU0Q.js} +1 -1
- package/web/app/immutable/chunks/{CBVy9_dl.js → C7vWSpiv.js} +1 -1
- package/web/app/immutable/chunks/{COZ2SNJx.js → C9abnHnH.js} +1 -1
- package/web/app/immutable/chunks/{Ja3gSQQ2.js → C9dseNmc.js} +1 -1
- package/web/app/immutable/chunks/C9sYEPAV.js +1 -0
- package/web/app/immutable/chunks/{DH5x-Yq6.js → CBMSMN2h.js} +1 -1
- package/web/app/immutable/chunks/{ssptyjur.js → CC1bGpw_.js} +1 -1
- package/web/app/immutable/chunks/{B47DviaX.js → CFgZJYqX.js} +1 -1
- package/web/app/immutable/chunks/{zUDGDDVj.js → CG4aq4mO.js} +1 -1
- package/web/app/immutable/chunks/CGE0UuGs.js +2 -0
- package/web/app/immutable/chunks/{CSakj4K5.js → CHKHRxNs.js} +1 -1
- package/web/app/immutable/chunks/{Bnw1c_hY.js → CJeg57-s.js} +1 -1
- package/web/app/immutable/chunks/{L_RZq0s4.js → CK4Yr90U.js} +1 -1
- package/web/app/immutable/chunks/{D_niS0o-.js → CNxs5gLd.js} +1 -1
- package/web/app/immutable/chunks/{BM3p7pnM.js → CRcCx-zt.js} +1 -1
- package/web/app/immutable/chunks/{Cekvr7WJ.js → CRs-kuPG.js} +1 -1
- package/web/app/immutable/chunks/{DTRBfwcm.js → CSxQeikv.js} +6 -6
- package/web/app/immutable/chunks/{D6ZAQOK2.js → CWbBNWZY.js} +1 -1
- package/web/app/immutable/chunks/{DP8Psy6A.js → CYGCz9Jd.js} +2 -2
- package/web/app/immutable/chunks/{Dh3jIeqa.js → CZdhGhqW.js} +1 -1
- package/web/app/immutable/chunks/{BH9Sx0uO.js → C_sy4_IS.js} +1 -1
- package/web/app/immutable/chunks/{CqveaVR5.js → CbwL0mcB.js} +1 -1
- package/web/app/immutable/chunks/{Dl2Egpks.js → CcKi_DP7.js} +1 -1
- package/web/app/immutable/chunks/{Cbrc9SCK.js → CdYIhP6H.js} +1 -1
- package/web/app/immutable/chunks/{BN2r45vo.js → CdwxdSGH.js} +1 -1
- package/web/app/immutable/chunks/{CnMPeQg8.js → CeqH6gGg.js} +1 -1
- package/web/app/immutable/chunks/{gFd3Neq8.js → Cg8ePZn3.js} +1 -1
- package/web/app/immutable/chunks/{sLJTRKQx.js → ChjNagFp.js} +1 -1
- package/web/app/immutable/chunks/{Cc639qSq.js → CiY5WTYK.js} +1 -1
- package/web/app/immutable/chunks/{UZKstsLl.js → CiohM4ZQ.js} +1 -1
- package/web/app/immutable/chunks/{C6eBXrOa.js → CisIj7pL.js} +1 -1
- package/web/app/immutable/chunks/{BZddI90c.js → CjMpc_Ln.js} +1 -1
- package/web/app/immutable/chunks/{BKF9zMkW.js → Cja4JOdS.js} +1 -1
- package/web/app/immutable/chunks/{CmBbNgSg.js → Cjl8Nti8.js} +1 -1
- package/web/app/immutable/chunks/{YaCrKYp7.js → CnURdtcx.js} +1 -1
- package/web/app/immutable/chunks/{DdGu-kox.js → CnqPz2zD.js} +1 -1
- package/web/app/immutable/chunks/{DOryYkjQ.js → CsZRWQFM.js} +1 -1
- package/web/app/immutable/chunks/{BH5bBEdq.js → CtUwk2M2.js} +1 -1
- package/web/app/immutable/chunks/{CxTpD-K5.js → Cwi8--0W.js} +1 -1
- package/web/app/immutable/chunks/CzXnFot6.js +1 -0
- package/web/app/immutable/chunks/{C_FwJcIF.js → D000Y3U2.js} +1 -1
- package/web/app/immutable/chunks/{PJ8z0v-B.js → D1WNxwkF.js} +1 -1
- package/web/app/immutable/chunks/D25d-Koj.js +1 -0
- package/web/app/immutable/chunks/{DIRuUXBx.js → D27--FO7.js} +1 -1
- package/web/app/immutable/chunks/{J6yrfnLz.js → D2CQaCZ1.js} +1 -1
- package/web/app/immutable/chunks/{D2MqWUlq.js → D2bBadyn.js} +1 -1
- package/web/app/immutable/chunks/{7srhf39r.js → D3Av1JMy.js} +3 -3
- package/web/app/immutable/chunks/{CBZcUhKz.js → D3Nrkkzz.js} +1 -1
- package/web/app/immutable/chunks/{CuUeXXzt.js → D4X9mCj-.js} +1 -1
- package/web/app/immutable/chunks/{DKwfCr3E.js → D4rfShJ_.js} +1 -1
- package/web/app/immutable/chunks/{DHAWV_GR.js → D5hnBZtr.js} +1 -1
- package/web/app/immutable/chunks/{BCzNrJEe.js → D6pC8C8o.js} +1 -1
- package/web/app/immutable/chunks/{BvB-t2O9.js → D7IWr17d.js} +1 -1
- package/web/app/immutable/chunks/{CERj1M8p.js → D8Imihe0.js} +1 -1
- package/web/app/immutable/chunks/{BccYWCmP.js → D9o0T9ir.js} +1 -1
- package/web/app/immutable/chunks/{W_RYksqv.js → DBaJKI7v.js} +1 -1
- package/web/app/immutable/chunks/{CfhDPr30.js → DBsrgEQY.js} +1 -1
- package/web/app/immutable/chunks/DC-9q6_j.js +4 -0
- package/web/app/immutable/chunks/{Ht2fgYKG.js → DDUX5dm3.js} +4 -4
- package/web/app/immutable/chunks/{CsbDr056.js → DFCtaoTZ.js} +2 -2
- package/web/app/immutable/chunks/{D-uj1csY.js → DHW0b2jP.js} +8 -8
- package/web/app/immutable/chunks/DJ6NhP2E.js +1 -0
- package/web/app/immutable/chunks/{DpuVuyCy.js → DKo_4wJv.js} +1 -1
- package/web/app/immutable/chunks/{D_-A7-a3.js → DKtu3kW5.js} +1 -1
- package/web/app/immutable/chunks/{BtWNHufE.js → DMQ6-OMm.js} +1 -1
- package/web/app/immutable/chunks/{DtiKniGk.js → DO9ueLS2.js} +1 -1
- package/web/app/immutable/chunks/{ODW3_QQQ.js → DOd57FMZ.js} +1 -1
- package/web/app/immutable/chunks/{BoF5X4p9.js → DQ2gC3bu.js} +1 -1
- package/web/app/immutable/chunks/{DPmIqgtZ.js → DUjKQudc.js} +3 -3
- package/web/app/immutable/chunks/{C5QU6wj-.js → DUxBQfgs.js} +1 -1
- package/web/app/immutable/chunks/{DXh7O-mG.js → DUyiOtrK.js} +1 -1
- package/web/app/immutable/chunks/{DpiTd0jU.js → DVfPvRIS.js} +1 -1
- package/web/app/immutable/chunks/{0T7sNxcZ.js → DX9fSZrc.js} +1 -1
- package/web/app/immutable/chunks/{DGZtqpTN.js → DYMvJtQy.js} +1 -1
- package/web/app/immutable/chunks/{Dv6NvIa-.js → DYZwkmyf.js} +1 -1
- package/web/app/immutable/chunks/{DKWOCcke.js → D_1oX83y.js} +2 -2
- package/web/app/immutable/chunks/{CJrxetkR.js → Dc-hoPaD.js} +1 -1
- package/web/app/immutable/chunks/{B9JhhaHF.js → Dc0z-1f1.js} +1 -1
- package/web/app/immutable/chunks/{Bco_b5Ku.js → Dd6RDWfk.js} +1 -1
- package/web/app/immutable/chunks/{DFuME8T0.js → DdOkmX2F.js} +1 -1
- package/web/app/immutable/chunks/{T3eo2phD.js → DdgOahmz.js} +1 -1
- package/web/app/immutable/chunks/{CgkAypA6.js → Df_KaPO2.js} +2 -2
- package/web/app/immutable/chunks/{Dn5ABN6W.js → DfcN0vl7.js} +1 -1
- package/web/app/immutable/chunks/{D4EWm27H.js → Dgw2Wjgi.js} +2 -2
- package/web/app/immutable/chunks/{DYuU0Arz.js → Dh8_IDIo.js} +1 -1
- package/web/app/immutable/chunks/{D-nAlgSv.js → DhRnAAAs.js} +1 -1
- package/web/app/immutable/chunks/{DBW7NNdL.js → DiOG4aSP.js} +1 -1
- package/web/app/immutable/chunks/{Cxf643iJ.js → DjKRH19J.js} +1 -1
- package/web/app/immutable/chunks/{BpeC_-MT.js → DjsRyxTd.js} +1 -1
- package/web/app/immutable/chunks/{DKQzovq-.js → DlL3hXg0.js} +2 -2
- package/web/app/immutable/chunks/{CzO9GGdp.js → DmU7vUKt.js} +2 -2
- package/web/app/immutable/chunks/{fiKabgyF.js → DppOK7dU.js} +1 -1
- package/web/app/immutable/chunks/{dyeihP5s.js → DpsivgKH.js} +1 -1
- package/web/app/immutable/chunks/{BM-JMWD0.js → DqsogpbZ.js} +1 -1
- package/web/app/immutable/chunks/{Dqjk8pvU.js → DrPG1fDs.js} +1 -1
- package/web/app/immutable/chunks/{BNLH5vU8.js → DsYVkI49.js} +1 -1
- package/web/app/immutable/chunks/{GcCPIK4y.js → DtMv5TQ8.js} +1 -1
- package/web/app/immutable/chunks/{CtnmDc5U.js → DugGE-AO.js} +1 -1
- package/web/app/immutable/chunks/{B7gGY21y.js → DvnkuohG.js} +1 -1
- package/web/app/immutable/chunks/{DeG2Ac-N.js → Dw27dq0-.js} +1 -1
- package/web/app/immutable/chunks/{pd-R-VJ_.js → DwBOVRcA.js} +1 -1
- package/web/app/immutable/chunks/{DpHVu4cd.js → DwZdimp9.js} +1 -1
- package/web/app/immutable/chunks/{DgikbYWH.js → DwqkyGAS.js} +1 -1
- package/web/app/immutable/chunks/{DD8iC1J4.js → FHutRMli.js} +1 -1
- package/web/app/immutable/chunks/{D2mMBmvL.js → FLKfalOo.js} +1 -1
- package/web/app/immutable/chunks/{Dho1VckI.js → FN5msAy_.js} +1 -1
- package/web/app/immutable/chunks/{CFY6lIZ1.js → GKBPqrFt.js} +1 -1
- package/web/app/immutable/chunks/{DvG_D_NN.js → HiFzG501.js} +1 -1
- package/web/app/immutable/chunks/{cDR744Wh.js → IxA57nJL.js} +1 -1
- package/web/app/immutable/chunks/{CJEarPic.js → JtPc08so.js} +1 -1
- package/web/app/immutable/chunks/{Cs4SXj6b.js → KTsXxUF5.js} +1 -1
- package/web/app/immutable/chunks/{T3vgYRzj.js → LPZkKDIt.js} +1 -1
- package/web/app/immutable/chunks/{Djcp6v1f.js → LbC7skPD.js} +1 -1
- package/web/app/immutable/chunks/{B-XDLOUH.js → MaU6O01C.js} +1 -1
- package/web/app/immutable/chunks/{KQXpZ8Ws.js → MzIeIzDc.js} +1 -1
- package/web/app/immutable/chunks/{CXMtFxok.js → NySn8Jgs.js} +1 -1
- package/web/app/immutable/chunks/{POMSQzHT.js → OXAE4Y56.js} +1 -1
- package/web/app/immutable/chunks/{YhsLhIAa.js → PnruPu-v.js} +1 -1
- package/web/app/immutable/chunks/{DOBsmdO0.js → S75JqWQs.js} +1 -1
- package/web/app/immutable/chunks/{ChfKK8O6.js → SN7QywhL.js} +1 -1
- package/web/app/immutable/chunks/{C3YdXEWZ.js → W27HQR6z.js} +1 -1
- package/web/app/immutable/chunks/{BcDs9dVa.js → Y2IQMTgy.js} +1 -1
- package/web/app/immutable/chunks/{DRji3Jgq.js → ZOX3f8YP.js} +1 -1
- package/web/app/immutable/chunks/{DxgBueKf.js → ZqQeKane.js} +1 -1
- package/web/app/immutable/chunks/{Bsy8wJg4.js → aNsVO8E4.js} +1 -1
- package/web/app/immutable/chunks/d1VpYuEe.js +4 -0
- package/web/app/immutable/chunks/{BXf-4olS.js → dkrfHkms.js} +1 -1
- package/web/app/immutable/chunks/{Cpq9N-cZ.js → gGle0ySs.js} +1 -1
- package/web/app/immutable/chunks/{aAnKrNHf.js → geGZi_w1.js} +1 -1
- package/web/app/immutable/chunks/{Chdzh45_.js → iWHbHYgP.js} +1 -1
- package/web/app/immutable/chunks/{POr_IUHX.js → ibhfo-VE.js} +1 -1
- package/web/app/immutable/chunks/{-Nlmdtho.js → jWThE6-J.js} +1 -1
- package/web/app/immutable/chunks/{DwuWRler.js → jiHQQ6wA.js} +1 -1
- package/web/app/immutable/chunks/{C1Dz1Ew8.js → jlIjptN1.js} +1 -1
- package/web/app/immutable/chunks/{BrQZ2Dsu.js → keABhBJs.js} +1 -1
- package/web/app/immutable/chunks/{cDMR84sh.js → ldht3A_H.js} +1 -1
- package/web/app/immutable/chunks/{7nZxhE5n.js → m5qFicCP.js} +1 -1
- package/web/app/immutable/chunks/{BgIOCdbx.js → n5756WrC.js} +1 -1
- package/web/app/immutable/chunks/{B9eFBnbu.js → nGdwLZhF.js} +1 -1
- package/web/app/immutable/chunks/{jjBmKMM6.js → nHpG5p0C.js} +1 -1
- package/web/app/immutable/chunks/{TfyyLY4T.js → o0LuLePs.js} +1 -1
- package/web/app/immutable/chunks/{DAW5vHcX.js → o17TbegD.js} +1 -1
- package/web/app/immutable/chunks/{BB-0D-f1.js → oxPAVHuu.js} +1 -1
- package/web/app/immutable/chunks/{CQbqgij-.js → pj4mR3lP.js} +1 -1
- package/web/app/immutable/chunks/{zXad5N8i.js → r-K_cVbp.js} +1 -1
- package/web/app/immutable/chunks/{2_ode0S7.js → rEk7AsyC.js} +1 -1
- package/web/app/immutable/chunks/{cmyT5Ste.js → rU5MX2nQ.js} +1 -1
- package/web/app/immutable/chunks/{DAMO7X4u.js → uYanh5GD.js} +1 -1
- package/web/app/immutable/chunks/{b6em44WJ.js → uxlSCqIr.js} +1 -1
- package/web/app/immutable/chunks/{CsfdLqAC.js → vsaQBZyB.js} +1 -1
- package/web/app/immutable/chunks/{K2dbGfSN.js → wprVZZpe.js} +1 -1
- package/web/app/immutable/chunks/{BEmgVD15.js → x2wsoUAP.js} +1 -1
- package/web/app/immutable/chunks/{AgeRGt9n.js → z4Ol2X5C.js} +1 -1
- package/web/app/immutable/entry/{app.IKpMMA4c.js → app.CjL_ESb3.js} +3 -3
- package/web/app/immutable/entry/start.DVcgL5VV.js +1 -0
- package/web/app/immutable/nodes/{0.pdrjpoDI.js → 0.u-mqmdJF.js} +1 -1
- package/web/app/immutable/nodes/{1.BA6cXWWv.js → 1.CWA4VVhg.js} +1 -1
- package/web/app/immutable/nodes/{10.1sUbjlmF.js → 10.COfYFCM4.js} +1 -1
- package/web/app/immutable/nodes/{11.CEkVMeXp.js → 11.CpSfU1GN.js} +1 -1
- package/web/app/immutable/nodes/{12.DeIYVacr.js → 12.RwHtMfg8.js} +1 -1
- package/web/app/immutable/nodes/{13.DVLyn8WD.js → 13.CGls5oXL.js} +3 -3
- package/web/app/immutable/nodes/{14.C_i1Czx9.js → 14.Dd42XRi5.js} +1 -1
- package/web/app/immutable/nodes/{15.7M_vr67p.js → 15.B6VjCrjj.js} +1 -1
- package/web/app/immutable/nodes/{16.3WccacnP.js → 16.CucYoMvi.js} +2 -2
- package/web/app/immutable/nodes/{2.Ddjtp5Dx.js → 2.Ccc1TwNU.js} +4 -4
- package/web/app/immutable/nodes/{3.CFJOautq.js → 3.Ce2k2EUY.js} +1 -1
- package/web/app/immutable/nodes/{4.D_TbMI2Z.js → 4.m_i1ZxYH.js} +1 -1
- package/web/app/immutable/nodes/{5.DjSN4aAb.js → 5.BzAilpoC.js} +2 -2
- package/web/app/immutable/nodes/{6.BHOPCP8I.js → 6.C9ZiA6w4.js} +1 -1
- package/web/app/immutable/nodes/{7.BxX4NXTv.js → 7.t5Jghx_n.js} +1 -1
- package/web/app/immutable/nodes/{8.gIY5eOtx.js → 8.aKcaX52l.js} +9 -9
- package/web/app/immutable/nodes/{9.DmagtOOH.js → 9.DeLiPEkd.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +45 -45
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/6zh_liBN.js +0 -1
- package/web/app/immutable/chunks/CZMDLdIA.js +0 -2
- package/web/app/immutable/chunks/C_NaHwAa.js +0 -4
- package/web/app/immutable/chunks/CruGdHPf.js +0 -4
- package/web/app/immutable/chunks/DcU8FJ67.js +0 -1
- package/web/app/immutable/chunks/Df8cCnvS.js +0 -1
- package/web/app/immutable/chunks/Dn5Nqyl8.js +0 -1
- package/web/app/immutable/chunks/Ds1KbjtE.js +0 -2
- package/web/app/immutable/chunks/JsVsuvN3.js +0 -1
- package/web/app/immutable/chunks/pqe4mxuk.js +0 -1
- package/web/app/immutable/entry/start.BVs3dcNA.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var nt=t=>{throw TypeError(t)};var st=(t,r,e)=>r.has(t)||nt("Cannot "+e);var m=(t,r,e)=>(st(t,r,"read from private field"),e?e.call(t):r.get(t)),T=(t,r,e)=>r.has(t)?nt("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(t):r.set(t,e),C=(t,r,e,n)=>(st(t,r,"write to private field"),n?n.call(t,e):r.set(t,e),e);import{O as lt,bR as _t,l as wt,B as Tt,R as Ct,as as Ft,c5 as mt,T as Nt,b1 as kt,bt as ot,bf as R,cc as ht,K as xt,M as St,bV as it,ao as gt,bY as at,by as Ot,bH as B,aD as ct,cd as At,aE as ut,c2 as Et}from"./DYhIMPy1.js";import{j as P}from"./
|
|
1
|
+
var nt=t=>{throw TypeError(t)};var st=(t,r,e)=>r.has(t)||nt("Cannot "+e);var m=(t,r,e)=>(st(t,r,"read from private field"),e?e.call(t):r.get(t)),T=(t,r,e)=>r.has(t)?nt("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(t):r.set(t,e),C=(t,r,e,n)=>(st(t,r,"write to private field"),n?n.call(t,e):r.set(t,e),e);import{O as lt,bR as _t,l as wt,B as Tt,R as Ct,as as Ft,c5 as mt,T as Nt,b1 as kt,bt as ot,bf as R,cc as ht,K as xt,M as St,bV as it,ao as gt,bY as at,by as Ot,bH as B,aD as ct,cd as At,aE as ut,c2 as Et}from"./DYhIMPy1.js";import{j as P}from"./jiHQQ6wA.js";import{f as Mt,k as Rt}from"./DBaJKI7v.js";const Dt=()=>performance.now(),$={tick:t=>requestAnimationFrame(t),now:()=>Dt(),tasks:new Set};function yt(){const t=$.now();$.tasks.forEach(r=>{r.c(t)||($.tasks.delete(r),r.f())}),$.tasks.size!==0&&$.tick(yt)}function K(t){let r;return $.tasks.size===0&&$.tick(yt),{promise:new Promise(e=>{$.tasks.add(r={c:t,f:e})}),abort(){$.tasks.delete(r)}}}function L(t,r){ht(()=>{t.dispatchEvent(new CustomEvent(r))})}function It(t){if(t==="float")return"cssFloat";if(t==="offset")return"cssOffset";if(t.startsWith("--"))return t;const r=t.split("-");return r.length===1?r[0]:r[0]+r.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}function ft(t){const r={},e=t.split(";");for(const n of e){const[o,s]=n.split(":");if(!o||s===void 0)break;const i=It(o.trim());r[i]=s.trim()}return r}const Pt=t=>t;let bt=null;function Xt(t){bt=t}function Zt(t,r,e){var n=bt??lt,o=n.nodes,s,i,a,c=null;o.a??={element:t,measure(){s=this.element.getBoundingClientRect()},apply(){if(a?.abort(),i=this.element.getBoundingClientRect(),s.left!==i.left||s.right!==i.right||s.top!==i.top||s.bottom!==i.bottom){const u=r()(this.element,{from:s,to:i},e?.());a=V(this.element,u,void 0,1,()=>{},()=>{a?.abort(),a=void 0})}},fix(){if(!t.getAnimations().length){var{position:u,width:f,height:l}=getComputedStyle(t);if(u!=="absolute"&&u!=="fixed"){var d=t.style;c={position:d.position,width:d.width,height:d.height,transform:d.transform},d.position="absolute",d.width=f,d.height=l;var p=t.getBoundingClientRect();if(s.left!==p.left||s.top!==p.top){var g=`translate(${s.left-p.left}px, ${s.top-p.top}px)`;d.transform=d.transform?`${d.transform} ${g}`:g}}}},unfix(){if(c){var u=t.style;u.position=c.position,u.width=c.width,u.height=c.height,u.transform=c.transform}}},o.a.element=t}function tr(t,r,e,n){var o=(t&xt)!==0,s=(t&St)!==0,i=o&&s,a=(t&Nt)!==0,c=i?"both":o?"in":"out",u,f=r.inert,l=r.style.overflow,d,p;function g(){return ht(()=>u??=e()(r,n?.()??{},{direction:c}))}var y={is_global:a,in(){if(r.inert=f,!o){p?.abort(),p?.reset?.();return}s||d?.abort(),d=V(r,g(),p,1,()=>{L(r,"introstart")},()=>{L(r,"introend"),d?.abort(),d=u=void 0,r.style.overflow=l})},out(F){if(!s){F?.(),u=void 0;return}r.inert=!0,p=V(r,g(),d,0,()=>{L(r,"outrostart")},()=>{L(r,"outroend"),F?.()})},stop:()=>{d?.abort(),p?.abort()}},b=lt;if((b.nodes.t??=[]).push(y),o&&_t){var h=a;if(!h){for(var v=b.parent;v&&(v.f&wt)!==0;)for(;(v=v.parent)&&(v.f&Tt)===0;);h=!v||(v.f&Ct)!==0}h&&Ft(()=>{mt(()=>y.in())})}}function V(t,r,e,n,o,s){var i=n===1,a=!1;if(kt(r)){var c;return ot(()=>{if(!a){var y=r({direction:i?"in":"out"});c=V(t,y,e,n,o,s)}}),{abort:()=>{a=!0,c?.abort()},deactivate:()=>c?.deactivate(),reset:()=>c?.reset(),t:()=>c?.t()??1-n}}if(e?.deactivate(),!r?.duration&&!r?.delay)return o(),s(),{abort:R,deactivate:R,reset:R,t:()=>n};const{delay:u=0,css:f,tick:l,easing:d=Pt}=r;var p,g=()=>1-n;return ot(()=>{if(!a){var y=[];if(i&&e===void 0&&(l&&l(0,1),f)){var b=ft(f(0,1));y.push(b,b)}p=t.animate(y,{duration:u,fill:"forwards"}),p.onfinish=()=>{p.cancel(),o();var h=e?.t()??1-n;e?.abort();var v=n-h,F=r.duration*Math.abs(v),X=[];if(F>0){var Z=!1;if(f)for(var tt=Math.ceil(F/16.666666666666668),z=0;z<=tt;z+=1){var rt=h+v*d(z/tt),et=ft(f(rt,1-rt));X.push(et),Z||=et.overflow==="hidden"}Z&&(t.style.overflow="hidden"),g=()=>{var j=p.currentTime;return h+v*d(j/F)},l&&K(()=>{if(p.playState!=="running")return!1;var j=g();return l(j,1-j),!0})}p=t.animate(X,{duration:F,fill:"forwards"}),p.onfinish=()=>{g=()=>n,l?.(n,1-n),s()}}}}),{abort:()=>{a=!0,p&&(p.cancel(),p.effect=null,p.onfinish=R)},deactivate:()=>{s=R},reset:()=>{n===0&&l?.(1,0)},t:()=>g()}}function Y(t){return t}function O(t){const r=t-1;return r*r*r+1}function rr(t){return--t*t*t*t*t+1}function pt(t){return Object.prototype.toString.call(t)==="[object Date]"}function W(t,r){if(t===r||t!==t)return()=>t;const e=typeof t;if(e!==typeof r||Array.isArray(t)!==Array.isArray(r))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const n=r.map((o,s)=>W(t[s],o));return o=>n.map(s=>s(o))}if(e==="object"){if(!t||!r)throw new Error("Object cannot be null");if(pt(t)&&pt(r)){const s=t.getTime(),a=r.getTime()-s;return c=>new Date(s+c*a)}const n=Object.keys(r),o={};return n.forEach(s=>{o[s]=W(t[s],r[s])}),s=>{const i={};return n.forEach(a=>{i[a]=o[a](s)}),i}}if(e==="number"){const n=r-t;return o=>t+o*n}return()=>r}function jt(t,r={}){const e=At(t);let n,o=t;function s(i,a){if(o=i,t==null)return e.set(t=i),Promise.resolve();let c=n,u=!1,{delay:f=0,duration:l=400,easing:d=Y,interpolate:p=W}={...r,...a};if(l===0)return c&&(c.abort(),c=null),e.set(t=o),Promise.resolve();const g=$.now()+f;let y;return n=K(b=>{if(b<g)return!0;u||(y=p(t,i),typeof l=="function"&&(l=l(t,i)),u=!0),c&&(c.abort(),c=null);const h=b-g;return h>l?(e.set(t=i),!1):(e.set(t=y(d(h/l))),!0)}),n.promise}return{set:s,update:(i,a)=>s(i(o,t),a),subscribe:e.subscribe}}var _,x,I,S;const Q=class Q{constructor(r,e={}){T(this,_);T(this,x);T(this,I);T(this,S,null);C(this,_,it(r)),C(this,x,it(r)),C(this,I,e),gt&&(at(m(this,_),"Tween.current"),at(m(this,x),"Tween.target"))}static of(r,e){const n=new Q(r(),e);return Ot(()=>{n.set(r())}),n}set(r,e){B(m(this,x),r);let{delay:n=0,duration:o=400,easing:s=Y,interpolate:i=W}={...m(this,I),...e};if(o===0)return m(this,S)?.abort(),B(m(this,_),r),Promise.resolve();const a=$.now()+n;let c,u=!1,f=m(this,S);return C(this,S,K(l=>{if(l<a)return!0;if(!u){u=!0;const p=m(this,_).v;c=i(p,r),typeof o=="function"&&(o=o(p,r)),f?.abort(),f=null}const d=l-a;return d>o?(B(m(this,_),r),!1):(B(m(this,_),c(s(d/o))),!0)})),m(this,S).promise}get current(){return ct(m(this,_))}get target(){return ct(m(this,x))}set target(r){this.set(r)}};_=new WeakMap,x=new WeakMap,I=new WeakMap,S=new WeakMap;let G=Q;const k={fast:{settleMs:80,easing:O,exit:{duration:60,easing:O}},moderate:{settleMs:160,easing:O,exit:{duration:120,easing:O}},slow:{settleMs:240,easing:O,exit:{duration:160,easing:O}}};var w,A,E;class er{constructor(r,e="moderate"){T(this,w);T(this,A);T(this,E,Promise.resolve());C(this,A,k[e]),C(this,w,new G(r))}get current(){return m(this,w).current}get target(){return m(this,w).target}set target(r){this.set(r)}set(r,e){return mt(()=>{const n=e?.instant||P();return!n&&Object.is(r,m(this,w).target)?m(this,E):(m(this,w).set(m(this,w).current,{duration:0}),C(this,E,m(this,w).set(r,{duration:n?0:m(this,A).settleMs,easing:m(this,A).easing})),m(this,E))})}}w=new WeakMap,A=new WeakMap,E=new WeakMap;function Bt(t,r="moderate"){const e=jt(t);let n=t,o=Promise.resolve();const s=(i,a)=>{const c=a?.hard||P();return!c&&Object.is(i,n)||(n=i,e.set(ut(e),{duration:0}),o=e.set(i,{duration:c?0:k[r].settleMs,easing:k[r].easing})),o};return{subscribe:e.subscribe,set:s,update:(i,a)=>s(i(n,ut(e)),a)}}function nr(t,r="moderate"){const e=Bt(t,r);return{subscribe:e.subscribe,set:n=>e.set(n),update:n=>e.update(n)}}function sr(t){return t.exit.duration+100}const Lt=t=>t;function J(t){const r=t-1;return r*r*r+1}function vt(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}function H(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}function N(t,r,e){return Number.isNaN(r)?"":`${t}: ${e*r}px;`}function Vt(t,{delay:r=0,duration:e=400,easing:n=vt,amount:o=5,opacity:s=0}={}){const i=getComputedStyle(t),a=+i.opacity,c=i.filter==="none"?"":i.filter,u=a*(1-s),[f,l]=H(o);return{delay:r,duration:e,easing:n,css:(d,p)=>`opacity: ${a-u*p}; filter: ${c} blur(${p*f}${l});`}}function $t(t,{delay:r=0,duration:e=400,easing:n=Lt}={}){const o=+getComputedStyle(t).opacity;return{delay:r,duration:e,easing:n,css:s=>`opacity: ${s*o}`}}function Wt(t,{delay:r=0,duration:e=400,easing:n=J,x:o=0,y:s=0,opacity:i=0}={}){const a=getComputedStyle(t),c=+a.opacity,u=a.transform==="none"?"":a.transform,f=c*(1-i),[l,d]=H(o),[p,g]=H(s);return{delay:r,duration:e,easing:n,css:(y,b)=>`
|
|
2
2
|
transform: ${u} translate(${(1-y)*l}${d}, ${(1-y)*p}${g});
|
|
3
3
|
opacity: ${c-f*b}`}}var U=!1;function qt(t,{delay:r=0,duration:e=400,easing:n=J,axis:o="y"}={}){const s=getComputedStyle(t);gt&&!U&&/(contents|inline|table)/.test(s.display)&&(U=!0,Promise.resolve().then(()=>U=!1),Et(s.display));const i=+s.opacity,a=o==="y"?"height":"width",c=parseFloat(s[a]),u=o==="y"?["top","bottom"]:["left","right"],f=u.map(h=>`${h[0].toUpperCase()}${h.slice(1)}`),l=parseFloat(s[`padding${f[0]}`]),d=parseFloat(s[`padding${f[1]}`]),p=parseFloat(s[`margin${f[0]}`]),g=parseFloat(s[`margin${f[1]}`]),y=parseFloat(s[`border${f[0]}Width`]),b=parseFloat(s[`border${f[1]}Width`]);return{delay:r,duration:e,easing:n,css:h=>`overflow: hidden;opacity: ${Math.min(h*20,1)*i};`+N(a,c,h)+N(`padding-${u[0]}`,l,h)+N(`padding-${u[1]}`,d,h)+N(`margin-${u[0]}`,p,h)+N(`margin-${u[1]}`,g,h)+N(`border-${u[0]}-width`,y,h)+N(`border-${u[1]}-width`,b,h)+`min-${a}: 0`}}function zt(t,{delay:r=0,duration:e=400,easing:n=J,start:o=0,opacity:s=0}={}){const i=getComputedStyle(t),a=+i.opacity,c=i.transform==="none"?"":i.transform,u=1-o,f=a*(1-s);return{delay:r,duration:e,easing:n,css:(l,d)=>`
|
|
4
4
|
transform: ${c} scale(${1-u*d});
|
|
@@ -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/n5756WrC.js","/app/immutable/chunks/DKo_4wJv.js","/app/immutable/chunks/x2wsoUAP.js","/app/immutable/chunks/W27HQR6z.js","/app/immutable/chunks/CisIj7pL.js","/app/immutable/chunks/CZdhGhqW.js","/app/immutable/chunks/-oBRwUwo.js","/app/immutable/chunks/2qAiupor.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"./DJ6NhP2E.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("./DYuU0Arz.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("./DYuU0Arz.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("./DYuU0Arz.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("./DYuU0Arz.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("./DYuU0Arz.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("./DYuU0Arz.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("./DYuU0Arz.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("./Dv6NvIa-.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("./CFY6lIZ1.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("./BgIOCdbx.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("./DFuME8T0.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("./DLnrKStT.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("./Cekvr7WJ.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("./DvnqGv6n.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("./DpuVuyCy.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("./h1OZX-ME.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("./XJFhLiIT.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("./BEmgVD15.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("./Dh3jIeqa.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("./D2MdcX20.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("./DljOzx1o.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("./Dh8_IDIo.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("./Dh8_IDIo.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("./Dh8_IDIo.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("./Dh8_IDIo.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("./Dh8_IDIo.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("./Dh8_IDIo.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("./Dh8_IDIo.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("./DYZwkmyf.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("./GKBPqrFt.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("./n5756WrC.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("./DdOkmX2F.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("./BDe_nklR.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("./CRs-kuPG.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("./Be5Er9P3.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("./DKo_4wJv.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("./B3DLTfYH.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("./Bho7eqFf.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("./x2wsoUAP.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("./CZdhGhqW.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("./-oBRwUwo.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("./2qAiupor.js"),__vite__mapDeps([7,3]),import.meta.url)}Le.onLanguage("typescript",()=>r2().then(o=>o.setupTypeScript(lle)));Le.onLanguage("javascript",()=>r2().then(o=>o.setupJavaScript(cle)));const tGe=Object.freeze(Object.defineProperty({__proto__:null,JsxEmit:ile,ModuleKind:tle,ModuleResolutionKind:ole,NewLineKind:nle,ScriptTarget:sle,getJavaScriptWorker:AUe,getTypeScriptWorker:MUe,javascriptDefaults:cle,typescriptDefaults:lle,typescriptVersion:RUe},Symbol.toStringTag,{value:"Module"})),$X="__monacoFindWidgetTabIndexPatchApplied",I1="__monacoFindWidgetOriginalTabIndex";function jX(o,e){const t=o?._domNode;if(!t)return;const i=t.querySelectorAll('input, textarea, [tabindex], [role="button"], [role="checkbox"]');for(const n of i)if(n instanceof HTMLElement)if(e){if(!(I1 in n.dataset))continue;const s=n.dataset[I1];s===""?n.removeAttribute("tabindex"):n.tabIndex=Number(s),delete n.dataset[I1]}else I1 in n.dataset||(n.dataset[I1]=n.getAttribute("tabindex")??""),n.tabIndex=-1}if(!Kd[$X]){const o=Kd.prototype._reveal,e=Kd.prototype._hide;Kd.prototype._reveal=function(...t){o.apply(this,t),jX(this,!0)},Kd.prototype._hide=function(...t){e.apply(this,t),jX(this,!1)},Kd[$X]=!0}export{zKe as C,dw as E,ile as J,UKe as K,Gc as M,X_ as P,i2 as R,sle as S,KKe as T,yae as U,$Ke as a,DX as b,tle as c,ole as d,jKe as e,qKe as f,Kp as g,QKe as h,GKe as i,cle as j,eGe as k,Le as l,tGe as m,YKe as r,lle as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as xe}from"./DeG2Ac-N.js";import{p as be}from"./TfyyLY4T.js";import{b as C,a6 as Ce,W as ae,q as ee,aX as we,B as Te,ay as te,b8 as B,aW as Z,a_ as Le,V as $e,b0 as Ae,Y as Fe,U as _e,aZ as Ne,O as Me,ao as ke,r as Ve}from"./CW4Luigb.js";import{p as ze}from"./Chdzh45_.js";import{f as O,o as Q}from"./DbZ_zQlq.js";function De(t){var a=0,l=t.children,n=l&&l.length;if(!n)a=1;else for(;--n>=0;)a+=l[n].value;t.value=a}function Pe(){return this.eachAfter(De)}function Be(t,a){let l=-1;for(const n of this)t.call(a,n,++l,this);return this}function We(t,a){for(var l=this,n=[l],s,r,h=-1;l=n.pop();)if(t.call(a,l,++h,this),s=l.children)for(r=s.length-1;r>=0;--r)n.push(s[r]);return this}function Ee(t,a){for(var l=this,n=[l],s=[],r,h,d,f=-1;l=n.pop();)if(s.push(l),r=l.children)for(h=0,d=r.length;h<d;++h)n.push(r[h]);for(;l=s.pop();)t.call(a,l,++f,this);return this}function Re(t,a){let l=-1;for(const n of this)if(t.call(a,n,++l,this))return n}function He(t){return this.eachAfter(function(a){for(var l=+t(a.data)||0,n=a.children,s=n&&n.length;--s>=0;)l+=n[s].value;a.value=l})}function Ie(t){return this.eachBefore(function(a){a.children&&a.children.sort(t)})}function Oe(t){for(var a=this,l=qe(a,t),n=[a];a!==l;)a=a.parent,n.push(a);for(var s=n.length;t!==l;)n.splice(s,0,t),t=t.parent;return n}function qe(t,a){if(t===a)return t;var l=t.ancestors(),n=a.ancestors(),s=null;for(t=l.pop(),a=n.pop();t===a;)s=t,t=l.pop(),a=n.pop();return s}function Ge(){for(var t=this,a=[t];t=t.parent;)a.push(t);return a}function Xe(){return Array.from(this)}function Ye(){var t=[];return this.eachBefore(function(a){a.children||t.push(a)}),t}function je(){var t=this,a=[];return t.each(function(l){l!==t&&a.push({source:l.parent,target:l})}),a}function*Ue(){var t=this,a,l=[t],n,s,r;do for(a=l.reverse(),l=[];t=a.pop();)if(yield t,n=t.children)for(s=0,r=n.length;s<r;++s)l.push(n[s]);while(l.length)}function ne(t,a){t instanceof Map?(t=[void 0,t],a===void 0&&(a=Ke)):a===void 0&&(a=Je);for(var l=new Y(t),n,s=[l],r,h,d,f;n=s.pop();)if((h=a(n.data))&&(f=(h=Array.from(h)).length))for(n.children=h,d=f-1;d>=0;--d)s.push(r=h[d]=new Y(h[d])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(et)}function Ze(){return ne(this).eachBefore(Qe)}function Je(t){return t.children}function Ke(t){return Array.isArray(t)?t[1]:null}function Qe(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function et(t){var a=0;do t.height=a;while((t=t.parent)&&t.height<++a)}function Y(t){this.data=t,this.depth=this.height=0,this.parent=null}Y.prototype=ne.prototype={constructor:Y,count:Pe,each:Be,eachAfter:Ee,eachBefore:We,find:Re,sum:He,sort:Ie,path:Oe,ancestors:Ge,descendants:Xe,leaves:Ye,links:je,copy:Ze,[Symbol.iterator]:Ue};function tt(t){if(typeof t!="function")throw new Error;return t}function q(){return 0}function G(t){return function(){return t}}function at(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function oe(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(n-a)/t.value;++d<f;)h=r[d],h.y0=l,h.y1=s,h.x0=a,h.x1=a+=h.value*o}Object.create(Y.prototype);function ce(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(s-l)/t.value;++d<f;)h=r[d],h.x0=a,h.x1=n,h.y0=l,h.y1=l+=h.value*o}var he=(1+Math.sqrt(5))/2;function de(t,a,l,n,s,r){for(var h=[],d=a.children,f,o,u=0,S=0,i=d.length,v,x,g=a.value,p,b,_,$,z,R,N;u<i;){v=s-l,x=r-n;do p=d[S++].value;while(!p&&S<i);for(b=_=p,R=Math.max(x/v,v/x)/(g*t),N=p*p*R,z=Math.max(_/N,N/b);S<i;++S){if(p+=o=d[S].value,o<b&&(b=o),o>_&&(_=o),N=p*p*R,$=Math.max(_/N,N/b),$>z){p-=o;break}z=$}h.push(f={value:p,dice:v<x,children:d.slice(u,S)}),f.dice?oe(f,l,n,s,g?n+=x*p/g:r):ce(f,l,n,g?l+=v*p/g:s,r),g-=p,u=S}return h}var nt=(function t(a){function l(n,s,r,h,d){de(a,n,s,r,h,d)}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);function lt(){var t=nt,a=!1,l=1,n=1,s=[0],r=q,h=q,d=q,f=q,o=q;function u(i){return i.x0=i.y0=0,i.x1=l,i.y1=n,i.eachBefore(S),s=[0],a&&i.eachBefore(at),i}function S(i){var v=s[i.depth],x=i.x0+v,g=i.y0+v,p=i.x1-v,b=i.y1-v;p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),i.x0=x,i.y0=g,i.x1=p,i.y1=b,i.children&&(v=s[i.depth+1]=r(i)/2,x+=o(i)-v,g+=h(i)-v,p-=d(i)-v,b-=f(i)-v,p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),t(i,x,g,p,b))}return u.round=function(i){return arguments.length?(a=!!i,u):a},u.size=function(i){return arguments.length?(l=+i[0],n=+i[1],u):[l,n]},u.tile=function(i){return arguments.length?(t=tt(i),u):t},u.padding=function(i){return arguments.length?u.paddingInner(i).paddingOuter(i):u.paddingInner()},u.paddingInner=function(i){return arguments.length?(r=typeof i=="function"?i:G(+i),u):r},u.paddingOuter=function(i){return arguments.length?u.paddingTop(i).paddingRight(i).paddingBottom(i).paddingLeft(i):u.paddingTop()},u.paddingTop=function(i){return arguments.length?(h=typeof i=="function"?i:G(+i),u):h},u.paddingRight=function(i){return arguments.length?(d=typeof i=="function"?i:G(+i),u):d},u.paddingBottom=function(i){return arguments.length?(f=typeof i=="function"?i:G(+i),u):f},u.paddingLeft=function(i){return arguments.length?(o=typeof i=="function"?i:G(+i),u):o},u}(function t(a){function l(n,s,r,h,d){if((f=n._squarify)&&f.ratio===a)for(var f,o,u,S,i=-1,v,x=f.length,g=n.value;++i<x;){for(o=f[i],u=o.children,S=o.value=0,v=u.length;S<v;++S)o.value+=u[S].value;o.dice?oe(o,s,r,h,g?r+=(d-r)*o.value/g:d):ce(o,s,r,g?s+=(h-s)*o.value/g:h,d),g-=o.value}else n._squarify=f=de(a,n,s,r,h,d),f.ratio=a}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);var E,ue=(E=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=Le,this.getAccTitle=$e,this.setDiagramTitle=Ae,this.getDiagramTitle=Fe,this.getAccDescription=_e,this.setAccDescription=Ne}getNodes(){return this.nodes}getConfig(){const a=Me,l=ae();return ee({...a.treemap,...l.treemap??{}})}addNode(a,l){this.nodes.push(a),this.levels.set(a,l),l===0&&(this.outerNodes.push(a),this.root??=a)}getRoot(){return{name:"",children:this.outerNodes}}addClass(a,l){const n=this.classes.get(a)??{id:a,styles:[],textStyles:[]},s=l.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");s&&s.forEach(r=>{ke(r)&&(n?.textStyles?n.textStyles.push(r):n.textStyles=[r]),n?.styles?n.styles.push(r):n.styles=[r]}),this.classes.set(a,n)}getClasses(){return this.classes}getStylesForClass(a){return this.classes.get(a)?.styles??[]}clear(){Ve(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},C(E,"TreeMapDB"),E);function pe(t){if(!t.length)return[];const a=[],l=[];return t.forEach(n=>{const s={name:n.name,children:n.type==="Leaf"?void 0:[]};for(s.classSelector=n?.classSelector,n?.cssCompiledStyles&&(s.cssCompiledStyles=n.cssCompiledStyles),n.type==="Leaf"&&n.value!==void 0&&(s.value=n.value);l.length>0&&l[l.length-1].level>=n.level;)l.pop();if(l.length===0)a.push(s);else{const r=l[l.length-1].node;r.children?r.children.push(s):r.children=[s]}n.type!=="Leaf"&&l.push({node:s,level:n.level})}),a}C(pe,"buildHierarchy");var st=C((t,a)=>{be(t,a);const l=[];for(const r of t.TreemapRows??[])r.$type==="ClassDefStatement"&&a.addClass(r.className??"",r.styleText??"");for(const r of t.TreemapRows??[]){const h=r.item;if(!h)continue;const d=r.indent?parseInt(r.indent):0,f=rt(h),o=h.classSelector?a.getStylesForClass(h.classSelector):[],u=o.length>0?o:void 0,S={level:d,name:f,type:h.$type,value:h.value,classSelector:h.classSelector,cssCompiledStyles:u};l.push(S)}const n=pe(l),s=C((r,h)=>{for(const d of r)a.addNode(d,h),d.children&&d.children.length>0&&s(d.children,h+1)},"addNodesRecursively");s(n,0)},"populate"),rt=C(t=>t.name?String(t.name):"","getItemName"),fe={parser:{yy:void 0},parse:C(async t=>{try{const l=await ze("treemap",t);te.debug("Treemap AST:",l);const n=fe.parser?.yy;if(!(n instanceof ue))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");st(l,n)}catch(a){throw te.error("Error parsing treemap:",a),a}},"parse")},it=10,W=10,X=25,ot=C((t,a,l,n)=>{const s=n.db,r=s.getConfig(),h=r.padding??it,d=s.getDiagramTitle(),f=s.getRoot(),{themeVariables:o}=ae();if(!f)return;const u=d?30:0,S=we(a),i=r.nodeWidth?r.nodeWidth*W:960,v=r.nodeHeight?r.nodeHeight*W:500,x=i,g=v+u;S.attr("viewBox",`0 0 ${x} ${g}`),Te(S,g,x,r.useMaxWidth);let p;try{const e=r.valueFormat||",";if(e==="$0,0")p=C(c=>"$"+O(",")(c),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const c=/\.\d+/.exec(e),m=c?c[0]:"";p=C(w=>"$"+O(","+m)(w),"valueFormat")}else if(e.startsWith("$")){const c=e.substring(1);p=C(m=>"$"+O(c||"")(m),"valueFormat")}else p=O(e)}catch(e){te.error("Error creating format function:",e),p=O(",")}const b=Q().range(["transparent",o.cScale0,o.cScale1,o.cScale2,o.cScale3,o.cScale4,o.cScale5,o.cScale6,o.cScale7,o.cScale8,o.cScale9,o.cScale10,o.cScale11]),_=Q().range(["transparent",o.cScalePeer0,o.cScalePeer1,o.cScalePeer2,o.cScalePeer3,o.cScalePeer4,o.cScalePeer5,o.cScalePeer6,o.cScalePeer7,o.cScalePeer8,o.cScalePeer9,o.cScalePeer10,o.cScalePeer11]),$=Q().range([o.cScaleLabel0,o.cScaleLabel1,o.cScaleLabel2,o.cScaleLabel3,o.cScaleLabel4,o.cScaleLabel5,o.cScaleLabel6,o.cScaleLabel7,o.cScaleLabel8,o.cScaleLabel9,o.cScaleLabel10,o.cScaleLabel11]);d&&S.append("text").attr("x",x/2).attr("y",u/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(d);const z=S.append("g").attr("transform",`translate(0, ${u})`).attr("class","treemapContainer"),R=ne(f).sum(e=>e.value??0).sort((e,c)=>(c.value??0)-(e.value??0)),le=lt().size([i,v]).paddingTop(e=>e.children&&e.children.length>0?X+W:0).paddingInner(h).paddingLeft(e=>e.children&&e.children.length>0?W:0).paddingRight(e=>e.children&&e.children.length>0?W:0).paddingBottom(e=>e.children&&e.children.length>0?W:0).round(!0)(R),me=le.descendants().filter(e=>e.children&&e.children.length>0),H=z.selectAll(".treemapSection").data(me).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",X).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),H.append("clipPath").attr("id",(e,c)=>`clip-section-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",X),H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,c)=>`treemapSection section${c}`).attr("fill",e=>b(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>_(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const c=B({cssCompiledStyles:e.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),H.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",X/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("clip-path",(e,c)=>`url(#clip-section-${a}-${c})`).attr("style",e=>{if(e.depth===0)return"display: none;";const c="dominant-baseline: middle; font-size: 12px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).each(function(e){if(e.depth===0)return;const c=Z(this),m=e.data.name;c.text(m);const w=e.x1-e.x0,L=6;let T;r.showValues!==!1&&e.value?T=w-10-30-10-L:T=w-L-6;const y=Math.max(15,T),M=c.node();if(M.getComputedTextLength()>y){let V=m;for(;V.length>0;){if(V=m.substring(0,V.length-1),V.length===0){c.text("..."),M.getComputedTextLength()>y&&c.text("");break}if(c.text(V+"..."),M.getComputedTextLength()<=y)break}}}),r.showValues!==!1&&H.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",X/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?p(e.value):"").attr("font-style","italic").attr("style",e=>{if(e.depth===0)return"display: none;";const c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")});const se=le.leaves(),A=se.length>20,ge=A?16:38,j=A?14:28,D=A?4:8,I=A?4:6,J=A?2:4,re=A?8:10,K=A?1:2,U=z.selectAll(".treemapLeafGroup").data(se).enter().append("g").attr("class",(e,c)=>`treemapNode treemapLeafGroup leaf${c}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);U.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("style",e=>B({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("stroke-width",3),U.append("clipPath").attr("id",(e,c)=>`clip-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),U.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>{const c=`text-anchor: middle; dominant-baseline: middle; font-size: ${ge}px;fill:`+$(e.data.name)+";",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).attr("clip-path",(e,c)=>`url(#clip-${a}-${c})`).text(e=>e.data.name).each(function(e){const c=Z(this),m=e.x1-e.x0,w=e.y1-e.y0,L=c.node(),T=m-2*J,P=w-2*J;if(T<re||P<re){c.style("display","none");return}let y=parseInt(c.style("font-size"),10);const M=.6;for(;L.getComputedTextLength()>T&&y>D;)y--,c.style("font-size",`${y}px`);let F=Math.max(I,Math.min(j,Math.round(y*M))),k=y+K+F;for(;k>P&&y>D&&(y--,F=Math.max(I,Math.min(j,Math.round(y*M))),!(F<I&&y===D));)c.style("font-size",`${y}px`),k=y+K+F;c.style("font-size",`${y}px`),A?(y<D||P<D)&&c.style("display","none"):(L.getComputedTextLength()>T||y<D||P<y)&&c.style("display","none")}),r.showValues!==!1&&U.append("text").attr("class","treemapValue").attr("x",c=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",c=>{const m=`text-anchor: middle; dominant-baseline: hanging; font-size: ${j}px;fill:`+$(c.data.name)+";",w=B({cssCompiledStyles:c.data.cssCompiledStyles});return m+w.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,m)=>`url(#clip-${a}-${m})`).text(c=>c.value?p(c.value):"").each(function(c){const m=Z(this),w=this.parentNode;if(!w){m.style("display","none");return}const L=Z(w).select(".treemapLabel");if(L.empty()||L.style("display")==="none"){m.style("display","none");return}const T=parseFloat(L.style("font-size")),y=Math.max(I,Math.min(j,Math.round(T*.6)));m.style("font-size",`${y}px`);const F=(c.y1-c.y0)/2+T/2+K;m.attr("y",F);const k=c.x1-c.x0,ie=c.y1-c.y0-4,ve=k-2*J;m.node().getComputedTextLength()>ve||F+y>ie||y<I?m.style("display","none"):m.style("display",null)});const ye=r.diagramPadding??8;xe(S,ye,"flowchart",r?.useMaxWidth||!1)},"draw"),ct=C(function(t,a){return a.db.getClasses()},"getClasses"),ht={draw:ot,getClasses:ct},dt={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ut=C(({treemap:t}={})=>{const a=Ce(),l=ae(),n=ee(a,l.themeVariables),s=ee(dt,t),r=s.titleColor??n.titleColor,h=s.labelColor??n.textColor,d=s.valueColor??n.textColor;return`
|
|
1
|
+
import{s as xe}from"./Dw27dq0-.js";import{p as be}from"./o0LuLePs.js";import{b as C,a6 as Ce,W as ae,q as ee,aX as we,B as Te,ay as te,b8 as B,aW as Z,a_ as Le,V as $e,b0 as Ae,Y as Fe,U as _e,aZ as Ne,O as Me,ao as ke,r as Ve}from"./C-oQiQ3z.js";import{p as ze}from"./iWHbHYgP.js";import{f as O,o as Q}from"./BQ4SUKhz.js";function De(t){var a=0,l=t.children,n=l&&l.length;if(!n)a=1;else for(;--n>=0;)a+=l[n].value;t.value=a}function Pe(){return this.eachAfter(De)}function Be(t,a){let l=-1;for(const n of this)t.call(a,n,++l,this);return this}function We(t,a){for(var l=this,n=[l],s,r,h=-1;l=n.pop();)if(t.call(a,l,++h,this),s=l.children)for(r=s.length-1;r>=0;--r)n.push(s[r]);return this}function Ee(t,a){for(var l=this,n=[l],s=[],r,h,d,f=-1;l=n.pop();)if(s.push(l),r=l.children)for(h=0,d=r.length;h<d;++h)n.push(r[h]);for(;l=s.pop();)t.call(a,l,++f,this);return this}function Re(t,a){let l=-1;for(const n of this)if(t.call(a,n,++l,this))return n}function He(t){return this.eachAfter(function(a){for(var l=+t(a.data)||0,n=a.children,s=n&&n.length;--s>=0;)l+=n[s].value;a.value=l})}function Ie(t){return this.eachBefore(function(a){a.children&&a.children.sort(t)})}function Oe(t){for(var a=this,l=qe(a,t),n=[a];a!==l;)a=a.parent,n.push(a);for(var s=n.length;t!==l;)n.splice(s,0,t),t=t.parent;return n}function qe(t,a){if(t===a)return t;var l=t.ancestors(),n=a.ancestors(),s=null;for(t=l.pop(),a=n.pop();t===a;)s=t,t=l.pop(),a=n.pop();return s}function Ge(){for(var t=this,a=[t];t=t.parent;)a.push(t);return a}function Xe(){return Array.from(this)}function Ye(){var t=[];return this.eachBefore(function(a){a.children||t.push(a)}),t}function je(){var t=this,a=[];return t.each(function(l){l!==t&&a.push({source:l.parent,target:l})}),a}function*Ue(){var t=this,a,l=[t],n,s,r;do for(a=l.reverse(),l=[];t=a.pop();)if(yield t,n=t.children)for(s=0,r=n.length;s<r;++s)l.push(n[s]);while(l.length)}function ne(t,a){t instanceof Map?(t=[void 0,t],a===void 0&&(a=Ke)):a===void 0&&(a=Je);for(var l=new Y(t),n,s=[l],r,h,d,f;n=s.pop();)if((h=a(n.data))&&(f=(h=Array.from(h)).length))for(n.children=h,d=f-1;d>=0;--d)s.push(r=h[d]=new Y(h[d])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(et)}function Ze(){return ne(this).eachBefore(Qe)}function Je(t){return t.children}function Ke(t){return Array.isArray(t)?t[1]:null}function Qe(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function et(t){var a=0;do t.height=a;while((t=t.parent)&&t.height<++a)}function Y(t){this.data=t,this.depth=this.height=0,this.parent=null}Y.prototype=ne.prototype={constructor:Y,count:Pe,each:Be,eachAfter:Ee,eachBefore:We,find:Re,sum:He,sort:Ie,path:Oe,ancestors:Ge,descendants:Xe,leaves:Ye,links:je,copy:Ze,[Symbol.iterator]:Ue};function tt(t){if(typeof t!="function")throw new Error;return t}function q(){return 0}function G(t){return function(){return t}}function at(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function oe(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(n-a)/t.value;++d<f;)h=r[d],h.y0=l,h.y1=s,h.x0=a,h.x1=a+=h.value*o}Object.create(Y.prototype);function ce(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(s-l)/t.value;++d<f;)h=r[d],h.x0=a,h.x1=n,h.y0=l,h.y1=l+=h.value*o}var he=(1+Math.sqrt(5))/2;function de(t,a,l,n,s,r){for(var h=[],d=a.children,f,o,u=0,S=0,i=d.length,v,x,g=a.value,p,b,_,$,z,R,N;u<i;){v=s-l,x=r-n;do p=d[S++].value;while(!p&&S<i);for(b=_=p,R=Math.max(x/v,v/x)/(g*t),N=p*p*R,z=Math.max(_/N,N/b);S<i;++S){if(p+=o=d[S].value,o<b&&(b=o),o>_&&(_=o),N=p*p*R,$=Math.max(_/N,N/b),$>z){p-=o;break}z=$}h.push(f={value:p,dice:v<x,children:d.slice(u,S)}),f.dice?oe(f,l,n,s,g?n+=x*p/g:r):ce(f,l,n,g?l+=v*p/g:s,r),g-=p,u=S}return h}var nt=(function t(a){function l(n,s,r,h,d){de(a,n,s,r,h,d)}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);function lt(){var t=nt,a=!1,l=1,n=1,s=[0],r=q,h=q,d=q,f=q,o=q;function u(i){return i.x0=i.y0=0,i.x1=l,i.y1=n,i.eachBefore(S),s=[0],a&&i.eachBefore(at),i}function S(i){var v=s[i.depth],x=i.x0+v,g=i.y0+v,p=i.x1-v,b=i.y1-v;p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),i.x0=x,i.y0=g,i.x1=p,i.y1=b,i.children&&(v=s[i.depth+1]=r(i)/2,x+=o(i)-v,g+=h(i)-v,p-=d(i)-v,b-=f(i)-v,p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),t(i,x,g,p,b))}return u.round=function(i){return arguments.length?(a=!!i,u):a},u.size=function(i){return arguments.length?(l=+i[0],n=+i[1],u):[l,n]},u.tile=function(i){return arguments.length?(t=tt(i),u):t},u.padding=function(i){return arguments.length?u.paddingInner(i).paddingOuter(i):u.paddingInner()},u.paddingInner=function(i){return arguments.length?(r=typeof i=="function"?i:G(+i),u):r},u.paddingOuter=function(i){return arguments.length?u.paddingTop(i).paddingRight(i).paddingBottom(i).paddingLeft(i):u.paddingTop()},u.paddingTop=function(i){return arguments.length?(h=typeof i=="function"?i:G(+i),u):h},u.paddingRight=function(i){return arguments.length?(d=typeof i=="function"?i:G(+i),u):d},u.paddingBottom=function(i){return arguments.length?(f=typeof i=="function"?i:G(+i),u):f},u.paddingLeft=function(i){return arguments.length?(o=typeof i=="function"?i:G(+i),u):o},u}(function t(a){function l(n,s,r,h,d){if((f=n._squarify)&&f.ratio===a)for(var f,o,u,S,i=-1,v,x=f.length,g=n.value;++i<x;){for(o=f[i],u=o.children,S=o.value=0,v=u.length;S<v;++S)o.value+=u[S].value;o.dice?oe(o,s,r,h,g?r+=(d-r)*o.value/g:d):ce(o,s,r,g?s+=(h-s)*o.value/g:h,d),g-=o.value}else n._squarify=f=de(a,n,s,r,h,d),f.ratio=a}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);var E,ue=(E=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=Le,this.getAccTitle=$e,this.setDiagramTitle=Ae,this.getDiagramTitle=Fe,this.getAccDescription=_e,this.setAccDescription=Ne}getNodes(){return this.nodes}getConfig(){const a=Me,l=ae();return ee({...a.treemap,...l.treemap??{}})}addNode(a,l){this.nodes.push(a),this.levels.set(a,l),l===0&&(this.outerNodes.push(a),this.root??=a)}getRoot(){return{name:"",children:this.outerNodes}}addClass(a,l){const n=this.classes.get(a)??{id:a,styles:[],textStyles:[]},s=l.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");s&&s.forEach(r=>{ke(r)&&(n?.textStyles?n.textStyles.push(r):n.textStyles=[r]),n?.styles?n.styles.push(r):n.styles=[r]}),this.classes.set(a,n)}getClasses(){return this.classes}getStylesForClass(a){return this.classes.get(a)?.styles??[]}clear(){Ve(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},C(E,"TreeMapDB"),E);function pe(t){if(!t.length)return[];const a=[],l=[];return t.forEach(n=>{const s={name:n.name,children:n.type==="Leaf"?void 0:[]};for(s.classSelector=n?.classSelector,n?.cssCompiledStyles&&(s.cssCompiledStyles=n.cssCompiledStyles),n.type==="Leaf"&&n.value!==void 0&&(s.value=n.value);l.length>0&&l[l.length-1].level>=n.level;)l.pop();if(l.length===0)a.push(s);else{const r=l[l.length-1].node;r.children?r.children.push(s):r.children=[s]}n.type!=="Leaf"&&l.push({node:s,level:n.level})}),a}C(pe,"buildHierarchy");var st=C((t,a)=>{be(t,a);const l=[];for(const r of t.TreemapRows??[])r.$type==="ClassDefStatement"&&a.addClass(r.className??"",r.styleText??"");for(const r of t.TreemapRows??[]){const h=r.item;if(!h)continue;const d=r.indent?parseInt(r.indent):0,f=rt(h),o=h.classSelector?a.getStylesForClass(h.classSelector):[],u=o.length>0?o:void 0,S={level:d,name:f,type:h.$type,value:h.value,classSelector:h.classSelector,cssCompiledStyles:u};l.push(S)}const n=pe(l),s=C((r,h)=>{for(const d of r)a.addNode(d,h),d.children&&d.children.length>0&&s(d.children,h+1)},"addNodesRecursively");s(n,0)},"populate"),rt=C(t=>t.name?String(t.name):"","getItemName"),fe={parser:{yy:void 0},parse:C(async t=>{try{const l=await ze("treemap",t);te.debug("Treemap AST:",l);const n=fe.parser?.yy;if(!(n instanceof ue))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");st(l,n)}catch(a){throw te.error("Error parsing treemap:",a),a}},"parse")},it=10,W=10,X=25,ot=C((t,a,l,n)=>{const s=n.db,r=s.getConfig(),h=r.padding??it,d=s.getDiagramTitle(),f=s.getRoot(),{themeVariables:o}=ae();if(!f)return;const u=d?30:0,S=we(a),i=r.nodeWidth?r.nodeWidth*W:960,v=r.nodeHeight?r.nodeHeight*W:500,x=i,g=v+u;S.attr("viewBox",`0 0 ${x} ${g}`),Te(S,g,x,r.useMaxWidth);let p;try{const e=r.valueFormat||",";if(e==="$0,0")p=C(c=>"$"+O(",")(c),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const c=/\.\d+/.exec(e),m=c?c[0]:"";p=C(w=>"$"+O(","+m)(w),"valueFormat")}else if(e.startsWith("$")){const c=e.substring(1);p=C(m=>"$"+O(c||"")(m),"valueFormat")}else p=O(e)}catch(e){te.error("Error creating format function:",e),p=O(",")}const b=Q().range(["transparent",o.cScale0,o.cScale1,o.cScale2,o.cScale3,o.cScale4,o.cScale5,o.cScale6,o.cScale7,o.cScale8,o.cScale9,o.cScale10,o.cScale11]),_=Q().range(["transparent",o.cScalePeer0,o.cScalePeer1,o.cScalePeer2,o.cScalePeer3,o.cScalePeer4,o.cScalePeer5,o.cScalePeer6,o.cScalePeer7,o.cScalePeer8,o.cScalePeer9,o.cScalePeer10,o.cScalePeer11]),$=Q().range([o.cScaleLabel0,o.cScaleLabel1,o.cScaleLabel2,o.cScaleLabel3,o.cScaleLabel4,o.cScaleLabel5,o.cScaleLabel6,o.cScaleLabel7,o.cScaleLabel8,o.cScaleLabel9,o.cScaleLabel10,o.cScaleLabel11]);d&&S.append("text").attr("x",x/2).attr("y",u/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(d);const z=S.append("g").attr("transform",`translate(0, ${u})`).attr("class","treemapContainer"),R=ne(f).sum(e=>e.value??0).sort((e,c)=>(c.value??0)-(e.value??0)),le=lt().size([i,v]).paddingTop(e=>e.children&&e.children.length>0?X+W:0).paddingInner(h).paddingLeft(e=>e.children&&e.children.length>0?W:0).paddingRight(e=>e.children&&e.children.length>0?W:0).paddingBottom(e=>e.children&&e.children.length>0?W:0).round(!0)(R),me=le.descendants().filter(e=>e.children&&e.children.length>0),H=z.selectAll(".treemapSection").data(me).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",X).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),H.append("clipPath").attr("id",(e,c)=>`clip-section-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",X),H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,c)=>`treemapSection section${c}`).attr("fill",e=>b(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>_(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const c=B({cssCompiledStyles:e.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),H.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",X/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("clip-path",(e,c)=>`url(#clip-section-${a}-${c})`).attr("style",e=>{if(e.depth===0)return"display: none;";const c="dominant-baseline: middle; font-size: 12px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).each(function(e){if(e.depth===0)return;const c=Z(this),m=e.data.name;c.text(m);const w=e.x1-e.x0,L=6;let T;r.showValues!==!1&&e.value?T=w-10-30-10-L:T=w-L-6;const y=Math.max(15,T),M=c.node();if(M.getComputedTextLength()>y){let V=m;for(;V.length>0;){if(V=m.substring(0,V.length-1),V.length===0){c.text("..."),M.getComputedTextLength()>y&&c.text("");break}if(c.text(V+"..."),M.getComputedTextLength()<=y)break}}}),r.showValues!==!1&&H.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",X/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?p(e.value):"").attr("font-style","italic").attr("style",e=>{if(e.depth===0)return"display: none;";const c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")});const se=le.leaves(),A=se.length>20,ge=A?16:38,j=A?14:28,D=A?4:8,I=A?4:6,J=A?2:4,re=A?8:10,K=A?1:2,U=z.selectAll(".treemapLeafGroup").data(se).enter().append("g").attr("class",(e,c)=>`treemapNode treemapLeafGroup leaf${c}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);U.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("style",e=>B({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("stroke-width",3),U.append("clipPath").attr("id",(e,c)=>`clip-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),U.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>{const c=`text-anchor: middle; dominant-baseline: middle; font-size: ${ge}px;fill:`+$(e.data.name)+";",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).attr("clip-path",(e,c)=>`url(#clip-${a}-${c})`).text(e=>e.data.name).each(function(e){const c=Z(this),m=e.x1-e.x0,w=e.y1-e.y0,L=c.node(),T=m-2*J,P=w-2*J;if(T<re||P<re){c.style("display","none");return}let y=parseInt(c.style("font-size"),10);const M=.6;for(;L.getComputedTextLength()>T&&y>D;)y--,c.style("font-size",`${y}px`);let F=Math.max(I,Math.min(j,Math.round(y*M))),k=y+K+F;for(;k>P&&y>D&&(y--,F=Math.max(I,Math.min(j,Math.round(y*M))),!(F<I&&y===D));)c.style("font-size",`${y}px`),k=y+K+F;c.style("font-size",`${y}px`),A?(y<D||P<D)&&c.style("display","none"):(L.getComputedTextLength()>T||y<D||P<y)&&c.style("display","none")}),r.showValues!==!1&&U.append("text").attr("class","treemapValue").attr("x",c=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",c=>{const m=`text-anchor: middle; dominant-baseline: hanging; font-size: ${j}px;fill:`+$(c.data.name)+";",w=B({cssCompiledStyles:c.data.cssCompiledStyles});return m+w.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,m)=>`url(#clip-${a}-${m})`).text(c=>c.value?p(c.value):"").each(function(c){const m=Z(this),w=this.parentNode;if(!w){m.style("display","none");return}const L=Z(w).select(".treemapLabel");if(L.empty()||L.style("display")==="none"){m.style("display","none");return}const T=parseFloat(L.style("font-size")),y=Math.max(I,Math.min(j,Math.round(T*.6)));m.style("font-size",`${y}px`);const F=(c.y1-c.y0)/2+T/2+K;m.attr("y",F);const k=c.x1-c.x0,ie=c.y1-c.y0-4,ve=k-2*J;m.node().getComputedTextLength()>ve||F+y>ie||y<I?m.style("display","none"):m.style("display",null)});const ye=r.diagramPadding??8;xe(S,ye,"flowchart",r?.useMaxWidth||!1)},"draw"),ct=C(function(t,a){return a.db.getClasses()},"getClasses"),ht={draw:ot,getClasses:ct},dt={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ut=C(({treemap:t}={})=>{const a=Ce(),l=ae(),n=ee(a,l.themeVariables),s=ee(dt,t),r=s.titleColor??n.titleColor,h=s.labelColor??n.textColor,d=s.valueColor??n.textColor;return`
|
|
2
2
|
.treemapNode.section {
|
|
3
3
|
stroke: ${s.sectionStrokeColor};
|
|
4
4
|
stroke-width: ${s.sectionStrokeWidth};
|