@intent-hq/web 2.369.1 → 2.370.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/intent-web.mjs +113 -2
- package/package.json +1 -1
- package/web/app/immutable/chunks/{jRFO7UbE.js → 1BRHaRmm.js} +5 -5
- package/web/app/immutable/chunks/{CV10cSI4.js → 1q0xL14K.js} +1 -1
- package/web/app/immutable/chunks/{N5wpZAwp.js → 2CvTs4Gl.js} +1 -1
- package/web/app/immutable/chunks/{Wv5_ui4s.js → 2IbSEmAW.js} +1 -1
- package/web/app/immutable/chunks/{nIQsF0QH.js → 2kcdsiKR.js} +1 -1
- package/web/app/immutable/chunks/{A9EcmNK3.js → 3bNhkT-J.js} +1 -1
- package/web/app/immutable/chunks/{CQw_RyF_.js → 5kePy1TE.js} +1 -1
- package/web/app/immutable/chunks/{s1m3ujOc.js → 711s5WU0.js} +1 -1
- package/web/app/immutable/chunks/{C5X1QcI7.js → 7aKXh--T.js} +4 -4
- package/web/app/immutable/chunks/{B6jI9-V_.js → 7i9XTDuo.js} +1 -1
- package/web/app/immutable/chunks/{CLZkKjaI.js → AsFm-iq9.js} +1 -1
- package/web/app/immutable/chunks/{DtnAdLQg.js → B1tKRs9e.js} +1 -1
- package/web/app/immutable/chunks/{PxI10rWs.js → B2_coen2.js} +1 -1
- package/web/app/immutable/chunks/{BHfEypjS.js → B3hSlB6y.js} +1 -1
- package/web/app/immutable/chunks/{CxF8L5mw.js → B3s08q4i.js} +1 -1
- package/web/app/immutable/chunks/{CZ_Dk1nz.js → B4rTQlY3.js} +1 -1
- package/web/app/immutable/chunks/{CRwqTV0i.js → B5LyNSS1.js} +7 -7
- package/web/app/immutable/chunks/{DyBkeTEM.js → B7CIdOn0.js} +1 -1
- package/web/app/immutable/chunks/{DMl4Z5o_.js → BBWuirRW.js} +1 -1
- package/web/app/immutable/chunks/{BNp3_sz0.js → BBvc0xcX.js} +1 -1
- package/web/app/immutable/chunks/{DvdPJ4VE.js → BE3ifD-D.js} +1 -1
- package/web/app/immutable/chunks/{oOuL5l8A.js → BHCTYYXY.js} +1 -1
- package/web/app/immutable/chunks/{DdKIjYo_.js → BHe6JG_C.js} +2 -2
- package/web/app/immutable/chunks/{ZYL8cEBi.js → BIDxyGuw.js} +1 -1
- package/web/app/immutable/chunks/{CtxaFpQJ.js → BIH1E0JD.js} +1 -1
- package/web/app/immutable/chunks/{C1McR-sz.js → BIY9btQv.js} +1 -1
- package/web/app/immutable/chunks/{CGOlqeU_.js → BIv0yV05.js} +1 -1
- package/web/app/immutable/chunks/{A2MGRlHV.js → BJDeJSt-.js} +2 -2
- package/web/app/immutable/chunks/{OcJyMtNk.js → BKq-hmnE.js} +1 -1
- package/web/app/immutable/chunks/{B2FXFK8l.js → BKzqt9uo.js} +1 -1
- package/web/app/immutable/chunks/{CWybLnJv.js → BL5h9RCy.js} +1 -1
- package/web/app/immutable/chunks/{JKboQXkL.js → BLb6jd9K.js} +1 -1
- package/web/app/immutable/chunks/{CJb9CQqu.js → BNv5miK-.js} +1 -1
- package/web/app/immutable/chunks/{BUtBz-tz.js → BOHkf2gI.js} +1 -1
- package/web/app/immutable/chunks/{eln8hjjQ.js → BOROIf_S.js} +1 -1
- package/web/app/immutable/chunks/{D1cY0pVs.js → BR75pcGU.js} +1 -1
- package/web/app/immutable/chunks/{DmhHEMPi.js → BROVvkEL.js} +1 -1
- package/web/app/immutable/chunks/{Dd_WBgru.js → BR_GHabc.js} +1 -1
- package/web/app/immutable/chunks/{ByDB1X4D.js → BSwUOmEO.js} +1 -1
- package/web/app/immutable/chunks/{eLOMf9Vt.js → BTBYrxZV.js} +1 -1
- package/web/app/immutable/chunks/{Dxjy2MWO.js → BU9a7SkD.js} +1 -1
- package/web/app/immutable/chunks/{C6T3ggVX.js → BVDDJIsV.js} +1 -1
- package/web/app/immutable/chunks/{BsjFeGOg.js → BWn2FCdq.js} +1 -1
- package/web/app/immutable/chunks/{DWjKA8Pm.js → BZWU4mlm.js} +2 -2
- package/web/app/immutable/chunks/Ba5gf06c.js +1 -0
- package/web/app/immutable/chunks/{BgDYQZ_0.js → BaGw_bDr.js} +1 -1
- package/web/app/immutable/chunks/{DR7bEdZk.js → Baepgj8b.js} +1 -1
- package/web/app/immutable/chunks/{Da2tbXc-.js → BalxhI2Q.js} +1 -1
- package/web/app/immutable/chunks/{Danvn_nL.js → Bb3w2fM6.js} +1 -1
- package/web/app/immutable/chunks/{s3nd6_cp.js → BeVAskuR.js} +1 -1
- package/web/app/immutable/chunks/{BKuhcLZN.js → Beg3arHH.js} +1 -1
- package/web/app/immutable/chunks/{C8APJtmo.js → BgnxwWhQ.js} +1 -1
- package/web/app/immutable/chunks/{3kQ-PiCp.js → BhA_kLCx.js} +1 -1
- package/web/app/immutable/chunks/{KykWEhyB.js → Bj-9TYLg.js} +1 -1
- package/web/app/immutable/chunks/{BE2y8JEQ.js → BlQvrYPa.js} +1 -1
- package/web/app/immutable/chunks/{BsKhFZ0Q.js → BldeOF88.js} +1 -1
- package/web/app/immutable/chunks/{Cdw_CIdg.js → BnA9v3pc.js} +1 -1
- package/web/app/immutable/chunks/{CUH5IR0E.js → Bo89tkt2.js} +1 -1
- package/web/app/immutable/chunks/{LKW_Bid7.js → BoQ8Q7zJ.js} +1 -1
- package/web/app/immutable/chunks/{BR9s3igW.js → BpyEBWKW.js} +1 -1
- package/web/app/immutable/chunks/{C6MAELkY.js → BqOLTDDX.js} +1 -1
- package/web/app/immutable/chunks/Bqd7fdCF.js +1 -0
- package/web/app/immutable/chunks/{C1VlgusM.js → BtrJwCgg.js} +1 -1
- package/web/app/immutable/chunks/{TaTYmBM5.js → Bu13V5mO.js} +1 -1
- package/web/app/immutable/chunks/{sG8VksRm.js → Bvf6gH6c.js} +1 -1
- package/web/app/immutable/chunks/{C9r0mVfa.js → BxQi83db.js} +1 -1
- package/web/app/immutable/chunks/{Dz5OBP4z.js → C-5vE6yh.js} +9 -9
- package/web/app/immutable/chunks/{DcvxsgOZ.js → C0jW3ncX.js} +1 -1
- package/web/app/immutable/chunks/{C5rcw_c7.js → C1YR8Gnj.js} +1 -1
- package/web/app/immutable/chunks/{6i_wfV3v.js → C289w7fG.js} +1 -1
- package/web/app/immutable/chunks/{RifCGV3x.js → C29Jqwzt.js} +1 -1
- package/web/app/immutable/chunks/{CqesqBNM.js → C2UYU20O.js} +1 -1
- package/web/app/immutable/chunks/{XJqoy2ap.js → C2wWLl1x.js} +1 -1
- package/web/app/immutable/chunks/{3_UV1UgL.js → C6P_twJN.js} +1 -1
- package/web/app/immutable/chunks/{B9XvejAu.js → C6ROKFdp.js} +1 -1
- package/web/app/immutable/chunks/{TrRXD94r.js → C96BAoIR.js} +1 -1
- package/web/app/immutable/chunks/{ByCxDC-R.js → C9AWL-_E.js} +1 -1
- package/web/app/immutable/chunks/{Bs9TCQJX.js → CAV1CzzW.js} +1 -1
- package/web/app/immutable/chunks/{C7kFrL62.js → CC-xReBN.js} +1 -1
- package/web/app/immutable/chunks/{xqJuIupR.js → CC4-q0Fm.js} +1 -1
- package/web/app/immutable/chunks/{BsE4jMhr.js → CDsbSWM0.js} +1 -1
- package/web/app/immutable/chunks/{fK0I75t-.js → CENbvXsw.js} +1 -1
- package/web/app/immutable/chunks/{BlIreYOW.js → CFcZXBVA.js} +6 -6
- package/web/app/immutable/chunks/{DKyvRWc2.js → CFq9q-gu.js} +1 -1
- package/web/app/immutable/chunks/{D_MzuSit.js → CGLbiObk.js} +1 -1
- package/web/app/immutable/chunks/{Zldsekdv.js → CI4_aI7e.js} +5 -5
- package/web/app/immutable/chunks/{ByN-IDvR.js → CIvyT4T_.js} +1 -1
- package/web/app/immutable/chunks/{CMqhKAKf.js → CKf0K7iH.js} +1 -1
- package/web/app/immutable/chunks/{CNn7flY0.js → CKfVT02n.js} +2 -2
- package/web/app/immutable/chunks/{DCOxMTSf.js → CL3a4Hm1.js} +1 -1
- package/web/app/immutable/chunks/{CBZ4KqrB.js → CNkmihEX.js} +2 -2
- package/web/app/immutable/chunks/{DllP5msd.js → CO9mOa2z.js} +1 -1
- package/web/app/immutable/chunks/CQIdhUGs.js +1 -0
- package/web/app/immutable/chunks/{7mowE2Gg.js → CQWMr-uu.js} +2 -2
- package/web/app/immutable/chunks/{C1ZHQc4S.js → CT012uiB.js} +1 -1
- package/web/app/immutable/chunks/{BigChyTJ.js → CTKKTfh5.js} +2 -2
- package/web/app/immutable/chunks/{Z73Hn0_g.js → CVXKL6ab.js} +1 -1
- package/web/app/immutable/chunks/{Ct_Zx4ru.js → CVpnQG0j.js} +1 -1
- package/web/app/immutable/chunks/{msw9XRLE.js → C_V6o9Il.js} +1 -1
- package/web/app/immutable/chunks/{BZ5fAc9N.js → Ca6eVlSm.js} +2 -2
- package/web/app/immutable/chunks/{FavPgSsK.js → CdYt8dgZ.js} +1 -1
- package/web/app/immutable/chunks/{DEMmGTfr.js → Ce83awb2.js} +2 -2
- package/web/app/immutable/chunks/{DdH7Q5ij.js → CkoG9STP.js} +1 -1
- package/web/app/immutable/chunks/{Bo900RGs.js → CkrbZXJF.js} +1 -1
- package/web/app/immutable/chunks/{D7slXRL_.js → CllirvEK.js} +1 -1
- package/web/app/immutable/chunks/{D1E6y9eQ.js → Cmj0JylI.js} +2 -2
- package/web/app/immutable/chunks/{DWsHBNeU.js → CnS7dtdu.js} +1 -1
- package/web/app/immutable/chunks/{V6SVTu37.js → Cnfa9ycD.js} +1 -1
- package/web/app/immutable/chunks/{Csxq8_TN.js → CoDlIYWp.js} +1 -1
- package/web/app/immutable/chunks/{93RUSyHg.js → CplGG62F.js} +1 -1
- package/web/app/immutable/chunks/{8bw9vP4h.js → Cum1dYpM.js} +1 -1
- package/web/app/immutable/chunks/{BUHAwVs7.js → CvqKGiPA.js} +1 -1
- package/web/app/immutable/chunks/{DCJDf3gb.js → CxJ0MhK_.js} +3 -3
- package/web/app/immutable/chunks/{SX1khnGy.js → Cz-HgbT1.js} +1 -1
- package/web/app/immutable/chunks/{x-XvE_CJ.js → CzMPk75T.js} +1 -1
- package/web/app/immutable/chunks/{iTSQ9YOi.js → Czc9XxQH.js} +1 -1
- package/web/app/immutable/chunks/{D321NUNJ.js → Czz4CkiM.js} +1 -1
- package/web/app/immutable/chunks/{fRGswTf6.js → D1_IbOsX.js} +1 -1
- package/web/app/immutable/chunks/{0NGflniG.js → D2CiBsJQ.js} +1 -1
- package/web/app/immutable/chunks/{Cdhrdfve.js → D2jpdqLS.js} +1 -1
- package/web/app/immutable/chunks/{XPs8BW44.js → D3VYu5tL.js} +1 -1
- package/web/app/immutable/chunks/{Bd_VEON_.js → D4hsFsw4.js} +1 -1
- package/web/app/immutable/chunks/{BuLzqNKd.js → D5CXAAzn.js} +1 -1
- package/web/app/immutable/chunks/{6GNWsakm.js → D5xUDbUx.js} +1 -1
- package/web/app/immutable/chunks/{ge7HDe-3.js → D6vwIrtC.js} +1 -1
- package/web/app/immutable/chunks/{DuPd2TLf.js → D8Nxo4aC.js} +1 -1
- package/web/app/immutable/chunks/{CFvGekuw.js → DAfOI1BG.js} +1 -1
- package/web/app/immutable/chunks/{BnRltR11.js → DExi1WR7.js} +1 -1
- package/web/app/immutable/chunks/{WHfdsTrE.js → DFrynV0u.js} +1 -1
- package/web/app/immutable/chunks/{CxXkuVq5.js → DG-AKB01.js} +1 -1
- package/web/app/immutable/chunks/{aHO4L7kg.js → DGQoqGp4.js} +1 -1
- package/web/app/immutable/chunks/{BLlLxRVW.js → DIhsiUIT.js} +1 -1
- package/web/app/immutable/chunks/{C7Ed4dxf.js → DM71GnMx.js} +3 -3
- package/web/app/immutable/chunks/{dP7u_sPF.js → DMH0w6el.js} +1 -1
- package/web/app/immutable/chunks/{Boh_rcCH.js → DMzReQ-5.js} +1 -1
- package/web/app/immutable/chunks/{BUrTAEns.js → DOIzLCtE.js} +1 -1
- package/web/app/immutable/chunks/{D-2bQKif.js → DONrLvvt.js} +1 -1
- package/web/app/immutable/chunks/{CtFSFfLz.js → DOwDDYVN.js} +1 -1
- package/web/app/immutable/chunks/{ClSUFCtq.js → DPvT-ATr.js} +1 -1
- package/web/app/immutable/chunks/{DUItrdZb.js → DQLMO9xD.js} +2 -2
- package/web/app/immutable/chunks/{DVy6H5Ng.js → DQZlstPH.js} +1 -1
- package/web/app/immutable/chunks/DRRKH4VP.js +1 -0
- package/web/app/immutable/chunks/{CoNmDxYv.js → DRWqzfiQ.js} +1 -1
- package/web/app/immutable/chunks/{DxejgjNm.js → DSCqJfZ-.js} +1 -1
- package/web/app/immutable/chunks/{DvYo8gAP.js → DSjbk-ao.js} +1 -1
- package/web/app/immutable/chunks/{DsI0RDZ2.js → DUO0KBjx.js} +1 -1
- package/web/app/immutable/chunks/{4GHsM2YX.js → DUfE7lx2.js} +1 -1
- package/web/app/immutable/chunks/{BCSEMQfF.js → DUl-h1p3.js} +1 -1
- package/web/app/immutable/chunks/{BQGSaBlM.js → DVu7tZ67.js} +1 -1
- package/web/app/immutable/chunks/{BDbtK9be.js → DWC3_76J.js} +1 -1
- package/web/app/immutable/chunks/{Bp0nVWtT.js → DWDPOFkL.js} +1 -1
- package/web/app/immutable/chunks/{BLzqYDED.js → DXtdMDwl.js} +1 -1
- package/web/app/immutable/chunks/{B-F2f_Hq.js → DYzJKeX7.js} +1 -1
- package/web/app/immutable/chunks/{Cc2FSrQK.js → D_pS9hme.js} +1 -1
- package/web/app/immutable/chunks/{Cs_DX3BC.js → DaqXt9wp.js} +1 -1
- package/web/app/immutable/chunks/{u8OBGcNi.js → Dax7ITFa.js} +2 -2
- package/web/app/immutable/chunks/{DpFiDNG-.js → DbIuIgjV.js} +1 -1
- package/web/app/immutable/chunks/{CJHs_ufb.js → DbN2kVX-.js} +1 -1
- package/web/app/immutable/chunks/{DK2Pie4F.js → Dbrv6RE-.js} +2 -2
- package/web/app/immutable/chunks/{D0Z6csIX.js → DcsxLfDg.js} +1 -1
- package/web/app/immutable/chunks/{Dz2wxoQy.js → DfJwQVW8.js} +1 -1
- package/web/app/immutable/chunks/{DSqj6mlv.js → DfT1buZq.js} +2 -2
- package/web/app/immutable/chunks/{wJewnowK.js → Dg9ZuAkk.js} +6 -6
- package/web/app/immutable/chunks/{ie53yFct.js → DhWcN4bx.js} +2 -2
- package/web/app/immutable/chunks/{Cu91VTQn.js → DiD2Cn17.js} +1 -1
- package/web/app/immutable/chunks/{DvPSMnYw.js → Dk-rIzdO.js} +1 -1
- package/web/app/immutable/chunks/{Cu3YXFZW.js → DkL69EQl.js} +1 -1
- package/web/app/immutable/chunks/{CgXGPBF5.js → DkkmguuG.js} +1 -1
- package/web/app/immutable/chunks/{DgFinDjM.js → DmC2lRsL.js} +2 -2
- package/web/app/immutable/chunks/{CzmcyLb_.js → DnsVLkb8.js} +2 -2
- package/web/app/immutable/chunks/{DQUvqa9o.js → Dnz4szur.js} +1 -1
- package/web/app/immutable/chunks/{DqgCp5ae.js → Do5lDWBq.js} +1 -1
- package/web/app/immutable/chunks/{C_A_Ikb5.js → Dp08eKy3.js} +1 -1
- package/web/app/immutable/chunks/{BuveYyQe.js → Dq9sK6wY.js} +1 -1
- package/web/app/immutable/chunks/{D9NDL9ta.js → DqMtaSxK.js} +1 -1
- package/web/app/immutable/chunks/{CKkGJ_p-.js → DqZnld6x.js} +3 -3
- package/web/app/immutable/chunks/{CXaVTV1g.js → DqaHaAl1.js} +4 -4
- package/web/app/immutable/chunks/{BPCO02B5.js → Dr6C4F1X.js} +1 -1
- package/web/app/immutable/chunks/{BgLPrJ77.js → DrMbcJpA.js} +1 -1
- package/web/app/immutable/chunks/{Bl3mtXZn.js → Ds4DhRwW.js} +7 -7
- package/web/app/immutable/chunks/{dSvJdwG_.js → DsGwNgOu.js} +3 -3
- package/web/app/immutable/chunks/{BEqf00Je.js → DteD0Nal.js} +3 -3
- package/web/app/immutable/chunks/DwEChUMY.js +1 -0
- package/web/app/immutable/chunks/{CB0sfbT7.js → ENlRNbf0.js} +1 -1
- package/web/app/immutable/chunks/{BUNNt_Jr.js → FhXVX7Hi.js} +1 -1
- package/web/app/immutable/chunks/{BxbMMWzz.js → JMqHRN1q.js} +1 -1
- package/web/app/immutable/chunks/{6CAGpBb_.js → JZ27Qh_j.js} +1 -1
- package/web/app/immutable/chunks/{BR5vKj6f.js → JvjGgKob.js} +1 -1
- package/web/app/immutable/chunks/{9wk-Hes5.js → Jx0QEit0.js} +1 -1
- package/web/app/immutable/chunks/{Cnwc7RZW.js → K2mnFSgK.js} +1 -1
- package/web/app/immutable/chunks/{nRmTo2Eh.js → KEjNxHSN.js} +1 -1
- package/web/app/immutable/chunks/{ocWSyOIA.js → KSJAkSbC.js} +2 -2
- package/web/app/immutable/chunks/KvL2D8eF.js +1 -0
- package/web/app/immutable/chunks/L-jTlD15.js +4 -0
- package/web/app/immutable/chunks/{C2jA6pM8.js → NgjMs0r6.js} +1 -1
- package/web/app/immutable/chunks/{B_QtiZYt.js → OK80LzXp.js} +1 -1
- package/web/app/immutable/chunks/{CPatK7EU.js → OltbXq5G.js} +1 -1
- package/web/app/immutable/chunks/{DAjaV_xN.js → PtFvwTVZ.js} +3 -3
- package/web/app/immutable/chunks/Q1s61YDh.js +410 -0
- package/web/app/immutable/chunks/{BEjEPSxp.js → QFEvVzf2.js} +1 -1
- package/web/app/immutable/chunks/{BXkyhXuK.js → SLPWQR3F.js} +1 -1
- package/web/app/immutable/chunks/{zhSFUcJz.js → SxNO1NUM.js} +1 -1
- package/web/app/immutable/chunks/{sJt4gu2x.js → Tygff_sj.js} +1 -1
- package/web/app/immutable/chunks/UO171Id4.js +1 -0
- package/web/app/immutable/chunks/{s97D1nrA.js → VcOG8L0Z.js} +1 -1
- package/web/app/immutable/chunks/{Bo-8pH0P.js → W2c1MO7q.js} +1 -1
- package/web/app/immutable/chunks/{BbQfjn7f.js → XagMlRFc.js} +2 -2
- package/web/app/immutable/chunks/{BpwdP8dq.js → Z-hUD4Ap.js} +1 -1
- package/web/app/immutable/chunks/{BOCp5eAe.js → aitTA173.js} +4 -4
- package/web/app/immutable/chunks/{B1sp_kEH.js → bLKIt_n4.js} +1 -1
- package/web/app/immutable/chunks/{QpGjdleN.js → eNRNxfO0.js} +3 -3
- package/web/app/immutable/chunks/{5NOp7PNZ.js → eRIG79tn.js} +1 -1
- package/web/app/immutable/chunks/{Ck5xuk0H.js → e_K38tqB.js} +1 -1
- package/web/app/immutable/chunks/{B9I2hDG-.js → gTjyNX6h.js} +1 -1
- package/web/app/immutable/chunks/{hHeBjODU.js → hSiYrZoo.js} +1 -1
- package/web/app/immutable/chunks/{DumeSIrz.js → hqZSbKVs.js} +1 -1
- package/web/app/immutable/chunks/{BDP3Y6aK.js → nrAGmqbi.js} +2 -2
- package/web/app/immutable/chunks/{DfSzfqox.js → nxYQz1Bp.js} +1 -1
- package/web/app/immutable/chunks/{D547g0l5.js → pehcYFWW.js} +2 -2
- package/web/app/immutable/chunks/{CF1Tu_8c.js → rIUowGAi.js} +3 -3
- package/web/app/immutable/chunks/{M18r7swD.js → rei1qYSi.js} +1 -1
- package/web/app/immutable/chunks/{iBqqkWL_.js → wEnqV1Ol.js} +1 -1
- package/web/app/immutable/chunks/{BrAu7eNn.js → wK4T9_HO.js} +1 -1
- package/web/app/immutable/chunks/weHhj1in.js +1 -0
- package/web/app/immutable/chunks/{Cl71oYkB.js → xCaPmms8.js} +1 -1
- package/web/app/immutable/chunks/{CASKMy_V.js → yGw_3prC.js} +1 -1
- package/web/app/immutable/chunks/{fXS7JPx0.js → yScsjjST.js} +1 -1
- package/web/app/immutable/entry/{app.OFNFrEIR.js → app.De5C2NS7.js} +2 -2
- package/web/app/immutable/entry/start.BbOZiO5_.js +1 -0
- package/web/app/immutable/nodes/{0.BPB4y4Pk.js → 0.D8lcICdy.js} +1 -1
- package/web/app/immutable/nodes/{1.CBbBqNOx.js → 1.Bcr9Ac6T.js} +1 -1
- package/web/app/immutable/nodes/{10.B-rk3kEM.js → 10.CdYxZNRv.js} +17 -17
- package/web/app/immutable/nodes/{11.P0HocOtE.js → 11.DTALKQkg.js} +4 -4
- package/web/app/immutable/nodes/{13.DYH2a5Wx.js → 13.DTamgdFN.js} +1 -1
- package/web/app/immutable/nodes/{14.B6MrEg8x.js → 14.CzznX4mY.js} +1 -1
- package/web/app/immutable/nodes/{15.DhLBijej.js → 15.BuZ5Ykpn.js} +1 -1
- package/web/app/immutable/nodes/{16.CKbY5VRM.js → 16.D1WCmH9D.js} +1 -1
- package/web/app/immutable/nodes/{17.DPSU7Eqq.js → 17.DXnAkOJb.js} +1 -1
- package/web/app/immutable/nodes/{18.BlD6ustd.js → 18.BBYG39nr.js} +1 -1
- package/web/app/immutable/nodes/{19.bgAqepNt.js → 19.Bwna1DuW.js} +2 -2
- package/web/app/immutable/nodes/{2.DU7oYEtS.js → 2.BCkphmFm.js} +11 -11
- package/web/app/immutable/nodes/{20.Cj4TGw20.js → 20.DyC7cckU.js} +1 -1
- package/web/app/immutable/nodes/{3.B4hrIG7P.js → 3.CJlWKIE-.js} +1 -1
- package/web/app/immutable/nodes/{4.J3HSWI_f.js → 4.CDSfo4Q5.js} +1 -1
- package/web/app/immutable/nodes/{5.CS5w-vHI.js → 5.B6hsM1cw.js} +1 -1
- package/web/app/immutable/nodes/{6.Bf53uJQ1.js → 6.DCm27sfe.js} +2 -2
- package/web/app/immutable/nodes/{7.q-WiNda-.js → 7.Dd2x1_y1.js} +1 -1
- package/web/app/immutable/nodes/{8.eHanxjw-.js → 8.C0jzmTGW.js} +1 -1
- package/web/app/immutable/nodes/{9.BMShc48l.js → 9.Bj88iDsv.js} +11 -11
- package/web/app/version.json +1 -1
- package/web/index.html +15 -15
- package/web/app/immutable/chunks/B9EhZrTN.js +0 -1
- package/web/app/immutable/chunks/BBMzDN3i.js +0 -1
- package/web/app/immutable/chunks/BxTyo7yU.js +0 -1
- package/web/app/immutable/chunks/ClHV2gp3.js +0 -1
- package/web/app/immutable/chunks/CqJQ3ikU.js +0 -1
- package/web/app/immutable/chunks/DH6z3AzB.js +0 -4
- package/web/app/immutable/chunks/DW3gkA_F.js +0 -1
- package/web/app/immutable/chunks/DodshHwq.js +0 -1
- package/web/app/immutable/chunks/Dxs2medA.js +0 -1
- package/web/app/immutable/chunks/fd1DS8nx.js +0 -410
- package/web/app/immutable/entry/start.CHpPu02l.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as ht,bo as _,bm as g,bw as bt,b as xt}from"./51_h0jm2.js";import{bs as yt,a7 as kt,ay as Q,W as p,bn as At,aA as h,a5 as
|
|
2
|
-
`);let v=0,b=0;for(const I of o)I.startsWith("+")&&!I.startsWith("+++")?v++:I.startsWith("-")&&!I.startsWith("---")&&b++;return{addCount:v,removeCount:b}}let X=y(()=>e(z)?st(e(z).diff):{addCount:0,removeCount:0}),T=y(()=>P()?{label:g.ui_patchBlock_applying_label(),icon:null}:e(J)?{label:g.ui_patchBlock_revert_label(),icon:St}:{label:g.ui_patchBlock_apply_label(),icon:Wt}),nt=y(()=>!!($()||H()));function ot(){et(V,!e(V))}function it(){e(J)?H()?.():$()?.()}var lt={get patches(){return A()},set patches(t){A(t),h()},get label(){return
|
|
1
|
+
import{t as ht,bo as _,bm as g,bw as bt,b as xt}from"./51_h0jm2.js";import{bs as yt,a7 as kt,ay as Q,W as p,bn as At,aA as h,a5 as j,bS as u,bl as S,bA as W,aD as e,b_ as D,bO as x,aB as k,bH as et,c9 as y,bV as at,be as wt,b$ as It}from"./CJxGDkBm.js";import{i as f}from"./PXCFrn2V.js";import{I as Bt,g as Ct}from"./Bjy4ygfJ.js";import{n as Pt,j as zt}from"./BxwkoIbZ.js";import{f as q}from"./BnA9v3pc.js";import"./rIUowGAi.js";import"./CpPNoOk-.js";import"./DxvSggY5.js";import{F as rt,ce as Rt,cq as St,au as Wt}from"./DSQT151l.js";import{A as Dt}from"./FmBB5PWm.js";import{D as Lt}from"./CkoG9STP.js";import{J5 as $t,uM as Ht}from"./CI4_aI7e.js";import{g as Mt}from"./D0H3cACA.js";var Nt=k('<span class="type-caption shrink-0 font-medium text-success"> </span>'),jt=k('<!> <span class="type-body flex-1 truncate text-left font-medium text-foreground"> </span> <span class="type-caption shrink-0 tabular-nums"><span class="text-success"> </span> <span class="ml-1 text-danger"> </span></span> <!>',1),qt=k("<!> ",1),Ft=k('<div class="mb-2 flex gap-1"></div>'),Ot=k('<div class="border-t border-border p-2"><!> <!></div>'),Vt=k('<div class="ws-block-widget type-body my-2 overflow-hidden rounded-md border border-border bg-card text-foreground shadow-(--elevation-raised)"><div class="flex min-h-9 items-center gap-2 px-3 py-1.5"><!> <!> <!></div> <!></div>'),Et=k('<div class="ws-block-widget type-caption my-2 text-muted-foreground"> </div>');function Jt(U,n){if(new.target)return ht({component:Jt,...U});yt(n,!0);let A=_(n,"patches",7),F=_(n,"label",23,()=>g.ui_patchBlock_label()),O=_(n,"lastApply",7),w=_(n,"linkedAgentId",7),L=_(n,"workspaceId",7),P=_(n,"applying",7,!1),$=_(n,"onApply",7),H=_(n,"onRevert",7),V=at(!1),E=at(0),z=y(()=>A()?.[e(E)]),J=y(()=>O()?.status==="success");function st(t){const o=t.split(`
|
|
2
|
+
`);let v=0,b=0;for(const I of o)I.startsWith("+")&&!I.startsWith("+++")?v++:I.startsWith("-")&&!I.startsWith("---")&&b++;return{addCount:v,removeCount:b}}let X=y(()=>e(z)?st(e(z).diff):{addCount:0,removeCount:0}),T=y(()=>P()?{label:g.ui_patchBlock_applying_label(),icon:null}:e(J)?{label:g.ui_patchBlock_revert_label(),icon:St}:{label:g.ui_patchBlock_apply_label(),icon:Wt}),nt=y(()=>!!($()||H()));function ot(){et(V,!e(V))}function it(){e(J)?H()?.():$()?.()}var lt={get patches(){return A()},set patches(t){A(t),h()},get label(){return F()},set label(t=g.ui_patchBlock_label()){F(t),h()},get lastApply(){return O()},set lastApply(t){O(t),h()},get linkedAgentId(){return w()},set linkedAgentId(t){w(t),h()},get workspaceId(){return L()},set workspaceId(t){L(t),h()},get applying(){return P()},set applying(t=!1){P(t),h()},get onApply(){return $()},set onApply(t){$(t),h()},get onRevert(){return H()},set onRevert(t){H(t),h()},$set:bt,$on:(t,o)=>xt(n,t,o)},Y=kt(),ct=Q(Y);{var dt=t=>{var o=Vt(),v=j(o),b=j(v);{var I=a=>{{let c=y(()=>g.ui_patchBlock_viewAgent_tooltip());q(a,{variant:"plain",size:"icon-compact",iconOnly:!0,class:"size-4! shrink-0 rounded-sm! transition-opacity hover:opacity-80",onclick:i=>{L()&&$t.dispatch(Ht(L(),{agentId:w(),...Mt(i)}))},get title(){return e(c)},children:(i,m)=>{Dt(i,{get agentId(){return w()},variant:"compact"})},$$slots:{default:!0}})}};f(b,a=>{w()&&a(I)})}var Z=u(b,2);q(Z,{variant:"plain",size:"compact",class:"h-auto! min-w-0 flex-1 shrink items-center justify-start gap-2 px-0! py-0! text-muted-foreground transition-colors hover:text-foreground",truncateLabel:!1,labelClass:"flex min-w-0 flex-1 items-center gap-2",onclick:ot,children:(a,c)=>{var i=jt(),m=Q(i);{var B=l=>{rt(l,{get icon(){return Rt},size:10,class:"text-muted-foreground"})};f(m,l=>{w()||l(B)})}var C=u(m,2),s=S(C,!0),d=u(C,2),r=j(d),R=S(r),M=u(r,2),G=S(M);W(d);var K=u(d,2);{var tt=l=>{var N=Nt(),_t=S(N,!0);D(gt=>x(_t,gt),[()=>g.ui_patchBlock_applied_label()]),p(l,N)};f(K,l=>{e(J)&&l(tt)})}D(()=>{x(s,F()),x(R,`+${e(X).addCount??""}`),x(G,`-${e(X).removeCount??""}`)}),p(a,i)},$$slots:{default:!0}});var ut=u(Z,2);{var ft=a=>{q(a,{variant:"ghost-light",size:"sm",class:"type-caption shrink-0",onclick:it,get disabled(){return P()},children:(c,i)=>{var m=qt(),B=Q(m);{var C=r=>{Bt(r,{size:12})},s=r=>{rt(r,{get icon(){return e(T).icon},size:"xs"})};f(B,r=>{P()?r(C):e(T).icon&&r(s,1)})}var d=u(B);D(()=>x(d,` ${e(T).label??""}`)),p(c,m)},$$slots:{default:!0}})};f(ut,a=>{e(nt)&&a(ft)})}W(v);var vt=u(v,2);{var mt=a=>{var c=Ot(),i=j(c);{var m=s=>{var d=Ft();Ct(d,23,A,(r,R)=>`patch-${R}-${r.filePath}`,(r,R,M)=>{{let G=y(()=>e(M)===e(E)?"default":"ghost-light");q(r,{get variant(){return e(G)},size:"sm",class:"type-caption",onclick:()=>et(E,e(M),!0),children:(K,tt)=>{wt();var l=It();D(N=>x(l,N),[()=>e(R).filePath.split("/").pop()]),p(K,l)},$$slots:{default:!0}})}}),W(d),p(s,d)};f(i,s=>{A().length>1&&s(m)})}var B=u(i,2);{var C=s=>{Lt(s,{get patch(){return e(z).diff},get fileName(){return e(z).filePath},showHeader:!0,showStats:!0,showLineNumbers:!0,maxHeight:"300px",collapsible:!1,class:"overflow-hidden rounded-sm border border-border"})};f(B,s=>{e(z)&&s(C)})}W(c),Pt(3,c,()=>zt,()=>({tier:"moderate"})),p(a,c)};f(vt,a=>{e(V)&&a(mt)})}W(o),p(t,o)},pt=t=>{var o=Et(),v=S(o,!0);D(b=>x(v,b),[()=>g.ui_patchBlock_invalid_error()]),p(t,o)};f(ct,t=>{A()?.length?t(dt):t(pt,-1)})}return p(U,Y),At(lt)}export{Jt as P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bm as l}from"./51_h0jm2.js";import{
|
|
1
|
+
import{bm as l}from"./51_h0jm2.js";import{J5 as a}from"./CI4_aI7e.js";let N=1,f=null;const S=[],m=new Set;function T(){for(const e of m)e(f)}function U(){return typeof document<"u"&&document.activeElement instanceof HTMLElement?document.activeElement:null}function y(e){S.push({...e,id:N++,returnFocus:U()}),f||(f=S.shift()??null,T())}function J(e){return new Promise(t=>y({kind:"confirm",options:e,resolve:t}))}function Z(e){return new Promise(t=>y({kind:"prompt",options:e,resolve:t}))}function j(e){return m.add(e),e(f),()=>m.delete(e)}function W(e,t){if(!f||f.id!==e)return;const n=f;f=S.shift()??null,n.resolve(t),n.returnFocus?.focus(),T()}const Q={IS_AUTHENTICATED:"linear-auth:is-authenticated",START_AUTH:"linear-auth:start-auth",CANCEL_AUTH:"linear-auth:cancel-auth",LOGOUT:"linear-auth:logout",GET_AUTH_STATE:"linear-auth:get-auth-state",GET_STATUS:"linear-auth:get-status",FETCH_MY_ISSUES:"linear-auth:fetch-my-issues",SEARCH_ISSUES:"linear-auth:search-issues"},ee=[{value:"assigned",get label(){return l.linearAuth_filter_assigned_label()},get description(){return l.linearAuth_filter_assigned_description()}},{value:"created",get label(){return l.linearAuth_filter_created_label()},get description(){return l.linearAuth_filter_created_description()}},{value:"subscribed",get label(){return l.linearAuth_filter_subscribed_label()},get description(){return l.linearAuth_filter_subscribed_description()}},{value:"team",get label(){return l.linearAuth_filter_team_label()},get description(){return l.linearAuth_filter_team_description()}},{value:"all",get label(){return l.linearAuth_filter_all_label()},get description(){return l.linearAuth_filter_all_description()}}],te=a.createSelector(e=>e.linearAuth.operation),ne=a.createSelector((e,t)=>e.linearAuth.operation?.consumerId===t?e.linearAuth.operation:null),re=a.createSelector(e=>e.linearAuth.operation?.kind==="logout"&&e.linearAuth.operation.status==="pending"),se=a.createSelector(e=>e.linearAuth.isAuthenticated),oe=a.createSelector(e=>e.linearAuth.requiresDaemonAuth),ie=a.createSelector(e=>e.linearAuth.isAuthenticating),ae=a.createSelector(e=>e.linearAuth.error),ue=a.createSelector(e=>e.sentryAuth.operation),ce=a.createSelector((e,t)=>e.sentryAuth.operation?.consumerId===t?e.sentryAuth.operation:null),le=a.createSelector(e=>e.sentryAuth.operation?.kind==="logout"&&e.sentryAuth.operation.status==="pending"),de=a.createSelector(e=>e.sentryAuth.isAuthenticated),fe=a.createSelector(e=>e.sentryAuth.organization),_e=a.createSelector(e=>e.sentryAuth.isConnecting),Ae=a.createSelector(e=>e.sentryAuth.error),Ee="npx not found — install Node.js (with npm) to use Claude Code",P="********",K={claude:"claude-code",codex:"codex"},v={claude:"CLAUDE_CONFIG_DIR",codex:"CODEX_HOME"},O={claude:{differentLogin:{set:["CLAUDE_CONFIG_DIR"],optionalSet:[],unset:["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN"]},apiKey:{set:["ANTHROPIC_API_KEY"],optionalSet:["ANTHROPIC_BASE_URL"],unset:["ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN"]},token:{set:["CLAUDE_CODE_OAUTH_TOKEN"],optionalSet:[],unset:["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN"]}},codex:{differentLogin:{set:["CODEX_HOME"],optionalSet:[],unset:["CODEX_ACCESS_TOKEN","CODEX_API_KEY","OPENAI_API_KEY"]},apiKey:{set:["CODEX_API_KEY"],optionalSet:[],unset:["CODEX_ACCESS_TOKEN","OPENAI_API_KEY"]},token:{set:["CODEX_ACCESS_TOKEN"],optionalSet:[],unset:["CODEX_API_KEY","OPENAI_API_KEY"]}}},D=["differentLogin","apiKey","token"];function g(e,t){return O[e][t]}const I="ANTHROPIC_BASE_URL";function R(e){return K[e]}function b(e){if(e==="claude-code")return"claude";if(e==="codex")return"codex"}function he(e){return e.supportsProfiles===!0&&e.id!==void 0&&b(e.id)!==void 0}function pe(e,t){return g(t,e).set[0]}function C(e){return v[e]}function H(e){return`~/intent/profiles/${e}`}const _=e=>e.toUpperCase();function Se(e,t){if(t.length===0)return"advanced";const n=new Set,s=new Set;for(const r of t){const o=_(r.key);if(n.has(o)||s.has(o))return"advanced";(r.kind==="set"?n:s).add(o)}for(const r of D)if(w(O[e][r],n,s))return r==="differentLogin"&&!F(e,t)?"advanced":r;return"advanced"}function w(e,t,n){const s=e.set.map(_),r=new Set([...s,...e.optionalSet.map(_)]);if(!s.every(i=>t.has(i))||![...t].every(i=>r.has(i)))return!1;const o=new Set(e.unset.map(_));return[...n].every(i=>o.has(i))}function F(e,t){const n=x(e,t);return n!==void 0&&n!==""&&n!==P}function x(e,t){const n=_(C(e)),s=t.find(r=>r.kind==="set"&&_(r.key)===n);return s?.kind==="set"?s.value:void 0}const $=32;function M(e){return e.normalize("NFKD").replace(/\p{M}/gu,"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,$).replace(/-+$/g,"")||"profile"}const h="abcdefghijklmnopqrstuvwxyz0123456789",X=4;function k(){const e=new Uint32Array(1);return globalThis.crypto.getRandomValues(e),e[0]/2**32}function B(e=k){let t="";for(let n=0;n<X;n++){const s=Math.min(h.length-1,Math.floor(e()*h.length));t+=h[s]}return t}const G=64;function me(e,t,n,s=k){const r=new Set([...n].map(i=>i.toLowerCase())),o=M(t);for(let i=0;i<G;i++){const c=`${o}-${B(s)}`;if(!r.has(c))return`${H(e)}/${c}`}throw new Error(`No unused profile folder found for "${o}"`)}function q(e){return e.map(t=>({key:t,kind:"unset"}))}function E(e,t){const n=e?.trim()??"";if(!n)throw new Error(`Missing ${t}`);return n}function Ie(e,t,n){const s=g(t,e),r=[];if(e==="differentLogin")r.push({key:C(t),kind:"set",value:E(n.folder,"folder")});else if(e==="apiKey"){r.push({key:s.set[0],kind:"set",value:E(n.apiKey,"API key")});const o=n.baseUrl?.trim();o&&t==="claude"&&r.push({key:I,kind:"set",value:o})}else r.push({key:s.set[0],kind:"set",value:E(n.token,"token")});return{baseProviderId:R(t),name:n.name.trim(),backup:n.backup??!1,env:[...r,...q(s.unset)]}}function ge(e,t,n,s={}){const r=g(t,e),o=(u,d)=>n.find(A=>A.kind===d&&_(A.key)===_(u))?.key,i=(u,d)=>{const A=o(u,"set");if(d!==void 0)return{key:A??u,kind:"set",value:E(d,u)};if(!A)throw new Error(`Missing ${u}`);return{key:A,kind:"keep"}},c=[];if(e==="differentLogin")c.push(i(C(t),void 0));else if(e==="apiKey"){c.push(i(r.set[0],s.apiKey));const u=t==="claude"?o(I,"set"):void 0,d=t==="claude"?s.baseUrl:void 0;typeof d=="string"&&d.trim()?c.push({key:u??I,kind:"set",value:d.trim()}):d===void 0&&u&&c.push({key:u,kind:"keep"})}else c.push(i(r.set[0],s.token));for(const u of r.unset)c.push({key:o(u,"unset")??u,kind:"unset"});return c}const p="[A-Za-z0-9_-]+",L=new RegExp(`^${p}\\.${p}\\.${p}$`);function Ce(e){return L.test(e.trim())}const z={claude:{apiKey:/^sk-ant-api\d*-[A-Za-z0-9_-]{16,}$/,token:/^sk-ant-oat\d*-[A-Za-z0-9_-]{16,}$/},codex:{apiKey:/^sk-(?!ant-)[A-Za-z0-9_-]{20,}$/,token:L}};function Te(e,t,n,s={}){const r=n.trim();return e==="claude"&&t==="apiKey"&&s.customEndpoint?/^\S+$/.test(r):z[e][t].test(r)}function ye(e){return e==="claude"?"claude auth login":"codex login --device-auth"}export{ue as A,Ae as B,Ee as C,de as D,_e as E,le as F,fe as G,W as H,M as I,j as J,Q as L,P as M,ee as a,R as b,Ie as c,ge as d,J as e,Se as f,C as g,he as h,Ce as i,Te as j,H as k,ye as l,b as m,Z as n,pe as o,me as p,ne as q,B as r,x as s,te as t,ae as u,se as v,ie as w,re as x,oe as y,ce as z};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{bm as v,_ as h}from"./51_h0jm2.js";import{a as S}from"./BdWqymET.js";import{bl as A,J4 as k,i as T,HA as C,GA as D,vd as j,vb as B,vs as V,ns as z}from"./Zldsekdv.js";import{bL as $}from"./B6jI9-V_.js";import{m as R}from"./SX1khnGy.js";import"./CJxGDkBm.js";import"./CpPNoOk-.js";import"./DxvSggY5.js";import{R as N,F as g,E as G,Q as O}from"./CF1Tu_8c.js";import"./ChTqQfQN.js";import"./JKboQXkL.js";import{o as q}from"./LKW_Bid7.js";import{i as F}from"./DMl4Z5o_.js";const y=new WeakMap;function ye(e,t){const a=n=>{n&&n!=="new"?y.set(e,n):y.delete(e)};return a(t),{update:a,destroy(){y.delete(e)}}}function K(e){for(let t=e;t;t=t.parentElement){const a=y.get(t);if(a)return a}}function J(e,t){const a=e?.closest("[data-workspace-link-target]")?.dataset.workspaceLinkTarget;return{openInWorkspace:!!t&&a===t,panelId:e?.closest("[data-panel-id]")?.dataset.panelId,assistantLayoutId:e?.closest("[data-assistant-layout-id]")?.dataset.assistantLayoutId,surfaceWorkspaceId:K(e)}}const s=new S("LinkHandler");async function Q(e,t){try{const a=t.event?.target,n=J(a instanceof Element?a:null,t.workspaceId),o=t.openInWorkspace??n.openInWorkspace,r=o?void 0:t.sourcePanelId||n.panelId,{assistantLayoutId:l}=n,u=t.workspaceId??(n.surfaceWorkspaceId?A(n.surfaceWorkspaceId):void 0);if(t={...t,workspaceId:u,openInWorkspace:o,sourcePanelId:r},t.customHandler&&await t.customHandler(e))return s.debug("Link handled by custom handler",{url:e}),!0;if(/^workspace-asset:/i.test(e.trim()))return R.error(v.ui_linkHandler_assetUnavailable_error()),!1;const i=N(e),{event:d}=t,f=i&&d&&!g(t)?t.githubLinkDefaultAction??q.select(k.state):void 0,c=!f||f==="open-in-app";if(t.workspaceId===T&&!t.forceExternal&&c){const{showAssistantContent:m}=await h(async()=>{const{showAssistantContent:_}=await import("./DgFinDjM.js");return{showAssistantContent:_}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]),import.meta.url),I=t.rawHref?.startsWith("/workspace/")?t.rawHref:e;if(await m(I,{layoutId:l}))return!0}if(e.startsWith("intent://"))return await X(e,{...t,sourcePanelId:r});if(e.startsWith("devspace://"))return await Y(e,{...t,sourcePanelId:r});const p=ne(e,t.rawHref);if(p)return await re(p.path,{...t,sourcePanelId:r},p.fromResolvedUrl);if(e.startsWith("http://")||e.startsWith("https://")){if(G(e))return s.debug("Auth URL detected, opening in external browser",{url:e}),await w(e);if(t.forceExternal)return await w(e);if(o&&c||g(t))return t.workspaceId?await E(e,t.workspaceId,{...t,assistantLayoutId:l}):(s.debug("No workspaceId available, opening in external browser",{url:e}),await w(e));if(i&&d&&f)switch(f){case"open-in-browser":return await w(e);case"open-in-app":return t.workspaceId?await E(e,t.workspaceId,{...t,assistantLayoutId:l}):await w(e);case"copy-link":return await $(e),!0;case"start-workspace":return k.dispatch(C({...i,url:e})),k.dispatch(D(!0)),!0;case"show-choices":return await oe(e,i,d,t,l)}return await w(e)}return e.startsWith("file://")?t.canOpenFile?.()===!1?!1:await H(e):(s.warn("Unknown link type, falling back to external browser",{url:e}),await w(e))}catch(a){return s.error("Failed to handle link",{url:e,error:a}),!1}}async function X(e,t){try{const{parseIntentLink:a,handleIntentLink:n}=await h(async()=>{const{parseIntentLink:l,handleIntentLink:u}=await import("./7mowE2Gg.js");return{parseIntentLink:l,handleIntentLink:u}},__vite__mapDeps([24,1,2,25,11,7,26,16,8,17,27,28,29,14,15,10,18,30,31,32,33,3,4,5,6,9,34,35,36,37,38,39,40,22,41,42,23]),import.meta.url),o=a(e);if(t.canOpenFile&&o.type==="file"&&!t.canOpenFile())return!1;const r=o.workspaceId?A(o.workspaceId):t.workspaceId;return o.valid&&o.type!=="workspace"&&await L(r,t),b(t),await n(e,{workspaceId:t.openInWorkspace?r:t.workspaceId,sourcePanelId:t.sourcePanelId,openInAdjacentPanel:t.openInAdjacentPanel??g(t),openInNewAdjacentPanel:t.openInNewAdjacentPanel??!1})}catch(a){return s.error("Failed to handle intent link",{url:e,error:a}),!1}}async function Y(e,t){try{const a=e.match(/^devspace:\/\/terminal\/(.+)$/);if(a){if(!t.workspaceId)return s.warn("Cannot open terminal without workspaceId",{url:e}),!1;const n=decodeURIComponent(a[1]);s.debug("Opening terminal from devspace link",{terminalId:n,workspaceId:t.workspaceId}),await L(t.workspaceId,t),b(t);const o={type:"terminal",title:v.layout_tabTypes_terminal_title(),terminalId:n,closable:!0};return g(t)?k.dispatch(j(t.workspaceId,o,t.sourcePanelId)):k.dispatch(B(t.workspaceId,o)),!0}return s.warn("Unhandled devspace:// link type",{url:e}),!1}catch(a){return s.error("Failed to handle devspace link",{url:e,error:a}),!1}}const Z=/^[a-z][a-z0-9+.-]*:/i,x=/^[a-z]:\/(?!\/)/i;function W(e){return e.replace(/\\/g,"/")}function ee(e){try{return W(decodeURIComponent(e))}catch{return null}}function te(e){return e.split("/").some(t=>t==="..")}function ae(e){const t=e.split("/").filter(a=>a&&a!==".");return t.length===0||t.some(a=>a==="..")?null:t.join("/")}async function L(e,t){if(!t.openInWorkspace||!e)return;const{openAndShowWorkspace:a}=await h(async()=>{const{openAndShowWorkspace:n}=await import("./6CAGpBb_.js").then(o=>o.s);return{openAndShowWorkspace:n}},__vite__mapDeps([45,4,2,3,5,6,7,8,1,9,10,11,46,47]),import.meta.url);try{await a(e)}catch(n){throw R.error(v.ui_linkHandler_navigationFailed_title(),{description:n instanceof Error?n.message:v.ui_linkHandler_unknownError_label()}),n}}function b(e){!e.workspaceId||!e.sourcePanelId||k.dispatch(z(e.workspaceId,e.sourcePanelId))}function ne(e,t){const a=t??e;if(a){if(a.startsWith("#"))return null;const n=O(a).path;if(!a.startsWith("//")&&(x.test(W(n))||!Z.test(n)))return{path:a,fromResolvedUrl:!1}}if((e.startsWith("http://")||e.startsWith("https://"))&&typeof window<"u")try{const n=new URL(e);if(n.origin===window.location.origin)return{path:n.pathname+n.hash,fromResolvedUrl:!0}}catch{}return null}async function re(e,t,a){try{if(t.canOpenFile?.()===!1)return!1;const n=O(e),o=ee(n.path);if(!o||o.includes("\0"))return!1;let r=o;const{line:l,column:u}=n,{workspaceId:i}=t;if(!i)return s.warn("Cannot open file link without workspaceId",{path:r}),!1;if(te(r))return s.warn("Rejected file link with path traversal",{path:r}),!1;if(r.startsWith("/")||x.test(r)){const{selectWorkspaceById:c}=await h(async()=>{const{selectWorkspaceById:P}=await import("./XJqoy2ap.js").then(M=>M.ea);return{selectWorkspaceById:P}},__vite__mapDeps([40,10,7,1,2,3,4,5,6,8,9,11,35,30,26,16,17,29,22,14,15,18,41,32]),import.meta.url),p=c.select(k.state,i),m=p?.worktreePath??p?.path,I=m?W(m):void 0,_=I?.endsWith("/")?I.slice(0,-1):I;if(_&&r.startsWith(`${_}/`))r=r.slice(_.length+1);else if(a)r=r.replace(/^\/+/,"");else{s.debug("Absolute path outside workspace root, opening in external editor",{path:r});const P=l===void 0?"":`:${l}${u===void 0?"":`:${u}`}`;return await H(`file://${r}${P}`)}}const d=ae(r);if(!d)return s.warn("Rejected invalid workspace file link",{path:r}),!1;r=d;const f=g(t);return await L(i,t),b(t),k.dispatch(V(i,r,{filePathIsLiteral:!0,line:l,openInAdjacentPanel:f,...t.sourcePanelId?{sourcePanelId:t.sourcePanelId}:{}})),s.debug("Opened file link in workspace file viewer",{path:r,workspaceId:i,line:l}),!0}catch(n){return s.error("Failed to open file link",{target:e,error:n}),!1}}async function oe(e,t,a,{workspaceId:n,openInWorkspace:o,sourcePanelId:r},l){try{const{showLinkActionMenu:u}=await h(async()=>{const{showLinkActionMenu:p}=await import("./B3bYRRle.js");return{showLinkActionMenu:p}},__vite__mapDeps([48,2]),import.meta.url),i=a.target instanceof HTMLElement?a.target:null;let d=a instanceof MouseEvent?a.clientX:0,f=a instanceof MouseEvent?a.clientY:0;if(d===0&&f===0&&i){const p=i.getBoundingClientRect();d=p.left,f=p.bottom}const c=u({url:e,gitHubRef:t,x:d,y:f,workspaceId:n,anchorElement:i,openInWorkspace:o??!1,sourcePanelId:r,assistantLayoutId:l});return t.kind==="pr"&&se(c,e),s.debug("Opened link action menu",{url:e,workspaceId:n}),!0}catch(u){return s.warn("Failed to open link action menu, falling back to external browser",{url:e,error:u}),await w(e)}}function se(e,t){h(async()=>{const{loadLinkActionMenuLinkedWorkspaces:a}=await import("./CJb9CQqu.js");return{loadLinkActionMenuLinkedWorkspaces:a}},__vite__mapDeps([49,12,13,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,40,35,30,26,29,41,32,48]),import.meta.url).then(({loadLinkActionMenuLinkedWorkspaces:a})=>a(e,t)).catch(a=>{s.debug("PR workspace lookup unavailable",{url:t,error:a})})}async function ie(e){try{return await L(e,{openInWorkspace:!0}),!0}catch(t){return s.warn("Failed to open linked workspace",{workspaceId:e,error:t}),!1}}async function E(e,t,a={}){if(t===T){try{const{showAssistantContent:o}=await h(async()=>{const{showAssistantContent:r}=await import("./DgFinDjM.js");return{showAssistantContent:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]),import.meta.url);if(await o(e,{layoutId:a.assistantLayoutId}))return!0}catch(o){s.warn("Assistant panel unavailable, opening in external browser",{url:e,error:o})}return await w(e)}try{await L(t,a)}catch(o){return s.warn("Failed to enter workspace for in-app link",{url:e,workspaceId:t,error:o}),!1}const n=a.openInWorkspace?void 0:a.sourcePanelId;return await U(e,t,n)}async function U(e,t,a){let n=e,o;try{const{resolveBrowserLinkForOpen:r}=await h(async()=>{const{resolveBrowserLinkForOpen:u}=await import("./BDbtK9be.js").then(i=>i.b);return{resolveBrowserLinkForOpen:u}},__vite__mapDeps([50,25,11,7,1,2,26,16,8,17,27,28,29,14,15,10,18,30,31,32,33,3,4,5,6,9,34,35,36,37,38,39]),import.meta.url),l=await r(e);n=l.url,o=l.requestedUrl}catch(r){s.warn("URL resolution failed, opening the URL unresolved",{url:e,error:r})}try{b({workspaceId:t,sourcePanelId:a});const{getPanelLayoutManager:r}=await h(async()=>{const{getPanelLayoutManager:u}=await import("./CgXGPBF5.js").then(i=>i.p);return{getPanelLayoutManager:u}},__vite__mapDeps([51,3,4,2,5,6,7,8,1,9,10,11,43]),import.meta.url);return r(t).openBrowserPanel(n,void 0,a,o),s.debug("Opened URL in browser panel",{url:e,targetUrl:n,workspaceId:t}),!0}catch(r){return s.warn("Failed to open URL in browser panel, falling back to external browser",{url:e,error:r}),await w(n)}}async function w(e){try{return await F("shell:openExternal",{url:e}),s.debug("Opened URL in external browser",{url:e}),!0}catch(t){return s.error("Failed to open URL in external browser",{url:e,error:t}),!1}}async function H(e){try{const t=e.replace("file://","");return typeof window<"u"&&window.electronAPI?(await F("shell:openExternal",{url:`vscode://file/${t}`}),s.debug("Opened file in external editor",{filePath:t}),!0):!1}catch(t){return s.error("Failed to open file in external editor",{url:e,error:t}),!1}}function ce(e,t={}){let a=null,n=null,o=null;async function r(){if(!n||!o){const d=await h(()=>import("./CF1Tu_8c.js").then(f=>f.K),__vite__mapDeps([14,1,2,11,7,15,10,16,8,17,18]),import.meta.url);n=d.showLinkTooltip,o=d.hideLinkTooltip}}function l(d){const c=d.target.closest("a");if(c?.href&&!c.href.startsWith("intent://")&&!c.href.startsWith("devspace://")){if(c===a)return;a=c;const p=t.workspaceId??c.closest("[data-workspace-id]")?.dataset.workspaceId??c.closest("[data-workspace-surface]")?.dataset.workspaceSurface;r().then(()=>{a===c&&n&&n(c,c.href,p)})}else a&&(a=null,o?.())}function u(d){const c=d.target.closest("a");if(c&&c===a){const p=d.relatedTarget;if(p&&c.contains(p))return;a=null,o?.()}}function i(){a&&(a=null,o?.())}return e.addEventListener("mouseover",l),e.addEventListener("mouseout",u),e.addEventListener("click",i),()=>{e.removeEventListener("mouseover",l),e.removeEventListener("mouseout",u),e.removeEventListener("click",i),o?.()}}const ve=Object.freeze(Object.defineProperty({__proto__:null,createLinkTooltipHandler:ce,handleLink:Q,openInBrowserPanel:U,openInExternalBrowser:w,openLinkInApp:E,openLinkedWorkspace:ie},Symbol.toStringTag,{value:"Module"}));export{E as a,ie as b,ce as c,Q as h,ve as l,w as o,J as r,ye as w};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DmC2lRsL.js","/app/immutable/chunks/51_h0jm2.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/CI4_aI7e.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BEklUrxK.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/DxvSggY5.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/DaqXt9wp.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/rIUowGAi.js","/app/immutable/chunks/BQDGTBxC.js","/app/immutable/chunks/CpPNoOk-.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/BHCTYYXY.js","/app/immutable/chunks/CQWMr-uu.js","/app/immutable/chunks/Cz-HgbT1.js","/app/immutable/chunks/PXCFrn2V.js","/app/immutable/chunks/BnA9v3pc.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/Bjy4ygfJ.js","/app/immutable/chunks/DGmOjLYi.js","/app/immutable/chunks/C9UsZ4re.js","/app/immutable/chunks/DqFWZ_g1.js","/app/immutable/chunks/BLb6jd9K.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/DSQT151l.js","/app/immutable/chunks/BxwkoIbZ.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/C2wWLl1x.js","/app/immutable/chunks/BoQ8Q7zJ.js","/app/immutable/chunks/Dq9sK6wY.js","/app/immutable/chunks/DQLMO9xD.js","/app/immutable/chunks/D_pS9hme.js","/app/immutable/chunks/JZ27Qh_j.js","/app/immutable/chunks/XagMlRFc.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/B3bYRRle.js","/app/immutable/chunks/BNv5miK-.js","/app/immutable/chunks/DWC3_76J.js","/app/immutable/chunks/DkkmguuG.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bm as v,_ as h}from"./51_h0jm2.js";import{a as S}from"./BdWqymET.js";import{bl as A,J5 as k,i as T,HB as C,GB as D,ve as B,vc as j,vt as V,nt as z}from"./CI4_aI7e.js";import{bL as $}from"./7i9XTDuo.js";import{m as R}from"./Cz-HgbT1.js";import"./CJxGDkBm.js";import"./CpPNoOk-.js";import"./DxvSggY5.js";import{R as N,F as g,E as G,Q as O}from"./rIUowGAi.js";import"./ChTqQfQN.js";import"./BLb6jd9K.js";import{o as q}from"./BoQ8Q7zJ.js";import{i as F}from"./BBWuirRW.js";const y=new WeakMap;function ye(e,t){const a=n=>{n&&n!=="new"?y.set(e,n):y.delete(e)};return a(t),{update:a,destroy(){y.delete(e)}}}function K(e){for(let t=e;t;t=t.parentElement){const a=y.get(t);if(a)return a}}function J(e,t){const a=e?.closest("[data-workspace-link-target]")?.dataset.workspaceLinkTarget;return{openInWorkspace:!!t&&a===t,panelId:e?.closest("[data-panel-id]")?.dataset.panelId,assistantLayoutId:e?.closest("[data-assistant-layout-id]")?.dataset.assistantLayoutId,surfaceWorkspaceId:K(e)}}const i=new S("LinkHandler");async function Q(e,t){try{const a=t.event?.target,n=J(a instanceof Element?a:null,t.workspaceId),o=t.openInWorkspace??n.openInWorkspace,r=o?void 0:t.sourcePanelId||n.panelId,{assistantLayoutId:l}=n,u=t.workspaceId??(n.surfaceWorkspaceId?A(n.surfaceWorkspaceId):void 0);if(t={...t,workspaceId:u,openInWorkspace:o,sourcePanelId:r},t.customHandler&&await t.customHandler(e))return i.debug("Link handled by custom handler",{url:e}),!0;if(/^workspace-asset:/i.test(e.trim()))return R.error(v.ui_linkHandler_assetUnavailable_error()),!1;const s=N(e),{event:d}=t,f=s&&d&&!g(t)?t.githubLinkDefaultAction??q.select(k.state):void 0,c=!f||f==="open-in-app";if(t.workspaceId===T&&!t.forceExternal&&c){const{showAssistantContent:m}=await h(async()=>{const{showAssistantContent:_}=await import("./DmC2lRsL.js");return{showAssistantContent:_}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]),import.meta.url),I=t.rawHref?.startsWith("/workspace/")?t.rawHref:e;if(await m(I,{layoutId:l}))return!0}if(e.startsWith("intent://"))return await X(e,{...t,sourcePanelId:r});if(e.startsWith("devspace://"))return await Y(e,{...t,sourcePanelId:r});const p=ne(e,t.rawHref);if(p)return await re(p.path,{...t,sourcePanelId:r},p.fromResolvedUrl);if(e.startsWith("http://")||e.startsWith("https://")){if(G(e))return i.debug("Auth URL detected, opening in external browser",{url:e}),await w(e);if(t.forceExternal)return await w(e);if(o&&c||g(t))return t.workspaceId?await E(e,t.workspaceId,{...t,assistantLayoutId:l}):(i.debug("No workspaceId available, opening in external browser",{url:e}),await w(e));if(s&&d&&f)switch(f){case"open-in-browser":return await w(e);case"open-in-app":return t.workspaceId?await E(e,t.workspaceId,{...t,assistantLayoutId:l}):await w(e);case"copy-link":return await $(e),!0;case"start-workspace":return k.dispatch(C({...s,url:e})),k.dispatch(D(!0)),!0;case"show-choices":return await oe(e,s,d,t,l)}return await w(e)}return e.startsWith("file://")?t.canOpenFile?.()===!1?!1:await H(e):(i.warn("Unknown link type, falling back to external browser",{url:e}),await w(e))}catch(a){return i.error("Failed to handle link",{url:e,error:a}),!1}}async function X(e,t){try{const{parseIntentLink:a,handleIntentLink:n}=await h(async()=>{const{parseIntentLink:l,handleIntentLink:u}=await import("./CQWMr-uu.js");return{parseIntentLink:l,handleIntentLink:u}},__vite__mapDeps([24,1,2,25,11,7,26,16,8,17,27,28,29,14,15,10,18,30,31,32,33,3,4,5,6,9,34,35,36,37,38,39,40,22,41,42,23]),import.meta.url),o=a(e);if(t.canOpenFile&&o.type==="file"&&!t.canOpenFile())return!1;const r=o.workspaceId?A(o.workspaceId):t.workspaceId;return o.valid&&o.type!=="workspace"&&await L(r,t),P(t),await n(e,{workspaceId:t.openInWorkspace?r:t.workspaceId,sourcePanelId:t.sourcePanelId,openInAdjacentPanel:t.openInAdjacentPanel??g(t),openInNewAdjacentPanel:t.openInNewAdjacentPanel??!1})}catch(a){return i.error("Failed to handle intent link",{url:e,error:a}),!1}}async function Y(e,t){try{const a=e.match(/^devspace:\/\/terminal\/(.+)$/);if(a){if(!t.workspaceId)return i.warn("Cannot open terminal without workspaceId",{url:e}),!1;const n=decodeURIComponent(a[1]);i.debug("Opening terminal from devspace link",{terminalId:n,workspaceId:t.workspaceId}),await L(t.workspaceId,t),P(t);const o={type:"terminal",title:v.layout_tabTypes_terminal_title(),terminalId:n,closable:!0};return g(t)?k.dispatch(B(t.workspaceId,o,t.sourcePanelId)):k.dispatch(j(t.workspaceId,o)),!0}return i.warn("Unhandled devspace:// link type",{url:e}),!1}catch(a){return i.error("Failed to handle devspace link",{url:e,error:a}),!1}}const Z=/^[a-z][a-z0-9+.-]*:/i,x=/^[a-z]:\/(?!\/)/i;function W(e){return e.replace(/\\/g,"/")}function ee(e){try{return W(decodeURIComponent(e))}catch{return null}}function te(e){return e.split("/").some(t=>t==="..")}function ae(e){const t=e.split("/").filter(a=>a&&a!==".");return t.length===0||t.some(a=>a==="..")?null:t.join("/")}async function L(e,t){if(!t.openInWorkspace||!e)return;const{openAndShowWorkspace:a}=await h(async()=>{const{openAndShowWorkspace:n}=await import("./JZ27Qh_j.js").then(o=>o.s);return{openAndShowWorkspace:n}},__vite__mapDeps([45,4,2,3,5,6,7,8,1,9,10,11,46,47]),import.meta.url);try{await a(e)}catch(n){throw R.error(v.ui_linkHandler_navigationFailed_title(),{description:n instanceof Error?n.message:v.ui_linkHandler_unknownError_label()}),n}}function P(e){!e.workspaceId||!e.sourcePanelId||k.dispatch(z(e.workspaceId,e.sourcePanelId))}function ne(e,t){const a=t??e;if(a){if(a.startsWith("#"))return null;const n=O(a).path;if(!a.startsWith("//")&&(x.test(W(n))||!Z.test(n)))return{path:a,fromResolvedUrl:!1}}if((e.startsWith("http://")||e.startsWith("https://"))&&typeof window<"u")try{const n=new URL(e);if(n.origin===window.location.origin)return{path:n.pathname+n.hash,fromResolvedUrl:!0}}catch{}return null}async function re(e,t,a){try{if(t.canOpenFile?.()===!1)return!1;const n=O(e),o=ee(n.path);if(!o||o.includes("\0"))return!1;let r=o;const{line:l,column:u}=n,{workspaceId:s}=t;if(!s)return i.warn("Cannot open file link without workspaceId",{path:r}),!1;if(te(r))return i.warn("Rejected file link with path traversal",{path:r}),!1;if(r.startsWith("/")||x.test(r)){const{selectWorkspaceById:c}=await h(async()=>{const{selectWorkspaceById:b}=await import("./C2wWLl1x.js").then(M=>M.ea);return{selectWorkspaceById:b}},__vite__mapDeps([40,10,7,1,2,3,4,5,6,8,9,11,35,30,26,16,17,29,22,14,15,18,41,32]),import.meta.url),p=c.select(k.state,s),m=p?.worktreePath??p?.path,I=m?W(m):void 0,_=I?.endsWith("/")?I.slice(0,-1):I;if(_&&r.startsWith(`${_}/`))r=r.slice(_.length+1);else if(a)r=r.replace(/^\/+/,"");else{i.debug("Absolute path outside workspace root, opening in external editor",{path:r});const b=l===void 0?"":`:${l}${u===void 0?"":`:${u}`}`;return await H(`file://${r}${b}`)}}const d=ae(r);if(!d)return i.warn("Rejected invalid workspace file link",{path:r}),!1;r=d;const f=g(t);return await L(s,t),P(t),k.dispatch(V(s,r,{filePathIsLiteral:!0,line:l,openInAdjacentPanel:f,...t.sourcePanelId?{sourcePanelId:t.sourcePanelId}:{}})),i.debug("Opened file link in workspace file viewer",{path:r,workspaceId:s,line:l}),!0}catch(n){return i.error("Failed to open file link",{target:e,error:n}),!1}}async function oe(e,t,a,{workspaceId:n,openInWorkspace:o,sourcePanelId:r},l){try{const{showLinkActionMenu:u}=await h(async()=>{const{showLinkActionMenu:p}=await import("./B3bYRRle.js");return{showLinkActionMenu:p}},__vite__mapDeps([48,2]),import.meta.url),s=a.target instanceof HTMLElement?a.target:null;let d=a instanceof MouseEvent?a.clientX:0,f=a instanceof MouseEvent?a.clientY:0;if(d===0&&f===0&&s){const p=s.getBoundingClientRect();d=p.left,f=p.bottom}const c=u({url:e,gitHubRef:t,x:d,y:f,workspaceId:n,anchorElement:s,openInWorkspace:o??!1,sourcePanelId:r,assistantLayoutId:l});return t.kind==="pr"&&ie(c,e),i.debug("Opened link action menu",{url:e,workspaceId:n}),!0}catch(u){return i.warn("Failed to open link action menu, falling back to external browser",{url:e,error:u}),await w(e)}}function ie(e,t){h(async()=>{const{loadLinkActionMenuLinkedWorkspaces:a}=await import("./BNv5miK-.js");return{loadLinkActionMenuLinkedWorkspaces:a}},__vite__mapDeps([49,12,13,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,40,35,30,26,29,41,32,48]),import.meta.url).then(({loadLinkActionMenuLinkedWorkspaces:a})=>a(e,t)).catch(a=>{i.debug("PR workspace lookup unavailable",{url:t,error:a})})}async function se(e){try{return await L(e,{openInWorkspace:!0}),!0}catch(t){return i.warn("Failed to open linked workspace",{workspaceId:e,error:t}),!1}}async function E(e,t,a={}){if(t===T){try{const{showAssistantContent:o}=await h(async()=>{const{showAssistantContent:r}=await import("./DmC2lRsL.js");return{showAssistantContent:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]),import.meta.url);if(await o(e,{layoutId:a.assistantLayoutId}))return!0}catch(o){i.warn("Assistant panel unavailable, opening in external browser",{url:e,error:o})}return await w(e)}try{await L(t,a)}catch(o){return i.warn("Failed to enter workspace for in-app link",{url:e,workspaceId:t,error:o}),!1}const n=a.openInWorkspace?void 0:a.sourcePanelId;return await U(e,t,n)}async function U(e,t,a){let n=e,o;try{const{resolveBrowserLinkForOpen:r}=await h(async()=>{const{resolveBrowserLinkForOpen:u}=await import("./DWC3_76J.js").then(s=>s.b);return{resolveBrowserLinkForOpen:u}},__vite__mapDeps([50,25,11,7,1,2,26,16,8,17,27,28,29,14,15,10,18,30,31,32,33,3,4,5,6,9,34,35,36,37,38,39]),import.meta.url),l=await r(e);n=l.url,o=l.requestedUrl}catch(r){i.warn("URL resolution failed, opening the URL unresolved",{url:e,error:r})}try{P({workspaceId:t,sourcePanelId:a});const{getPanelLayoutManager:r}=await h(async()=>{const{getPanelLayoutManager:u}=await import("./DkkmguuG.js").then(s=>s.p);return{getPanelLayoutManager:u}},__vite__mapDeps([51,3,4,2,5,6,7,8,1,9,10,11,43]),import.meta.url);return r(t).openBrowserPanel(n,void 0,a,o),i.debug("Opened URL in browser panel",{url:e,targetUrl:n,workspaceId:t}),!0}catch(r){return i.warn("Failed to open URL in browser panel, falling back to external browser",{url:e,error:r}),await w(n)}}async function w(e){try{return await F("shell:openExternal",{url:e}),i.debug("Opened URL in external browser",{url:e}),!0}catch(t){return i.error("Failed to open URL in external browser",{url:e,error:t}),!1}}async function H(e){try{const t=e.replace("file://","");return typeof window<"u"&&window.electronAPI?(await F("shell:openExternal",{url:`vscode://file/${t}`}),i.debug("Opened file in external editor",{filePath:t}),!0):!1}catch(t){return i.error("Failed to open file in external editor",{url:e,error:t}),!1}}function ce(e,t={}){let a=null,n=null,o=null;async function r(){if(!n||!o){const d=await h(()=>import("./rIUowGAi.js").then(f=>f.K),__vite__mapDeps([14,1,2,11,7,15,10,16,8,17,18]),import.meta.url);n=d.showLinkTooltip,o=d.hideLinkTooltip}}function l(d){const c=d.target.closest("a");if(c?.href&&!c.href.startsWith("intent://")&&!c.href.startsWith("devspace://")){if(c===a)return;a=c;const p=t.workspaceId??c.closest("[data-workspace-id]")?.dataset.workspaceId??c.closest("[data-workspace-surface]")?.dataset.workspaceSurface;r().then(()=>{a===c&&n&&n(c,c.href,p)})}else a&&(a=null,o?.())}function u(d){const c=d.target.closest("a");if(c&&c===a){const p=d.relatedTarget;if(p&&c.contains(p))return;a=null,o?.()}}function s(){a&&(a=null,o?.())}return e.addEventListener("mouseover",l),e.addEventListener("mouseout",u),e.addEventListener("click",s),()=>{e.removeEventListener("mouseover",l),e.removeEventListener("mouseout",u),e.removeEventListener("click",s),o?.()}}const ve=Object.freeze(Object.defineProperty({__proto__:null,createLinkTooltipHandler:ce,handleLink:Q,openInBrowserPanel:U,openInExternalBrowser:w,openLinkInApp:E,openLinkedWorkspace:se},Symbol.toStringTag,{value:"Module"}));export{E as a,se as b,ce as c,Q as h,ve as l,w as o,J as r,ye as w};
|