@intent-hq/web 2.381.1 → 2.383.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/assets/0.BmwjvpSF.css +1 -0
- package/web/app/immutable/chunks/{rlD8zTU3.js → -K3ARgq0.js} +1 -1
- package/web/app/immutable/chunks/{3XnvT-Kd.js → 0HRWclfL.js} +1 -1
- package/web/app/immutable/chunks/{BT90ga2C.js → 1WR8MecL.js} +3 -3
- package/web/app/immutable/chunks/{DB7oVHuD.js → 1mf839wD.js} +1 -1
- package/web/app/immutable/chunks/{BJZ-AKM7.js → 3xK9OOJy.js} +1 -1
- package/web/app/immutable/chunks/{DY591siF.js → 4BrIaRe_.js} +1 -1
- package/web/app/immutable/chunks/{BsQIXjo5.js → 518Fef2L.js} +1 -1
- package/web/app/immutable/chunks/{xqiJuTcv.js → 6-uYidyP.js} +3 -3
- package/web/app/immutable/chunks/{USTHbXMy.js → 68Tuqjp3.js} +1 -1
- package/web/app/immutable/chunks/{BLQTrVGe.js → 6Bqipt1r.js} +1 -1
- package/web/app/immutable/chunks/{kR4OBGp8.js → 7UPrdiE9.js} +1 -1
- package/web/app/immutable/chunks/{CpdYwtoi.js → 8r75D0ru.js} +1 -1
- package/web/app/immutable/chunks/{X9YPou2Z.js → 9bukzQMK.js} +1 -1
- package/web/app/immutable/chunks/{BLNFLvET.js → 9gSjzhYc.js} +1 -1
- package/web/app/immutable/chunks/A9niI_uA.js +1 -0
- package/web/app/immutable/chunks/{jVDPtQ_B.js → AlEhxd2n.js} +1 -1
- package/web/app/immutable/chunks/{DKdhqmQ1.js → B-ef1MlI.js} +1 -1
- package/web/app/immutable/chunks/{DfgbnmD4.js → B2Ym4lhl.js} +1 -1
- package/web/app/immutable/chunks/{CrgJRVM7.js → B2f9w8eB.js} +1 -1
- package/web/app/immutable/chunks/{slJf1fOP.js → B2kb4xeF.js} +1 -1
- package/web/app/immutable/chunks/{Xo-qyHto.js → B2nCyo89.js} +1 -1
- package/web/app/immutable/chunks/{Bgbd1ReH.js → B3Bfek34.js} +1 -1
- package/web/app/immutable/chunks/{UxmdIyM3.js → B4SiDSWP.js} +1 -1
- package/web/app/immutable/chunks/{BLsG1dF4.js → B4WuQori.js} +1 -1
- package/web/app/immutable/chunks/{JYrw96gg.js → B4xSB_Hx.js} +1 -1
- package/web/app/immutable/chunks/{DVvIWU27.js → B5M0SkuR.js} +1 -1
- package/web/app/immutable/chunks/{Bj3DquZA.js → B6S6VNu7.js} +1 -1
- package/web/app/immutable/chunks/{Dp0abKpi.js → B6STvYyK.js} +1 -1
- package/web/app/immutable/chunks/{DXdISsBM.js → B8-Q1tED.js} +1 -1
- package/web/app/immutable/chunks/{sTf2KW7l.js → B9oKJyXc.js} +1 -1
- package/web/app/immutable/chunks/{BLWXcpbp.js → BA-rwlhs.js} +1 -1
- package/web/app/immutable/chunks/{Cvrwd8gY.js → BAKPnd3w.js} +1 -1
- package/web/app/immutable/chunks/{HhPY-joW.js → BAOaoX22.js} +1 -1
- package/web/app/immutable/chunks/{DR9or2eV.js → BE6Cp7Qp.js} +1 -1
- package/web/app/immutable/chunks/{DquvKa_v.js → BETzmOvF.js} +1 -1
- package/web/app/immutable/chunks/{BYlWQ5uL.js → BFEzojY2.js} +1 -1
- package/web/app/immutable/chunks/{ajSGSfsK.js → BFIcslMA.js} +2 -2
- package/web/app/immutable/chunks/{Bp1r8JRc.js → BFeEPayU.js} +1 -1
- package/web/app/immutable/chunks/{CzR1YU-6.js → BG9tvqwj.js} +1 -1
- package/web/app/immutable/chunks/{CKJKyFn1.js → BGTRTFMR.js} +1 -1
- package/web/app/immutable/chunks/BIVeXMBl.js +1 -0
- package/web/app/immutable/chunks/{BQPwOHEP.js → BJWt3PU_.js} +1 -1
- package/web/app/immutable/chunks/{CzLuqZqF.js → BJ_CKcUH.js} +1 -1
- package/web/app/immutable/chunks/{Bq_p_Ems.js → BO_DS0RP.js} +1 -1
- package/web/app/immutable/chunks/{9V11pA6D.js → BP3Sccje.js} +1 -1
- package/web/app/immutable/chunks/{BpCFoetp.js → BP4Hm_tD.js} +2 -2
- package/web/app/immutable/chunks/{I8y42gEP.js → BP5uGGO_.js} +1 -1
- package/web/app/immutable/chunks/{B980ED3o.js → BPL5Fo2b.js} +1 -1
- package/web/app/immutable/chunks/{UeBqzVae.js → BSKFIBj2.js} +1 -1
- package/web/app/immutable/chunks/{CniyTwSy.js → BSKf8bnG.js} +1 -1
- package/web/app/immutable/chunks/{CKZotIw1.js → BTrqJIJZ.js} +1 -1
- package/web/app/immutable/chunks/{hP6WjVR_.js → BUGeL7WE.js} +1 -1
- package/web/app/immutable/chunks/{DXrfRfkt.js → BUQUek8g.js} +1 -1
- package/web/app/immutable/chunks/{H3A5gXqL.js → BURZJh0r.js} +1 -1
- package/web/app/immutable/chunks/{D6JftAWR.js → BWGnuS1v.js} +1 -1
- package/web/app/immutable/chunks/{B_uN9rMf.js → BWYuMy_r.js} +1 -1
- package/web/app/immutable/chunks/{9JSrE4qA.js → BX-0SVP7.js} +1 -1
- package/web/app/immutable/chunks/{BSsARSCL.js → BX-LCSle.js} +1 -1
- package/web/app/immutable/chunks/{Ctra6UYY.js → BYq9VtBF.js} +1 -1
- package/web/app/immutable/chunks/{Cz_w-Ywk.js → B_LcgbLl.js} +1 -1
- package/web/app/immutable/chunks/{knotK2ne.js → Ba8ctcpl.js} +1 -1
- package/web/app/immutable/chunks/{E8rxDAT1.js → BaujsV9k.js} +1 -1
- package/web/app/immutable/chunks/{BLscL4Oc.js → BcpfdNy8.js} +1 -1
- package/web/app/immutable/chunks/{D0qSwFDo.js → BeNn_MBw.js} +1 -1
- package/web/app/immutable/chunks/{BVy9T_0R.js → BeOwB_6G.js} +1 -1
- package/web/app/immutable/chunks/{DC7d3jq1.js → BfojStRz.js} +1 -1
- package/web/app/immutable/chunks/{DB3Bmw2z.js → BfvZe-kN.js} +6 -6
- package/web/app/immutable/chunks/{D2YsfEw1.js → Bir0Y4gf.js} +2 -2
- package/web/app/immutable/chunks/{CzqO4uZr.js → BlDljC9y.js} +1 -1
- package/web/app/immutable/chunks/{KkEpTlxU.js → BmTMWrby.js} +1 -1
- package/web/app/immutable/chunks/{CGj6Uov1.js → BmUPAQa9.js} +1 -1
- package/web/app/immutable/chunks/{C2g3Lo3C.js → Bn880vDO.js} +1 -1
- package/web/app/immutable/chunks/{Cf8aoN1C.js → Bs2WE18g.js} +1 -1
- package/web/app/immutable/chunks/{1s9RpAop.js → Bs9K_x5H.js} +1 -1
- package/web/app/immutable/chunks/{CyjFr4Uj.js → BsN2abqQ.js} +1 -1
- package/web/app/immutable/chunks/{RaqCYvDN.js → Bsh6nUhU.js} +1 -1
- package/web/app/immutable/chunks/{BaZj7GlE.js → BsrrIQeo.js} +1 -1
- package/web/app/immutable/chunks/{0vwP6aoY.js → BtTA7CNV.js} +1 -1
- package/web/app/immutable/chunks/{D52zd84i.js → Bty1UglO.js} +1 -1
- package/web/app/immutable/chunks/{DlstVUk2.js → Bu7LYnzn.js} +1 -1
- package/web/app/immutable/chunks/{ChaE0Y8J.js → Bvi-fRGz.js} +1 -1
- package/web/app/immutable/chunks/{BkBSmJUq.js → BwG2vfja.js} +1 -1
- package/web/app/immutable/chunks/{C2dHQtwl.js → BxEf7uwl.js} +1 -1
- package/web/app/immutable/chunks/{CtZ1IYsK.js → BxJ6X-Sl.js} +1 -1
- package/web/app/immutable/chunks/{D6CLCSlZ.js → BypvqIQM.js} +1 -1
- package/web/app/immutable/chunks/{CB6Z_HaZ.js → Bz7R1ahj.js} +4 -4
- package/web/app/immutable/chunks/{B6bO9EJF.js → C0I_aIej.js} +2 -2
- package/web/app/immutable/chunks/C0QTy0Sy.js +1 -0
- package/web/app/immutable/chunks/{28TA1ENQ.js → C1EvfTg-.js} +1 -1
- package/web/app/immutable/chunks/{CUFtLdNE.js → C45U06qp.js} +1 -1
- package/web/app/immutable/chunks/{AD36Gg-c.js → C4JXGtw1.js} +1 -1
- package/web/app/immutable/chunks/{DyaiD9SI.js → C4JbSg3f.js} +1 -1
- package/web/app/immutable/chunks/{D9gwBpya.js → C4QKwtCH.js} +1 -1
- package/web/app/immutable/chunks/{CsChyIko.js → C5yhcKTW.js} +1 -1
- package/web/app/immutable/chunks/{D2ucd7-d.js → C6mS8uZB.js} +1 -1
- package/web/app/immutable/chunks/{gpDHnGWw.js → C7LIHk5_.js} +1 -1
- package/web/app/immutable/chunks/{AgrSZR3a.js → C8HkqBCb.js} +1 -1
- package/web/app/immutable/chunks/{ZP6gzzK7.js → C8y9EItt.js} +1 -1
- package/web/app/immutable/chunks/{B4rSPxtK.js → CAgnBDaV.js} +3 -3
- package/web/app/immutable/chunks/{CP-_1bDH.js → CAvYeStH.js} +1 -1
- package/web/app/immutable/chunks/{BsgE1xt5.js → CCqqosml.js} +1 -1
- package/web/app/immutable/chunks/{CnCrlmvG.js → CDK_hSiv.js} +1 -1
- package/web/app/immutable/chunks/{CoK_zZhC.js → CDjpuJh0.js} +1 -1
- package/web/app/immutable/chunks/{CRsl30lG.js → CE7VCun2.js} +3 -3
- package/web/app/immutable/chunks/{ZYFxZ-3Z.js → CE7dsja4.js} +1 -1
- package/web/app/immutable/chunks/{hALpfjsp.js → CEgeN2ws.js} +1 -1
- package/web/app/immutable/chunks/{B4CIsRmR.js → CFny5dMa.js} +1 -1
- package/web/app/immutable/chunks/{-38fvEUf.js → CFvBUo4R.js} +3 -3
- package/web/app/immutable/chunks/{D1o5arZx.js → CHLX1QZz.js} +1 -1
- package/web/app/immutable/chunks/{g4HdeOyY.js → CJ4Z96pe.js} +1 -1
- package/web/app/immutable/chunks/{BEm2fXhQ.js → CMrw-y4l.js} +13 -13
- package/web/app/immutable/chunks/{CJrYHCFr.js → CMu-09q3.js} +1 -1
- package/web/app/immutable/chunks/{BWJ3Ll2m.js → CNAgTnv2.js} +1 -1
- package/web/app/immutable/chunks/{DB1dtbA3.js → CO5zWp8I.js} +1 -1
- package/web/app/immutable/chunks/{D4x27t3J.js → COhRCR9P.js} +2 -2
- package/web/app/immutable/chunks/CPQ-kfy2.js +1 -0
- package/web/app/immutable/chunks/{DCYhtokL.js → CPTZJWC9.js} +1 -1
- package/web/app/immutable/chunks/{-kDxv2do.js → CRZZ_hOy.js} +1 -1
- package/web/app/immutable/chunks/CRs9zG2A.js +1 -0
- package/web/app/immutable/chunks/{ChDGxCqG.js → CSRYV6LQ.js} +1 -1
- package/web/app/immutable/chunks/{BLLwaxf_.js → CSVgdt55.js} +1 -1
- package/web/app/immutable/chunks/{BVCuuPr4.js → CU5jKGma.js} +1 -1
- package/web/app/immutable/chunks/{Dcys5Bs9.js → CUkDMZwP.js} +1 -1
- package/web/app/immutable/chunks/{8PuV5ymR.js → CXS2Ba3S.js} +1 -1
- package/web/app/immutable/chunks/{BzjWLlGO.js → CY4fyoCV.js} +1 -1
- package/web/app/immutable/chunks/{B_8LEprc.js → CYtPXqgK.js} +1 -1
- package/web/app/immutable/chunks/C_1hI7HP.js +1 -0
- package/web/app/immutable/chunks/{D23FNw3u.js → C_78iNNC.js} +1 -1
- package/web/app/immutable/chunks/{TFS2YmzU.js → C_KuQ05a.js} +1 -1
- package/web/app/immutable/chunks/{AfLmLM1t.js → CbqxWBi7.js} +1 -1
- package/web/app/immutable/chunks/{CD3IL4AL.js → Cf4fmkfL.js} +1 -1
- package/web/app/immutable/chunks/{BUeOnhAk.js → ChTVnFH2.js} +1 -1
- package/web/app/immutable/chunks/{hUT_i5Of.js → CiMmbOsB.js} +1 -1
- package/web/app/immutable/chunks/{MkXmO5mC.js → CjTo2K46.js} +1 -1
- package/web/app/immutable/chunks/{CfNCBmxL.js → CkA2ItLw.js} +1 -1
- package/web/app/immutable/chunks/{C6qkTCJb.js → Cmq0pZIQ.js} +2 -2
- package/web/app/immutable/chunks/{DkPChqhY.js → CmrjfWYI.js} +1 -1
- package/web/app/immutable/chunks/{BOKKr5p4.js → Co4vj0dC.js} +1 -1
- package/web/app/immutable/chunks/{DckZnmoo.js → Cqa6LF3b.js} +1 -1
- package/web/app/immutable/chunks/CqcqWJoa.js +1 -0
- package/web/app/immutable/chunks/CrD0jtXE.js +1 -0
- package/web/app/immutable/chunks/{D7ivqtWn.js → CrkMZYjb.js} +1 -1
- package/web/app/immutable/chunks/{gWgQT-YB.js → Cs2lHsyA.js} +1 -1
- package/web/app/immutable/chunks/{Cgkbg4M-.js → Csc9ETIC.js} +1 -1
- package/web/app/immutable/chunks/{CfnphW7T.js → CtNkh9GR.js} +1 -1
- package/web/app/immutable/chunks/{BuBupv2q.js → Ct_q9q1G.js} +1 -1
- package/web/app/immutable/chunks/{C62h6h6n.js → Ctbo6mXV.js} +1 -1
- package/web/app/immutable/chunks/{nvUE_ize.js → CuW3cq2w.js} +1 -1
- package/web/app/immutable/chunks/{Bsz-lZyy.js → CuewocoW.js} +1 -1
- package/web/app/immutable/chunks/{Bv-NFhbk.js → CxOmNieJ.js} +1 -1
- package/web/app/immutable/chunks/D-zjf2Af.js +1 -0
- package/web/app/immutable/chunks/{CQm33fWh.js → D37getya.js} +1 -1
- package/web/app/immutable/chunks/{8k-S4TgT.js → D3O8Vtuw.js} +1 -1
- package/web/app/immutable/chunks/{CzjLJAvm.js → D3p_bZm7.js} +1 -1
- package/web/app/immutable/chunks/{Bm4rkyWb.js → D51XIZYq.js} +1 -1
- package/web/app/immutable/chunks/{Dhh8ebG4.js → D5tDp1i8.js} +1 -1
- package/web/app/immutable/chunks/{DnHw1VUT.js → D5xMHmv3.js} +1 -1
- package/web/app/immutable/chunks/{lMHzRxIi.js → D6dlPeEM.js} +1 -1
- package/web/app/immutable/chunks/{XYL7cKn8.js → D73nBZuu.js} +1 -1
- package/web/app/immutable/chunks/{BTXNTren.js → D8ohaX19.js} +1 -1
- package/web/app/immutable/chunks/{C7CLfLlz.js → D9XKwVJX.js} +3 -3
- package/web/app/immutable/chunks/{Dt46PcSf.js → DA5opfEp.js} +1 -1
- package/web/app/immutable/chunks/{CW4mCrDo.js → DB7RVYiL.js} +1 -1
- package/web/app/immutable/chunks/{D86Nkl0p.js → DC8keNAk.js} +1 -1
- package/web/app/immutable/chunks/DCK8dPAL.js +1 -0
- package/web/app/immutable/chunks/{CWzES__t.js → DCRuihKm.js} +2 -2
- package/web/app/immutable/chunks/{vFkcanNO.js → DE7dSDHO.js} +1 -1
- package/web/app/immutable/chunks/DEVX5wOm.js +2 -0
- package/web/app/immutable/chunks/{Be_KPn6B.js → DF2_1gr9.js} +1 -1
- package/web/app/immutable/chunks/{CxfgkyeR.js → DFcppVBl.js} +1 -1
- package/web/app/immutable/chunks/{qgFvgidh.js → DGa13zF2.js} +1 -1
- package/web/app/immutable/chunks/{CFQZwmQL.js → DIFhl0he.js} +1 -1
- package/web/app/immutable/chunks/{C81BxYgH.js → DIG1mTAN.js} +2 -2
- package/web/app/immutable/chunks/{DxUAR435.js → DIKTPgAK.js} +1 -1
- package/web/app/immutable/chunks/{CmfV8NZB.js → DK-ttWlY.js} +1 -1
- package/web/app/immutable/chunks/{B3dKFpC0.js → DKHY8q_S.js} +1 -1
- package/web/app/immutable/chunks/{DJvjiyr0.js → DLbcryNV.js} +1 -1
- package/web/app/immutable/chunks/{C4w1ocT0.js → DLwWVKiF.js} +1 -1
- package/web/app/immutable/chunks/{CIzhESxA.js → DMDFfHqn.js} +3 -3
- package/web/app/immutable/chunks/{BFly3ws-.js → DMQmPhTl.js} +1 -1
- package/web/app/immutable/chunks/{DPCx8xD6.js → DN6OUhsP.js} +1 -1
- package/web/app/immutable/chunks/{4gpsTQgm.js → DO19lrhU.js} +1 -1
- package/web/app/immutable/chunks/{BOnuoCKB.js → DOEI9gYY.js} +1 -1
- package/web/app/immutable/chunks/{CRUti2QR.js → DPA45OJk.js} +1 -1
- package/web/app/immutable/chunks/{CKr5-Hg3.js → DPYlDye0.js} +1 -1
- package/web/app/immutable/chunks/{B54UFMTd.js → DQ_mNIfK.js} +1 -1
- package/web/app/immutable/chunks/{DhnxjslI.js → DR4Kh2SL.js} +1 -1
- package/web/app/immutable/chunks/{Btz1TKUZ.js → DSbNJBwA.js} +1 -1
- package/web/app/immutable/chunks/{B7VggIw3.js → DTuql3Rj.js} +1 -1
- package/web/app/immutable/chunks/{DMxvL2pq.js → DUIwUF5m.js} +1 -1
- package/web/app/immutable/chunks/{inhLOPTf.js → DVROSXw1.js} +1 -1
- package/web/app/immutable/chunks/{CHJt826g.js → DWWC1JsA.js} +1 -1
- package/web/app/immutable/chunks/{Br6yAYVA.js → DWiU4388.js} +1 -1
- package/web/app/immutable/chunks/{CgpdD1It.js → DX-Wrapd.js} +1 -1
- package/web/app/immutable/chunks/{CQuPTgh8.js → DXBEIeJu.js} +1 -1
- package/web/app/immutable/chunks/{DhyB8cWp.js → DY0qeQe8.js} +1 -1
- package/web/app/immutable/chunks/{IOg1fqVg.js → D_Xpj-6r.js} +1 -1
- package/web/app/immutable/chunks/{B3AvPO6N.js → D_ovLyyd.js} +1 -1
- package/web/app/immutable/chunks/{DNA4L5Jp.js → Db3Wob9h.js} +1 -1
- package/web/app/immutable/chunks/{YE1OS8p7.js → DdXBqrnq.js} +1 -1
- package/web/app/immutable/chunks/{DILbaYr6.js → DeHvIzqj.js} +2 -2
- package/web/app/immutable/chunks/{D-5-znQa.js → Dfg3lB2h.js} +1 -1
- package/web/app/immutable/chunks/{yrTkKoBE.js → Djp7mdlG.js} +1 -1
- package/web/app/immutable/chunks/{C1XDNSjC.js → DjxLojU4.js} +1 -1
- package/web/app/immutable/chunks/{BYbQHOnI.js → DlJZrxef.js} +2 -2
- package/web/app/immutable/chunks/{CzHEtjeZ.js → DliHiH6M.js} +4 -4
- package/web/app/immutable/chunks/{BfUxKqM2.js → Dlk4BhFg.js} +1 -1
- package/web/app/immutable/chunks/{BHq6uyQn.js → DlliJA4a.js} +3 -3
- package/web/app/immutable/chunks/{BRdcQc7W.js → DnJ4jlPB.js} +1 -1
- package/web/app/immutable/chunks/{DKodLYG2.js → DpHn84BV.js} +1 -1
- package/web/app/immutable/chunks/{Cyhzjl1i.js → DpMOdl0E.js} +1 -1
- package/web/app/immutable/chunks/{DYLppqi3.js → DpyfxjgC.js} +1 -1
- package/web/app/immutable/chunks/{CTcVaot6.js → Dqdvt4Zr.js} +1 -1
- package/web/app/immutable/chunks/{BVEUKKxL.js → DrIA1Azf.js} +1 -1
- package/web/app/immutable/chunks/{OMC6eTGJ.js → DrxfcnSy.js} +1 -1
- package/web/app/immutable/chunks/{bDc4vYO6.js → DsGUBv3k.js} +1 -1
- package/web/app/immutable/chunks/{D366u1LV.js → Dsr4GELp.js} +1 -1
- package/web/app/immutable/chunks/DtF9DVpp.js +1 -0
- package/web/app/immutable/chunks/{Cwtu6VYt.js → DvSURWC2.js} +4 -4
- package/web/app/immutable/chunks/{WdrvDKDu.js → DvUGkiYP.js} +1 -1
- package/web/app/immutable/chunks/{CV2UmF1c.js → DvYUfzNR.js} +1 -1
- package/web/app/immutable/chunks/{fXL9w3mE.js → Dw8wIAFi.js} +1 -1
- package/web/app/immutable/chunks/{a_kJM7V2.js → DwL1A1su.js} +1 -1
- package/web/app/immutable/chunks/{4nji41bN.js → DzWZGIya.js} +1 -1
- package/web/app/immutable/chunks/{2D4U7uPQ.js → EK6zOAHM.js} +1 -1
- package/web/app/immutable/chunks/{yF7QjJ_G.js → FzlZUztb.js} +1 -1
- package/web/app/immutable/chunks/{BPvvII1k.js → IQ13JH5A.js} +1 -1
- package/web/app/immutable/chunks/{DY4WElxT.js → J8_M56d9.js} +1 -1
- package/web/app/immutable/chunks/{H-xSbRy8.js → KHteWVFN.js} +1 -1
- package/web/app/immutable/chunks/{DhaMRyeZ.js → KYuLFpkq.js} +1 -1
- package/web/app/immutable/chunks/{DhClgUfO.js → L4HdMFBq.js} +1 -1
- package/web/app/immutable/chunks/{j9OUTvTs.js → L7j-Q29w.js} +1 -1
- package/web/app/immutable/chunks/{ByHhzwUN.js → L_tYoUCb.js} +1 -1
- package/web/app/immutable/chunks/{GZSCGAOr.js → M5Dwuu-X.js} +1 -1
- package/web/app/immutable/chunks/{l7z39TjX.js → No1eCFy3.js} +1 -1
- package/web/app/immutable/chunks/{DVrV2vUr.js → OFhgRaUm.js} +1 -1
- package/web/app/immutable/chunks/{BU7_DTqK.js → OtomGvb3.js} +1 -1
- package/web/app/immutable/chunks/{Dben3Vvx.js → PIgqsYsQ.js} +1 -1
- package/web/app/immutable/chunks/{CUDnr_3L.js → PO_5m99x.js} +1 -1
- package/web/app/immutable/chunks/{CBw6a9pd.js → QeBH-DWE.js} +1 -1
- package/web/app/immutable/chunks/{DuvW08Hb.js → RFsxwSsB.js} +1 -1
- package/web/app/immutable/chunks/{e7p1l6GD.js → S845NCb3.js} +1 -1
- package/web/app/immutable/chunks/{oYYFJMSc.js → S8ugWfAx.js} +1 -1
- package/web/app/immutable/chunks/{BQ64OnCJ.js → U9jJmfYa.js} +1 -1
- package/web/app/immutable/chunks/{D43zGYhv.js → U_OQY9n3.js} +1 -1
- package/web/app/immutable/chunks/{Cz7GhlNv.js → UhL0ohiG.js} +1 -1
- package/web/app/immutable/chunks/{DBVO-l07.js → W2WLehNu.js} +1 -1
- package/web/app/immutable/chunks/{BOsxbVPk.js → XCWZeNYo.js} +1 -1
- package/web/app/immutable/chunks/{BkXh63u1.js → Y5Ky10uA.js} +1 -1
- package/web/app/immutable/chunks/{CzVoIrDK.js → _SYFiE9N.js} +1 -1
- package/web/app/immutable/chunks/{Dnn3SS66.js → a3TFelkn.js} +1 -1
- package/web/app/immutable/chunks/baWz1QxB.js +19 -0
- package/web/app/immutable/chunks/{BdqQb89H.js → bhKPSdq4.js} +1 -1
- package/web/app/immutable/chunks/{BM6PvXts.js → c5QZsH9t.js} +1 -1
- package/web/app/immutable/chunks/{CJiiUUa9.js → cebxNJuC.js} +4 -4
- package/web/app/immutable/chunks/{CK_3Sd-p.js → chjnSxvZ.js} +1 -1
- package/web/app/immutable/chunks/{BqImHrtW.js → duDdSCAT.js} +1 -1
- package/web/app/immutable/chunks/{DmCQ-SmI.js → eElW3aeh.js} +1 -1
- package/web/app/immutable/chunks/{BfWybjMv.js → eQVXRlbn.js} +1 -1
- package/web/app/immutable/chunks/{toxSFGnz.js → eTsHzcIE.js} +3 -3
- package/web/app/immutable/chunks/{D7eOxNs7.js → ebbVP0tp.js} +1 -1
- package/web/app/immutable/chunks/{vTqsHLsg.js → f24VwgrA.js} +1 -1
- package/web/app/immutable/chunks/{jPkbSYRO.js → fiz8N_zQ.js} +1 -1
- package/web/app/immutable/chunks/{CY84Iq8-.js → hHMYoFyG.js} +1 -1
- package/web/app/immutable/chunks/{Dp30WbTf.js → haN7a3Sc.js} +1 -1
- package/web/app/immutable/chunks/{BzHupLIV.js → hb4NYXGo.js} +1 -1
- package/web/app/immutable/chunks/{B6QMsHdz.js → jcl0zObl.js} +2 -2
- package/web/app/immutable/chunks/{Bv4WoH6n.js → jn4zbMQy.js} +1 -1
- package/web/app/immutable/chunks/k0JmlCVk.js +2 -0
- package/web/app/immutable/chunks/{BRQE3Dlo.js → kS6Z7jzP.js} +1 -1
- package/web/app/immutable/chunks/{DYeLRr67.js → kjxbkPQZ.js} +1 -1
- package/web/app/immutable/chunks/{BqvIfFJz.js → lJeex2Gh.js} +1 -1
- package/web/app/immutable/chunks/{CU1be4rw.js → lVh2oAeQ.js} +1 -1
- package/web/app/immutable/chunks/{CY700US_.js → lwlI9u_5.js} +1 -1
- package/web/app/immutable/chunks/{0UjerFq2.js → nXfD7jHz.js} +2 -2
- package/web/app/immutable/chunks/{yD1qfwqe.js → ozVAo4aX.js} +1 -1
- package/web/app/immutable/chunks/{DI8QKtVI.js → p9X2tUBM.js} +1 -1
- package/web/app/immutable/chunks/{DjuGqsic.js → pYQh_Bw_.js} +1 -1
- package/web/app/immutable/chunks/{HM9LwZU0.js → puJFvQs5.js} +1 -1
- package/web/app/immutable/chunks/{usTkJVfb.js → pwJelZzH.js} +1 -1
- package/web/app/immutable/chunks/{DtNzpjBe.js → sdV4t8T0.js} +1 -1
- package/web/app/immutable/chunks/{BSk8D9GU.js → tZyAiGvb.js} +1 -1
- package/web/app/immutable/chunks/{DmuzFYIt.js → tr-2J8Mf.js} +1 -1
- package/web/app/immutable/chunks/{ycYrIJUe.js → ujhgjK1k.js} +1 -1
- package/web/app/immutable/chunks/{DcAxjOOO.js → v0ybYtGc.js} +1 -1
- package/web/app/immutable/chunks/{CnjoHxxj.js → viB2mzAd.js} +1 -1
- package/web/app/immutable/chunks/{DMS7qNz0.js → wIMcEpgB.js} +1 -1
- package/web/app/immutable/chunks/{B4bWz8TE.js → wUSGg9l9.js} +1 -1
- package/web/app/immutable/chunks/{C8dtRdbV.js → wl2qP2wF.js} +1 -1
- package/web/app/immutable/chunks/{Ujg0_O3U.js → yFcbscNn.js} +1 -1
- package/web/app/immutable/entry/app.PfV9Bd5g.js +4 -0
- package/web/app/immutable/entry/start.kviRYMjm.js +1 -0
- package/web/app/immutable/nodes/{0.D0qyvy-O.js → 0.N3QFhxpx.js} +1 -1
- package/web/app/immutable/nodes/{1.LQky-UK3.js → 1.Cuki-Q-c.js} +1 -1
- package/web/app/immutable/nodes/{10.Nhiduazn.js → 10.CzZBTiyD.js} +5 -5
- package/web/app/immutable/nodes/{11.DREbA2mH.js → 11.Cc53X5P2.js} +1 -1
- package/web/app/immutable/nodes/{12.DefTUxQP.js → 12.BpXDHhXi.js} +1 -1
- package/web/app/immutable/nodes/{13.BsGZPTKz.js → 13.CCKyw-_o.js} +1 -1
- package/web/app/immutable/nodes/{14.Dp_7Oh7e.js → 14.BD92xFv4.js} +3 -3
- package/web/app/immutable/nodes/{15.nRgFCYhv.js → 15.D2GMHiSb.js} +1 -1
- package/web/app/immutable/nodes/{16.rPw1YP79.js → 16.CVCm-nfj.js} +1 -1
- package/web/app/immutable/nodes/{17.DtGDCNtL.js → 17.CjKvJw8X.js} +1 -1
- package/web/app/immutable/nodes/{18.B0SMSp_6.js → 18.DDY8Eqsn.js} +1 -1
- package/web/app/immutable/nodes/{19.CsA9jU7R.js → 19.DvFJngD4.js} +2 -2
- package/web/app/immutable/nodes/2.B94-26jU.js +13 -0
- package/web/app/immutable/nodes/{20.D8ySW9zx.js → 20.CLsq1QLL.js} +1 -1
- package/web/app/immutable/nodes/{3.C-U8wBjc.js → 3.D7lbuuWp.js} +1 -1
- package/web/app/immutable/nodes/{4.DpFtuYyp.js → 4.YSZzuDIT.js} +1 -1
- package/web/app/immutable/nodes/5.ymicNL_Y.js +1 -0
- package/web/app/immutable/nodes/{6.CJXz9NV9.js → 6.CtS0PFqR.js} +1 -1
- package/web/app/immutable/nodes/{7.CwETavlw.js → 7.BVAyauMB.js} +1 -1
- package/web/app/immutable/nodes/{8.BvZJcCeO.js → 8.CHlBOO6u.js} +1 -1
- package/web/app/immutable/nodes/9.CNAqB0x1.js +14 -0
- package/web/app/immutable/workers/html-file-preview.worker-BfFljPK-.js +1 -0
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +19 -19
- package/web/app/immutable/assets/0.0X62H1ck.css +0 -1
- package/web/app/immutable/chunks/2mW3EYuj.js +0 -2
- package/web/app/immutable/chunks/3Mdoz-0Q.js +0 -1
- package/web/app/immutable/chunks/4Z3UfkCT.js +0 -19
- package/web/app/immutable/chunks/B99V9IVM.js +0 -1
- package/web/app/immutable/chunks/BOfUqw1E.js +0 -1
- package/web/app/immutable/chunks/BbxnpQro.js +0 -2
- package/web/app/immutable/chunks/BzqLLx6k.js +0 -1
- package/web/app/immutable/chunks/Cu02Aeaa.js +0 -1
- package/web/app/immutable/chunks/Cy2YclRs.js +0 -1
- package/web/app/immutable/chunks/D7WlKDTE.js +0 -1
- package/web/app/immutable/chunks/DHAYseFs.js +0 -1
- package/web/app/immutable/chunks/SfUr14xu.js +0 -1
- package/web/app/immutable/chunks/jELUCNms.js +0 -1
- package/web/app/immutable/chunks/lMUR9XnN.js +0 -1
- package/web/app/immutable/entry/app.BLa4aj6Q.js +0 -4
- package/web/app/immutable/entry/start.bo1Az5Sh.js +0 -1
- package/web/app/immutable/nodes/2.BmzudLkh.js +0 -13
- package/web/app/immutable/nodes/5.DFB1aYNI.js +0 -1
- package/web/app/immutable/nodes/9.CJeInbIt.js +0 -12
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t as Vt,bo as ee,_ as Xr,bw as zt,bs as ce,bq as ir,b as At,bm as c}from"./3Mdoz-0Q.js";import{bs as Wt,ca as pe,aD as e,bH as f,a5 as T,bA as x,W as l,bn as Nt,bV as N,c9 as n,aA as te,c6 as jt,ay as ne,be as Ze,b$ as tt,b_ as k,bO as g,bS as p,bl as S,aB as P,bj as Gr,aw as rt,ai as Jr,c5 as rr,a as yr,a7 as Ue,aj as gt,cd as Yr,br as Zr}from"./3SdAC2_C.js";import{i as Q}from"./BdqQb89H.js";import{k as Pr}from"./rlD8zTU3.js";import{g as Ct}from"./Bj3DquZA.js";import{c as Rt}from"./Dcys5Bs9.js";import{b as $r}from"./Dn334wJv.js";import{Jv as U,nX as kr,we as Ir,wd as Cr,LL as Qr,LM as ea,eJ as ta,eK as ra,Lb as fr,m5 as Yt,Cx as vr,sG as pr,oj as aa,A2 as oa,ac as gr,K2 as ia,Ki as na,nx as sa,iW as la,nZ as da,vG as ca,Av as ua,La as fa}from"./DmuzFYIt.js";import{g as va}from"./DWGXN6Nr.js";import{a as pa,h as ga,j as ma,c as _a,d as ha,i as wa,e as ba,f as mr,g as xa,b as Zt}from"./D366u1LV.js";import{bO as ya,b$ as Pa,dH as $a}from"./E8rxDAT1.js";import{w as _r,d as ka}from"./wEnqV1Ol.js";import{f as Ia}from"./2D4U7uPQ.js";import{m as Qt}from"./KkEpTlxU.js";import{f as Ce}from"./yF7QjJ_G.js";import{h as Ca}from"./CWzES__t.js";import"./BOfUqw1E.js";import{s as at,g as It,f as hr}from"./kR4OBGp8.js";import{F as et,ac as Sa,au as Fa,aZ as Da,b3 as Ut,ct as Ta,cu as Ea,bm as Ra,cS as Ma,c9 as ja}from"./BQ64OnCJ.js";import{E as Ua,b as La,S as wr}from"./jPkbSYRO.js";import{c as Va}from"./ChTqQfQN.js";import"./UxmdIyM3.js";import{$ as za}from"./BEm2fXhQ.js";import{i as er,b as Aa,a as Wa}from"./H2jLkRRS.js";import{C as ar,p as Na}from"./B7VggIw3.js";import{M as Ba}from"./BHq6uyQn.js";import{l as tr,m as Sr}from"./ZYFxZ-3Z.js";import"./RaqCYvDN.js";import"./CBw6a9pd.js";import{M as Mt}from"./CnCrlmvG.js";import{V as Oa}from"./Cu02Aeaa.js";import{bT as Ha,b7 as qa}from"./inhLOPTf.js";import{g as Ka}from"./Ujg0_O3U.js";import{H as Xa}from"./Bqd7fdCF.js";import{g as Ga,W as Ja}from"./DB1dtbA3.js";import{b as Ya,h as Za}from"./C2dHQtwl.js";import{t as Qa}from"./DC7d3jq1.js";const Fr=U.createSelector((G,w)=>kr(G.pdfPreview.previews,w));var eo=P('<div class="flex shrink-0 flex-wrap items-center justify-center gap-2 border-b border-border p-2"><!> <span aria-live="polite"> </span> <!> <!> <span> </span> <!></div> <div class="min-h-0 flex-1 overflow-auto p-4"><canvas class="mx-auto block" role="img"></canvas></div>',1),to=P('<div class="flex h-full min-h-0 flex-col" data-testid="pdf-viewer"><!></div>');function or(G,w){if(new.target)return Vt({component:or,...G});Wt(w,!0);const ye=()=>ce(we,"$preview",ot),[ot,re]=ir();let y=ee(w,"workspaceId",7),ae=ee(w,"filePath",7),Pe=ee(w,"gitRootId",7);const Se=crypto.randomUUID(),we=Fr(Se),ge=new WeakMap;let Y=N(null),Xe=N(void 0),V=N(1),B=N(1),se=N(!0),me=N(!1),Fe=N(null),A=N(0);const be=n(()=>ye()?.error??e(Fe)),De=n(()=>e(be)==="missing"?c.file_pdf_missing_error():e(be)==="large"?c.file_pdf_large_error():e(be)==="invalid"?c.file_pdf_invalid_error():e(be)==="password"?c.file_pdf_password_error():c.file_pdf_load_error());pe(()=>{const d=y(),I=ae();e(A);const b=crypto.randomUUID();return U.dispatch(Ir(Se,b,d,I,...Pe()?[{gitRootId:Pe()}]:[])),()=>{U.dispatch(Cr(Se,b))}}),pe(()=>{const d=ye()?.url;let I=!1,b;if(f(Y,null),f(Fe,null),f(se,!0),f(V,1),f(B,1),!!d)return(async()=>{try{const{loadPdfDocument:W}=await Xr(async()=>{const{loadPdfDocument:_e}=await import("./cb1JHFKl.js");return{loadPdfDocument:_e}},[],import.meta.url);if(I)return;b=W(d);const M=await b.promise;I||f(Y,M)}catch(W){if(I)return;f(Fe,W instanceof Error&&W.name==="PasswordException"?"password":W instanceof Error&&W.name==="InvalidPDFException"?"invalid":"load",!0)}finally{I||f(se,!1)}})(),()=>{I=!0,b?.destroy()}}),pe(()=>{const d=e(Y),I=e(Xe),b=e(V),W=e(B);if(!d||!I)return;let M=!1,_e,E;const oe=()=>{if(!E)return;const X=(ge.get(E)??1)-1;X?ge.set(E,X):(ge.delete(E),E.cleanup()),E=void 0};return f(me,!0),(async()=>{try{if(E=await d.getPage(b),ge.set(E,(ge.get(E)??0)+1),M){oe();return}const X=E.getViewport({scale:W}),Z=Math.min(window.devicePixelRatio||1,2,Math.sqrt(16e6/(X.width*X.height)));I.width=Math.ceil(X.width*Z),I.height=Math.ceil(X.height*Z),I.style.width=`${X.width}px`,I.style.height=`${X.height}px`,_e=E.render({canvas:I,viewport:X,transform:[Z,0,0,Z,0,0]}),await _e.promise}catch{M||f(Fe,"invalid")}finally{M||f(me,!1)}})(),()=>{M=!0,_e?.cancel(),_e?_e.promise.then(oe,oe):oe()}});var Ne={get workspaceId(){return y()},set workspaceId(d){y(d),te()},get filePath(){return ae()},set filePath(d){ae(d),te()},get gitRootId(){return Pe()},set gitRootId(d){Pe(d),te()},$set:zt,$on:(d,I)=>At(w,d,I)},Le=to(),Be=T(Le);{var o=d=>{{const I=W=>{Ze();var M=tt();k(()=>g(M,e(De))),l(W,M)};let b=n(()=>c.ui_combobox_retry_label());Ua(d,{onRetry:()=>jt(A),get retryLabel(){return e(b)},class:"m-auto",message:I,$$slots:{message:!0}})}},i=d=>{{let I=n(()=>c.file_pdf_loading_label());La(d,{get label(){return e(I)},count:1,class:"p-4"})}},F=d=>{var I=eo(),b=ne(I),W=T(b);{let ue=n(()=>e(V)<=1);Ce(W,{variant:"ghost",size:"compact",get disabled(){return e(ue)},onclick:()=>jt(V,-1),children:(Ee,Ve)=>{Ze();var fe=tt();k(ze=>g(fe,ze),[()=>c.file_pdf_previous_label()]),l(Ee,fe)},$$slots:{default:!0}})}var M=p(W,2),_e=S(M,!0),E=p(M,2);{let ue=n(()=>e(V)>=e(Y).numPages);Ce(E,{variant:"ghost",size:"compact",get disabled(){return e(ue)},onclick:()=>jt(V),children:(Ee,Ve)=>{Ze();var fe=tt();k(ze=>g(fe,ze),[()=>c.file_pdf_next_label()]),l(Ee,fe)},$$slots:{default:!0}})}var oe=p(E,2);{let ue=n(()=>e(B)<=.25);Ce(oe,{variant:"ghost",size:"compact",get disabled(){return e(ue)},onclick:()=>f(B,Math.max(.25,e(B)-.25),!0),children:(Ee,Ve)=>{Ze();var fe=tt();k(ze=>g(fe,ze),[()=>c.editor_fileViewer_zoomOut_tooltip()]),l(Ee,fe)},$$slots:{default:!0}})}var X=p(oe,2),Z=S(X,!0),it=p(X,2);{let ue=n(()=>e(B)>=3);Ce(it,{variant:"ghost",size:"compact",get disabled(){return e(ue)},onclick:()=>f(B,Math.min(3,e(B)+.25),!0),children:(Ee,Ve)=>{Ze();var fe=tt();k(ze=>g(fe,ze),[()=>c.editor_fileViewer_zoomIn_tooltip()]),l(Ee,fe)},$$slots:{default:!0}})}x(b);var nt=p(b,2),st=T(nt);let ut;$r(st,ue=>f(Xe,ue),()=>e(Xe)),x(nt),k((ue,Ee,Ve)=>{g(_e,ue),g(Z,Ee),at(nt,"aria-busy",e(me)),at(st,"aria-label",Ve),ut=It(st,"",ut,{visibility:e(me)?"hidden":"visible"})},[()=>c.file_pdf_page_label({page:tr(e(V)),total:tr(e(Y).numPages)}),()=>Sr(e(B),{style:"percent"}),()=>c.file_pdf_canvas_ariaLabel({name:ae(),page:tr(e(V))})]),l(d,I)};Q(Be,d=>{e(be)?d(o):e(se)||ye()?.status==="loading"?d(i,1):e(Y)&&d(F,2)})}x(Le),l(G,Le);var Te=Nt(Ne);return re(),Te}const ro=U.createSelector((G,w)=>kr(G.videoPreview.previews,w));var ao=P('<p role="status"> </p>'),oo=P('<p role="alert"> </p>'),io=P('<div class="flex flex-col items-center gap-3 p-6 text-center text-sm text-subtle"><p class="break-all"> </p> <!> <!></div>'),no=P('<video controls="" preload="metadata" playsinline="" class="max-w-full max-h-full" data-testid="file-video"> </video>',2),so=P('<div class="min-h-0 flex-1 flex items-center justify-center bg-background"><!></div>');function Dr(G,w){if(new.target)return Vt({component:Dr,...G});Wt(w,!0);const ye=()=>ce(Xe,"$preview",ot),[ot,re]=ir();let y=ee(w,"sourceUrl",7),ae=ee(w,"fileName",7),Pe=ee(w,"allowDownload",7),Se=ee(w,"downloading",7),we=ee(w,"onDownload",7),ge=N(null);const Y=crypto.randomUUID(),Xe=ro(Y),V=n(()=>ye()?.status==="loading"),B=n(()=>e(ge)??ye()?.error);let se=!1,me=!1;Gr(()=>{me=!0,U.dispatch(Qr(Y))});function Fe(){if(me||e(V))return;const i=y().startsWith("workspace-file://")?new URL(y()):null;if(se||!i||!i.pathname.toLowerCase().endsWith(".mp4")){f(ge,"unsupported");return}se=!0,i.searchParams.set("preview","h264"),U.dispatch(ea(Y,i.hostname,i.toString()))}function A(i){if(me)return;const F=i.currentTarget.error?.code;F===2?f(ge,"network"):F!==1&&Fe()}var be={get sourceUrl(){return y()},set sourceUrl(i){y(i),te()},get fileName(){return ae()},set fileName(i){ae(i),te()},get allowDownload(){return Pe()},set allowDownload(i){Pe(i),te()},get downloading(){return Se()},set downloading(i){Se(i),te()},get onDownload(){return we()},set onDownload(i){we(i),te()},$set:zt,$on:(i,F)=>At(w,i,F)},De=so(),Ne=T(De);{var Le=i=>{var F=io(),Te=T(F),d=S(Te,!0),I=p(Te,2);{var b=E=>{var oe=ao(),X=S(oe,!0);k(Z=>g(X,Z),[()=>c.editor_fileViewer_videoPreparing_label()]),l(E,oe)},W=E=>{var oe=oo(),X=S(oe,!0);k(Z=>g(X,Z),[()=>e(B)==="network"?c.editor_fileViewer_videoLoad_error():c.editor_fileViewer_videoUnsupported_label()]),l(E,oe)};Q(I,E=>{e(V)?E(b):E(W,-1)})}var M=p(I,2);{var _e=E=>{Ce(E,{variant:"secondary",size:"sm",get onclick(){return we()},get disabled(){return Se()},children:(oe,X)=>{Ze();var Z=tt();k(it=>g(Z,it),[()=>c.layout_fileTab_downloadFile_label()]),l(oe,Z)},$$slots:{default:!0}})};Q(M,E=>{Pe()&&E(_e)})}x(F),k(()=>g(d,ae())),l(i,F)},Be=i=>{var F=no(),Te=S(F,!0);k(d=>{at(F,"src",ye()?.url??y()),g(Te,d)},[()=>c.editor_fileViewer_videoUnsupported_label()]),rt("error",F,A),rt("loadedmetadata",F,d=>{d.currentTarget.videoWidth===0&&Fe()}),l(i,F)};Q(Ne,i=>{e(B)||e(V)?i(Le):i(Be,-1)})}x(De),l(G,De);var o=Nt(be);return re(),o}var lo=P('<!> <span class="text-xs text-subtle min-w-[50px] text-center"> </span> <!> <div class="w-px h-5 bg-border mx-1"></div>',1),co=P('<div class="min-h-0 flex-1 flex flex-col"><div class="flex items-center gap-2 p-2 border-b border-border bg-muted/30"><!> <!> <div class="w-px h-5 bg-border mx-1"></div> <!> <!> <div class="ml-auto text-xs text-subtle"> </div></div> <div><img draggable="false" class="max-w-full max-h-full object-contain"/></div></div>'),uo=P('<div class="min-h-0 flex-1 flex flex-col"><div class="flex items-center gap-2 p-2 border-b border-border bg-muted/30"><!> <!> <div class="ml-auto text-xs text-subtle"> </div></div> <div><img draggable="false" class="max-w-full max-h-full object-contain"/></div></div>'),fo=P('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19V6l12-3v13M9 19c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zm12-3c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zM9 10l12-3"></path></svg></div> <div class="text-sm text-subtle mb-4"> </div> <audio controls="" class="w-full max-w-md"><source/> </audio></div>'),vo=P("<!> ",1),po=P('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z"></path></svg></div> <p class="text-sm text-subtle mb-4"> </p> <!></div>'),go=P('<th class="border border-border px-2 py-1 text-left text-xs font-medium bg-muted"> </th>'),mo=P('<td class="border border-border px-2 py-1 text-xs"> </td>'),_o=P("<tr></tr>"),ho=P('<div class="flex-1 overflow-auto p-4"><table class="w-full border-collapse"><thead><tr></tr></thead><tbody></tbody></table></div>'),wo=P('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"></path></svg></div> <p class="text-sm text-subtle mb-2"> </p> <p class="text-xs text-subtle"> </p></div>'),bo=P('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z"></path></svg></div> <p class="text-sm text-subtle mb-2"> </p> <p class="text-xs text-subtle"> </p></div>'),xo=P('<div class="h-full flex flex-col"><!></div>');function Lt(G,w){if(new.target)return Vt({component:Lt,...G});Wt(w,!0);const ye=t=>{var a=lo(),u=ne(a);{let O=n(()=>c.editor_fileViewer_zoomOut_tooltip());Ce(u,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:oe,get title(){return e(O)},children:(D,L)=>{et(D,{get icon(){return Ta},size:"sm"})},$$slots:{default:!0}})}var m=p(u,2),h=S(m,!0),R=p(m,2);{let O=n(()=>c.editor_fileViewer_zoomIn_tooltip());Ce(R,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:E,get title(){return e(O)},children:(D,L)=>{et(D,{get icon(){return Ea},size:"sm"})},$$slots:{default:!0}})}Ze(2),k(()=>g(h,e(Fe))),l(t,a)},ot=Va("FileViewer");let re=ee(w,"filePath",7),y=ee(w,"fileContent",7,""),ae=ee(w,"sourceUrl",7),Pe=ee(w,"language",7),Se=ee(w,"isBinary",7),we=ee(w,"allowDownload",7,!0),ge=ee(w,"onDownload",7),Y=ee(w,"downloading",7,!1);const Xe=t=>{const a=t.split(".").pop()?.toLowerCase()||"";return["png","jpg","jpeg","gif","webp","bmp","ico","avif"].includes(a)?"image":a==="svg"?"svg":["mp4","webm","ogg","mov","avi"].includes(a)?"video":["mp3","wav","ogg","m4a","flac"].includes(a)?"audio":a==="pdf"?"pdf":["md","markdown"].includes(a)?"markdown":a==="json"?"json":a==="csv"?"csv":["yaml","yml"].includes(a)?"yaml":a==="xml"?"xml":["zip","tar","gz","rar","7z","bz2"].includes(a)?"archive":["exe","dll","so","dylib","wasm"].includes(a)?"binary":"text"},V=n(()=>Xe(re())),B=n(()=>re().split("/").pop()||c.editor_fileViewer_unknown_fallback());let se=N(100),me=N(0);const Fe=n(()=>Sr(e(se)/100,{style:"percent",maximumFractionDigits:0}));let A=N(!1),be=N(0),De=N(0),Ne=N(0),Le=N(0),Be=N(!1),o=null;function i(){const t=o;o=null,f(Be,!1),t?.viewport.hasPointerCapture(t.pointerId)&&t.viewport.releasePointerCapture(t.pointerId)}function F(t){if(t.button!==0||!t.isPrimary||o)return;const a=t.currentTarget;a.setPointerCapture(t.pointerId),o={pointerId:t.pointerId,x:t.clientX,y:t.clientY,viewport:a},f(Be,!0),t.preventDefault()}function Te(t){if(!(!o||t.pointerId!==o.pointerId)){if((t.buttons&1)===0){i();return}f(Ne,o.viewport.scrollLeft,!0),f(Le,o.viewport.scrollTop,!0),f(be,e(be)+(t.clientX-o.x)),f(De,e(De)+(t.clientY-o.y)),o.x=t.clientX,o.y=t.clientY}}function d(t){t.pointerId===o?.pointerId&&i()}pe(()=>{re(),ae(),e(se),e(me),f(Ne,0),f(Le,0)}),pe(()=>(re(),ae(),rr(()=>{i(),f(be,0),f(De,0)}),i));const I=t=>{const a=t.split(".").pop()?.toLowerCase();return a==="jpg"||a==="jpeg"?"image/jpeg":a==="png"?"image/png":a==="gif"?"image/gif":a==="webp"?"image/webp":"application/octet-stream"},b=t=>{const a=t.split(".").pop()?.toLowerCase();if(a==="mp4")return"video/mp4";if(a==="webm")return"video/webm"},W=()=>{if(ae())return ae();if(typeof y()=="string")return y().startsWith("data:")||y().startsWith("http")?y():Se()?`data:${I(re())};base64,${y()}`:`data:${I(re())};base64,${y()}`;if(y()instanceof ArrayBuffer){const a=new Uint8Array(y()).reduce((m,h)=>m+String.fromCharCode(h),""),u=btoa(a);return`data:${I(re())};base64,${u}`}return""},M=()=>{if(ae())return ae();const t=b(re());if(!t)return"";if(typeof y()=="string")return y().startsWith("data:")||y().startsWith("http")?y():`data:${t};base64,${y()}`;const a=new Uint8Array(y()),u=[],m=32768;for(let h=0;h<a.length;h+=m)u.push(String.fromCharCode(...a.subarray(h,h+m)));return`data:${t};base64,${btoa(u.join(""))}`},_e=()=>{const t=typeof y()=="string"?new TextEncoder().encode(y()):new Uint8Array(y()),a=[],u=32768;for(let m=0;m<t.length;m+=u)a.push(String.fromCharCode(...t.subarray(m,m+u)));return`data:image/svg+xml;base64,${btoa(a.join(""))}`},E=()=>{f(se,Math.min(e(se)+25,500),!0)},oe=()=>{f(se,Math.max(e(se)-25,25),!0)},X=()=>{f(me,(e(me)+90)%360)},Z=()=>{if(!we()||Y())return;if(ge()){ge()();return}const t=document.createElement("a");t.href=e(V)==="video"?M():e(V)==="svg"?_e():W(),t.download=e(B),t.click()},it=async()=>{try{const t=W(),a=new Image;a.crossOrigin="anonymous";const u=await new Promise((m,h)=>{a.onload=()=>{const R=document.createElement("canvas");R.width=a.naturalWidth,R.height=a.naturalHeight;const O=R.getContext("2d");if(!O){h(new Error("Failed to get canvas context"));return}O.drawImage(a,0,0),R.toBlob(D=>{D?m(D):h(new Error("Failed to create blob from canvas"))},"image/png",1)},a.onerror=()=>h(new Error("Failed to load image")),a.src=t});await navigator.clipboard.write([new ClipboardItem({"image/png":u})]),f(A,!0),setTimeout(()=>f(A,!1),2e3)}catch(t){ot.error("Failed to copy image:",t)}},nt=t=>{try{const a=JSON.parse(t);return JSON.stringify(a,null,2)}catch{return t}},st=t=>t.split(`
|
|
2
|
-
`).map(u=>u.split(",").map(m=>m.trim()));var ut={get filePath(){return re()},set filePath(t){re(t),te()},get fileContent(){return y()},set fileContent(t=""){y(t),te()},get sourceUrl(){return ae()},set sourceUrl(t){ae(t),te()},get language(){return Pe()},set language(t){Pe(t),te()},get isBinary(){return Se()},set isBinary(t){Se(t),te()},get allowDownload(){return we()},set allowDownload(t=!0){we(t),te()},get onDownload(){return ge()},set onDownload(t){ge(t),te()},get downloading(){return Y()},set downloading(t=!1){Y(t),te()},$set:zt,$on:(t,a)=>At(w,t,a)},ue=xo();rt("blur",yr,i);var Ee=T(ue);{var Ve=t=>{var a=co(),u=T(a),m=T(u);ye(m);var h=p(m,2);{let he=n(()=>c.editor_fileViewer_rotate_tooltip());Ce(h,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:X,get title(){return e(he)},children:($e,He)=>{et($e,{get icon(){return Sa},size:"sm"})},$$slots:{default:!0}})}var R=p(h,4);{let he=n(()=>c.editor_fileViewer_copyImage_tooltip());Ce(R,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:it,get title(){return e(he)},children:($e,He)=>{var ke=Ue(),Ft=ne(ke);{var Dt=Ie=>{et(Ie,{get icon(){return Fa},size:"sm",class:"text-green-500"})},Je=Ie=>{et(Ie,{get icon(){return Da},size:"sm"})};Q(Ft,Ie=>{e(A)?Ie(Dt):Ie(Je,-1)})}l($e,ke)},$$slots:{default:!0}})}var O=p(R,2);{let he=n(()=>!we()||Y()),$e=n(()=>c.editor_fileViewer_download_tooltip());Ce(O,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:Z,get disabled(){return e(he)},get title(){return e($e)},children:(He,ke)=>{et(He,{get icon(){return Ut},size:"sm"})},$$slots:{default:!0}})}var D=p(O,2),L=S(D,!0);x(u);var H=p(u,2),xe=S(H);x(a),k(he=>{g(L,e(B)),hr(H,1,`relative min-h-0 flex-1 overflow-auto bg-checkered flex items-center justify-center p-4 select-none ${e(Be)?"cursor-grabbing":"cursor-grab"}`,"svelte-1uj35xu"),It(H,`--pan-scroll-x: ${e(Ne)??""}px; --pan-scroll-y: ${e(Le)??""}px;`),at(xe,"src",he),at(xe,"alt",e(B)),It(xe,`translate: ${e(be)??""}px ${e(De)??""}px; transform: scale(${e(se)/100}) rotate(${e(me)??""}deg); transition: transform 0.2s;`)},[()=>W()]),gt("pointerdown",H,F),gt("pointermove",H,Te),gt("pointerup",H,d),rt("pointercancel",H,d),rt("lostpointercapture",H,d),l(t,a)},fe=t=>{var a=uo(),u=T(a),m=T(u);ye(m);var h=p(m,2);{let H=n(()=>!we()||Y()),xe=n(()=>c.editor_fileViewer_download_tooltip());Ce(h,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:Z,get disabled(){return e(H)},get title(){return e(xe)},children:(he,$e)=>{et(he,{get icon(){return Ut},size:"sm"})},$$slots:{default:!0}})}var R=p(h,2),O=S(R,!0);x(u);var D=p(u,2),L=S(D);x(a),k(H=>{g(O,e(B)),hr(D,1,`relative min-h-0 flex-1 overflow-auto bg-checkered flex items-center justify-center p-4 select-none ${e(Be)?"cursor-grabbing":"cursor-grab"}`,"svelte-1uj35xu"),It(D,`--pan-scroll-x: ${e(Ne)??""}px; --pan-scroll-y: ${e(Le)??""}px;`),at(L,"src",H),at(L,"alt",e(B)),It(L,`translate: ${e(be)??""}px ${e(De)??""}px; transform: scale(${e(se)/100});`)},[()=>_e()]),gt("pointerdown",D,F),gt("pointermove",D,Te),gt("pointerup",D,d),rt("pointercancel",D,d),rt("lostpointercapture",D,d),l(t,a)},ze=t=>{const a=n(M);var u=Ue(),m=ne(u);Pr(m,()=>re()+e(a),h=>{Dr(h,{get sourceUrl(){return e(a)},get fileName(){return e(B)},get allowDownload(){return we()},get downloading(){return Y()},onDownload:Z})}),l(t,u)},mt=t=>{var a=fo(),u=p(T(a),2),m=S(u,!0),h=p(u,2),R=T(h),O=p(R);x(h),x(a),k((D,L)=>{g(m,e(B)),at(R,"src",D),g(O,` ${L??""}`)},[()=>W(),()=>c.editor_fileViewer_audioUnsupported_label()]),l(t,a)},Bt=t=>{var a=po(),u=p(T(a),2),m=S(u,!0),h=p(u,2);{let R=n(()=>!we()||Y());Ce(h,{size:"sm",variant:"secondary",onclick:Z,get disabled(){return e(R)},children:(O,D)=>{var L=vo(),H=ne(L);et(H,{get icon(){return Ut},size:"sm",class:"mr-2"});var xe=p(H);k(he=>g(xe,` ${he??""}`),[()=>c.editor_fileViewer_downloadPdf_label()]),l(O,L)},$$slots:{default:!0}})}x(a),k(R=>g(m,R),[()=>c.editor_fileViewer_pdfUnavailable_label()]),l(t,a)},Ot=t=>{{let a=n(()=>nt(y().toString()));ar(t,{get value(){return e(a)},language:"json",get fileName(){return re()},lineNumbers:!0,readOnly:!0})}},Oe=t=>{const a=n(()=>st(y().toString()));var u=ho(),m=T(u),h=T(m),R=T(h);Ct(R,23,()=>e(a)[0]||[],(D,L)=>`header-${L}-${D}`,(D,L)=>{var H=go(),xe=S(H,!0);k(()=>g(xe,e(L))),l(D,H)}),x(R),x(h);var O=p(h);Ct(O,23,()=>e(a).slice(1),(D,L)=>`row-${L}`,(D,L,H)=>{var xe=_o();Ct(xe,23,()=>e(L),(he,$e)=>`cell-${e(H)}-${$e}`,(he,$e)=>{var He=mo(),ke=S(He,!0);k(()=>g(ke,e($e))),l(he,He)}),x(xe),l(D,xe)}),x(O),x(m),x(u),l(t,u)},Ge=t=>{var a=wo(),u=p(T(a),2),m=S(u,!0),h=p(u,2),R=S(h,!0);x(a),k(O=>{g(m,e(B)),g(R,O)},[()=>c.editor_fileViewer_archive_label()]),l(t,a)},Ht=t=>{var a=bo(),u=p(T(a),2),m=S(u,!0),h=p(u,2),R=S(h,!0);x(a),k(O=>{g(m,e(B)),g(R,O)},[()=>c.editor_fileViewer_binary_label()]),l(t,a)},St=t=>{{let a=n(()=>y().toString());ar(t,{get value(){return e(a)},get language(){return Pe()},get fileName(){return re()},lineNumbers:!0,highlightActiveLine:!0})}};Q(Ee,t=>{e(V)==="image"?t(Ve):e(V)==="svg"?t(fe,1):e(V)==="video"?t(ze,2):e(V)==="audio"?t(mt,3):e(V)==="pdf"?t(Bt,4):e(V)==="json"?t(Ot,5):e(V)==="csv"?t(Oe,6):e(V)==="archive"?t(Ge,7):e(V)==="binary"?t(Ht,8):t(St,-1)})}return x(ue),l(G,ue),Nt(ut)}Jr(["pointerdown","pointermove","pointerup"]);const yo=/access denied|permission denied|outside (?:the )?workspace/i,Po=/file not found|no such file or directory/i;function $o(G){return yo.test(G)?"access-denied":G===c.files_read_notFound_error()||Po.test(G)?"not-found":"generic"}function ko(G){switch(G){case"access-denied":return c.layout_fileTab_errorAccessDenied_label();case"not-found":return c.layout_fileTab_errorNotFound_label();case"generic":return c.layout_fileTab_errorGeneric_label()}}var Io=P("<!> <!>",1),Co=P("<!> <!> <!>",1),So=P('<div class="flex flex-col items-center justify-center h-full text-subtle gap-2"><p> </p> <p class="text-xs"> </p></div>'),br=P('<div class="flex h-full items-center justify-center p-4 text-subtle"><p role="alert"> </p></div>'),Fo=P('<div class="flex h-full items-center justify-center text-subtle"><p> </p></div>'),xr=P('<div class="flex items-center justify-center h-full text-subtle"><p> </p></div>'),Do=P('<div class="flex items-center gap-3"><!> <!></div>'),To=P('<div class="flex flex-col h-full"><div class="flex-1 p-4 space-y-2"></div></div>'),Eo=P('<p class="text-xs"> </p>'),Ro=P("<li><!></li>"),Mo=P('<p class="text-xs mt-2"> </p> <ul class="flex flex-col items-center gap-1"></ul>',1),jo=P('<div class="flex flex-col items-center justify-center h-full text-subtle gap-2"><p class="text-danger" role="alert"> </p> <p class="text-xs font-mono"> </p> <!> <!></div>'),Uo=P('<div class="flex flex-col items-center justify-center h-full text-subtle gap-3 p-4"><p> </p> <p class="text-xs break-all"> </p> <!></div>'),Lo=P('<div class="h-full overflow-auto p-4"><!></div>');function Vo(G,w){if(new.target)return Vt({component:Vo,...G});Wt(w,!0);const ye=()=>ce(Ot,"$workspace",A),ot=()=>ce(_e,"$fileContentStore",A),re=()=>ce(E,"$fileLoadingStore",A),y=()=>ce(oe,"$fileSavingStore",A),ae=()=>ce(X,"$fileErrorStore",A),Pe=()=>ce(Z,"$fileErrorInfoStore",A),Se=()=>ce(it,"$homeView$",A),we=()=>ce(nt,"$fileNotFoundCandidatesStore",A),ge=()=>ce(st,"$isFileBinaryStore",A),Y=()=>ce(ut,"$isFileDirtyStore",A),Xe=()=>ce(ue,"$fileLastUpdatedStore",A),V=()=>ce(Ee,"$ftChanges$",A),B=()=>ce(Bt,"$gutterRead$",A),se=()=>ce(Le,"$lineWrapping",A),me=()=>ce(Be,"$diffIndicators",A),Fe=()=>ce(ze,"$rootMediaPreview",A),[A,be]=ir(),De=r=>{var s=Io(),$=ne(s);{var C=de=>{var Ae=Ue(),qe=ne(Ae);Rt(qe,()=>Mt,(pt,xt)=>{xt(pt,{get icon(){return Ra},get label(){return e(he)},disabled:!0})}),l(de,Ae)};Q($,de=>{!e(_t)&&!e(b)&&!e(L)&&de(C)})}var le=p($,2);{var Re=de=>{{let Ae=n(()=>!e(Tt)||!e(Je)),qe=n(()=>!e(b)&&(!e(Tt)||!e(Je)));Oa(de,{embedded:!0,showFold:!1,showSplit:!1,get showPreview(){return e(Tt)},get previewEnabled(){return e(Je)},onTogglePreview:()=>f(Je,!e(Je)),get showWrap(){return e(Ae)},get wrapEnabled(){return se()},onToggleWrap:()=>U.dispatch(na()),get showDiff(){return e(qe)},get diffEnabled(){return me()},onToggleDiff:()=>U.dispatch(ia())})}};Q(le,de=>{o().filePath&&!e(_t)&&!e(L)&&de(Re)})}l(r,s)},Ne=r=>{var s=Ue(),$=ne(s);{var C=le=>{var Re=Co(),de=ne(Re);{var Ae=We=>{var Ye=Ue(),dt=ne(Ye);{let yt=n(()=>c.layout_fileTab_goToChanges_tooltip());Rt(dt,()=>Mt,(Pt,$t)=>{$t(Pt,{get icon(){return ja},get label(){return e(yt)},onclick:zr})})}l(We,Ye)};Q(de,We=>{e(Rr)&&We(Ae)})}var qe=p(de,2);{var pt=We=>{var Ye=Ue(),dt=ne(Ye);{let yt=n(()=>c.layout_fileTab_downloadFile_label()),Pt=n(()=>!e(wt)||e(lt));Rt(dt,()=>Mt,($t,Xt)=>{Xt($t,{get icon(){return Ut},get label(){return e(yt)},onclick:Et,get disabled(){return e(Pt)}})})}l(We,Ye)};Q(qe,We=>{e(Qe)&&We(pt)})}var xt=p(qe,2);{let We=n(()=>c.layout_fileTab_deleteFile_tooltip());Rt(xt,()=>Mt,(Ye,dt)=>{dt(Ye,{get icon(){return Ma},get label(){return e(We)},onclick:Ar,destructive:!0})})}l(le,Re)};Q($,le=>{o().filePath&&!e(_t)&&!e(b)&&le(C)})}l(r,s)},Le=Ha(),Be=qa();let o=ee(w,"tab",7),i=ee(w,"workspaceId",7),F=ee(w,"isActive",7),Te=ee(w,"isPanelFocused",7);pe(()=>{const r=i();if(!(!F()||!r||e(d)))return U.dispatch(ta(r,"files")),()=>U.dispatch(ra(r,"files"))});const d=n(()=>typeof o().data?.gitRootId=="string"?o().data.gitRootId:void 0),I=n(()=>typeof o().data?.gitRootPath=="string"?o().data.gitRootPath:void 0),b=n(()=>!!e(d)),W=n(()=>o().filePath?Ia(o().filePath,e(d)):o().filePath),M=Yr(e(W));pe(()=>{M.set(e(W))});const _e=pa(i(),M),E=ga(i(),M),oe=ma(i(),M),X=_a(i(),M),Z=ha(i(),M),it=Qa(i()),nt=wa(i(),M),st=ba(i(),M),ut=mr(i(),M),ue=xa(i(),M),Ee=ya(i()),Ve=va(),fe=crypto.randomUUID(),ze=Fr(fe),mt=`file-gutter:${crypto.randomUUID()}`,Bt=Pa(i(),mt),Ot=$a(i()),Oe=n(()=>ye()?.worktreePath||ye()?.repositoryPath||ye()?.path||null),Ge=n(ot),Ht=Ga();pe(()=>{e(Ge)!==null&&e(Ge)!==void 0&&Ht?.markContentLoaded()});const St=n(re),t=n(y),a=n(ae),u=n(()=>e(a)?$o(e(a)):"generic"),m=n(()=>e(a)?Ya(Pe()):null);let h=N(0),R=!1;pe(()=>{const r=Se();if(!r||r.unavailable){R=!1;return}e(m)&&!R&&(R=!0,rr(()=>jt(h)))});const O=5,D=n(()=>(we()??[]).slice(0,O)),L=n(ge),H=n(Y),xe=n(Xe),he=n(()=>e(t)?c.ui_saveIndicator_saving_tooltip():e(H)?c.ui_saveIndicator_autoSaving_tooltip():c.ui_saveIndicator_saved_tooltip());let $e=N(null),He=N(Zr([])),ke=N(null),Ft=N(void 0),Dt=N(void 0),Je=N(!0);pe(()=>{const r=o().data?.line,s=o().data?.jumpTimestamp;!r||s!==void 0&&s===e(Dt)||(f(Dt,s,!0),f(Ft,{line:r},!0),f(Je,!1))});const Ie=n(()=>e(d)?_r(o().filePath,e(I)):null),_t=n(()=>e(d)?!e(Ie):!!(o().filePath&&(Aa(o().filePath)||e(Oe)&&Wa(o().filePath,e(Oe))))),ht=n(()=>o().filePath&&e(Oe)?er(o().filePath)?o().filePath:`${e(Oe)}/${o().filePath}`:null),ft=n(()=>!!o().filePath&&/\.pdf$/i.test(o().filePath)),vt=n(()=>!!o().filePath&&/\.(?:png|jpe?g|gif|webp|mp4|webm)$/i.test(o().filePath)),Qe=n(()=>i()&&/^[A-Za-z0-9._-]+$/.test(i())?_r(o().filePath,e(Oe)):null),Tr=n(()=>!e(d)&&e(Qe)?e(Qe).split("/").slice(0,-1).join("/"):void 0),qt=n(()=>e(ft)||e(vt)?e(Qe):null),nr=n(()=>e(d)&&e(vt)?{png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",webp:"image/webp",mp4:"video/mp4",webm:"video/webm"}[o().filePath?.split(".").pop()?.toLowerCase()??""]:void 0);pe(()=>{if(!F()||!e(d)||!e(Ie)||!e(nr))return;const r=crypto.randomUUID();return U.dispatch(Ir(fe,r,i(),e(Ie),{gitRootId:e(d),mimeType:e(nr)})),()=>U.dispatch(Cr(fe,r))});let lt=N(!1);const wt=n(()=>!!e(Qe)&&!e(St)&&(!e(vt)||e(ke)===e(Qe))),sr=n(()=>e(ke)&&i()?`workspace-file://${i()}/${e(ke).split("/").map(encodeURIComponent).join("/")}`:null),Kt=n(()=>o().filePath?da(o().filePath):"plaintext"),Tt=n(()=>e(Kt)==="markdown");pe(()=>{if(!F()||e(ft)||e(d))return;const r=e(qt),s=o().filePath,$=i(),C=o().id;if(f(ke,null),!r||!s||!$)return;let le=!1;const Re=()=>!le&&i()===$&&o().id===C&&o().filePath===s;return(async()=>{let de=!1;try{de=(await Ca("file.stat",{workspaceId:$,path:r}))?.isFile===!0}catch{}if(!Re())return;if(de){f(ke,r,!0);return}if(!/\.(?:png|jpe?g|gif|webp|mp4|webm)$/i.test(r)){f(ke,r,!0);return}const{candidates:Ae,truncated:qe}=await za($,r);if(Re()){if(!qe&&Ae.length===1){U.dispatch(fr($,s,Ae[0],C));return}f(ke,r,!0)}})(),()=>{le=!0}});function Er(r,s){return!!(r.file===s||r.relativePath===s||r.relativePath&&s.endsWith("/"+r.relativePath)||r.file&&s.endsWith("/"+r.file)||r.relativePath&&r.relativePath.endsWith("/"+s)||r.file&&r.file.endsWith("/"+s))}const bt=n(()=>e(b)||!o().filePath?null:V().find(r=>Er(r,o().filePath))??null),Rr=n(()=>!!e(bt));pe(()=>{if(e(b))return;const r=i(),s=o().filePath,$=e(Oe);return()=>{if(!r||!s)return;const C=Zt.select(U.state,r,s);if(C?.kind!=="editable-text")return;const le=Yt(C.localContent),Re=mr.select(U.state,r,s),de=er(s)?s:$?`${$}/${s}`:null;Re&&de&&U.dispatch(vr(r,s,de,le))}}),pe(()=>{const r=o().filePath,s=e(ht),$=i();if(e(h),!F())return;const C=!e(d)&&!!r&&er(r)&&!e(Oe);r&&$&&!e(_t)&&!e(vt)&&!e(ft)&&!C&&(e(d)&&e(Ie)&&e(W)?U.dispatch(pr($,e(W),s??r,{gitRoot:{id:e(d),relativePath:e(Ie)}})):U.dispatch(pr($,r,s??r)))});function Mr(){return e(Ge)??""}function jr(r){e(b)||e(L)||!o().filePath||!i()||!e(ht)||U.dispatch(fa(i(),o().filePath,Yt(r)))}function Ur(){if(e(b)||e(L)||!o().filePath||!e(ht)||e(Ge)===null||e(t))return;const r=Zt.select(U.state,i(),o().filePath);r?.kind==="editable-text"&&U.dispatch(vr(i(),o().filePath,e(ht),Yt(r.localContent)))}function Lr(r){const s=o().filePath;!s||!i()||(U.dispatch(ua(i(),s)),U.dispatch(fr(i(),s,r,o().id)))}pe(()=>{const r=o().filePath,s=e(bt);if(!r||!s){f(He,[],!0);return}if(!F())return;const $=i(),C=crypto.randomUUID();return U.dispatch(aa($,mt,C,{kind:"diffs",path:r,staged:s.stage==="staged"})),()=>{U.dispatch(oa($,mt,C))}}),pe(()=>{const r=B(),s=r?.result?.kind==="diffs"?r.result.chunks:[],$=s.find(C=>C.file===o().filePath)??s[0];f(He,$?Na($.chunks.map(C=>({oldStart:C.oldStart,oldLines:C.oldLines,newStart:C.newStart,newLines:C.newLines,lines:C.lines.map(le=>(le.type===gr.Addition?"+":le.type===gr.Deletion?"-":" ")+le.content)}))):[],!0)});function Vr(r){const s=/Mac|iPhone|iPad|iPod/.test(navigator.userAgent),$=Re=>Xa(r,Ka(Re),s);if($("editor.save")){r.preventDefault(),e(H)&&!e(t)&&Ur();return}const C=$("editor.undo")?"undo":$("editor.redo")?"redo":$("editor.toggle-task-list")?"toggle-task-list":$("editor.copy")?"copy":$("editor.select-all")?"select-all":null;if(!C||e(b)&&C!=="copy"&&C!=="select-all")return;C!=="toggle-task-list"&&e($e)?.runShortcut(C)&&r.preventDefault()}function zr(r){if(!o().filePath||!e(bt))return;const s=r?.metaKey||r?.ctrlKey||!1,C=r?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;U.dispatch(ca(i(),e(bt),{filePath:o().filePath,changeId:e(bt).id,openInAdjacentPanel:s,sourcePanelId:C}))}async function Et(){const r=e(Qe);if(!(e(b)||!r||!i()||!e(wt)||e(lt))){f(lt,!0);try{const s=await ka(i(),r,e(Oe));!s?.success&&!s?.canceled&&Qt.error(s?.error?.message||c.layout_fileTab_downloadFailed_error())}catch{Qt.error(c.layout_fileTab_downloadFailed_error())}finally{f(lt,!1)}}}function Ar(){const r=e(ht);if(e(b)||!o().filePath||!i()||!r)return;const s=sa(Zt.select(U.state,i(),o().filePath));if(!s){Qt.error(c.ui_reversibleActions_failed_error({message:c.fileExplorer_tree_undoUnavailable_error()}));return}U.dispatch(la(i(),o().filePath,{absolutePath:r,tabId:o().id,snapshot:s}))}pe(()=>{if(!Ve||!F())return;const r={isDirty:!e(b)&&e(H),isSaving:!e(b)&&e(t)};rr(()=>{Ve.registerActions({display:De,actions:Ne}),Ve.registerState(r)})});var Wr={get tab(){return o()},set tab(r){o(r),te()},get workspaceId(){return i()},set workspaceId(r){i(r),te()},get isActive(){return F()},set isActive(r){F(r),te()},get isPanelFocused(){return Te()},set isPanelFocused(r){Te(r),te()},$set:zt,$on:(r,s)=>At(w,r,s)},lr=Ue();rt("keydown",yr,r=>F()&&Vr(r));var Nr=ne(lr);{var Br=r=>{var s=Ue(),$=ne(s);Pr($,()=>o().filePath,C=>{var le=Ue(),Re=ne(le);{var de=_=>{var v=So(),j=T(v),q=S(j,!0),z=p(j,2),Me=S(z,!0);x(v),k(J=>{g(q,J),g(Me,o().filePath)},[()=>c.layout_fileTab_outsideWorkspace_label()]),l(_,v)},Ae=_=>{var v=Ue(),j=ne(v);{var q=z=>{or(z,{get workspaceId(){return i()},get filePath(){return e(Ie)},get gitRootId(){return e(d)}})};Q(j,z=>{F()&&z(q)})}l(_,v)},qe=_=>{var v=Ue(),j=ne(v);{var q=J=>{var K=br(),ie=T(K),je=S(ie,!0);x(K),k(ve=>g(je,ve),[()=>c.layout_fileTab_errorLoading_label()]),l(J,K)},z=J=>{Lt(J,{get filePath(){return o().filePath},get sourceUrl(){return Fe().url},allowDownload:!1})},Me=J=>{var K=Fo(),ie=T(K),je=S(ie,!0);x(K),k(ve=>g(je,ve),[()=>c.layout_fileTab_preparing_label()]),l(J,K)};Q(j,J=>{Fe()?.error?J(q):Fe()?.url?J(z,1):J(Me,-1)})}l(_,v)},pt=_=>{var v=Ue(),j=ne(v);{var q=z=>{or(z,{get workspaceId(){return i()},get filePath(){return e(qt)}})};Q(j,z=>{F()&&z(q)})}l(_,v)},xt=_=>{var v=br(),j=T(v),q=S(j,!0);x(v),k(z=>g(q,z),[()=>c.file_pdf_load_error()]),l(_,v)},We=_=>{{let v=n(()=>e(ke)??o().filePath),j=n(()=>!e(b)&&e(wt));Lt(_,{get filePath(){return e(v)},get sourceUrl(){return e(sr)},onDownload:Et,get allowDownload(){return e(j)},get downloading(){return e(lt)}})}},Ye=_=>{var v=xr(),j=T(v),q=S(j,!0);x(v),k(z=>g(q,z),[()=>c.layout_fileTab_preparing_label()]),l(_,v)},dt=_=>{var v=To(),j=T(v);Ct(j,20,()=>[...Array(20).keys()],q=>q,(q,z)=>{var Me=Do(),J=T(Me);wr(J,{class:"h-3 w-8 shrink-0"});var K=p(J,2);wr(K,{class:"h-3",style:`width: ${30+Math.random()*60}%`}),x(Me),l(q,Me)}),x(j),x(v),l(_,v)},yt=_=>{{let v=n(()=>Za(e(m)));Ja(_,{get view(){return e(v)}})}},Pt=_=>{var v=jo(),j=T(v),q=S(j,!0),z=p(j,2),Me=S(z,!0),J=p(z,2);{var K=ve=>{var Ke=Eo(),ct=S(Ke,!0);k(()=>g(ct,e(a))),l(ve,Ke)};Q(J,ve=>{e(u)==="generic"&&ve(K)})}var ie=p(J,2);{var je=ve=>{var Ke=Mo(),ct=ne(Ke),Gt=S(ct,!0),dr=p(ct,2);Ct(dr,20,()=>e(D),kt=>kt,(kt,cr)=>{var Jt=Ro(),qr=T(Jt);Ce(qr,{variant:"link",size:"compact",class:"h-auto p-0 font-mono text-xs",onclick:()=>Lr(cr),children:(Kr,zo)=>{Ze();var ur=tt();k(()=>g(ur,cr)),l(Kr,ur)},$$slots:{default:!0}}),x(Jt),l(kt,Jt)}),x(dr),k(kt=>g(Gt,kt),[()=>c.layout_fileTab_didYouMean_label()]),l(ve,Ke)};Q(ie,ve=>{e(D).length>0&&ve(je)})}x(v),k(ve=>{g(q,ve),g(Me,o().filePath)},[()=>ko(e(u))]),l(_,v)},$t=_=>{var v=Uo(),j=T(v),q=S(j,!0),z=p(j,2),Me=S(z,!0),J=p(z,2);{var K=ie=>{{let je=n(()=>!e(wt)||e(lt));Ce(ie,{variant:"secondary",size:"sm",onclick:Et,get disabled(){return e(je)},children:(ve,Ke)=>{Ze();var ct=tt();k(Gt=>g(ct,Gt),[()=>c.layout_fileTab_downloadFile_label()]),l(ve,ct)},$$slots:{default:!0}})}};Q(J,ie=>{!e(b)&&e(Qe)&&ie(K)})}x(v),k(ie=>{g(q,ie),g(Me,o().filePath)},[()=>c.editor_fileViewer_binary_label()]),l(_,v)},Xt=_=>{const v=n(()=>o().filePath?.toLowerCase().endsWith(".svg"));var j=Ue(),q=ne(j);{var z=K=>{{let ie=n(()=>o().filePath||""),je=n(()=>!e(b)&&e(wt));Lt(K,{get filePath(){return e(ie)},get fileContent(){return e(Ge)},get language(){return e(Kt)},get isBinary(){return e(L)},onDownload:Et,get allowDownload(){return e(je)},get downloading(){return e(lt)}})}},Me=K=>{var ie=Lo(),je=T(ie);Ba(je,{get content(){return e(Ge)},get workspaceId(){return i()},get relativeMediaBase(){return e(Tr)},renderRichFencesAsCode:!0,renderDiagrams:!0}),x(ie),l(K,ie)},J=K=>{var ie=Mr,je=jr;{let ve=n(()=>me()?e(He):[]);$r(ar(K,{get value(){return ie()},set value(Ke){je(Ke)},get language(){return e(Kt)},get readOnly(){return e(b)},get fileName(){return o().filePath},get workspaceId(){return i()},get filePath(){return o().filePath},get lineWrapping(){return se()},get lineChanges(){return e(ve)},get jumpTo(){return e(Ft)},get externalContentVersion(){return e(xe)},get isPanelFocused(){return Te()}}),Ke=>f($e,Ke,!0),()=>e($e))}};Q(q,K=>{e(v)?K(z):e(Tt)&&e(Je)?K(Me,1):K(J,-1)})}l(_,j)},Hr=_=>{var v=xr(),j=T(v),q=S(j,!0);x(v),k(z=>g(q,z),[()=>c.layout_fileTab_preparing_label()]),l(_,v)};Q(Re,_=>{e(_t)?_(de):e(d)&&e(ft)&&e(Ie)?_(Ae,1):e(d)&&e(vt)?_(qe,2):e(ft)&&e(qt)?_(pt,3):e(ft)?_(xt,4):e(sr)?_(We,5):e(vt)?_(Ye,6):e(St)?_(dt,7):e(m)?_(yt,8):e(a)?_(Pt,9):e(L)?_($t,10):e(Ge)!==null?_(Xt,11):_(Hr,-1)})}l(C,le)}),l(r,s)};Q(Nr,r=>{o().filePath&&r(Br)})}l(G,lr);var Or=Nt(Wr);return be(),Or}export{Vo as default};
|