@opentig/cli 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.mjs +2 -1
- package/dist/chunks/{cli-B6JTojx_.mjs → cli-DNzGBqmL.mjs} +1 -1
- package/dist/client/assets/App-BbT5H97Z.js +138 -0
- package/dist/client/assets/{CreatePullRequestDialog-CAeykZ72.js → CreatePullRequestDialog-DRLeMY4e.js} +2 -2
- package/dist/client/assets/{DiffWorkspace-BRicWHvw.js → DiffWorkspace-DJX00otP.js} +1 -1
- package/dist/client/assets/{EditableFileViewer-DWeSDnZn.js → EditableFileViewer-Cmbomx5y.js} +1 -1
- package/dist/client/assets/{File-D65shwRR.js → File-4o4egqlz.js} +1 -1
- package/dist/client/assets/FilesView-TmUF-VLr.js +1 -0
- package/dist/client/assets/{GitHubAvatar-C8R3iNoM.js → GitHubAvatar-azKPrTMv.js} +1 -1
- package/dist/client/assets/HistoryView-Go6rXO0P.js +1 -0
- package/dist/client/assets/{HtmlFileViewer-JXLHTNPm.js → HtmlFileViewer-WpYnLdMW.js} +1 -1
- package/dist/client/assets/{IconEdit-3fgBTCQ4.js → IconEdit-B8LZHB8l.js} +1 -1
- package/dist/client/assets/{IconFolderSymlink-C4ydD1eS.js → IconFolderSymlink-D29EhQPC.js} +1 -1
- package/dist/client/assets/{ImageFileViewer-YH2xhkkk.js → ImageFileViewer-1ObUacJu.js} +1 -1
- package/dist/client/assets/LocalRefsDialog-VcrlFgxR.js +1 -0
- package/dist/client/assets/{MarkdownFileViewer-BsB8WkIH.js → MarkdownFileViewer-CvsKPnvF.js} +2 -2
- package/dist/client/assets/{PairingPage-DXRyAYHn.js → PairingPage-cSoKZi8t.js} +1 -1
- package/dist/client/assets/{PierreDiffViewer-DoV3V0IW.js → PierreDiffViewer-DVTrOwX4.js} +1 -1
- package/dist/client/assets/{PierreEditBoundary-BnYZbHfi.js → PierreEditBoundary-DPtaTiUB.js} +1 -1
- package/dist/client/assets/{PierreWorkerPool-Cg9zdxiI.js → PierreWorkerPool-BxP-s6jD.js} +1 -1
- package/dist/client/assets/PullRequestDiff-DeQznd9n.js +1 -0
- package/dist/client/assets/PullRequestViewer-IhGZZs_A.js +2 -0
- package/dist/client/assets/{PullRequestsView-GStKxG7k.js → PullRequestsView-BG0xrok4.js} +1 -1
- package/dist/client/assets/QuickOpenDialog-DpmcAzTx.js +1 -0
- package/dist/client/assets/RepositoryProjectsDialog-DAzbUB3X.js +1 -0
- package/dist/client/assets/{SearchView-D5XB6wdu.js → SearchView-HoiWKG8z.js} +1 -1
- package/dist/client/assets/SettingsDialog-pmJKOaiK.js +9 -0
- package/dist/client/assets/{Viewer-Gfy3Ejyo.js → Viewer-BCk8FHrc.js} +3 -3
- package/dist/client/assets/{abnfDiagram-N423BO3Z-DdAfHevw.js → abnfDiagram-N423BO3Z-BvfKOanh.js} +1 -1
- package/dist/client/assets/{arc-C43uoeEi.js → arc-DB2nIH2Y.js} +1 -1
- package/dist/client/assets/{architectureDiagram-T3A2C74G-C7q0hhRO.js → architectureDiagram-T3A2C74G-Bqh4uY3R.js} +1 -1
- package/dist/client/assets/base-ui-DIP2rZxz.js +1 -0
- package/dist/client/assets/{blockDiagram-VBNYF7ZC-C1x9Iap4.js → blockDiagram-VBNYF7ZC-DMW415Ms.js} +1 -1
- package/dist/client/assets/{c4Diagram-5PPSVZJV-BmKaVW6q.js → c4Diagram-5PPSVZJV-BSNPes7l.js} +1 -1
- package/dist/client/assets/channel-VcDernYy.js +1 -0
- package/dist/client/assets/{checkbox-XfIUFPxh.js → checkbox-Dta4gqy2.js} +1 -1
- package/dist/client/assets/{chunk-2GRJ4B5K-kzy_H3BQ.js → chunk-2GRJ4B5K-D-86JbWu.js} +1 -1
- package/dist/client/assets/{chunk-2Q5K7J3B-BMj-FT4X.js → chunk-2Q5K7J3B-BNI-SD-k.js} +1 -1
- package/dist/client/assets/{chunk-5RXB4S5H-DmPGiCCb.js → chunk-5RXB4S5H-OFFYyML8.js} +1 -1
- package/dist/client/assets/{chunk-5VM5RSS4-DYFL8__L.js → chunk-5VM5RSS4-DpE1dtnL.js} +1 -1
- package/dist/client/assets/{chunk-6Q2QTUOP-CI98oVdT.js → chunk-6Q2QTUOP-DxAnzBXJ.js} +1 -1
- package/dist/client/assets/{chunk-GF5L2VYU-D9JiiMlX.js → chunk-GF5L2VYU-DNrTNRgr.js} +1 -1
- package/dist/client/assets/{chunk-JWPE2WC7-D0THYpZl.js → chunk-JWPE2WC7-D-jfKyIh.js} +1 -1
- package/dist/client/assets/{chunk-KBJHAD2P-Z1tJfyAr.js → chunk-KBJHAD2P-CIyQl_ts.js} +1 -1
- package/dist/client/assets/{chunk-RYQCIY6F-31aS4cD3.js → chunk-RYQCIY6F-CgCYQccM.js} +1 -1
- package/dist/client/assets/{chunk-XXDRQBXY-ClWDHmEp.js → chunk-XXDRQBXY-B31oXtqU.js} +1 -1
- package/dist/client/assets/classDiagram-JCYQIIEL-CUuEGRCt.js +1 -0
- package/dist/client/assets/classDiagram-v2-OCEON4UE-CUuEGRCt.js +1 -0
- package/dist/client/assets/{cose-bilkent-JH36ORCC-Btg2MYLh.js → cose-bilkent-JH36ORCC-CrX-LDNw.js} +1 -1
- package/dist/client/assets/{cynefin-VYW2F7L2-Cbh4Pk6j.js → cynefin-VYW2F7L2-DnkWlsqW.js} +1 -1
- package/dist/client/assets/{cynefinDiagram-MW4NZA55-BBqorl0u.js → cynefinDiagram-MW4NZA55-bUDQ9ElF.js} +1 -1
- package/dist/client/assets/{dagre-VZM6K2ZE-DugEItZ0.js → dagre-VZM6K2ZE-BW5Kni4n.js} +1 -1
- package/dist/client/assets/{diagram-7IWD3JNH-Biu7dmH8.js → diagram-7IWD3JNH-1EXGwguC.js} +1 -1
- package/dist/client/assets/{diagram-B4RE2ZJO-UDm4DXFS.js → diagram-B4RE2ZJO-CzpH5ieN.js} +1 -1
- package/dist/client/assets/{diagram-LBJQPF4R-Bcku4gb-.js → diagram-LBJQPF4R-BnKszJ_B.js} +1 -1
- package/dist/client/assets/{diagram-Q27KOJAE-DFRjglV-.js → diagram-Q27KOJAE-DbQlD3OM.js} +1 -1
- package/dist/client/assets/{diagram-UB23O5K3-CgfMWtd0.js → diagram-UB23O5K3-BqZ-RSlm.js} +1 -1
- package/dist/client/assets/{ebnfDiagram-BXEA7PRR-CZzYOqs0.js → ebnfDiagram-BXEA7PRR-B2iPWDvr.js} +1 -1
- package/dist/client/assets/{erDiagram-JOGREHBK-Cdlbxgs6.js → erDiagram-JOGREHBK-aMqHrKCk.js} +1 -1
- package/dist/client/assets/{flowDiagram-UKHOOZJN-BgImDwpP.js → flowDiagram-UKHOOZJN-ivrTsn4D.js} +1 -1
- package/dist/client/assets/{ganttDiagram-PKOTCBZU-SFhtiyL4.js → ganttDiagram-PKOTCBZU-IMfIqkXw.js} +1 -1
- package/dist/client/assets/{gitGraphDiagram-DS77QQ5N-Bkm5ueys.js → gitGraphDiagram-DS77QQ5N-BNURRh2N.js} +1 -1
- package/dist/client/assets/{index-B5RC4THs.js → index-B3QJsvjR.js} +4 -4
- package/dist/client/assets/index-Cx9LaJW8.css +1 -0
- package/dist/client/assets/{infoDiagram-6WML65LV-pCYc-VX2.js → infoDiagram-6WML65LV-BKEENkUQ.js} +1 -1
- package/dist/client/assets/{ishikawaDiagram-WSZJBQD7-BtNbG3Y6.js → ishikawaDiagram-WSZJBQD7-HrCSmiTr.js} +1 -1
- package/dist/client/assets/{journeyDiagram-NVQOT4AX-CPW2qT3y.js → journeyDiagram-NVQOT4AX-CQIuWA6F.js} +1 -1
- package/dist/client/assets/{kanban-definition-27J2QSJJ-wD6JXQFs.js → kanban-definition-27J2QSJJ-h4fSAkel.js} +1 -1
- package/dist/client/assets/{linear-sj8MOkmS.js → linear-BAdz-uC9.js} +1 -1
- package/dist/client/assets/{mermaid.core-CGJtfmwb.js → mermaid.core-vLn7mMZB.js} +4 -4
- package/dist/client/assets/{mindmap-definition-FAOFIHXS-BQwLHBVs.js → mindmap-definition-FAOFIHXS-DOrZl827.js} +1 -1
- package/dist/client/assets/{pegDiagram-VL7TDLO6-DtDsb-Z8.js → pegDiagram-VL7TDLO6-_Vs7p633.js} +1 -1
- package/dist/client/assets/{pieDiagram-7S7Q4E2Y-B3WhqNuS.js → pieDiagram-7S7Q4E2Y-7qbB_Z16.js} +1 -1
- package/dist/client/assets/{quadrantDiagram-CIZ2JOQS-CPi38pp_.js → quadrantDiagram-CIZ2JOQS-DNH8SosA.js} +1 -1
- package/dist/client/assets/{railroadDiagram-AXF67PYL-Btac44Ux.js → railroadDiagram-AXF67PYL-Ctazrrpa.js} +1 -1
- package/dist/client/assets/{render-markdown-hAIWRfn0.js → render-markdown-dvHhHbC0.js} +1 -1
- package/dist/client/assets/{requirementDiagram-LRYGKXZP-CHJgDNdg.js → requirementDiagram-LRYGKXZP-BAH8dYer.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-W5VNT64P-OYJHfmtd.js → sankeyDiagram-W5VNT64P-CuffrpdF.js} +1 -1
- package/dist/client/assets/{sequenceDiagram-SI44F4Z6-9ypa9W08.js → sequenceDiagram-SI44F4Z6-CaO4fJnS.js} +1 -1
- package/dist/client/assets/{sizeCapture-X5ZJPWSS-5ZDUTERI.js → sizeCapture-X5ZJPWSS-B_LramBU.js} +1 -1
- package/dist/client/assets/{stateDiagram-OKZ733FA-nGHE1hN7.js → stateDiagram-OKZ733FA-bc7zBYHn.js} +1 -1
- package/dist/client/assets/stateDiagram-v2-UEYNNEHI-C-UGmA2d.js +1 -0
- package/dist/client/assets/{swimlanes-SLNWSIFB-BZFv9Zp8.js → swimlanes-SLNWSIFB-DQzg1IPn.js} +2 -2
- package/dist/client/assets/swimlanesDiagram-ULZ7WXOC-DnopIiWa.js +8 -0
- package/dist/client/assets/{tanstack-CcfAJoQ7.js → tanstack-BysN2Oew.js} +1 -1
- package/dist/client/assets/{timeline-definition-Z64GVDOM-pUIcaCIE.js → timeline-definition-Z64GVDOM-CtbuIB6K.js} +1 -1
- package/dist/client/assets/{vennDiagram-T6HMQDX7-D6dEIJmP.js → vennDiagram-T6HMQDX7-pYJ0ZfFS.js} +1 -1
- package/dist/client/assets/{viewer-tabs-BjG3oKQ9.js → viewer-tabs-Cnfyd6rg.js} +1 -1
- package/dist/client/assets/{wardleyDiagram-T6FBY63Y-DZ8ro_-y.js → wardleyDiagram-T6FBY63Y-DYl_Oi-Y.js} +1 -1
- package/dist/client/assets/{xychartDiagram-ELKLHX3M-WJ2Zfmlk.js → xychartDiagram-ELKLHX3M-Cj5YUfP5.js} +1 -1
- package/dist/client/index.html +4 -4
- package/dist/dev.mjs +2 -1
- package/dist/manifest.json +1 -1
- package/dist/server.mjs +779 -211
- package/dist/utility.mjs +1 -0
- package/package.json +1 -1
- package/dist/client/assets/App-Dfm5F199.js +0 -74
- package/dist/client/assets/FilesView-EfoU7sF-.js +0 -1
- package/dist/client/assets/HistoryView-C6T2dsBC.js +0 -1
- package/dist/client/assets/LocalRefsDialog--1NiYKYj.js +0 -1
- package/dist/client/assets/PullRequestDiff-D6QG5Anx.js +0 -1
- package/dist/client/assets/PullRequestViewer-jC3LVmiO.js +0 -2
- package/dist/client/assets/QuickOpenDialog-HvslpGQl.js +0 -1
- package/dist/client/assets/RepositoryProjectsDialog-Biqv5GO_.js +0 -1
- package/dist/client/assets/SettingsDialog-DWAunOQB.js +0 -72
- package/dist/client/assets/base-ui-CJ8ZIx3d.js +0 -1
- package/dist/client/assets/channel-Diwpee6E.js +0 -1
- package/dist/client/assets/classDiagram-JCYQIIEL-BDuo9kiS.js +0 -1
- package/dist/client/assets/classDiagram-v2-OCEON4UE-BDuo9kiS.js +0 -1
- package/dist/client/assets/index-Dc9xVluy.css +0 -1
- package/dist/client/assets/stateDiagram-v2-UEYNNEHI-CkCpE1Yu.js +0 -1
- package/dist/client/assets/swimlanesDiagram-ULZ7WXOC-Dxlb7bju.js +0 -8
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SettingsDialog-DWAunOQB.js","assets/react-rd22PHbN.js","assets/tanstack-CcfAJoQ7.js","assets/base-ui-CJ8ZIx3d.js","assets/index-B5RC4THs.js","assets/index-Dc9xVluy.css","assets/IconEdit-3fgBTCQ4.js","assets/LocalRefsDialog--1NiYKYj.js","assets/checkbox-XfIUFPxh.js","assets/RepositoryProjectsDialog-Biqv5GO_.js","assets/IconFolderSymlink-C4ydD1eS.js","assets/Viewer-Gfy3Ejyo.js","assets/FilesView-EfoU7sF-.js","assets/HistoryView-C6T2dsBC.js","assets/SearchView-D5XB6wdu.js","assets/PullRequestsView-GStKxG7k.js","assets/GitHubAvatar-C8R3iNoM.js","assets/QuickOpenDialog-HvslpGQl.js","assets/CreatePullRequestDialog-CAeykZ72.js","assets/viewer-tabs-BjG3oKQ9.js","assets/viewer-tabs-D8o-L3pM.css","assets/markdown-BpzjXclZ.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{c as V,o as N,q as Ne,a as xe,T as be,b as ke,d as we,e as Rs,n as on,B as W,f as xc,O as jc,_ as gt,t as Pc,v as Cc,x as Xs,S as Sc,s as M,y as Rc,z as Ec,A as Nc,C as zc,D as di,w as Ys,E as Dc,F as Tc,G as $c,H as pi,J as Mc}from"./index-B5RC4THs.js";import{r as _,j as o,R as Ce,a as xn}from"./react-rd22PHbN.js";import{u as jn,a as aa,b as Ic,f as Ac}from"./tanstack-CcfAJoQ7.js";import{x as Oc,y as Lc,z as qc,B as Fc,D as Bc,E as Gc,j as Hc,k as Uc,F as Vc,G as Wc,H as Kc,I as Qc,P as Xc,b as Yc,c as Zc,d as Jc,e as el,J as tl,K as nl,L as sl,N as ol,O as il,Q as al,R as rl,U as cl,V as ll,W as _l,X as fl,Y as dl,Z as pl,_ as ul,$ as hl,a0 as gl,a1 as ml,a2 as yl,a3 as vl,a4 as bl,a5 as kl,a6 as wl,a7 as xl}from"./base-ui-CJ8ZIx3d.js";const jl=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 8v4",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]],ui=V("outline","alert-circle","AlertCircle",jl);const Pl=[["path",{d:"M12 9v4",key:"svg-0"}],["path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]],Cl=V("outline","alert-triangle","AlertTriangle",Pl);const Sl=[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M18 13l-6 6",key:"svg-1"}],["path",{d:"M6 13l6 6",key:"svg-2"}]],ra=V("outline","arrow-down","ArrowDown",Sl);const Rl=[["path",{d:"M5 12l14 0",key:"svg-0"}],["path",{d:"M5 12l6 6",key:"svg-1"}],["path",{d:"M5 12l6 -6",key:"svg-2"}]],El=V("outline","arrow-left","ArrowLeft",Rl);const Nl=[["path",{d:"M5 12l14 0",key:"svg-0"}],["path",{d:"M13 18l6 -6",key:"svg-1"}],["path",{d:"M13 6l6 6",key:"svg-2"}]],hi=V("outline","arrow-right","ArrowRight",Nl);const zl=[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M18 11l-6 -6",key:"svg-1"}],["path",{d:"M6 11l6 -6",key:"svg-2"}]],Es=V("outline","arrow-up","ArrowUp",zl);const Dl=[["path",{d:"M19 4v16h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h12",key:"svg-0"}],["path",{d:"M19 16h-12a2 2 0 0 0 -2 2",key:"svg-1"}],["path",{d:"M9 8h6",key:"svg-2"}]],Tl=V("outline","book-2","Book2",Dl);const $l=[["path",{d:"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5",key:"svg-0"}]],ca=V("outline","brand-github","BrandGithub",$l);const Ml=[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]],dn=V("outline","check","Check",Ml);const Il=[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]],Al=V("outline","chevron-down","ChevronDown",Il);const Ol=[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]],_s=V("outline","chevron-right","ChevronRight",Ol);const Ll=[["path",{d:"M6 15l6 -6l6 6",key:"svg-0"}]],ql=V("outline","chevron-up","ChevronUp",Ll);const Fl=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 7v5l3 3",key:"svg-1"}]],Bl=V("outline","clock","Clock",Fl);const Gl=[["path",{d:"M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-10",key:"svg-0"}],["path",{d:"M7 20h10",key:"svg-1"}],["path",{d:"M9 16v4",key:"svg-2"}],["path",{d:"M15 16v4",key:"svg-3"}]],Hl=V("outline","device-desktop","DeviceDesktop",Gl);const Ul=[["path",{d:"M4 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-0"}],["path",{d:"M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-1"}],["path",{d:"M18 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-2"}]],Vl=V("outline","dots","Dots",Ul);const Wl=[["path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2",key:"svg-0"}],["path",{d:"M7 11l5 5l5 -5",key:"svg-1"}],["path",{d:"M12 4l0 12",key:"svg-2"}]],Kl=V("outline","download","Download",Wl);const Ql=[["path",{d:"M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6",key:"svg-0"}],["path",{d:"M11 13l9 -9",key:"svg-1"}],["path",{d:"M15 4h5v5",key:"svg-2"}]],la=V("outline","external-link","ExternalLink",Ql);const Xl=[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2",key:"svg-1"}],["path",{d:"M9 15h6",key:"svg-2"}],["path",{d:"M12.5 17.5l2.5 -2.5l-2.5 -2.5",key:"svg-3"}]],Po=V("outline","file-arrow-right","FileArrowRight",Xl);const Yl=[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2",key:"svg-1"}],["path",{d:"M9 9l1 0",key:"svg-2"}],["path",{d:"M9 13l6 0",key:"svg-3"}],["path",{d:"M9 17l6 0",key:"svg-4"}]],Zl=V("outline","file-text","FileText",Yl);const Jl=[["path",{d:"M15 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M18 17h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h4l5 5v7a2 2 0 0 1 -2 2",key:"svg-1"}],["path",{d:"M16 17v2a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h2",key:"svg-2"}]],ro=V("outline","files","Files",Jl);const e_=[["path",{d:"M5 19l2.757 -7.351a1 1 0 0 1 .936 -.649h12.307a1 1 0 0 1 .986 1.164l-.996 5.211a2 2 0 0 1 -1.964 1.625h-14.026a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v2",key:"svg-0"}]],t_=V("outline","folder-open","FolderOpen",e_);const n_=[["path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2",key:"svg-0"}]],Pn=V("outline","folder","Folder",n_);const s_=[["path",{d:"M5 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M5 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M15 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-2"}],["path",{d:"M7 8l0 8",key:"svg-3"}],["path",{d:"M9 18h6a2 2 0 0 0 2 -2v-5",key:"svg-4"}],["path",{d:"M14 14l3 -3l3 3",key:"svg-5"}]],ds=V("outline","git-branch","GitBranch",s_);const o_=[["path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-0"}],["path",{d:"M12 3l0 6",key:"svg-1"}],["path",{d:"M12 15l0 6",key:"svg-2"}]],co=V("outline","git-commit","GitCommit",o_);const i_=[["path",{d:"M4 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M16 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M11 6h5a2 2 0 0 1 2 2v8",key:"svg-2"}],["path",{d:"M14 9l-3 -3l3 -3",key:"svg-3"}],["path",{d:"M13 18h-5a2 2 0 0 1 -2 -2v-8",key:"svg-4"}],["path",{d:"M10 15l3 3l-3 3",key:"svg-5"}]],lo=V("outline","git-compare","GitCompare",i_);const a_=[["path",{d:"M5 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M5 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M15 12a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-2"}],["path",{d:"M7 8l0 8",key:"svg-3"}],["path",{d:"M7 8a4 4 0 0 0 4 4h4",key:"svg-4"}]],_a=V("outline","git-merge","GitMerge",a_);const r_=[["path",{d:"M4 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M4 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M16 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-2"}],["path",{d:"M6 8l0 8",key:"svg-3"}],["path",{d:"M11 6h5a2 2 0 0 1 2 2v8",key:"svg-4"}],["path",{d:"M14 9l-3 -3l3 -3",key:"svg-5"}]],ps=V("outline","git-pull-request","GitPullRequest",r_);const c_=[["path",{d:"M10 3h4v4h-4l0 -4",key:"svg-0"}],["path",{d:"M3 17h4v4h-4l0 -4",key:"svg-1"}],["path",{d:"M17 17h4v4h-4l0 -4",key:"svg-2"}],["path",{d:"M7 17l5 -4l5 4",key:"svg-3"}],["path",{d:"M12 7l0 6",key:"svg-4"}]],gi=V("outline","hierarchy-2","Hierarchy2",c_);const l_=[["path",{d:"M12 8l0 4l2 2",key:"svg-0"}],["path",{d:"M3.05 11a9 9 0 1 1 .5 4m-.5 5v-5h5",key:"svg-1"}]],mi=V("outline","history","History",l_);const __=[["path",{d:"M5 12l-2 0l9 -9l9 9l-2 0",key:"svg-0"}],["path",{d:"M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7",key:"svg-1"}],["path",{d:"M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6",key:"svg-2"}]],f_=V("outline","home","Home",__);const d_=[["path",{d:"M4 6a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2l0 -12",key:"svg-0"}],["path",{d:"M4 13h3l3 3h4l3 -3h3",key:"svg-1"}]],p_=V("outline","inbox","Inbox",d_);const u_=[["path",{d:"M13 5h8",key:"svg-0"}],["path",{d:"M13 9h5",key:"svg-1"}],["path",{d:"M13 15h8",key:"svg-2"}],["path",{d:"M13 19h5",key:"svg-3"}],["path",{d:"M3 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-4"}],["path",{d:"M3 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-5"}]],h_=V("outline","list-details","ListDetails",u_);const g_=[["path",{d:"M12 3a9 9 0 1 0 9 9",key:"svg-0"}]],m_=V("outline","loader-2","Loader2",g_);const y_=[["path",{d:"M12 21v-3m6.36 .36l-2.12 -2.12m4.76 -4.24h-3m.36 -6.36l-2.12 2.12m-4.24 -4.76v3m-6.36 -.36l2.12 2.12m-3.76 4.24h2m1 4.95l.71 -.71",key:"svg-0"}]],cn=V("outline","loader-4","Loader4",y_);const v_=[["path",{d:"M5 12l14 0",key:"svg-0"}]],fa=V("outline","minus","Minus",v_);const b_=[["path",{d:"M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4",key:"svg-0"}],["path",{d:"M13.5 6.5l4 4",key:"svg-1"}]],k_=V("outline","pencil","Pencil",b_);const w_=[["path",{d:"M5 7a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2l0 -10",key:"svg-0"}]],x_=V("outline","player-stop","PlayerStop",w_);const j_=[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]],Ns=V("outline","plus","Plus",j_);const P_=[["path",{d:"M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4",key:"svg-0"}],["path",{d:"M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4",key:"svg-1"}]],Co=V("outline","refresh","Refresh",P_);const C_=[["path",{d:"M3.06 13a9 9 0 1 0 .49 -4.087",key:"svg-0"}],["path",{d:"M3 4.001v5h5",key:"svg-1"}],["path",{d:"M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-2"}]],_o=V("outline","restore","Restore",C_);const S_=[["path",{d:"M3 10a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]],Nn=V("outline","search","Search",S_);const R_=[["path",{d:"M8 9l4 -4l4 4",key:"svg-0"}],["path",{d:"M16 15l-4 4l-4 -4",key:"svg-1"}]],da=V("outline","selector","Selector",R_);const E_=[["path",{d:"M3 7a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3",key:"svg-0"}],["path",{d:"M3 15a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3l0 -2",key:"svg-1"}],["path",{d:"M7 8l0 .01",key:"svg-2"}],["path",{d:"M7 16l0 .01",key:"svg-3"}]],yi=V("outline","server","Server",E_);const N_=[["path",{d:"M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065",key:"svg-0"}],["path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-1"}]],So=V("outline","settings","Settings",N_);const z_=[["path",{d:"M4 7l16 0",key:"svg-0"}],["path",{d:"M10 11l0 6",key:"svg-1"}],["path",{d:"M14 11l0 6",key:"svg-2"}],["path",{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12",key:"svg-3"}],["path",{d:"M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3",key:"svg-4"}]],D_=V("outline","trash","Trash",z_);const T_=[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]],pn=V("outline","x","X",T_);function $_(e){return jn({queryKey:Ne.githubAccount(e??""),queryFn:()=>N.github.repositoryAccount(e,!0),enabled:e!==null,staleTime:6e4})}const pa=[{id:"openRepository",label:"Open repository",description:"Open a repository from disk.",category:"General",defaultCombo:"Ctrl+O",allowBare:!1},{id:"refresh",label:"Refresh",description:"Refresh the current repository.",category:"General",defaultCombo:"Ctrl+R",allowBare:!1},{id:"quickOpen",label:"Quick open",description:"Search and open a file by name.",category:"General",defaultCombo:"Ctrl+P",allowBare:!1},{id:"repoSwitcher",label:"Repository switcher",description:"Open the repository switcher. Type a number, or press again to close.",category:"General",defaultCombo:"Q",allowBare:!0},{id:"commit",label:"Commit",description:"Commit the staged changes.",category:"Commit",defaultCombo:"Ctrl+Enter",allowBare:!1},{id:"saveFile",label:"Save file",description:"Save the active file draft.",category:"Editor",defaultCombo:"Ctrl+S",allowBare:!1},{id:"editorSearch",label:"Find and replace",description:"Open find and replace in the file editor. Ctrl+Alt+F always works too, as a built-in alternative.",category:"Editor",defaultCombo:"Ctrl+F",allowBare:!1},{id:"undoFileChange",label:"Undo file operation",description:"Undo the last file create, rename, move, or delete.",category:"Editor",defaultCombo:"Ctrl+Z",allowBare:!1},{id:"redoFileChange",label:"Redo file operation",description:"Redo the last undone file operation.",category:"Editor",defaultCombo:"Ctrl+Shift+Z",allowBare:!1},{id:"closeTab",label:"Close tab",description:"Close the active file tab.",category:"Tabs",defaultCombo:"Ctrl+W",allowBare:!1},{id:"nextTab",label:"Next tab",description:"Switch to the next file tab.",category:"Tabs",defaultCombo:"Ctrl+Tab",allowBare:!1},{id:"prevTab",label:"Previous tab",description:"Switch to the previous file tab.",category:"Tabs",defaultCombo:"Ctrl+Shift+Tab",allowBare:!1},{id:"moveTabLeft",label:"Move tab left",description:"Move the active tab one position left.",category:"Tabs",defaultCombo:"Ctrl+Shift+PageUp",allowBare:!1},{id:"moveTabRight",label:"Move tab right",description:"Move the active tab one position right.",category:"Tabs",defaultCombo:"Ctrl+Shift+PageDown",allowBare:!1}],M_=new Set(["Ctrl+1","Ctrl+2","Ctrl+3","Ctrl+4","Ctrl+5","Ctrl+6","Ctrl+7","Ctrl+8","Ctrl+9","Ctrl+A","Ctrl+C","Ctrl+X","Ctrl+V"]),Pg=[{combo:"Ctrl + 1..5",label:"Jump to a sidebar section",category:"General"},{combo:"Ctrl + Ctrl",label:"Show and focus OpenTig from anywhere (double-tap Control)",category:"General"},{combo:"Ctrl + A",label:"Select all files",category:"Files"},{combo:"Ctrl + C",label:"Copy selected files",category:"Files"},{combo:"Ctrl + X",label:"Cut selected files",category:"Files"},{combo:"Ctrl + V",label:"Paste files",category:"Files"},{combo:"F2",label:"Rename file",category:"Files"},{combo:"Delete",label:"Delete file",category:"Files"},{combo:"Enter / Space",label:"Activate the focused tab in the open-files strip",category:"Files"},{combo:"Delete",label:"Close the focused tab in the open-files strip",category:"Files"},{combo:"Ctrl + Alt + F",label:"Find and replace (always works, alongside the rebindable shortcut above)",category:"Editor"},{combo:"+ / -",label:"Zoom image preview",category:"Image preview"},{combo:"0",label:"Reset image zoom",category:"Image preview"},{combo:"F",label:"Fit image to window",category:"Image preview"}],I_=["Ctrl","Shift","Alt"],ua=["Enter","Tab","PageUp","PageDown"];function A_(e){return e.length===1?/[a-zA-Z]/.test(e)?e.toUpperCase():/[0-9]/.test(e)?e:null:ua.includes(e)?e:null}function O_(e){return/^[A-Z]$/.test(e)||/^[0-9]$/.test(e)||ua.includes(e)}function ha(e){const t=A_(e.key);if(!t)return null;const n=[];return(e.ctrlKey||e.metaKey)&&n.push("Ctrl"),e.shiftKey&&n.push("Shift"),e.altKey&&n.push("Alt"),n.push(t),n.join("+")}function ut(e,t){return ha(e)===t}function Cg(e){return e.split("+").join(" + ")}function L_(e,t){if(typeof e!="string"||e.length===0||e.length>32)return!1;const n=e.split("+"),s=n.pop();if(!s||!O_(s))return!1;if(n.length===0)return t&&/^[A-Z]$/.test(s);if(t)return!1;let i=-1;for(const a of n){const c=I_.indexOf(a);if(c===-1||c<=i)return!1;i=c}return!0}function ga(e){const t={};for(const n of pa){const s=e?.[n.id];t[n.id]=s&&L_(s,n.allowBare)?s:n.defaultCombo}return t}const q_=ga(void 0);function Sg(e,t,n){if(M_.has(t))return"reserved";for(const s of pa)if(s.id!==e&&n[s.id]===t)return s.id;return null}const ma=_.createContext(q_);function F_({shortcuts:e,children:t}){return o.jsx(ma.Provider,{value:e,children:t})}function fo({className:e,...t}){return o.jsx("kbd",{"data-slot":"kbd",className:xe("pointer-events-none inline-flex h-5 min-w-5 items-center justify-center rounded border border-border bg-muted px-1 font-mono text-[10px] leading-none font-medium text-muted-foreground select-none",e),...t})}function Rg({className:e,...t}){return o.jsx("span",{"data-slot":"kbd-group",className:xe("inline-flex items-center gap-1",e),...t})}const B_=Oc;function G_({className:e,size:t="default",children:n,...s}){return o.jsxs(Lc,{"data-slot":"combobox-trigger","data-size":t,className:xe("flex w-fit min-w-0 cursor-pointer items-center justify-between gap-1.5 rounded-lg border border-border bg-input/40 px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow,background-color] outline-none hover:bg-input/70 aria-expanded:bg-input/70 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:px-1.5 dark:bg-input/25 dark:hover:bg-input/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...s,children:[n,o.jsx(qc,{render:o.jsx(da,{className:"pointer-events-none size-4 text-muted-foreground"})})]})}function H_({className:e,children:t,sideOffset:n=4,align:s="start",...i}){return o.jsx(Fc,{children:o.jsx(Bc,{sideOffset:n,align:s,className:"isolate z-50",children:o.jsx(Gc,{"data-slot":"combobox-content",className:xe("relative isolate z-50 flex max-h-[min(24rem,var(--available-height))] w-max min-w-0 max-w-[min(var(--available-width),40rem)] origin-(--transform-origin) flex-col overflow-hidden rounded-xl bg-popover text-popover-foreground shadow-xl ring-1 ring-foreground/10 duration-100 dark:ring-foreground/10 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...i,children:t})})})}function U_({className:e,...t}){return o.jsxs("div",{"data-slot":"combobox-input",className:"flex items-center gap-2 border-b border-border/70 px-3",children:[o.jsx(Nn,{className:"size-4 shrink-0 text-muted-foreground"}),o.jsx(Hc,{className:xe("h-10 w-full min-w-0 bg-transparent text-sm text-foreground outline-none placeholder:text-muted-foreground",e),...t})]})}function V_({className:e,...t}){return o.jsx(Uc,{"data-slot":"combobox-list",className:xe("min-h-0 flex-1 scroll-py-1 overflow-y-auto overflow-x-hidden p-1",e),...t})}function W_({className:e,...t}){return o.jsx(Vc,{"data-slot":"combobox-group",className:xe("scroll-my-1.5",e),...t})}function K_({className:e,...t}){return o.jsx(Wc,{"data-slot":"combobox-group-label",className:xe("px-2 pt-2 pb-1 text-xs font-medium text-muted-foreground",e),...t})}function Q_({className:e,children:t,...n}){return o.jsxs(Kc,{"data-slot":"combobox-item",className:xe("relative flex w-full cursor-pointer items-center gap-2 rounded-md py-1.5 pr-7 pl-2 text-sm font-medium outline-hidden select-none transition-colors data-highlighted:bg-foreground/10 data-selected:text-primary data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n,children:[o.jsx("span",{className:"flex min-w-0 flex-1 items-center gap-2 overflow-hidden text-ellipsis whitespace-nowrap",children:t}),o.jsx(Qc,{render:o.jsx("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center"}),children:o.jsx(dn,{className:"pointer-events-none text-primary"})})]})}function po({groups:e,value:t,onValueChange:n,label:s,triggerLabel:i,icon:a,triggerHint:c,triggerId:l,size:p="sm",triggerClassName:f,contentClassName:g,shortcut:y,placeholder:v,management:u,disabled:x,align:P="end",open:j,onOpenChange:D,focusSearch:k=!0,onSearchChange:R}){const[$,F]=_.useState(!1),[A,I]=_.useState(""),B=_.useMemo(()=>e.flatMap(E=>E.items),[e]),U=B.find(E=>E.value===t)??null,O=A.trim().toLocaleLowerCase(),K=e.map(E=>({...E,items:E.items.filter(H=>H.pinned||`${E.label} ${H.label} ${H.description??""} ${H.search??""}`.toLocaleLowerCase().includes(O))})).filter(E=>E.items.length>0),ee=E=>{F(E),E||I(""),D?.(E)};return o.jsxs(B_,{items:B,filteredItems:K.flatMap(E=>E.items),value:U,open:j??$,onOpenChange:ee,inputValue:A,onInputValueChange:E=>{I(E),R?.()},filter:null,disabled:x,itemToStringLabel:E=>E?.label??"",itemToStringValue:E=>E?.value??"",isItemEqualToValue:(E,H)=>E?.value===H?.value,onValueChange:E=>{!E||E.disabled||(ee(!1),E.value!==t&&n(E.value))},children:[o.jsxs(G_,{id:l,size:p,className:f,"aria-label":s,"aria-keyshortcuts":y,children:[a,o.jsx("span",{className:"min-w-0 flex-1 truncate text-left",children:i}),c]}),o.jsxs(H_,{align:P,className:xe("searchable-picker",g),initialFocus:k,children:[o.jsx(U_,{placeholder:v,"aria-label":v}),o.jsxs(V_,{className:"searchable-picker-list","aria-label":s,children:[K.length===0&&o.jsx("div",{className:"searchable-picker-empty",role:"status",children:"No matches"}),K.map(E=>o.jsxs(W_,{children:[E.label&&o.jsx(K_,{className:"searchable-picker-group",children:E.label}),E.items.map(H=>{const Z=o.jsxs(o.Fragment,{children:[H.icon&&o.jsx("span",{className:"searchable-picker-icon",children:H.icon}),o.jsxs("span",{className:"searchable-picker-copy",children:[o.jsx("strong",{children:H.label}),H.description&&o.jsx("small",{children:H.description})]}),H.trailing&&o.jsx("span",{className:"searchable-picker-trailing",children:H.trailing})]});return o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx(Q_,{value:H,disabled:H.disabled,className:xe("searchable-picker-item",H.description&&"searchable-picker-item-detailed")}),children:Z}),o.jsx(we,{children:H.tooltip??[H.label,H.description].filter(Boolean).join(" · ")})]},H.value)})]},E.id))]}),u&&o.jsx("div",{className:"searchable-picker-footer",children:o.jsxs("button",{type:"button",onClick:()=>{ee(!1),u.onClick()},children:[o.jsx(So,{})," ",u.label]})})]})]})}function Ro(){return o.jsx("span",{className:on?"app-name app-name-dev":"app-name",children:Rs})}const ya=500,X_=20,Y_=20,Z_=2048,va=64*1024;function J_(e){if(typeof e!="string"||!e||e.length>Z_||e.includes("\0")||af(e))return null;const t=e.replace(/\\/g,"/").replace(/\/+$/,"");return!t||t.startsWith("/")||/^[a-z]:\//i.test(t)||t.startsWith("//")||t.split("/").some(s=>!s||s==="."||s==="..")?null:t}function ef(e){if(!Array.isArray(e))return[];const t=new Set;for(const s of e){const i=J_(s);i&&t.add(i)}let n=0;return[...t].sort(ba).filter(s=>n+s.length>va?!1:(n+=s.length,!0)).slice(0,ya)}function tf(e){if(!Array.isArray(e))return[];const t=new Map;for(const n of e){if(!n||typeof n!="object")continue;const s=n;if(!nf(s.repositoryId)||!sf(s.updatedAt))continue;const i=ef(s.expandedPaths);if(i.length===0)continue;const a={repositoryId:s.repositoryId,expandedPaths:i,updatedAt:s.updatedAt},c=t.get(a.repositoryId);(!c||vi(a,c)<0)&&t.set(a.repositoryId,a)}return[...t.values()].sort(vi).slice(0,Y_)}function nf(e){return typeof e=="string"&&/^[0-9a-f]{16}$/.test(e)}function ba(e,t){return bi(e)-bi(t)||of(e,t)}function vi(e,t){return t.updatedAt.localeCompare(e.updatedAt)||e.repositoryId.localeCompare(t.repositoryId)}function bi(e){return e.split("/").length}function sf(e){if(typeof e!="string")return!1;const t=Date.parse(e);return Number.isFinite(t)&&new Date(t).toISOString()===e}function of(e,t){return e===t?0:e<t?-1:1}function af(e){return[...e].some(t=>t.charCodeAt(0)<32||t.charCodeAt(0)===127)}const rf="opentig-open-files-drop-host";function Eg(e,t){return e.type==="file"&&t.includes(e.path)}function uo(e,t){for(const n of e){if(n.path===t)return n;if(n.type==="directory"){const s=uo(n.children,t);if(s)return s}}return null}function ka(e,t){for(const n of e){if(n.path===t)return"present";if(!(n.type!=="directory"||!zn(n.path,t)))return n.ignored===!0&&n.children.length===0?"deferred":ka(n.children,t)}return"missing"}function us(e){const t=[],n=s=>{for(const i of s)i.type==="directory"?(t.push(`d:${i.path}:${i.ignored===!0?1:0}`),n(i.children)):t.push(`f:${i.path}:${i.size}:${i.mtimeMs}:${i.ignored===!0?1:0}`)};return n(e),t.join(`
|
|
3
|
-
`)}function cf(e,t,n){const s=uo(e,n),i=uo(t,n);return!s||!i||s.type!=="file"||i.type!=="file"?s!==i:s.size!==i.size||s.mtimeMs!==i.mtimeMs}function lf(e){const t=[];for(const n of e){if(n.type==="file"){n.ignored||t.push(n);continue}if(n.ignored)continue;const s=lf(n.children);t.push({...n,children:s})}return t}function _f(e,t){return t.size===0?e:e.map(n=>{if(n.type!=="directory")return n;const s=n.children.length>0?n.children:t.get(n.path)??n.children;return{...n,children:_f(s,t)}})}function Ng(e,t){let n=null;for(const[s,i]of t){const a=e.get(s);a!==void 0&&us(a)!==us(i)&&(n??=new Map(e),n.set(s,i))}return n??e}function zg(e,t,n){const s=[],i=[],a=[];for(const c of t){const l=wa(e,c,n);l.status==="present"?s.push(c):l.status==="deferred"?i.push(c):a.push(c)}return{retained:[...s,...i],present:s,deferred:i,missing:a}}function Dg(e,t,n){const s=[...new Set(t)].map(l=>({path:l,...wa(e,l,n)})).filter(l=>l.status!=="missing").sort((l,p)=>ba(l.path,p.path)),i=[];let a=0,c=0;for(const l of s){if(i.length>=ya)break;l.lazy&&a>=X_||c+l.path.length>va||(i.push(l.path),c+=l.path.length,l.lazy&&(a+=1))}return i}function wa(e,t,n){const s=t.split("/");let i=e,a="",c=!1;for(let l=0;l<s.length;l+=1){a=a?`${a}/${s[l]}`:s[l];const p=i.find(f=>f.path===a);if(!p||p.type!=="directory")return{status:"missing",lazy:c};if(c||=p.ignored===!0,l===s.length-1)return{status:"present",lazy:c};if(p.ignored===!0&&p.children.length===0&&!n.has(p.path))return{status:"deferred",lazy:!0};i=p.children}return{status:"missing",lazy:c}}function Tg(e){return/\.(?:md|markdown|mdx)$/i.test(e)}function ff(e){return/\.(?:html?|xhtml)$/i.test(e)}function zn(e,t){return t===e||t.startsWith(`${e.replace(/\/+$/,"")}/`)}function df(e){const t=e.replace(/\\/g,"/").replace(/\/+$/,""),n=t.lastIndexOf("/");return n<0?"":t.slice(0,n)}function $g(e,t){return e.length>0&&!e.some(n=>zn(n,t))&&e.some(n=>df(n)!==t)}function pf(e){return e instanceof HTMLElement?e.matches('input, textarea, select, [contenteditable="true"]')||e.closest('input, textarea, select, [contenteditable="true"]')!==null:!1}function Mg(e,t){return ut(e,t.undoFileChange)?"undo":ut(e,t.redoFileChange)?"redo":null}function uf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _.useMemo(()=>s=>{t.forEach(i=>i(s))},t)}const zs=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function hn(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function Eo(e){return"nodeType"in e}function He(e){var t,n;return e?hn(e)?e:Eo(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function No(e){const{Document:t}=He(e);return e instanceof t}function $n(e){return hn(e)?!1:e instanceof He(e).HTMLElement}function xa(e){return e instanceof He(e).SVGElement}function gn(e){return e?hn(e)?e.document:Eo(e)?No(e)?e:$n(e)||xa(e)?e.ownerDocument:document:document:document}const rt=zs?_.useLayoutEffect:_.useEffect;function Ds(e){const t=_.useRef(e);return rt(()=>{t.current=e}),_.useCallback(function(){for(var n=arguments.length,s=new Array(n),i=0;i<n;i++)s[i]=arguments[i];return t.current==null?void 0:t.current(...s)},[])}function hf(){const e=_.useRef(null),t=_.useCallback((s,i)=>{e.current=setInterval(s,i)},[]),n=_.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function Dn(e,t){t===void 0&&(t=[e]);const n=_.useRef(e);return rt(()=>{n.current!==e&&(n.current=e)},t),n}function Mn(e,t){const n=_.useRef();return _.useMemo(()=>{const s=e(n.current);return n.current=s,s},[...t])}function hs(e){const t=Ds(e),n=_.useRef(null),s=_.useCallback(i=>{i!==n.current&&t?.(i,n.current),n.current=i},[]);return[n,s]}function gs(e){const t=_.useRef();return _.useEffect(()=>{t.current=e},[e]),t.current}let Zs={};function In(e,t){return _.useMemo(()=>{if(t)return t;const n=Zs[e]==null?0:Zs[e]+1;return Zs[e]=n,e+"-"+n},[e,t])}function ja(e){return function(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),i=1;i<n;i++)s[i-1]=arguments[i];return s.reduce((a,c)=>{const l=Object.entries(c);for(const[p,f]of l){const g=a[p];g!=null&&(a[p]=g+e*f)}return a},{...t})}}const ln=ja(1),ms=ja(-1);function gf(e){return"clientX"in e&&"clientY"in e}function Ts(e){if(!e)return!1;const{KeyboardEvent:t}=He(e.target);return t&&e instanceof t}function mf(e){if(!e)return!1;const{TouchEvent:t}=He(e.target);return t&&e instanceof t}function ys(e){if(mf(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return gf(e)?{x:e.clientX,y:e.clientY}:null}const Dt=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Dt.Translate.toString(e),Dt.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:s}=e;return t+" "+n+"ms "+s}}}),ki="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function yf(e){return e.matches(ki)?e:e.querySelector(ki)}const vf={display:"none"};function bf(e){let{id:t,value:n}=e;return Ce.createElement("div",{id:t,style:vf},n)}function kf(e){let{id:t,announcement:n,ariaLiveType:s="assertive"}=e;const i={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return Ce.createElement("div",{id:t,style:i,role:"status","aria-live":s,"aria-atomic":!0},n)}function wf(){const[e,t]=_.useState("");return{announce:_.useCallback(s=>{s!=null&&t(s)},[]),announcement:e}}const Pa=_.createContext(null);function xf(e){const t=_.useContext(Pa);_.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function jf(){const[e]=_.useState(()=>new Set),t=_.useCallback(s=>(e.add(s),()=>e.delete(s)),[e]);return[_.useCallback(s=>{let{type:i,event:a}=s;e.forEach(c=>{var l;return(l=c[i])==null?void 0:l.call(c,a)})},[e]),t]}const Pf={draggable:`
|
|
4
|
-
To pick up a draggable item, press the space bar.
|
|
5
|
-
While dragging, use the arrow keys to move the item.
|
|
6
|
-
Press space again to drop the item in its new position, or press escape to cancel.
|
|
7
|
-
`},Cf={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function Sf(e){let{announcements:t=Cf,container:n,hiddenTextDescribedById:s,screenReaderInstructions:i=Pf}=e;const{announce:a,announcement:c}=wf(),l=In("DndLiveRegion"),[p,f]=_.useState(!1);if(_.useEffect(()=>{f(!0)},[]),xf(_.useMemo(()=>({onDragStart(y){let{active:v}=y;a(t.onDragStart({active:v}))},onDragMove(y){let{active:v,over:u}=y;t.onDragMove&&a(t.onDragMove({active:v,over:u}))},onDragOver(y){let{active:v,over:u}=y;a(t.onDragOver({active:v,over:u}))},onDragEnd(y){let{active:v,over:u}=y;a(t.onDragEnd({active:v,over:u}))},onDragCancel(y){let{active:v,over:u}=y;a(t.onDragCancel({active:v,over:u}))}}),[a,t])),!p)return null;const g=Ce.createElement(Ce.Fragment,null,Ce.createElement(bf,{id:s,value:i.draggable}),Ce.createElement(kf,{id:l,announcement:c}));return n?xn.createPortal(g,n):g}var Me;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(Me||(Me={}));function vs(){}function Rf(e,t){return _.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function Ef(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _.useMemo(()=>[...t].filter(s=>s!=null),[...t])}const ct=Object.freeze({x:0,y:0});function Ca(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Nf(e,t){const n=ys(e);if(!n)return"0 0";const s={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return s.x+"% "+s.y+"%"}function Sa(e,t){let{data:{value:n}}=e,{data:{value:s}}=t;return n-s}function zf(e,t){let{data:{value:n}}=e,{data:{value:s}}=t;return s-n}function Df(e){let{left:t,top:n,height:s,width:i}=e;return[{x:t,y:n},{x:t+i,y:n},{x:t,y:n+s},{x:t+i,y:n+s}]}function Tf(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function wi(e,t,n){return t===void 0&&(t=e.left),n===void 0&&(n=e.top),{x:t+e.width*.5,y:n+e.height*.5}}const $f=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:s}=e;const i=wi(t,t.left,t.top),a=[];for(const c of s){const{id:l}=c,p=n.get(l);if(p){const f=Ca(wi(p),i);a.push({id:l,data:{droppableContainer:c,value:f}})}}return a.sort(Sa)};function Mf(e,t){const n=Math.max(t.top,e.top),s=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),c=i-s,l=a-n;if(s<i&&n<a){const p=t.width*t.height,f=e.width*e.height,g=c*l,y=g/(p+f-g);return Number(y.toFixed(4))}return 0}const If=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:s}=e;const i=[];for(const a of s){const{id:c}=a,l=n.get(c);if(l){const p=Mf(l,t);p>0&&i.push({id:c,data:{droppableContainer:a,value:p}})}}return i.sort(zf)};function Af(e,t){const{top:n,left:s,bottom:i,right:a}=t;return n<=e.y&&e.y<=i&&s<=e.x&&e.x<=a}const Ig=e=>{let{droppableContainers:t,droppableRects:n,pointerCoordinates:s}=e;if(!s)return[];const i=[];for(const a of t){const{id:c}=a,l=n.get(c);if(l&&Af(s,l)){const f=Df(l).reduce((y,v)=>y+Ca(s,v),0),g=Number((f/4).toFixed(4));i.push({id:c,data:{droppableContainer:a,value:g}})}}return i.sort(Sa)};function Of(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function Ra(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:ct}function Lf(e){return function(n){for(var s=arguments.length,i=new Array(s>1?s-1:0),a=1;a<s;a++)i[a-1]=arguments[a];return i.reduce((c,l)=>({...c,top:c.top+e*l.y,bottom:c.bottom+e*l.y,left:c.left+e*l.x,right:c.right+e*l.x}),{...n})}}const qf=Lf(1);function Ea(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function Ff(e,t,n){const s=Ea(t);if(!s)return e;const{scaleX:i,scaleY:a,x:c,y:l}=s,p=e.left-c-(1-i)*parseFloat(n),f=e.top-l-(1-a)*parseFloat(n.slice(n.indexOf(" ")+1)),g=i?e.width/i:e.width,y=a?e.height/a:e.height;return{width:g,height:y,top:f,right:p+g,bottom:f+y,left:p}}const Bf={ignoreTransform:!1};function mn(e,t){t===void 0&&(t=Bf);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:f,transformOrigin:g}=He(e).getComputedStyle(e);f&&(n=Ff(n,f,g))}const{top:s,left:i,width:a,height:c,bottom:l,right:p}=n;return{top:s,left:i,width:a,height:c,bottom:l,right:p}}function xi(e){return mn(e,{ignoreTransform:!0})}function Gf(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function Hf(e,t){return t===void 0&&(t=He(e).getComputedStyle(e)),t.position==="fixed"}function Uf(e,t){t===void 0&&(t=He(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const a=t[i];return typeof a=="string"?n.test(a):!1})}function zo(e,t){const n=[];function s(i){if(t!=null&&n.length>=t||!i)return n;if(No(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!$n(i)||xa(i)||n.includes(i))return n;const a=He(e).getComputedStyle(i);return i!==e&&Uf(i,a)&&n.push(i),Hf(i,a)?n:s(i.parentNode)}return e?s(e):n}function Na(e){const[t]=zo(e,1);return t??null}function Js(e){return!zs||!e?null:hn(e)?e:Eo(e)?No(e)||e===gn(e).scrollingElement?window:$n(e)?e:null:null}function za(e){return hn(e)?e.scrollX:e.scrollLeft}function Da(e){return hn(e)?e.scrollY:e.scrollTop}function ho(e){return{x:za(e),y:Da(e)}}var Oe;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Oe||(Oe={}));function Ta(e){return!zs||!e?!1:e===document.scrollingElement}function $a(e){const t={x:0,y:0},n=Ta(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},s={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,a=e.scrollLeft<=t.x,c=e.scrollTop>=s.y,l=e.scrollLeft>=s.x;return{isTop:i,isLeft:a,isBottom:c,isRight:l,maxScroll:s,minScroll:t}}const Vf={x:.2,y:.2};function Wf(e,t,n,s,i){let{top:a,left:c,right:l,bottom:p}=n;s===void 0&&(s=10),i===void 0&&(i=Vf);const{isTop:f,isBottom:g,isLeft:y,isRight:v}=$a(e),u={x:0,y:0},x={x:0,y:0},P={height:t.height*i.y,width:t.width*i.x};return!f&&a<=t.top+P.height?(u.y=Oe.Backward,x.y=s*Math.abs((t.top+P.height-a)/P.height)):!g&&p>=t.bottom-P.height&&(u.y=Oe.Forward,x.y=s*Math.abs((t.bottom-P.height-p)/P.height)),!v&&l>=t.right-P.width?(u.x=Oe.Forward,x.x=s*Math.abs((t.right-P.width-l)/P.width)):!y&&c<=t.left+P.width&&(u.x=Oe.Backward,x.x=s*Math.abs((t.left+P.width-c)/P.width)),{direction:u,speed:x}}function Kf(e){if(e===document.scrollingElement){const{innerWidth:a,innerHeight:c}=window;return{top:0,left:0,right:a,bottom:c,width:a,height:c}}const{top:t,left:n,right:s,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:s,bottom:i,width:e.clientWidth,height:e.clientHeight}}function Ma(e){return e.reduce((t,n)=>ln(t,ho(n)),ct)}function Qf(e){return e.reduce((t,n)=>t+za(n),0)}function Xf(e){return e.reduce((t,n)=>t+Da(n),0)}function Ia(e,t){if(t===void 0&&(t=mn),!e)return;const{top:n,left:s,bottom:i,right:a}=t(e);Na(e)&&(i<=0||a<=0||n>=window.innerHeight||s>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const Yf=[["x",["left","right"],Qf],["y",["top","bottom"],Xf]];class Do{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const s=zo(n),i=Ma(s);this.rect={...t},this.width=t.width,this.height=t.height;for(const[a,c,l]of Yf)for(const p of c)Object.defineProperty(this,p,{get:()=>{const f=l(s),g=i[a]-f;return this.rect[p]+g},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Sn{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var s;return(s=this.target)==null?void 0:s.removeEventListener(...n)})},this.target=t}add(t,n,s){var i;(i=this.target)==null||i.addEventListener(t,n,s),this.listeners.push([t,n,s])}}function Zf(e){const{EventTarget:t}=He(e);return e instanceof t?e:gn(e)}function eo(e,t){const n=Math.abs(e.x),s=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+s**2)>t:"x"in t&&"y"in t?n>t.x&&s>t.y:"x"in t?n>t.x:"y"in t?s>t.y:!1}var tt;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(tt||(tt={}));function ji(e){e.preventDefault()}function Jf(e){e.stopPropagation()}var re;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(re||(re={}));const Aa={start:[re.Space,re.Enter],cancel:[re.Esc],end:[re.Space,re.Enter,re.Tab]},ed=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case re.Right:return{...n,x:n.x+25};case re.Left:return{...n,x:n.x-25};case re.Down:return{...n,y:n.y+25};case re.Up:return{...n,y:n.y-25}}};class Oa{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Sn(gn(n)),this.windowListeners=new Sn(He(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(tt.Resize,this.handleCancel),this.windowListeners.add(tt.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(tt.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,s=t.node.current;s&&Ia(s),n(ct)}handleKeyDown(t){if(Ts(t)){const{active:n,context:s,options:i}=this.props,{keyboardCodes:a=Aa,coordinateGetter:c=ed,scrollBehavior:l="smooth"}=i,{code:p}=t;if(a.end.includes(p)){this.handleEnd(t);return}if(a.cancel.includes(p)){this.handleCancel(t);return}const{collisionRect:f}=s.current,g=f?{x:f.left,y:f.top}:ct;this.referenceCoordinates||(this.referenceCoordinates=g);const y=c(t,{active:n,context:s.current,currentCoordinates:g});if(y){const v=ms(y,g),u={x:0,y:0},{scrollableAncestors:x}=s.current;for(const P of x){const j=t.code,{isTop:D,isRight:k,isLeft:R,isBottom:$,maxScroll:F,minScroll:A}=$a(P),I=Kf(P),B={x:Math.min(j===re.Right?I.right-I.width/2:I.right,Math.max(j===re.Right?I.left:I.left+I.width/2,y.x)),y:Math.min(j===re.Down?I.bottom-I.height/2:I.bottom,Math.max(j===re.Down?I.top:I.top+I.height/2,y.y))},U=j===re.Right&&!k||j===re.Left&&!R,O=j===re.Down&&!$||j===re.Up&&!D;if(U&&B.x!==y.x){const K=P.scrollLeft+v.x,ee=j===re.Right&&K<=F.x||j===re.Left&&K>=A.x;if(ee&&!v.y){P.scrollTo({left:K,behavior:l});return}ee?u.x=P.scrollLeft-K:u.x=j===re.Right?P.scrollLeft-F.x:P.scrollLeft-A.x,u.x&&P.scrollBy({left:-u.x,behavior:l});break}else if(O&&B.y!==y.y){const K=P.scrollTop+v.y,ee=j===re.Down&&K<=F.y||j===re.Up&&K>=A.y;if(ee&&!v.x){P.scrollTo({top:K,behavior:l});return}ee?u.y=P.scrollTop-K:u.y=j===re.Down?P.scrollTop-F.y:P.scrollTop-A.y,u.y&&P.scrollBy({top:-u.y,behavior:l});break}}this.handleMove(t,ln(ms(y,this.referenceCoordinates),u))}}}handleMove(t,n){const{onMove:s}=this.props;t.preventDefault(),s(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Oa.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:s=Aa,onActivation:i}=t,{active:a}=n;const{code:c}=e.nativeEvent;if(s.start.includes(c)){const l=a.activatorNode.current;return l&&e.target!==l?!1:(e.preventDefault(),i?.({event:e.nativeEvent}),!0)}return!1}}];function Pi(e){return!!(e&&"distance"in e)}function Ci(e){return!!(e&&"delay"in e)}class To{constructor(t,n,s){var i;s===void 0&&(s=Zf(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:a}=t,{target:c}=a;this.props=t,this.events=n,this.document=gn(c),this.documentListeners=new Sn(this.document),this.listeners=new Sn(s),this.windowListeners=new Sn(He(c)),this.initialCoordinates=(i=ys(a))!=null?i:ct,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:s}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(tt.Resize,this.handleCancel),this.windowListeners.add(tt.DragStart,ji),this.windowListeners.add(tt.VisibilityChange,this.handleCancel),this.windowListeners.add(tt.ContextMenu,ji),this.documentListeners.add(tt.Keydown,this.handleKeydown),n){if(s!=null&&s({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Ci(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if(Pi(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:s,onPending:i}=this.props;i(s,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(tt.Click,Jf,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(tt.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:s,initialCoordinates:i,props:a}=this,{onMove:c,options:{activationConstraint:l}}=a;if(!i)return;const p=(n=ys(t))!=null?n:ct,f=ms(i,p);if(!s&&l){if(Pi(l)){if(l.tolerance!=null&&eo(f,l.tolerance))return this.handleCancel();if(eo(f,l.distance))return this.handleStart()}if(Ci(l)&&eo(f,l.tolerance))return this.handleCancel();this.handlePending(l,f);return}t.cancelable&&t.preventDefault(),c(p)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===re.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const td={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class bs extends To{constructor(t){const{event:n}=t,s=gn(n.target);super(t,td,s)}}bs.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:s}=t;return!n.isPrimary||n.button!==0?!1:(s?.({event:n}),!0)}}];const nd={move:{name:"mousemove"},end:{name:"mouseup"}};var go;(function(e){e[e.RightClick=2]="RightClick"})(go||(go={}));class sd extends To{constructor(t){super(t,nd,gn(t.event.target))}}sd.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:s}=t;return n.button===go.RightClick?!1:(s?.({event:n}),!0)}}];const to={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class od extends To{constructor(t){super(t,to)}static setup(){return window.addEventListener(to.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(to.move.name,t)};function t(){}}}od.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:s}=t;const{touches:i}=n;return i.length>1?!1:(s?.({event:n}),!0)}}];var Rn;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Rn||(Rn={}));var ks;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(ks||(ks={}));function id(e){let{acceleration:t,activator:n=Rn.Pointer,canScroll:s,draggingRect:i,enabled:a,interval:c=5,order:l=ks.TreeOrder,pointerCoordinates:p,scrollableAncestors:f,scrollableAncestorRects:g,delta:y,threshold:v}=e;const u=rd({delta:y,disabled:!a}),[x,P]=hf(),j=_.useRef({x:0,y:0}),D=_.useRef({x:0,y:0}),k=_.useMemo(()=>{switch(n){case Rn.Pointer:return p?{top:p.y,bottom:p.y,left:p.x,right:p.x}:null;case Rn.DraggableRect:return i}},[n,i,p]),R=_.useRef(null),$=_.useCallback(()=>{const A=R.current;if(!A)return;const I=j.current.x*D.current.x,B=j.current.y*D.current.y;A.scrollBy(I,B)},[]),F=_.useMemo(()=>l===ks.TreeOrder?[...f].reverse():f,[l,f]);_.useEffect(()=>{if(!a||!f.length||!k){P();return}for(const A of F){if(s?.(A)===!1)continue;const I=f.indexOf(A),B=g[I];if(!B)continue;const{direction:U,speed:O}=Wf(A,B,k,t,v);for(const K of["x","y"])u[K][U[K]]||(O[K]=0,U[K]=0);if(O.x>0||O.y>0){P(),R.current=A,x($,c),j.current=O,D.current=U;return}}j.current={x:0,y:0},D.current={x:0,y:0},P()},[t,$,s,P,a,c,JSON.stringify(k),JSON.stringify(u),x,f,F,g,JSON.stringify(v)])}const ad={x:{[Oe.Backward]:!1,[Oe.Forward]:!1},y:{[Oe.Backward]:!1,[Oe.Forward]:!1}};function rd(e){let{delta:t,disabled:n}=e;const s=gs(t);return Mn(i=>{if(n||!s||!i)return ad;const a={x:Math.sign(t.x-s.x),y:Math.sign(t.y-s.y)};return{x:{[Oe.Backward]:i.x[Oe.Backward]||a.x===-1,[Oe.Forward]:i.x[Oe.Forward]||a.x===1},y:{[Oe.Backward]:i.y[Oe.Backward]||a.y===-1,[Oe.Forward]:i.y[Oe.Forward]||a.y===1}}},[n,t,s])}function cd(e,t){const n=t!=null?e.get(t):void 0,s=n?n.node.current:null;return Mn(i=>{var a;return t==null?null:(a=s??i)!=null?a:null},[s,t])}function ld(e,t){return _.useMemo(()=>e.reduce((n,s)=>{const{sensor:i}=s,a=i.activators.map(c=>({eventName:c.eventName,handler:t(c.handler,s)}));return[...n,...a]},[]),[e,t])}var Tn;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Tn||(Tn={}));var mo;(function(e){e.Optimized="optimized"})(mo||(mo={}));const Si=new Map;function _d(e,t){let{dragging:n,dependencies:s,config:i}=t;const[a,c]=_.useState(null),{frequency:l,measure:p,strategy:f}=i,g=_.useRef(e),y=j(),v=Dn(y),u=_.useCallback(function(D){D===void 0&&(D=[]),!v.current&&c(k=>k===null?D:k.concat(D.filter(R=>!k.includes(R))))},[v]),x=_.useRef(null),P=Mn(D=>{if(y&&!n)return Si;if(!D||D===Si||g.current!==e||a!=null){const k=new Map;for(let R of e){if(!R)continue;if(a&&a.length>0&&!a.includes(R.id)&&R.rect.current){k.set(R.id,R.rect.current);continue}const $=R.node.current,F=$?new Do(p($),$):null;R.rect.current=F,F&&k.set(R.id,F)}return k}return D},[e,a,n,y,p]);return _.useEffect(()=>{g.current=e},[e]),_.useEffect(()=>{y||u()},[n,y]),_.useEffect(()=>{a&&a.length>0&&c(null)},[JSON.stringify(a)]),_.useEffect(()=>{y||typeof l!="number"||x.current!==null||(x.current=setTimeout(()=>{u(),x.current=null},l))},[l,y,u,...s]),{droppableRects:P,measureDroppableContainers:u,measuringScheduled:a!=null};function j(){switch(f){case Tn.Always:return!1;case Tn.BeforeDragging:return n;default:return!n}}}function $o(e,t){return Mn(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function fd(e,t){return $o(e,t)}function dd(e){let{callback:t,disabled:n}=e;const s=Ds(t),i=_.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:a}=window;return new a(s)},[s,n]);return _.useEffect(()=>()=>i?.disconnect(),[i]),i}function $s(e){let{callback:t,disabled:n}=e;const s=Ds(t),i=_.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:a}=window;return new a(s)},[n]);return _.useEffect(()=>()=>i?.disconnect(),[i]),i}function pd(e){return new Do(mn(e),e)}function Ri(e,t,n){t===void 0&&(t=pd);const[s,i]=_.useState(null);function a(){i(p=>{if(!e)return null;if(e.isConnected===!1){var f;return(f=p??n)!=null?f:null}const g=t(e);return JSON.stringify(p)===JSON.stringify(g)?p:g})}const c=dd({callback(p){if(e)for(const f of p){const{type:g,target:y}=f;if(g==="childList"&&y instanceof HTMLElement&&y.contains(e)){a();break}}}}),l=$s({callback:a});return rt(()=>{a(),e?(l?.observe(e),c?.observe(document.body,{childList:!0,subtree:!0})):(l?.disconnect(),c?.disconnect())},[e]),s}function ud(e){const t=$o(e);return Ra(e,t)}const Ei=[];function hd(e){const t=_.useRef(e),n=Mn(s=>e?s&&s!==Ei&&e&&t.current&&e.parentNode===t.current.parentNode?s:zo(e):Ei,[e]);return _.useEffect(()=>{t.current=e},[e]),n}function gd(e){const[t,n]=_.useState(null),s=_.useRef(e),i=_.useCallback(a=>{const c=Js(a.target);c&&n(l=>l?(l.set(c,ho(c)),new Map(l)):null)},[]);return _.useEffect(()=>{const a=s.current;if(e!==a){c(a);const l=e.map(p=>{const f=Js(p);return f?(f.addEventListener("scroll",i,{passive:!0}),[f,ho(f)]):null}).filter(p=>p!=null);n(l.length?new Map(l):null),s.current=e}return()=>{c(e),c(a)};function c(l){l.forEach(p=>{const f=Js(p);f?.removeEventListener("scroll",i)})}},[i,e]),_.useMemo(()=>e.length?t?Array.from(t.values()).reduce((a,c)=>ln(a,c),ct):Ma(e):ct,[e,t])}function Ni(e,t){t===void 0&&(t=[]);const n=_.useRef(null);return _.useEffect(()=>{n.current=null},t),_.useEffect(()=>{const s=e!==ct;s&&!n.current&&(n.current=e),!s&&n.current&&(n.current=null)},[e]),n.current?ms(e,n.current):ct}function md(e){_.useEffect(()=>{if(!zs)return;const t=e.map(n=>{let{sensor:s}=n;return s.setup==null?void 0:s.setup()});return()=>{for(const n of t)n?.()}},e.map(t=>{let{sensor:n}=t;return n}))}function yd(e,t){return _.useMemo(()=>e.reduce((n,s)=>{let{eventName:i,handler:a}=s;return n[i]=c=>{a(c,t)},n},{}),[e,t])}function La(e){return _.useMemo(()=>e?Gf(e):null,[e])}const zi=[];function vd(e,t){t===void 0&&(t=mn);const[n]=e,s=La(n?He(n):null),[i,a]=_.useState(zi);function c(){a(()=>e.length?e.map(p=>Ta(p)?s:new Do(t(p),p)):zi)}const l=$s({callback:c});return rt(()=>{l?.disconnect(),c(),e.forEach(p=>l?.observe(p))},[e]),i}function qa(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return $n(t)?t:e}function bd(e){let{measure:t}=e;const[n,s]=_.useState(null),i=_.useCallback(f=>{for(const{target:g}of f)if($n(g)){s(y=>{const v=t(g);return y?{...y,width:v.width,height:v.height}:v});break}},[t]),a=$s({callback:i}),c=_.useCallback(f=>{const g=qa(f);a?.disconnect(),g&&a?.observe(g),s(g?t(g):null)},[t,a]),[l,p]=hs(c);return _.useMemo(()=>({nodeRef:l,rect:n,setRef:p}),[n,l,p])}const kd=[{sensor:bs,options:{}},{sensor:Oa,options:{}}],wd={current:{}},fs={draggable:{measure:xi},droppable:{measure:xi,strategy:Tn.WhileDragging,frequency:mo.Optimized},dragOverlay:{measure:mn}};class En extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,s;return(n=(s=this.get(t))==null?void 0:s.node.current)!=null?n:void 0}}const xd={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new En,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:vs},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:fs,measureDroppableContainers:vs,windowRect:null,measuringScheduled:!1},Fa={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:vs,draggableNodes:new Map,over:null,measureDroppableContainers:vs},An=_.createContext(Fa),Ba=_.createContext(xd);function jd(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new En}}}function Pd(e,t){switch(t.type){case Me.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Me.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case Me.DragEnd:case Me.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Me.RegisterDroppable:{const{element:n}=t,{id:s}=n,i=new En(e.droppable.containers);return i.set(s,n),{...e,droppable:{...e.droppable,containers:i}}}case Me.SetDroppableDisabled:{const{id:n,key:s,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||s!==a.key)return e;const c=new En(e.droppable.containers);return c.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:c}}}case Me.UnregisterDroppable:{const{id:n,key:s}=t,i=e.droppable.containers.get(n);if(!i||s!==i.key)return e;const a=new En(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function Cd(e){let{disabled:t}=e;const{active:n,activatorEvent:s,draggableNodes:i}=_.useContext(An),a=gs(s),c=gs(n?.id);return _.useEffect(()=>{if(!t&&!s&&a&&c!=null){if(!Ts(a)||document.activeElement===a.target)return;const l=i.get(c);if(!l)return;const{activatorNode:p,node:f}=l;if(!p.current&&!f.current)return;requestAnimationFrame(()=>{for(const g of[p.current,f.current]){if(!g)continue;const y=yf(g);if(y){y.focus();break}}})}},[s,t,i,c,a]),null}function Ga(e,t){let{transform:n,...s}=t;return e!=null&&e.length?e.reduce((i,a)=>a({transform:i,...s}),n):n}function Sd(e){return _.useMemo(()=>({draggable:{...fs.draggable,...e?.draggable},droppable:{...fs.droppable,...e?.droppable},dragOverlay:{...fs.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function Rd(e){let{activeNode:t,measure:n,initialRect:s,config:i=!0}=e;const a=_.useRef(!1),{x:c,y:l}=typeof i=="boolean"?{x:i,y:i}:i;rt(()=>{if(!c&&!l||!t){a.current=!1;return}if(a.current||!s)return;const f=t?.node.current;if(!f||f.isConnected===!1)return;const g=n(f),y=Ra(g,s);if(c||(y.x=0),l||(y.y=0),a.current=!0,Math.abs(y.x)>0||Math.abs(y.y)>0){const v=Na(f);v&&v.scrollBy({top:y.y,left:y.x})}},[t,c,l,s,n])}const Ms=_.createContext({...ct,scaleX:1,scaleY:1});var zt;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(zt||(zt={}));const Ed=_.memo(function(t){var n,s,i,a;let{id:c,accessibility:l,autoScroll:p=!0,children:f,sensors:g=kd,collisionDetection:y=If,measuring:v,modifiers:u,...x}=t;const P=_.useReducer(Pd,void 0,jd),[j,D]=P,[k,R]=jf(),[$,F]=_.useState(zt.Uninitialized),A=$===zt.Initialized,{draggable:{active:I,nodes:B,translate:U},droppable:{containers:O}}=j,K=I!=null?B.get(I):null,ee=_.useRef({initial:null,translated:null}),E=_.useMemo(()=>{var pe;return I!=null?{id:I,data:(pe=K?.data)!=null?pe:wd,rect:ee}:null},[I,K]),H=_.useRef(null),[Z,me]=_.useState(null),[L,de]=_.useState(null),_e=Dn(x,Object.values(x)),ue=In("DndDescribedBy",c),je=_.useMemo(()=>O.getEnabled(),[O]),ae=Sd(v),{droppableRects:S,measureDroppableContainers:G,measuringScheduled:Q}=_d(je,{dragging:A,dependencies:[U.x,U.y],config:ae.droppable}),J=cd(B,I),q=_.useMemo(()=>L?ys(L):null,[L]),z=Qt(),ce=fd(J,ae.draggable.measure);Rd({activeNode:I!=null?B.get(I):null,config:z.layoutShiftCompensation,initialRect:ce,measure:ae.draggable.measure});const Y=Ri(J,ae.draggable.measure,ce),Le=Ri(J?J.parentElement:null),he=_.useRef({activatorEvent:null,active:null,activeNode:J,collisionRect:null,collisions:null,droppableRects:S,draggableNodes:B,draggingNode:null,draggingNodeRect:null,droppableContainers:O,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ue=O.getNodeFor((n=he.current.over)==null?void 0:n.id),Pe=bd({measure:ae.dragOverlay.measure}),nt=(s=Pe.nodeRef.current)!=null?s:J,Fe=A?(i=Pe.rect)!=null?i:Y:null,Kt=!!(Pe.nodeRef.current&&Pe.rect),mt=ud(Kt?null:Y),Pt=La(nt?He(nt):null),w=hd(A?Ue??J:null),ne=vd(w),se=Ga(u,{transform:{x:U.x-mt.x,y:U.y-mt.y,scaleX:1,scaleY:1},activatorEvent:L,active:E,activeNodeRect:Y,containerNodeRect:Le,draggingNodeRect:Fe,over:he.current.over,overlayNodeRect:Pe.rect,scrollableAncestors:w,scrollableAncestorRects:ne,windowRect:Pt}),Ie=q?ln(q,U):null,Ct=gd(w),yt=Ni(Ct),qs=Ni(Ct,[Y]),vt=ln(se,yt),Ye=Fe?qf(Fe,se):null,lt=E&&Ye?y({active:E,collisionRect:Ye,droppableRects:S,droppableContainers:je,pointerCoordinates:Ie}):null,Tt=Tf(lt,"id"),[st,$t]=_.useState(null),vn=Kt?se:ln(se,qs),Ln=Of(vn,(a=st?.rect)!=null?a:null,Y),bt=_.useRef(null),St=_.useCallback((pe,ze)=>{let{sensor:Se,options:Te}=ze;if(H.current==null)return;const $e=B.get(H.current);if(!$e)return;const ye=pe.nativeEvent,te=new Se({active:H.current,activeNode:$e,event:ye,options:Te,context:he,onAbort(ve){if(!B.get(ve))return;const{onDragAbort:Ve}=_e.current,Ze={id:ve};Ve?.(Ze),k({type:"onDragAbort",event:Ze})},onPending(ve,De,Ve,Ze){if(!B.get(ve))return;const{onDragPending:wt}=_e.current,Qe={id:ve,constraint:De,initialCoordinates:Ve,offset:Ze};wt?.(Qe),k({type:"onDragPending",event:Qe})},onStart(ve){const De=H.current;if(De==null)return;const Ve=B.get(De);if(!Ve)return;const{onDragStart:Ze}=_e.current,Ke={activatorEvent:ye,active:{id:De,data:Ve.data,rect:ee}};xn.unstable_batchedUpdates(()=>{Ze?.(Ke),F(zt.Initializing),D({type:Me.DragStart,initialCoordinates:ve,active:De}),k({type:"onDragStart",event:Ke}),me(bt.current),de(ye)})},onMove(ve){D({type:Me.DragMove,coordinates:ve})},onEnd:le(Me.DragEnd),onCancel:le(Me.DragCancel)});bt.current=te;function le(ve){return async function(){const{active:Ve,collisions:Ze,over:Ke,scrollAdjustedTranslate:wt}=he.current;let Qe=null;if(Ve&&wt){const{cancelDrop:_t}=_e.current;Qe={activatorEvent:ye,active:Ve,collisions:Ze,delta:wt,over:Ke},ve===Me.DragEnd&&typeof _t=="function"&&await Promise.resolve(_t(Qe))&&(ve=Me.DragCancel)}H.current=null,xn.unstable_batchedUpdates(()=>{D({type:ve}),F(zt.Uninitialized),$t(null),me(null),de(null),bt.current=null;const _t=ve===Me.DragEnd?"onDragEnd":"onDragCancel";if(Qe){const Xt=_e.current[_t];Xt?.(Qe),k({type:_t,event:Qe})}})}}},[B]),kt=_.useCallback((pe,ze)=>(Se,Te)=>{const $e=Se.nativeEvent,ye=B.get(Te);if(H.current!==null||!ye||$e.dndKit||$e.defaultPrevented)return;const te={active:ye};pe(Se,ze.options,te)===!0&&($e.dndKit={capturedBy:ze.sensor},H.current=Te,St(Se,ze))},[B,St]),Rt=ld(g,kt);md(g),rt(()=>{Y&&$===zt.Initializing&&F(zt.Initialized)},[Y,$]),_.useEffect(()=>{const{onDragMove:pe}=_e.current,{active:ze,activatorEvent:Se,collisions:Te,over:$e}=he.current;if(!ze||!Se)return;const ye={active:ze,activatorEvent:Se,collisions:Te,delta:{x:vt.x,y:vt.y},over:$e};xn.unstable_batchedUpdates(()=>{pe?.(ye),k({type:"onDragMove",event:ye})})},[vt.x,vt.y]),_.useEffect(()=>{const{active:pe,activatorEvent:ze,collisions:Se,droppableContainers:Te,scrollAdjustedTranslate:$e}=he.current;if(!pe||H.current==null||!ze||!$e)return;const{onDragOver:ye}=_e.current,te=Te.get(Tt),le=te&&te.rect.current?{id:te.id,rect:te.rect.current,data:te.data,disabled:te.disabled}:null,ve={active:pe,activatorEvent:ze,collisions:Se,delta:{x:$e.x,y:$e.y},over:le};xn.unstable_batchedUpdates(()=>{$t(le),ye?.(ve),k({type:"onDragOver",event:ve})})},[Tt]),rt(()=>{he.current={activatorEvent:L,active:E,activeNode:J,collisionRect:Ye,collisions:lt,droppableRects:S,draggableNodes:B,draggingNode:nt,draggingNodeRect:Fe,droppableContainers:O,over:st,scrollableAncestors:w,scrollAdjustedTranslate:vt},ee.current={initial:Fe,translated:Ye}},[E,J,lt,Ye,B,nt,Fe,S,O,st,w,vt]),id({...z,delta:U,draggingRect:Ye,pointerCoordinates:Ie,scrollableAncestors:w,scrollableAncestorRects:ne});const qn=_.useMemo(()=>({active:E,activeNode:J,activeNodeRect:Y,activatorEvent:L,collisions:lt,containerNodeRect:Le,dragOverlay:Pe,draggableNodes:B,droppableContainers:O,droppableRects:S,over:st,measureDroppableContainers:G,scrollableAncestors:w,scrollableAncestorRects:ne,measuringConfiguration:ae,measuringScheduled:Q,windowRect:Pt}),[E,J,Y,L,lt,Le,Pe,B,O,S,st,G,w,ne,ae,Q,Pt]),Fn=_.useMemo(()=>({activatorEvent:L,activators:Rt,active:E,activeNodeRect:Y,ariaDescribedById:{draggable:ue},dispatch:D,draggableNodes:B,over:st,measureDroppableContainers:G}),[L,Rt,E,Y,D,ue,B,st,G]);return Ce.createElement(Pa.Provider,{value:R},Ce.createElement(An.Provider,{value:Fn},Ce.createElement(Ba.Provider,{value:qn},Ce.createElement(Ms.Provider,{value:Ln},f)),Ce.createElement(Cd,{disabled:l?.restoreFocus===!1})),Ce.createElement(Sf,{...l,hiddenTextDescribedById:ue}));function Qt(){const pe=Z?.autoScrollEnabled===!1,ze=typeof p=="object"?p.enabled===!1:p===!1,Se=A&&!pe&&!ze;return typeof p=="object"?{...p,enabled:Se}:{enabled:Se}}}),Nd=_.createContext(null),Di="button",zd="Draggable";function Dd(e){let{id:t,data:n,disabled:s=!1,attributes:i}=e;const a=In(zd),{activators:c,activatorEvent:l,active:p,activeNodeRect:f,ariaDescribedById:g,draggableNodes:y,over:v}=_.useContext(An),{role:u=Di,roleDescription:x="draggable",tabIndex:P=0}=i??{},j=p?.id===t,D=_.useContext(j?Ms:Nd),[k,R]=hs(),[$,F]=hs(),A=yd(c,t),I=Dn(n);rt(()=>(y.set(t,{id:t,key:a,node:k,activatorNode:$,data:I}),()=>{const U=y.get(t);U&&U.key===a&&y.delete(t)}),[y,t]);const B=_.useMemo(()=>({role:u,tabIndex:P,"aria-disabled":s,"aria-pressed":j&&u===Di?!0:void 0,"aria-roledescription":x,"aria-describedby":g.draggable}),[s,u,P,j,x,g.draggable]);return{active:p,activatorEvent:l,activeNodeRect:f,attributes:B,isDragging:j,listeners:s?void 0:A,node:k,over:v,setNodeRef:R,setActivatorNodeRef:F,transform:D}}function Ha(){return _.useContext(Ba)}const Td="Droppable",$d={timeout:25};function Md(e){let{data:t,disabled:n=!1,id:s,resizeObserverConfig:i}=e;const a=In(Td),{active:c,dispatch:l,over:p,measureDroppableContainers:f}=_.useContext(An),g=_.useRef({disabled:n}),y=_.useRef(!1),v=_.useRef(null),u=_.useRef(null),{disabled:x,updateMeasurementsFor:P,timeout:j}={...$d,...i},D=Dn(P??s),k=_.useCallback(()=>{if(!y.current){y.current=!0;return}u.current!=null&&clearTimeout(u.current),u.current=setTimeout(()=>{f(Array.isArray(D.current)?D.current:[D.current]),u.current=null},j)},[j]),R=$s({callback:k,disabled:x||!c}),$=_.useCallback((B,U)=>{R&&(U&&(R.unobserve(U),y.current=!1),B&&R.observe(B))},[R]),[F,A]=hs($),I=Dn(t);return _.useEffect(()=>{!R||!F.current||(R.disconnect(),y.current=!1,R.observe(F.current))},[F,R]),_.useEffect(()=>(l({type:Me.RegisterDroppable,element:{id:s,key:a,disabled:n,node:F,rect:v,data:I}}),()=>l({type:Me.UnregisterDroppable,key:a,id:s})),[s]),_.useEffect(()=>{n!==g.current.disabled&&(l({type:Me.SetDroppableDisabled,id:s,key:a,disabled:n}),g.current.disabled=n)},[s,a,n,l]),{active:c,rect:v,isOver:p?.id===s,node:F,over:p,setNodeRef:A}}function Id(e){let{animation:t,children:n}=e;const[s,i]=_.useState(null),[a,c]=_.useState(null),l=gs(n);return!n&&!s&&l&&i(l),rt(()=>{if(!a)return;const p=s?.key,f=s?.props.id;if(p==null||f==null){i(null);return}Promise.resolve(t(f,a)).then(()=>{i(null)})},[t,s,a]),Ce.createElement(Ce.Fragment,null,n,s?_.cloneElement(s,{ref:c}):null)}const Ad={x:0,y:0,scaleX:1,scaleY:1};function Od(e){let{children:t}=e;return Ce.createElement(An.Provider,{value:Fa},Ce.createElement(Ms.Provider,{value:Ad},t))}const Ld={position:"fixed",touchAction:"none"},qd=e=>Ts(e)?"transform 250ms ease":void 0,Fd=_.forwardRef((e,t)=>{let{as:n,activatorEvent:s,adjustScale:i,children:a,className:c,rect:l,style:p,transform:f,transition:g=qd}=e;if(!l)return null;const y=i?f:{...f,scaleX:1,scaleY:1},v={...Ld,width:l.width,height:l.height,top:l.top,left:l.left,transform:Dt.Transform.toString(y),transformOrigin:i&&s?Nf(s,l):void 0,transition:typeof g=="function"?g(s):g,...p};return Ce.createElement(n,{className:c,style:v,ref:t},a)}),Bd=e=>t=>{let{active:n,dragOverlay:s}=t;const i={},{styles:a,className:c}=e;if(a!=null&&a.active)for(const[l,p]of Object.entries(a.active))p!==void 0&&(i[l]=n.node.style.getPropertyValue(l),n.node.style.setProperty(l,p));if(a!=null&&a.dragOverlay)for(const[l,p]of Object.entries(a.dragOverlay))p!==void 0&&s.node.style.setProperty(l,p);return c!=null&&c.active&&n.node.classList.add(c.active),c!=null&&c.dragOverlay&&s.node.classList.add(c.dragOverlay),function(){for(const[p,f]of Object.entries(i))n.node.style.setProperty(p,f);c!=null&&c.active&&n.node.classList.remove(c.active)}},Gd=e=>{let{transform:{initial:t,final:n}}=e;return[{transform:Dt.Transform.toString(t)},{transform:Dt.Transform.toString(n)}]},Hd={duration:250,easing:"ease",keyframes:Gd,sideEffects:Bd({styles:{active:{opacity:"0"}}})};function Ud(e){let{config:t,draggableNodes:n,droppableContainers:s,measuringConfiguration:i}=e;return Ds((a,c)=>{if(t===null)return;const l=n.get(a);if(!l)return;const p=l.node.current;if(!p)return;const f=qa(c);if(!f)return;const{transform:g}=He(c).getComputedStyle(c),y=Ea(g);if(!y)return;const v=typeof t=="function"?t:Vd(t);return Ia(p,i.draggable.measure),v({active:{id:a,data:l.data,node:p,rect:i.draggable.measure(p)},draggableNodes:n,dragOverlay:{node:c,rect:i.dragOverlay.measure(f)},droppableContainers:s,measuringConfiguration:i,transform:y})})}function Vd(e){const{duration:t,easing:n,sideEffects:s,keyframes:i}={...Hd,...e};return a=>{let{active:c,dragOverlay:l,transform:p,...f}=a;if(!t)return;const g={x:l.rect.left-c.rect.left,y:l.rect.top-c.rect.top},y={scaleX:p.scaleX!==1?c.rect.width*p.scaleX/l.rect.width:1,scaleY:p.scaleY!==1?c.rect.height*p.scaleY/l.rect.height:1},v={x:p.x-g.x,y:p.y-g.y,...y},u=i({...f,active:c,dragOverlay:l,transform:{initial:p,final:v}}),[x]=u,P=u[u.length-1];if(JSON.stringify(x)===JSON.stringify(P))return;const j=s?.({active:c,dragOverlay:l,...f}),D=l.node.animate(u,{duration:t,easing:n,fill:"forwards"});return new Promise(k=>{D.onfinish=()=>{j?.(),k()}})}}let Ti=0;function Wd(e){return _.useMemo(()=>{if(e!=null)return Ti++,Ti},[e])}const Kd=Ce.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:s,style:i,transition:a,modifiers:c,wrapperElement:l="div",className:p,zIndex:f=999}=e;const{activatorEvent:g,active:y,activeNodeRect:v,containerNodeRect:u,draggableNodes:x,droppableContainers:P,dragOverlay:j,over:D,measuringConfiguration:k,scrollableAncestors:R,scrollableAncestorRects:$,windowRect:F}=Ha(),A=_.useContext(Ms),I=Wd(y?.id),B=Ga(c,{activatorEvent:g,active:y,activeNodeRect:v,containerNodeRect:u,draggingNodeRect:j.rect,over:D,overlayNodeRect:j.rect,scrollableAncestors:R,scrollableAncestorRects:$,transform:A,windowRect:F}),U=$o(v),O=Ud({config:s,draggableNodes:x,droppableContainers:P,measuringConfiguration:k}),K=U?j.setRef:void 0;return Ce.createElement(Od,null,Ce.createElement(Id,{animation:O},y&&I?Ce.createElement(Fd,{key:I,id:y.id,ref:K,as:l,activatorEvent:g,adjustScale:t,className:p,transition:a,rect:U,style:{zIndex:f,...i},transform:B},n):null))});function Ua(e,t,n){const s=e.slice();return s.splice(n<0?s.length+n:n,0,s.splice(t,1)[0]),s}function Qd(e,t){return e.reduce((n,s,i)=>{const a=t.get(s);return a&&(n[i]=a),n},Array(e.length))}function es(e){return e!==null&&e>=0}function Xd(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function Yd(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const ts={scaleX:1,scaleY:1},Zd=e=>{var t;let{rects:n,activeNodeRect:s,activeIndex:i,overIndex:a,index:c}=e;const l=(t=n[i])!=null?t:s;if(!l)return null;const p=Jd(n,c,i);if(c===i){const f=n[a];return f?{x:i<a?f.left+f.width-(l.left+l.width):f.left-l.left,y:0,...ts}:null}return c>i&&c<=a?{x:-l.width-p,y:0,...ts}:c<i&&c>=a?{x:l.width+p,y:0,...ts}:{x:0,y:0,...ts}};function Jd(e,t,n){const s=e[t],i=e[t-1],a=e[t+1];return!s||!i&&!a?0:n<t?i?s.left-(i.left+i.width):a.left-(s.left+s.width):a?a.left-(s.left+s.width):s.left-(i.left+i.width)}const Va=e=>{let{rects:t,activeIndex:n,overIndex:s,index:i}=e;const a=Ua(t,s,n),c=t[i],l=a[i];return!l||!c?null:{x:l.left-c.left,y:l.top-c.top,scaleX:l.width/c.width,scaleY:l.height/c.height}},Wa="Sortable",Ka=Ce.createContext({activeIndex:-1,containerId:Wa,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Va,disabled:{draggable:!1,droppable:!1}});function ep(e){let{children:t,id:n,items:s,strategy:i=Va,disabled:a=!1}=e;const{active:c,dragOverlay:l,droppableRects:p,over:f,measureDroppableContainers:g}=Ha(),y=In(Wa,n),v=l.rect!==null,u=_.useMemo(()=>s.map(A=>typeof A=="object"&&"id"in A?A.id:A),[s]),x=c!=null,P=c?u.indexOf(c.id):-1,j=f?u.indexOf(f.id):-1,D=_.useRef(u),k=!Xd(u,D.current),R=j!==-1&&P===-1||k,$=Yd(a);rt(()=>{k&&x&&g(u)},[k,u,x,g]),_.useEffect(()=>{D.current=u},[u]);const F=_.useMemo(()=>({activeIndex:P,containerId:y,disabled:$,disableTransforms:R,items:u,overIndex:j,useDragOverlay:v,sortedRects:Qd(u,p),strategy:i}),[P,y,$.draggable,$.droppable,R,u,j,p,v,i]);return Ce.createElement(Ka.Provider,{value:F},t)}const tp=e=>{let{id:t,items:n,activeIndex:s,overIndex:i}=e;return Ua(n,s,i).indexOf(t)},np=e=>{let{containerId:t,isSorting:n,wasDragging:s,index:i,items:a,newIndex:c,previousItems:l,previousContainerId:p,transition:f}=e;return!f||!s||l!==a&&i===c?!1:n?!0:c!==i&&t===p},sp={duration:200,easing:"ease"},Qa="transform",op=Dt.Transition.toString({property:Qa,duration:0,easing:"linear"}),ip={roleDescription:"sortable"};function ap(e){let{disabled:t,index:n,node:s,rect:i}=e;const[a,c]=_.useState(null),l=_.useRef(n);return rt(()=>{if(!t&&n!==l.current&&s.current){const p=i.current;if(p){const f=mn(s.current,{ignoreTransform:!0}),g={x:p.left-f.left,y:p.top-f.top,scaleX:p.width/f.width,scaleY:p.height/f.height};(g.x||g.y)&&c(g)}}n!==l.current&&(l.current=n)},[t,n,s,i]),_.useEffect(()=>{a&&c(null)},[a]),a}function rp(e){let{animateLayoutChanges:t=np,attributes:n,disabled:s,data:i,getNewIndex:a=tp,id:c,strategy:l,resizeObserverConfig:p,transition:f=sp}=e;const{items:g,containerId:y,activeIndex:v,disabled:u,disableTransforms:x,sortedRects:P,overIndex:j,useDragOverlay:D,strategy:k}=_.useContext(Ka),R=cp(s,u),$=g.indexOf(c),F=_.useMemo(()=>({sortable:{containerId:y,index:$,items:g},...i}),[y,i,$,g]),A=_.useMemo(()=>g.slice(g.indexOf(c)),[g,c]),{rect:I,node:B,isOver:U,setNodeRef:O}=Md({id:c,data:F,disabled:R.droppable,resizeObserverConfig:{updateMeasurementsFor:A,...p}}),{active:K,activatorEvent:ee,activeNodeRect:E,attributes:H,setNodeRef:Z,listeners:me,isDragging:L,over:de,setActivatorNodeRef:_e,transform:ue}=Dd({id:c,data:F,attributes:{...ip,...n},disabled:R.draggable}),je=uf(O,Z),ae=!!K,S=ae&&!x&&es(v)&&es(j),G=!D&&L,Q=G&&S?ue:null,q=S?Q??(l??k)({rects:P,activeNodeRect:E,activeIndex:v,overIndex:j,index:$}):null,z=es(v)&&es(j)?a({id:c,items:g,activeIndex:v,overIndex:j}):$,ce=K?.id,Y=_.useRef({activeId:ce,items:g,newIndex:z,containerId:y}),Le=g!==Y.current.items,he=t({active:K,containerId:y,isDragging:L,isSorting:ae,id:c,index:$,items:g,newIndex:Y.current.newIndex,previousItems:Y.current.items,previousContainerId:Y.current.containerId,transition:f,wasDragging:Y.current.activeId!=null}),Ue=ap({disabled:!he,index:$,node:B,rect:I});return _.useEffect(()=>{ae&&Y.current.newIndex!==z&&(Y.current.newIndex=z),y!==Y.current.containerId&&(Y.current.containerId=y),g!==Y.current.items&&(Y.current.items=g)},[ae,z,y,g]),_.useEffect(()=>{if(ce===Y.current.activeId)return;if(ce!=null&&Y.current.activeId==null){Y.current.activeId=ce;return}const nt=setTimeout(()=>{Y.current.activeId=ce},50);return()=>clearTimeout(nt)},[ce]),{active:K,activeIndex:v,attributes:H,data:F,rect:I,index:$,newIndex:z,items:g,isOver:U,isSorting:ae,isDragging:L,listeners:me,node:B,overIndex:j,over:de,setNodeRef:je,setActivatorNodeRef:_e,setDroppableNodeRef:O,setDraggableNodeRef:Z,transform:Ue??q,transition:Pe()};function Pe(){if(Ue||Le&&Y.current.newIndex===$)return op;if(!(G&&!Ts(ee)||!f)&&(ae||he))return Dt.Transition.toString({...f,property:Qa})}}function cp(e,t){var n,s;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e?.draggable)!=null?n:t.draggable,droppable:(s=e?.droppable)!=null?s:t.droppable}}re.Down,re.Right,re.Up,re.Left;class lp extends bs{static activators=bs.activators.map(t=>({...t,handler:(n,s)=>n.nativeEvent.pointerType==="mouse"&&t.handler(n,s)}))}const Xa=50,_p=20,fp=2048,dp=64*1024;function ws(e){if(typeof e!="string"||!e||e.length>fp||e.includes("\0")||yp(e))return null;const t=e.replace(/\\/g,"/").replace(/\/+$/,"");return!t||t.startsWith("/")||/^[a-z]:\//i.test(t)||t.startsWith("//")||t.split("/").some(s=>!s||s==="."||s==="..")?null:t}function pp(e){if(!Array.isArray(e))return[];const t=new Set,n=[];let s=0;for(const i of e){if(!i||typeof i!="object")continue;const a=i,c=ws(a.path);if(!(!c||t.has(c))&&!(s+c.length>dp)&&(t.add(c),s+=c.length,n.push({path:c,pinned:a.pinned===!0}),n.length===Xa))break}return n}function up(e){if(!e||typeof e!="object")return null;const t=e;if(!gp(t.repositoryId)||!mp(t.updatedAt))return null;const n=pp(t.tabs);if(n.length===0)return null;const s=ws(t.previewPath),i=n.find(f=>f.path===s&&!f.pinned)??null,a=i?i.path:null,c=ws(t.activePath),l=n.find(f=>f.path===c)??n[n.length-1],p=l?l.path:null;return{repositoryId:t.repositoryId,tabs:n,activePath:p,previewPath:a,updatedAt:t.updatedAt}}function hp(e){if(!Array.isArray(e))return[];const t=new Map;for(const n of e){const s=up(n);if(!s)continue;const i=t.get(s.repositoryId);(!i||$i(s,i)<0)&&t.set(s.repositoryId,s)}return[...t.values()].sort($i).slice(0,_p)}function gp(e){return typeof e=="string"&&/^[0-9a-f]{16}$/.test(e)}function $i(e,t){return t.updatedAt.localeCompare(e.updatedAt)||e.repositoryId.localeCompare(t.repositoryId)}function mp(e){if(typeof e!="string")return!1;const t=Date.parse(e);return Number.isFinite(t)&&new Date(t).toISOString()===e}function yp(e){return[...e].some(t=>t.charCodeAt(0)<32||t.charCodeAt(0)===127)}const vp=50*1024*1024,et={tabs:[],activePath:null,previewPath:null,activationCounter:0};function bp(e,t,n="preview"){const s=ws(t);if(!s)return{session:e,evictedPath:null,overCap:!1};const i=e.tabs.find(v=>v.path===s);if(i){const v=n==="pinned"?!0:i.pinned,u=e.tabs.map(P=>P.path===s?{...P,pinned:v}:P),x=n==="pinned"&&e.previewPath===s?null:e.previewPath;return{session:_n({...e,tabs:u,previewPath:x},s),evictedPath:null,overCap:!1}}const a={path:s,pinned:n==="pinned",dirty:!1,missing:!1,activatedAt:0},c=n==="preview"&&e.previewPath?e.tabs.findIndex(v=>v.path===e.previewPath&&!v.dirty):-1;if(c>=0){const v=e.tabs[c],u=[...e.tabs];return u[c]=a,{session:_n({...e,tabs:u,previewPath:s},s),evictedPath:v.path,overCap:!1}}let l=[...e.tabs],p=null,f=!1;if(l.length>=Xa){const v=Np(l,e.activePath);v?(p=v.path,l=l.filter(u=>u.path!==v.path)):f=!0}l.push(a);const g=n==="preview"?s:e.previewPath;return{session:_n({...e,tabs:l,previewPath:g===p?null:g},s),evictedPath:p,overCap:f}}function kp(e,t){return e.tabs.some(n=>n.path===t)?_n(e,t):e}function ns(e,t,n){const s=e.tabs.find(a=>a.path===t);if(!s||s.dirty===n)return e;const i=e.tabs.map(a=>a.path===t?{...a,dirty:n,pinned:n?!0:a.pinned}:a);return{...e,tabs:i,previewPath:n&&e.previewPath===t?null:e.previewPath}}function Ya(e,t,n){const s=e.tabs.find(i=>i.path===t);return!s||s.missing===n?e:{...e,tabs:e.tabs.map(i=>i.path===t?{...i,missing:n}:i)}}function Za(e,t){const n=e.tabs.findIndex(l=>l.path===t);if(n<0)return{session:e,activePath:e.activePath};const s=e.tabs.filter(l=>l.path!==t),i=e.previewPath===t?null:e.previewPath;if(e.activePath!==t)return{session:{...e,tabs:s,previewPath:i},activePath:e.activePath};const a=s[n]??s[n-1]??null,c={...e,tabs:s,previewPath:i,activePath:a?a.path:null};return{session:a?_n(c,a.path):c,activePath:a?a.path:null}}function Ja(e,t,n){const s=e.tabs.findIndex(l=>l.path===t);if(s<0)return e;const i=Math.max(0,Math.min(e.tabs.length-1,n));if(i===s)return e;const a=[...e.tabs],[c]=a.splice(s,1);return a.splice(i,0,c),{...e,tabs:a}}function wp(e,t){const n=new Map;if(t.length===0)return{session:e,renamed:n};const s=e.tabs.map(l=>{const p=zp(l.path,t);return p!==l.path&&n.set(l.path,p),p===l.path?l:{...l,path:p}});if(n.size===0)return{session:e,renamed:n};const i=new Set,a=[];for(const l of s)i.has(l.path)||(i.add(l.path),a.push(l));const c=l=>{if(!l)return null;const p=n.get(l)??l;return i.has(p)?p:null};return{session:{...e,tabs:a,activePath:c(e.activePath),previewPath:c(e.previewPath)},renamed:n}}function Mi(e,t){if(t.length===0)return{session:e,closedPaths:[],retainedPaths:[]};const n=[],s=[];let i=e;for(const a of e.tabs)t.some(c=>er(c,a.path))&&(a.dirty?(a.missing||s.push(a.path),i=Ya(i,a.path,!0)):(n.push(a.path),i=Za(i,a.path).session));return{session:i,closedPaths:n,retainedPaths:s}}function xp(e,t){let n=e;for(const s of e.tabs)s.missing&&t.has(s.path)&&(n=Ya(n,s.path,!1));return n}function jp(e){if(!e)return et;const t=e.tabs.map((i,a)=>({path:i.path,pinned:i.pinned,dirty:!1,missing:!1,activatedAt:a+1}));if(t.length===0)return et;const n=t.some(i=>i.path===e.activePath)?e.activePath:null,s=t.some(i=>i.path===e.previewPath&&!i.pinned)?e.previewPath:null;return{tabs:t,activePath:n,previewPath:s,activationCounter:t.length+1}}function Ii(e){return{tabs:e.tabs.map(t=>({path:t.path,pinned:t.pinned})),activePath:e.activePath,previewPath:e.previewPath}}function Pp(e){const t=new Map;for(const s of e){const i=Dp(s.path),a=t.get(i);a?a.push(s.path):t.set(i,[s.path])}const n=new Map;for(const[s,i]of t){if(i.length===1){n.set(i[0],{name:s,suffix:null});continue}for(const a of i)n.set(a,{name:s,suffix:Tp(a,i)})}return n}function Cp(e,t){const n=e.tabs.findIndex(s=>s.path===e.activePath);if(n<0)return{session:e,closeRequest:null};switch(t){case"close":return{session:e,closeRequest:e.activePath};case"next":case"previous":{const s=t==="next"?1:-1,i=e.tabs[(n+s+e.tabs.length)%e.tabs.length];return{session:_n(e,i.path),closeRequest:null}}case"move-left":case"move-right":{const s=n+(t==="move-left"?-1:1);return s<0||s>=e.tabs.length?{session:e,closeRequest:null}:{session:Ja(e,e.tabs[n].path,s),closeRequest:null}}}}function no(e){return e.length*2}function er(e,t){return t===e||t.startsWith(`${e}/`)}function Sp(e,t){return t.length===0?[]:e.tabs.filter(n=>n.dirty&&t.some(s=>er(s,n.path))).map(n=>n.path)}function Ai(e){return e.tabs.filter(t=>t.dirty).map(t=>t.path)}function Rp(e,t,n){return e.scrollWidth<=e.clientWidth||Math.abs(t)>Math.abs(n)||n===0?null:n}function Ep(e){if(e.scrollWidth<=e.clientWidth)return{start:!1,end:!1};const t=e.scrollWidth-e.clientWidth;return{start:e.scrollLeft>1,end:e.scrollLeft<t-1}}function _n(e,t){const n=e.activationCounter+1;return{...e,tabs:e.tabs.map(s=>s.path===t?{...s,activatedAt:n}:s),activePath:t,activationCounter:n}}function Np(e,t){let n=null;for(const s of e)s.dirty||s.path===t||(!n||s.activatedAt<n.activatedAt)&&(n=s);return n}function zp(e,t){for(const n of t)if(!(!n.from||!n.to)){if(e===n.from)return n.to;if(e.startsWith(`${n.from}/`))return`${n.to}${e.slice(n.from.length)}`}return e}function Dp(e){const t=e.lastIndexOf("/");return t<0?e:e.slice(t+1)}function Tp(e,t){const n=e.split("/"),s=t.filter(i=>i!==e).map(i=>i.split("/"));for(let i=1;i<n.length;i+=1){const a=n.slice(Math.max(0,n.length-1-i),n.length-1).join("/");if(!s.some(l=>l.slice(Math.max(0,l.length-1-i),l.length-1).join("/")===a))return a}return n.slice(0,-1).join("/")||null}const tr={duration:180,easing:"cubic-bezier(0.2, 0, 0, 1)"};function $p({session:e,onActivate:t,onPin:n,onClose:s,onReorder:i}){const a=_.useRef(null),c=_.useRef(new Map),[l,p]=_.useState({start:!1,end:!1}),[f,g]=_.useState(null),[y,v]=_.useState(!1),u=_.useMemo(()=>Pp(e.tabs),[e.tabs]),x=Ef(Rf(lp,{activationConstraint:{distance:5}})),P=f?e.tabs.find(k=>k.path===f)??null:null,j=_.useCallback(()=>{const k=a.current;if(!k)return;const R=Ep({scrollLeft:k.scrollLeft,clientWidth:k.clientWidth,scrollWidth:k.scrollWidth});p($=>$.start===R.start&&$.end===R.end?$:R)},[]);if(_.useLayoutEffect(j,[j,e.tabs]),_.useEffect(()=>{const k=a.current;if(!k||typeof ResizeObserver>"u")return;const R=new ResizeObserver(j);return R.observe(k),()=>R.disconnect()},[j]),_.useEffect(()=>{e.activePath&&c.current.get(e.activePath)?.scrollIntoView({block:"nearest",inline:"nearest"})},[e.activePath]),_.useEffect(()=>{const k=a.current;if(!k)return;const R=$=>{const F=Rp({scrollLeft:k.scrollLeft,clientWidth:k.clientWidth,scrollWidth:k.scrollWidth},$.deltaX,$.deltaY);F!==null&&($.preventDefault(),k.scrollLeft+=F)};return k.addEventListener("wheel",R,{passive:!1}),()=>k.removeEventListener("wheel",R)},[]),_.useEffect(()=>{const k=window.matchMedia("(prefers-reduced-motion: reduce)"),R=()=>v(k.matches);return R(),k.addEventListener("change",R),()=>k.removeEventListener("change",R)},[]),e.tabs.length===0)return null;const D=({active:k,over:R})=>{if(g(null),!R||k.id===R.id)return;const $=e.tabs.findIndex(F=>F.path===R.id);$>=0&&i(String(k.id),$)};return o.jsxs(Ed,{sensors:x,collisionDetection:$f,onDragStart:({active:k})=>g(String(k.id)),onDragCancel:()=>g(null),onDragEnd:D,children:[o.jsx(ep,{items:e.tabs.map(k=>k.path),strategy:Zd,children:o.jsx("div",{id:rf,ref:a,className:["open-files-strip",f?"sorting":"",l.start?"fade-start":"",l.end?"fade-end":""].filter(Boolean).join(" "),role:"tablist","aria-label":"Open files","aria-orientation":"horizontal",onScroll:j,children:e.tabs.map(k=>o.jsx(Mp,{tab:k,label:u.get(k.path),active:e.activePath===k.path,preview:e.previewPath===k.path,register:R=>{R?c.current.set(k.path,R):c.current.delete(k.path)},onActivate:t,onPin:n,onClose:s},k.path))})}),o.jsx(Kd,{dropAnimation:y?null:tr,children:P&&o.jsx(Ip,{tab:P,label:u.get(P.path),preview:e.previewPath===P.path,overlay:!0})})]})}function Mp({tab:e,label:t,active:n,preview:s,register:i,onActivate:a,onPin:c,onClose:l}){const{listeners:p,setNodeRef:f,transform:g,transition:y,isDragging:v}=rp({id:e.path,transition:tr}),u=[s?"preview":null,e.dirty?"unsaved changes":null,e.missing?"file no longer on disk":null].filter(Boolean).join(", "),x={transform:Dt.Transform.toString(g),transition:y},P=j=>{f(j),i(j)};return o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx("div",{ref:P,role:"tab",tabIndex:0,"aria-selected":n,"aria-current":n?"page":void 0,"aria-keyshortcuts":"Control+Shift+PageUp Control+Shift+PageDown","aria-label":u?`${e.path}, ${u}`:e.path,className:sr(e,{active:n,preview:s,dragging:v}),style:x,...p,onClick:()=>a(e.path),onDoubleClick:()=>c(e.path),onAuxClick:j=>{j.button===1&&(j.preventDefault(),l(e.path))},onKeyDown:j=>{if(j.key==="Enter"||j.key===" "){j.preventDefault(),a(e.path);return}j.key==="Delete"&&(j.preventDefault(),l(e.path))}}),children:o.jsx(nr,{tab:e,label:t,onClose:l})}),o.jsx(we,{children:u?`${e.path} · ${u}`:e.path})]})}function Ip({tab:e,label:t,preview:n,overlay:s=!1}){return o.jsx("div",{className:sr(e,{preview:n,overlay:s}),"aria-hidden":"true",children:o.jsx(nr,{tab:e,label:t})})}function nr({tab:e,label:t,onClose:n}){return o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"open-file-tab-name",children:t?.name??e.path}),t?.suffix&&o.jsx("span",{className:"open-file-tab-suffix",children:t.suffix}),n?o.jsxs("button",{type:"button",className:"open-file-tab-close","aria-label":`Close ${e.path}`,onPointerDown:s=>s.stopPropagation(),onKeyDown:s=>s.stopPropagation(),onClick:s=>{s.stopPropagation(),n(e.path)},children:[e.dirty&&o.jsx("span",{className:"open-file-tab-dot","aria-hidden":"true"}),o.jsx(pn,{className:"open-file-tab-close-icon","aria-hidden":"true"})]}):o.jsxs("span",{className:"open-file-tab-close overlay-close","aria-hidden":"true",children:[e.dirty&&o.jsx("span",{className:"open-file-tab-dot"}),o.jsx(pn,{className:"open-file-tab-close-icon"})]})]})}function sr(e,t){return["open-file-tab",t.active?"active":"",t.preview?"preview":"",e.dirty?"dirty":"",e.missing?"missing":"",t.dragging?"dragging":"",t.overlay?"drag-overlay":""].filter(Boolean).join(" ")}function yo(e){return e.replace(/\\/g,"/").replace(/\/+$/,"").toLocaleLowerCase()}function Ap(e,t){return yo(e)===yo(t)}function so(e){const t=e.replace(/[\\/]+$/,"").split(/[\\/]/);return t[t.length-1]||e}function Ag(e,t){const n=t.trim().toLocaleLowerCase();return n?e.filter(s=>[s.name,s.fullName,s.upstream??"",s.shortOid,s.subject].some(i=>i.toLocaleLowerCase().includes(n))):e}function Og(e,t){const n=t.trim().toLocaleLowerCase();return(n?e.filter(i=>[i.path,i.branch??"",so(i.path)].some(a=>a.toLocaleLowerCase().includes(n))):[...e]).sort((i,a)=>i.main!==a.main?i.main?-1:1:i.current!==a.current?i.current?-1:1:so(i.path).localeCompare(so(a.path),"en",{sensitivity:"base",numeric:!0}))}function Op(e){const t=[];return e.current?t.push({label:"Current",tone:"current"}):e.worktreePath&&t.push({label:"In a worktree",tone:"warning"}),e.upstream?(e.ahead>0&&t.push({label:`↑${e.ahead}`,tone:"neutral"}),e.behind>0&&t.push({label:`↓${e.behind}`,tone:"neutral"})):e.remote||t.push({label:"No upstream",tone:"neutral"}),t}function Lg(e){return Op({current:e.deletion==="current",worktreePath:e.deletion==="checked-out"?e.worktreePath:null,upstream:e.upstream,ahead:e.ahead,behind:e.behind})}function qg(e){const t=[];return e.main&&t.push({label:"Main",tone:"neutral"}),e.current&&t.push({label:"Open",tone:"current"}),e.bare&&t.push({label:"Bare",tone:"warning"}),e.detached&&t.push({label:"Detached HEAD",tone:"warning"}),e.locked&&t.push({label:"Locked",tone:"warning"}),e.prunable&&t.push({label:"Missing",tone:"warning"}),t}function Fg(e,t=null){switch(e.deletion){case"safe":return{allowed:!0,reason:`Fully merged into ${e.comparisonBase??"its comparison base"}, so Git can delete it without losing commits.`};case"current":return{allowed:!1,reason:"This is the branch you have checked out. Switch to another branch first."};case"checked-out":return{allowed:!1,reason:`Checked out in the worktree ${e.worktreePath??"another worktree"}. Close or switch that worktree first.`};case"unmerged":return{allowed:!1,forceAllowed:!0,reason:Oi(t)??`${e.uniqueCommits} ${e.uniqueCommits===1?"commit is":"commits are"} not in ${e.comparisonBase??"the comparison base"}. Force deletion may make those commits inaccessible.`};default:return{allowed:!1,forceAllowed:!0,reason:Oi(t)??(e.comparisonBase?`${e.comparisonBase} is not available locally, so Git cannot tell whether this branch is merged. Force deletion is still available.`:"Git cannot tell whether this branch is merged. Force deletion is still available.")}}}function Oi(e){return e?e.state==="MERGED"?`GitHub PR #${e.number} is merged into ${e.baseRefName}, but the local comparison ref is unavailable or has different ancestry. Local deletion requires force.`:e.state==="OPEN"?`GitHub PR #${e.number} is still open. Force deletion removes only the local branch.`:`GitHub PR #${e.number} was closed without merging. Force deletion may make branch-only commits inaccessible.`:null}function Bg(e){if(e.main)return{allowed:!1,reason:"This is the repository's main worktree. Git can never remove it."};if(e.current)return{allowed:!1,reason:"OpenTig has this worktree open. Switch to another worktree first."};if(e.bare)return{allowed:!1,reason:"This entry is a bare repository, not a removable worktree."};if(e.locked)return{allowed:!1,reason:`Locked${e.locked==="locked"?"":`: ${e.locked}`}. Unlock it in Git before removing it.`};if(e.prunable)return{allowed:!1,reason:"Git can no longer find this worktree on disk, so there is nothing to remove."};if(e.operation)return{allowed:!1,forceAllowed:!0,reason:`A ${e.operation} is in progress here. Force removal permanently discards it and every local change.`};const t=Lp(e);return t?{allowed:!1,forceAllowed:!0,reason:`${t} would be permanently lost by force removal.`}:{allowed:!0,reason:"No local changes. Removing it deletes the folder from disk and leaves its branch intact."}}function Lp(e){const t=[[e.conflictCount,"conflicted"],[e.stagedCount,"staged"],[e.unstagedCount,"unstaged"],[e.untrackedCount,"untracked"]],n=t.filter(([i])=>i>0).map(([i,a])=>`${i} ${a}`);if(n.length===0)return null;const s=t.reduce((i,[a])=>i+a,0);return`${n.join(", ")} ${s===1?"change":"changes"}`}function Gg(e,t,n){if(e.length===0)return null;if(n&&e.includes(n))return n;const s=n?t.indexOf(n):-1;return s<0?e[0]??null:e[Math.min(s,e.length-1)]??null}function Hg(e){return e.fullName}function Ug(e){return yo(e.path)}function vo({src:e}){const[t,n]=_.useState(!1);return _.useEffect(()=>{n(!1)},[e]),!e||t?null:o.jsx("img",{className:"repo-select-favicon",src:e,alt:"","aria-hidden":"true",onError:()=>n(!0)})}function qp(e){const[t,n]=_.useState(()=>new Map);return _.useEffect(()=>{let s=!1;const i=new Set;return Promise.all(e.map(async a=>{if(!i.has(a.key)){i.add(a.key);try{const c=await N.repository.getFavicon(a.recent.id);if(s||!c)return;n(l=>{if(l.get(a.key)===c.dataUrl)return l;const p=new Map(l);return p.set(a.key,c.dataUrl),p})}catch{}}})),()=>{s=!0}},[e]),t}const Vg=60,Fp=10;function ht(e){return e.replace(/\\/g,"/").replace(/\/+$/,"").toLowerCase()}function or(e){const t=new Map;for(const n of e){const s=ht(n.commonDir),i=n.commonDir.replace(/[\\/]\.git[\\/]?$/i,""),a={key:s,name:n.repositoryName,rootPath:i,recent:n};(!t.get(s)||ht(n.path)===ht(i))&&t.set(s,a)}return[...t.values()]}function xs(e){return e.replace(/\\/g,"/").replace(/\/+$/,"")}function Wg(e,t=3){const n=xs(e),s=n.split("/");return s.length>t?`…/${s.slice(-t).join("/")}`:n}function Bp(e){return xs(e.recent.path).toLocaleLowerCase()!==xs(e.rootPath).toLocaleLowerCase()}function Gp(e){const t=xs(e.recent.path).split("/").pop();return t&&t.length>0?t:e.name}function Hp(e,t){const n=t?t.detached||!t.branch?"Detached HEAD":t.branch:null;if(!Bp(e))return n??"";const s=Gp(e);return n?`${n} · ${s}`:s}function Up(e,t){const n=or(e),s=new Set,i=t.flatMap(a=>{const c=new Set(a.repositoryKeys.map(ht)),l=n.filter(p=>!c.has(p.key)||s.has(p.key)?!1:(s.add(p.key),!0));return l.length>0?[{id:a.id,name:a.name,repositories:l}]:[]});return{repositories:n,projectSections:i,unassigned:n.filter(a=>!s.has(a.key))}}function Vp(e){return[...e.projectSections.flatMap(t=>t.repositories),...e.unassigned]}function Wp(e,t,n,s=new Date().toISOString()){const a=[{...t,lastOpenedAt:s},...e.filter(p=>p.id!==t.id)],c=new Set(n.flatMap(p=>p.repositoryKeys.map(ht)));let l=0;return a.filter(p=>p.id===t.id||c.has(ht(p.commonDir))?!0:(l+=1,l<=Fp))}let Kp=0;function ss(e,t,n){return{id:`repository-sync:${e}:${t}:${++Kp}`,title:n}}function un(e){return!!(e?.branch&&e.upstream===null&&!e.detached&&!e.unborn)}function Qp(e,t){return t?[t]:e?[...e.behind>0?["pull"]:[],...e.ahead>0||un(e)?["push"]:[]]:[]}function Xp(e,t){return t.status==="up-to-date"?{title:`${e} is already up to date`}:{title:`${e}: ${t.commits} ${t.commits===1?"commit pulled":"commits pulled"}`,...ir(t)}}function Yp(e){return e.status==="up-to-date"?{title:"Branch is already up to date"}:{title:`${e.commits} ${e.commits===1?"commit pulled":"commits pulled"}`,...ir(e)}}function ir(e){const t=[];return e.rebased&&e.localCommits>0&&t.push(e.localCommits===1?"Your local commit was kept on top and is ready to push.":`Your ${e.localCommits} local commits were kept on top and are ready to push.`),e.restoredLocalChanges&&t.push("Local and staged changes were restored."),t.length>0?{description:t.join(" ")}:{}}function Zp(e,t){return t.status==="blocked-conflicts"?{title:`Could not pull ${e}`,description:`${t.files.length} pending ${t.files.length===1?"conflict":"conflicts"} must be resolved.`,duration:1e4}:t.status==="blocked-operation"?{title:`Could not pull ${e}`,description:`Finish or cancel ${t.operation} first.`,duration:1e4}:t.status==="no-upstream"?{title:`Could not pull ${e}`,description:"Current branch has no upstream configured.",duration:1e4}:t.status==="diverged"?{title:`Could not pull ${e}`,description:`Branch is ${t.ahead} ahead and ${t.behind} behind.`,duration:1e4}:t.status==="rebase-conflict"?{title:`Could not pull ${e}`,description:t.files.length>0?`Your local commits overlap the remote changes in ${t.files.length===1?t.files[0]:`${t.files.length} files`}. The branch was left unchanged.`:"Your local commits overlap the remote changes. The branch was left unchanged.",duration:1e4}:t.status==="stash-conflict"?{title:t.updated?`${e} updated with local conflicts`:`Could not restore ${e}`,description:"Safety stash was preserved. Resolve conflicts before continuing.",duration:12e3}:{title:`Could not restore ${e}`,description:t.recoveredChanges?"Some local changes were recovered; safety stash was preserved.":"Worktree remains clean; safety stash was preserved.",duration:12e3}}function Jp(e,t){return t.status==="published"?{title:`${e}: branch published`,description:`${t.remote}/${t.branch}`}:t.status==="success"?{title:`${e}: ${t.commits} ${t.commits===1?"commit pushed":"commits pushed"}`}:{title:`${e}: no commits pending push`}}function eu(e,t){return t.status==="remote-required"?{title:`Choose a remote for ${e}`,description:"Select where to publish the branch."}:t.status==="blocked-conflicts"?{title:`Could not push ${e}`,description:`${t.files.length} pending ${t.files.length===1?"conflict":"conflicts"} must be resolved.`,duration:1e4}:t.status==="blocked-operation"?{title:`Could not push ${e}`,description:`Finish or cancel ${t.operation} first.`,duration:1e4}:t.status==="no-upstream"?{title:`Could not push ${e}`,description:"Current branch has no upstream configured.",duration:1e4}:t.status==="diverged"?{title:`Could not push ${e}`,description:`Remote has new changes; branch is ${t.ahead} ahead and ${t.behind} behind. Pull first — OpenTig rebases your local commits on top when there are no conflicts.`,duration:1e4}:{title:`Could not push ${e}`,description:t.message,duration:1e4}}const fn=(e,t=2)=>String(e).padStart(t,"0");function ar(e){return new Date(/^\d{4}-\d{2}-\d{2}$/.test(e)?`${e}T00:00:00`:e)}function rr(e){return`${fn(e.getDate())}/${fn(e.getMonth()+1)}/${fn(e.getFullYear(),4)}`}function Kg(e){const t=ar(e);return Number.isNaN(t.getTime())?"—":rr(t)}function tu(e,{seconds:t=!1}={}){const n=ar(e);if(Number.isNaN(n.getTime()))return"—";const s=`${fn(n.getHours())}:${fn(n.getMinutes())}${t?`:${fn(n.getSeconds())}`:""}`;return`${rr(n)} ${s}`}function Mo(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Wt=Mo();function cr(e){Wt=e}var Ft={exec:()=>null};function sn(e){let t=[];return n=>{let s=Math.max(0,Math.min(3,n-1)),i=t[s];return i||(i=e(s),t[s]=i),i}}function ie(e,t=""){let n=typeof e=="string"?e:e.source,s={replace:(i,a)=>{let c=typeof a=="string"?a:a.source;return c=c.replace(Ge.caret,"$1"),n=n.replace(i,c),s},getRegex:()=>new RegExp(n,t)};return s}var nu=((e="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+e)}catch{return!1}})(),Ge={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:sn(e=>new RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:sn(e=>new RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:sn(e=>new RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),headingBeginRegex:sn(e=>new RegExp(`^ {0,${e}}#`)),htmlBeginRegex:sn(e=>new RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`,"i")),blockquoteBeginRegex:sn(e=>new RegExp(`^ {0,${e}}>`))},su=/^(?:[ \t]*(?:\n|$))+/,ou=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,iu=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,On=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,au=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Io=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,lr=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_r=ie(lr).replace(/bull/g,Io).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),ru=ie(lr).replace(/bull/g,Io).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Ao=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,cu=/^[^\n]+/,Oo=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,lu=ie(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Oo).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),_u=ie(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,Io).getRegex(),Is="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Lo=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,fu=ie("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Lo).replace("tag",Is).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),fr=ie(Ao).replace("hr",On).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Is).getRegex(),du=ie(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",fr).getRegex(),qo={blockquote:du,code:ou,def:lu,fences:iu,heading:au,hr:On,html:fu,lheading:_r,list:_u,newline:su,paragraph:fr,table:Ft,text:cu},Li=ie("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",On).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Is).getRegex(),pu={...qo,lheading:ru,table:Li,paragraph:ie(Ao).replace("hr",On).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Li).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Is).getRegex()},uu={...qo,html:ie(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Lo).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ft,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ie(Ao).replace("hr",On).replace("heading",` *#{1,6} *[^
|
|
8
|
-
]`).replace("lheading",_r).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},hu=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,gu=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,dr=/^( {2,}|\\)\n(?!\s*$)/,mu=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,yn=/[\p{P}\p{S}]/u,As=/[\s\p{P}\p{S}]/u,Fo=/[^\s\p{P}\p{S}]/u,yu=ie(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,As).getRegex(),pr=/(?!~)[\p{P}\p{S}]/u,vu=/(?!~)[\s\p{P}\p{S}]/u,bu=/(?:[^\s\p{P}\p{S}]|~)/u,ku=ie(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",nu?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),ur=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,wu=ie(ur,"u").replace(/punct/g,yn).getRegex(),xu=ie(ur,"u").replace(/punct/g,pr).getRegex(),hr="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",ju=ie(hr,"gu").replace(/notPunctSpace/g,Fo).replace(/punctSpace/g,As).replace(/punct/g,yn).getRegex(),Pu=ie(hr,"gu").replace(/notPunctSpace/g,bu).replace(/punctSpace/g,vu).replace(/punct/g,pr).getRegex(),Cu=ie("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Fo).replace(/punctSpace/g,As).replace(/punct/g,yn).getRegex(),Su=ie(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,yn).getRegex(),Ru="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",Eu=ie(Ru,"gu").replace(/notPunctSpace/g,Fo).replace(/punctSpace/g,As).replace(/punct/g,yn).getRegex(),Nu=ie(/\\(punct)/,"gu").replace(/punct/g,yn).getRegex(),zu=ie(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Du=ie(Lo).replace("(?:-->|$)","-->").getRegex(),Tu=ie("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Du).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),js=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,$u=ie(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",js).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),gr=ie(/^!?\[(label)\]\[(ref)\]/).replace("label",js).replace("ref",Oo).getRegex(),mr=ie(/^!?\[(ref)\](?:\[\])?/).replace("ref",Oo).getRegex(),Mu=ie("reflink|nolink(?!\\()","g").replace("reflink",gr).replace("nolink",mr).getRegex(),qi=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,Bo={_backpedal:Ft,anyPunctuation:Nu,autolink:zu,blockSkip:ku,br:dr,code:gu,del:Ft,delLDelim:Ft,delRDelim:Ft,emStrongLDelim:wu,emStrongRDelimAst:ju,emStrongRDelimUnd:Cu,escape:hu,link:$u,nolink:mr,punctuation:yu,reflink:gr,reflinkSearch:Mu,tag:Tu,text:mu,url:Ft},Iu={...Bo,link:ie(/^!?\[(label)\]\((.*?)\)/).replace("label",js).getRegex(),reflink:ie(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",js).getRegex()},bo={...Bo,emStrongRDelimAst:Pu,emStrongLDelim:xu,delLDelim:Su,delRDelim:Eu,url:ie(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",qi).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:ie(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",qi).getRegex()},Au={...bo,br:ie(dr).replace("{2,}","*").getRegex(),text:ie(bo.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},os={normal:qo,gfm:pu,pedantic:uu},wn={normal:Bo,gfm:bo,breaks:Au,pedantic:Iu},Ou={"&":"&","<":"<",">":">",'"':""","'":"'"},Fi=e=>Ou[e];function pt(e,t){if(t){if(Ge.escapeTest.test(e))return e.replace(Ge.escapeReplace,Fi)}else if(Ge.escapeTestNoEncode.test(e))return e.replace(Ge.escapeReplaceNoEncode,Fi);return e}function Bi(e){try{e=encodeURI(e).replace(Ge.percentDecode,"%")}catch{return null}return e}function Gi(e,t){let n=e.replace(Ge.findPipe,(a,c,l)=>{let p=!1,f=c;for(;--f>=0&&l[f]==="\\";)p=!p;return p?"|":" |"}),s=n.split(Ge.splitPipe),i=0;if(s[0].trim()||s.shift(),s.length>0&&!s.at(-1)?.trim()&&s.pop(),t)if(s.length>t)s.splice(t);else for(;s.length<t;)s.push("");for(;i<s.length;i++)s[i]=s[i].trim().replace(Ge.slashPipe,"|");return s}function Nt(e,t,n){let s=e.length;if(s===0)return"";let i=0;for(;i<s&&e.charAt(s-i-1)===t;)i++;return e.slice(0,s-i)}function Hi(e){let t=e.split(`
|
|
9
|
-
`),n=t.length-1;for(;n>=0&&Ge.blankLine.test(t[n]);)n--;return t.length-n<=2?e:t.slice(0,n+1).join(`
|
|
10
|
-
`)}function Lu(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let s=0;s<e.length;s++)if(e[s]==="\\")s++;else if(e[s]===t[0])n++;else if(e[s]===t[1]&&(n--,n<0))return s;return n>0?-2:-1}function qu(e,t=0){let n=t,s="";for(let i of e)if(i===" "){let a=4-n%4;s+=" ".repeat(a),n+=a}else s+=i,n++;return s}function Ui(e,t,n,s,i){let a=t.href,c=t.title||null,l=e[1].replace(i.other.outputLinkReplace,"$1");s.state.inLink=!0;let p={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:a,title:c,text:l,tokens:s.inlineTokens(l)};return s.state.inLink=!1,p}function Fu(e,t,n){let s=e.match(n.other.indentCodeCompensation);if(s===null)return t;let i=s[1];return t.split(`
|
|
11
|
-
`).map(a=>{let c=a.match(n.other.beginningSpace);if(c===null)return a;let[l]=c;return l.length>=i.length?a.slice(i.length):a}).join(`
|
|
12
|
-
`)}var Ps=class{options;rules;lexer;constructor(e){this.options=e||Wt}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let n=this.options.pedantic?t[0]:Hi(t[0]),s=n.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:n,codeBlockStyle:"indented",text:s}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],s=Fu(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:s}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(this.rules.other.endingHash.test(n)){let s=Nt(n,"#");(this.options.pedantic||!s||this.rules.other.endingSpaceChar.test(s))&&(n=s.trim())}return{type:"heading",raw:Nt(t[0],`
|
|
13
|
-
`),depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:Nt(t[0],`
|
|
14
|
-
`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let n=Nt(t[0],`
|
|
15
|
-
`).split(`
|
|
16
|
-
`),s="",i="",a=[];for(;n.length>0;){let c=!1,l=[],p;for(p=0;p<n.length;p++)if(this.rules.other.blockquoteStart.test(n[p]))l.push(n[p]),c=!0;else if(!c)l.push(n[p]);else break;n=n.slice(p);let f=l.join(`
|
|
17
|
-
`),g=f.replace(this.rules.other.blockquoteSetextReplace,`
|
|
18
|
-
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");s=s?`${s}
|
|
19
|
-
${f}`:f,i=i?`${i}
|
|
20
|
-
${g}`:g;let y=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(g,a,!0),this.lexer.state.top=y,n.length===0)break;let v=a.at(-1);if(v?.type==="code")break;if(v?.type==="blockquote"){let u=v,x=u.raw+`
|
|
21
|
-
`+n.join(`
|
|
22
|
-
`),P=this.blockquote(x);a[a.length-1]=P,s=s.substring(0,s.length-u.raw.length)+P.raw,i=i.substring(0,i.length-u.text.length)+P.text;break}else if(v?.type==="list"){let u=v,x=u.raw+`
|
|
23
|
-
`+n.join(`
|
|
24
|
-
`),P=this.list(x);a[a.length-1]=P,s=s.substring(0,s.length-v.raw.length)+P.raw,i=i.substring(0,i.length-u.raw.length)+P.raw,n=x.substring(a.at(-1).raw.length).split(`
|
|
25
|
-
`);continue}}return{type:"blockquote",raw:s,tokens:a,text:i}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),s=n.length>1,i={type:"list",raw:"",ordered:s,start:s?+n.slice(0,-1):"",loose:!1,items:[]};n=s?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=s?n:"[*+-]");let a=this.rules.other.listItemRegex(n),c=!1;for(;e;){let p=!1,f="",g="";if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;f=t[0],e=e.substring(f.length);let y=qu(t[2].split(`
|
|
26
|
-
`,1)[0],t[1].length),v=e.split(`
|
|
27
|
-
`,1)[0],u=!y.trim(),x=0;if(this.options.pedantic?(x=2,g=y.trimStart()):u?x=t[1].length+1:(x=y.search(this.rules.other.nonSpaceChar),x=x>4?1:x,g=y.slice(x),x+=t[1].length),u&&this.rules.other.blankLine.test(v)&&(f+=v+`
|
|
28
|
-
`,e=e.substring(v.length+1),p=!0),!p){let P=this.rules.other.nextBulletRegex(x),j=this.rules.other.hrRegex(x),D=this.rules.other.fencesBeginRegex(x),k=this.rules.other.headingBeginRegex(x),R=this.rules.other.htmlBeginRegex(x),$=this.rules.other.blockquoteBeginRegex(x);for(;e;){let F=e.split(`
|
|
29
|
-
`,1)[0],A;if(v=F,this.options.pedantic?(v=v.replace(this.rules.other.listReplaceNesting," "),A=v):A=v.replace(this.rules.other.tabCharGlobal," "),D.test(v)||k.test(v)||R.test(v)||$.test(v)||P.test(v)||j.test(v))break;if(A.search(this.rules.other.nonSpaceChar)>=x||!v.trim())g+=`
|
|
30
|
-
`+A.slice(x);else{if(u||y.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||D.test(y)||k.test(y)||j.test(y))break;g+=`
|
|
31
|
-
`+v}u=!v.trim(),f+=F+`
|
|
32
|
-
`,e=e.substring(F.length+1),y=A.slice(x)}}i.loose||(c?i.loose=!0:this.rules.other.doubleBlankLine.test(f)&&(c=!0)),i.items.push({type:"list_item",raw:f,task:!!this.options.gfm&&this.rules.other.listIsTask.test(g),loose:!1,text:g,tokens:[]}),i.raw+=f}let l=i.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let p of i.items){this.lexer.state.top=!1,p.tokens=this.lexer.blockTokens(p.text,[]);let f=p.tokens[0];if(p.task&&(f?.type==="text"||f?.type==="paragraph")){p.text=p.text.replace(this.rules.other.listReplaceTask,""),f.raw=f.raw.replace(this.rules.other.listReplaceTask,""),f.text=f.text.replace(this.rules.other.listReplaceTask,"");for(let y=this.lexer.inlineQueue.length-1;y>=0;y--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[y].src)){this.lexer.inlineQueue[y].src=this.lexer.inlineQueue[y].src.replace(this.rules.other.listReplaceTask,"");break}let g=this.rules.other.listTaskCheckbox.exec(p.raw);if(g){let y={type:"checkbox",raw:g[0]+" ",checked:g[0]!=="[ ]"};p.checked=y.checked,i.loose?p.tokens[0]&&["paragraph","text"].includes(p.tokens[0].type)&&"tokens"in p.tokens[0]&&p.tokens[0].tokens?(p.tokens[0].raw=y.raw+p.tokens[0].raw,p.tokens[0].text=y.raw+p.tokens[0].text,p.tokens[0].tokens.unshift(y)):p.tokens.unshift({type:"paragraph",raw:y.raw,text:y.raw,tokens:[y]}):p.tokens.unshift(y)}}else p.task&&(p.task=!1);if(!i.loose){let g=p.tokens.filter(v=>v.type==="space"),y=g.length>0&&g.some(v=>this.rules.other.anyLine.test(v.raw));i.loose=y}}if(i.loose)for(let p of i.items){p.loose=!0;for(let f of p.tokens)f.type==="text"&&(f.type="paragraph")}return i}}html(e){let t=this.rules.block.html.exec(e);if(t){let n=Hi(t[0]);return{type:"html",block:!0,raw:n,pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:n}}}def(e){let t=this.rules.block.def.exec(e);if(t){let n=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),s=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:Nt(t[0],`
|
|
33
|
-
`),href:s,title:i}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=Gi(t[1]),s=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
34
|
-
`):[],a={type:"table",raw:Nt(t[0],`
|
|
35
|
-
`),header:[],align:[],rows:[]};if(n.length===s.length){for(let c of s)this.rules.other.tableAlignRight.test(c)?a.align.push("right"):this.rules.other.tableAlignCenter.test(c)?a.align.push("center"):this.rules.other.tableAlignLeft.test(c)?a.align.push("left"):a.align.push(null);for(let c=0;c<n.length;c++)a.header.push({text:n[c],tokens:this.lexer.inline(n[c]),header:!0,align:a.align[c]});for(let c of i)a.rows.push(Gi(c,a.header.length).map((l,p)=>({text:l,tokens:this.lexer.inline(l),header:!1,align:a.align[p]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let n=t[1].trim();return{type:"heading",raw:Nt(t[0],`
|
|
36
|
-
`),depth:t[2].charAt(0)==="="?1:2,text:n,tokens:this.lexer.inline(n)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let n=t[1].charAt(t[1].length-1)===`
|
|
37
|
-
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let a=Nt(n.slice(0,-1),"\\");if((n.length-a.length)%2===0)return}else{let a=Lu(t[2],"()");if(a===-2)return;if(a>-1){let c=(t[0].indexOf("!")===0?5:4)+t[1].length+a;t[2]=t[2].substring(0,a),t[0]=t[0].substring(0,c).trim(),t[3]=""}}let s=t[2],i="";if(this.options.pedantic){let a=this.rules.other.pedanticHrefTitle.exec(s);a&&(s=a[1],i=a[3])}else i=t[3]?t[3].slice(1,-1):"";return s=s.trim(),this.rules.other.startAngleBracket.test(s)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?s=s.slice(1):s=s.slice(1,-1)),Ui(t,{href:s&&s.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let s=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),i=t[s.toLowerCase()];if(!i){let a=n[0].charAt(0);return{type:"text",raw:a,text:a}}return Ui(n,i,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let s=this.rules.inline.emStrongLDelim.exec(e);if(!(!s||!s[1]&&!s[2]&&!s[3]&&!s[4]||s[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(s[1]||s[3])||!n||this.rules.inline.punctuation.exec(n))){let i=[...s[0]].length-1,a,c,l=i,p=0,f=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(f.lastIndex=0,t=t.slice(-1*e.length+i);(s=f.exec(t))!==null;){if(a=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!a)continue;if(c=[...a].length,s[3]||s[4]){l+=c;continue}else if((s[5]||s[6])&&i%3&&!((i+c)%3)){p+=c;continue}if(l-=c,l>0)continue;c=Math.min(c,c+l+p);let g=[...s[0]][0].length,y=e.slice(0,i+s.index+g+c);if(Math.min(i,c)%2){let u=y.slice(1,-1);return{type:"em",raw:y,text:u,tokens:this.lexer.inlineTokens(u)}}let v=y.slice(2,-2);return{type:"strong",raw:y,text:v,tokens:this.lexer.inlineTokens(v)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(this.rules.other.newLineCharGlobal," "),s=this.rules.other.nonSpaceChar.test(n),i=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return s&&i&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t,n=""){let s=this.rules.inline.delLDelim.exec(e);if(s&&(!s[1]||!n||this.rules.inline.punctuation.exec(n))){let i=[...s[0]].length-1,a,c,l=i,p=this.rules.inline.delRDelim;for(p.lastIndex=0,t=t.slice(-1*e.length+i);(s=p.exec(t))!==null;){if(a=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!a||(c=[...a].length,c!==i))continue;if(s[3]||s[4]){l+=c;continue}if(l-=c,l>0)continue;c=Math.min(c,c+l);let f=[...s[0]][0].length,g=e.slice(0,i+s.index+f+c),y=g.slice(i,-i);return{type:"del",raw:g,text:y,tokens:this.lexer.inlineTokens(y)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let n,s;return t[2]==="@"?(n=t[1],s="mailto:"+n):(n=t[1],s=n),{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let n,s;if(t[2]==="@")n=t[0],s="mailto:"+n;else{let i;do i=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(i!==t[0]);n=t[0],t[1]==="www."?s="http://"+t[0]:s=t[0]}return{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}},it=class ko{tokens;options;state;inlineQueue;tokenizer;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Wt,this.options.tokenizer=this.options.tokenizer||new Ps,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:Ge,block:os.normal,inline:wn.normal};this.options.pedantic?(n.block=os.pedantic,n.inline=wn.pedantic):this.options.gfm&&(n.block=os.gfm,this.options.breaks?n.inline=wn.breaks:n.inline=wn.gfm),this.tokenizer.rules=n}static get rules(){return{block:os,inline:wn}}static lex(t,n){return new ko(n).lex(t)}static lexInline(t,n){return new ko(n).inlineTokens(t)}lex(t){t=t.replace(Ge.carriageReturn,`
|
|
38
|
-
`),this.blockTokens(t,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){let s=this.inlineQueue[n];this.inlineTokens(s.src,s.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[],s=!1){this.tokenizer.lexer=this,this.options.pedantic&&(t=t.replace(Ge.tabCharGlobal," ").replace(Ge.spaceLine,""));let i=1/0;for(;t;){if(t.length<i)i=t.length;else{this.infiniteLoopError(t.charCodeAt(0));break}let a;if(this.options.extensions?.block?.some(l=>(a=l.call({lexer:this},t,n))?(t=t.substring(a.raw.length),n.push(a),!0):!1))continue;if(a=this.tokenizer.space(t)){t=t.substring(a.raw.length);let l=n.at(-1);a.raw.length===1&&l!==void 0?l.raw+=`
|
|
39
|
-
`:n.push(a);continue}if(a=this.tokenizer.code(t)){t=t.substring(a.raw.length);let l=n.at(-1);l?.type==="paragraph"||l?.type==="text"?(l.raw+=(l.raw.endsWith(`
|
|
40
|
-
`)?"":`
|
|
41
|
-
`)+a.raw,l.text+=`
|
|
42
|
-
`+a.text,this.inlineQueue.at(-1).src=l.text):n.push(a);continue}if(a=this.tokenizer.fences(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.heading(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.hr(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.blockquote(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.list(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.html(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.def(t)){t=t.substring(a.raw.length);let l=n.at(-1);l?.type==="paragraph"||l?.type==="text"?(l.raw+=(l.raw.endsWith(`
|
|
43
|
-
`)?"":`
|
|
44
|
-
`)+a.raw,l.text+=`
|
|
45
|
-
`+a.raw,this.inlineQueue.at(-1).src=l.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},n.push(a));continue}if(a=this.tokenizer.table(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.lheading(t)){t=t.substring(a.raw.length),n.push(a);continue}let c=t;if(this.options.extensions?.startBlock){let l=1/0,p=t.slice(1),f;this.options.extensions.startBlock.forEach(g=>{f=g.call({lexer:this},p),typeof f=="number"&&f>=0&&(l=Math.min(l,f))}),l<1/0&&l>=0&&(c=t.substring(0,l+1))}if(this.state.top&&(a=this.tokenizer.paragraph(c))){let l=n.at(-1);s&&l?.type==="paragraph"?(l.raw+=(l.raw.endsWith(`
|
|
46
|
-
`)?"":`
|
|
47
|
-
`)+a.raw,l.text+=`
|
|
48
|
-
`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):n.push(a),s=c.length!==t.length,t=t.substring(a.raw.length);continue}if(a=this.tokenizer.text(t)){t=t.substring(a.raw.length);let l=n.at(-1);l?.type==="text"?(l.raw+=(l.raw.endsWith(`
|
|
49
|
-
`)?"":`
|
|
50
|
-
`)+a.raw,l.text+=`
|
|
51
|
-
`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):n.push(a);continue}if(t){this.infiniteLoopError(t.charCodeAt(0));break}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){this.tokenizer.lexer=this;let s=t,i=null;if(this.tokens.links){let f=Object.keys(this.tokens.links);if(f.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(s))!==null;)f.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(s))!==null;)s=s.slice(0,i.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let a;for(;(i=this.tokenizer.rules.inline.blockSkip.exec(s))!==null;)a=i[2]?i[2].length:0,s=s.slice(0,i.index+a)+"["+"a".repeat(i[0].length-a-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);s=this.options.hooks?.emStrongMask?.call({lexer:this},s)??s;let c=!1,l="",p=1/0;for(;t;){if(t.length<p)p=t.length;else{this.infiniteLoopError(t.charCodeAt(0));break}c||(l=""),c=!1;let f;if(this.options.extensions?.inline?.some(y=>(f=y.call({lexer:this},t,n))?(t=t.substring(f.raw.length),n.push(f),!0):!1))continue;if(f=this.tokenizer.escape(t)){t=t.substring(f.raw.length),n.push(f);continue}if(f=this.tokenizer.tag(t)){t=t.substring(f.raw.length),n.push(f);continue}if(f=this.tokenizer.link(t)){t=t.substring(f.raw.length),n.push(f);continue}if(f=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(f.raw.length);let y=n.at(-1);f.type==="text"&&y?.type==="text"?(y.raw+=f.raw,y.text+=f.text):n.push(f);continue}if(f=this.tokenizer.emStrong(t,s,l)){t=t.substring(f.raw.length),n.push(f);continue}if(f=this.tokenizer.codespan(t)){t=t.substring(f.raw.length),n.push(f);continue}if(f=this.tokenizer.br(t)){t=t.substring(f.raw.length),n.push(f);continue}if(f=this.tokenizer.del(t,s,l)){t=t.substring(f.raw.length),n.push(f);continue}if(f=this.tokenizer.autolink(t)){t=t.substring(f.raw.length),n.push(f);continue}if(!this.state.inLink&&(f=this.tokenizer.url(t))){t=t.substring(f.raw.length),n.push(f);continue}let g=t;if(this.options.extensions?.startInline){let y=1/0,v=t.slice(1),u;this.options.extensions.startInline.forEach(x=>{u=x.call({lexer:this},v),typeof u=="number"&&u>=0&&(y=Math.min(y,u))}),y<1/0&&y>=0&&(g=t.substring(0,y+1))}if(f=this.tokenizer.inlineText(g)){t=t.substring(f.raw.length),f.raw.slice(-1)!=="_"&&(l=f.raw.slice(-1)),c=!0;let y=n.at(-1);y?.type==="text"?(y.raw+=f.raw,y.text+=f.text):n.push(f);continue}if(t){this.infiniteLoopError(t.charCodeAt(0));break}}return n}infiniteLoopError(t){let n="Infinite loop on byte: "+t;if(this.options.silent)console.error(n);else throw new Error(n)}},Cs=class{options;parser;constructor(e){this.options=e||Wt}space(e){return""}code({text:e,lang:t,escaped:n}){let s=(t||"").match(Ge.notSpaceStart)?.[0],i=e.replace(Ge.endingNewline,"")+`
|
|
52
|
-
`;return s?'<pre><code class="language-'+pt(s)+'">'+(n?i:pt(i,!0))+`</code></pre>
|
|
53
|
-
`:"<pre><code>"+(n?i:pt(i,!0))+`</code></pre>
|
|
54
|
-
`}blockquote({tokens:e}){return`<blockquote>
|
|
55
|
-
${this.parser.parse(e)}</blockquote>
|
|
56
|
-
`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
|
|
57
|
-
`}hr(e){return`<hr>
|
|
58
|
-
`}list(e){let t=e.ordered,n=e.start,s="";for(let c=0;c<e.items.length;c++){let l=e.items[c];s+=this.listitem(l)}let i=t?"ol":"ul",a=t&&n!==1?' start="'+n+'"':"";return"<"+i+a+`>
|
|
59
|
-
`+s+"</"+i+`>
|
|
60
|
-
`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
|
|
61
|
-
`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
|
|
62
|
-
`}table(e){let t="",n="";for(let i=0;i<e.header.length;i++)n+=this.tablecell(e.header[i]);t+=this.tablerow({text:n});let s="";for(let i=0;i<e.rows.length;i++){let a=e.rows[i];n="";for(let c=0;c<a.length;c++)n+=this.tablecell(a[c]);s+=this.tablerow({text:n})}return s&&(s=`<tbody>${s}</tbody>`),`<table>
|
|
63
|
-
<thead>
|
|
64
|
-
`+t+`</thead>
|
|
65
|
-
`+s+`</table>
|
|
66
|
-
`}tablerow({text:e}){return`<tr>
|
|
67
|
-
${e}</tr>
|
|
68
|
-
`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
|
|
69
|
-
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${pt(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let s=this.parser.parseInline(n),i=Bi(e);if(i===null)return s;e=i;let a='<a href="'+e+'"';return t&&(a+=' title="'+pt(t)+'"'),a+=">"+s+"</a>",a}image({href:e,title:t,text:n,tokens:s}){s&&(n=this.parser.parseInline(s,this.parser.textRenderer));let i=Bi(e);if(i===null)return pt(n);e=i;let a=`<img src="${e}" alt="${pt(n)}"`;return t&&(a+=` title="${pt(t)}"`),a+=">",a}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:pt(e.text)}},Go=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},at=class wo{options;renderer;textRenderer;constructor(t){this.options=t||Wt,this.options.renderer=this.options.renderer||new Cs,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Go}static parse(t,n){return new wo(n).parse(t)}static parseInline(t,n){return new wo(n).parseInline(t)}parse(t){this.renderer.parser=this;let n="";for(let s=0;s<t.length;s++){let i=t[s];if(this.options.extensions?.renderers?.[i.type]){let c=i,l=this.options.extensions.renderers[c.type].call({parser:this},c);if(l!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(c.type)){n+=l||"";continue}}let a=i;switch(a.type){case"space":{n+=this.renderer.space(a);break}case"hr":{n+=this.renderer.hr(a);break}case"heading":{n+=this.renderer.heading(a);break}case"code":{n+=this.renderer.code(a);break}case"table":{n+=this.renderer.table(a);break}case"blockquote":{n+=this.renderer.blockquote(a);break}case"list":{n+=this.renderer.list(a);break}case"checkbox":{n+=this.renderer.checkbox(a);break}case"html":{n+=this.renderer.html(a);break}case"def":{n+=this.renderer.def(a);break}case"paragraph":{n+=this.renderer.paragraph(a);break}case"text":{n+=this.renderer.text(a);break}default:{let c='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}parseInline(t,n=this.renderer){this.renderer.parser=this;let s="";for(let i=0;i<t.length;i++){let a=t[i];if(this.options.extensions?.renderers?.[a.type]){let l=this.options.extensions.renderers[a.type].call({parser:this},a);if(l!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){s+=l||"";continue}}let c=a;switch(c.type){case"escape":{s+=n.text(c);break}case"html":{s+=n.html(c);break}case"link":{s+=n.link(c);break}case"image":{s+=n.image(c);break}case"checkbox":{s+=n.checkbox(c);break}case"strong":{s+=n.strong(c);break}case"em":{s+=n.em(c);break}case"codespan":{s+=n.codespan(c);break}case"br":{s+=n.br(c);break}case"del":{s+=n.del(c);break}case"text":{s+=n.text(c);break}default:{let l='Token with "'+c.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return s}},Cn=class{options;block;constructor(e){this.options=e||Wt}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?it.lex:it.lexInline}provideParser(e=this.block){return e?at.parse:at.parseInline}},Bu=class{defaults=Mo();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=at;Renderer=Cs;TextRenderer=Go;Lexer=it;Tokenizer=Ps;Hooks=Cn;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let s of e)switch(n=n.concat(t.call(this,s)),s.type){case"table":{let i=s;for(let a of i.header)n=n.concat(this.walkTokens(a.tokens,t));for(let a of i.rows)for(let c of a)n=n.concat(this.walkTokens(c.tokens,t));break}case"list":{let i=s;n=n.concat(this.walkTokens(i.items,t));break}default:{let i=s;this.defaults.extensions?.childTokens?.[i.type]?this.defaults.extensions.childTokens[i.type].forEach(a=>{let c=i[a].flat(1/0);n=n.concat(this.walkTokens(c,t))}):i.tokens&&(n=n.concat(this.walkTokens(i.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let s={...n};if(s.async=this.defaults.async||s.async||!1,n.extensions&&(n.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){let a=t.renderers[i.name];a?t.renderers[i.name]=function(...c){let l=i.renderer.apply(this,c);return l===!1&&(l=a.apply(this,c)),l}:t.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let a=t[i.level];a?a.unshift(i.tokenizer):t[i.level]=[i.tokenizer],i.start&&(i.level==="block"?t.startBlock?t.startBlock.push(i.start):t.startBlock=[i.start]:i.level==="inline"&&(t.startInline?t.startInline.push(i.start):t.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(t.childTokens[i.name]=i.childTokens)}),s.extensions=t),n.renderer){let i=this.defaults.renderer||new Cs(this.defaults);for(let a in n.renderer){if(!(a in i))throw new Error(`renderer '${a}' does not exist`);if(["options","parser"].includes(a))continue;let c=a,l=n.renderer[c],p=i[c];i[c]=(...f)=>{let g=l.apply(i,f);return g===!1&&(g=p.apply(i,f)),g||""}}s.renderer=i}if(n.tokenizer){let i=this.defaults.tokenizer||new Ps(this.defaults);for(let a in n.tokenizer){if(!(a in i))throw new Error(`tokenizer '${a}' does not exist`);if(["options","rules","lexer"].includes(a))continue;let c=a,l=n.tokenizer[c],p=i[c];i[c]=(...f)=>{let g=l.apply(i,f);return g===!1&&(g=p.apply(i,f)),g}}s.tokenizer=i}if(n.hooks){let i=this.defaults.hooks||new Cn;for(let a in n.hooks){if(!(a in i))throw new Error(`hook '${a}' does not exist`);if(["options","block"].includes(a))continue;let c=a,l=n.hooks[c],p=i[c];Cn.passThroughHooks.has(a)?i[c]=f=>{if(this.defaults.async&&Cn.passThroughHooksRespectAsync.has(a))return(async()=>{let y=await l.call(i,f);return p.call(i,y)})();let g=l.call(i,f);return p.call(i,g)}:i[c]=(...f)=>{if(this.defaults.async)return(async()=>{let y=await l.apply(i,f);return y===!1&&(y=await p.apply(i,f)),y})();let g=l.apply(i,f);return g===!1&&(g=p.apply(i,f)),g}}s.hooks=i}if(n.walkTokens){let i=this.defaults.walkTokens,a=n.walkTokens;s.walkTokens=function(c){let l=[];return l.push(a.call(this,c)),i&&(l=l.concat(i.call(this,c))),l}}this.defaults={...this.defaults,...s}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return it.lex(e,t??this.defaults)}parser(e,t){return at.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let s={...n},i={...this.defaults,...s},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&s.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let c=i.hooks?await i.hooks.preprocess(t):t,l=await(i.hooks?await i.hooks.provideLexer(e):e?it.lex:it.lexInline)(c,i),p=i.hooks?await i.hooks.processAllTokens(l):l;i.walkTokens&&await Promise.all(this.walkTokens(p,i.walkTokens));let f=await(i.hooks?await i.hooks.provideParser(e):e?at.parse:at.parseInline)(p,i);return i.hooks?await i.hooks.postprocess(f):f})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let c=(i.hooks?i.hooks.provideLexer(e):e?it.lex:it.lexInline)(t,i);i.hooks&&(c=i.hooks.processAllTokens(c)),i.walkTokens&&this.walkTokens(c,i.walkTokens);let l=(i.hooks?i.hooks.provideParser(e):e?at.parse:at.parseInline)(c,i);return i.hooks&&(l=i.hooks.postprocess(l)),l}catch(c){return a(c)}}}onError(e,t){return n=>{if(n.message+=`
|
|
70
|
-
Please report this to https://github.com/markedjs/marked.`,e){let s="<p>An error occurred:</p><pre>"+pt(n.message+"",!0)+"</pre>";return t?Promise.resolve(s):s}if(t)return Promise.reject(n);throw n}}},Vt=new Bu;function fe(e,t){return Vt.parse(e,t)}fe.options=fe.setOptions=function(e){return Vt.setOptions(e),fe.defaults=Vt.defaults,cr(fe.defaults),fe};fe.getDefaults=Mo;fe.defaults=Wt;fe.use=function(...e){return Vt.use(...e),fe.defaults=Vt.defaults,cr(fe.defaults),fe};fe.walkTokens=function(e,t){return Vt.walkTokens(e,t)};fe.parseInline=Vt.parseInline;fe.Parser=at;fe.parser=at.parse;fe.Renderer=Cs;fe.TextRenderer=Go;fe.Lexer=it;fe.lexer=it.lex;fe.Tokenizer=Ps;fe.Hooks=Cn;fe.parse=fe;fe.options;fe.setOptions;fe.use;fe.walkTokens;fe.parseInline;at.parse;it.lex;function Gu(e){if(!e?.trim())return{items:[],omitted:0};const t=fe.parse(e.slice(0,64e3),{async:!1}),n=new DOMParser().parseFromString(t,"text/html");n.querySelectorAll("script, style, template, iframe, object, embed").forEach(c=>c.remove());const s=[...n.querySelectorAll("li")].filter(c=>!c.parentElement?.closest("li")),i=s.length?s:[...n.querySelectorAll("p")],a=(i.length?i.map(c=>c.textContent??""):[n.body.textContent??""]).map(c=>c.replace(/\s+/g," ").trim()).filter(Boolean);return{items:a.slice(0,8),omitted:Math.max(0,a.length-8)}}let Vi=null,Wi=!1,Ki=!1;function Qi(){return window.dispatchEvent(new Event("opentig:before-update",{cancelable:!0}))}async function is(e){if(e==="install"){if(!Qi())throw new Error("Save your edited files and finish running operations before restarting.");if(Wi)throw window.location.reload(),new Error("Reloading the updated app…")}const t=await fetch(e?`/api/updates/${e}`:"/api/updates",{method:e?"POST":"GET",credentials:"same-origin",cache:"no-store",signal:AbortSignal.timeout(2e4)}),n=await t.json();if(!t.ok)throw new Error(typeof n.error=="string"?n.error:"Could not reach the update service.");const s=n;return Vi??=s.currentVersion,s.currentVersion!==Vi?(Wi=!0,!Ki&&Qi()&&(Ki=!0,window.location.reload()),{...s,phase:"ready",reloadRequired:!0,availableVersion:s.currentVersion,message:"The server has updated. Save any edited files, then reload this browser."}):s}const Hu={getStatus:()=>is(),check:()=>is("check"),download:()=>is("download"),install:()=>is("install")},Os=()=>window.opentigDesktop?.updates??Hu;function yr(e){const[t,n]=_.useState(null),[s,i]=_.useState(null);return _.useEffect(()=>{const a=Os();if(!a)return;let c=!0;const l=()=>{a.getStatus().then(f=>{c&&(n(f),i(null))}).catch(()=>{c&&i("Could not read update status. Try reopening settings.")})};l();const p=window.setInterval(l,e);return()=>{c=!1,window.clearInterval(p)}},[e]),{status:t,setStatus:n,error:s,setError:i}}function Qg(){const{status:e,setStatus:t,error:n,setError:s}=yr(1e3),[i,a]=_.useState(!1),c=Os();if(!e)return o.jsx("p",{role:"status",children:n??"Checking update settings…"});const l=async y=>{a(!0),s(null);try{t(await c[y]())}catch(v){s(v instanceof Error?v.message:"The update action could not be completed. Try again.")}finally{a(!1)}},p=i||["checking","downloading","installing"].includes(e.phase),f=!on&&/^\d+\.\d+\.\d+$/.test(e.currentVersion)?`https://github.com/jorgefl8/opentig/releases/tag/v${e.currentVersion}`:null,g=window.opentigDesktop?"When developing from source, rebuild and relaunch OpenTig Dev. For a downloaded build, replace it with a new Dev ZIP.":"Rebuild and restart the Dev server to apply source changes.";return o.jsxs("div",{className:"settings-field",children:[o.jsxs("div",{className:"settings-field-label",children:[o.jsxs("strong",{children:[Rs,on?" · Base version ":" ",e.currentVersion]}),o.jsx("span",{children:on?"Development build. Automatic updates to stable releases are disabled.":e.phase==="unavailable"?"This build does not check for automatic updates.":window.opentigDesktop?"Stable releases are checked at startup, every 5 minutes, and when returning to the app if a check is due. Download and restart when you are ready.":"The server checks for stable releases at startup and every 5 minutes. Download and restart when you are ready."})]}),o.jsx("p",{className:"text-sm",role:"status","aria-live":"polite",children:n??(on?g:e.message??vr(e))}),e.phase==="downloading"&&o.jsx("progress",{className:"w-full","aria-label":"Update download",max:100,value:e.progress??0}),o.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[["idle","error","checking"].includes(e.phase)&&o.jsx(W,{variant:"outline",disabled:p,onClick:()=>{l("check")},children:e.phase==="checking"?"Checking…":"Check for updates"}),e.phase==="available"&&o.jsxs(W,{disabled:p,onClick:()=>{l("download")},children:["Download ",e.availableVersion]}),e.phase==="ready"&&o.jsx(W,{disabled:p,onClick:()=>{l("install")},children:e.reloadRequired?"Reload app":"Restart and install"}),f&&o.jsxs("a",{className:"text-sm underline",href:f,target:"_blank",rel:"noreferrer",children:["Release notes · ",e.currentVersion," (installed)"]}),e.releaseUrl&&o.jsxs("a",{className:"text-sm underline",href:e.releaseUrl,target:"_blank",rel:"noreferrer",children:["Release notes · ",e.availableVersion," (update)"]})]}),e.checkedAt&&o.jsxs("p",{className:"text-xs text-muted-foreground",children:["Last checked: ",tu(e.checkedAt,{seconds:!0})]}),e.phase==="ready"&&!e.reloadRequired&&o.jsx("p",{className:"text-xs text-muted-foreground",children:"Save your edits and finish Git operations before restarting. Closing normally will not install the update."})]})}function Ho(){const{status:e,setStatus:t,error:n,setError:s}=yr(1e3),[i,a]=_.useState(!1),[c,l]=_.useState(!1),p=_.useRef(!1),f=_.useRef(!1),g=_.useId(),y=_.useRef(null),v=_.useMemo(()=>Gu(e?.releaseNotes),[e?.releaseNotes]);if(!e||["idle","checking","unavailable"].includes(e.phase))return null;const u=c||e.phase==="downloading"||e.phase==="installing",x=e.reloadRequired?"Server updated. Save edited files and click to reload.":e.phase==="available"?`Update ${e.availableVersion} is available. Click to download.`:e.phase==="ready"?`Update ${e.availableVersion} downloaded. Click to restart and install.`:e.phase==="error"?"Update failed. Click to retry.":vr(e),P=Math.max(0,Math.min(100,e.progress??0)),j=async()=>{const D=Os();if(!D||u||p.current)return;p.current=!0,l(!0),s(null);const k=e.phase==="available"?"download":e.phase==="ready"?"install":"check";try{t(await D[k]())}catch(R){s(R instanceof Error?R.message:"The update action could not be completed. Click the icon to retry.")}finally{p.current=!1,l(!1)}};return o.jsxs(Xc,{open:i,triggerId:g,onOpenChange:(D,k)=>{if(k.reason==="trigger-press"){k.cancel();return}!D&&k.reason==="escape-key"&&(f.current=!0),a(D)},children:[o.jsxs(Yc,{id:g,openOnHover:!0,delay:300,closeDelay:150,render:o.jsx(W,{variant:"ghost",size:"icon-sm",className:"desktop-update-indicator relative","aria-label":x,"aria-disabled":u||void 0,onClick:()=>{j()},onFocus:D=>{if(f.current){f.current=!1;return}D.currentTarget.matches(":focus-visible")&&a(!0)},onBlur:()=>{f.current=!1},onKeyDown:D=>{D.key==="Tab"&&!D.shiftKey&&i&&y.current&&(D.preventDefault(),y.current.focus())}}),children:[e.phase==="available"||e.phase==="downloading"?o.jsx(Kl,{}):e.phase==="installing"?o.jsx(m_,{className:"animate-spin"}):e.phase==="error"?o.jsx(Cl,{}):o.jsx(Co,{}),e.phase==="downloading"&&o.jsxs("svg",{className:"pointer-events-none absolute inset-0 size-full! -rotate-90",viewBox:"0 0 32 32","aria-hidden":"true",children:[o.jsx("circle",{cx:"16",cy:"16",r:"14",fill:"none",stroke:"currentColor",strokeOpacity:"0.2",strokeWidth:"2"}),o.jsx("circle",{cx:"16",cy:"16",r:"14",pathLength:"100",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"100",strokeDashoffset:100-P,className:"transition-[stroke-dashoffset] motion-reduce:transition-none"})]}),e.phase==="available"&&o.jsx("span",{className:"absolute -bottom-0.5 -right-0.5 size-2.5 rounded-full border-2 border-background bg-primary","aria-hidden":"true"}),e.phase==="ready"&&o.jsx("span",{className:"absolute -bottom-0.5 -right-0.5 grid size-3.5 place-items-center rounded-full border-2 border-background bg-primary text-primary-foreground","aria-hidden":"true",children:o.jsx(dn,{className:"size-2.5!"})})]}),o.jsx(Zc,{children:o.jsx(Jc,{side:"bottom",align:"end",sideOffset:8,className:"isolate z-50 outline-none",children:o.jsxs(el,{initialFocus:!1,className:"desktop-update-card flex w-[min(25rem,calc(100vw-2rem))] max-h-[var(--available-height)] flex-col gap-4 overflow-y-auto rounded-lg border bg-popover p-4 text-popover-foreground shadow-xl","aria-label":"Update details",children:[o.jsx("p",{className:"text-sm font-medium","aria-live":"polite",children:x}),(n||e.message)&&o.jsx("p",{className:"text-xs text-muted-foreground",role:"status",children:n??e.message}),o.jsxs("section",{className:"min-h-0 text-xs",children:[o.jsx("h3",{className:"mb-2 font-medium",children:"What's changed"}),v.items.length>0?o.jsx("ul",{className:"list-disc space-y-2 pl-4 leading-relaxed text-muted-foreground",children:v.items.map((D,k)=>o.jsx("li",{className:"break-words",children:D},k))}):o.jsx("p",{className:"text-muted-foreground",children:"No release notes were provided for this update."})]}),e.releaseUrl&&o.jsxs("a",{ref:y,className:"inline-flex shrink-0 items-center gap-1 text-xs text-muted-foreground underline decoration-dotted underline-offset-4 hover:text-foreground",href:e.releaseUrl,target:"_blank",rel:"noreferrer",children:[v.omitted?`${v.omitted} more ${v.omitted===1?"change":"changes"} on GitHub`:"View release on GitHub",o.jsx(la,{className:"size-3"})]})]})})})]})}function vr(e){switch(e.phase){case"available":return`OpenTig ${e.availableVersion} is available.`;case"downloading":return`Downloading… ${Math.round(e.progress??0)}%`;case"ready":return`OpenTig ${e.availableVersion} is ready to install.`;case"checking":return"Checking for a new stable release…";case"installing":return window.opentigDesktop?"Closing OpenTig to install the update…":"Restarting the server. Reconnecting…";case"idle":return e.checkedAt?"You are using the latest stable version.":"No update check has completed yet.";default:return e.message??"Updates are unavailable."}}function br(){return _.useContext(ma)}const kr="(max-width: 767px), (pointer: coarse) and (max-width: 1100px) and (max-height: 500px)",Uu=e=>{const t=window.matchMedia(kr);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)},Vu=()=>window.matchMedia(kr).matches;function Ls(){return _.useSyncExternalStore(Uu,Vu,()=>!1)}const Bt=tl,Wu=rl;function Gt({className:e,children:t,...n}){return o.jsxs(nl,{container:typeof document>"u"?void 0:document.body,"data-slot":"dialog-portal",className:"fixed inset-0 isolate z-[1000]",children:[o.jsx(sl,{forceRender:!0,"data-slot":"dialog-backdrop",className:"fixed inset-0 z-0 bg-black/45 backdrop-blur-[2px] duration-150 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0"}),o.jsx(ol,{"data-slot":"dialog-popup",className:xe("fixed top-1/2 left-1/2 z-10 w-[min(760px,92vw)] max-w-[calc(100vw-2rem)] -translate-x-1/2 -translate-y-1/2 origin-center overflow-hidden rounded-xl border border-border bg-popover text-popover-foreground shadow-2xl shadow-black/30 duration-150 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...n,children:t})]})}function Ht({className:e,...t}){return o.jsx(il,{"data-slot":"dialog-title",className:xe("text-sm font-semibold tracking-tight",e),...t})}function Ut({className:e,...t}){return o.jsx(al,{"data-slot":"dialog-description",className:xe("text-xs text-muted-foreground",e),...t})}function Xi({open:e,onOpenChange:t,title:n,description:s,children:i}){return o.jsx(Bt,{open:e,onOpenChange:t,children:o.jsxs(Gt,{className:"mobile-sheet",children:[o.jsx("div",{className:"mobile-sheet-handle","aria-hidden":"true"}),o.jsxs("div",{className:"mobile-sheet-heading",children:[o.jsx(Ht,{children:n}),o.jsx(Wu,{render:o.jsx(W,{variant:"ghost",size:"icon","aria-label":`Close ${n}`}),children:o.jsx(pn,{})})]}),s&&o.jsx(Ut,{className:"mobile-sheet-description",children:s}),o.jsx("div",{className:"mobile-sheet-body",children:i})]})})}function Xg(e){if(!(e instanceof Error)||!("detail"in e)||!e.detail||typeof e.detail!="object")return null;const t=e.detail;return typeof t.code=="string"&&t.code.startsWith("GH_")&&typeof t.message=="string"?t:null}function Yg(e){return e?e.code==="GH_CLI_NOT_FOUND"?"GitHub CLI is not installed":e.code==="GH_ACCOUNT_MISSING"?"GitHub account is missing":e.code==="GH_ACCOUNT_UNRESOLVED"?"Choose a GitHub account":e.code==="GH_ACCESS_DENIED"?"GitHub access denied":e.code==="GH_CLI_INCOMPATIBLE"?"Update GitHub CLI":e.code==="GH_AUTH_REQUIRED"?"Sign in to GitHub CLI":e.code==="GH_NOT_GITHUB_REPO"?"Not a GitHub repository":e.code==="GH_NO_UPSTREAM"?"Publish the branch first":e.code==="GH_RATE_LIMITED"?"GitHub rate limit reached":e.code==="GH_TIMEOUT"?"GitHub CLI took too long":e.code==="GH_INVALID_OUTPUT"?"Unexpected GitHub CLI response":"GitHub operation failed":"GitHub operation failed"}function Yi(e){return e.state==="OPEN"?e.isDraft?"Draft":"Open":e.state==="MERGED"?"Merged":"Closed"}function Zg(e){return e?e==="APPROVED"?"Approved":e==="CHANGES_REQUESTED"?"Changes requested":e==="REVIEW_REQUIRED"?"Review required":null:null}function Ss(e){try{xc(e)}catch{}}const Ku=JSON.parse('{"_file":{"iconPath":"../../icons/default_file.svg"},"_folder":{"iconPath":"../../icons/default_folder.svg"},"_folder_open":{"iconPath":"../../icons/default_folder_opened.svg"},"_root_folder":{"iconPath":"../../icons/default_root_folder.svg"},"_root_folder_open":{"iconPath":"../../icons/default_root_folder_opened.svg"},"_file_light":{"iconPath":""},"_folder_light":{"iconPath":""},"_folder_light_open":{"iconPath":""},"_root_folder_light":{"iconPath":""},"_root_folder_light_open":{"iconPath":""},"_fd_android":{"iconPath":"../../icons/folder_type_android.svg"},"_fd_android_open":{"iconPath":"../../icons/folder_type_android_opened.svg"},"_fd_angular":{"iconPath":"../../icons/folder_type_angular.svg"},"_fd_angular_open":{"iconPath":"../../icons/folder_type_angular_opened.svg"},"_fd_apache":{"iconPath":"../../icons/folder_type_apache.svg"},"_fd_apache_open":{"iconPath":"../../icons/folder_type_apache_opened.svg"},"_fd_api":{"iconPath":"../../icons/folder_type_api.svg"},"_fd_api_open":{"iconPath":"../../icons/folder_type_api_opened.svg"},"_fd_app":{"iconPath":"../../icons/folder_type_app.svg"},"_fd_app_open":{"iconPath":"../../icons/folder_type_app_opened.svg"},"_fd_arangodb":{"iconPath":"../../icons/folder_type_arangodb.svg"},"_fd_arangodb_open":{"iconPath":"../../icons/folder_type_arangodb_opened.svg"},"_fd_asset":{"iconPath":"../../icons/folder_type_asset.svg"},"_fd_asset_open":{"iconPath":"../../icons/folder_type_asset_opened.svg"},"_fd_astro":{"iconPath":"../../icons/folder_type_astro.svg"},"_fd_astro_open":{"iconPath":"../../icons/folder_type_astro_opened.svg"},"_fd_audio":{"iconPath":"../../icons/folder_type_audio.svg"},"_fd_audio_open":{"iconPath":"../../icons/folder_type_audio_opened.svg"},"_fd_aurelia":{"iconPath":"../../icons/folder_type_aurelia.svg"},"_fd_aurelia_open":{"iconPath":"../../icons/folder_type_aurelia_opened.svg"},"_fd_aws":{"iconPath":"../../icons/folder_type_aws.svg"},"_fd_aws_open":{"iconPath":"../../icons/folder_type_aws_opened.svg"},"_fd_azure":{"iconPath":"../../icons/folder_type_azure.svg"},"_fd_azure_open":{"iconPath":"../../icons/folder_type_azure_opened.svg"},"_fd_azurepipelines":{"iconPath":"../../icons/folder_type_azurepipelines.svg"},"_fd_azurepipelines_open":{"iconPath":"../../icons/folder_type_azurepipelines_opened.svg"},"_fd_binary":{"iconPath":"../../icons/folder_type_binary.svg"},"_fd_binary_open":{"iconPath":"../../icons/folder_type_binary_opened.svg"},"_fd_bloc":{"iconPath":"../../icons/folder_type_bloc.svg"},"_fd_bloc_open":{"iconPath":"../../icons/folder_type_bloc_opened.svg"},"_fd_blueprint":{"iconPath":"../../icons/folder_type_blueprint.svg"},"_fd_blueprint_open":{"iconPath":"../../icons/folder_type_blueprint_opened.svg"},"_fd_bot":{"iconPath":"../../icons/folder_type_bot.svg"},"_fd_bot_open":{"iconPath":"../../icons/folder_type_bot_opened.svg"},"_fd_bower":{"iconPath":"../../icons/folder_type_bower.svg"},"_fd_bower_open":{"iconPath":"../../icons/folder_type_bower_opened.svg"},"_fd_buildkite":{"iconPath":"../../icons/folder_type_buildkite.svg"},"_fd_buildkite_open":{"iconPath":"../../icons/folder_type_buildkite_opened.svg"},"_fd_cake":{"iconPath":"../../icons/folder_type_cake.svg"},"_fd_cake_open":{"iconPath":"../../icons/folder_type_cake_opened.svg"},"_fd_cargo":{"iconPath":"../../icons/folder_type_cargo.svg"},"_fd_cargo_open":{"iconPath":"../../icons/folder_type_cargo_opened.svg"},"_fd_certificate":{"iconPath":"../../icons/folder_type_certificate.svg"},"_fd_certificate_open":{"iconPath":"../../icons/folder_type_certificate_opened.svg"},"_fd_changesets":{"iconPath":"../../icons/folder_type_changesets.svg"},"_fd_changesets_open":{"iconPath":"../../icons/folder_type_changesets_opened.svg"},"_fd_chef":{"iconPath":"../../icons/folder_type_chef.svg"},"_fd_chef_open":{"iconPath":"../../icons/folder_type_chef_opened.svg"},"_fd_circleci":{"iconPath":"../../icons/folder_type_circleci.svg"},"_fd_circleci_open":{"iconPath":"../../icons/folder_type_circleci_opened.svg"},"_fd_claude":{"iconPath":"../../icons/folder_type_claude.svg"},"_fd_claude_open":{"iconPath":"../../icons/folder_type_claude_opened.svg"},"_fd_cli":{"iconPath":"../../icons/folder_type_cli.svg"},"_fd_cli_open":{"iconPath":"../../icons/folder_type_cli_opened.svg"},"_fd_client":{"iconPath":"../../icons/folder_type_client.svg"},"_fd_client_open":{"iconPath":"../../icons/folder_type_client_opened.svg"},"_fd_cloudflare":{"iconPath":"../../icons/folder_type_cloudflare.svg"},"_fd_cloudflare_open":{"iconPath":"../../icons/folder_type_cloudflare_opened.svg"},"_fd_cmake":{"iconPath":"../../icons/folder_type_cmake.svg"},"_fd_cmake_open":{"iconPath":"../../icons/folder_type_cmake_opened.svg"},"_fd_common":{"iconPath":"../../icons/folder_type_common.svg"},"_fd_common_open":{"iconPath":"../../icons/folder_type_common_opened.svg"},"_fd_component":{"iconPath":"../../icons/folder_type_component.svg"},"_fd_component_open":{"iconPath":"../../icons/folder_type_component_opened.svg"},"_fd_composer":{"iconPath":"../../icons/folder_type_composer.svg"},"_fd_composer_open":{"iconPath":"../../icons/folder_type_composer_opened.svg"},"_fd_config":{"iconPath":"../../icons/folder_type_config.svg"},"_fd_config_open":{"iconPath":"../../icons/folder_type_config_opened.svg"},"_fd_controller":{"iconPath":"../../icons/folder_type_controller.svg"},"_fd_controller_open":{"iconPath":"../../icons/folder_type_controller_opened.svg"},"_fd_coverage":{"iconPath":"../../icons/folder_type_coverage.svg"},"_fd_coverage_open":{"iconPath":"../../icons/folder_type_coverage_opened.svg"},"_fd_css":{"iconPath":"../../icons/folder_type_css.svg"},"_fd_css_open":{"iconPath":"../../icons/folder_type_css_opened.svg"},"_fd_cubit":{"iconPath":"../../icons/folder_type_cubit.svg"},"_fd_cubit_open":{"iconPath":"../../icons/folder_type_cubit_opened.svg"},"_fd_cursor":{"iconPath":"../../icons/folder_type_cursor.svg"},"_fd_cursor_open":{"iconPath":"../../icons/folder_type_cursor_opened.svg"},"_fd_light_cursor":{"iconPath":"../../icons/folder_type_light_cursor.svg"},"_fd_light_cursor_open":{"iconPath":"../../icons/folder_type_light_cursor_opened.svg"},"_fd_cypress":{"iconPath":"../../icons/folder_type_cypress.svg"},"_fd_cypress_open":{"iconPath":"../../icons/folder_type_cypress_opened.svg"},"_fd_light_cypress":{"iconPath":"../../icons/folder_type_light_cypress.svg"},"_fd_light_cypress_open":{"iconPath":"../../icons/folder_type_light_cypress_opened.svg"},"_fd_dapr":{"iconPath":"../../icons/folder_type_dapr.svg"},"_fd_dapr_open":{"iconPath":"../../icons/folder_type_dapr_opened.svg"},"_fd_dart":{"iconPath":"../../icons/folder_type_dart.svg"},"_fd_dart_open":{"iconPath":"../../icons/folder_type_dart_opened.svg"},"_fd_databricks":{"iconPath":"../../icons/folder_type_databricks.svg"},"_fd_databricks_open":{"iconPath":"../../icons/folder_type_databricks_opened.svg"},"_fd_datadog":{"iconPath":"../../icons/folder_type_datadog.svg"},"_fd_datadog_open":{"iconPath":"../../icons/folder_type_datadog_opened.svg"},"_fd_db":{"iconPath":"../../icons/folder_type_db.svg"},"_fd_db_open":{"iconPath":"../../icons/folder_type_db_opened.svg"},"_fd_debian":{"iconPath":"../../icons/folder_type_debian.svg"},"_fd_debian_open":{"iconPath":"../../icons/folder_type_debian_opened.svg"},"_fd_dependabot":{"iconPath":"../../icons/folder_type_dependabot.svg"},"_fd_dependabot_open":{"iconPath":"../../icons/folder_type_dependabot_opened.svg"},"_fd_devcontainer":{"iconPath":"../../icons/folder_type_devcontainer.svg"},"_fd_devcontainer_open":{"iconPath":"../../icons/folder_type_devcontainer_opened.svg"},"_fd_devenv":{"iconPath":"../../icons/folder_type_devenv.svg"},"_fd_devenv_open":{"iconPath":"../../icons/folder_type_devenv_opened.svg"},"_fd_light_devenv":{"iconPath":"../../icons/folder_type_light_devenv.svg"},"_fd_light_devenv_open":{"iconPath":"../../icons/folder_type_light_devenv_opened.svg"},"_fd_dist":{"iconPath":"../../icons/folder_type_dist.svg"},"_fd_dist_open":{"iconPath":"../../icons/folder_type_dist_opened.svg"},"_fd_docker":{"iconPath":"../../icons/folder_type_docker.svg"},"_fd_docker_open":{"iconPath":"../../icons/folder_type_docker_opened.svg"},"_fd_docs":{"iconPath":"../../icons/folder_type_docs.svg"},"_fd_docs_open":{"iconPath":"../../icons/folder_type_docs_opened.svg"},"_fd_e2e":{"iconPath":"../../icons/folder_type_e2e.svg"},"_fd_e2e_open":{"iconPath":"../../icons/folder_type_e2e_opened.svg"},"_fd_elasticbeanstalk":{"iconPath":"../../icons/folder_type_elasticbeanstalk.svg"},"_fd_elasticbeanstalk_open":{"iconPath":"../../icons/folder_type_elasticbeanstalk_opened.svg"},"_fd_electron":{"iconPath":"../../icons/folder_type_electron.svg"},"_fd_electron_open":{"iconPath":"../../icons/folder_type_electron_opened.svg"},"_fd_light_electron":{"iconPath":"../../icons/folder_type_light_electron.svg"},"_fd_light_electron_open":{"iconPath":"../../icons/folder_type_light_electron_opened.svg"},"_fd_environments":{"iconPath":"../../icons/folder_type_environments.svg"},"_fd_environments_open":{"iconPath":"../../icons/folder_type_environments_opened.svg"},"_fd_expo":{"iconPath":"../../icons/folder_type_expo.svg"},"_fd_expo_open":{"iconPath":"../../icons/folder_type_expo_opened.svg"},"_fd_light_expo":{"iconPath":"../../icons/folder_type_light_expo.svg"},"_fd_light_expo_open":{"iconPath":"../../icons/folder_type_light_expo_opened.svg"},"_fd_favicon":{"iconPath":"../../icons/folder_type_favicon.svg"},"_fd_favicon_open":{"iconPath":"../../icons/folder_type_favicon_opened.svg"},"_fd_flow":{"iconPath":"../../icons/folder_type_flow.svg"},"_fd_flow_open":{"iconPath":"../../icons/folder_type_flow_opened.svg"},"_fd_flutter":{"iconPath":"../../icons/folder_type_flutter.svg"},"_fd_flutter_open":{"iconPath":"../../icons/folder_type_flutter_opened.svg"},"_fd_fonts":{"iconPath":"../../icons/folder_type_fonts.svg"},"_fd_fonts_open":{"iconPath":"../../icons/folder_type_fonts_opened.svg"},"_fd_light_fonts":{"iconPath":"../../icons/folder_type_light_fonts.svg"},"_fd_light_fonts_open":{"iconPath":"../../icons/folder_type_light_fonts_opened.svg"},"_fd_frontcommerce":{"iconPath":"../../icons/folder_type_frontcommerce.svg"},"_fd_frontcommerce_open":{"iconPath":"../../icons/folder_type_frontcommerce_opened.svg"},"_fd_gcp":{"iconPath":"../../icons/folder_type_gcp.svg"},"_fd_gcp_open":{"iconPath":"../../icons/folder_type_gcp_opened.svg"},"_fd_gemini":{"iconPath":"../../icons/folder_type_gemini.svg"},"_fd_gemini_open":{"iconPath":"../../icons/folder_type_gemini_opened.svg"},"_fd_git":{"iconPath":"../../icons/folder_type_git.svg"},"_fd_git_open":{"iconPath":"../../icons/folder_type_git_opened.svg"},"_fd_github":{"iconPath":"../../icons/folder_type_github.svg"},"_fd_github_open":{"iconPath":"../../icons/folder_type_github_opened.svg"},"_fd_gitlab":{"iconPath":"../../icons/folder_type_gitlab.svg"},"_fd_gitlab_open":{"iconPath":"../../icons/folder_type_gitlab_opened.svg"},"_fd_godot":{"iconPath":"../../icons/folder_type_godot.svg"},"_fd_godot_open":{"iconPath":"../../icons/folder_type_godot_opened.svg"},"_fd_gradle":{"iconPath":"../../icons/folder_type_gradle.svg"},"_fd_gradle_open":{"iconPath":"../../icons/folder_type_gradle_opened.svg"},"_fd_light_gradle":{"iconPath":"../../icons/folder_type_light_gradle.svg"},"_fd_light_gradle_open":{"iconPath":"../../icons/folder_type_light_gradle_opened.svg"},"_fd_graphql":{"iconPath":"../../icons/folder_type_graphql.svg"},"_fd_graphql_open":{"iconPath":"../../icons/folder_type_graphql_opened.svg"},"_fd_grunt":{"iconPath":"../../icons/folder_type_grunt.svg"},"_fd_grunt_open":{"iconPath":"../../icons/folder_type_grunt_opened.svg"},"_fd_gulp":{"iconPath":"../../icons/folder_type_gulp.svg"},"_fd_gulp_open":{"iconPath":"../../icons/folder_type_gulp_opened.svg"},"_fd_haxelib":{"iconPath":"../../icons/folder_type_haxelib.svg"},"_fd_haxelib_open":{"iconPath":"../../icons/folder_type_haxelib_opened.svg"},"_fd_helper":{"iconPath":"../../icons/folder_type_helper.svg"},"_fd_helper_open":{"iconPath":"../../icons/folder_type_helper_opened.svg"},"_fd_histoire":{"iconPath":"../../icons/folder_type_histoire.svg"},"_fd_histoire_open":{"iconPath":"../../icons/folder_type_histoire_opened.svg"},"_fd_hook":{"iconPath":"../../icons/folder_type_hook.svg"},"_fd_hook_open":{"iconPath":"../../icons/folder_type_hook_opened.svg"},"_fd_husky":{"iconPath":"../../icons/folder_type_husky.svg"},"_fd_husky_open":{"iconPath":"../../icons/folder_type_husky_opened.svg"},"_fd_idea":{"iconPath":"../../icons/folder_type_idea.svg"},"_fd_idea_open":{"iconPath":"../../icons/folder_type_idea_opened.svg"},"_fd_images":{"iconPath":"../../icons/folder_type_images.svg"},"_fd_images_open":{"iconPath":"../../icons/folder_type_images_opened.svg"},"_fd_include":{"iconPath":"../../icons/folder_type_include.svg"},"_fd_include_open":{"iconPath":"../../icons/folder_type_include_opened.svg"},"_fd_interfaces":{"iconPath":"../../icons/folder_type_interfaces.svg"},"_fd_interfaces_open":{"iconPath":"../../icons/folder_type_interfaces_opened.svg"},"_fd_ios":{"iconPath":"../../icons/folder_type_ios.svg"},"_fd_ios_open":{"iconPath":"../../icons/folder_type_ios_opened.svg"},"_fd_js":{"iconPath":"../../icons/folder_type_js.svg"},"_fd_js_open":{"iconPath":"../../icons/folder_type_js_opened.svg"},"_fd_json":{"iconPath":"../../icons/folder_type_json.svg"},"_fd_json_open":{"iconPath":"../../icons/folder_type_json_opened.svg"},"_fd_junie":{"iconPath":"../../icons/folder_type_junie.svg"},"_fd_junie_open":{"iconPath":"../../icons/folder_type_junie_opened.svg"},"_fd_kiro":{"iconPath":"../../icons/folder_type_kiro.svg"},"_fd_kiro_open":{"iconPath":"../../icons/folder_type_kiro_opened.svg"},"_fd_kotlin":{"iconPath":"../../icons/folder_type_kotlin.svg"},"_fd_kotlin_open":{"iconPath":"../../icons/folder_type_kotlin_opened.svg"},"_fd_kubernetes":{"iconPath":"../../icons/folder_type_kubernetes.svg"},"_fd_kubernetes_open":{"iconPath":"../../icons/folder_type_kubernetes_opened.svg"},"_fd_less":{"iconPath":"../../icons/folder_type_less.svg"},"_fd_less_open":{"iconPath":"../../icons/folder_type_less_opened.svg"},"_fd_library":{"iconPath":"../../icons/folder_type_library.svg"},"_fd_library_open":{"iconPath":"../../icons/folder_type_library_opened.svg"},"_fd_linux":{"iconPath":"../../icons/folder_type_linux.svg"},"_fd_linux_open":{"iconPath":"../../icons/folder_type_linux_opened.svg"},"_fd_locale":{"iconPath":"../../icons/folder_type_locale.svg"},"_fd_locale_open":{"iconPath":"../../icons/folder_type_locale_opened.svg"},"_fd_log":{"iconPath":"../../icons/folder_type_log.svg"},"_fd_log_open":{"iconPath":"../../icons/folder_type_log_opened.svg"},"_fd_macos":{"iconPath":"../../icons/folder_type_macos.svg"},"_fd_macos_open":{"iconPath":"../../icons/folder_type_macos_opened.svg"},"_fd_mariadb":{"iconPath":"../../icons/folder_type_mariadb.svg"},"_fd_mariadb_open":{"iconPath":"../../icons/folder_type_mariadb_opened.svg"},"_fd_maven":{"iconPath":"../../icons/folder_type_maven.svg"},"_fd_maven_open":{"iconPath":"../../icons/folder_type_maven_opened.svg"},"_fd_mediawiki":{"iconPath":"../../icons/folder_type_mediawiki.svg"},"_fd_mediawiki_open":{"iconPath":"../../icons/folder_type_mediawiki_opened.svg"},"_fd_memcached":{"iconPath":"../../icons/folder_type_memcached.svg"},"_fd_memcached_open":{"iconPath":"../../icons/folder_type_memcached_opened.svg"},"_fd_meteor":{"iconPath":"../../icons/folder_type_meteor.svg"},"_fd_meteor_open":{"iconPath":"../../icons/folder_type_meteor_opened.svg"},"_fd_light_meteor":{"iconPath":"../../icons/folder_type_light_meteor.svg"},"_fd_light_meteor_open":{"iconPath":"../../icons/folder_type_light_meteor_opened.svg"},"_fd_middleware":{"iconPath":"../../icons/folder_type_middleware.svg"},"_fd_middleware_open":{"iconPath":"../../icons/folder_type_middleware_opened.svg"},"_fd_minecraft":{"iconPath":"../../icons/folder_type_minecraft.svg"},"_fd_minecraft_open":{"iconPath":"../../icons/folder_type_minecraft_opened.svg"},"_fd_minikube":{"iconPath":"../../icons/folder_type_minikube.svg"},"_fd_minikube_open":{"iconPath":"../../icons/folder_type_minikube_opened.svg"},"_fd_mjml":{"iconPath":"../../icons/folder_type_mjml.svg"},"_fd_mjml_open":{"iconPath":"../../icons/folder_type_mjml_opened.svg"},"_fd_mobile":{"iconPath":"../../icons/folder_type_mobile.svg"},"_fd_mobile_open":{"iconPath":"../../icons/folder_type_mobile_opened.svg"},"_fd_mock":{"iconPath":"../../icons/folder_type_mock.svg"},"_fd_mock_open":{"iconPath":"../../icons/folder_type_mock_opened.svg"},"_fd_model":{"iconPath":"../../icons/folder_type_model.svg"},"_fd_model_open":{"iconPath":"../../icons/folder_type_model_opened.svg"},"_fd_module":{"iconPath":"../../icons/folder_type_module.svg"},"_fd_module_open":{"iconPath":"../../icons/folder_type_module_opened.svg"},"_fd_mojo":{"iconPath":"../../icons/folder_type_mojo.svg"},"_fd_mojo_open":{"iconPath":"../../icons/folder_type_mojo_opened.svg"},"_fd_mongodb":{"iconPath":"../../icons/folder_type_mongodb.svg"},"_fd_mongodb_open":{"iconPath":"../../icons/folder_type_mongodb_opened.svg"},"_fd_mypy":{"iconPath":"../../icons/folder_type_mypy.svg"},"_fd_mypy_open":{"iconPath":"../../icons/folder_type_mypy_opened.svg"},"_fd_light_mypy":{"iconPath":"../../icons/folder_type_light_mypy.svg"},"_fd_light_mypy_open":{"iconPath":"../../icons/folder_type_light_mypy_opened.svg"},"_fd_mysql":{"iconPath":"../../icons/folder_type_mysql.svg"},"_fd_mysql_open":{"iconPath":"../../icons/folder_type_mysql_opened.svg"},"_fd_light_mysql":{"iconPath":"../../icons/folder_type_light_mysql.svg"},"_fd_light_mysql_open":{"iconPath":"../../icons/folder_type_light_mysql_opened.svg"},"_fd_netlify":{"iconPath":"../../icons/folder_type_netlify.svg"},"_fd_netlify_open":{"iconPath":"../../icons/folder_type_netlify_opened.svg"},"_fd_next":{"iconPath":"../../icons/folder_type_next.svg"},"_fd_next_open":{"iconPath":"../../icons/folder_type_next_opened.svg"},"_fd_nginx":{"iconPath":"../../icons/folder_type_nginx.svg"},"_fd_nginx_open":{"iconPath":"../../icons/folder_type_nginx_opened.svg"},"_fd_nix":{"iconPath":"../../icons/folder_type_nix.svg"},"_fd_nix_open":{"iconPath":"../../icons/folder_type_nix_opened.svg"},"_fd_node":{"iconPath":"../../icons/folder_type_node.svg"},"_fd_node_open":{"iconPath":"../../icons/folder_type_node_opened.svg"},"_fd_light_node":{"iconPath":"../../icons/folder_type_light_node.svg"},"_fd_light_node_open":{"iconPath":"../../icons/folder_type_light_node_opened.svg"},"_fd_notebooks":{"iconPath":"../../icons/folder_type_notebooks.svg"},"_fd_notebooks_open":{"iconPath":"../../icons/folder_type_notebooks_opened.svg"},"_fd_notification":{"iconPath":"../../icons/folder_type_notification.svg"},"_fd_notification_open":{"iconPath":"../../icons/folder_type_notification_opened.svg"},"_fd_nuget":{"iconPath":"../../icons/folder_type_nuget.svg"},"_fd_nuget_open":{"iconPath":"../../icons/folder_type_nuget_opened.svg"},"_fd_nuxt":{"iconPath":"../../icons/folder_type_nuxt.svg"},"_fd_nuxt_open":{"iconPath":"../../icons/folder_type_nuxt_opened.svg"},"_fd_package":{"iconPath":"../../icons/folder_type_package.svg"},"_fd_package_open":{"iconPath":"../../icons/folder_type_package_opened.svg"},"_fd_paket":{"iconPath":"../../icons/folder_type_paket.svg"},"_fd_paket_open":{"iconPath":"../../icons/folder_type_paket_opened.svg"},"_fd_php":{"iconPath":"../../icons/folder_type_php.svg"},"_fd_php_open":{"iconPath":"../../icons/folder_type_php_opened.svg"},"_fd_platformio":{"iconPath":"../../icons/folder_type_platformio.svg"},"_fd_platformio_open":{"iconPath":"../../icons/folder_type_platformio_opened.svg"},"_fd_plugin":{"iconPath":"../../icons/folder_type_plugin.svg"},"_fd_plugin_open":{"iconPath":"../../icons/folder_type_plugin_opened.svg"},"_fd_prisma":{"iconPath":"../../icons/folder_type_prisma.svg"},"_fd_prisma_open":{"iconPath":"../../icons/folder_type_prisma_opened.svg"},"_fd_private":{"iconPath":"../../icons/folder_type_private.svg"},"_fd_private_open":{"iconPath":"../../icons/folder_type_private_opened.svg"},"_fd_public":{"iconPath":"../../icons/folder_type_public.svg"},"_fd_public_open":{"iconPath":"../../icons/folder_type_public_opened.svg"},"_fd_pytest":{"iconPath":"../../icons/folder_type_pytest.svg"},"_fd_pytest_open":{"iconPath":"../../icons/folder_type_pytest_opened.svg"},"_fd_python":{"iconPath":"../../icons/folder_type_python.svg"},"_fd_python_open":{"iconPath":"../../icons/folder_type_python_opened.svg"},"_fd_ravendb":{"iconPath":"../../icons/folder_type_ravendb.svg"},"_fd_ravendb_open":{"iconPath":"../../icons/folder_type_ravendb_opened.svg"},"_fd_redis":{"iconPath":"../../icons/folder_type_redis.svg"},"_fd_redis_open":{"iconPath":"../../icons/folder_type_redis_opened.svg"},"_fd_redux":{"iconPath":"../../icons/folder_type_redux.svg"},"_fd_redux_open":{"iconPath":"../../icons/folder_type_redux_opened.svg"},"_fd_light_redux":{"iconPath":"../../icons/folder_type_light_redux.svg"},"_fd_light_redux_open":{"iconPath":"../../icons/folder_type_light_redux_opened.svg"},"_fd_route":{"iconPath":"../../icons/folder_type_route.svg"},"_fd_route_open":{"iconPath":"../../icons/folder_type_route_opened.svg"},"_fd_sass":{"iconPath":"../../icons/folder_type_sass.svg"},"_fd_sass_open":{"iconPath":"../../icons/folder_type_sass_opened.svg"},"_fd_light_sass":{"iconPath":"../../icons/folder_type_light_sass.svg"},"_fd_light_sass_open":{"iconPath":"../../icons/folder_type_light_sass_opened.svg"},"_fd_script":{"iconPath":"../../icons/folder_type_script.svg"},"_fd_script_open":{"iconPath":"../../icons/folder_type_script_opened.svg"},"_fd_seedkit":{"iconPath":"../../icons/folder_type_seedkit.svg"},"_fd_seedkit_open":{"iconPath":"../../icons/folder_type_seedkit_opened.svg"},"_fd_server":{"iconPath":"../../icons/folder_type_server.svg"},"_fd_server_open":{"iconPath":"../../icons/folder_type_server_opened.svg"},"_fd_services":{"iconPath":"../../icons/folder_type_services.svg"},"_fd_services_open":{"iconPath":"../../icons/folder_type_services_opened.svg"},"_fd_shared":{"iconPath":"../../icons/folder_type_shared.svg"},"_fd_shared_open":{"iconPath":"../../icons/folder_type_shared_opened.svg"},"_fd_snaplet":{"iconPath":"../../icons/folder_type_snaplet.svg"},"_fd_snaplet_open":{"iconPath":"../../icons/folder_type_snaplet_opened.svg"},"_fd_spin":{"iconPath":"../../icons/folder_type_spin.svg"},"_fd_spin_open":{"iconPath":"../../icons/folder_type_spin_opened.svg"},"_fd_src":{"iconPath":"../../icons/folder_type_src.svg"},"_fd_src_open":{"iconPath":"../../icons/folder_type_src_opened.svg"},"_fd_sso":{"iconPath":"../../icons/folder_type_sso.svg"},"_fd_sso_open":{"iconPath":"../../icons/folder_type_sso_opened.svg"},"_fd_story":{"iconPath":"../../icons/folder_type_story.svg"},"_fd_story_open":{"iconPath":"../../icons/folder_type_story_opened.svg"},"_fd_style":{"iconPath":"../../icons/folder_type_style.svg"},"_fd_style_open":{"iconPath":"../../icons/folder_type_style_opened.svg"},"_fd_supabase":{"iconPath":"../../icons/folder_type_supabase.svg"},"_fd_supabase_open":{"iconPath":"../../icons/folder_type_supabase_opened.svg"},"_fd_svelte":{"iconPath":"../../icons/folder_type_svelte.svg"},"_fd_svelte_open":{"iconPath":"../../icons/folder_type_svelte_opened.svg"},"_fd_swagger":{"iconPath":"../../icons/folder_type_swagger.svg"},"_fd_swagger_open":{"iconPath":"../../icons/folder_type_swagger_opened.svg"},"_fd_tauri":{"iconPath":"../../icons/folder_type_tauri.svg"},"_fd_tauri_open":{"iconPath":"../../icons/folder_type_tauri_opened.svg"},"_fd_temp":{"iconPath":"../../icons/folder_type_temp.svg"},"_fd_temp_open":{"iconPath":"../../icons/folder_type_temp_opened.svg"},"_fd_template":{"iconPath":"../../icons/folder_type_template.svg"},"_fd_template_open":{"iconPath":"../../icons/folder_type_template_opened.svg"},"_fd_test":{"iconPath":"../../icons/folder_type_test.svg"},"_fd_test_open":{"iconPath":"../../icons/folder_type_test_opened.svg"},"_fd_theme":{"iconPath":"../../icons/folder_type_theme.svg"},"_fd_theme_open":{"iconPath":"../../icons/folder_type_theme_opened.svg"},"_fd_tools":{"iconPath":"../../icons/folder_type_tools.svg"},"_fd_tools_open":{"iconPath":"../../icons/folder_type_tools_opened.svg"},"_fd_travis":{"iconPath":"../../icons/folder_type_travis.svg"},"_fd_travis_open":{"iconPath":"../../icons/folder_type_travis_opened.svg"},"_fd_trunk":{"iconPath":"../../icons/folder_type_trunk.svg"},"_fd_trunk_open":{"iconPath":"../../icons/folder_type_trunk_opened.svg"},"_fd_turbo":{"iconPath":"../../icons/folder_type_turbo.svg"},"_fd_turbo_open":{"iconPath":"../../icons/folder_type_turbo_opened.svg"},"_fd_typescript":{"iconPath":"../../icons/folder_type_typescript.svg"},"_fd_typescript_open":{"iconPath":"../../icons/folder_type_typescript_opened.svg"},"_fd_typings":{"iconPath":"../../icons/folder_type_typings.svg"},"_fd_typings_open":{"iconPath":"../../icons/folder_type_typings_opened.svg"},"_fd_vagrant":{"iconPath":"../../icons/folder_type_vagrant.svg"},"_fd_vagrant_open":{"iconPath":"../../icons/folder_type_vagrant_opened.svg"},"_fd_vercel":{"iconPath":"../../icons/folder_type_vercel.svg"},"_fd_vercel_open":{"iconPath":"../../icons/folder_type_vercel_opened.svg"},"_fd_video":{"iconPath":"../../icons/folder_type_video.svg"},"_fd_video_open":{"iconPath":"../../icons/folder_type_video_opened.svg"},"_fd_view":{"iconPath":"../../icons/folder_type_view.svg"},"_fd_view_open":{"iconPath":"../../icons/folder_type_view_opened.svg"},"_fd_vitepress":{"iconPath":"../../icons/folder_type_vitepress.svg"},"_fd_vitepress_open":{"iconPath":"../../icons/folder_type_vitepress_opened.svg"},"_fd_vs":{"iconPath":"../../icons/folder_type_vs.svg"},"_fd_vs_open":{"iconPath":"../../icons/folder_type_vs_opened.svg"},"_fd_vscode":{"iconPath":"../../icons/folder_type_vscode.svg"},"_fd_vscode_open":{"iconPath":"../../icons/folder_type_vscode_opened.svg"},"_fd_vscode_test":{"iconPath":"../../icons/folder_type_vscode_test.svg"},"_fd_vscode_test_open":{"iconPath":"../../icons/folder_type_vscode_test_opened.svg"},"_fd_wasm":{"iconPath":"../../icons/folder_type_wasm.svg"},"_fd_wasm_open":{"iconPath":"../../icons/folder_type_wasm_opened.svg"},"_fd_wasp":{"iconPath":"../../icons/folder_type_wasp.svg"},"_fd_wasp_open":{"iconPath":"../../icons/folder_type_wasp_opened.svg"},"_fd_webpack":{"iconPath":"../../icons/folder_type_webpack.svg"},"_fd_webpack_open":{"iconPath":"../../icons/folder_type_webpack_opened.svg"},"_fd_windows":{"iconPath":"../../icons/folder_type_windows.svg"},"_fd_windows_open":{"iconPath":"../../icons/folder_type_windows_opened.svg"},"_fd_windsurf":{"iconPath":"../../icons/folder_type_windsurf.svg"},"_fd_windsurf_open":{"iconPath":"../../icons/folder_type_windsurf_opened.svg"},"_fd_wit":{"iconPath":"../../icons/folder_type_wit.svg"},"_fd_wit_open":{"iconPath":"../../icons/folder_type_wit_opened.svg"},"_fd_www":{"iconPath":"../../icons/folder_type_www.svg"},"_fd_www_open":{"iconPath":"../../icons/folder_type_www_opened.svg"},"_fd_yarn":{"iconPath":"../../icons/folder_type_yarn.svg"},"_fd_yarn_open":{"iconPath":"../../icons/folder_type_yarn_opened.svg"},"_fd_zed":{"iconPath":"../../icons/folder_type_zed.svg"},"_fd_zed_open":{"iconPath":"../../icons/folder_type_zed_opened.svg"},"_fd_light_zed":{"iconPath":"../../icons/folder_type_light_zed.svg"},"_fd_light_zed_open":{"iconPath":"../../icons/folder_type_light_zed_opened.svg"},"_f_access":{"iconPath":"../../icons/file_type_access.svg"},"_f_actionscript":{"iconPath":"../../icons/file_type_actionscript.svg"},"_f_ada":{"iconPath":"../../icons/file_type_ada.svg"},"_f_light_ada":{"iconPath":"../../icons/file_type_light_ada.svg"},"_f_advpl":{"iconPath":"../../icons/file_type_advpl.svg"},"_f_affectscript":{"iconPath":"../../icons/file_type_affectscript.svg"},"_f_affinity":{"iconPath":"../../icons/file_type_affinity.svg"},"_f_affinitydesigner":{"iconPath":"../../icons/file_type_affinitydesigner.svg"},"_f_affinityphoto":{"iconPath":"../../icons/file_type_affinityphoto.svg"},"_f_affinitypublisher":{"iconPath":"../../icons/file_type_affinitypublisher.svg"},"_f_agda":{"iconPath":"../../icons/file_type_agda.svg"},"_f_light_agda":{"iconPath":"../../icons/file_type_light_agda.svg"},"_f_agents":{"iconPath":"../../icons/file_type_agents.svg"},"_f_light_agents":{"iconPath":"../../icons/file_type_light_agents.svg"},"_f_ai":{"iconPath":"../../icons/file_type_ai.svg"},"_f_al":{"iconPath":"../../icons/file_type_al.svg"},"_f_al_dal":{"iconPath":"../../icons/file_type_al_dal.svg"},"_f_alchemy":{"iconPath":"../../icons/file_type_alchemy.svg"},"_f_allcontributors":{"iconPath":"../../icons/file_type_allcontributors.svg"},"_f_alloy":{"iconPath":"../../icons/file_type_alloy.svg"},"_f_allure":{"iconPath":"../../icons/file_type_allure.svg"},"_f_angular":{"iconPath":"../../icons/file_type_angular.svg"},"_f_ansible":{"iconPath":"../../icons/file_type_ansible.svg"},"_f_antlers_html":{"iconPath":"../../icons/file_type_antlers_html.svg"},"_f_antlr":{"iconPath":"../../icons/file_type_antlr.svg"},"_f_anyscript":{"iconPath":"../../icons/file_type_anyscript.svg"},"_f_apache":{"iconPath":"../../icons/file_type_apache.svg"},"_f_apex":{"iconPath":"../../icons/file_type_apex.svg"},"_f_api_extractor":{"iconPath":"../../icons/file_type_api_extractor.svg"},"_f_apib":{"iconPath":"../../icons/file_type_apib.svg"},"_f_apl":{"iconPath":"../../icons/file_type_apl.svg"},"_f_light_apl":{"iconPath":"../../icons/file_type_light_apl.svg"},"_f_applescript":{"iconPath":"../../icons/file_type_applescript.svg"},"_f_appscript":{"iconPath":"../../icons/file_type_appscript.svg"},"_f_appsemble":{"iconPath":"../../icons/file_type_appsemble.svg"},"_f_appveyor":{"iconPath":"../../icons/file_type_appveyor.svg"},"_f_arduino":{"iconPath":"../../icons/file_type_arduino.svg"},"_f_asciidoc":{"iconPath":"../../icons/file_type_asciidoc.svg"},"_f_aseprite":{"iconPath":"../../icons/file_type_aseprite.svg"},"_f_asp":{"iconPath":"../../icons/file_type_asp.svg"},"_f_aspx":{"iconPath":"../../icons/file_type_aspx.svg"},"_f_assembly":{"iconPath":"../../icons/file_type_assembly.svg"},"_f_assembly_script":{"iconPath":"../../icons/file_type_assembly_script.svg"},"_f_astro":{"iconPath":"../../icons/file_type_astro.svg"},"_f_light_astro":{"iconPath":"../../icons/file_type_light_astro.svg"},"_f_astroconfig":{"iconPath":"../../icons/file_type_astroconfig.svg"},"_f_light_astroconfig":{"iconPath":"../../icons/file_type_light_astroconfig.svg"},"_f_atom":{"iconPath":"../../icons/file_type_atom.svg"},"_f_ats":{"iconPath":"../../icons/file_type_ats.svg"},"_f_attw":{"iconPath":"../../icons/file_type_attw.svg"},"_f_audio":{"iconPath":"../../icons/file_type_audio.svg"},"_f_aurelia":{"iconPath":"../../icons/file_type_aurelia.svg"},"_f_autohotkey":{"iconPath":"../../icons/file_type_autohotkey.svg"},"_f_autoit":{"iconPath":"../../icons/file_type_autoit.svg"},"_f_avif":{"iconPath":"../../icons/file_type_avif.svg"},"_f_avro":{"iconPath":"../../icons/file_type_avro.svg"},"_f_awk":{"iconPath":"../../icons/file_type_awk.svg"},"_f_aws":{"iconPath":"../../icons/file_type_aws.svg"},"_f_azure":{"iconPath":"../../icons/file_type_azure.svg"},"_f_azurepipelines":{"iconPath":"../../icons/file_type_azurepipelines.svg"},"_f_azurestreamanalytics":{"iconPath":"../../icons/file_type_azurestreamanalytics.svg"},"_f_babel":{"iconPath":"../../icons/file_type_babel.svg"},"_f_light_babel":{"iconPath":"../../icons/file_type_light_babel.svg"},"_f_bak":{"iconPath":"../../icons/file_type_bak.svg"},"_f_ballerina":{"iconPath":"../../icons/file_type_ballerina.svg"},"_f_bat":{"iconPath":"../../icons/file_type_bat.svg"},"_f_bats":{"iconPath":"../../icons/file_type_bats.svg"},"_f_bazaar":{"iconPath":"../../icons/file_type_bazaar.svg"},"_f_bazel":{"iconPath":"../../icons/file_type_bazel.svg"},"_f_bazel_ignore":{"iconPath":"../../icons/file_type_bazel_ignore.svg"},"_f_bazel_version":{"iconPath":"../../icons/file_type_bazel_version.svg"},"_f_befunge":{"iconPath":"../../icons/file_type_befunge.svg"},"_f_bicep":{"iconPath":"../../icons/file_type_bicep.svg"},"_f_biml":{"iconPath":"../../icons/file_type_biml.svg"},"_f_binary":{"iconPath":"../../icons/file_type_binary.svg"},"_f_biome":{"iconPath":"../../icons/file_type_biome.svg"},"_f_bitbucketpipeline":{"iconPath":"../../icons/file_type_bitbucketpipeline.svg"},"_f_bithound":{"iconPath":"../../icons/file_type_bithound.svg"},"_f_blade":{"iconPath":"../../icons/file_type_blade.svg"},"_f_blender":{"iconPath":"../../icons/file_type_blender.svg"},"_f_blitzbasic":{"iconPath":"../../icons/file_type_blitzbasic.svg"},"_f_bolt":{"iconPath":"../../icons/file_type_bolt.svg"},"_f_bosque":{"iconPath":"../../icons/file_type_bosque.svg"},"_f_bower":{"iconPath":"../../icons/file_type_bower.svg"},"_f_brew":{"iconPath":"../../icons/file_type_brew.svg"},"_f_browserslist":{"iconPath":"../../icons/file_type_browserslist.svg"},"_f_bruno":{"iconPath":"../../icons/file_type_bruno.svg"},"_f_buckbuild":{"iconPath":"../../icons/file_type_buckbuild.svg"},"_f_buf":{"iconPath":"../../icons/file_type_buf.svg"},"_f_bun":{"iconPath":"../../icons/file_type_bun.svg"},"_f_bundlemon":{"iconPath":"../../icons/file_type_bundlemon.svg"},"_f_bundler":{"iconPath":"../../icons/file_type_bundler.svg"},"_f_bunfig":{"iconPath":"../../icons/file_type_bunfig.svg"},"_f_c":{"iconPath":"../../icons/file_type_c.svg"},"_f_c3":{"iconPath":"../../icons/file_type_c3.svg"},"_f_c_al":{"iconPath":"../../icons/file_type_c_al.svg"},"_f_cabal":{"iconPath":"../../icons/file_type_cabal.svg"},"_f_caddy":{"iconPath":"../../icons/file_type_caddy.svg"},"_f_cake":{"iconPath":"../../icons/file_type_cake.svg"},"_f_cakephp":{"iconPath":"../../icons/file_type_cakephp.svg"},"_f_cangjie":{"iconPath":"../../icons/file_type_cangjie.svg"},"_f_capacitor":{"iconPath":"../../icons/file_type_capacitor.svg"},"_f_capnp":{"iconPath":"../../icons/file_type_capnp.svg"},"_f_cargo":{"iconPath":"../../icons/file_type_cargo.svg"},"_f_casc":{"iconPath":"../../icons/file_type_casc.svg"},"_f_cddl":{"iconPath":"../../icons/file_type_cddl.svg"},"_f_cert":{"iconPath":"../../icons/file_type_cert.svg"},"_f_ceylon":{"iconPath":"../../icons/file_type_ceylon.svg"},"_f_cf":{"iconPath":"../../icons/file_type_cf.svg"},"_f_cfc":{"iconPath":"../../icons/file_type_cfc.svg"},"_f_cfm":{"iconPath":"../../icons/file_type_cfm.svg"},"_f_changie":{"iconPath":"../../icons/file_type_changie.svg"},"_f_cheader":{"iconPath":"../../icons/file_type_cheader.svg"},"_f_chef":{"iconPath":"../../icons/file_type_chef.svg"},"_f_chef_cookbook":{"iconPath":"../../icons/file_type_chef_cookbook.svg"},"_f_circleci":{"iconPath":"../../icons/file_type_circleci.svg"},"_f_light_circleci":{"iconPath":"../../icons/file_type_light_circleci.svg"},"_f_circom":{"iconPath":"../../icons/file_type_circom.svg"},"_f_clangd":{"iconPath":"../../icons/file_type_clangd.svg"},"_f_class":{"iconPath":"../../icons/file_type_class.svg"},"_f_claude":{"iconPath":"../../icons/file_type_claude.svg"},"_f_clojure":{"iconPath":"../../icons/file_type_clojure.svg"},"_f_clojurescript":{"iconPath":"../../icons/file_type_clojurescript.svg"},"_f_cloudflare":{"iconPath":"../../icons/file_type_cloudflare.svg"},"_f_cloudfoundry":{"iconPath":"../../icons/file_type_cloudfoundry.svg"},"_f_light_cloudfoundry":{"iconPath":"../../icons/file_type_light_cloudfoundry.svg"},"_f_cmake":{"iconPath":"../../icons/file_type_cmake.svg"},"_f_cobol":{"iconPath":"../../icons/file_type_cobol.svg"},"_f_codacy":{"iconPath":"../../icons/file_type_codacy.svg"},"_f_light_codacy":{"iconPath":"../../icons/file_type_light_codacy.svg"},"_f_codeclimate":{"iconPath":"../../icons/file_type_codeclimate.svg"},"_f_light_codeclimate":{"iconPath":"../../icons/file_type_light_codeclimate.svg"},"_f_codecov":{"iconPath":"../../icons/file_type_codecov.svg"},"_f_codekit":{"iconPath":"../../icons/file_type_codekit.svg"},"_f_codemagic":{"iconPath":"../../icons/file_type_codemagic.svg"},"_f_codeowners":{"iconPath":"../../icons/file_type_codeowners.svg"},"_f_light_codeowners":{"iconPath":"../../icons/file_type_light_codeowners.svg"},"_f_codeql":{"iconPath":"../../icons/file_type_codeql.svg"},"_f_coderabbit":{"iconPath":"../../icons/file_type_coderabbit.svg"},"_f_coffeelint":{"iconPath":"../../icons/file_type_coffeelint.svg"},"_f_coffeescript":{"iconPath":"../../icons/file_type_coffeescript.svg"},"_f_commitizen":{"iconPath":"../../icons/file_type_commitizen.svg"},"_f_commitlint":{"iconPath":"../../icons/file_type_commitlint.svg"},"_f_compass":{"iconPath":"../../icons/file_type_compass.svg"},"_f_composer":{"iconPath":"../../icons/file_type_composer.svg"},"_f_conan":{"iconPath":"../../icons/file_type_conan.svg"},"_f_conda":{"iconPath":"../../icons/file_type_conda.svg"},"_f_config":{"iconPath":"../../icons/file_type_config.svg"},"_f_light_config":{"iconPath":"../../icons/file_type_light_config.svg"},"_f_confluence":{"iconPath":"../../icons/file_type_confluence.svg"},"_f_context7":{"iconPath":"../../icons/file_type_context7.svg"},"_f_copilot":{"iconPath":"../../icons/file_type_copilot.svg"},"_f_light_copilot":{"iconPath":"../../icons/file_type_light_copilot.svg"},"_f_coverage":{"iconPath":"../../icons/file_type_coverage.svg"},"_f_coveralls":{"iconPath":"../../icons/file_type_coveralls.svg"},"_f_cpp":{"iconPath":"../../icons/file_type_cpp.svg"},"_f_cppheader":{"iconPath":"../../icons/file_type_cppheader.svg"},"_f_craco":{"iconPath":"../../icons/file_type_craco.svg"},"_f_crowdin":{"iconPath":"../../icons/file_type_crowdin.svg"},"_f_crystal":{"iconPath":"../../icons/file_type_crystal.svg"},"_f_light_crystal":{"iconPath":"../../icons/file_type_light_crystal.svg"},"_f_csharp":{"iconPath":"../../icons/file_type_csharp.svg"},"_f_cspell":{"iconPath":"../../icons/file_type_cspell.svg"},"_f_csproj":{"iconPath":"../../icons/file_type_csproj.svg"},"_f_css":{"iconPath":"../../icons/file_type_css.svg"},"_f_csscomb":{"iconPath":"../../icons/file_type_csscomb.svg"},"_f_csslint":{"iconPath":"../../icons/file_type_csslint.svg"},"_f_cssmap":{"iconPath":"../../icons/file_type_cssmap.svg"},"_f_cucumber":{"iconPath":"../../icons/file_type_cucumber.svg"},"_f_cuda":{"iconPath":"../../icons/file_type_cuda.svg"},"_f_cue":{"iconPath":"../../icons/file_type_cue.svg"},"_f_light_cue":{"iconPath":"../../icons/file_type_light_cue.svg"},"_f_cursorrules":{"iconPath":"../../icons/file_type_cursorrules.svg"},"_f_cvs":{"iconPath":"../../icons/file_type_cvs.svg"},"_f_cypress":{"iconPath":"../../icons/file_type_cypress.svg"},"_f_light_cypress":{"iconPath":"../../icons/file_type_light_cypress.svg"},"_f_cypress_spec":{"iconPath":"../../icons/file_type_cypress_spec.svg"},"_f_light_cypress_spec":{"iconPath":"../../icons/file_type_light_cypress_spec.svg"},"_f_cython":{"iconPath":"../../icons/file_type_cython.svg"},"_f_dal":{"iconPath":"../../icons/file_type_dal.svg"},"_f_darcs":{"iconPath":"../../icons/file_type_darcs.svg"},"_f_dartlang":{"iconPath":"../../icons/file_type_dartlang.svg"},"_f_dartlang_generated":{"iconPath":"../../icons/file_type_dartlang_generated.svg"},"_f_dartlang_ignore":{"iconPath":"../../icons/file_type_dartlang_ignore.svg"},"_f_databricks":{"iconPath":"../../icons/file_type_databricks.svg"},"_f_datadog":{"iconPath":"../../icons/file_type_datadog.svg"},"_f_db":{"iconPath":"../../icons/file_type_db.svg"},"_f_light_db":{"iconPath":"../../icons/file_type_light_db.svg"},"_f_dbt":{"iconPath":"../../icons/file_type_dbt.svg"},"_f_debian":{"iconPath":"../../icons/file_type_debian.svg"},"_f_delphi":{"iconPath":"../../icons/file_type_delphi.svg"},"_f_deno":{"iconPath":"../../icons/file_type_deno.svg"},"_f_denoify":{"iconPath":"../../icons/file_type_denoify.svg"},"_f_dependabot":{"iconPath":"../../icons/file_type_dependabot.svg"},"_f_dependencies":{"iconPath":"../../icons/file_type_dependencies.svg"},"_f_design_tokens":{"iconPath":"../../icons/file_type_design_tokens.svg"},"_f_devcontainer":{"iconPath":"../../icons/file_type_devcontainer.svg"},"_f_devenv":{"iconPath":"../../icons/file_type_devenv.svg"},"_f_light_devenv":{"iconPath":"../../icons/file_type_light_devenv.svg"},"_f_devvit":{"iconPath":"../../icons/file_type_devvit.svg"},"_f_dhall":{"iconPath":"../../icons/file_type_dhall.svg"},"_f_light_dhall":{"iconPath":"../../icons/file_type_light_dhall.svg"},"_f_diff":{"iconPath":"../../icons/file_type_diff.svg"},"_f_django":{"iconPath":"../../icons/file_type_django.svg"},"_f_dlang":{"iconPath":"../../icons/file_type_dlang.svg"},"_f_docker":{"iconPath":"../../icons/file_type_docker.svg"},"_f_dockertest":{"iconPath":"../../icons/file_type_dockertest.svg"},"_f_docpad":{"iconPath":"../../icons/file_type_docpad.svg"},"_f_light_docpad":{"iconPath":"../../icons/file_type_light_docpad.svg"},"_f_docusaurus":{"iconPath":"../../icons/file_type_docusaurus.svg"},"_f_docz":{"iconPath":"../../icons/file_type_docz.svg"},"_f_dojo":{"iconPath":"../../icons/file_type_dojo.svg"},"_f_doppler":{"iconPath":"../../icons/file_type_doppler.svg"},"_f_dotenv":{"iconPath":"../../icons/file_type_dotenv.svg"},"_f_dotjs":{"iconPath":"../../icons/file_type_dotjs.svg"},"_f_doxyfile":{"iconPath":"../../icons/file_type_doxyfile.svg"},"_f_doxygen":{"iconPath":"../../icons/file_type_doxygen.svg"},"_f_drawio":{"iconPath":"../../icons/file_type_drawio.svg"},"_f_drizzle_orm":{"iconPath":"../../icons/file_type_drizzle_orm.svg"},"_f_light_drizzle_orm":{"iconPath":"../../icons/file_type_light_drizzle_orm.svg"},"_f_drone":{"iconPath":"../../icons/file_type_drone.svg"},"_f_light_drone":{"iconPath":"../../icons/file_type_light_drone.svg"},"_f_drools":{"iconPath":"../../icons/file_type_drools.svg"},"_f_dtd":{"iconPath":"../../icons/file_type_dtd.svg"},"_f_duckdb":{"iconPath":"../../icons/file_type_duckdb.svg"},"_f_light_duckdb":{"iconPath":"../../icons/file_type_light_duckdb.svg"},"_f_dune":{"iconPath":"../../icons/file_type_dune.svg"},"_f_dustjs":{"iconPath":"../../icons/file_type_dustjs.svg"},"_f_dvc":{"iconPath":"../../icons/file_type_dvc.svg"},"_f_dylan":{"iconPath":"../../icons/file_type_dylan.svg"},"_f_earthly":{"iconPath":"../../icons/file_type_earthly.svg"},"_f_eas-metadata":{"iconPath":"../../icons/file_type_eas-metadata.svg"},"_f_light_eas-metadata":{"iconPath":"../../icons/file_type_light_eas-metadata.svg"},"_f_edge":{"iconPath":"../../icons/file_type_edge.svg"},"_f_editorconfig":{"iconPath":"../../icons/file_type_editorconfig.svg"},"_f_eex":{"iconPath":"../../icons/file_type_eex.svg"},"_f_ejs":{"iconPath":"../../icons/file_type_ejs.svg"},"_f_elastic":{"iconPath":"../../icons/file_type_elastic.svg"},"_f_elasticbeanstalk":{"iconPath":"../../icons/file_type_elasticbeanstalk.svg"},"_f_electron":{"iconPath":"../../icons/file_type_electron.svg"},"_f_eleventy":{"iconPath":"../../icons/file_type_eleventy.svg"},"_f_light_eleventy":{"iconPath":"../../icons/file_type_light_eleventy.svg"},"_f_elixir":{"iconPath":"../../icons/file_type_elixir.svg"},"_f_elm":{"iconPath":"../../icons/file_type_elm.svg"},"_f_emacs":{"iconPath":"../../icons/file_type_emacs.svg"},"_f_ember":{"iconPath":"../../icons/file_type_ember.svg"},"_f_ensime":{"iconPath":"../../icons/file_type_ensime.svg"},"_f_eps":{"iconPath":"../../icons/file_type_eps.svg"},"_f_epub":{"iconPath":"../../icons/file_type_epub.svg"},"_f_erb":{"iconPath":"../../icons/file_type_erb.svg"},"_f_erlang":{"iconPath":"../../icons/file_type_erlang.svg"},"_f_esbuild":{"iconPath":"../../icons/file_type_esbuild.svg"},"_f_eslint":{"iconPath":"../../icons/file_type_eslint.svg"},"_f_esphome":{"iconPath":"../../icons/file_type_esphome.svg"},"_f_light_esphome":{"iconPath":"../../icons/file_type_light_esphome.svg"},"_f_excalidraw":{"iconPath":"../../icons/file_type_excalidraw.svg"},"_f_excel":{"iconPath":"../../icons/file_type_excel.svg"},"_f_expo":{"iconPath":"../../icons/file_type_expo.svg"},"_f_light_expo":{"iconPath":"../../icons/file_type_light_expo.svg"},"_f_falcon":{"iconPath":"../../icons/file_type_falcon.svg"},"_f_fantasticon":{"iconPath":"../../icons/file_type_fantasticon.svg"},"_f_fastly":{"iconPath":"../../icons/file_type_fastly.svg"},"_f_fauna":{"iconPath":"../../icons/file_type_fauna.svg"},"_f_favicon":{"iconPath":"../../icons/file_type_favicon.svg"},"_f_fbx":{"iconPath":"../../icons/file_type_fbx.svg"},"_f_firebase":{"iconPath":"../../icons/file_type_firebase.svg"},"_f_firebasehosting":{"iconPath":"../../icons/file_type_firebasehosting.svg"},"_f_light_firebasehosting":{"iconPath":"../../icons/file_type_light_firebasehosting.svg"},"_f_firebasestorage":{"iconPath":"../../icons/file_type_firebasestorage.svg"},"_f_firestore":{"iconPath":"../../icons/file_type_firestore.svg"},"_f_fitbit":{"iconPath":"../../icons/file_type_fitbit.svg"},"_f_fla":{"iconPath":"../../icons/file_type_fla.svg"},"_f_light_fla":{"iconPath":"../../icons/file_type_light_fla.svg"},"_f_flareact":{"iconPath":"../../icons/file_type_flareact.svg"},"_f_flash":{"iconPath":"../../icons/file_type_flash.svg"},"_f_flatbuffers":{"iconPath":"../../icons/file_type_flatbuffers.svg"},"_f_fleet":{"iconPath":"../../icons/file_type_fleet.svg"},"_f_floobits":{"iconPath":"../../icons/file_type_floobits.svg"},"_f_flow":{"iconPath":"../../icons/file_type_flow.svg"},"_f_flowgorithm":{"iconPath":"../../icons/file_type_flowgorithm.svg"},"_f_flutter":{"iconPath":"../../icons/file_type_flutter.svg"},"_f_flutter_package":{"iconPath":"../../icons/file_type_flutter_package.svg"},"_f_flyio":{"iconPath":"../../icons/file_type_flyio.svg"},"_f_font":{"iconPath":"../../icons/file_type_font.svg"},"_f_light_font":{"iconPath":"../../icons/file_type_light_font.svg"},"_f_formkit":{"iconPath":"../../icons/file_type_formkit.svg"},"_f_fortran":{"iconPath":"../../icons/file_type_fortran.svg"},"_f_fossa":{"iconPath":"../../icons/file_type_fossa.svg"},"_f_fossil":{"iconPath":"../../icons/file_type_fossil.svg"},"_f_freemarker":{"iconPath":"../../icons/file_type_freemarker.svg"},"_f_fritzing":{"iconPath":"../../icons/file_type_fritzing.svg"},"_f_frontcommerce":{"iconPath":"../../icons/file_type_frontcommerce.svg"},"_f_fsharp":{"iconPath":"../../icons/file_type_fsharp.svg"},"_f_fsproj":{"iconPath":"../../icons/file_type_fsproj.svg"},"_f_fthtml":{"iconPath":"../../icons/file_type_fthtml.svg"},"_f_funding":{"iconPath":"../../icons/file_type_funding.svg"},"_f_fusebox":{"iconPath":"../../icons/file_type_fusebox.svg"},"_f_galen":{"iconPath":"../../icons/file_type_galen.svg"},"_f_gamemaker":{"iconPath":"../../icons/file_type_gamemaker.svg"},"_f_gamemaker2":{"iconPath":"../../icons/file_type_gamemaker2.svg"},"_f_light_gamemaker2":{"iconPath":"../../icons/file_type_light_gamemaker2.svg"},"_f_gamemaker81":{"iconPath":"../../icons/file_type_gamemaker81.svg"},"_f_gatsby":{"iconPath":"../../icons/file_type_gatsby.svg"},"_f_gcloud":{"iconPath":"../../icons/file_type_gcloud.svg"},"_f_gcode":{"iconPath":"../../icons/file_type_gcode.svg"},"_f_gdscript":{"iconPath":"../../icons/file_type_gdscript.svg"},"_f_gduid":{"iconPath":"../../icons/file_type_gduid.svg"},"_f_gemini":{"iconPath":"../../icons/file_type_gemini.svg"},"_f_genstat":{"iconPath":"../../icons/file_type_genstat.svg"},"_f_geojson":{"iconPath":"../../icons/file_type_geojson.svg"},"_f_gimp":{"iconPath":"../../icons/file_type_gimp.svg"},"_f_git":{"iconPath":"../../icons/file_type_git.svg"},"_f_gitlab":{"iconPath":"../../icons/file_type_gitlab.svg"},"_f_gitpod":{"iconPath":"../../icons/file_type_gitpod.svg"},"_f_gleam":{"iconPath":"../../icons/file_type_gleam.svg"},"_f_gleamconfig":{"iconPath":"../../icons/file_type_gleamconfig.svg"},"_f_glide":{"iconPath":"../../icons/file_type_glide.svg"},"_f_glimmer":{"iconPath":"../../icons/file_type_glimmer.svg"},"_f_glitter":{"iconPath":"../../icons/file_type_glitter.svg"},"_f_glsl":{"iconPath":"../../icons/file_type_glsl.svg"},"_f_gltf":{"iconPath":"../../icons/file_type_gltf.svg"},"_f_glyphs":{"iconPath":"../../icons/file_type_glyphs.svg"},"_f_gnu":{"iconPath":"../../icons/file_type_gnu.svg"},"_f_gnuplot":{"iconPath":"../../icons/file_type_gnuplot.svg"},"_f_go":{"iconPath":"../../icons/file_type_go.svg"},"_f_go_package":{"iconPath":"../../icons/file_type_go_package.svg"},"_f_go_work":{"iconPath":"../../icons/file_type_go_work.svg"},"_f_goctl":{"iconPath":"../../icons/file_type_goctl.svg"},"_f_godot":{"iconPath":"../../icons/file_type_godot.svg"},"_f_gpg":{"iconPath":"../../icons/file_type_gpg.svg"},"_f_gradle":{"iconPath":"../../icons/file_type_gradle.svg"},"_f_light_gradle":{"iconPath":"../../icons/file_type_light_gradle.svg"},"_f_grain":{"iconPath":"../../icons/file_type_grain.svg"},"_f_graphql":{"iconPath":"../../icons/file_type_graphql.svg"},"_f_graphql_config":{"iconPath":"../../icons/file_type_graphql_config.svg"},"_f_graphviz":{"iconPath":"../../icons/file_type_graphviz.svg"},"_f_greenkeeper":{"iconPath":"../../icons/file_type_greenkeeper.svg"},"_f_gridsome":{"iconPath":"../../icons/file_type_gridsome.svg"},"_f_grit":{"iconPath":"../../icons/file_type_grit.svg"},"_f_groovy":{"iconPath":"../../icons/file_type_groovy.svg"},"_f_grunt":{"iconPath":"../../icons/file_type_grunt.svg"},"_f_gulp":{"iconPath":"../../icons/file_type_gulp.svg"},"_f_haml":{"iconPath":"../../icons/file_type_haml.svg"},"_f_handlebars":{"iconPath":"../../icons/file_type_handlebars.svg"},"_f_harbour":{"iconPath":"../../icons/file_type_harbour.svg"},"_f_hardhat":{"iconPath":"../../icons/file_type_hardhat.svg"},"_f_hashicorp":{"iconPath":"../../icons/file_type_hashicorp.svg"},"_f_light_hashicorp":{"iconPath":"../../icons/file_type_light_hashicorp.svg"},"_f_haskell":{"iconPath":"../../icons/file_type_haskell.svg"},"_f_haxe":{"iconPath":"../../icons/file_type_haxe.svg"},"_f_haxecheckstyle":{"iconPath":"../../icons/file_type_haxecheckstyle.svg"},"_f_haxedevelop":{"iconPath":"../../icons/file_type_haxedevelop.svg"},"_f_helix":{"iconPath":"../../icons/file_type_helix.svg"},"_f_helm":{"iconPath":"../../icons/file_type_helm.svg"},"_f_histoire":{"iconPath":"../../icons/file_type_histoire.svg"},"_f_hjson":{"iconPath":"../../icons/file_type_hjson.svg"},"_f_light_hjson":{"iconPath":"../../icons/file_type_light_hjson.svg"},"_f_hlsl":{"iconPath":"../../icons/file_type_hlsl.svg"},"_f_homeassistant":{"iconPath":"../../icons/file_type_homeassistant.svg"},"_f_horusec":{"iconPath":"../../icons/file_type_horusec.svg"},"_f_host":{"iconPath":"../../icons/file_type_host.svg"},"_f_html":{"iconPath":"../../icons/file_type_html.svg"},"_f_htmlhint":{"iconPath":"../../icons/file_type_htmlhint.svg"},"_f_htmlvalidate":{"iconPath":"../../icons/file_type_htmlvalidate.svg"},"_f_http":{"iconPath":"../../icons/file_type_http.svg"},"_f_huff":{"iconPath":"../../icons/file_type_huff.svg"},"_f_light_huff":{"iconPath":"../../icons/file_type_light_huff.svg"},"_f_hugo":{"iconPath":"../../icons/file_type_hugo.svg"},"_f_humanstxt":{"iconPath":"../../icons/file_type_humanstxt.svg"},"_f_hunspell":{"iconPath":"../../icons/file_type_hunspell.svg"},"_f_hurl":{"iconPath":"../../icons/file_type_hurl.svg"},"_f_husky":{"iconPath":"../../icons/file_type_husky.svg"},"_f_hy":{"iconPath":"../../icons/file_type_hy.svg"},"_f_hygen":{"iconPath":"../../icons/file_type_hygen.svg"},"_f_hypr":{"iconPath":"../../icons/file_type_hypr.svg"},"_f_icl":{"iconPath":"../../icons/file_type_icl.svg"},"_f_idris":{"iconPath":"../../icons/file_type_idris.svg"},"_f_idrisbin":{"iconPath":"../../icons/file_type_idrisbin.svg"},"_f_idrispkg":{"iconPath":"../../icons/file_type_idrispkg.svg"},"_f_image":{"iconPath":"../../icons/file_type_image.svg"},"_f_imba":{"iconPath":"../../icons/file_type_imba.svg"},"_f_inc":{"iconPath":"../../icons/file_type_inc.svg"},"_f_infopath":{"iconPath":"../../icons/file_type_infopath.svg"},"_f_informix":{"iconPath":"../../icons/file_type_informix.svg"},"_f_ini":{"iconPath":"../../icons/file_type_ini.svg"},"_f_light_ini":{"iconPath":"../../icons/file_type_light_ini.svg"},"_f_ink":{"iconPath":"../../icons/file_type_ink.svg"},"_f_innosetup":{"iconPath":"../../icons/file_type_innosetup.svg"},"_f_io":{"iconPath":"../../icons/file_type_io.svg"},"_f_light_io":{"iconPath":"../../icons/file_type_light_io.svg"},"_f_iodine":{"iconPath":"../../icons/file_type_iodine.svg"},"_f_ionic":{"iconPath":"../../icons/file_type_ionic.svg"},"_f_jake":{"iconPath":"../../icons/file_type_jake.svg"},"_f_janet":{"iconPath":"../../icons/file_type_janet.svg"},"_f_jar":{"iconPath":"../../icons/file_type_jar.svg"},"_f_jasmine":{"iconPath":"../../icons/file_type_jasmine.svg"},"_f_java":{"iconPath":"../../icons/file_type_java.svg"},"_f_jbuilder":{"iconPath":"../../icons/file_type_jbuilder.svg"},"_f_jekyll":{"iconPath":"../../icons/file_type_jekyll.svg"},"_f_jenkins":{"iconPath":"../../icons/file_type_jenkins.svg"},"_f_jest":{"iconPath":"../../icons/file_type_jest.svg"},"_f_jest_snapshot":{"iconPath":"../../icons/file_type_jest_snapshot.svg"},"_f_jetbrains":{"iconPath":"../../icons/file_type_jetbrains.svg"},"_f_jinja":{"iconPath":"../../icons/file_type_jinja.svg"},"_f_jpm":{"iconPath":"../../icons/file_type_jpm.svg"},"_f_js":{"iconPath":"../../icons/file_type_js.svg"},"_f_light_js":{"iconPath":"../../icons/file_type_light_js.svg"},"_f_jsbeautify":{"iconPath":"../../icons/file_type_jsbeautify.svg"},"_f_jsconfig":{"iconPath":"../../icons/file_type_jsconfig.svg"},"_f_light_jsconfig":{"iconPath":"../../icons/file_type_light_jsconfig.svg"},"_f_jscpd":{"iconPath":"../../icons/file_type_jscpd.svg"},"_f_jshint":{"iconPath":"../../icons/file_type_jshint.svg"},"_f_jsmap":{"iconPath":"../../icons/file_type_jsmap.svg"},"_f_light_jsmap":{"iconPath":"../../icons/file_type_light_jsmap.svg"},"_f_json":{"iconPath":"../../icons/file_type_json.svg"},"_f_light_json":{"iconPath":"../../icons/file_type_light_json.svg"},"_f_json5":{"iconPath":"../../icons/file_type_json5.svg"},"_f_light_json5":{"iconPath":"../../icons/file_type_light_json5.svg"},"_f_json_schema":{"iconPath":"../../icons/file_type_json_schema.svg"},"_f_light_json_schema":{"iconPath":"../../icons/file_type_light_json_schema.svg"},"_f_jsonld":{"iconPath":"../../icons/file_type_jsonld.svg"},"_f_light_jsonld":{"iconPath":"../../icons/file_type_light_jsonld.svg"},"_f_jsonnet":{"iconPath":"../../icons/file_type_jsonnet.svg"},"_f_jsp":{"iconPath":"../../icons/file_type_jsp.svg"},"_f_jsr":{"iconPath":"../../icons/file_type_jsr.svg"},"_f_jss":{"iconPath":"../../icons/file_type_jss.svg"},"_f_juice":{"iconPath":"../../icons/file_type_juice.svg"},"_f_julia":{"iconPath":"../../icons/file_type_julia.svg"},"_f_jupyter":{"iconPath":"../../icons/file_type_jupyter.svg"},"_f_just":{"iconPath":"../../icons/file_type_just.svg"},"_f_k":{"iconPath":"../../icons/file_type_k.svg"},"_f_karma":{"iconPath":"../../icons/file_type_karma.svg"},"_f_key":{"iconPath":"../../icons/file_type_key.svg"},"_f_kitchenci":{"iconPath":"../../icons/file_type_kitchenci.svg"},"_f_kite":{"iconPath":"../../icons/file_type_kite.svg"},"_f_light_kite":{"iconPath":"../../icons/file_type_light_kite.svg"},"_f_kivy":{"iconPath":"../../icons/file_type_kivy.svg"},"_f_knex":{"iconPath":"../../icons/file_type_knex.svg"},"_f_knip":{"iconPath":"../../icons/file_type_knip.svg"},"_f_kos":{"iconPath":"../../icons/file_type_kos.svg"},"_f_kotlin":{"iconPath":"../../icons/file_type_kotlin.svg"},"_f_kusto":{"iconPath":"../../icons/file_type_kusto.svg"},"_f_language_configuration":{"iconPath":"../../icons/file_type_language_configuration.svg"},"_f_lark":{"iconPath":"../../icons/file_type_lark.svg"},"_f_light_lark":{"iconPath":"../../icons/file_type_light_lark.svg"},"_f_latino":{"iconPath":"../../icons/file_type_latino.svg"},"_f_layout":{"iconPath":"../../icons/file_type_layout.svg"},"_f_lean":{"iconPath":"../../icons/file_type_lean.svg"},"_f_light_lean":{"iconPath":"../../icons/file_type_light_lean.svg"},"_f_leanconfig":{"iconPath":"../../icons/file_type_leanconfig.svg"},"_f_light_leanconfig":{"iconPath":"../../icons/file_type_light_leanconfig.svg"},"_f_lefthook":{"iconPath":"../../icons/file_type_lefthook.svg"},"_f_lemon":{"iconPath":"../../icons/file_type_lemon.svg"},"_f_lerna":{"iconPath":"../../icons/file_type_lerna.svg"},"_f_light_lerna":{"iconPath":"../../icons/file_type_light_lerna.svg"},"_f_less":{"iconPath":"../../icons/file_type_less.svg"},"_f_lex":{"iconPath":"../../icons/file_type_lex.svg"},"_f_liara":{"iconPath":"../../icons/file_type_liara.svg"},"_f_libreoffice_base":{"iconPath":"../../icons/file_type_libreoffice_base.svg"},"_f_libreoffice_calc":{"iconPath":"../../icons/file_type_libreoffice_calc.svg"},"_f_libreoffice_draw":{"iconPath":"../../icons/file_type_libreoffice_draw.svg"},"_f_libreoffice_impress":{"iconPath":"../../icons/file_type_libreoffice_impress.svg"},"_f_libreoffice_math":{"iconPath":"../../icons/file_type_libreoffice_math.svg"},"_f_libreoffice_writer":{"iconPath":"../../icons/file_type_libreoffice_writer.svg"},"_f_license":{"iconPath":"../../icons/file_type_license.svg"},"_f_licensebat":{"iconPath":"../../icons/file_type_licensebat.svg"},"_f_lighthouse":{"iconPath":"../../icons/file_type_lighthouse.svg"},"_f_lilypond":{"iconPath":"../../icons/file_type_lilypond.svg"},"_f_lime":{"iconPath":"../../icons/file_type_lime.svg"},"_f_lintstagedrc":{"iconPath":"../../icons/file_type_lintstagedrc.svg"},"_f_liquid":{"iconPath":"../../icons/file_type_liquid.svg"},"_f_lisp":{"iconPath":"../../icons/file_type_lisp.svg"},"_f_livescript":{"iconPath":"../../icons/file_type_livescript.svg"},"_f_lnk":{"iconPath":"../../icons/file_type_lnk.svg"},"_f_locale":{"iconPath":"../../icons/file_type_locale.svg"},"_f_log":{"iconPath":"../../icons/file_type_log.svg"},"_f_lolcode":{"iconPath":"../../icons/file_type_lolcode.svg"},"_f_lsl":{"iconPath":"../../icons/file_type_lsl.svg"},"_f_lua":{"iconPath":"../../icons/file_type_lua.svg"},"_f_luau":{"iconPath":"../../icons/file_type_luau.svg"},"_f_lychee":{"iconPath":"../../icons/file_type_lychee.svg"},"_f_lync":{"iconPath":"../../icons/file_type_lync.svg"},"_f_mailing":{"iconPath":"../../icons/file_type_mailing.svg"},"_f_light_mailing":{"iconPath":"../../icons/file_type_light_mailing.svg"},"_f_manifest":{"iconPath":"../../icons/file_type_manifest.svg"},"_f_manifest_bak":{"iconPath":"../../icons/file_type_manifest_bak.svg"},"_f_manifest_skip":{"iconPath":"../../icons/file_type_manifest_skip.svg"},"_f_map":{"iconPath":"../../icons/file_type_map.svg"},"_f_markdown":{"iconPath":"../../icons/file_type_markdown.svg"},"_f_markdownlint":{"iconPath":"../../icons/file_type_markdownlint.svg"},"_f_markdownlint_ignore":{"iconPath":"../../icons/file_type_markdownlint_ignore.svg"},"_f_marko":{"iconPath":"../../icons/file_type_marko.svg"},"_f_markojs":{"iconPath":"../../icons/file_type_markojs.svg"},"_f_markuplint":{"iconPath":"../../icons/file_type_markuplint.svg"},"_f_light_markuplint":{"iconPath":"../../icons/file_type_light_markuplint.svg"},"_f_master-co":{"iconPath":"../../icons/file_type_master-co.svg"},"_f_matlab":{"iconPath":"../../icons/file_type_matlab.svg"},"_f_maven":{"iconPath":"../../icons/file_type_maven.svg"},"_f_maxscript":{"iconPath":"../../icons/file_type_maxscript.svg"},"_f_maya":{"iconPath":"../../icons/file_type_maya.svg"},"_f_mcp":{"iconPath":"../../icons/file_type_mcp.svg"},"_f_light_mcp":{"iconPath":"../../icons/file_type_light_mcp.svg"},"_f_mdx":{"iconPath":"../../icons/file_type_mdx.svg"},"_f_light_mdx":{"iconPath":"../../icons/file_type_light_mdx.svg"},"_f_mdx-components":{"iconPath":"../../icons/file_type_mdx-components.svg"},"_f_light_mdx-components":{"iconPath":"../../icons/file_type_light_mdx-components.svg"},"_f_mdxlint":{"iconPath":"../../icons/file_type_mdxlint.svg"},"_f_mediawiki":{"iconPath":"../../icons/file_type_mediawiki.svg"},"_f_mercurial":{"iconPath":"../../icons/file_type_mercurial.svg"},"_f_mermaid":{"iconPath":"../../icons/file_type_mermaid.svg"},"_f_meson":{"iconPath":"../../icons/file_type_meson.svg"},"_f_metal":{"iconPath":"../../icons/file_type_metal.svg"},"_f_meteor":{"iconPath":"../../icons/file_type_meteor.svg"},"_f_metro":{"iconPath":"../../icons/file_type_metro.svg"},"_f_mikro_orm":{"iconPath":"../../icons/file_type_mikro_orm.svg"},"_f_light_mikro_orm":{"iconPath":"../../icons/file_type_light_mikro_orm.svg"},"_f_minecraft":{"iconPath":"../../icons/file_type_minecraft.svg"},"_f_mise":{"iconPath":"../../icons/file_type_mise.svg"},"_f_mivascript":{"iconPath":"../../icons/file_type_mivascript.svg"},"_f_mjml":{"iconPath":"../../icons/file_type_mjml.svg"},"_f_mlang":{"iconPath":"../../icons/file_type_mlang.svg"},"_f_light_mlang":{"iconPath":"../../icons/file_type_light_mlang.svg"},"_f_mocha":{"iconPath":"../../icons/file_type_mocha.svg"},"_f_modernizr":{"iconPath":"../../icons/file_type_modernizr.svg"},"_f_modernjs":{"iconPath":"../../icons/file_type_modernjs.svg"},"_f_mojo":{"iconPath":"../../icons/file_type_mojo.svg"},"_f_mojolicious":{"iconPath":"../../icons/file_type_mojolicious.svg"},"_f_moleculer":{"iconPath":"../../icons/file_type_moleculer.svg"},"_f_mondoo":{"iconPath":"../../icons/file_type_mondoo.svg"},"_f_mongo":{"iconPath":"../../icons/file_type_mongo.svg"},"_f_monotone":{"iconPath":"../../icons/file_type_monotone.svg"},"_f_motif":{"iconPath":"../../icons/file_type_motif.svg"},"_f_mson":{"iconPath":"../../icons/file_type_mson.svg"},"_f_msw":{"iconPath":"../../icons/file_type_msw.svg"},"_f_mustache":{"iconPath":"../../icons/file_type_mustache.svg"},"_f_light_mustache":{"iconPath":"../../icons/file_type_light_mustache.svg"},"_f_mvt":{"iconPath":"../../icons/file_type_mvt.svg"},"_f_mvtcss":{"iconPath":"../../icons/file_type_mvtcss.svg"},"_f_mvtjs":{"iconPath":"../../icons/file_type_mvtjs.svg"},"_f_mypy":{"iconPath":"../../icons/file_type_mypy.svg"},"_f_light_mypy":{"iconPath":"../../icons/file_type_light_mypy.svg"},"_f_n64":{"iconPath":"../../icons/file_type_n64.svg"},"_f_nanostaged":{"iconPath":"../../icons/file_type_nanostaged.svg"},"_f_ndst":{"iconPath":"../../icons/file_type_ndst.svg"},"_f_nearly":{"iconPath":"../../icons/file_type_nearly.svg"},"_f_neo4j":{"iconPath":"../../icons/file_type_neo4j.svg"},"_f_light_neo4j":{"iconPath":"../../icons/file_type_light_neo4j.svg"},"_f_nestjs":{"iconPath":"../../icons/file_type_nestjs.svg"},"_f_netlify":{"iconPath":"../../icons/file_type_netlify.svg"},"_f_light_netlify":{"iconPath":"../../icons/file_type_light_netlify.svg"},"_f_next":{"iconPath":"../../icons/file_type_next.svg"},"_f_light_next":{"iconPath":"../../icons/file_type_light_next.svg"},"_f_nextflow":{"iconPath":"../../icons/file_type_nextflow.svg"},"_f_nginx":{"iconPath":"../../icons/file_type_nginx.svg"},"_f_nim":{"iconPath":"../../icons/file_type_nim.svg"},"_f_nimble":{"iconPath":"../../icons/file_type_nimble.svg"},"_f_ninja":{"iconPath":"../../icons/file_type_ninja.svg"},"_f_nix":{"iconPath":"../../icons/file_type_nix.svg"},"_f_njsproj":{"iconPath":"../../icons/file_type_njsproj.svg"},"_f_noc":{"iconPath":"../../icons/file_type_noc.svg"},"_f_node":{"iconPath":"../../icons/file_type_node.svg"},"_f_nodemon":{"iconPath":"../../icons/file_type_nodemon.svg"},"_f_npm":{"iconPath":"../../icons/file_type_npm.svg"},"_f_npmpackagejsonlint":{"iconPath":"../../icons/file_type_npmpackagejsonlint.svg"},"_f_nsi":{"iconPath":"../../icons/file_type_nsi.svg"},"_f_nsri":{"iconPath":"../../icons/file_type_nsri.svg"},"_f_nsri-integrity":{"iconPath":"../../icons/file_type_nsri-integrity.svg"},"_f_nuget":{"iconPath":"../../icons/file_type_nuget.svg"},"_f_numpy":{"iconPath":"../../icons/file_type_numpy.svg"},"_f_nunjucks":{"iconPath":"../../icons/file_type_nunjucks.svg"},"_f_nushell":{"iconPath":"../../icons/file_type_nushell.svg"},"_f_nuxt":{"iconPath":"../../icons/file_type_nuxt.svg"},"_f_nx":{"iconPath":"../../icons/file_type_nx.svg"},"_f_light_nx":{"iconPath":"../../icons/file_type_light_nx.svg"},"_f_nyc":{"iconPath":"../../icons/file_type_nyc.svg"},"_f_objectivec":{"iconPath":"../../icons/file_type_objectivec.svg"},"_f_objectivecpp":{"iconPath":"../../icons/file_type_objectivecpp.svg"},"_f_objidconfig":{"iconPath":"../../icons/file_type_objidconfig.svg"},"_f_light_objidconfig":{"iconPath":"../../icons/file_type_light_objidconfig.svg"},"_f_ocaml":{"iconPath":"../../icons/file_type_ocaml.svg"},"_f_ocaml_intf":{"iconPath":"../../icons/file_type_ocaml_intf.svg"},"_f_ogone":{"iconPath":"../../icons/file_type_ogone.svg"},"_f_onenote":{"iconPath":"../../icons/file_type_onenote.svg"},"_f_opam":{"iconPath":"../../icons/file_type_opam.svg"},"_f_openHAB":{"iconPath":"../../icons/file_type_openHAB.svg"},"_f_light_openHAB":{"iconPath":"../../icons/file_type_light_openHAB.svg"},"_f_opencl":{"iconPath":"../../icons/file_type_opencl.svg"},"_f_opencode":{"iconPath":"../../icons/file_type_opencode.svg"},"_f_light_opencode":{"iconPath":"../../icons/file_type_light_opencode.svg"},"_f_openscad":{"iconPath":"../../icons/file_type_openscad.svg"},"_f_opentofu":{"iconPath":"../../icons/file_type_opentofu.svg"},"_f_org":{"iconPath":"../../icons/file_type_org.svg"},"_f_orval":{"iconPath":"../../icons/file_type_orval.svg"},"_f_outlook":{"iconPath":"../../icons/file_type_outlook.svg"},"_f_ovpn":{"iconPath":"../../icons/file_type_ovpn.svg"},"_f_oxc":{"iconPath":"../../icons/file_type_oxc.svg"},"_f_light_oxc":{"iconPath":"../../icons/file_type_light_oxc.svg"},"_f_package":{"iconPath":"../../icons/file_type_package.svg"},"_f_packship":{"iconPath":"../../icons/file_type_packship.svg"},"_f_light_packship":{"iconPath":"../../icons/file_type_light_packship.svg"},"_f_paket":{"iconPath":"../../icons/file_type_paket.svg"},"_f_pandacss":{"iconPath":"../../icons/file_type_pandacss.svg"},"_f_parcel":{"iconPath":"../../icons/file_type_parcel.svg"},"_f_parquet":{"iconPath":"../../icons/file_type_parquet.svg"},"_f_patch":{"iconPath":"../../icons/file_type_patch.svg"},"_f_pawn":{"iconPath":"../../icons/file_type_pawn.svg"},"_f_pcl":{"iconPath":"../../icons/file_type_pcl.svg"},"_f_light_pcl":{"iconPath":"../../icons/file_type_light_pcl.svg"},"_f_pddl":{"iconPath":"../../icons/file_type_pddl.svg"},"_f_pddl_happenings":{"iconPath":"../../icons/file_type_pddl_happenings.svg"},"_f_pddl_plan":{"iconPath":"../../icons/file_type_pddl_plan.svg"},"_f_pdf":{"iconPath":"../../icons/file_type_pdf.svg"},"_f_pdm":{"iconPath":"../../icons/file_type_pdm.svg"},"_f_peeky":{"iconPath":"../../icons/file_type_peeky.svg"},"_f_perl":{"iconPath":"../../icons/file_type_perl.svg"},"_f_perl6":{"iconPath":"../../icons/file_type_perl6.svg"},"_f_pgsql":{"iconPath":"../../icons/file_type_pgsql.svg"},"_f_photoshop":{"iconPath":"../../icons/file_type_photoshop.svg"},"_f_php":{"iconPath":"../../icons/file_type_php.svg"},"_f_phpcsfixer":{"iconPath":"../../icons/file_type_phpcsfixer.svg"},"_f_phpstan":{"iconPath":"../../icons/file_type_phpstan.svg"},"_f_phpunit":{"iconPath":"../../icons/file_type_phpunit.svg"},"_f_phraseapp":{"iconPath":"../../icons/file_type_phraseapp.svg"},"_f_pine":{"iconPath":"../../icons/file_type_pine.svg"},"_f_pip":{"iconPath":"../../icons/file_type_pip.svg"},"_f_pipeline":{"iconPath":"../../icons/file_type_pipeline.svg"},"_f_pixi":{"iconPath":"../../icons/file_type_pixi.svg"},"_f_plantuml":{"iconPath":"../../icons/file_type_plantuml.svg"},"_f_platformio":{"iconPath":"../../icons/file_type_platformio.svg"},"_f_playwright":{"iconPath":"../../icons/file_type_playwright.svg"},"_f_plsql":{"iconPath":"../../icons/file_type_plsql.svg"},"_f_plsql_package":{"iconPath":"../../icons/file_type_plsql_package.svg"},"_f_plsql_package_body":{"iconPath":"../../icons/file_type_plsql_package_body.svg"},"_f_plsql_package_header":{"iconPath":"../../icons/file_type_plsql_package_header.svg"},"_f_plsql_package_spec":{"iconPath":"../../icons/file_type_plsql_package_spec.svg"},"_f_pm2":{"iconPath":"../../icons/file_type_pm2.svg"},"_f_pnpm":{"iconPath":"../../icons/file_type_pnpm.svg"},"_f_light_pnpm":{"iconPath":"../../icons/file_type_light_pnpm.svg"},"_f_poedit":{"iconPath":"../../icons/file_type_poedit.svg"},"_f_poetry":{"iconPath":"../../icons/file_type_poetry.svg"},"_f_polyglot":{"iconPath":"../../icons/file_type_polyglot.svg"},"_f_polymer":{"iconPath":"../../icons/file_type_polymer.svg"},"_f_pony":{"iconPath":"../../icons/file_type_pony.svg"},"_f_postcss":{"iconPath":"../../icons/file_type_postcss.svg"},"_f_postcssconfig":{"iconPath":"../../icons/file_type_postcssconfig.svg"},"_f_postman":{"iconPath":"../../icons/file_type_postman.svg"},"_f_postscript":{"iconPath":"../../icons/file_type_postscript.svg"},"_f_powerbi":{"iconPath":"../../icons/file_type_powerbi.svg"},"_f_powerpoint":{"iconPath":"../../icons/file_type_powerpoint.svg"},"_f_powershell":{"iconPath":"../../icons/file_type_powershell.svg"},"_f_powershell_format":{"iconPath":"../../icons/file_type_powershell_format.svg"},"_f_powershell_psd":{"iconPath":"../../icons/file_type_powershell_psd.svg"},"_f_powershell_psm":{"iconPath":"../../icons/file_type_powershell_psm.svg"},"_f_powershell_types":{"iconPath":"../../icons/file_type_powershell_types.svg"},"_f_preact":{"iconPath":"../../icons/file_type_preact.svg"},"_f_precommit":{"iconPath":"../../icons/file_type_precommit.svg"},"_f_prettier":{"iconPath":"../../icons/file_type_prettier.svg"},"_f_light_prettier":{"iconPath":"../../icons/file_type_light_prettier.svg"},"_f_prisma":{"iconPath":"../../icons/file_type_prisma.svg"},"_f_light_prisma":{"iconPath":"../../icons/file_type_light_prisma.svg"},"_f_prismaconfig":{"iconPath":"../../icons/file_type_prismaconfig.svg"},"_f_processinglang":{"iconPath":"../../icons/file_type_processinglang.svg"},"_f_procfile":{"iconPath":"../../icons/file_type_procfile.svg"},"_f_progress":{"iconPath":"../../icons/file_type_progress.svg"},"_f_prolog":{"iconPath":"../../icons/file_type_prolog.svg"},"_f_prometheus":{"iconPath":"../../icons/file_type_prometheus.svg"},"_f_protobuf":{"iconPath":"../../icons/file_type_protobuf.svg"},"_f_protractor":{"iconPath":"../../icons/file_type_protractor.svg"},"_f_publiccode":{"iconPath":"../../icons/file_type_publiccode.svg"},"_f_publisher":{"iconPath":"../../icons/file_type_publisher.svg"},"_f_pug":{"iconPath":"../../icons/file_type_pug.svg"},"_f_pulumi":{"iconPath":"../../icons/file_type_pulumi.svg"},"_f_puppet":{"iconPath":"../../icons/file_type_puppet.svg"},"_f_purescript":{"iconPath":"../../icons/file_type_purescript.svg"},"_f_light_purescript":{"iconPath":"../../icons/file_type_light_purescript.svg"},"_f_purgecss":{"iconPath":"../../icons/file_type_purgecss.svg"},"_f_pyenv":{"iconPath":"../../icons/file_type_pyenv.svg"},"_f_pypi":{"iconPath":"../../icons/file_type_pypi.svg"},"_f_pyret":{"iconPath":"../../icons/file_type_pyret.svg"},"_f_pyscript":{"iconPath":"../../icons/file_type_pyscript.svg"},"_f_pytest":{"iconPath":"../../icons/file_type_pytest.svg"},"_f_python":{"iconPath":"../../icons/file_type_python.svg"},"_f_pythonconfig":{"iconPath":"../../icons/file_type_pythonconfig.svg"},"_f_pythowo":{"iconPath":"../../icons/file_type_pythowo.svg"},"_f_pytyped":{"iconPath":"../../icons/file_type_pytyped.svg"},"_f_pyup":{"iconPath":"../../icons/file_type_pyup.svg"},"_f_q":{"iconPath":"../../icons/file_type_q.svg"},"_f_qbs":{"iconPath":"../../icons/file_type_qbs.svg"},"_f_qlikview":{"iconPath":"../../icons/file_type_qlikview.svg"},"_f_qml":{"iconPath":"../../icons/file_type_qml.svg"},"_f_qmldir":{"iconPath":"../../icons/file_type_qmldir.svg"},"_f_qrc":{"iconPath":"../../icons/file_type_qrc.svg"},"_f_qsharp":{"iconPath":"../../icons/file_type_qsharp.svg"},"_f_quasar":{"iconPath":"../../icons/file_type_quasar.svg"},"_f_light_quasar":{"iconPath":"../../icons/file_type_light_quasar.svg"},"_f_quokka":{"iconPath":"../../icons/file_type_quokka.svg"},"_f_r":{"iconPath":"../../icons/file_type_r.svg"},"_f_ra_syntax_tree":{"iconPath":"../../icons/file_type_ra_syntax_tree.svg"},"_f_racket":{"iconPath":"../../icons/file_type_racket.svg"},"_f_rails":{"iconPath":"../../icons/file_type_rails.svg"},"_f_railway":{"iconPath":"../../icons/file_type_railway.svg"},"_f_light_railway":{"iconPath":"../../icons/file_type_light_railway.svg"},"_f_rake":{"iconPath":"../../icons/file_type_rake.svg"},"_f_raku":{"iconPath":"../../icons/file_type_raku.svg"},"_f_light_raku":{"iconPath":"../../icons/file_type_light_raku.svg"},"_f_raml":{"iconPath":"../../icons/file_type_raml.svg"},"_f_razor":{"iconPath":"../../icons/file_type_razor.svg"},"_f_razzle":{"iconPath":"../../icons/file_type_razzle.svg"},"_f_light_razzle":{"iconPath":"../../icons/file_type_light_razzle.svg"},"_f_reactjs":{"iconPath":"../../icons/file_type_reactjs.svg"},"_f_reactrouter":{"iconPath":"../../icons/file_type_reactrouter.svg"},"_f_light_reactrouter":{"iconPath":"../../icons/file_type_light_reactrouter.svg"},"_f_reacttemplate":{"iconPath":"../../icons/file_type_reacttemplate.svg"},"_f_reactts":{"iconPath":"../../icons/file_type_reactts.svg"},"_f_readthedocs":{"iconPath":"../../icons/file_type_readthedocs.svg"},"_f_reason":{"iconPath":"../../icons/file_type_reason.svg"},"_f_red":{"iconPath":"../../icons/file_type_red.svg"},"_f_registry":{"iconPath":"../../icons/file_type_registry.svg"},"_f_rego":{"iconPath":"../../icons/file_type_rego.svg"},"_f_rehype":{"iconPath":"../../icons/file_type_rehype.svg"},"_f_light_rehype":{"iconPath":"../../icons/file_type_light_rehype.svg"},"_f_remark":{"iconPath":"../../icons/file_type_remark.svg"},"_f_light_remark":{"iconPath":"../../icons/file_type_light_remark.svg"},"_f_render":{"iconPath":"../../icons/file_type_render.svg"},"_f_light_render":{"iconPath":"../../icons/file_type_light_render.svg"},"_f_renovate":{"iconPath":"../../icons/file_type_renovate.svg"},"_f_replit":{"iconPath":"../../icons/file_type_replit.svg"},"_f_light_replit":{"iconPath":"../../icons/file_type_light_replit.svg"},"_f_rescript":{"iconPath":"../../icons/file_type_rescript.svg"},"_f_rest":{"iconPath":"../../icons/file_type_rest.svg"},"_f_retext":{"iconPath":"../../icons/file_type_retext.svg"},"_f_light_retext":{"iconPath":"../../icons/file_type_light_retext.svg"},"_f_rexx":{"iconPath":"../../icons/file_type_rexx.svg"},"_f_riot":{"iconPath":"../../icons/file_type_riot.svg"},"_f_ripple":{"iconPath":"../../icons/file_type_ripple.svg"},"_f_rmd":{"iconPath":"../../icons/file_type_rmd.svg"},"_f_rnc":{"iconPath":"../../icons/file_type_rnc.svg"},"_f_robotframework":{"iconPath":"../../icons/file_type_robotframework.svg"},"_f_robots":{"iconPath":"../../icons/file_type_robots.svg"},"_f_rolldown":{"iconPath":"../../icons/file_type_rolldown.svg"},"_f_light_rolldown":{"iconPath":"../../icons/file_type_light_rolldown.svg"},"_f_rollup":{"iconPath":"../../icons/file_type_rollup.svg"},"_f_rome":{"iconPath":"../../icons/file_type_rome.svg"},"_f_light_rome":{"iconPath":"../../icons/file_type_light_rome.svg"},"_f_ron":{"iconPath":"../../icons/file_type_ron.svg"},"_f_rproj":{"iconPath":"../../icons/file_type_rproj.svg"},"_f_rspec":{"iconPath":"../../icons/file_type_rspec.svg"},"_f_rss":{"iconPath":"../../icons/file_type_rss.svg"},"_f_rubocop":{"iconPath":"../../icons/file_type_rubocop.svg"},"_f_light_rubocop":{"iconPath":"../../icons/file_type_light_rubocop.svg"},"_f_ruby":{"iconPath":"../../icons/file_type_ruby.svg"},"_f_ruff":{"iconPath":"../../icons/file_type_ruff.svg"},"_f_rust":{"iconPath":"../../icons/file_type_rust.svg"},"_f_light_rust":{"iconPath":"../../icons/file_type_light_rust.svg"},"_f_rust_toolchain":{"iconPath":"../../icons/file_type_rust_toolchain.svg"},"_f_light_rust_toolchain":{"iconPath":"../../icons/file_type_light_rust_toolchain.svg"},"_f_s-lang":{"iconPath":"../../icons/file_type_s-lang.svg"},"_f_safetensors":{"iconPath":"../../icons/file_type_safetensors.svg"},"_f_light_safetensors":{"iconPath":"../../icons/file_type_light_safetensors.svg"},"_f_sails":{"iconPath":"../../icons/file_type_sails.svg"},"_f_saltstack":{"iconPath":"../../icons/file_type_saltstack.svg"},"_f_san":{"iconPath":"../../icons/file_type_san.svg"},"_f_sapphire_framework_cli":{"iconPath":"../../icons/file_type_sapphire_framework_cli.svg"},"_f_sas":{"iconPath":"../../icons/file_type_sas.svg"},"_f_sass":{"iconPath":"../../icons/file_type_sass.svg"},"_f_sbt":{"iconPath":"../../icons/file_type_sbt.svg"},"_f_scala":{"iconPath":"../../icons/file_type_scala.svg"},"_f_scilab":{"iconPath":"../../icons/file_type_scilab.svg"},"_f_script":{"iconPath":"../../icons/file_type_script.svg"},"_f_scss":{"iconPath":"../../icons/file_type_scss.svg"},"_f_sdlang":{"iconPath":"../../icons/file_type_sdlang.svg"},"_f_search_result":{"iconPath":"../../icons/file_type_search_result.svg"},"_f_seedkit":{"iconPath":"../../icons/file_type_seedkit.svg"},"_f_sentry":{"iconPath":"../../icons/file_type_sentry.svg"},"_f_sequelize":{"iconPath":"../../icons/file_type_sequelize.svg"},"_f_serverless":{"iconPath":"../../icons/file_type_serverless.svg"},"_f_shadcn":{"iconPath":"../../icons/file_type_shadcn.svg"},"_f_light_shadcn":{"iconPath":"../../icons/file_type_light_shadcn.svg"},"_f_shaderlab":{"iconPath":"../../icons/file_type_shaderlab.svg"},"_f_light_shaderlab":{"iconPath":"../../icons/file_type_light_shaderlab.svg"},"_f_shell":{"iconPath":"../../icons/file_type_shell.svg"},"_f_shellcheck":{"iconPath":"../../icons/file_type_shellcheck.svg"},"_f_shuttle":{"iconPath":"../../icons/file_type_shuttle.svg"},"_f_silverstripe":{"iconPath":"../../icons/file_type_silverstripe.svg"},"_f_sino":{"iconPath":"../../icons/file_type_sino.svg"},"_f_sitemap":{"iconPath":"../../icons/file_type_sitemap.svg"},"_f_siyuan":{"iconPath":"../../icons/file_type_siyuan.svg"},"_f_sketch":{"iconPath":"../../icons/file_type_sketch.svg"},"_f_skill":{"iconPath":"../../icons/file_type_skill.svg"},"_f_light_skill":{"iconPath":"../../icons/file_type_light_skill.svg"},"_f_skipper":{"iconPath":"../../icons/file_type_skipper.svg"},"_f_slang":{"iconPath":"../../icons/file_type_slang.svg"},"_f_slashup":{"iconPath":"../../icons/file_type_slashup.svg"},"_f_slice":{"iconPath":"../../icons/file_type_slice.svg"},"_f_slim":{"iconPath":"../../icons/file_type_slim.svg"},"_f_slint":{"iconPath":"../../icons/file_type_slint.svg"},"_f_sln":{"iconPath":"../../icons/file_type_sln.svg"},"_f_smarty":{"iconPath":"../../icons/file_type_smarty.svg"},"_f_smithery":{"iconPath":"../../icons/file_type_smithery.svg"},"_f_snakemake":{"iconPath":"../../icons/file_type_snakemake.svg"},"_f_snapcraft":{"iconPath":"../../icons/file_type_snapcraft.svg"},"_f_snaplet":{"iconPath":"../../icons/file_type_snaplet.svg"},"_f_snort":{"iconPath":"../../icons/file_type_snort.svg"},"_f_snyk":{"iconPath":"../../icons/file_type_snyk.svg"},"_f_solidarity":{"iconPath":"../../icons/file_type_solidarity.svg"},"_f_solidity":{"iconPath":"../../icons/file_type_solidity.svg"},"_f_light_solidity":{"iconPath":"../../icons/file_type_light_solidity.svg"},"_f_source":{"iconPath":"../../icons/file_type_source.svg"},"_f_spacengine":{"iconPath":"../../icons/file_type_spacengine.svg"},"_f_sparql":{"iconPath":"../../icons/file_type_sparql.svg"},"_f_spin":{"iconPath":"../../icons/file_type_spin.svg"},"_f_light_spin":{"iconPath":"../../icons/file_type_light_spin.svg"},"_f_sqf":{"iconPath":"../../icons/file_type_sqf.svg"},"_f_sql":{"iconPath":"../../icons/file_type_sql.svg"},"_f_sqlite":{"iconPath":"../../icons/file_type_sqlite.svg"},"_f_squirrel":{"iconPath":"../../icons/file_type_squirrel.svg"},"_f_sss":{"iconPath":"../../icons/file_type_sss.svg"},"_f_sst":{"iconPath":"../../icons/file_type_sst.svg"},"_f_stackblitz":{"iconPath":"../../icons/file_type_stackblitz.svg"},"_f_stan":{"iconPath":"../../icons/file_type_stan.svg"},"_f_stata":{"iconPath":"../../icons/file_type_stata.svg"},"_f_stencil":{"iconPath":"../../icons/file_type_stencil.svg"},"_f_storyboard":{"iconPath":"../../icons/file_type_storyboard.svg"},"_f_storybook":{"iconPath":"../../icons/file_type_storybook.svg"},"_f_stryker":{"iconPath":"../../icons/file_type_stryker.svg"},"_f_stylable":{"iconPath":"../../icons/file_type_stylable.svg"},"_f_style":{"iconPath":"../../icons/file_type_style.svg"},"_f_styled":{"iconPath":"../../icons/file_type_styled.svg"},"_f_stylelint":{"iconPath":"../../icons/file_type_stylelint.svg"},"_f_light_stylelint":{"iconPath":"../../icons/file_type_light_stylelint.svg"},"_f_stylish_haskell":{"iconPath":"../../icons/file_type_stylish_haskell.svg"},"_f_stylus":{"iconPath":"../../icons/file_type_stylus.svg"},"_f_light_stylus":{"iconPath":"../../icons/file_type_light_stylus.svg"},"_f_sublime":{"iconPath":"../../icons/file_type_sublime.svg"},"_f_subversion":{"iconPath":"../../icons/file_type_subversion.svg"},"_f_svelte":{"iconPath":"../../icons/file_type_svelte.svg"},"_f_svelteconfig":{"iconPath":"../../icons/file_type_svelteconfig.svg"},"_f_svg":{"iconPath":"../../icons/file_type_svg.svg"},"_f_svgo":{"iconPath":"../../icons/file_type_svgo.svg"},"_f_swagger":{"iconPath":"../../icons/file_type_swagger.svg"},"_f_swc":{"iconPath":"../../icons/file_type_swc.svg"},"_f_swift":{"iconPath":"../../icons/file_type_swift.svg"},"_f_swig":{"iconPath":"../../icons/file_type_swig.svg"},"_f_symfony":{"iconPath":"../../icons/file_type_symfony.svg"},"_f_light_symfony":{"iconPath":"../../icons/file_type_light_symfony.svg"},"_f_syncpack":{"iconPath":"../../icons/file_type_syncpack.svg"},"_f_systemd":{"iconPath":"../../icons/file_type_systemd.svg"},"_f_light_systemd":{"iconPath":"../../icons/file_type_light_systemd.svg"},"_f_systemverilog":{"iconPath":"../../icons/file_type_systemverilog.svg"},"_f_light_systemverilog":{"iconPath":"../../icons/file_type_light_systemverilog.svg"},"_f_t4tt":{"iconPath":"../../icons/file_type_t4tt.svg"},"_f_tailwind":{"iconPath":"../../icons/file_type_tailwind.svg"},"_f_tamagui":{"iconPath":"../../icons/file_type_tamagui.svg"},"_f_taplo":{"iconPath":"../../icons/file_type_taplo.svg"},"_f_taskfile":{"iconPath":"../../icons/file_type_taskfile.svg"},"_f_tauri":{"iconPath":"../../icons/file_type_tauri.svg"},"_f_tcl":{"iconPath":"../../icons/file_type_tcl.svg"},"_f_teal":{"iconPath":"../../icons/file_type_teal.svg"},"_f_templ":{"iconPath":"../../icons/file_type_templ.svg"},"_f_tera":{"iconPath":"../../icons/file_type_tera.svg"},"_f_terraform":{"iconPath":"../../icons/file_type_terraform.svg"},"_f_test":{"iconPath":"../../icons/file_type_test.svg"},"_f_testcafe":{"iconPath":"../../icons/file_type_testcafe.svg"},"_f_light_testcafe":{"iconPath":"../../icons/file_type_light_testcafe.svg"},"_f_testjs":{"iconPath":"../../icons/file_type_testjs.svg"},"_f_light_testjs":{"iconPath":"../../icons/file_type_light_testjs.svg"},"_f_testplane":{"iconPath":"../../icons/file_type_testplane.svg"},"_f_testts":{"iconPath":"../../icons/file_type_testts.svg"},"_f_tex":{"iconPath":"../../icons/file_type_tex.svg"},"_f_light_tex":{"iconPath":"../../icons/file_type_light_tex.svg"},"_f_text":{"iconPath":"../../icons/file_type_text.svg"},"_f_textile":{"iconPath":"../../icons/file_type_textile.svg"},"_f_textlint":{"iconPath":"../../icons/file_type_textlint.svg"},"_f_tfs":{"iconPath":"../../icons/file_type_tfs.svg"},"_f_thinkscript":{"iconPath":"../../icons/file_type_thinkscript.svg"},"_f_tiltfile":{"iconPath":"../../icons/file_type_tiltfile.svg"},"_f_tm":{"iconPath":"../../icons/file_type_tm.svg"},"_f_light_tm":{"iconPath":"../../icons/file_type_light_tm.svg"},"_f_tmux":{"iconPath":"../../icons/file_type_tmux.svg"},"_f_light_tmux":{"iconPath":"../../icons/file_type_light_tmux.svg"},"_f_todo":{"iconPath":"../../icons/file_type_todo.svg"},"_f_light_todo":{"iconPath":"../../icons/file_type_light_todo.svg"},"_f_toit":{"iconPath":"../../icons/file_type_toit.svg"},"_f_light_toit":{"iconPath":"../../icons/file_type_light_toit.svg"},"_f_toml":{"iconPath":"../../icons/file_type_toml.svg"},"_f_light_toml":{"iconPath":"../../icons/file_type_light_toml.svg"},"_f_toon":{"iconPath":"../../icons/file_type_toon.svg"},"_f_light_toon":{"iconPath":"../../icons/file_type_light_toon.svg"},"_f_tox":{"iconPath":"../../icons/file_type_tox.svg"},"_f_travis":{"iconPath":"../../icons/file_type_travis.svg"},"_f_tree":{"iconPath":"../../icons/file_type_tree.svg"},"_f_light_tree":{"iconPath":"../../icons/file_type_light_tree.svg"},"_f_tres":{"iconPath":"../../icons/file_type_tres.svg"},"_f_trivy":{"iconPath":"../../icons/file_type_trivy.svg"},"_f_light_trivy":{"iconPath":"../../icons/file_type_light_trivy.svg"},"_f_truffle":{"iconPath":"../../icons/file_type_truffle.svg"},"_f_trunk":{"iconPath":"../../icons/file_type_trunk.svg"},"_f_tsbuildinfo":{"iconPath":"../../icons/file_type_tsbuildinfo.svg"},"_f_tscn":{"iconPath":"../../icons/file_type_tscn.svg"},"_f_tsconfig":{"iconPath":"../../icons/file_type_tsconfig.svg"},"_f_tsdoc":{"iconPath":"../../icons/file_type_tsdoc.svg"},"_f_tsdown":{"iconPath":"../../icons/file_type_tsdown.svg"},"_f_tslint":{"iconPath":"../../icons/file_type_tslint.svg"},"_f_tt":{"iconPath":"../../icons/file_type_tt.svg"},"_f_ttcn":{"iconPath":"../../icons/file_type_ttcn.svg"},"_f_tuc":{"iconPath":"../../icons/file_type_tuc.svg"},"_f_turbo":{"iconPath":"../../icons/file_type_turbo.svg"},"_f_light_turbo":{"iconPath":"../../icons/file_type_light_turbo.svg"},"_f_twig":{"iconPath":"../../icons/file_type_twig.svg"},"_f_typedoc":{"iconPath":"../../icons/file_type_typedoc.svg"},"_f_typescript":{"iconPath":"../../icons/file_type_typescript.svg"},"_f_typescriptdef":{"iconPath":"../../icons/file_type_typescriptdef.svg"},"_f_typo3":{"iconPath":"../../icons/file_type_typo3.svg"},"_f_uiua":{"iconPath":"../../icons/file_type_uiua.svg"},"_f_unibeautify":{"iconPath":"../../icons/file_type_unibeautify.svg"},"_f_light_unibeautify":{"iconPath":"../../icons/file_type_light_unibeautify.svg"},"_f_unison":{"iconPath":"../../icons/file_type_unison.svg"},"_f_unlicense":{"iconPath":"../../icons/file_type_unlicense.svg"},"_f_unocss":{"iconPath":"../../icons/file_type_unocss.svg"},"_f_uv":{"iconPath":"../../icons/file_type_uv.svg"},"_f_vagrant":{"iconPath":"../../icons/file_type_vagrant.svg"},"_f_vala":{"iconPath":"../../icons/file_type_vala.svg"},"_f_vale":{"iconPath":"../../icons/file_type_vale.svg"},"_f_vanilla_extract":{"iconPath":"../../icons/file_type_vanilla_extract.svg"},"_f_vapi":{"iconPath":"../../icons/file_type_vapi.svg"},"_f_vapor":{"iconPath":"../../icons/file_type_vapor.svg"},"_f_vash":{"iconPath":"../../icons/file_type_vash.svg"},"_f_light_vash":{"iconPath":"../../icons/file_type_light_vash.svg"},"_f_vb":{"iconPath":"../../icons/file_type_vb.svg"},"_f_vba":{"iconPath":"../../icons/file_type_vba.svg"},"_f_vbhtml":{"iconPath":"../../icons/file_type_vbhtml.svg"},"_f_vbproj":{"iconPath":"../../icons/file_type_vbproj.svg"},"_f_vcxproj":{"iconPath":"../../icons/file_type_vcxproj.svg"},"_f_velocity":{"iconPath":"../../icons/file_type_velocity.svg"},"_f_vento":{"iconPath":"../../icons/file_type_vento.svg"},"_f_vercel":{"iconPath":"../../icons/file_type_vercel.svg"},"_f_light_vercel":{"iconPath":"../../icons/file_type_light_vercel.svg"},"_f_verilog":{"iconPath":"../../icons/file_type_verilog.svg"},"_f_vhdl":{"iconPath":"../../icons/file_type_vhdl.svg"},"_f_video":{"iconPath":"../../icons/file_type_video.svg"},"_f_view":{"iconPath":"../../icons/file_type_view.svg"},"_f_vim":{"iconPath":"../../icons/file_type_vim.svg"},"_f_vite":{"iconPath":"../../icons/file_type_vite.svg"},"_f_light_vite":{"iconPath":"../../icons/file_type_light_vite.svg"},"_f_vitest":{"iconPath":"../../icons/file_type_vitest.svg"},"_f_light_vitest":{"iconPath":"../../icons/file_type_light_vitest.svg"},"_f_vlang":{"iconPath":"../../icons/file_type_vlang.svg"},"_f_volt":{"iconPath":"../../icons/file_type_volt.svg"},"_f_vroom":{"iconPath":"../../icons/file_type_vroom.svg"},"_f_vscode":{"iconPath":"../../icons/file_type_vscode.svg"},"_f_vscode_test":{"iconPath":"../../icons/file_type_vscode_test.svg"},"_f_vsix":{"iconPath":"../../icons/file_type_vsix.svg"},"_f_light_vsix":{"iconPath":"../../icons/file_type_light_vsix.svg"},"_f_vsixmanifest":{"iconPath":"../../icons/file_type_vsixmanifest.svg"},"_f_light_vsixmanifest":{"iconPath":"../../icons/file_type_light_vsixmanifest.svg"},"_f_vue":{"iconPath":"../../icons/file_type_vue.svg"},"_f_vueconfig":{"iconPath":"../../icons/file_type_vueconfig.svg"},"_f_vvvvvv":{"iconPath":"../../icons/file_type_vvvvvv.svg"},"_f_vyper":{"iconPath":"../../icons/file_type_vyper.svg"},"_f_wallaby":{"iconPath":"../../icons/file_type_wallaby.svg"},"_f_wally":{"iconPath":"../../icons/file_type_wally.svg"},"_f_warp":{"iconPath":"../../icons/file_type_warp.svg"},"_f_light_warp":{"iconPath":"../../icons/file_type_light_warp.svg"},"_f_wasm":{"iconPath":"../../icons/file_type_wasm.svg"},"_f_wasp":{"iconPath":"../../icons/file_type_wasp.svg"},"_f_watchmanconfig":{"iconPath":"../../icons/file_type_watchmanconfig.svg"},"_f_wdio":{"iconPath":"../../icons/file_type_wdio.svg"},"_f_weblate":{"iconPath":"../../icons/file_type_weblate.svg"},"_f_webpack":{"iconPath":"../../icons/file_type_webpack.svg"},"_f_wenyan":{"iconPath":"../../icons/file_type_wenyan.svg"},"_f_wercker":{"iconPath":"../../icons/file_type_wercker.svg"},"_f_wesl":{"iconPath":"../../icons/file_type_wesl.svg"},"_f_light_wesl":{"iconPath":"../../icons/file_type_light_wesl.svg"},"_f_wgsl":{"iconPath":"../../icons/file_type_wgsl.svg"},"_f_wikitext":{"iconPath":"../../icons/file_type_wikitext.svg"},"_f_windi":{"iconPath":"../../icons/file_type_windi.svg"},"_f_wit":{"iconPath":"../../icons/file_type_wit.svg"},"_f_wolfram":{"iconPath":"../../icons/file_type_wolfram.svg"},"_f_word":{"iconPath":"../../icons/file_type_word.svg"},"_f_wpml":{"iconPath":"../../icons/file_type_wpml.svg"},"_f_wurst":{"iconPath":"../../icons/file_type_wurst.svg"},"_f_wxml":{"iconPath":"../../icons/file_type_wxml.svg"},"_f_wxss":{"iconPath":"../../icons/file_type_wxss.svg"},"_f_wxt":{"iconPath":"../../icons/file_type_wxt.svg"},"_f_xaml":{"iconPath":"../../icons/file_type_xaml.svg"},"_f_xcode":{"iconPath":"../../icons/file_type_xcode.svg"},"_f_xfl":{"iconPath":"../../icons/file_type_xfl.svg"},"_f_light_xfl":{"iconPath":"../../icons/file_type_light_xfl.svg"},"_f_xib":{"iconPath":"../../icons/file_type_xib.svg"},"_f_xliff":{"iconPath":"../../icons/file_type_xliff.svg"},"_f_xmake":{"iconPath":"../../icons/file_type_xmake.svg"},"_f_xml":{"iconPath":"../../icons/file_type_xml.svg"},"_f_xo":{"iconPath":"../../icons/file_type_xo.svg"},"_f_xorg":{"iconPath":"../../icons/file_type_xorg.svg"},"_f_light_xorg":{"iconPath":"../../icons/file_type_light_xorg.svg"},"_f_xquery":{"iconPath":"../../icons/file_type_xquery.svg"},"_f_xsl":{"iconPath":"../../icons/file_type_xsl.svg"},"_f_yacc":{"iconPath":"../../icons/file_type_yacc.svg"},"_f_yaml":{"iconPath":"../../icons/file_type_yaml.svg"},"_f_light_yaml":{"iconPath":"../../icons/file_type_light_yaml.svg"},"_f_yamllint":{"iconPath":"../../icons/file_type_yamllint.svg"},"_f_yandex":{"iconPath":"../../icons/file_type_yandex.svg"},"_f_yang":{"iconPath":"../../icons/file_type_yang.svg"},"_f_yarn":{"iconPath":"../../icons/file_type_yarn.svg"},"_f_yeoman":{"iconPath":"../../icons/file_type_yeoman.svg"},"_f_zig":{"iconPath":"../../icons/file_type_zig.svg"},"_f_zip":{"iconPath":"../../icons/file_type_zip.svg"},"_f_zizmor":{"iconPath":"../../icons/file_type_zizmor.svg"}}'),Qu="_file",Xu="_folder",Yu="_folder_open",Zu=JSON.parse('{"android":"_fd_android",".angular":"_fd_angular","apache":"_fd_apache","apache2":"_fd_apache","httpd":"_fd_apache","api":"_fd_api",".api":"_fd_api","apis":"_fd_api",".apis":"_fd_api","app":"_fd_app","apps":"_fd_app",".app":"_fd_app","application":"_fd_app","applications":"_fd_app","arangodb":"_fd_arangodb","arango":"_fd_arangodb","assets":"_fd_asset",".assets":"_fd_asset",".astro":"_fd_astro","audio":"_fd_audio",".audio":"_fd_audio","audios":"_fd_audio",".audios":"_fd_audio","sound":"_fd_audio",".sound":"_fd_audio","sounds":"_fd_audio",".sounds":"_fd_audio","aurelia_project":"_fd_aurelia","aws":"_fd_aws",".aws":"_fd_aws","azure":"_fd_azure",".azure":"_fd_azure","azure-pipelines":"_fd_azurepipelines",".azure-pipelines":"_fd_azurepipelines",".azuredevops":"_fd_azurepipelines",".vsts":"_fd_azurepipelines","bin":"_fd_binary",".bin":"_fd_binary","blocs":"_fd_bloc","bloc":"_fd_bloc","blueprint":"_fd_blueprint",".blueprint":"_fd_blueprint","blueprints":"_fd_blueprint",".blueprints":"_fd_blueprint","bot":"_fd_bot",".bot":"_fd_bot","bower_components":"_fd_bower",".buildkite":"_fd_buildkite","cake":"_fd_cake",".cake":"_fd_cake","cargo":"_fd_cargo",".cargo":"_fd_cargo","crates":"_fd_cargo","certificates":"_fd_certificate",".certificates":"_fd_certificate","certs":"_fd_certificate","certs.":"_fd_certificate",".changeset":"_fd_changesets","chef":"_fd_chef",".chef":"_fd_chef",".circleci":"_fd_circleci",".claude":"_fd_claude","cli":"_fd_cli","cmd":"_fd_cli","command":"_fd_cli","commands":"_fd_cli","commandline":"_fd_cli","console":"_fd_cli","client":"_fd_client","clients":"_fd_client",".cloudflare":"_fd_cloudflare","cloudflare":"_fd_cloudflare",".cmake":"_fd_cmake","cmake":"_fd_cmake","common":"_fd_common","component":"_fd_component","components":"_fd_component",".components":"_fd_component","gui":"_fd_component","src-ui":"_fd_component","ui":"_fd_component","widgets":"_fd_component","composer":"_fd_composer",".composer":"_fd_composer","conf":"_fd_config",".conf":"_fd_config","config":"_fd_config",".config":"_fd_config","configs":"_fd_config",".configs":"_fd_config","configuration":"_fd_config",".configuration":"_fd_config","configurations":"_fd_config",".configurations":"_fd_config","setting":"_fd_config",".setting":"_fd_config","settings":"_fd_config",".settings":"_fd_config","ini":"_fd_config",".ini":"_fd_config","initializers":"_fd_config",".initializers":"_fd_config","__controller__":"_fd_controller","__controllers__":"_fd_controller","controller":"_fd_controller","controllers":"_fd_controller",".controllers":"_fd_controller","__handler__":"_fd_controller","__handlers__":"_fd_controller","handler":"_fd_controller",".handler":"_fd_controller","handlers":"_fd_controller",".handlers":"_fd_controller","coverage":"_fd_coverage","css":"_fd_css","_css":"_fd_css","cubits":"_fd_cubit","cubit":"_fd_cubit",".cursor":"_fd_cursor","cypress":"_fd_cypress",".dapr":"_fd_dapr","dapr":"_fd_dapr","dart":"_fd_dart",".dart_tool":"_fd_dart",".databricks":"_fd_databricks","datadog":"_fd_datadog",".datadog":"_fd_datadog","db":"_fd_db","database":"_fd_db","sql":"_fd_db","data":"_fd_db","repo":"_fd_db","repository":"_fd_db","repositories":"_fd_db","store":"_fd_db","stores":"_fd_db","storage":"_fd_db","storages":"_fd_db","debian":"_fd_debian","deb":"_fd_debian",".dependabot":"_fd_dependabot",".devcontainer":"_fd_devcontainer",".devenv":"_fd_devenv","dist":"_fd_dist",".dist":"_fd_dist","dists":"_fd_dist","out":"_fd_dist","outs":"_fd_dist","export":"_fd_dist","exports":"_fd_dist","build":"_fd_dist",".build":"_fd_dist","builds":"_fd_dist","release":"_fd_dist","releases":"_fd_dist","target":"_fd_dist","targets":"_fd_dist","docker":"_fd_docker",".docker":"_fd_docker","docs":"_fd_docs","doc":"_fd_docs","document":"_fd_docs","documents":"_fd_docs","e2e":"_fd_e2e",".elasticbeanstalk":"_fd_elasticbeanstalk",".ebextensions":"_fd_elasticbeanstalk","electron":"_fd_electron","environments":"_fd_environments",".expo":"_fd_expo",".expo-shared":"_fd_expo","favicon":"_fd_favicon","favicons":"_fd_favicon","flow":"_fd_flow","flow-typed":"_fd_flow","flutter":"_fd_flutter","Flutter":"_fd_flutter","fonts":"_fd_fonts","font":"_fd_fonts","fnt":"_fd_fonts","webfonts":"_fd_fonts",".front-commerce":"_fd_frontcommerce","gcp":"_fd_gcp",".gcp":"_fd_gcp",".gemini":"_fd_gemini",".git":"_fd_git","submodules":"_fd_git",".submodules":"_fd_git",".github":"_fd_github",".gitlab":"_fd_gitlab","godot":"_fd_godot",".godot":"_fd_godot","gradle":"_fd_gradle",".gradle":"_fd_gradle","graphql":"_fd_graphql","grunt":"_fd_grunt","gulp":"_fd_gulp","gulpfile.js":"_fd_gulp","gulpfile.coffee":"_fd_gulp","gulpfile.ts":"_fd_gulp","gulpfile.babel.js":"_fd_gulp","gulpfile.babel.coffee":"_fd_gulp","gulpfile.babel.ts":"_fd_gulp",".haxelib":"_fd_haxelib","haxe_libraries":"_fd_haxelib","helper":"_fd_helper",".helper":"_fd_helper","helpers":"_fd_helper",".helpers":"_fd_helper",".histoire":"_fd_histoire","hook":"_fd_hook",".hook":"_fd_hook","hooks":"_fd_hook",".hooks":"_fd_hook",".husky":"_fd_husky",".idea":"_fd_idea",".fig":"_fd_images",".figs":"_fd_images","images":"_fd_images","image":"_fd_images",".img":"_fd_images","img":"_fd_images",".imgs":"_fd_images","imgs":"_fd_images","icons":"_fd_images","icon":"_fd_images","ico":"_fd_images","screenshot":"_fd_images","screenshots":"_fd_images","svg":"_fd_images","texture":"_fd_images","textures":"_fd_images","include":"_fd_include","includes":"_fd_include","incl":"_fd_include","inc":"_fd_include",".include":"_fd_include",".includes":"_fd_include",".incl":"_fd_include",".inc":"_fd_include","_include":"_fd_include","_includes":"_fd_include","_incl":"_fd_include","_inc":"_fd_include","interface":"_fd_interfaces","interfaces":"_fd_interfaces","ios":"_fd_ios","js":"_fd_js","json":"_fd_json",".junie":"_fd_junie",".kiro":"_fd_kiro","kotlin":"_fd_kotlin","Kotlin":"_fd_kotlin",".kotlin":"_fd_kotlin","kubernetes":"_fd_kubernetes","k8s":"_fd_kubernetes","kube":"_fd_kubernetes","kuber":"_fd_kubernetes",".kubernetes":"_fd_kubernetes",".k8s":"_fd_kubernetes",".kube":"_fd_kubernetes",".kuber":"_fd_kubernetes","less":"_fd_less","_less":"_fd_less","lib":"_fd_library","libs":"_fd_library",".lib":"_fd_library",".libs":"_fd_library","__lib__":"_fd_library","__libs__":"_fd_library","library":"_fd_library","libraries":"_fd_library","linux":"_fd_linux","lang":"_fd_locale","language":"_fd_locale","languages":"_fd_locale","locale":"_fd_locale","locales":"_fd_locale","_locale":"_fd_locale","_locales":"_fd_locale","internationalization":"_fd_locale","globalization":"_fd_locale","localization":"_fd_locale","i18n":"_fd_locale","g11n":"_fd_locale","l10n":"_fd_locale","log":"_fd_log","logs":"_fd_log","macos":"_fd_macos","darwin":"_fd_macos","mariadb":"_fd_mariadb","maria":"_fd_mariadb",".mvn":"_fd_maven","mediawiki":"_fd_mediawiki","memcached":"_fd_memcached",".memcached":"_fd_memcached",".meteor":"_fd_meteor","middleware":"_fd_middleware","middlewares":"_fd_middleware",".minecraft":"_fd_minecraft","minikube":"_fd_minikube","minik8s":"_fd_minikube","minikuber":"_fd_minikube","mjml":"_fd_mjml",".mjml":"_fd_mjml","mobile":"_fd_mobile","mobiles":"_fd_mobile",".mobile":"_fd_mobile",".mobiles":"_fd_mobile","mocks":"_fd_mock",".mocks":"_fd_mock","__mocks__":"_fd_mock","model":"_fd_model",".model":"_fd_model","models":"_fd_model",".models":"_fd_model","entities":"_fd_model",".entities":"_fd_model","modules":"_fd_module","mojo":"_fd_mojo","mongodb":"_fd_mongodb","mongo":"_fd_mongodb",".mypy_cache":"_fd_mypy","mysqldb":"_fd_mysql","mysql":"_fd_mysql","netlify":"_fd_netlify",".next":"_fd_next","nginx":"_fd_nginx","conf.d":"_fd_nginx",".niv":"_fd_nix",".nix":"_fd_nix","nix":"_fd_nix","niv":"_fd_nix","node_modules":"_fd_node","notebooks":"_fd_notebooks","notebook":"_fd_notebooks","notification":"_fd_notification","notifications":"_fd_notification","event":"_fd_notification","events":"_fd_notification",".nuget":"_fd_nuget","nuxt":"_fd_nuxt",".nuxt":"_fd_nuxt","package":"_fd_package","packages":"_fd_package",".package":"_fd_package",".packages":"_fd_package","pkg":"_fd_package",".paket":"_fd_paket","php":"_fd_php",".pio":"_fd_platformio",".pioenvs":"_fd_platformio","plugin":"_fd_plugin",".plugin":"_fd_plugin","plugins":"_fd_plugin",".plugins":"_fd_plugin","extension":"_fd_plugin",".extension":"_fd_plugin","extensions":"_fd_plugin",".extensions":"_fd_plugin","prisma":"_fd_prisma","private":"_fd_private",".private":"_fd_private","public":"_fd_public",".public":"_fd_public",".pytest_cache":"_fd_pytest",".venv":"_fd_python",".virtualenv":"_fd_python","__pycache__":"_fd_python","ravendb":"_fd_ravendb","redis":"_fd_redis","redux":"_fd_redux","route":"_fd_route","routes":"_fd_route","_route":"_fd_route","_routes":"_fd_route","router":"_fd_route","routers":"_fd_route","sass":"_fd_sass","scss":"_fd_sass","_sass":"_fd_sass","_scss":"_fd_sass","script":"_fd_script","scripts":"_fd_script","seedkit":"_fd_seedkit",".seedkit":"_fd_seedkit","server":"_fd_server","service":"_fd_services","services":"_fd_services","share":"_fd_shared","shared":"_fd_shared",".share":"_fd_shared",".shared":"_fd_shared","__shared__":"_fd_shared","__share__":"_fd_shared",".snaplet":"_fd_snaplet",".spin":"_fd_spin","src":"_fd_src","source":"_fd_src","sources":"_fd_src","__src__":"_fd_src","sso":"_fd_sso","story":"_fd_story","stories":"_fd_story","__stories__":"_fd_story",".storybook":"_fd_story","style":"_fd_style","styles":"_fd_style","supabase":"_fd_supabase","svelte":"_fd_svelte",".svelte-kit":"_fd_svelte","swagger":"_fd_swagger","src-tauri":"_fd_tauri","temp":"_fd_temp",".temp":"_fd_temp","tmp":"_fd_temp",".tmp":"_fd_temp","template":"_fd_template",".template":"_fd_template","templates":"_fd_template",".templates":"_fd_template","tests":"_fd_test",".tests":"_fd_test","test":"_fd_test",".test":"_fd_test","__tests__":"_fd_test","__test__":"_fd_test","spec":"_fd_test",".spec":"_fd_test","specs":"_fd_test",".specs":"_fd_test","integration":"_fd_test","theme":"_fd_theme","themes":"_fd_theme","tool":"_fd_tools","tools":"_fd_tools",".tools":"_fd_tools","util":"_fd_tools","utils":"_fd_tools","utilities":"_fd_tools","tooling":"_fd_tools",".travis":"_fd_travis",".trunk":"_fd_trunk",".turbo":"_fd_turbo","typescript":"_fd_typescript","ts":"_fd_typescript","typings":"_fd_typings","types":"_fd_typings","@types":"_fd_typings","vagrant":"_fd_vagrant",".vagrant":"_fd_vagrant",".vercel":"_fd_vercel","video":"_fd_video",".video":"_fd_video","videos":"_fd_video",".videos":"_fd_video","html":"_fd_view","view":"_fd_view","views":"_fd_view","layout":"_fd_view","layouts":"_fd_view","page":"_fd_view","pages":"_fd_view","_view":"_fd_view","_views":"_fd_view","_layout":"_fd_view","_layouts":"_fd_view","_page":"_fd_view","_pages":"_fd_view",".vitepress":"_fd_vitepress",".vs":"_fd_vs",".vscode":"_fd_vscode","vscode":"_fd_vscode",".vscode-test":"_fd_vscode_test","wasm":"_fd_wasm","WASM":"_fd_wasm","webassembly":"_fd_wasm","WebAssembly":"_fd_wasm","wasp":"_fd_wasp","webpack":"_fd_webpack",".webpack":"_fd_webpack","windows":"_fd_windows","win32":"_fd_windows",".windsurf":"_fd_windsurf","wit":"_fd_wit",".web":"_fd_www","www":"_fd_www","wwwroot":"_fd_www","web":"_fd_www",".yarn":"_fd_yarn",".zed":"_fd_zed"}'),Ju=JSON.parse('{"android":"_fd_android_open",".angular":"_fd_angular_open","apache":"_fd_apache_open","apache2":"_fd_apache_open","httpd":"_fd_apache_open","api":"_fd_api_open",".api":"_fd_api_open","apis":"_fd_api_open",".apis":"_fd_api_open","app":"_fd_app_open","apps":"_fd_app_open",".app":"_fd_app_open","application":"_fd_app_open","applications":"_fd_app_open","arangodb":"_fd_arangodb_open","arango":"_fd_arangodb_open","assets":"_fd_asset_open",".assets":"_fd_asset_open",".astro":"_fd_astro_open","audio":"_fd_audio_open",".audio":"_fd_audio_open","audios":"_fd_audio_open",".audios":"_fd_audio_open","sound":"_fd_audio_open",".sound":"_fd_audio_open","sounds":"_fd_audio_open",".sounds":"_fd_audio_open","aurelia_project":"_fd_aurelia_open","aws":"_fd_aws_open",".aws":"_fd_aws_open","azure":"_fd_azure_open",".azure":"_fd_azure_open","azure-pipelines":"_fd_azurepipelines_open",".azure-pipelines":"_fd_azurepipelines_open",".azuredevops":"_fd_azurepipelines_open",".vsts":"_fd_azurepipelines_open","bin":"_fd_binary_open",".bin":"_fd_binary_open","blocs":"_fd_bloc_open","bloc":"_fd_bloc_open","blueprint":"_fd_blueprint_open",".blueprint":"_fd_blueprint_open","blueprints":"_fd_blueprint_open",".blueprints":"_fd_blueprint_open","bot":"_fd_bot_open",".bot":"_fd_bot_open","bower_components":"_fd_bower_open",".buildkite":"_fd_buildkite_open","cake":"_fd_cake_open",".cake":"_fd_cake_open","cargo":"_fd_cargo_open",".cargo":"_fd_cargo_open","crates":"_fd_cargo_open","certificates":"_fd_certificate_open",".certificates":"_fd_certificate_open","certs":"_fd_certificate_open","certs.":"_fd_certificate_open",".changeset":"_fd_changesets_open","chef":"_fd_chef_open",".chef":"_fd_chef_open",".circleci":"_fd_circleci_open",".claude":"_fd_claude_open","cli":"_fd_cli_open","cmd":"_fd_cli_open","command":"_fd_cli_open","commands":"_fd_cli_open","commandline":"_fd_cli_open","console":"_fd_cli_open","client":"_fd_client_open","clients":"_fd_client_open",".cloudflare":"_fd_cloudflare_open","cloudflare":"_fd_cloudflare_open",".cmake":"_fd_cmake_open","cmake":"_fd_cmake_open","common":"_fd_common_open","component":"_fd_component_open","components":"_fd_component_open",".components":"_fd_component_open","gui":"_fd_component_open","src-ui":"_fd_component_open","ui":"_fd_component_open","widgets":"_fd_component_open","composer":"_fd_composer_open",".composer":"_fd_composer_open","conf":"_fd_config_open",".conf":"_fd_config_open","config":"_fd_config_open",".config":"_fd_config_open","configs":"_fd_config_open",".configs":"_fd_config_open","configuration":"_fd_config_open",".configuration":"_fd_config_open","configurations":"_fd_config_open",".configurations":"_fd_config_open","setting":"_fd_config_open",".setting":"_fd_config_open","settings":"_fd_config_open",".settings":"_fd_config_open","ini":"_fd_config_open",".ini":"_fd_config_open","initializers":"_fd_config_open",".initializers":"_fd_config_open","__controller__":"_fd_controller_open","__controllers__":"_fd_controller_open","controller":"_fd_controller_open","controllers":"_fd_controller_open",".controllers":"_fd_controller_open","__handler__":"_fd_controller_open","__handlers__":"_fd_controller_open","handler":"_fd_controller_open",".handler":"_fd_controller_open","handlers":"_fd_controller_open",".handlers":"_fd_controller_open","coverage":"_fd_coverage_open","css":"_fd_css_open","_css":"_fd_css_open","cubits":"_fd_cubit_open","cubit":"_fd_cubit_open",".cursor":"_fd_cursor_open","cypress":"_fd_cypress_open",".dapr":"_fd_dapr_open","dapr":"_fd_dapr_open","dart":"_fd_dart_open",".dart_tool":"_fd_dart_open",".databricks":"_fd_databricks_open","datadog":"_fd_datadog_open",".datadog":"_fd_datadog_open","db":"_fd_db_open","database":"_fd_db_open","sql":"_fd_db_open","data":"_fd_db_open","repo":"_fd_db_open","repository":"_fd_db_open","repositories":"_fd_db_open","store":"_fd_db_open","stores":"_fd_db_open","storage":"_fd_db_open","storages":"_fd_db_open","debian":"_fd_debian_open","deb":"_fd_debian_open",".dependabot":"_fd_dependabot_open",".devcontainer":"_fd_devcontainer_open",".devenv":"_fd_devenv_open","dist":"_fd_dist_open",".dist":"_fd_dist_open","dists":"_fd_dist_open","out":"_fd_dist_open","outs":"_fd_dist_open","export":"_fd_dist_open","exports":"_fd_dist_open","build":"_fd_dist_open",".build":"_fd_dist_open","builds":"_fd_dist_open","release":"_fd_dist_open","releases":"_fd_dist_open","target":"_fd_dist_open","targets":"_fd_dist_open","docker":"_fd_docker_open",".docker":"_fd_docker_open","docs":"_fd_docs_open","doc":"_fd_docs_open","document":"_fd_docs_open","documents":"_fd_docs_open","e2e":"_fd_e2e_open",".elasticbeanstalk":"_fd_elasticbeanstalk_open",".ebextensions":"_fd_elasticbeanstalk_open","electron":"_fd_electron_open","environments":"_fd_environments_open",".expo":"_fd_expo_open",".expo-shared":"_fd_expo_open","favicon":"_fd_favicon_open","favicons":"_fd_favicon_open","flow":"_fd_flow_open","flow-typed":"_fd_flow_open","flutter":"_fd_flutter_open","Flutter":"_fd_flutter_open","fonts":"_fd_fonts_open","font":"_fd_fonts_open","fnt":"_fd_fonts_open","webfonts":"_fd_fonts_open",".front-commerce":"_fd_frontcommerce_open","gcp":"_fd_gcp_open",".gcp":"_fd_gcp_open",".gemini":"_fd_gemini_open",".git":"_fd_git_open","submodules":"_fd_git_open",".submodules":"_fd_git_open",".github":"_fd_github_open",".gitlab":"_fd_gitlab_open","godot":"_fd_godot_open",".godot":"_fd_godot_open","gradle":"_fd_gradle_open",".gradle":"_fd_gradle_open","graphql":"_fd_graphql_open","grunt":"_fd_grunt_open","gulp":"_fd_gulp_open","gulpfile.js":"_fd_gulp_open","gulpfile.coffee":"_fd_gulp_open","gulpfile.ts":"_fd_gulp_open","gulpfile.babel.js":"_fd_gulp_open","gulpfile.babel.coffee":"_fd_gulp_open","gulpfile.babel.ts":"_fd_gulp_open",".haxelib":"_fd_haxelib_open","haxe_libraries":"_fd_haxelib_open","helper":"_fd_helper_open",".helper":"_fd_helper_open","helpers":"_fd_helper_open",".helpers":"_fd_helper_open",".histoire":"_fd_histoire_open","hook":"_fd_hook_open",".hook":"_fd_hook_open","hooks":"_fd_hook_open",".hooks":"_fd_hook_open",".husky":"_fd_husky_open",".idea":"_fd_idea_open",".fig":"_fd_images_open",".figs":"_fd_images_open","images":"_fd_images_open","image":"_fd_images_open",".img":"_fd_images_open","img":"_fd_images_open",".imgs":"_fd_images_open","imgs":"_fd_images_open","icons":"_fd_images_open","icon":"_fd_images_open","ico":"_fd_images_open","screenshot":"_fd_images_open","screenshots":"_fd_images_open","svg":"_fd_images_open","texture":"_fd_images_open","textures":"_fd_images_open","include":"_fd_include_open","includes":"_fd_include_open","incl":"_fd_include_open","inc":"_fd_include_open",".include":"_fd_include_open",".includes":"_fd_include_open",".incl":"_fd_include_open",".inc":"_fd_include_open","_include":"_fd_include_open","_includes":"_fd_include_open","_incl":"_fd_include_open","_inc":"_fd_include_open","interface":"_fd_interfaces_open","interfaces":"_fd_interfaces_open","ios":"_fd_ios_open","js":"_fd_js_open","json":"_fd_json_open",".junie":"_fd_junie_open",".kiro":"_fd_kiro_open","kotlin":"_fd_kotlin_open","Kotlin":"_fd_kotlin_open",".kotlin":"_fd_kotlin_open","kubernetes":"_fd_kubernetes_open","k8s":"_fd_kubernetes_open","kube":"_fd_kubernetes_open","kuber":"_fd_kubernetes_open",".kubernetes":"_fd_kubernetes_open",".k8s":"_fd_kubernetes_open",".kube":"_fd_kubernetes_open",".kuber":"_fd_kubernetes_open","less":"_fd_less_open","_less":"_fd_less_open","lib":"_fd_library_open","libs":"_fd_library_open",".lib":"_fd_library_open",".libs":"_fd_library_open","__lib__":"_fd_library_open","__libs__":"_fd_library_open","library":"_fd_library_open","libraries":"_fd_library_open","linux":"_fd_linux_open","lang":"_fd_locale_open","language":"_fd_locale_open","languages":"_fd_locale_open","locale":"_fd_locale_open","locales":"_fd_locale_open","_locale":"_fd_locale_open","_locales":"_fd_locale_open","internationalization":"_fd_locale_open","globalization":"_fd_locale_open","localization":"_fd_locale_open","i18n":"_fd_locale_open","g11n":"_fd_locale_open","l10n":"_fd_locale_open","log":"_fd_log_open","logs":"_fd_log_open","macos":"_fd_macos_open","darwin":"_fd_macos_open","mariadb":"_fd_mariadb_open","maria":"_fd_mariadb_open",".mvn":"_fd_maven_open","mediawiki":"_fd_mediawiki_open","memcached":"_fd_memcached_open",".memcached":"_fd_memcached_open",".meteor":"_fd_meteor_open","middleware":"_fd_middleware_open","middlewares":"_fd_middleware_open",".minecraft":"_fd_minecraft_open","minikube":"_fd_minikube_open","minik8s":"_fd_minikube_open","minikuber":"_fd_minikube_open","mjml":"_fd_mjml_open",".mjml":"_fd_mjml_open","mobile":"_fd_mobile_open","mobiles":"_fd_mobile_open",".mobile":"_fd_mobile_open",".mobiles":"_fd_mobile_open","mocks":"_fd_mock_open",".mocks":"_fd_mock_open","__mocks__":"_fd_mock_open","model":"_fd_model_open",".model":"_fd_model_open","models":"_fd_model_open",".models":"_fd_model_open","entities":"_fd_model_open",".entities":"_fd_model_open","modules":"_fd_module_open","mojo":"_fd_mojo_open","mongodb":"_fd_mongodb_open","mongo":"_fd_mongodb_open",".mypy_cache":"_fd_mypy_open","mysqldb":"_fd_mysql_open","mysql":"_fd_mysql_open","netlify":"_fd_netlify_open",".next":"_fd_next_open","nginx":"_fd_nginx_open","conf.d":"_fd_nginx_open",".niv":"_fd_nix_open",".nix":"_fd_nix_open","nix":"_fd_nix_open","niv":"_fd_nix_open","node_modules":"_fd_node_open","notebooks":"_fd_notebooks_open","notebook":"_fd_notebooks_open","notification":"_fd_notification_open","notifications":"_fd_notification_open","event":"_fd_notification_open","events":"_fd_notification_open",".nuget":"_fd_nuget_open","nuxt":"_fd_nuxt_open",".nuxt":"_fd_nuxt_open","package":"_fd_package_open","packages":"_fd_package_open",".package":"_fd_package_open",".packages":"_fd_package_open","pkg":"_fd_package_open",".paket":"_fd_paket_open","php":"_fd_php_open",".pio":"_fd_platformio_open",".pioenvs":"_fd_platformio_open","plugin":"_fd_plugin_open",".plugin":"_fd_plugin_open","plugins":"_fd_plugin_open",".plugins":"_fd_plugin_open","extension":"_fd_plugin_open",".extension":"_fd_plugin_open","extensions":"_fd_plugin_open",".extensions":"_fd_plugin_open","prisma":"_fd_prisma_open","private":"_fd_private_open",".private":"_fd_private_open","public":"_fd_public_open",".public":"_fd_public_open",".pytest_cache":"_fd_pytest_open",".venv":"_fd_python_open",".virtualenv":"_fd_python_open","__pycache__":"_fd_python_open","ravendb":"_fd_ravendb_open","redis":"_fd_redis_open","redux":"_fd_redux_open","route":"_fd_route_open","routes":"_fd_route_open","_route":"_fd_route_open","_routes":"_fd_route_open","router":"_fd_route_open","routers":"_fd_route_open","sass":"_fd_sass_open","scss":"_fd_sass_open","_sass":"_fd_sass_open","_scss":"_fd_sass_open","script":"_fd_script_open","scripts":"_fd_script_open","seedkit":"_fd_seedkit_open",".seedkit":"_fd_seedkit_open","server":"_fd_server_open","service":"_fd_services_open","services":"_fd_services_open","share":"_fd_shared_open","shared":"_fd_shared_open",".share":"_fd_shared_open",".shared":"_fd_shared_open","__shared__":"_fd_shared_open","__share__":"_fd_shared_open",".snaplet":"_fd_snaplet_open",".spin":"_fd_spin_open","src":"_fd_src_open","source":"_fd_src_open","sources":"_fd_src_open","__src__":"_fd_src_open","sso":"_fd_sso_open","story":"_fd_story_open","stories":"_fd_story_open","__stories__":"_fd_story_open",".storybook":"_fd_story_open","style":"_fd_style_open","styles":"_fd_style_open","supabase":"_fd_supabase_open","svelte":"_fd_svelte_open",".svelte-kit":"_fd_svelte_open","swagger":"_fd_swagger_open","src-tauri":"_fd_tauri_open","temp":"_fd_temp_open",".temp":"_fd_temp_open","tmp":"_fd_temp_open",".tmp":"_fd_temp_open","template":"_fd_template_open",".template":"_fd_template_open","templates":"_fd_template_open",".templates":"_fd_template_open","tests":"_fd_test_open",".tests":"_fd_test_open","test":"_fd_test_open",".test":"_fd_test_open","__tests__":"_fd_test_open","__test__":"_fd_test_open","spec":"_fd_test_open",".spec":"_fd_test_open","specs":"_fd_test_open",".specs":"_fd_test_open","integration":"_fd_test_open","theme":"_fd_theme_open","themes":"_fd_theme_open","tool":"_fd_tools_open","tools":"_fd_tools_open",".tools":"_fd_tools_open","util":"_fd_tools_open","utils":"_fd_tools_open","utilities":"_fd_tools_open","tooling":"_fd_tools_open",".travis":"_fd_travis_open",".trunk":"_fd_trunk_open",".turbo":"_fd_turbo_open","typescript":"_fd_typescript_open","ts":"_fd_typescript_open","typings":"_fd_typings_open","types":"_fd_typings_open","@types":"_fd_typings_open","vagrant":"_fd_vagrant_open",".vagrant":"_fd_vagrant_open",".vercel":"_fd_vercel_open","video":"_fd_video_open",".video":"_fd_video_open","videos":"_fd_video_open",".videos":"_fd_video_open","html":"_fd_view_open","view":"_fd_view_open","views":"_fd_view_open","layout":"_fd_view_open","layouts":"_fd_view_open","page":"_fd_view_open","pages":"_fd_view_open","_view":"_fd_view_open","_views":"_fd_view_open","_layout":"_fd_view_open","_layouts":"_fd_view_open","_page":"_fd_view_open","_pages":"_fd_view_open",".vitepress":"_fd_vitepress_open",".vs":"_fd_vs_open",".vscode":"_fd_vscode_open","vscode":"_fd_vscode_open",".vscode-test":"_fd_vscode_test_open","wasm":"_fd_wasm_open","WASM":"_fd_wasm_open","webassembly":"_fd_wasm_open","WebAssembly":"_fd_wasm_open","wasp":"_fd_wasp_open","webpack":"_fd_webpack_open",".webpack":"_fd_webpack_open","windows":"_fd_windows_open","win32":"_fd_windows_open",".windsurf":"_fd_windsurf_open","wit":"_fd_wit_open",".web":"_fd_www_open","www":"_fd_www_open","wwwroot":"_fd_www_open","web":"_fd_www_open",".yarn":"_fd_yarn_open",".zed":"_fd_zed_open"}'),eh=JSON.parse('{"accdb":"_f_access","accdt":"_f_access","mdb":"_f_access","accda":"_f_access","accdc":"_f_access","accde":"_f_access","accdp":"_f_access","accdr":"_f_access","accdu":"_f_access","ade":"_f_access","adp":"_f_access","laccdb":"_f_access","ldb":"_f_access","mam":"_f_access","maq":"_f_access","mdw":"_f_access","af":"_f_affinity","aftemplate":"_f_affinity","afdesign":"_f_affinitydesigner","affinitydesigner":"_f_affinitydesigner","afphoto":"_f_affinityphoto","affinityphoto":"_f_affinityphoto","afpub":"_f_affinitypublisher","affinitypublisher":"_f_affinitypublisher","ai":"_f_ai","dal":"_f_al_dal","gs":"_f_appscript","ino":"_f_arduino","pde":"_f_arduino","ase":"_f_aseprite","aseprite":"_f_aseprite","aspx":"_f_aspx","ascx":"_f_aspx","asm":"_f_assembly","s":"_f_assembly","astro":"_f_astro","atom":"_f_atom","aac":"_f_audio","act":"_f_audio","aiff":"_f_audio","amr":"_f_audio","ape":"_f_audio","au":"_f_audio","dct":"_f_audio","dss":"_f_audio","dvf":"_f_audio","flac":"_f_audio","gsm":"_f_audio","iklax":"_f_audio","ivs":"_f_audio","m4a":"_f_audio","m4b":"_f_audio","m4p":"_f_audio","mmf":"_f_audio","mogg":"_f_audio","mp3":"_f_audio","mpc":"_f_audio","msv":"_f_audio","oga":"_f_audio","ogg":"_f_audio","opus":"_f_audio","ra":"_f_audio","raw":"_f_audio","tta":"_f_audio","vox":"_f_audio","wav":"_f_audio","wma":"_f_audio","avif":"_f_avif","awk":"_f_awk","back":"_f_bak","backup":"_f_bak","bak":"_f_bak","a":"_f_binary","app":"_f_binary","bin":"_f_binary","cmo":"_f_binary","cmx":"_f_binary","cma":"_f_binary","cmxa":"_f_binary","cmi":"_f_binary","dll":"_f_binary","exe":"_f_binary","hl":"_f_binary","ilk":"_f_binary","lib":"_f_binary","n":"_f_binary","ndll":"_f_binary","o":"_f_binary","obj":"_f_binary","pyc":"_f_binary","pyd":"_f_binary","pyo":"_f_binary","pdb":"_f_binary","scpt":"_f_binary","scptd":"_f_binary","so":"_f_binary","blend":"_f_blender","bb":"_f_blitzbasic","buf.yaml":"_f_buf","buf.yml":"_f_buf","buf.gen.yml":"_f_buf","buf.gen.yaml":"_f_buf","buf.work.yaml":"_f_buf","buf.work.yml":"_f_buf","gemfile":"_f_bundler","gemfile.lock":"_f_bundler","cake":"_f_cake","csr":"_f_cert","crt":"_f_cert","cer":"_f_cert","der":"_f_cert","pfx":"_f_cert","p12":"_f_cert","p7b":"_f_cert","p7r":"_f_cert","src":"_f_cert","crl":"_f_cert","sst":"_f_cert","stl":"_f_cert","lucee":"_f_cf","h":"_f_cheader","class":"_f_class","cjm":"_f_clojure","cljc":"_f_clojure","cljs":"_f_clojurescript","kit":"_f_codekit","plist":"_f_config","lcov":"_f_coverage","hpp":"_f_cppheader","hh":"_f_cppheader","hxx":"_f_cppheader","h++":"_f_cppheader","csx":"_f_csharp","csproj":"_f_csproj","css.map":"_f_cssmap","cy.js":"_f_cypress_spec","cy.mjs":"_f_cypress_spec","cy.cjs":"_f_cypress_spec","cy.coffee":"_f_cypress_spec","cy.ts":"_f_cypress_spec","cy.tsx":"_f_cypress_spec","cy.jsx":"_f_cypress_spec","g.dart":"_f_dartlang_generated","freezed.dart":"_f_dartlang_generated","db":"_f_db","deb":"_f_debian","resolver.json":"_f_design_tokens","resolver.json5":"_f_design_tokens","resolver.jsonc":"_f_design_tokens","tokens.json":"_f_design_tokens","tokens.json5":"_f_design_tokens","tokens.jsonc":"_f_design_tokens","djt":"_f_django","eco":"_f_docpad","drawio":"_f_drawio","dio":"_f_drawio","drawio.png":"_f_drawio","drawio.svg":"_f_drawio","dio.png":"_f_drawio","dio.svg":"_f_drawio","dtd":"_f_dtd","duckdb":"_f_duckdb","eex":"_f_eex","heex":"_f_eex","phoenix-heex":"_f_eex","html-heex":"_f_eex","ejs":"_f_ejs","el":"_f_emacs","elc":"_f_emacs","ensime":"_f_ensime","eps":"_f_eps","epub":"_f_epub","excalidraw":"_f_excalidraw","excalidraw.json":"_f_excalidraw","excalidraw.svg":"_f_excalidraw","excalidraw.png":"_f_excalidraw","xls":"_f_excel","xlsx":"_f_excel","xlsm":"_f_excel","ods":"_f_libreoffice_calc","fods":"_f_libreoffice_calc","xlsb":"_f_excel","fbx":"_f_fbx","fba":"_f_fitbit","fla":"_f_fla","swf":"_f_flash","swc":"_f_flash","js.flow":"_f_flow","fprg":"_f_flowgorithm","woff":"_f_font","woff2":"_f_font","ttf":"_f_font","otf":"_f_libreoffice_math","eot":"_f_font","pfa":"_f_font","pfb":"_f_font","sfd":"_f_font","fzz":"_f_fritzing","fz":"_f_fritzing","fzpz":"_f_fritzing","fzp":"_f_fritzing","fzbz":"_f_fritzing","fzb":"_f_fritzing","fsproj":"_f_fsproj","gmx":"_f_gamemaker","yy":"_f_gamemaker2","yyp":"_f_gamemaker2","gd.uid":"_f_gduid","geojson":"_f_geojson","xcf":"_f_gimp","gleam":"_f_gleam","glb":"_f_gltf","gltf":"_f_gltf","am":"_f_gnu","ld":"_f_gnu","m4":"_f_gnu","makefile":"_f_gnu","godot":"_f_godot","gpg":"_f_gpg","pgp":"_f_gpg","gradle":"_f_gradle","gr":"_f_grain","hcl2":"_f_hashicorp","sentinel":"_f_hashicorp","hxproj":"_f_haxedevelop","ejs.t":"_f_hygen","idr":"_f_idris","lidr":"_f_idris","ibc":"_f_idrisbin","ipkg":"_f_idrispkg","jpeg":"_f_image","jpg":"_f_image","gif":"_f_image","png":"_f_image","bmp":"_f_image","tiff":"_f_image","heic":"_f_image","ico":"_f_image","icns":"_f_image","webp":"_f_image","imba":"_f_imba","imba2":"_f_imba","inc":"_f_inc","include":"_f_inc","infopathxml":"_f_infopath","xsn":"_f_infopath","xsf":"_f_infopath","xtp2":"_f_infopath","jar":"_f_jar","jbuilder":"_f_jbuilder","iml":"_f_jetbrains","js.map":"_f_jsmap","cjs.map":"_f_jsmap","mjs.map":"_f_jsmap","jsonl":"_f_json","ndjson":"_f_json","json5":"_f_json5","schema.json":"_f_json_schema","jsonld":"_f_jsonld","json-ld":"_f_jsonld","jsp":"_f_jsp","jss":"_f_jss","juice":"_f_juice","ipynb":"_f_jupyter","key":"_f_key","pem":"_f_key","ktm":"_f_kotlin","language-configuration.json":"_f_language_configuration","master":"_f_layout","layout.html":"_f_layout","layout.htm":"_f_layout","lemon":"_f_lemon","odb":"_f_libreoffice_base","otb":"_f_libreoffice_base","ots":"_f_libreoffice_calc","odg":"_f_libreoffice_draw","otg":"_f_libreoffice_draw","odp":"_f_libreoffice_impress","otp":"_f_libreoffice_impress","odf":"_f_libreoffice_math","odt":"_f_libreoffice_writer","ott":"_f_libreoffice_writer","enc":"_f_license","license":"_f_license","lic":"_f_license","hxp":"_f_lime","ls":"_f_livescript","lnk":"_f_lnk","log":"_f_log","tlg":"_f_log","luau":"_f_luau","crec":"_f_lync","ocrec":"_f_lync","map":"_f_map","mdown":"_f_markdown","markdown":"_f_markdown","marko.js":"_f_markojs","fig":"_f_matlab","mex":"_f_matlab","mexn":"_f_matlab","mexrs6":"_f_matlab","mn":"_f_matlab","mum":"_f_matlab","mx":"_f_matlab","mx3":"_f_matlab","rwd":"_f_matlab","slx":"_f_matlab","slddc":"_f_matlab","smv":"_f_matlab","xvc":"_f_matlab","mca":"_f_minecraft","mcmeta":"_f_minecraft","mojo":"_f_mojo","🔥":"_f_mojo","mql.yaml":"_f_mondoo","mql.yml":"_f_mondoo","mustache":"_f_mustache","mst":"_f_mustache","n64":"_f_n64","z64":"_f_n64","nrm":"_f_n64","ndst.yaml":"_f_ndst","ndst.yml":"_f_ndst","ndst.json":"_f_ndst","njsproj":"_f_njsproj","noc":"_f_noc","nupkg":"_f_nuget","snupkg":"_f_nuget","nuspec":"_f_nuget","psmdcp":"_f_nuget","npy":"_f_numpy","npz":"_f_numpy","nunj":"_f_nunjucks","njs":"_f_nunjucks","mli":"_f_ocaml_intf","one":"_f_onenote","onepkg":"_f_onenote","onetoc":"_f_onenote","onetoc2":"_f_onenote","sig":"_f_onenote","opam":"_f_opam","cl":"_f_opencl","opencl":"_f_opencl","tofu":"_f_opentofu","tofu.json":"_f_opentofu","tofutest.hcl":"_f_opentofu","tofutest.json":"_f_opentofu","org":"_f_org","pst":"_f_outlook","bcmx":"_f_outlook","otm":"_f_outlook","msg":"_f_outlook","oft":"_f_outlook","ovpn":"_f_ovpn","pkg":"_f_package","paket.references":"_f_paket","paket.template":"_f_paket","parquet":"_f_parquet","patch":"_f_patch","pcd":"_f_pcl","pdf":"_f_pdf","psd":"_f_photoshop","php1":"_f_php","php2":"_f_php","php3":"_f_php","php4":"_f_php","php5":"_f_php","php6":"_f_php","phps":"_f_php","phpsa":"_f_php","phpt":"_f_php","phtml":"_f_php","phar":"_f_php","pipeline":"_f_pipeline","pu":"_f_plantuml","plantuml":"_f_plantuml","iuml":"_f_plantuml","puml":"_f_plantuml","pck":"_f_plsql_package","pkb":"_f_plsql_package_body","pkh":"_f_plsql_package_header","pks":"_f_plsql_package_spec","po":"_f_poedit","mo":"_f_poedit","postman_collection.json":"_f_postman","postman_environment.json":"_f_postman","postman_globals.json":"_f_postman","pot":"_f_powerpoint","potx":"_f_powerpoint","potm":"_f_powerpoint","pps":"_f_powerpoint","ppsx":"_f_powerpoint","ppsm":"_f_powerpoint","ppt":"_f_powerpoint","pptx":"_f_powerpoint","pptm":"_f_powerpoint","pa":"_f_powerpoint","ppa":"_f_powerpoint","ppam":"_f_powerpoint","sldm":"_f_powerpoint","sldx":"_f_powerpoint","format.ps1xml":"_f_powershell_format","psd1":"_f_powershell_psd","psm1":"_f_powershell_psm","types.ps1xml":"_f_powershell_types","pro":"_f_prolog","pub":"_f_publisher","puz":"_f_publisher","pyowo":"_f_pythowo","q":"_f_q","qbs":"_f_qbs","qvd":"_f_qlikview","qvw":"_f_qlikview","rast":"_f_ra_syntax_tree","rake":"_f_rake","rt":"_f_reacttemplate","reg":"_f_registry","rego":"_f_rego","ripple":"_f_ripple","rnc":"_f_rnc","ron":"_f_ron","rproj":"_f_rproj","rss":"_f_rss","rbs":"_f_ruby","safetensors":"_f_safetensors","sls":"_f_saltstack","sass":"_f_sass","scssm":"_f_scss","unity":"_f_shaderlab","fish":"_f_shell","sy":"_f_siyuan","sketch":"_f_sketch","eskip":"_f_skipper","sln":"_f_sln","slnx":"_f_sln","slnf":"_f_sln","spe":"_f_spacengine","sqlite":"_f_sqlite","sqlite3":"_f_sqlite","db3":"_f_sqlite","sss":"_f_sss","dta":"_f_stata","storyboard":"_f_storyboard","story.js":"_f_storybook","story.jsx":"_f_storybook","story.ts":"_f_storybook","story.tsx":"_f_storybook","story.mdx":"_f_storybook","story.svelte":"_f_storybook","stories.js":"_f_storybook","stories.jsx":"_f_storybook","stories.ts":"_f_storybook","stories.tsx":"_f_storybook","stories.mdx":"_f_storybook","stories.svelte":"_f_storybook","sublime-project":"_f_sublime","svg":"_f_svg","tcl":"_f_tcl","exp":"_f_tcl","templ":"_f_templ","tfstate":"_f_terraform","tfvars":"_f_terraform","tf":"_f_terraform","tf.json":"_f_terraform","tst":"_f_test","test.js":"_f_testjs","test.jsx":"_f_testjs","test.mjs":"_f_testjs","spec.js":"_f_testjs","spec.jsx":"_f_testjs","spec.mjs":"_f_testjs","testplane.ts":"_f_testplane","testplane.js":"_f_testplane","testplane.cts":"_f_testplane","testplane.cjs":"_f_testplane","testplane.tsx":"_f_testplane","testplane.jsx":"_f_testplane","test.ts":"_f_testts","test.tsx":"_f_testts","test.mts":"_f_testts","spec.ts":"_f_testts","spec.tsx":"_f_testts","spec.mts":"_f_testts","e2e-test.ts":"_f_testts","e2e-test.tsx":"_f_testts","e2e-test.mts":"_f_testts","e2e-spec.ts":"_f_testts","e2e-spec.tsx":"_f_testts","e2e-spec.mts":"_f_testts","test-d.ts":"_f_testts","test-d.tsx":"_f_testts","test-d.mts":"_f_testts","texi":"_f_tex","tikz":"_f_tex","csv":"_f_text","tsv":"_f_text","tm":"_f_tm","tm.hcl":"_f_tm","todo":"_f_todo","tree":"_f_tree","tres":"_f_tres","tsbuildinfo":"_f_tsbuildinfo","tscn":"_f_tscn","tt2":"_f_tt","d.ts":"_f_typescriptdef","d.cts":"_f_typescriptdef","d.mts":"_f_typescriptdef","ua":"_f_uiua","u":"_f_unison","vala":"_f_vala","css.ts":"_f_vanilla_extract","vapi":"_f_vapi","vash":"_f_vash","vbhtml":"_f_vbhtml","vbproj":"_f_vbproj","vcxproj":"_f_vcxproj","vto":"_f_vento","vento":"_f_vento","3g2":"_f_video","3gp":"_f_video","asf":"_f_video","amv":"_f_video","avi":"_f_video","divx":"_f_video","qt":"_f_video","f4a":"_f_video","f4b":"_f_video","f4p":"_f_video","f4v":"_f_video","flv":"_f_video","m2v":"_f_video","m4v":"_f_video","mkv":"_f_video","mk3d":"_f_video","mov":"_f_video","mp2":"_f_video","mp4":"_f_video","mpe":"_f_video","mpeg":"_f_video","mpeg2":"_f_video","mpg":"_f_video","mpv":"_f_video","nsv":"_f_video","ogv":"_f_video","rm":"_f_video","rmvb":"_f_video","svi":"_f_video","vob":"_f_video","webm":"_f_video","wmv":"_f_video","code-snippets":"_f_vscode","code-workspace":"_f_vscode","vsix":"_f_vsix","vsixmanifest":"_f_vsixmanifest","vvvvvv":"_f_vvvvvv","vyi":"_f_vyper","wasm":"_f_wasm","wasp.ts":"_f_wasp","wikitext":"_f_wikitext","wit":"_f_wit","doc":"_f_word","docx":"_f_word","docm":"_f_word","dot":"_f_word","dotx":"_f_word","dotm":"_f_word","wll":"_f_word","wxml":"_f_wxml","wxss":"_f_wxss","xaml":"_f_xaml","axaml":"_f_xaml","xcodeproj":"_f_xcode","xfl":"_f_xfl","xib":"_f_xib","xliff":"_f_xliff","xlf":"_f_xliff","pex":"_f_xml","tmlanguage":"_f_xml","zip":"_f_zip","rar":"_f_zip","7z":"_f_zip","tar":"_f_zip","tgz":"_f_zip","bz":"_f_zip","gz":"_f_zip","bzip2":"_f_zip","xz":"_f_zip","bz2":"_f_zip","whl":"_f_zip","zipx":"_f_zip","br":"_f_zip"}'),th=JSON.parse('{"agents.md":"_f_agents","alchemy.run.ts":"_f_alchemy",".all-contributorsrc":"_f_allcontributors","allurerc.js":"_f_allure","allurerc.mjs":"_f_allure","allurerc.cjs":"_f_allure","allurerc.json":"_f_allure","allurerc.yaml":"_f_allure","allurerc.yml":"_f_allure",".angular-cli.json":"_f_angular","angular-cli.json":"_f_angular","angular.json":"_f_angular",".angular.json":"_f_angular","antlers.html":"_f_antlers_html","api-extractor.json":"_f_api_extractor","api-extractor-base.json":"_f_api_extractor",".appsemblerc.yaml":"_f_appsemble","app-definition.yaml":"_f_appsemble","appveyor.yml":"_f_appveyor",".appveyor.yml":"_f_appveyor","asconfig.json":"_f_assembly_script","astro.config.js":"_f_astroconfig","astro.config.cjs":"_f_astroconfig","astro.config.mjs":"_f_astroconfig","astro.config.ts":"_f_astroconfig","astro.config.cts":"_f_astroconfig","astro.config.mts":"_f_astroconfig",".attw.json":"_f_attw","aurelia.json":"_f_aurelia","azure-pipelines.yml":"_f_azurepipelines",".vsts-ci.yml":"_f_azurepipelines",".babelrc":"_f_babel",".babelignore":"_f_babel",".babelrc.js":"_f_babel",".babelrc.cjs":"_f_babel",".babelrc.mjs":"_f_babel",".babelrc.json":"_f_babel","babel.config.js":"_f_babel","babel.config.cjs":"_f_babel","babel.config.mjs":"_f_babel","babel.config.json":"_f_babel",".bzrignore":"_f_bazaar","BUILD.bazel":"_f_bazel",".bazelrc":"_f_bazel","bazel.rc":"_f_bazel","bazel.bazelrc":"_f_bazel",".bazelignore":"_f_bazel_ignore",".bazelversion":"_f_bazel_version","biome.json":"_f_biome","biome.jsonc":"_f_biome",".biome.json":"_f_biome",".biome.jsonc":"_f_biome","bitbucket-pipelines.yml":"_f_bitbucketpipeline",".bithoundrc":"_f_bithound",".bowerrc":"_f_bower","bower.json":"_f_bower",".Brewfile":"_f_brew","Brewfile":"_f_brew",".browserslistrc":"_f_browserslist","browserslist":"_f_browserslist",".buckconfig":"_f_buckbuild",".bun-version":"_f_bun",".bunfig.toml":"_f_bun","bunfig.toml":"_f_bunfig","bun.lockb":"_f_bun","bun.lock":"_f_bun",".bundlemonrc":"_f_bundlemon","bundlemon.config.js":"_f_bundlemon","bundlemon.config.mjs":"_f_bundlemon","bundlemon.config.cjs":"_f_bundlemon",".bundlemonrc.js":"_f_bundlemon",".bundlemonrc.mjs":"_f_bundlemon",".bundlemonrc.cjs":"_f_bundlemon",".bundlemonrc.json":"_f_bundlemon",".bundlemonrc.yaml":"_f_bundlemon",".bundlemonrc.yml":"_f_bundlemon","gemfile":"_f_bundler","gemfile.lock":"_f_bundler","capacitor.config.json":"_f_capacitor","capacitor.config.ts":"_f_capacitor","Cargo.toml":"_f_cargo","Cargo.lock":"_f_cargo",".changie.yaml":"_f_changie",".changie.yml":"_f_changie","chefignore":"_f_chef","berksfile":"_f_chef","berksfile.lock":"_f_chef","policyfile.rb":"_f_chef","policyfile.lock.json":"_f_chef","circle.yml":"_f_circleci",".clangd":"_f_clangd","claude.md":"_f_claude","claude.local.md":"_f_claude","wrangler.json":"_f_cloudflare","wrangler.jsonc":"_f_cloudflare","wrangler.toml":"_f_cloudflare",".cfignore":"_f_cloudfoundry",".codacy.yml":"_f_codacy",".codacy.yaml":"_f_codacy",".codeclimate.yml":"_f_codeclimate","codecov.yml":"_f_codecov",".codecov.yml":"_f_codecov","config.codekit":"_f_codekit","config.codekit2":"_f_codekit","config.codekit3":"_f_codekit",".config.codekit":"_f_codekit",".config.codekit2":"_f_codekit",".config.codekit3":"_f_codekit","codemagic.yaml":"_f_codemagic","codeowners":"_f_codeowners",".coderabbit.yaml":"_f_coderabbit","coffeelint.json":"_f_coffeelint",".coffeelintignore":"_f_coffeelint",".czrc":"_f_commitizen",".cz.json":"_f_commitizen",".commitlintrc":"_f_commitlint","commitlint.config.js":"_f_commitlint","commitlint.config.cjs":"_f_commitlint","commitlint.config.mjs":"_f_commitlint","commitlint.config.ts":"_f_commitlint","commitlint.config.cts":"_f_commitlint",".commitlintrc.json":"_f_commitlint",".commitlintrc.yaml":"_f_commitlint",".commitlintrc.yml":"_f_commitlint",".commitlintrc.js":"_f_commitlint",".commitlintrc.cjs":"_f_commitlint",".commitlintrc.mjs":"_f_commitlint",".commitlintrc.ts":"_f_commitlint",".commitlintrc.cts":"_f_commitlint","composer.json":"_f_composer","composer.lock":"_f_composer","conanfile.txt":"_f_conan","conanfile.py":"_f_conan",".condarc":"_f_conda",".tool-versions":"_f_config","context7.json":"_f_context7","copilot-instructions.md":"_f_copilot","github-copilot.xml":"_f_copilot",".coverage":"_f_coverage","lcov.info":"_f_coverage",".coveralls.yml":"_f_coveralls","craco.config.ts":"_f_craco","craco.config.js":"_f_craco","craco.config.cjs":"_f_craco",".cracorc.ts":"_f_craco",".cracorc.js":"_f_craco",".cracorc":"_f_craco","crowdin.yml":"_f_crowdin","cspell.json":"_f_cspell","cspell.jsonc":"_f_cspell","cspell.yaml":"_f_cspell","cspell.yml":"_f_cspell",".cspell.json":"_f_cspell",".cspell.jsonc":"_f_cspell",".cspell.yaml":"_f_cspell",".cspell.yml":"_f_cspell","cspell.config.json":"_f_cspell","cspell.config.jsonc":"_f_cspell","cspell.config.js":"_f_cspell","cspell.config.mjs":"_f_cspell","cspell.config.cjs":"_f_cspell","cspell.config.ts":"_f_cspell","cspell.config.mts":"_f_cspell","cspell.config.cts":"_f_cspell","cspell.config.yaml":"_f_cspell","cspell.config.yml":"_f_cspell","cspell.config.toml":"_f_cspell",".cspell.config.json":"_f_cspell",".cspell.config.jsonc":"_f_cspell",".cspell.config.js":"_f_cspell",".cspell.config.mjs":"_f_cspell",".cspell.config.cjs":"_f_cspell",".cspell.config.ts":"_f_cspell",".cspell.config.mts":"_f_cspell",".cspell.config.cts":"_f_cspell",".cspell.config.yaml":"_f_cspell",".cspell.config.yml":"_f_cspell",".cspell.config.toml":"_f_cspell",".csscomb.json":"_f_csscomb",".csslintrc":"_f_csslint",".cursorignore":"_f_cursorrules",".cursorindexingignore":"_f_cursorrules",".cursorrules":"_f_cursorrules",".cvsignore":"_f_cvs","cypress.json":"_f_cypress","cypress.env.json":"_f_cypress","cypress.config.js":"_f_cypress","cypress.config.ts":"_f_cypress","cypress.config.cjs":"_f_cypress","cypress.config.mjs":"_f_cypress",".boringignore":"_f_darcs",".pubignore":"_f_dartlang_ignore","databricks.yml":"_f_databricks","databricks.yaml":"_f_databricks","service.datadog.yaml":"_f_datadog","datadog-ci.json":"_f_datadog","code-security.datadog.yaml":"_f_datadog","code-security.datadog.yml":"_f_datadog","repository.datadog.yaml":"_f_datadog","repository.datadog.yml":"_f_datadog","static-analysis.datadog.yml":"_f_datadog","static-analysis.datadog.yaml":"_f_datadog","dbt_project.yml":"_f_dbt","dbt_cloud.yml":"_f_dbt",".dbtignore":"_f_dbt","aptfile":"_f_debian","deno.json":"_f_deno","deno.jsonc":"_f_deno","deno.lock":"_f_deno",".denoifyrc":"_f_denoify","denoify.config.json":"_f_denoify","denoify.config.js":"_f_denoify","dependabot.yml":"_f_dependabot","dependabot.yaml":"_f_dependabot","dependencies.yml":"_f_dependencies","devcontainer.json":"_f_devcontainer",".devcontainer.json":"_f_devcontainer","devenv.lock":"_f_devenv","devenv.nix":"_f_devenv","devenv.yaml":"_f_devenv","devvit.json":"_f_devvit","devvit.dev.json":"_f_devvit","devvit.prod.json":"_f_devvit","devvit.test.json":"_f_devvit","devvit.config.js":"_f_devvit","devvit.config.cjs":"_f_devvit","devvit.config.mjs":"_f_devvit","devvit.config.ts":"_f_devvit","devvit.config.mts":"_f_devvit","devvit.config.dev.js":"_f_devvit","devvit.config.dev.cjs":"_f_devvit","devvit.config.dev.mjs":"_f_devvit","devvit.config.dev.ts":"_f_devvit","devvit.config.dev.mts":"_f_devvit","devvit.config.prod.js":"_f_devvit","devvit.config.prod.cjs":"_f_devvit","devvit.config.prod.mjs":"_f_devvit","devvit.config.prod.ts":"_f_devvit","devvit.config.prod.mts":"_f_devvit","devvit.config.test.js":"_f_devvit","devvit.config.test.cjs":"_f_devvit","devvit.config.test.mjs":"_f_devvit","devvit.config.test.ts":"_f_devvit","devvit.config.test.mts":"_f_devvit",".dockerignore":"_f_docker","compose.yaml":"_f_docker","compose.yml":"_f_docker","docker-compose.yaml":"_f_docker","docker-compose.yml":"_f_docker","docker-compose.debug.yaml":"_f_docker","docker-compose.debug.yml":"_f_docker","docker-compose.ci-build.yaml":"_f_docker","docker-compose.ci-build.yml":"_f_docker","docker-compose.override.yaml":"_f_docker","docker-compose.override.yml":"_f_docker","docker-compose.vs.debug.yaml":"_f_docker","docker-compose.vs.debug.yml":"_f_docker","docker-compose.vs.release.yaml":"_f_docker","docker-compose.vs.release.yml":"_f_docker","docker-cloud.yaml":"_f_docker","docker-cloud.yml":"_f_docker","docker-compose.test.yml":"_f_dockertest","docusaurus.config.ts":"_f_docusaurus","docusaurus.config.mts":"_f_docusaurus","docusaurus.config.cts":"_f_docusaurus","docusaurus.config.js":"_f_docusaurus","docusaurus.config.mjs":"_f_docusaurus","docusaurus.config.cjs":"_f_docusaurus",".doczrc":"_f_docz","docz.js":"_f_docz","docz.json":"_f_docz",".docz.js":"_f_docz",".docz.json":"_f_docz","doczrc.js":"_f_docz","doczrc.json":"_f_docz","docz.config.js":"_f_docz","docz.config.json":"_f_docz",".dojorc":"_f_dojo","doppler.yaml":"_f_doppler","doppler-template.yaml":"_f_doppler","Doxyfile":"_f_doxyfile","drizzle.config.json":"_f_drizzle_orm","drizzle.config.js":"_f_drizzle_orm","drizzle.config.ts":"_f_drizzle_orm",".drone.yml":"_f_drone",".drone.yml.sig":"_f_drone","dune":"_f_dune","dune-project":"_f_dune","dune-workspace":"_f_dune",".dvc":"_f_dvc",".earthlyignore":"_f_earthly","Earthfile":"_f_earthly","store.config.json":"_f_eas-metadata",".editorconfig":"_f_editorconfig","forge.config.js":"_f_electron","forge.config.ts":"_f_electron",".eleventyignore":"_f_eleventy",".eleventy.js":"_f_eleventy","eleventy.config.js":"_f_eleventy","eleventy.config.cjs":"_f_eleventy","eleventy.config.mjs":"_f_eleventy","elm-package.json":"_f_elm",".ember-cli":"_f_ember","emakefile":"_f_erlang",".emakerfile":"_f_erlang","esbuild.js":"_f_esbuild","esbuild.mjs":"_f_esbuild","esbuild.cjs":"_f_esbuild","esbuild.ts":"_f_esbuild","esbuild.config.js":"_f_esbuild","esbuild.config.mjs":"_f_esbuild","esbuild.config.cjs":"_f_esbuild","esbuild.config.ts":"_f_esbuild",".eslintrc":"_f_eslint",".eslintignore":"_f_eslint",".eslintcache":"_f_eslint","eslint.config.js":"_f_eslint","eslint.config.mjs":"_f_eslint","eslint.config.cjs":"_f_eslint","eslint.config.ts":"_f_eslint","eslint.config.mts":"_f_eslint","eslint.config.cts":"_f_eslint",".eslintrc.js":"_f_eslint",".eslintrc.mjs":"_f_eslint",".eslintrc.cjs":"_f_eslint",".eslintrc.ts":"_f_eslint",".eslintrc.mts":"_f_eslint",".eslintrc.cts":"_f_eslint",".eslintrc.json":"_f_eslint",".eslintrc.yaml":"_f_eslint",".eslintrc.yml":"_f_eslint","app.json":"_f_expo","app.config.js":"_f_expo","app.config.json":"_f_expo","app.config.json5":"_f_expo","eas.json":"_f_expo",".fantasticonrc":"_f_fantasticon","fantasticonrc":"_f_fantasticon",".fantasticonrc.json":"_f_fantasticon","fantasticonrc.json":"_f_fantasticon",".fantasticonrc.js":"_f_fantasticon","fantasticonrc.js":"_f_fantasticon","fastly.toml":"_f_fastly",".faunarc":"_f_fauna","favicon.ico":"_f_favicon",".firebaserc":"_f_firebase","firebase.json":"_f_firebasehosting","storage.rules":"_f_firebasestorage","firestore.rules":"_f_firestore","firestore.indexes.json":"_f_firestore","flareact.config.js":"_f_flareact","fleet.yaml":"_f_fleet",".flooignore":"_f_floobits",".flowconfig":"_f_flow",".flutter-plugins":"_f_flutter",".metadata":"_f_flutter",".flutter-plugins-dependencies":"_f_flutter","pubspec.lock":"_f_flutter_package","pubspec.yaml":"_f_flutter_package",".packages":"_f_flutter_package","fly.toml":"_f_flyio","formkit.config.js":"_f_formkit","formkit.config.mjs":"_f_formkit","formkit.config.cjs":"_f_formkit","formkit.config.ts":"_f_formkit","formkit.theme.js":"_f_formkit","formkit.theme.mjs":"_f_formkit","formkit.theme.cjs":"_f_formkit","formkit.theme.ts":"_f_formkit",".fossaignore":"_f_fossa","ignore-glob":"_f_fossil",".front-commerce.js":"_f_frontcommerce","front-commerce.config.ts":"_f_frontcommerce","funding.yml":"_f_funding","fuse.js":"_f_fusebox","gatsby-browser.js":"_f_gatsby","gatsby-browser.ts":"_f_gatsby","gatsby-browser.tsx":"_f_gatsby","gatsby-ssr.js":"_f_gatsby","gatsby-ssr.ts":"_f_gatsby","gatsby-ssr.tsx":"_f_gatsby","gatsby-config.js":"_f_gatsby","gatsby-config.ts":"_f_gatsby","gatsby-config.mjs":"_f_gatsby","gatsby-node.js":"_f_gatsby","gatsby-node.ts":"_f_gatsby","gatsby-node.mjs":"_f_gatsby",".gcloudignore":"_f_gcloud","gemini.md":"_f_gemini","GEMINI.md":"_f_gemini",".git":"_f_git",".gitattributes":"_f_git",".gitconfig":"_f_git",".gitignore":"_f_git",".gitmessage":"_f_git",".gitmodules":"_f_git",".gitkeep":"_f_git",".git-blame-ignore-revs":"_f_git",".mailmap":"_f_git",".issuetracker":"_f_git",".gitlab-ci.yml":"_f_gitlab",".gitpod.yaml":"_f_gitpod",".gitpod.yml":"_f_gitpod","gitpod.yaml":"_f_gitpod","gitpod.yml":"_f_gitpod","gleam.toml":"_f_gleamconfig","glide.yml":"_f_glide",".glitterrc":"_f_glitter","go.sum":"_f_go_package","go.mod":"_f_go_package","go.work":"_f_go_work","go.work.sum":"_f_go_work",".gqlconfig":"_f_graphql",".graphqlconfig":"_f_graphql_config",".graphqlconfig.yml":"_f_graphql_config",".graphqlconfig.yaml":"_f_graphql_config","greenkeeper.json":"_f_greenkeeper","gridsome.config.js":"_f_gridsome","gridsome.config.ts":"_f_gridsome","gridsome.server.js":"_f_gridsome","gridsome.server.ts":"_f_gridsome","gridsome.client.js":"_f_gridsome","gridsome.client.ts":"_f_gridsome","gruntfile.js":"_f_grunt","gruntfile.cjs":"_f_grunt","gruntfile.coffee":"_f_grunt","gruntfile.ts":"_f_grunt","gruntfile.babel.js":"_f_grunt","gruntfile.babel.cjs":"_f_grunt","gruntfile.babel.coffee":"_f_grunt","gruntfile.babel.ts":"_f_grunt","gulpfile.js":"_f_gulp","gulpfile.coffee":"_f_gulp","gulpfile.ts":"_f_gulp","gulpfile.mjs":"_f_gulp","gulpfile.esm.js":"_f_gulp","gulpfile.esm.coffee":"_f_gulp","gulpfile.esm.ts":"_f_gulp","gulpfile.esm.mjs":"_f_gulp","gulpfile.babel.js":"_f_gulp","gulpfile.babel.coffee":"_f_gulp","gulpfile.babel.ts":"_f_gulp","gulpfile.babel.mjs":"_f_gulp","hardhat.config.cjs":"_f_hardhat","hardhat.config.js":"_f_hardhat","hardhat.config.ts":"_f_hardhat","haxelib.json":"_f_haxe","checkstyle.json":"_f_haxecheckstyle",".p4ignore":"_f_helix","chart.lock":"_f_helm","chart.yaml":"_f_helm","histoire.config.ts":"_f_histoire","histoire.config.js":"_f_histoire",".histoire.ts":"_f_histoire",".histoire.js":"_f_histoire","horusec-config.json":"_f_horusec",".htmlhintrc":"_f_htmlhint",".htmlvalidateignore":"_f_htmlvalidate",".htmlvalidate.js":"_f_htmlvalidate",".htmlvalidate.cjs":"_f_htmlvalidate",".htmlvalidate.json":"_f_htmlvalidate","hugo.json":"_f_hugo","hugo.toml":"_f_hugo","hugo.yaml":"_f_hugo",".hugo_build.lock":"_f_hugo","humans.txt":"_f_humanstxt",".huskyrc":"_f_husky","husky.config.js":"_f_husky",".huskyrc.js":"_f_husky",".huskyrc.json":"_f_husky",".huskyrc.yaml":"_f_husky",".huskyrc.yml":"_f_husky","ionic.project":"_f_ionic","ionic.config.json":"_f_ionic","jakefile":"_f_jake","jakefile.js":"_f_jake","jasmine.json":"_f_jasmine",".nojekyll":"_f_jekyll","jest.json":"_f_jest","jest.config.babel.js":"_f_jest",".jestrc":"_f_jest",".jestrc.js":"_f_jest",".jestrc.json":"_f_jest","jest.config.js":"_f_jest","jest.config.cjs":"_f_jest","jest.config.mjs":"_f_jest","jest.config.json":"_f_jest","jest.config.ts":"_f_jest","jest.config.cts":"_f_jest","jest.config.mts":"_f_jest","jest.config.base.js":"_f_jest","jest.config.base.cjs":"_f_jest","jest.config.base.mjs":"_f_jest","jest.config.base.json":"_f_jest","jest.config.base.ts":"_f_jest","jest.config.base.cts":"_f_jest","jest.config.base.mts":"_f_jest","jest.config.common.js":"_f_jest","jest.config.common.cjs":"_f_jest","jest.config.common.mjs":"_f_jest","jest.config.common.json":"_f_jest","jest.config.common.ts":"_f_jest","jest.config.common.cts":"_f_jest","jest.config.common.mts":"_f_jest","jest.config.e2e.js":"_f_jest","jest.config.e2e.cjs":"_f_jest","jest.config.e2e.mjs":"_f_jest","jest.config.e2e.json":"_f_jest","jest.config.e2e.ts":"_f_jest","jest.config.e2e.cts":"_f_jest","jest.config.e2e.mts":"_f_jest","jest.config.int.js":"_f_jest","jest.config.int.cjs":"_f_jest","jest.config.int.mjs":"_f_jest","jest.config.int.json":"_f_jest","jest.config.int.ts":"_f_jest","jest.config.int.cts":"_f_jest","jest.config.int.mts":"_f_jest","jest.config.integration.js":"_f_jest","jest.config.integration.cjs":"_f_jest","jest.config.integration.mjs":"_f_jest","jest.config.integration.json":"_f_jest","jest.config.integration.ts":"_f_jest","jest.config.integration.cts":"_f_jest","jest.config.integration.mts":"_f_jest","jest.config.unit.js":"_f_jest","jest.config.unit.cjs":"_f_jest","jest.config.unit.mjs":"_f_jest","jest.config.unit.json":"_f_jest","jest.config.unit.ts":"_f_jest","jest.config.unit.cts":"_f_jest","jest.config.unit.mts":"_f_jest",".jpmignore":"_f_jpm",".jsbeautifyrc":"_f_jsbeautify","jsbeautifyrc":"_f_jsbeautify",".jsbeautify":"_f_jsbeautify","jsbeautify":"_f_jsbeautify","jsconfig.json":"_f_jsconfig",".jscpd.json":"_f_jscpd","jscpd-report.xml":"_f_jscpd","jscpd-report.json":"_f_jscpd","jscpd-report.html":"_f_jscpd",".jshintrc":"_f_jshint",".jshintignore":"_f_jshint","jsr.json":"_f_jsr","jsr.jsonc":"_f_jsr","karma.conf.js":"_f_karma","karma.conf.coffee":"_f_karma","karma.conf.ts":"_f_karma",".kitchen.yml":"_f_kitchenci","kitchen.yml":"_f_kitchenci",".kiteignore":"_f_kite","knexfile.js":"_f_knex","knexfile.ts":"_f_knex","knexfile.coffee":"_f_knex","knexfile.ls":"_f_knex","knexfile.eg":"_f_knex","knip.json":"_f_knip","knip.jsonc":"_f_knip",".knip.json":"_f_knip",".knip.jsonc":"_f_knip","knip.ts":"_f_knip","knip.js":"_f_knip","knip.config.ts":"_f_knip","knip.config.js":"_f_knip","language-configuration.json":"_f_language_configuration","layout.html":"_f_layout","layout.htm":"_f_layout","lakefile.lean":"_f_leanconfig","lakefile.toml":"_f_leanconfig","lake-manifest.json":"_f_leanconfig","lean-toolchain":"_f_leanconfig","lefthook.json":"_f_lefthook","lefthook.toml":"_f_lefthook","lefthook.yaml":"_f_lefthook","lefthook.yml":"_f_lefthook","lefthook-local.json":"_f_lefthook","lefthook-local.toml":"_f_lefthook","lefthook-local.yaml":"_f_lefthook","lefthook-local.yml":"_f_lefthook",".lefthook.json":"_f_lefthook",".lefthook.toml":"_f_lefthook",".lefthook.yaml":"_f_lefthook",".lefthook.yml":"_f_lefthook",".lefthook-local.json":"_f_lefthook",".lefthook-local.toml":"_f_lefthook",".lefthook-local.yaml":"_f_lefthook",".lefthook-local.yml":"_f_lefthook","lerna.json":"_f_lerna","liara.json":"_f_liara",".liaraignore":"_f_liara","licence":"_f_license","LICENCE":"_f_license","license":"_f_license","LICENSE":"_f_license","copying":"_f_license","copying.lesser":"_f_license","LICENSE-MIT":"_f_license","license-mit":"_f_license","LICENSE-APACHE":"_f_license","license-apache":"_f_license","LICENSE-GPL":"_f_license","license-gpl":"_f_license","LICENSE-AGPL":"_f_license","license-agpl":"_f_license","LICENCE.md":"_f_license","LICENCE.rst":"_f_license","LICENCE.txt":"_f_license","licence.md":"_f_license","licence.rst":"_f_license","licence.txt":"_f_license","LICENSE.md":"_f_license","LICENSE.rst":"_f_license","LICENSE.txt":"_f_license","license.md":"_f_license","license.rst":"_f_license","license.txt":"_f_license","copying.md":"_f_license","copying.rst":"_f_license","copying.txt":"_f_license","copying.lesser.md":"_f_license","copying.lesser.rst":"_f_license","copying.lesser.txt":"_f_license","LICENSE-MIT.md":"_f_license","LICENSE-MIT.rst":"_f_license","LICENSE-MIT.txt":"_f_license","license-mit.md":"_f_license","license-mit.rst":"_f_license","license-mit.txt":"_f_license","LICENSE-APACHE.md":"_f_license","LICENSE-APACHE.rst":"_f_license","LICENSE-APACHE.txt":"_f_license","license-apache.md":"_f_license","license-apache.rst":"_f_license","license-apache.txt":"_f_license","LICENSE-GPL.md":"_f_license","LICENSE-GPL.rst":"_f_license","LICENSE-GPL.txt":"_f_license","license-gpl.md":"_f_license","license-gpl.rst":"_f_license","license-gpl.txt":"_f_license","LICENSE-AGPL.md":"_f_license","LICENSE-AGPL.rst":"_f_license","LICENSE-AGPL.txt":"_f_license","license-agpl.md":"_f_license","license-agpl.rst":"_f_license","license-agpl.txt":"_f_license",".licrc":"_f_licensebat","budget.json":"_f_lighthouse","budgets.json":"_f_lighthouse",".lighthouserc.cjs":"_f_lighthouse",".lighthouserc.js":"_f_lighthouse",".lighthouserc.json":"_f_lighthouse",".lighthouserc.yaml":"_f_lighthouse",".lighthouserc.yml":"_f_lighthouse","include.xml":"_f_lime",".lintstagedrc":"_f_lintstagedrc",".lintstagedrc.json":"_f_lintstagedrc",".lintstagedrc.yaml":"_f_lintstagedrc",".lintstagedrc.yml":"_f_lintstagedrc",".lintstagedrc.mjs":"_f_lintstagedrc",".lintstagedrc.mts":"_f_lintstagedrc",".lintstagedrc.js":"_f_lintstagedrc",".lintstagedrc.ts":"_f_lintstagedrc",".lintstagedrc.cjs":"_f_lintstagedrc",".lintstagedrc.cts":"_f_lintstagedrc","lint-staged.config.mjs":"_f_lintstagedrc","lint-staged.config.mts":"_f_lintstagedrc","lint-staged.config.js":"_f_lintstagedrc","lint-staged.config.ts":"_f_lintstagedrc","lint-staged.config.cjs":"_f_lintstagedrc","lint-staged.config.cts":"_f_lintstagedrc","lychee.toml":"_f_lychee","mailing.config.json":"_f_mailing","manifest":"_f_manifest","manifest.bak":"_f_manifest_bak","manifest.skip":"_f_manifest_skip",".markdownlintrc":"_f_markdownlint",".markdownlint.json":"_f_markdownlint",".markdownlint.jsonc":"_f_markdownlint",".markdownlint.yml":"_f_markdownlint",".markdownlint.yaml":"_f_markdownlint",".markdownlint.cjs":"_f_markdownlint",".markdownlint-cli2.json":"_f_markdownlint",".markdownlint-cli2.jsonc":"_f_markdownlint",".markdownlint-cli2.yml":"_f_markdownlint",".markdownlint-cli2.yaml":"_f_markdownlint",".markdownlint-cli2.cjs":"_f_markdownlint",".markdownlintignore":"_f_markdownlint_ignore",".markuplintrc":"_f_markuplint",".markuplintrc.json":"_f_markuplint",".markuplintrc.yaml":"_f_markuplint",".markuplintrc.yml":"_f_markuplint",".markuplintrc.js":"_f_markuplint",".markuplintrc.cjs":"_f_markuplint",".markuplintrc.mjs":"_f_markuplint",".markuplintrc.ts":"_f_markuplint","markuplint.config.json":"_f_markuplint","markuplint.config.yaml":"_f_markuplint","markuplint.config.yml":"_f_markuplint","markuplint.config.js":"_f_markuplint","markuplint.config.cjs":"_f_markuplint","markuplint.config.mjs":"_f_markuplint","markuplint.config.ts":"_f_markuplint","master.js":"_f_master-co","master.ts":"_f_master-co","master.mjs":"_f_master-co","master.json":"_f_master-co","master.css.js":"_f_master-co","master.css.ts":"_f_master-co","master.css.mjs":"_f_master-co","master.css.json":"_f_master-co","maven.config":"_f_maven","pom.xml":"_f_maven","extensions.xml":"_f_maven","settings.xml":"_f_maven","mcp.json":"_f_mcp","mdx-components.cjs":"_f_mdx-components","mdx-components.cts":"_f_mdx-components","mdx-components.js":"_f_mdx-components","mdx-components.jsx":"_f_mdx-components","mdx-components.mjs":"_f_mdx-components","mdx-components.mts":"_f_mdx-components","mdx-components.ts":"_f_mdx-components","mdx-components.tsx":"_f_mdx-components",".mdxlintrc":"_f_mdxlint",".mdxlintignore":"_f_mdxlint",".mdxlintrc.cjs":"_f_mdxlint",".mdxlintrc.js":"_f_mdxlint",".mdxlintrc.json":"_f_mdxlint",".mdxlintrc.mjs":"_f_mdxlint",".mdxlintrc.yml":"_f_mdxlint",".mdxlintrc.yaml":"_f_mdxlint",".hgignore":"_f_mercurial","metro.json":"_f_metro","metro.js":"_f_metro","metro.cjs":"_f_metro","metro.mjs":"_f_metro","metro.ts":"_f_metro","metro.cts":"_f_metro","metro.mts":"_f_metro","metro.config.json":"_f_metro","metro.config.js":"_f_metro","metro.config.cjs":"_f_metro","metro.config.mjs":"_f_metro","metro.config.ts":"_f_metro","metro.config.cts":"_f_metro","metro.config.mts":"_f_metro","mikro-orm.config.js":"_f_mikro_orm","mikro-orm.config.ts":"_f_mikro_orm","mise.toml":"_f_mise",".mise.toml":"_f_mise","mise.local.toml":"_f_mise",".mise.local.toml":"_f_mise","mocha.opts":"_f_mocha",".mocharc.cjs":"_f_mocha",".mocharc.js":"_f_mocha",".mocharc.json":"_f_mocha",".mocharc.jsonc":"_f_mocha",".mocharc.mjs":"_f_mocha",".mocharc.yaml":"_f_mocha",".mocharc.yml":"_f_mocha","modernizr":"_f_modernizr","modernizr.js":"_f_modernizr","modernizrrc.js":"_f_modernizr",".modernizr.js":"_f_modernizr",".modernizrrc.js":"_f_modernizr","modern.config.js":"_f_modernjs","modern.config.mjs":"_f_modernjs","modern.config.ts":"_f_modernjs","modern.runtime.js":"_f_modernjs","modern.runtime.mjs":"_f_modernjs","modern.runtime.ts":"_f_modernjs","modern.server.js":"_f_modernjs","modern.server.mjs":"_f_modernjs","modern.server.ts":"_f_modernjs","moleculer.config.js":"_f_moleculer","moleculer.config.json":"_f_moleculer","moleculer.config.ts":"_f_moleculer",".mtn-ignore":"_f_monotone","motif.json":"_f_motif","mockServiceWorker.js":"_f_msw","mypy.ini":"_f_mypy",".mypy.ini":"_f_mypy",".nano-staged.js":"_f_nanostaged","nano-staged.js":"_f_nanostaged",".nano-staged.cjs":"_f_nanostaged","nano-staged.cjs":"_f_nanostaged",".nano-staged.mjs":"_f_nanostaged","nano-staged.mjs":"_f_nanostaged",".nano-staged.json":"_f_nanostaged","nano-staged.json":"_f_nanostaged",".nanostagedrc":"_f_nanostaged",".nest-cli.json":"_f_nestjs","nest-cli.json":"_f_nestjs","nestconfig.json":"_f_nestjs",".nestconfig.json":"_f_nestjs","netlify.toml":"_f_netlify","next.config.js":"_f_next","next.config.cjs":"_f_next","next.config.mjs":"_f_next","next.config.ts":"_f_next",".nf":"_f_nextflow","nginx.conf":"_f_nginx","build.ninja":"_f_ninja","flake.lock":"_f_nix",".node-version":"_f_node",".nvmrc":"_f_node","node.config.json":"_f_node","nodemon.json":"_f_nodemon",".npmignore":"_f_npm",".npmrc":"_f_npm",".package-lock.json":"_f_npm","package.json":"_f_npm","package-lock.json":"_f_npm","npm-shrinkwrap.json":"_f_npm",".npmpackagejsonlintrc":"_f_npmpackagejsonlint",".npmpackagejsonlintrc.cjs":"_f_npmpackagejsonlint",".npmpackagejsonlintrc.js":"_f_npmpackagejsonlint",".npmpackagejsonlintrc.json":"_f_npmpackagejsonlint",".npmpackagejsonlintrc.yaml":"_f_npmpackagejsonlint",".npmpackagejsonlintrc.yml":"_f_npmpackagejsonlint",".npmpackagejsonlintrc.mjs":"_f_npmpackagejsonlint",".npmpackagejsonlintignore":"_f_npmpackagejsonlint","npmpackagejsonlint.config.cjs":"_f_npmpackagejsonlint","npmpackagejsonlint.config.js":"_f_npmpackagejsonlint","npmpackagejsonlint.config.mjs":"_f_npmpackagejsonlint",".nsrirc":"_f_nsri",".nsriignore":"_f_nsri","nsri.config.js":"_f_nsri",".nsrirc.js":"_f_nsri",".nsrirc.json":"_f_nsri",".nsrirc.yaml":"_f_nsri",".nsrirc.yml":"_f_nsri",".integrity.json":"_f_nsri-integrity",".nuxtignore":"_f_nuxt",".nuxtrc":"_f_nuxt","nuxt.config.js":"_f_nuxt","nuxt.config.ts":"_f_nuxt","nuxt.config.mjs":"_f_nuxt","nuxt.js":"_f_nuxt","nuxt.ts":"_f_nuxt","nuxt.mjs":"_f_nuxt",".nxignore":"_f_nx","nx.json":"_f_nx",".nycrc":"_f_nyc",".nycrc.json":"_f_nyc",".objidconfig":"_f_objidconfig",".merlin":"_f_ocaml","opencode.json":"_f_opencode","opencode.jsonc":"_f_opencode",".opentofu-version":"_f_opentofu","orval.config.js":"_f_orval","orval.config.ts":"_f_orval","orval.config.mjs":"_f_orval",".oxlintignore":"_f_oxc",".oxlintrc.json":"_f_oxc",".oxlintrc.jsonc":"_f_oxc","oxlint.config.ts":"_f_oxc",".oxfmtrc.json":"_f_oxc",".oxfmtrc.jsonc":"_f_oxc","oxfmt.config.ts":"_f_oxc",".packshiprc":"_f_packship",".packshiprc.json":"_f_packship",".packshiprc.js":"_f_packship",".packshiprc.ts":"_f_packship","packship.config.js":"_f_packship","packship.config.ts":"_f_packship","packship.config.mjs":"_f_packship","packship.config.mts":"_f_packship","packship.config.json":"_f_packship","paket.dependencies":"_f_paket","paket.lock":"_f_paket","paket.references":"_f_paket","paket.template":"_f_paket","paket.local":"_f_paket","panda.config.js":"_f_pandacss","panda.config.mjs":"_f_pandacss","panda.config.ts":"_f_pandacss",".parcelrc":"_f_parcel",".pdm-python":"_f_pdm","pdm.lock":"_f_pdm","pdm.toml":"_f_pdm","peeky.config.ts":"_f_peeky","peeky.config.js":"_f_peeky","peeky.config.mjs":"_f_peeky",".php-cs-fixer.php":"_f_phpcsfixer",".php-cs-fixer.dist.php":"_f_phpcsfixer",".php_cs":"_f_phpcsfixer",".php_cs.dist":"_f_phpcsfixer","phpstan.neon":"_f_phpstan","phpstan.dist.neon":"_f_phpstan","phpunit":"_f_phpunit","phpunit.xml":"_f_phpunit","phpunit.xml.dist":"_f_phpunit",".phraseapp.yml":"_f_phraseapp","pipfile":"_f_pip","pipfile.lock":"_f_pip","pixi.lock":"_f_pixi","pixi.toml":"_f_pixi","platformio.ini":"_f_platformio","playwright.config.js":"_f_playwright","playwright.config.ts":"_f_playwright","playwright.config.mts":"_f_playwright","playwright.config.mjs":"_f_playwright","playwright.config.cts":"_f_playwright","playwright.config.cjs":"_f_playwright","ecosystem.config.js":"_f_pm2","ecosystem.config.cjs":"_f_pm2","ecosystem.config.json":"_f_pm2","ecosystem.config.yaml":"_f_pm2","ecosystem.config.yml":"_f_pm2",".pnpmfile.cjs":"_f_pnpm","pnpmfile.js":"_f_pnpm","pnpm-lock.yaml":"_f_pnpm","pnpm-workspace.yaml":"_f_pnpm","poetry.lock":"_f_poetry",".postcssrc":"_f_postcssconfig",".postcssrc.json":"_f_postcssconfig",".postcssrc.yaml":"_f_postcssconfig",".postcssrc.yml":"_f_postcssconfig",".postcssrc.ts":"_f_postcssconfig",".postcssrc.cts":"_f_postcssconfig",".postcssrc.mts":"_f_postcssconfig",".postcssrc.js":"_f_postcssconfig",".postcssrc.cjs":"_f_postcssconfig",".postcssrc.mjs":"_f_postcssconfig","postcss.config.ts":"_f_postcssconfig","postcss.config.cts":"_f_postcssconfig","postcss.config.mts":"_f_postcssconfig","postcss.config.js":"_f_postcssconfig","postcss.config.cjs":"_f_postcssconfig","postcss.config.mjs":"_f_postcssconfig","preact.config.js":"_f_preact",".pre-commit-config.yaml":"_f_precommit",".prettierrc":"_f_prettier",".prettierignore":"_f_prettier","prettier.config.js":"_f_prettier","prettier.config.cjs":"_f_prettier","prettier.config.mjs":"_f_prettier","prettier.config.ts":"_f_prettier","prettier.config.coffee":"_f_prettier",".prettierrc.js":"_f_prettier",".prettierrc.cjs":"_f_prettier",".prettierrc.mjs":"_f_prettier",".prettierrc.json":"_f_prettier",".prettierrc.json5":"_f_prettier",".prettierrc.yml":"_f_prettier",".prettierrc.yaml":"_f_prettier",".prettierrc.toml":"_f_prettier","prisma.config.js":"_f_prismaconfig","prisma.config.ts":"_f_prismaconfig","procfile":"_f_procfile","protractor.conf.js":"_f_protractor","protractor.conf.coffee":"_f_protractor","protractor.conf.ts":"_f_protractor","publiccode.yml":"_f_publiccode",".jade-lintrc":"_f_pug",".pug-lintrc":"_f_pug",".jade-lint.json":"_f_pug",".pug-lintrc.js":"_f_pug",".pug-lintrc.json":"_f_pug","Pulumi.yaml":"_f_pulumi","Pulumi.yml":"_f_pulumi","Pulumi.dev.yaml":"_f_pulumi","Pulumi.dev.yml":"_f_pulumi","Pulumi.prod.yaml":"_f_pulumi","Pulumi.prod.yml":"_f_pulumi","purgecss.config.js":"_f_purgecss",".python-version":"_f_pyenv","pyproject.toml":"_f_pypi","pytest.ini":"_f_pytest",".pytest.ini":"_f_pytest","pytest.toml":"_f_pytest",".pytest.toml":"_f_pytest",".pdbrc":"_f_pythonconfig",".pdbrc.py":"_f_pythonconfig",".python_history":"_f_pythonconfig","conf.py":"_f_pythonconfig","config.py":"_f_pythonconfig","setup.py":"_f_pythonconfig","settings.py":"_f_pythonconfig","py.typed":"_f_pytyped",".pyup":"_f_pyup",".pyup.yml":"_f_pyup","qmldir":"_f_qmldir","qrc":"_f_qrc","quasar.conf.js":"_f_quasar","quasar.config.js":"_f_quasar","quasar.config.mjs":"_f_quasar","quasar.config.cjs":"_f_quasar","quasar.config.ts":"_f_quasar",".quokka":"_f_quokka","railway.toml":"_f_railway","railway.json":"_f_railway","Rakefile":"_f_rake","razzle.config.js":"_f_razzle","react-router.config.js":"_f_reactrouter","react-router.config.ts":"_f_reactrouter",".readthedocs.yaml":"_f_readthedocs",".rehyperc":"_f_rehype",".rehypeignore":"_f_rehype",".rehyperc.cjs":"_f_rehype",".rehyperc.js":"_f_rehype",".rehyperc.json":"_f_rehype",".rehyperc.mjs":"_f_rehype",".rehyperc.yml":"_f_rehype",".rehyperc.yaml":"_f_rehype",".remarkrc":"_f_remark",".remarkignore":"_f_remark",".remarkrc.cjs":"_f_remark",".remarkrc.js":"_f_remark",".remarkrc.json":"_f_remark",".remarkrc.mjs":"_f_remark",".remarkrc.yml":"_f_remark",".remarkrc.yaml":"_f_remark","render.yaml":"_f_render",".renovaterc":"_f_renovate",".renovaterc.json":"_f_renovate","renovate.json":"_f_renovate","renovate.json5":"_f_renovate",".replit":"_f_replit","replit.nix":"_f_replit",".retextrc":"_f_retext",".retextignore":"_f_retext",".retextrc.cjs":"_f_retext",".retextrc.js":"_f_retext",".retextrc.json":"_f_retext",".retextrc.mjs":"_f_retext",".retextrc.yml":"_f_retext",".retextrc.yaml":"_f_retext","robots.txt":"_f_robots","rolldown.config.js":"_f_rolldown","rolldown.config.cjs":"_f_rolldown","rolldown.config.mjs":"_f_rolldown","rolldown.config.coffee":"_f_rolldown","rolldown.config.ts":"_f_rolldown","rolldown.config.mts":"_f_rolldown","rolldown.config.cts":"_f_rolldown","rolldown.config.common.js":"_f_rolldown","rolldown.config.common.cjs":"_f_rolldown","rolldown.config.common.mjs":"_f_rolldown","rolldown.config.common.coffee":"_f_rolldown","rolldown.config.common.ts":"_f_rolldown","rolldown.config.common.mts":"_f_rolldown","rolldown.config.common.cts":"_f_rolldown","rolldown.config.dev.js":"_f_rolldown","rolldown.config.dev.cjs":"_f_rolldown","rolldown.config.dev.mjs":"_f_rolldown","rolldown.config.dev.coffee":"_f_rolldown","rolldown.config.dev.ts":"_f_rolldown","rolldown.config.dev.mts":"_f_rolldown","rolldown.config.dev.cts":"_f_rolldown","rolldown.config.prod.js":"_f_rolldown","rolldown.config.prod.cjs":"_f_rolldown","rolldown.config.prod.mjs":"_f_rolldown","rolldown.config.prod.coffee":"_f_rolldown","rolldown.config.prod.ts":"_f_rolldown","rolldown.config.prod.mts":"_f_rolldown","rolldown.config.prod.cts":"_f_rolldown","rollup.config.js":"_f_rollup","rollup.config.cjs":"_f_rollup","rollup.config.mjs":"_f_rollup","rollup.config.coffee":"_f_rollup","rollup.config.ts":"_f_rollup","rollup.config.common.js":"_f_rollup","rollup.config.common.cjs":"_f_rollup","rollup.config.common.mjs":"_f_rollup","rollup.config.common.coffee":"_f_rollup","rollup.config.common.ts":"_f_rollup","rollup.config.dev.js":"_f_rollup","rollup.config.dev.cjs":"_f_rollup","rollup.config.dev.mjs":"_f_rollup","rollup.config.dev.coffee":"_f_rollup","rollup.config.dev.ts":"_f_rollup","rollup.config.prod.js":"_f_rollup","rollup.config.prod.cjs":"_f_rollup","rollup.config.prod.mjs":"_f_rollup","rollup.config.prod.coffee":"_f_rollup","rollup.config.prod.ts":"_f_rollup","rome.json":"_f_rome",".rspec":"_f_rspec",".rubocop.yml":"_f_rubocop",".rubocop_todo.yml":"_f_rubocop",".ruby-version":"_f_ruby","ruff.toml":"_f_ruff",".ruff.toml":"_f_ruff","rust-toolchain":"_f_rust_toolchain","rust-toolchain.toml":"_f_rust_toolchain",".slshrc":"_f_s-lang",".isisrc":"_f_s-lang",".jedrc":"_f_s-lang",".sailsrc":"_f_sails",".sapphirerc.json":"_f_sapphire_framework_cli",".sapphirerc.yml":"_f_sapphire_framework_cli",".sapphirerc":"_f_sapphire_framework_cli","seedkit.config.js":"_f_seedkit","seedkit.config.ts":"_f_seedkit","seedkit.config.mjs":"_f_seedkit",".sentryclirc":"_f_sentry",".sequelizerc":"_f_sequelize",".sequelizerc.js":"_f_sequelize",".sequelizerc.json":"_f_sequelize","serverless.yml":"_f_serverless","serverless.json":"_f_serverless","serverless.js":"_f_serverless","serverless.ts":"_f_serverless","components.json":"_f_shadcn",".shellcheckrc":"_f_shellcheck","Shuttle.toml":"_f_shuttle","sitemap.xml":"_f_sitemap","sitemap.rss":"_f_sitemap","sitemap.txt":"_f_sitemap","sitemap.atom":"_f_sitemap","slash-up.config.js":"_f_slashup","smithery.yaml":"_f_smithery","snapcraft.yaml":"_f_snapcraft","snaplet.config.js":"_f_snaplet","snaplet.config.ts":"_f_snaplet",".snyk":"_f_snyk",".solidarity":"_f_solidarity",".solidarity.json":"_f_solidarity","spin.toml":"_f_spin","sst-env.d.ts":"_f_sst","sst-env.ts":"_f_sst","sst-env.js":"_f_sst","sst.config.d.ts":"_f_sst","sst.config.ts":"_f_sst","sst.config.js":"_f_sst",".stackblitzrc":"_f_stackblitz","stryker.conf.mjs":"_f_stryker","stryker.conf.cjs":"_f_stryker","stryker.conf.js":"_f_stryker","stryker.conf.conf":"_f_stryker","stryker.conf.json":"_f_stryker",".stryker.conf.mjs":"_f_stryker",".stryker.conf.cjs":"_f_stryker",".stryker.conf.js":"_f_stryker",".stryker.conf.conf":"_f_stryker",".stryker.conf.json":"_f_stryker","stryker.config.mjs":"_f_stryker","stryker.config.cjs":"_f_stryker","stryker.config.js":"_f_stryker","stryker.config.conf":"_f_stryker","stryker.config.json":"_f_stryker",".stryker.config.mjs":"_f_stryker",".stryker.config.cjs":"_f_stryker",".stryker.config.js":"_f_stryker",".stryker.config.conf":"_f_stryker",".stryker.config.json":"_f_stryker","stryker-config.mjs":"_f_stryker","stryker-config.cjs":"_f_stryker","stryker-config.js":"_f_stryker","stryker-config.conf":"_f_stryker","stryker-config.json":"_f_stryker","stryker4s.mjs":"_f_stryker","stryker4s.cjs":"_f_stryker","stryker4s.js":"_f_stryker","stryker4s.conf":"_f_stryker","stryker4s.json":"_f_stryker",".stylelintrc":"_f_stylelint",".stylelintignore":"_f_stylelint",".stylelintcache":"_f_stylelint","stylelint.config.js":"_f_stylelint","stylelint.config.json":"_f_stylelint","stylelint.config.yaml":"_f_stylelint","stylelint.config.yml":"_f_stylelint","stylelint.config.ts":"_f_stylelint","stylelint.config.cjs":"_f_stylelint","stylelint.config.mjs":"_f_stylelint",".stylelintrc.js":"_f_stylelint",".stylelintrc.json":"_f_stylelint",".stylelintrc.yaml":"_f_stylelint",".stylelintrc.yml":"_f_stylelint",".stylelintrc.ts":"_f_stylelint",".stylelintrc.cjs":"_f_stylelint",".stylelintrc.mjs":"_f_stylelint",".stylish-haskell.yaml":"_f_stylish_haskell",".svnignore":"_f_subversion","svelte.config.js":"_f_svelteconfig","svelte.config.ts":"_f_svelteconfig","svgo.config.cjs":"_f_svgo","svgo.config.js":"_f_svgo","svgo.config.mjs":"_f_svgo",".swcrc":"_f_swc","package.pins":"_f_swift","symfony.lock":"_f_symfony",".syncpackrc":"_f_syncpack",".syncpackrc.json":"_f_syncpack",".syncpackrc.yaml":"_f_syncpack",".syncpackrc.yml":"_f_syncpack",".syncpackrc.js":"_f_syncpack",".syncpackrc.ts":"_f_syncpack",".syncpackrc.mjs":"_f_syncpack",".syncpackrc.cjs":"_f_syncpack","syncpack.config.js":"_f_syncpack","syncpack.config.ts":"_f_syncpack","syncpack.config.mjs":"_f_syncpack","syncpack.config.cjs":"_f_syncpack","tailwind.js":"_f_tailwind","tailwind.cjs":"_f_tailwind","tailwind.coffee":"_f_tailwind","tailwind.ts":"_f_tailwind","tailwind.json":"_f_tailwind","tailwind.mjs":"_f_tailwind","tailwind.config.js":"_f_tailwind","tailwind.config.cjs":"_f_tailwind","tailwind.config.coffee":"_f_tailwind","tailwind.config.ts":"_f_tailwind","tailwind.config.json":"_f_tailwind","tailwind.config.mjs":"_f_tailwind",".tailwind.js":"_f_tailwind",".tailwind.cjs":"_f_tailwind",".tailwind.coffee":"_f_tailwind",".tailwind.ts":"_f_tailwind",".tailwind.json":"_f_tailwind",".tailwind.mjs":"_f_tailwind",".tailwindrc.js":"_f_tailwind",".tailwindrc.cjs":"_f_tailwind",".tailwindrc.coffee":"_f_tailwind",".tailwindrc.ts":"_f_tailwind",".tailwindrc.json":"_f_tailwind",".tailwindrc.mjs":"_f_tailwind","tamagui.js":"_f_tamagui","tamagui.mjs":"_f_tamagui","tamagui.cjs":"_f_tamagui","tamagui.ts":"_f_tamagui","tamagui.mts":"_f_tamagui","tamagui.cts":"_f_tamagui","tamagui.config.js":"_f_tamagui","tamagui.config.mjs":"_f_tamagui","tamagui.config.cjs":"_f_tamagui","tamagui.config.ts":"_f_tamagui","tamagui.config.mts":"_f_tamagui","tamagui.config.cts":"_f_tamagui",".taplo.toml":"_f_taplo","taplo.toml":"_f_taplo","taskfile.yml":"_f_taskfile","taskfile.yaml":"_f_taskfile","taskfile.dist.yml":"_f_taskfile","taskfile.dist.yaml":"_f_taskfile","tauri.conf.json":"_f_tauri",".taurignore":"_f_tauri",".testcaferc.json":"_f_testcafe","testplane.conf.ts":"_f_testplane","testplane.conf.js":"_f_testplane","testplane.conf.cts":"_f_testplane","testplane.conf.cjs":"_f_testplane","testplane.config.ts":"_f_testplane","testplane.config.js":"_f_testplane","testplane.config.cts":"_f_testplane","testplane.config.cjs":"_f_testplane",".textlintrc":"_f_textlint",".textlintrc.js":"_f_textlint",".textlintrc.cjs":"_f_textlint",".textlintrc.json":"_f_textlint",".textlintrc.yml":"_f_textlint",".textlintrc.yaml":"_f_textlint",".textlintignore":"_f_textlint",".tfignore":"_f_tfs",".tiltignore":"_f_tiltfile",".tmux.conf":"_f_tmux","tox.ini":"_f_tox",".travis.yml":"_f_travis",".trivyignore":"_f_trivy","trivy.yaml":"_f_trivy","truffle-config.js":"_f_truffle","truffle-config.ts":"_f_truffle","trunk.yaml":"_f_trunk","tsconfig.json":"_f_tsconfig","tsconfig.app.json":"_f_tsconfig","tsconfig.base.json":"_f_tsconfig","tsconfig.build.json":"_f_tsconfig","tsconfig.cjs.json":"_f_tsconfig","tsconfig.common.json":"_f_tsconfig","tsconfig.debug.json":"_f_tsconfig","tsconfig.dev.json":"_f_tsconfig","tsconfig.development.json":"_f_tsconfig","tsconfig.e2e.json":"_f_tsconfig","tsconfig.eslint.json":"_f_tsconfig","tsconfig.esm.json":"_f_tsconfig","tsconfig.mjs.json":"_f_tsconfig","tsconfig.node.json":"_f_tsconfig","tsconfig.prod.json":"_f_tsconfig","tsconfig.production.json":"_f_tsconfig","tsconfig.release.json":"_f_tsconfig","tsconfig.server.json":"_f_tsconfig","tsconfig.spec.json":"_f_tsconfig","tsconfig.staging.json":"_f_tsconfig","tsconfig.test.json":"_f_tsconfig","tsconfig.types.json":"_f_tsconfig","tsconfig.lib.json":"_f_tsconfig","tsconfig.lib.prod.json":"_f_tsconfig","tsdoc.json":"_f_tsdoc","tsdown.config.ts":"_f_tsdown","tsdown.config.mts":"_f_tsdown","tsdown.config.cts":"_f_tsdown","tsdown.config.js":"_f_tsdown","tsdown.config.mjs":"_f_tsdown","tsdown.config.cjs":"_f_tsdown","tsdown.config.json":"_f_tsdown","tslint.json":"_f_tslint","tslint.yaml":"_f_tslint","tslint.yml":"_f_tslint","turbo.json":"_f_turbo","turbo.jsonc":"_f_turbo","microfrontends.json":"_f_turbo","microfrontends.jsonc":"_f_turbo","typedoc.cjs":"_f_typedoc","typedoc.js":"_f_typedoc","typedoc.json":"_f_typedoc","typedoc.jsonc":"_f_typedoc","typedoc.mjs":"_f_typedoc","typedoc.config.cjs":"_f_typedoc","typedoc.config.js":"_f_typedoc","typedoc.config.json":"_f_typedoc","typedoc.config.jsonc":"_f_typedoc","typedoc.config.mjs":"_f_typedoc",".unibeautifyrc":"_f_unibeautify","unibeautify.config.js":"_f_unibeautify",".unibeautifyrc.js":"_f_unibeautify",".unibeautifyrc.json":"_f_unibeautify",".unibeautifyrc.yaml":"_f_unibeautify",".unibeautifyrc.yml":"_f_unibeautify","unlicense":"_f_unlicense","unlicence":"_f_unlicense","UNLICENSE":"_f_unlicense","UNLICENCE":"_f_unlicense","unlicense.md":"_f_unlicense","unlicense.txt":"_f_unlicense","unlicence.md":"_f_unlicense","unlicence.txt":"_f_unlicense","UNLICENSE.md":"_f_unlicense","UNLICENSE.txt":"_f_unlicense","UNLICENCE.md":"_f_unlicense","UNLICENCE.txt":"_f_unlicense","uno.config.js":"_f_unocss","uno.config.mjs":"_f_unocss","uno.config.ts":"_f_unocss","uno.config.mts":"_f_unocss","unocss.config.js":"_f_unocss","unocss.config.mjs":"_f_unocss","unocss.config.ts":"_f_unocss","unocss.config.mts":"_f_unocss","uv.lock":"_f_uv","uv.toml":"_f_uv","vagrantfile":"_f_vagrant",".vale.ini":"_f_vale","vapor.yml":"_f_vapor","now.json":"_f_vercel",".nowignore":"_f_vercel","vercel.json":"_f_vercel",".vercelignore":"_f_vercel",".vimrc":"_f_vim",".gvimrc":"_f_vim","vite.config.js":"_f_vite","vite.config.mjs":"_f_vite","vite.config.ts":"_f_vite","vite.config.cjs":"_f_vite","vite.config.mts":"_f_vite","vite.config.cts":"_f_vite","vitest.config.js":"_f_vitest","vitest.config.mjs":"_f_vitest","vitest.config.ts":"_f_vitest","vitest.config.cjs":"_f_vitest","vitest.config.mts":"_f_vitest","vitest.config.cts":"_f_vitest","vitest.workspace.json":"_f_vitest","vitest.workspace.js":"_f_vitest","vitest.workspace.mjs":"_f_vitest","vitest.workspace.ts":"_f_vitest","vitest.workspace.cjs":"_f_vitest","vitest.workspace.mts":"_f_vitest","vitest.workspace.cts":"_f_vitest","vitest.projects.json":"_f_vitest","vitest.projects.js":"_f_vitest","vitest.projects.mjs":"_f_vitest","vitest.projects.ts":"_f_vitest","vitest.projects.cjs":"_f_vitest","vitest.projects.mts":"_f_vitest","vitest.projects.cts":"_f_vitest",".vscodeignore":"_f_vscode","launch.json":"_f_vscode","tasks.json":"_f_vscode","vscodeignore.json":"_f_vscode",".vscode-test.js":"_f_vscode_test",".vscode-test.json":"_f_vscode_test",".vscode-test.mjs":"_f_vscode_test",".vuerc":"_f_vueconfig","vue.config.js":"_f_vueconfig","vue.config.cjs":"_f_vueconfig","vue.config.mjs":"_f_vueconfig","wallaby.json":"_f_wallaby","wallaby.js":"_f_wallaby","wallaby.ts":"_f_wallaby","wallaby.coffee":"_f_wallaby","wallaby.conf.json":"_f_wallaby","wallaby.conf.js":"_f_wallaby","wallaby.conf.ts":"_f_wallaby","wallaby.conf.coffee":"_f_wallaby",".wallaby.json":"_f_wallaby",".wallaby.js":"_f_wallaby",".wallaby.ts":"_f_wallaby",".wallaby.coffee":"_f_wallaby",".wallaby.conf.json":"_f_wallaby",".wallaby.conf.js":"_f_wallaby",".wallaby.conf.ts":"_f_wallaby",".wallaby.conf.coffee":"_f_wallaby","wally.toml":"_f_wally","wally.lock":"_f_wally","warp.md":"_f_warp",".watchmanconfig":"_f_watchmanconfig","wdio.json":"_f_wdio","wdio.js":"_f_wdio","wdio.mjs":"_f_wdio","wdio.cjs":"_f_wdio","wdio.ts":"_f_wdio","wdio.mts":"_f_wdio","wdio.cts":"_f_wdio","wdio.conf.json":"_f_wdio","wdio.conf.js":"_f_wdio","wdio.conf.mjs":"_f_wdio","wdio.conf.cjs":"_f_wdio","wdio.conf.ts":"_f_wdio","wdio.conf.mts":"_f_wdio","wdio.conf.cts":"_f_wdio",".weblate":"_f_weblate",".weblate.ini":"_f_weblate","weblate":"_f_weblate","weblate.ini":"_f_weblate","webpack.base.conf.js":"_f_webpack","webpack.base.conf.cjs":"_f_webpack","webpack.base.conf.mjs":"_f_webpack","webpack.base.conf.coffee":"_f_webpack","webpack.base.conf.ts":"_f_webpack","webpack.common.js":"_f_webpack","webpack.common.cjs":"_f_webpack","webpack.common.mjs":"_f_webpack","webpack.common.coffee":"_f_webpack","webpack.common.ts":"_f_webpack","webpack.config.js":"_f_webpack","webpack.config.cjs":"_f_webpack","webpack.config.mjs":"_f_webpack","webpack.config.coffee":"_f_webpack","webpack.config.ts":"_f_webpack","webpack.config.base.js":"_f_webpack","webpack.config.base.cjs":"_f_webpack","webpack.config.base.mjs":"_f_webpack","webpack.config.base.coffee":"_f_webpack","webpack.config.base.ts":"_f_webpack","webpack.config.build.js":"_f_webpack","webpack.config.build.cjs":"_f_webpack","webpack.config.build.mjs":"_f_webpack","webpack.config.build.coffee":"_f_webpack","webpack.config.build.ts":"_f_webpack","webpack.config.common.js":"_f_webpack","webpack.config.common.cjs":"_f_webpack","webpack.config.common.mjs":"_f_webpack","webpack.config.common.coffee":"_f_webpack","webpack.config.common.ts":"_f_webpack","webpack.config.dev.js":"_f_webpack","webpack.config.dev.cjs":"_f_webpack","webpack.config.dev.mjs":"_f_webpack","webpack.config.dev.coffee":"_f_webpack","webpack.config.dev.ts":"_f_webpack","webpack.config.development.js":"_f_webpack","webpack.config.development.cjs":"_f_webpack","webpack.config.development.mjs":"_f_webpack","webpack.config.development.coffee":"_f_webpack","webpack.config.development.ts":"_f_webpack","webpack.config.staging.js":"_f_webpack","webpack.config.staging.cjs":"_f_webpack","webpack.config.staging.mjs":"_f_webpack","webpack.config.staging.coffee":"_f_webpack","webpack.config.staging.ts":"_f_webpack","webpack.config.test.js":"_f_webpack","webpack.config.test.cjs":"_f_webpack","webpack.config.test.mjs":"_f_webpack","webpack.config.test.coffee":"_f_webpack","webpack.config.test.ts":"_f_webpack","webpack.config.prod.js":"_f_webpack","webpack.config.prod.cjs":"_f_webpack","webpack.config.prod.mjs":"_f_webpack","webpack.config.prod.coffee":"_f_webpack","webpack.config.prod.ts":"_f_webpack","webpack.config.production.js":"_f_webpack","webpack.config.production.cjs":"_f_webpack","webpack.config.production.mjs":"_f_webpack","webpack.config.production.coffee":"_f_webpack","webpack.config.production.ts":"_f_webpack","webpack.config.babel.js":"_f_webpack","webpack.config.babel.cjs":"_f_webpack","webpack.config.babel.mjs":"_f_webpack","webpack.config.babel.coffee":"_f_webpack","webpack.config.babel.ts":"_f_webpack","webpack.config.base.babel.js":"_f_webpack","webpack.config.base.babel.cjs":"_f_webpack","webpack.config.base.babel.mjs":"_f_webpack","webpack.config.base.babel.coffee":"_f_webpack","webpack.config.base.babel.ts":"_f_webpack","webpack.config.common.babel.js":"_f_webpack","webpack.config.common.babel.cjs":"_f_webpack","webpack.config.common.babel.mjs":"_f_webpack","webpack.config.common.babel.coffee":"_f_webpack","webpack.config.common.babel.ts":"_f_webpack","webpack.config.dev.babel.js":"_f_webpack","webpack.config.dev.babel.cjs":"_f_webpack","webpack.config.dev.babel.mjs":"_f_webpack","webpack.config.dev.babel.coffee":"_f_webpack","webpack.config.dev.babel.ts":"_f_webpack","webpack.config.development.babel.js":"_f_webpack","webpack.config.development.babel.cjs":"_f_webpack","webpack.config.development.babel.mjs":"_f_webpack","webpack.config.development.babel.coffee":"_f_webpack","webpack.config.development.babel.ts":"_f_webpack","webpack.config.staging.babel.js":"_f_webpack","webpack.config.staging.babel.cjs":"_f_webpack","webpack.config.staging.babel.mjs":"_f_webpack","webpack.config.staging.babel.coffee":"_f_webpack","webpack.config.staging.babel.ts":"_f_webpack","webpack.config.test.babel.js":"_f_webpack","webpack.config.test.babel.cjs":"_f_webpack","webpack.config.test.babel.mjs":"_f_webpack","webpack.config.test.babel.coffee":"_f_webpack","webpack.config.test.babel.ts":"_f_webpack","webpack.config.prod.babel.js":"_f_webpack","webpack.config.prod.babel.cjs":"_f_webpack","webpack.config.prod.babel.mjs":"_f_webpack","webpack.config.prod.babel.coffee":"_f_webpack","webpack.config.prod.babel.ts":"_f_webpack","webpack.config.production.babel.js":"_f_webpack","webpack.config.production.babel.cjs":"_f_webpack","webpack.config.production.babel.mjs":"_f_webpack","webpack.config.production.babel.coffee":"_f_webpack","webpack.config.production.babel.ts":"_f_webpack","webpack.dev.js":"_f_webpack","webpack.dev.cjs":"_f_webpack","webpack.dev.mjs":"_f_webpack","webpack.dev.coffee":"_f_webpack","webpack.dev.ts":"_f_webpack","webpack.dev.conf.js":"_f_webpack","webpack.dev.conf.cjs":"_f_webpack","webpack.dev.conf.mjs":"_f_webpack","webpack.dev.conf.coffee":"_f_webpack","webpack.dev.conf.ts":"_f_webpack","webpack.local.js":"_f_webpack","webpack.local.cjs":"_f_webpack","webpack.local.mjs":"_f_webpack","webpack.local.coffee":"_f_webpack","webpack.local.ts":"_f_webpack","webpack.prod.js":"_f_webpack","webpack.prod.cjs":"_f_webpack","webpack.prod.mjs":"_f_webpack","webpack.prod.coffee":"_f_webpack","webpack.prod.ts":"_f_webpack","webpack.prod.conf.js":"_f_webpack","webpack.prod.conf.cjs":"_f_webpack","webpack.prod.conf.mjs":"_f_webpack","webpack.prod.conf.coffee":"_f_webpack","webpack.prod.conf.ts":"_f_webpack","webpack.main.config.js":"_f_webpack","webpack.main.config.cjs":"_f_webpack","webpack.main.config.mjs":"_f_webpack","webpack.main.config.coffee":"_f_webpack","webpack.main.config.ts":"_f_webpack","webpack.mix.js":"_f_webpack","webpack.mix.cjs":"_f_webpack","webpack.mix.mjs":"_f_webpack","webpack.mix.coffee":"_f_webpack","webpack.mix.ts":"_f_webpack","webpack.plugins.js":"_f_webpack","webpack.plugins.cjs":"_f_webpack","webpack.plugins.mjs":"_f_webpack","webpack.plugins.coffee":"_f_webpack","webpack.plugins.ts":"_f_webpack","webpack.renderer.config.js":"_f_webpack","webpack.renderer.config.cjs":"_f_webpack","webpack.renderer.config.mjs":"_f_webpack","webpack.renderer.config.coffee":"_f_webpack","webpack.renderer.config.ts":"_f_webpack","webpack.rules.js":"_f_webpack","webpack.rules.cjs":"_f_webpack","webpack.rules.mjs":"_f_webpack","webpack.rules.coffee":"_f_webpack","webpack.rules.ts":"_f_webpack","webpack.test.conf.js":"_f_webpack","webpack.test.conf.cjs":"_f_webpack","webpack.test.conf.mjs":"_f_webpack","webpack.test.conf.coffee":"_f_webpack","webpack.test.conf.ts":"_f_webpack","wercker.yml":"_f_wercker","windi.config.ts":"_f_windi","windi.config.js":"_f_windi","wpml-config.xml":"_f_wpml","wxt.config.js":"_f_wxt","wxt.config.cjs":"_f_wxt","wxt.config.mjs":"_f_wxt","wxt.config.ts":"_f_wxt","wxt.config.cts":"_f_wxt","wxt.config.mts":"_f_wxt",".xo-config":"_f_xo","xo.config.js":"_f_xo","xo.config.cjs":"_f_xo","xo.config.mjs":"_f_xo","xo.config.ts":"_f_xo","xo.config.cts":"_f_xo","xo.config.mts":"_f_xo",".xo-config.js":"_f_xo",".xo-config.json":"_f_xo",".xo-config.cjs":"_f_xo",".xcompose":"_f_xorg",".yamllint":"_f_yamllint",".yaspellerrc":"_f_yandex",".yaspeller.json":"_f_yandex","yarn.lock":"_f_yarn",".yarnrc":"_f_yarn",".yarnrc.yml":"_f_yarn",".yarnclean":"_f_yarn",".yarn-integrity":"_f_yarn",".yarn-metadata.json":"_f_yarn",".yarn-state.yml":"_f_yarn",".yarnignore":"_f_yarn",".yo-rc.json":"_f_yeoman","zizmor.yaml":"_f_zizmor","zizmor.yml":"_f_zizmor"}'),nh=JSON.parse('{"actionscript":"_f_actionscript","ada":"_f_ada","advpl":"_f_advpl","affectscript":"_f_affectscript","agda":"_f_agda","lagda-md":"_f_agda","lagda-rst":"_f_agda","lagda-tex":"_f_agda","al":"_f_al","alloy":"_f_alloy","ansible":"_f_ansible","antlr":"_f_antlr","anyscript":"_f_anyscript","apacheconf":"_f_apache","apex":"_f_apex","apiblueprint":"_f_apib","apl":"_f_apl","applescript":"_f_applescript","asciidoc":"_f_asciidoc","asp":"_f_asp","asp (html)":"_f_asp","arm":"_f_assembly","asm":"_f_assembly","asm-intel-x86-generic":"_f_assembly","platformio-debug.asm":"_f_platformio","asm-collection":"_f_assembly","astro":"_f_astro","ats":"_f_ats","ahk":"_f_autohotkey","ahk2":"_f_autohotkey","autoit":"_f_autoit","avro":"_f_avro","azcli":"_f_azure","azure-pipelines":"_f_azurepipelines","asaql":"_f_azurestreamanalytics","ballerina":"_f_ballerina","bat":"_f_bat","bats":"_f_bats","bazel":"_f_bazel","bazelrc":"_f_bazel","starlark":"_f_bazel","befunge":"_f_befunge","befunge98":"_f_befunge","bicep":"_f_bicep","biml":"_f_biml","code-text-binary":"_f_binary","biome_syntax_tree":"_f_biome","blade":"_f_blade","laravel-blade":"_f_blade","blitzbasic":"_f_blitzbasic","bolt":"_f_bolt","bosque":"_f_bosque","browserslist":"_f_browserslist","bruno":"_f_bruno","buf":"_f_buf","buf-gen":"_f_buf","bun.lockb":"_f_bun","c":"_f_c","c3":"_f_c3","c-al":"_f_c_al","cabal":"_f_cabal","caddyfile":"_f_caddy","Cangjie":"_f_cangjie","capnp":"_f_capnp","capnproto":"_f_capnp","casc":"_f_casc","cddl":"_f_cddl","ceylon":"_f_ceylon","cfml":"_f_cf","lang-cfml":"_f_cf","cfc":"_f_cfc","cfmhtml":"_f_cfm","cookbook":"_f_chef_cookbook","circom":"_f_circom","clojure":"_f_clojure","clojurescript":"_f_clojurescript","manifest-yaml":"_f_cloudfoundry","cmake":"_f_cmake","cmake-cache":"_f_cmake","cobol":"_f_cobol","ql":"_f_codeql","coffeescript":"_f_coffeescript","java-properties":"_f_config","properties":"_f_config","spring-boot-properties":"_f_config","confluence":"_f_confluence","instructions":"_f_copilot","prompt":"_f_copilot","cpp":"_f_cpp","crystal":"_f_crystal","csharp":"_f_csharp","css":"_f_css","cucumber":"_f_cucumber","feature":"_f_cucumber","cuda":"_f_cuda","cuda-cpp":"_f_cuda","cue":"_f_cue","cython":"_f_cython","dal":"_f_dal","dart":"_f_dartlang","debian-changelog":"_f_debian","debian-control":"_f_debian","debian-copyright":"_f_debian","debian-upstream-metadata":"_f_debian","pascal":"_f_delphi","objectpascal":"_f_delphi","dhall":"_f_dhall","diff":"_f_diff","django-html":"_f_django","django-txt":"_f_django","d":"_f_dlang","dscript":"_f_dlang","dml":"_f_dlang","diet":"_f_dlang","dockerbake":"_f_docker","dockercompose":"_f_docker","dockerfile":"_f_docker","dotenv":"_f_dotenv","env":"_f_dotenv","dotjs":"_f_dotjs","doxyfile":"_f_doxyfile","doxygen":"_f_doxygen","drawio":"_f_drawio","drools":"_f_drools","dtd":"_f_dtd","dustjs":"_f_dustjs","dylan":"_f_dylan","dylan-lid":"_f_dylan","earthfile":"_f_earthly","edge":"_f_edge","editorconfig":"_f_editorconfig","eex":"_f_eex","html-eex":"_f_eex","es":"_f_elastic","elixir":"_f_elixir","elm":"_f_elm","erb":"_f_erb","html.erb":"_f_erb","erlang":"_f_erlang","esphome":"_f_esphome","excel":"_f_excel","falcon":"_f_falcon","fql":"_f_fauna","flatbuffers":"_f_flatbuffers","fortran":"_f_fortran","fortran-modern":"_f_fortran","FortranFreeForm":"_f_fortran","FortranFixedForm":"_f_fortran","fortran_fixed-form":"_f_fortran","ftl":"_f_freemarker","fsharp":"_f_fsharp","fthtml":"_f_fthtml","galen":"_f_galen","gml-gms":"_f_gamemaker","gml-gms2":"_f_gamemaker2","gml-gm81":"_f_gamemaker81","gcode":"_f_gcode","gdscript":"_f_gdscript","genstat":"_f_genstat","git-commit":"_f_git","git-rebase":"_f_git","ignore":"_f_git","gitignore":"_f_git","gleam":"_f_gleam","glimmer-js":"_f_glimmer","glimmer-ts":"_f_glimmer","glsl":"_f_glsl","glyphs":"_f_glyphs","automake":"_f_gnu","m4":"_f_gnu","makefile":"_f_gnu","makefile2":"_f_gnu","gnuplot":"_f_gnuplot","go":"_f_go","go.mod":"_f_go_package","go.work":"_f_go_work","goctl":"_f_goctl","gradle-kotlin-dsl":"_f_gradle","grain":"_f_grain","graphql":"_f_graphql","dot":"_f_graphviz","grit":"_f_grit","groovy":"_f_groovy","haml":"_f_haml","handlebars":"_f_handlebars","harbour":"_f_harbour","hcl":"_f_hashicorp","haskell":"_f_haskell","literate haskell":"_f_haskell","haxe":"_f_haxe","hxml":"_f_haxe","Haxe AST dump":"_f_haxe","helm":"_f_helm","hjson":"_f_hjson","hlsl":"_f_hlsl","home-assistant":"_f_homeassistant","hosts":"_f_host","html":"_f_html","http":"_f_http","huff":"_f_huff","hunspell.aff":"_f_hunspell","hunspell.dic":"_f_hunspell","hurl":"_f_hurl","hy":"_f_hy","hypr":"_f_hypr","icl":"_f_icl","imba":"_f_imba","4GL":"_f_informix","ini":"_f_ini","ink":"_f_ink","innosetup":"_f_innosetup","io":"_f_io","iodine":"_f_iodine","janet":"_f_janet","java":"_f_java","jekyll":"_f_jekyll","jenkins":"_f_jenkins","declarative":"_f_jenkins","jenkinsfile":"_f_jenkins","jest-snapshot":"_f_jest_snapshot","jinja":"_f_jinja","jinja-java":"_f_jinja","jinja-html":"_f_jinja","jinja-xml":"_f_jinja","jinja-css":"_f_jinja","jinja-json":"_f_jinja","jinja-md":"_f_jinja","jinja-py":"_f_jinja","jinja-rb":"_f_jinja","jinja-js":"_f_jinja","jinja-yaml":"_f_jinja","jinja-toml":"_f_jinja","jinja-latex":"_f_jinja","jinja-lua":"_f_jinja","jinja-properties":"_f_jinja","jinja-shell":"_f_jinja","jinja-dockerfile":"_f_jinja","jinja-sql":"_f_jinja","jinja-terraform":"_f_jinja","jinja-nginx":"_f_jinja","jinja-groovy":"_f_jinja","jinja-systemd":"_f_jinja","jinja-cpp":"_f_jinja","javascript":"_f_js","json":"_f_json","json-tmlanguage":"_f_json","jsonc":"_f_json","jsonl":"_f_json","json5":"_f_json5","jsonnet":"_f_jsonnet","julia":"_f_julia","juliamarkdown":"_f_julia","just":"_f_just","k":"_f_k","kivy":"_f_kivy","kos":"_f_kos","kotlin":"_f_kotlin","kotlinscript":"_f_kotlin","kusto":"_f_kusto","lark":"_f_lark","latino":"_f_latino","lean4":"_f_lean","lean4markdown":"_f_lean","less":"_f_less","lex":"_f_lex","lilypond":"_f_lilypond","liquid":"_f_liquid","lisp":"_f_lisp","autolisp":"_f_lisp","autolispdcl":"_f_lisp","strings":"_f_locale","log":"_f_log","lolcode":"_f_lolcode","lsl":"_f_lsl","lua":"_f_lua","chatagent":"_f_markdown","markdown":"_f_markdown","marko":"_f_marko","matlab":"_f_matlab","maxscript":"_f_maxscript","mel":"_f_maya","mdx":"_f_mdx","mediawiki":"_f_mediawiki","mermaid":"_f_mermaid","mermaid.architecture":"_f_mermaid","mermaid.block":"_f_mermaid","mermaid.c4Diagram":"_f_mermaid","mermaid.classDiagram":"_f_mermaid","mermaid.erDiagram":"_f_mermaid","mermaid.flowchart":"_f_mermaid","mermaid.gantt":"_f_mermaid","mermaid.gitGraph":"_f_mermaid","mermaid.info":"_f_mermaid","mermaid.journey":"_f_mermaid","mermaid.kanban":"_f_mermaid","mermaid.mindmap":"_f_mermaid","mermaid.packet":"_f_mermaid","mermaid.pie":"_f_mermaid","mermaid.quadrantChart":"_f_mermaid","mermaid.radar":"_f_mermaid","mermaid.requirementDiagram":"_f_mermaid","mermaid.sankey":"_f_mermaid","mermaid.sequenceDiagram":"_f_mermaid","mermaid.stateDiagram":"_f_mermaid","mermaid.timeline":"_f_mermaid","mermaid.xychart":"_f_mermaid","mermaid.zenuml":"_f_mermaid","meson":"_f_meson","metal":"_f_metal","bc-mcfunction":"_f_minecraft","bc-minecraft-language":"_f_minecraft","bc-minecraft-molang":"_f_minecraft","bc-minecraft-project":"_f_minecraft","mcdoc":"_f_minecraft","mcfunction":"_f_minecraft","mcmeta":"_f_minecraft","mcscript":"_f_minecraft","minecraft-lang":"_f_minecraft","options-txt":"_f_minecraft","snbt":"_f_minecraft","mv":"_f_mivascript","mjml":"_f_mjml","powerquery":"_f_mlang","mojo":"_f_mojo","mojolicious":"_f_mojolicious","mongo":"_f_mongo","mson":"_f_mson","mvt":"_f_mvt","mvtcss":"_f_mvtcss","mvtjs":"_f_mvtjs","nearley":"_f_nearly","cypher":"_f_neo4j","nginx":"_f_nginx","nim":"_f_nim","nimble":"_f_nimble","nix":"_f_nix","nsis":"_f_nsi","nfl":"_f_nsi","nsl":"_f_nsi","bridlensis":"_f_nsi","nunjucks":"_f_nunjucks","nushell":"_f_nushell","objective-c":"_f_objectivec","objective-cpp":"_f_objectivecpp","ocaml":"_f_ocaml","ocamllex":"_f_ocaml","menhir":"_f_ocaml","ogone":"_f_ogone","openhab":"_f_openHAB","scad":"_f_openscad","org":"_f_org","pawn":"_f_pawn","pddl":"_f_pddl","happenings":"_f_pddl_happenings","plan":"_f_pddl_plan","perl":"_f_perl","perl6":"_f_perl6","pgsql":"_f_pgsql","postgres":"_f_pgsql","php":"_f_php","pine":"_f_pine","pinescript":"_f_pine","pip-requirements":"_f_pip","platformio-debug.disassembly":"_f_platformio","platformio-debug.memoryview":"_f_platformio","plsql":"_f_plsql","oracle":"_f_plsql","oraclesql":"_f_plsql","oracle-sql":"_f_plsql","po":"_f_poedit","polyglot-notebook":"_f_polyglot","polymer":"_f_polymer","pony":"_f_pony","postcss":"_f_postcss","postscript":"_f_postscript","powerbi-desktop":"_f_powerbi","powerbi-api":"_f_powerbi","powershell":"_f_powershell","prisma":"_f_prisma","pde":"_f_processinglang","abl":"_f_progress","prolog":"_f_prolog","prometheus":"_f_prometheus","proto3":"_f_protobuf","proto":"_f_protobuf","prototext":"_f_protobuf","textproto":"_f_protobuf","jade":"_f_pug","puppet":"_f_puppet","purescript":"_f_purescript","pyret":"_f_pyret","pyscript":"_f_pyscript","python":"_f_python","pythowo":"_f_pythowo","qlik":"_f_qlikview","qml":"_f_qml","qsharp":"_f_qsharp","r":"_f_r","ra_syntax_tree":"_f_ra_syntax_tree","racket":"_f_racket","raku":"_f_raku","raml":"_f_raml","razor":"_f_razor","aspnetcorerazor":"_f_razor","javascriptreact":"_f_reactjs","typescriptreact":"_f_reactts","reason":"_f_reason","red":"_f_red","rescript":"_f_rescript","restructuredtext":"_f_rest","rexx":"_f_rexx","riot":"_f_riot","ripple":"_f_ripple","rmd":"_f_rmd","rnc":"_f_rnc","robot":"_f_robotframework","robots-txt":"_f_robots","ruby":"_f_ruby","rust":"_f_rust","s-lang":"_f_s-lang","san":"_f_san","SAS":"_f_sas","sass":"_f_sass","sass.hover":"_f_sass","sbt":"_f_sbt","scala":"_f_scala","scilab":"_f_scilab","vbscript":"_f_script","scss":"_f_scss","sdl":"_f_sdlang","search-result":"_f_search_result","shaderlab":"_f_shaderlab","shellscript":"_f_shell","silverstripe":"_f_silverstripe","sino":"_f_sino","skill":"_f_skill","eskip":"_f_skipper","slang":"_f_slang","slice":"_f_slice","slim":"_f_slim","slint":"_f_slint","sln":"_f_sln","smarty":"_f_smarty","snakemake":"_f_snakemake","snort":"_f_snort","solidity":"_f_solidity","sparql":"_f_sparql","sqf":"_f_sqf","sql":"_f_sql","squirrel":"_f_squirrel","stan":"_f_stan","stata":"_f_stata","stencil":"_f_stencil","stencil-html":"_f_stencil","stylable":"_f_stylable","source.css.styled":"_f_styled","stylus":"_f_stylus","svelte":"_f_svelte","svg":"_f_svg","Swagger":"_f_swagger","swagger":"_f_swagger","swift":"_f_swift","swig":"_f_swig","systemd-conf":"_f_systemd","systemd-unit-file":"_f_systemd","systemverilog":"_f_systemverilog","t4":"_f_t4tt","tailwindcss":"_f_tailwind","teal":"_f_teal","templ":"_f_templ","tera":"_f_tera","terraform":"_f_terraform","tex":"_f_tex","latex":"_f_tex","bibtex":"_f_tex","doctex":"_f_tex","csv":"_f_text","csv (pipe)":"_f_text","csv (semicolon)":"_f_text","csv (whitespace)":"_f_text","dynamic csv":"_f_text","tsv":"_f_text","plaintext":"_f_text","vim-help":"_f_text","textile":"_f_textile","thinkscript":"_f_thinkscript","tiltfile":"_f_tiltfile","toit":"_f_toit","toml":"_f_toml","toon":"_f_toon","tt":"_f_tt","ttcn":"_f_ttcn","tuc":"_f_tuc","twig":"_f_twig","typescript":"_f_typescript","typoscript":"_f_typo3","uiua":"_f_uiua","unison":"_f_unison","vb":"_f_vb","vba":"_f_vba","velocity":"_f_velocity","vento":"_f_vento","verilog":"_f_verilog","vhdl":"_f_vhdl","viml":"_f_vim","vim-snippet":"_f_vim","vitest-snapshot":"_f_vitest","v":"_f_vlang","volt":"_f_volt","vroom":"_f_vroom","snippets":"_f_vscode","vue":"_f_vue","vyper":"_f_vyper","wasm":"_f_wasm","wat":"_f_wasm","wasp":"_f_wasp","wenyan":"_f_wenyan","wesl":"_f_wesl","wgsl":"_f_wgsl","wikitext":"_f_wikitext","wai":"_f_wit","wolfram":"_f_wolfram","wurstlang":"_f_wurst","wurst":"_f_wurst","xmake":"_f_xmake","xml":"_f_xml","xcompose":"_f_xorg","xquery":"_f_xquery","xsl":"_f_xsl","xslt":"_f_xsl","yacc":"_f_yacc","yaml":"_f_yaml","yaml-tmlanguage":"_f_yaml","spring-boot-properties-yaml":"_f_yaml","yang":"_f_yang","yarnlock":"_f_yarn","zig":"_f_zig","zip":"_f_zip"}'),sh={iconDefinitions:Ku,file:Qu,folder:Xu,folderExpanded:Yu,folderNames:Zu,folderNamesExpanded:Ju,fileExtensions:eh,fileNames:th,languageIds:nh},oh={bat:"bat",cmd:"bat",clj:"clojure",cljs:"clojure",cljc:"clojure",cljx:"clojure",clojure:"clojure",edn:"clojure",coffee:"coffeescript",cson:"coffeescript",iced:"coffeescript","code-workspace":"jsonc","code-profile":"json",copilotmd:"markdown",c:"c",i:"c",cpp:"cpp",cppm:"cpp",cc:"cpp",ccm:"cpp",cxx:"cpp",cxxm:"cpp","c++":"cpp","c++m":"cpp",hpp:"cpp",hh:"cpp",hxx:"cpp","h++":"cpp",h:"cpp",ii:"cpp",ino:"cpp",inl:"cpp",ipp:"cpp",ixx:"cpp",tpp:"cpp",txx:"cpp","hpp.in":"cpp","h.in":"cpp",cu:"cuda-cpp",cuh:"cuda-cpp",cs:"csharp",csx:"csharp",cake:"csharp",css:"css",dart:"dart",diff:"diff",patch:"diff",rej:"diff",dockerfile:"dockerfile",containerfile:"dockerfile",env:"dotenv",fs:"fsharp",fsi:"fsharp",fsx:"fsharp",fsscript:"fsharp",gitignore_global:"ignore",gitignore:"ignore","git-blame-ignore-revs":"ignore",go:"go",groovy:"groovy",gvy:"groovy",gradle:"groovy",jenkinsfile:"groovy",nf:"groovy",handlebars:"handlebars",hbs:"handlebars",hjs:"handlebars",hlsl:"hlsl",hlsli:"hlsl",fx:"hlsl",fxh:"hlsl",vsh:"hlsl",psh:"hlsl",cginc:"hlsl",compute:"hlsl",html:"html",htm:"html",shtml:"html",xhtml:"html",xht:"html",mdoc:"html",jsp:"html",asp:"html",aspx:"html",jshtm:"html",volt:"html",ejs:"html",rhtml:"html",ini:"ini",conf:"properties",properties:"properties",cfg:"properties",directory:"properties",gitattributes:"properties",gitconfig:"properties",gitmodules:"properties",editorconfig:"properties",repo:"properties",java:"java",jav:"java",jsx:"javascriptreact",js:"javascript",es6:"javascript",mjs:"javascript",cjs:"javascript",pac:"javascript",json:"json",bowerrc:"json",jscsrc:"json",webmanifest:"json","js.map":"json","css.map":"json","ts.map":"json",har:"json",jslintrc:"json",jsonld:"json",geojson:"json",ipynb:"json",vuerc:"json",jsonc:"jsonc",eslintrc:"jsonc","eslintrc.json":"jsonc",jsfmtrc:"jsonc",jshintrc:"jsonc",swcrc:"jsonc",hintrc:"jsonc",babelrc:"jsonc","toolset.jsonc":"jsonc",jsonl:"jsonl",ndjson:"jsonl","code-snippets":"snippets",jl:"julia",jmd:"juliamarkdown",sty:"tex",cls:"tex",bbx:"tex",cbx:"tex",tex:"latex",ltx:"latex",ctx:"latex",bib:"bibtex",less:"less",log:"log",lua:"lua",mak:"makefile",mk:"makefile",md:"markdown",mkd:"markdown",mkdn:"markdown",mdwn:"markdown",mdown:"markdown",markdown:"markdown",markdn:"markdown",mdtxt:"markdown",mdtext:"markdown",litcoffee:"markdown",ron:"markdown",ronn:"markdown",workbook:"markdown",wat:"wat",wasm:"wat",npmignore:"ignore",npmrc:"properties",m:"objective-c",mm:"objective-cpp",pl:"perl",pm:"perl",pod:"perl",t:"perl",psgi:"perl",raku:"raku",rakumod:"raku",rakutest:"raku",rakudoc:"raku",nqp:"raku",p6:"raku",pl6:"raku",pm6:"raku",php:"php",php4:"php",php5:"php",phtml:"php",ctp:"php",ps1:"powershell",psm1:"powershell",psd1:"powershell",pssc:"powershell",psrc:"powershell","prompt.md":"prompt","instructions.md":"instructions","agent.md":"chatagent","chatmode.md":"chatagent",pug:"jade",jade:"jade",py:"python",rpy:"python",pyw:"python",cpy:"python",gyp:"python",gypi:"python",pyi:"python",ipy:"python",pyt:"python",r:"r",rhistory:"r",rprofile:"r",rt:"r",cshtml:"razor",razor:"razor",rst:"restructuredtext",rb:"ruby",rbx:"ruby",rjs:"ruby",gemspec:"ruby",rake:"ruby",ru:"ruby",erb:"ruby",podspec:"ruby",rbi:"ruby",rs:"rust",scss:"scss","code-search":"search-result",shader:"shaderlab",sh:"shellscript",bash:"shellscript",bashrc:"shellscript",bash_aliases:"shellscript",bash_profile:"shellscript",bash_login:"shellscript",ebuild:"shellscript",eclass:"shellscript",profile:"shellscript",bash_logout:"shellscript",xprofile:"shellscript",xsession:"shellscript",xsessionrc:"shellscript",zsh:"shellscript",zshrc:"shellscript",zprofile:"shellscript",zlogin:"shellscript",zlogout:"shellscript",zshenv:"shellscript","zsh-theme":"shellscript",fish:"shellscript",ksh:"shellscript",csh:"shellscript",cshrc:"shellscript",tcshrc:"shellscript",yashrc:"shellscript",yash_profile:"shellscript",sql:"sql",dsql:"sql",swift:"swift",ts:"typescript",cts:"typescript",mts:"typescript",tsx:"typescriptreact",tsbuildinfo:"json",vb:"vb",brs:"vb",vbs:"vb",bas:"vb",vba:"vb",xml:"xml",xsd:"xml",ascx:"xml",atom:"xml",axml:"xml",axaml:"xml",bpmn:"xml",cpt:"xml",csl:"xml",csproj:"xml","csproj.user":"xml",dita:"xml",ditamap:"xml",dtd:"xml",ent:"xml",mod:"xml",dtml:"xml",fsproj:"xml",fxml:"xml",iml:"xml",isml:"xml",jmx:"xml",launch:"xml",menu:"xml",mxml:"xml",nuspec:"xml",opml:"xml",owl:"xml",proj:"xml",props:"xml",pt:"xml",publishsettings:"xml",pubxml:"xml","pubxml.user":"xml",rbxlx:"xml",rbxmx:"xml",rdf:"xml",rng:"xml",rss:"xml",shproj:"xml",slnx:"xml",storyboard:"xml",svg:"xml",targets:"xml",tld:"xml",tmx:"xml",vbproj:"xml","vbproj.user":"xml",vcxproj:"xml","vcxproj.filters":"xml",wixproj:"xml",wsdl:"xml",wxi:"xml",wxl:"xml",wxs:"xml",xaml:"xml",xbl:"xml",xib:"xml",xlf:"xml",xliff:"xml",xpdl:"xml",xul:"xml",xoml:"xml",xsl:"xsl",xslt:"xsl",yaml:"yaml",yml:"yaml",eyaml:"yaml",eyml:"yaml",cff:"yaml","yaml-tmlanguage":"yaml","yaml-tmpreferences":"yaml","yaml-tmtheme":"yaml",winget:"yaml"},ih={"settings.json":"jsonc","launch.json":"jsonc","tasks.json":"jsonc","mcp.json":"jsonc","keybindings.json":"jsonc","extensions.json":"jsonc","argv.json":"jsonc","profiles.json":"jsonc","devcontainer.json":"jsonc",".devcontainer.json":"jsonc",dockerfile:"dockerfile",containerfile:"dockerfile",".env":"dotenv",".flaskenv":"dotenv","user-dirs.dirs":"dotenv",".vscodeignore":"ignore",commit_editmsg:"git-commit",merge_msg:"git-commit","git-rebase-todo":"git-rebase",jenkinsfile:"groovy",gitconfig:"properties",jakefile:"javascript","composer.lock":"json",".watchmanconfig":"json","babel.config.json":"jsonc","bun.lock":"jsonc",".babelrc.json":"jsonc",".ember-cli":"jsonc","typedoc.json":"jsonc",makefile:"makefile",gnumakefile:"makefile",ocamlmakefile:"makefile","skill.md":"skill",sconstruct:"python",sconscript:"python",rakefile:"ruby",gemfile:"ruby",guardfile:"ruby",podfile:"ruby",capfile:"ruby",cheffile:"ruby",hobofile:"ruby",vagrantfile:"ruby",appraisals:"ruby",rantfile:"ruby",berksfile:"ruby","berksfile.lock":"ruby",thorfile:"ruby",puppetfile:"ruby",dangerfile:"ruby",brewfile:"ruby",fastfile:"ruby",appfile:"ruby",deliverfile:"ruby",matchfile:"ruby",scanfile:"ruby",snapfile:"ruby",gymfile:"ruby",apkbuild:"shellscript",pkgbuild:"shellscript",".envrc":"shellscript",".hushlogin":"shellscript",zshrc:"shellscript",zshenv:"shellscript",zlogin:"shellscript",zprofile:"shellscript",zlogout:"shellscript",bashrc_apple_terminal:"shellscript",zshrc_apple_terminal:"shellscript","tsconfig.json":"jsonc","jsconfig.json":"jsonc"},ah={fileExtensions:oh,fileNames:ih},Be=sh,xo=ah,rh="./vscode-icons";function wr(e){const t=xr(e),n=jr(t),s=Be.fileNames[t]??Be.fileNames[n];if(s)return an(s);if(/^\.env(?:\.|$)/.test(n))return an(Be.languageIds.dotenv??Be.file);const i=lh(n);for(const l of i){const p=Be.fileExtensions[l];if(p)return an(p)}const a=xo.fileNames[n]??i.map(l=>xo.fileExtensions[l]).find(Boolean),c=a?Be.languageIds[a]:void 0;return an(c??Be.file)}function Jg(e){const t=e.trim().toLowerCase(),n=Be.languageIds[t]?t:xo.fileExtensions[t]??(t==="text"||t==="txt"?"plaintext":void 0),s=n?Be.languageIds[n]:void 0;return s?an(s):null}function ch(e,t){const n=jr(xr(e)),s=t?Be.folderNamesExpanded:Be.folderNames;return an(s[n]??(t?Be.folderExpanded:Be.folder))}function an(e){const n=(Be.iconDefinitions[e]??Be.iconDefinitions[Be.file])?.iconPath.split("/").pop()??"default_file.svg";return`${rh}/${n}`}function xr(e){return e.replaceAll("\\","/").replace(/^\.\//,"").toLowerCase()}function jr(e){return e.slice(e.lastIndexOf("/")+1)}function lh(e){const t=e.split(".");return t.slice(1).map((n,s)=>t.slice(s+1).join("."))}function _h({props:e,repositoryControl:t,worktreeControl:n,branchControl:s,favicon:i,contextOpen:a,onContextOpen:c,syncBusy:l}){const p=_.useRef(null);_.useEffect(()=>{e.mobileBackLabel&&p.current?.focus()},[e.mobileBackLabel]);const[f,g]=_.useState(!1),y=un(e.status),v=!!e.busy||l||!e.status||e.status.readOnly||e.status.unborn||e.status.detached,u=x=>{c(!1),x()};return o.jsxs(o.Fragment,{children:[o.jsxs("header",{className:"mobile-toolbar",children:[e.mobileBackLabel?o.jsxs("button",{ref:p,className:"mobile-toolbar-back",onClick:e.onMobileBack,children:[o.jsx(El,{}),o.jsx("span",{children:e.mobileBackLabel})]}):o.jsxs("button",{className:"mobile-repository-context","aria-label":"Repository context","aria-haspopup":"dialog","aria-expanded":a,onClick:()=>c(!0),children:[o.jsx(vo,{src:i}),o.jsxs("span",{children:[o.jsx("strong",{children:e.repository.repositoryName}),o.jsxs("small",{children:[o.jsx(ds,{}),e.status?.branch??"Detached HEAD"]})]})]}),o.jsxs("div",{className:"mobile-toolbar-actions",children:[on&&o.jsx(Ro,{}),e.openFiles.tabs.length>0&&o.jsxs(W,{variant:"ghost",size:"sm",className:"mobile-open-files-trigger","aria-label":`Open files (${e.openFiles.tabs.length})`,onClick:()=>g(!0),children:[o.jsx(ro,{}),o.jsx("span",{children:e.openFiles.tabs.length}),e.openFiles.tabs.some(x=>x.dirty)&&o.jsx("span",{className:"mobile-unsaved-dot","aria-label":"Unsaved files"})]}),o.jsx(Ho,{}),o.jsx(W,{variant:"ghost",size:"icon","aria-label":"Repository context and settings",onClick:()=>c(!0),children:o.jsx(Vl,{})})]})]}),o.jsxs(Xi,{open:a,onOpenChange:c,title:"Repository",description:"Switch checkout or manage the current repository.",children:[o.jsxs("div",{className:"mobile-context-selectors",children:[o.jsxs("div",{children:[o.jsx("span",{children:"Repository"}),t]}),o.jsxs("div",{children:[o.jsx("span",{children:"Branch"}),s]}),o.jsxs("div",{children:[o.jsx("span",{children:"Worktree"}),n]})]}),o.jsxs("div",{className:"mobile-context-sync",children:[o.jsxs(W,{variant:"outline",size:"sm",disabled:!!e.busy||l,onClick:()=>u(e.onRefresh),children:[o.jsx(Co,{}),"Refresh"]}),o.jsxs(W,{variant:"outline",size:"sm",disabled:v||!e.status?.upstream||!(e.status.behind>0),onClick:()=>u(e.onPull),children:[o.jsx(ra,{}),"Pull",e.status?.behind?` (${e.status.behind})`:""]}),o.jsxs(W,{variant:"outline",size:"sm",disabled:v||!y&&!(e.status&&e.status.ahead>0),onClick:()=>u(e.onPush),children:[o.jsx(Es,{}),y?"Publish":"Push",e.status?.ahead?` (${e.status.ahead})`:""]})]}),o.jsxs("button",{className:"mobile-sheet-action",onClick:()=>u(e.onOpen),children:[o.jsx(Ns,{}),o.jsx("span",{children:"Open repository"})]}),e.branchPullRequest&&o.jsxs("button",{className:`mobile-sheet-action mobile-branch-pr ${e.branchPullRequest.state.toLowerCase()}`,onClick:()=>u(()=>Ss(e.branchPullRequest.url)),children:[e.branchPullRequest.state==="MERGED"?o.jsx(_a,{"aria-hidden":"true"}):o.jsx(ps,{"aria-hidden":"true"}),o.jsxs("span",{children:[e.branchPullRequest.state==="MERGED"?"View merged":"Open"," PR #",e.branchPullRequest.number]})]}),e.githubInfo?.isGitHub&&e.githubInfo.nameWithOwner&&o.jsxs("button",{className:"mobile-sheet-action",onClick:()=>u(()=>Ss(`https://github.com/${e.githubInfo.nameWithOwner}`)),children:[o.jsx(ca,{}),o.jsx("span",{children:"Open on GitHub"})]}),o.jsxs("button",{className:"mobile-sheet-action",onClick:()=>u(()=>e.onSettingsOpen(!0)),children:[o.jsx(So,{}),o.jsx("span",{children:"Settings"})]})]}),o.jsxs(Xi,{open:f,onOpenChange:g,title:"Open files",description:"Switch files or close tabs. Unsaved drafts stay in their tabs.",children:[e.openFiles.tabs.map(x=>o.jsxs("div",{className:`mobile-open-file ${e.openFiles.activePath===x.path?"active":""}`,children:[o.jsxs("button",{className:"mobile-sheet-action","aria-current":e.openFiles.activePath===x.path?"true":void 0,onClick:()=>{g(!1),e.onOpenFileTab(x.path)},children:[o.jsx("img",{src:wr(x.path),alt:"",draggable:!1}),o.jsxs("span",{children:[o.jsx("strong",{children:x.path.split("/").pop()}),o.jsxs("small",{children:[x.path,x.missing?" · Missing":x.dirty?" · Unsaved":e.openFiles.previewPath===x.path?" · Preview":""]})]})]}),o.jsx(W,{variant:"ghost",size:"icon","aria-label":`Close ${x.path}`,onClick:()=>e.onCloseFileTab(x.path),children:o.jsx(pn,{})})]},x.path)),e.openFiles.tabs.length===0&&o.jsx("p",{className:"mobile-list-message",children:"No open files."})]})]})}function fh({branches:e,currentLabel:t,disabled:n,onBranch:s,onManage:i}){const{groups:a,currentValue:c}=_.useMemo(()=>{const l=[],p=[];let f="";for(const g of e){if(g.remote&&g.fullName.endsWith("/HEAD"))continue;const y=!!(!g.remote&&g.worktreePath&&!g.current);!g.remote&&g.current&&(f=g.fullName),(g.remote?p:l).push({value:g.fullName,label:g.name,trailing:g.current?o.jsx("span",{className:"searchable-picker-status",children:"Current"}):y?o.jsx("span",{className:"searchable-picker-status",children:"In use"}):void 0,search:g.fullName,tooltip:`${g.fullName}${y?" · In another worktree":""}`,disabled:y,icon:o.jsx(ds,{})})}return l.sort((g,y)=>g.value===f?-1:y.value===f?1:0),{currentValue:f,groups:[{id:"local",label:"Local",items:l},{id:"remote",label:"Remote",items:p}]}},[e]);return o.jsx(po,{groups:a,value:c,onValueChange:s,label:"Select branch",triggerLabel:t,icon:o.jsx(ds,{}),triggerClassName:"max-w-[220px]",placeholder:"Search branches…",management:{label:"Manage branches…",onClick:i},disabled:n})}const dh=_.lazy(()=>gt(()=>import("./SettingsDialog-DWAunOQB.js"),__vite__mapDeps([0,1,2,3,4,5,6])).then(e=>({default:e.SettingsDialog}))),ph=_.lazy(()=>gt(()=>import("./LocalRefsDialog--1NiYKYj.js"),__vite__mapDeps([7,1,2,3,4,5,8])).then(e=>({default:e.LocalRefsDialog}))),uh=_.lazy(()=>gt(()=>import("./RepositoryProjectsDialog-Biqv5GO_.js"),__vite__mapDeps([9,1,4,2,3,5,10])).then(e=>({default:e.RepositoryProjectsDialog})));function hh(e){const{onRecent:t}=e,n=Ls(),[s,i]=_.useState(!1),a=un(e.status),l=br().repoSwitcher.toLowerCase(),[p,f]=_.useState(!1),[g,y]=_.useState(!1),[v,u]=_.useState(!1),[x,P]=_.useState("branches"),[j,D]=_.useState(()=>new Map),k=_.useRef(""),R=_.useRef(null),$=_.useRef(new Map),[F,A]=_.useState(!1),I=S=>{i(!1),P(S),u(!0)},B=e.worktrees.find(S=>Ap(S.path,e.repository.path)),U=_.useMemo(()=>Up(e.recent,e.repositoryProjects),[e.recent,e.repositoryProjects]),O=_.useMemo(()=>Vp(U),[U]),K=_.useMemo(()=>new Map(O.map((S,G)=>[S.key,G+1])),[O]),ee=ht(e.repository.commonDir),E=e.repositorySyncOperations.has(e.repository.id),H=_.useMemo(()=>[{key:ee,recent:{id:e.repository.id}},...U.repositories],[ee,U.repositories,e.repository.id]),Z=qp(H),me=_.useCallback(async S=>{await Promise.all(S.map(async G=>{const Q=G.recent.id,J=($.current.get(Q)??0)+1;$.current.set(Q,J);try{const q=await N.refs.fetch(Q);if($.current.get(Q)!==J)return;const z=await N.repository.getStatus(Q,!1);if($.current.get(Q)!==J)return;D(ce=>{const Y=new Map(ce);return Y.set(Q,{ahead:q.status==="success"?q.ahead:z.ahead,behind:q.status==="success"?q.behind:z.behind,branch:z.branch,detached:z.detached,upstream:z.upstream,unborn:z.unborn,readOnly:z.readOnly,operation:z.operation}),Y})}catch{if($.current.get(Q)!==J)return;D(q=>{const z=new Map(q);return z.delete(Q),z})}}))},[]);_.useEffect(()=>{const S=e.status;if(!S)return;const G=e.repository.id;$.current.set(G,($.current.get(G)??0)+1),D(Q=>{const J=new Map(Q);return J.set(G,{ahead:S.ahead,behind:S.behind,branch:S.branch,detached:S.detached,upstream:S.upstream,unborn:S.unborn,readOnly:S.readOnly,operation:S.operation}),J})},[e.repository.id,e.status]),_.useEffect(()=>{p&&me(U.repositories)},[U.repositories,me,p]);const L=_.useCallback(()=>{k.current="",R.current!==null&&(clearTimeout(R.current),R.current=null)},[]),de=_.useCallback(S=>{const G=O[S-1];return G?(L(),f(!1),t(G.recent.id),!0):!1},[L,t,O]);_.useEffect(()=>{const S=G=>{if(G.repeat||G.ctrlKey||G.metaKey||G.altKey||G.shiftKey||pf(G.target))return;if(!p&&G.key.toLowerCase()===l){const ce=document.querySelector('[data-slot="dialog-popup"][data-open], [data-slot="select-content"][data-open], [data-slot="combobox-content"][data-open]');if(g||v||e.settingsOpen||ce)return;G.preventDefault(),n&&i(!0),f(!0);return}if(!p)return;if(G.key.toLowerCase()===l){G.preventDefault(),G.stopPropagation(),L(),f(!1);return}if(G.key==="Enter"&&k.current){G.preventDefault(),G.stopPropagation(),de(Number(k.current));return}if(!/^\d$/.test(G.key))return;G.preventDefault(),G.stopPropagation();const Q=O.map((ce,Y)=>String(Y+1));let J=k.current+G.key;if(Q.some(ce=>ce.startsWith(J))||(J=G.key),!Q.some(ce=>ce.startsWith(J))){L();return}k.current=J,R.current!==null&&clearTimeout(R.current);const q=Q.includes(J),z=Q.some(ce=>ce!==J&&ce.startsWith(J));q&&!z?de(Number(J)):q&&(R.current=setTimeout(()=>de(Number(J)),650))};return window.addEventListener("keydown",S,!0),()=>{window.removeEventListener("keydown",S,!0),L()}},[n,L,g,e.settingsOpen,v,l,p,de,O]);const _e=(S,G=null)=>{const Q=j.get(S.recent.id),J=Q&&(Q.branch!==void 0||Q.detached!==void 0)?{branch:Q.branch??null,detached:Q.detached===!0}:S.recent.id===e.repository.id&&e.status?{branch:e.status.branch,detached:e.status.detached}:void 0,q=Hp(S,J);return{value:S.key,label:S.name,description:q||"Repository",search:S.recent.path,tooltip:S.recent.path,icon:o.jsx(vo,{src:Z.get(S.key)}),trailing:o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"repository-sync-actions",children:Qp(Q,e.repositorySyncOperations.get(S.recent.id)).map(z=>{const ce=e.repositorySyncOperations.get(S.recent.id),Y=!!ce||!!(Q?.readOnly||Q?.operation)||!!e.busy&&S.recent.id===e.repository.id,Le=z==="push"&&un(Q),he=z==="pull"?"Pull":Le?"Publish branch":"Push",Ue=z==="pull"?Q?.behind??0:Q?.ahead??0;return o.jsxs(be,{children:[o.jsxs(ke,{render:o.jsx(W,{type:"button",variant:"ghost",size:"xs",disabled:Y,"aria-label":`${he} ${S.name}`,onPointerDown:Pe=>{Pe.preventDefault(),Pe.stopPropagation()},onKeyDown:Pe=>Pe.stopPropagation(),onClick:Pe=>{Pe.preventDefault(),Pe.stopPropagation(),e.onRepositorySync(S,G,z).finally(()=>me([S]))}}),children:[ce===z?o.jsx(cn,{"data-icon":"inline-start",className:"animate-spin"}):z==="pull"?o.jsx(ra,{"data-icon":"inline-start"}):o.jsx(Es,{"data-icon":"inline-start"}),o.jsx("span",{children:Le?"Publish":Ue})]}),o.jsxs(we,{children:[Le?"Publish branch":`${he} ${Ue} ${Ue===1?"commit":"commits"}`," · ",q]})]},z)})}),o.jsx(fo,{className:"repo-select-index",children:K.get(S.key)})]})}},ue=o.jsx(po,{groups:[...U.projectSections.map(S=>({id:S.id,label:S.name,items:S.repositories.map(G=>_e(G,S.name))})),{id:"unassigned",label:"Repositories",items:U.unassigned.map(S=>_e(S))}],open:p,onOpenChange:S=>{f(S),S||L()},onSearchChange:L,focusSearch:!1,value:ee,onValueChange:S=>{i(!1),t(U.repositories.find(G=>G.key===S)?.recent.id??null)},label:"Select project or repository",triggerLabel:e.repository.repositoryName,icon:o.jsx(vo,{src:Z.get(ee)}),triggerHint:o.jsx(fo,{className:"repo-select-shortcut","aria-hidden":"true",children:l.toUpperCase()}),shortcut:l.toUpperCase(),triggerClassName:"repo-select max-w-[240px]",align:"start",placeholder:"Search repositories…",management:{label:"Manage projects…",onClick:()=>{i(!1),y(!0)}}}),je=o.jsx(po,{groups:[{id:"worktrees",label:"Worktrees",items:e.worktrees.map(S=>({value:S.path,label:S.path.split(/[\\/]/).pop()??S.path,description:`${S.branch??"Detached HEAD"}${S.locked?" · Locked":S.prunable?" · Prunable":S.bare?" · Bare":""}`,search:S.path,tooltip:S.path,icon:o.jsx(gi,{}),disabled:!!(S.locked||S.prunable||S.bare)}))}],value:B?.path??e.repository.path,onValueChange:e.onWorktree,label:"Select worktree",triggerLabel:B?.path.split(/[\\/]/).pop()??e.repository.name,icon:o.jsx(gi,{}),triggerClassName:"toolbar-worktree max-w-[190px]",placeholder:"Search worktrees…",management:{label:"Manage worktrees…",onClick:()=>I("worktrees")},disabled:F}),ae=o.jsx(fh,{branches:e.branches,currentLabel:e.status?.branch??"Detached HEAD",disabled:e.status?.readOnly||F,onBranch:e.onBranch,onManage:()=>I("branches")});return o.jsxs(o.Fragment,{children:[n?o.jsx(_h,{props:e,repositoryControl:ue,worktreeControl:je,branchControl:ae,favicon:Z.get(ee),contextOpen:s,onContextOpen:S=>{i(S),S||f(!1)},syncBusy:E}):o.jsxs("header",{className:"toolbar",children:[o.jsxs("div",{className:"toolbar-brand","aria-label":Rs,children:[o.jsx(jc,{}),o.jsx(Ro,{})]}),ue,o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx(W,{variant:"ghost",size:"icon-sm",onClick:e.onOpen,"aria-label":"Open repository","aria-keyshortcuts":"Control+O"}),children:o.jsx(Ns,{})}),o.jsx(we,{children:"Open repository (Ctrl+O)"})]}),o.jsx($p,{session:e.openFiles,onActivate:e.onOpenFileTab,onPin:e.onPinFileTab,onClose:e.onCloseFileTab,onReorder:e.onReorderFileTab}),o.jsx("div",{className:"toolbar-spacer"}),e.status&&(a||e.status.unborn||e.status.ahead>0||e.status.behind>0||e.status.insertions>0||e.status.deletions>0||e.busy==="push"||e.busy==="pull")&&o.jsxs("div",{className:"branch-stats","aria-label":"Branch and local changes summary",children:[(e.status.behind>0||e.busy==="pull")&&o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx("button",{className:"branch-sync",disabled:!!e.busy||E,onClick:e.onPull,"aria-label":`Pull ${e.status.behind} commits`}),children:e.busy==="pull"?o.jsx(cn,{className:"animate-spin"}):o.jsxs("span",{children:["↓",e.status.behind]})}),o.jsx(we,{children:e.busy==="pull"?"Pulling changes…":`Pull ${e.status.behind} ${e.status.behind===1?"commit":"commits"}`})]}),(a||e.status.unborn||e.status.ahead>0||e.busy==="push")&&o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx("button",{className:"branch-push",disabled:!!e.busy||E||e.status.readOnly||e.status.unborn||e.status.detached,onClick:e.onPush,"aria-label":a||e.status.unborn?"Publish branch":`Push ${e.status.ahead} commits`}),children:e.busy==="push"?o.jsx(cn,{className:"animate-spin"}):o.jsx("span",{children:a||e.status.unborn?"↑ Publish":`↑${e.status.ahead}`})}),o.jsx(we,{children:e.status.unborn?"Create the first commit before publishing this branch":e.busy==="push"?"Pushing…":a?"Publish branch and set upstream":`Push ${e.status.ahead} ${e.status.ahead===1?"commit":"commits"}`})]}),(e.status.insertions>0||e.status.deletions>0)&&o.jsxs(be,{children:[o.jsxs(ke,{render:o.jsx("span",{className:"line-stats"}),children:[o.jsxs("strong",{className:"line-additions",children:["+",e.status.insertions]}),o.jsx("span",{children:"/"}),o.jsxs("strong",{className:"line-deletions",children:["-",e.status.deletions]})]}),o.jsx(we,{children:"Lines added and removed in the worktree"})]})]}),je,ae,e.branchPullRequest&&o.jsxs(be,{children:[o.jsxs(ke,{render:o.jsx("button",{type:"button",className:`toolbar-branch-pr ${e.branchPullRequest.state.toLowerCase()}${e.branchPullRequest.state==="OPEN"&&e.branchPullRequest.isDraft?" draft":""}`,"aria-label":`View ${Yi(e.branchPullRequest).toLowerCase()} pull request #${e.branchPullRequest.number} on GitHub`,onClick:()=>Ss(e.branchPullRequest.url)}),children:[e.branchPullRequest.state==="MERGED"?o.jsx(_a,{"aria-hidden":"true"}):o.jsx(ps,{"aria-hidden":"true"}),o.jsxs("span",{className:"toolbar-pr-label",children:["PR #",e.branchPullRequest.number]}),e.branchPullRequest.state==="OPEN"&&e.branchPullRequest.isDraft&&o.jsx("span",{className:"toolbar-pr-draft",children:"Draft"}),o.jsx(la,{"aria-hidden":"true"})]}),o.jsxs(we,{side:"bottom",align:"end",sideOffset:8,className:"flex-col items-start gap-1 text-left",children:[o.jsx("span",{className:"toolbar-pr-tooltip-title",children:e.branchPullRequest.title}),o.jsxs("span",{className:"toolbar-pr-tooltip-meta",children:[e.branchPullRequest.state==="MERGED"?`Merged into ${e.branchPullRequest.baseRefName}`:Yi(e.branchPullRequest)," · View on GitHub"]})]})]}),o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx(W,{variant:"ghost",size:"icon-sm","aria-label":"Refresh",onClick:e.onRefresh,disabled:!!e.busy||E}),children:o.jsx(Co,{className:e.busy==="refresh"?"animate-spin":void 0})}),o.jsx(we,{children:"Refresh (Ctrl+R)"})]}),e.githubInfo?.isGitHub&&e.githubInfo.nameWithOwner&&o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx(W,{variant:"ghost",size:"icon-sm","aria-label":"Open repository on GitHub",onClick:()=>Ss(`https://github.com/${e.githubInfo.nameWithOwner}`)}),children:o.jsx(ca,{"aria-hidden":"true"})}),o.jsxs(we,{children:["Open on GitHub · ",e.githubInfo.nameWithOwner]})]}),o.jsx(Ho,{}),o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx(W,{variant:"ghost",size:"icon-sm","aria-label":"Settings",onClick:()=>e.onSettingsOpen(!0)}),children:o.jsx(So,{})}),o.jsx(we,{children:"Settings"})]})]}),g&&o.jsx(_.Suspense,{fallback:null,children:o.jsx(uh,{open:g,onOpenChange:y,projects:e.repositoryProjects,repositories:U.repositories,onOrganizationChange:e.onOrganizationChange,onForgetRepository:e.onForgetRepository,onRelocateRepository:e.onRelocateRepository})}),v&&o.jsx(_.Suspense,{fallback:null,children:o.jsx(ph,{open:v,tab:x,repositoryId:e.repository.id,onOpenChange:u,onTabChange:P,onOpenWorktree:S=>{u(!1),e.onWorktree(S)},onMutated:e.onRefsManaged,onBusyChange:A})}),e.settingsOpen&&o.jsx(_.Suspense,{fallback:null,children:o.jsx(dh,{repository:e.repository,preferences:e.preferences,onPreference:e.onPreference,open:e.settingsOpen,onOpenChange:e.onSettingsOpen,section:e.settingsSection,onSectionChange:e.onSettingsSection})})]})}function gh(){const[e,t]=_.useState([]),n=_.useRef(new Set);_.useEffect(()=>{const c=n.current;return()=>{for(const l of c)l.resolve(null);c.clear()}},[]);const s=_.useCallback(async(c,l)=>{const p=await N.refs.push(c);if(p.status!=="remote-required")return p;const f=await new Promise(g=>{const y={id:crypto.randomUUID(),label:l,result:p,resolve:g};n.current.add(y),t(v=>[...v,y])});return f?N.refs.push(c,{remote:f,expectedBranch:p.branch,expectedOid:p.oid}):null},[]),i=e[0];return{push:s,remoteChoice:i,selectRemote:c=>{i&&(n.current.delete(i),t(l=>l.filter(p=>p!==i)),i.resolve(c))}}}const mh=cl;function em({className:e,...t}){return o.jsx(kl,{"data-slot":"select-group",className:xe("scroll-my-1 p-1",e),...t})}function yh({className:e,...t}){return o.jsx(fl,{"data-slot":"select-value",className:xe("block min-w-0 flex-1 overflow-hidden text-left text-ellipsis whitespace-nowrap",e),...t})}function vh({className:e,size:t="default",children:n,...s}){return o.jsxs(ll,{"data-slot":"select-trigger","data-size":t,className:xe("flex w-fit min-w-0 cursor-pointer items-center justify-between gap-1.5 rounded-lg border border-border bg-input/40 px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow,background-color] outline-none hover:bg-input/70 aria-expanded:bg-input/70 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:px-1.5 *:data-[slot=select-value]:line-clamp-1 dark:bg-input/25 dark:hover:bg-input/40 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...s,children:[n,o.jsx(_l,{render:o.jsx(da,{className:"pointer-events-none size-4 text-muted-foreground"})})]})}function bh({className:e,children:t,side:n="bottom",sideOffset:s=4,align:i="center",alignOffset:a=0,alignItemWithTrigger:c=!0,...l}){return o.jsx(dl,{children:o.jsx(pl,{side:n,sideOffset:s,align:i,alignOffset:a,alignItemWithTrigger:c,className:"isolate z-50",children:o.jsxs(ul,{"data-slot":"select-content","data-align-trigger":c,className:xe("relative isolate z-50 max-h-(--available-height) w-max min-w-0 max-w-[min(var(--available-width),40rem)] origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-xl bg-popover p-1 text-popover-foreground shadow-xl ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:ring-foreground/10 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...l,children:[o.jsx(wh,{}),o.jsx(hl,{children:t}),o.jsx(xh,{})]})})})}function kh({className:e,children:t,...n}){return o.jsxs(gl,{"data-slot":"select-item",className:xe("relative flex w-full cursor-pointer items-center gap-2 rounded-md py-1.5 pr-7 pl-2 text-sm font-medium outline-hidden select-none transition-colors hover:bg-foreground/10 focus:bg-foreground/10 data-highlighted:bg-foreground/10 data-selected:text-primary data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...n,children:[o.jsx(ml,{className:"flex min-w-0 flex-1 items-center gap-2 overflow-hidden text-ellipsis whitespace-nowrap",children:t}),o.jsx(yl,{render:o.jsx("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center"}),children:o.jsx(dn,{className:"pointer-events-none text-primary"})})]})}function wh({className:e,...t}){return o.jsx(vl,{"data-slot":"select-scroll-up-button",className:xe("top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...t,children:o.jsx(ql,{})})}function xh({className:e,...t}){return o.jsx(bl,{"data-slot":"select-scroll-down-button",className:xe("bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...t,children:o.jsx(Al,{})})}function jh({choice:e,onSelect:t}){const[n,s]=_.useState(e.result.remotes[0]??"");return o.jsx(Bt,{open:!0,onOpenChange:i=>{i||t(null)},children:o.jsxs(Gt,{className:"undo-commit-dialog",children:[o.jsxs("div",{className:"undo-commit-content",children:[o.jsx(Ht,{children:"Publish branch"}),o.jsxs(Ut,{children:["Choose the remote for ",o.jsx("strong",{children:e.result.branch})," in ",e.label,". Publishing also sets its upstream."]}),o.jsxs(mh,{value:n,onValueChange:i=>s(i??""),children:[o.jsx(vh,{"aria-label":"Publish to remote",children:o.jsx(yh,{})}),o.jsx(bh,{children:e.result.remotes.map(i=>o.jsx(kh,{value:i,children:i},i))})]})]}),o.jsxs("div",{className:"undo-commit-actions",children:[o.jsx(W,{variant:"ghost",onClick:()=>t(null),children:"Cancel"}),o.jsx(W,{disabled:!n,onClick:()=>t(n),children:"Publish branch"})]})]})})}function Pr(e){if(!e||typeof e!="object"||!("detail"in e))return null;const t=e.detail;if(!t||typeof t!="object")return null;const n=t;return typeof n.code=="string"&&typeof n.operation=="string"&&typeof n.message=="string"?n:null}const Ph=30,tm=5,nm=300,sm=5;class Ch extends _.Component{state={error:null};static getDerivedStateFromError(t){return{error:t}}componentDidUpdate(t){this.state.error&&t.resetKey!==this.props.resetKey&&this.setState({error:null})}reset=()=>this.setState({error:null});render(){const{error:t}=this.state;return t?this.props.fallback?this.props.fallback(t,this.reset):o.jsx("div",{className:"viewer-message text-destructive",children:"Could not display the content."}):this.props.children}}function Uo({text:e,duration:t=1.35,repeatDelay:n=.25,spread:s=1.6,className:i,color:a,shimmerColor:c}){const l=_.useMemo(()=>Array.from(e),[e]),p=t+n,f=l.length>1?t*s/l.length:0,g={color:a??"var(--muted-foreground)","--shimmer-text-base":a??"var(--muted-foreground)","--shimmer-text-highlight":c??"var(--foreground)"};return o.jsx("span",{className:xe("shimmer-text inline-block whitespace-pre",i),style:g,children:l.map((y,v)=>o.jsx("span",{className:"inline-block whitespace-pre",style:{animationName:"opentig-shimmer-text",animationDuration:`${p}s`,animationTimingFunction:"ease-in-out",animationDelay:`${v*f}s`,animationIterationCount:"infinite",animationFillMode:"both"},children:y},`${y}-${v}`))})}const Sh=Pc("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-md border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});function Cr({className:e,variant:t="default",render:n,...s}){return wl({defaultTagName:"span",props:xl({className:xe(Sh({variant:t}),e)},s),render:n,state:{slot:"badge",variant:t}})}const Rh=new Set(["png","apng","avif","gif","jpg","jpeg","jfif","pjpeg","pjp","webp","bmp","ico","cur"]),Eh=new Set(["tif","tiff","heic","heif","psd","raw","dng","cr2","cr3","nef","arw","orf","rw2","eps","xcf"]);function Nh(e){return Sr(e)==="svg"}function zh(e){const t=Sr(e);return Rh.has(t)||Eh.has(t)}function Sr(e){const t=e.replace(/\\/g,"/"),n=t.slice(t.lastIndexOf("/")+1),s=n.lastIndexOf(".");return s<0?"":n.slice(s+1).toLowerCase()}function Dh(e,t){return e.endsWith("/")||e.endsWith("\\")||t==="deleted"?!1:ff(e)||Nh(e)||zh(e)}function Th(e){return{modified:"M",added:"A",deleted:"D",renamed:"R",copied:"C",untracked:"U",conflicted:"C","type-changed":"T"}[e]}function Rr(e,t,n=0){const s=[];for(const i of e){if(i.type==="file"&&i.change){s.push({kind:"file",change:i.change,depth:n});continue}s.push({kind:"directory",node:i,depth:n}),t.has(i.path)||s.push(...Rr(i.children,t,n+1))}return s}function $h(e){const t=new Map;for(const s of e){const i=s.path.split("/").filter(Boolean);let a=t,c="";i.forEach((l,p)=>{c=c?`${c}/${l}`:l;const f=p===i.length-1;let g=a.get(l);g?f&&(g.change=s,g.type="file"):(g={name:l,path:c,type:f?"file":"directory",change:f?s:null,children:new Map},a.set(l,g)),a=g.children})}const n=s=>[...s.values()].sort((i,a)=>i.type===a.type?i.name.localeCompare(a.name):i.type==="directory"?-1:1).map(i=>({name:i.name,path:i.path,type:i.type,change:i.change,children:n(i.children)}));return n(t)}function Er(e){return e.type==="file"?e.change?[e.change.path]:[]:e.children.flatMap(Er)}const Mh='button, a, input, select, textarea, [role="button"]';function Vo(e){const t=e?.closest;return typeof t!="function"||t.call(e,Mh)==null}function Ih(e){const t=e.displayMode,n=_.useRef(null);return o.jsx("div",{className:"changes-view",children:o.jsxs("div",{ref:n,className:"changes-scroll",children:[o.jsx(Ah,{scrollRef:n,changes:e.conflicts,onSelect:e.onConflict,onOpenFile:e.onOpenFile}),o.jsx(Zi,{scrollRef:n,displayMode:t,title:"Staged Changes",changes:e.staged,onSelect:s=>e.onSelect(s,"staged"),onOpenFile:e.onOpenFile,action:"unstage",disabled:e.readOnly,onAction:e.onUnstage,onDiscard:e.onDiscard,onAll:e.onUnstageAll}),o.jsx(Zi,{scrollRef:n,displayMode:t,title:"Changes",changes:e.changed,onSelect:s=>e.onSelect(s,"unstaged"),onOpenFile:e.onOpenFile,action:"stage",disabled:e.readOnly,onAction:e.onStage,onDiscard:e.onDiscard,onAll:e.onStageAll})]})})}function Ah({scrollRef:e,changes:t,onSelect:n,onOpenFile:s}){const i=Ls(),a=_.useRef(null),c=_.useMemo(()=>[...t].sort((f,g)=>f.path.localeCompare(g.path)),[t]),l=Nr(a,e),p=aa({count:c.length,getScrollElement:()=>e.current,estimateSize:()=>i?48:38,getItemKey:f=>c[f]?.path??f,scrollMargin:l,overscan:8});return _.useEffect(()=>{p.measure()},[p,i]),t.length===0?null:o.jsxs("section",{className:"change-section conflict-section",children:[o.jsxs("div",{className:"section-heading",children:[o.jsx("span",{children:"Conflicts"}),o.jsx(Cr,{variant:"destructive",children:t.length})]}),o.jsx("div",{ref:a,role:"list","aria-label":"Conflicts",className:"change-list virtual-list",style:{height:p.getTotalSize()},children:p.getVirtualItems().map(f=>o.jsx("div",{className:"virtual-row",style:{height:f.size,transform:`translateY(${f.start-l}px)`},children:o.jsx(Oh,{change:c[f.index],onSelect:n,onOpenFile:s})},f.key))})]})}function Oh({change:e,onSelect:t,onOpenFile:n}){const s=_.useRef(null),i=e.path.replace(/[\\/]+$/,""),a=i.lastIndexOf("/"),c=a<0?i:i.slice(a+1),l=a<0?"":i.slice(0,a);return o.jsxs("div",{ref:s,role:"listitem",className:"change-row conflict-row",onClick:p=>{Vo(p.target)&&t(e.path)},children:[o.jsxs(be,{children:[o.jsxs(ke,{render:o.jsx("button",{className:"file-label",onClick:()=>t(e.path),"aria-label":`Resolve conflict in ${e.path}`}),children:[o.jsx(Wo,{path:i,type:"file"}),o.jsxs("span",{className:"change-file-text",children:[o.jsx("span",{children:c}),l&&o.jsx("small",{children:l})]})]}),o.jsxs(we,{anchor:s,side:"right",sideOffset:10,children:["Resolve ",e.path]})]}),o.jsx("span",{className:"change-row-actions",children:o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx(W,{variant:"ghost",size:"icon-xs",className:"change-action-button",onClick:()=>n(e.path),"aria-label":"Open file"}),children:o.jsx(Po,{})}),o.jsx(we,{children:"Open file"})]})}),o.jsx("span",{className:"status-code conflict",children:"C"})]})}function Zi({scrollRef:e,displayMode:t,title:n,changes:s,disabled:i,action:a,onSelect:c,onOpenFile:l,onAction:p,onDiscard:f,onAll:g}){const y=_.useMemo(()=>$h(s),[s]),[v,u]=_.useState(new Set),x=_.useMemo(()=>[...s].sort((A,I)=>A.path.localeCompare(I.path)),[s]),P=_.useMemo(()=>Rr(y,v),[v,y]),j=t==="list"?x.map(A=>({kind:"file",change:A,depth:0})):P,D=Ls(),k=_.useRef(null),R=Nr(k,e),$=D?48:t==="list"?38:30,F=aa({count:j.length,getScrollElement:()=>e.current,estimateSize:()=>$,getItemKey:A=>{const I=j[A];return I?.kind==="directory"?`directory:${I.node.path}`:`${a}:${I?.change.path??A}`},scrollMargin:R,overscan:10});return _.useEffect(()=>{F.measure()},[F,$]),o.jsxs("section",{className:"change-section",children:[o.jsxs("div",{className:"section-heading",children:[o.jsx("span",{children:n}),o.jsx(Cr,{variant:"secondary",children:s.length}),o.jsx("div",{className:"heading-actions",children:o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx(W,{variant:"ghost",size:"icon-xs",className:"change-action-button",disabled:i||s.length===0,"aria-label":a==="stage"?"Stage all":"Unstage all",onClick:g}),children:a==="stage"?o.jsx(Ns,{}):o.jsx(fa,{})}),o.jsx(we,{children:a==="stage"?"Stage all":"Unstage all"})]})})]}),s.length===0?o.jsx("p",{className:"empty-list",children:"No changes"}):o.jsx("div",{ref:k,role:t==="list"?"list":"tree","aria-label":n,className:`${t==="list"?"change-list":"change-tree"} virtual-list`,style:{height:F.getTotalSize()},children:F.getVirtualItems().map(A=>{const I=j[A.index];return o.jsx("div",{className:"virtual-row",style:{height:A.size,transform:`translateY(${A.start-R}px)`},children:I.kind==="directory"?o.jsx(Lh,{node:I.node,depth:I.depth,expanded:!v.has(I.node.path),disabled:i,action:a,onToggle:()=>u(B=>{const U=new Set(B);return U.has(I.node.path)?U.delete(I.node.path):U.add(I.node.path),U}),onDiscard:f,onAction:p}):o.jsx(qh,{change:I.change,disabled:i,action:a,depth:I.depth,showDirectory:t==="list",onSelect:c,onOpenFile:l,onDiscard:f,onAction:p})},A.key)})})]})}function Nr(e,t){const[n,s]=_.useState(0);return _.useEffect(()=>{const i=e.current,a=t.current;if(!i||!a)return;const c=()=>{const f=i.getBoundingClientRect().top-a.getBoundingClientRect().top+a.scrollTop;s(g=>g===f?g:f)},l=requestAnimationFrame(c),p=new ResizeObserver(c);p.observe(i);for(const f of a.children)p.observe(f);return()=>{cancelAnimationFrame(l),p.disconnect()}},[e,t]),n}function Lh({node:e,depth:t,expanded:n,disabled:s,action:i,onToggle:a,onDiscard:c,onAction:l}){const p=Er(e);return o.jsxs("div",{role:"treeitem","aria-expanded":n,className:"tree-folder",style:{paddingLeft:8+t*14},onClick:f=>{Vo(f.target)&&a()},children:[o.jsx("button",{className:"folder-toggle",onClick:a,"aria-label":n?"Collapse folder":"Expand folder",children:o.jsx(_s,{className:`folder-chevron ${n?"open":""}`})}),o.jsx(Wo,{path:e.path,type:"directory",expanded:n}),o.jsx("button",{className:"folder-name",onClick:a,children:e.name}),o.jsx(zr,{paths:p,action:i,disabled:s,onDiscard:c,onAction:l})]})}function qh({change:e,disabled:t,action:n,depth:s=0,showDirectory:i=!1,onSelect:a,onOpenFile:c,onDiscard:l,onAction:p}){const f=_.useRef(null),g=e.path.replace(/[\\/]+$/,""),y=g.lastIndexOf("/"),v=y<0?g:g.slice(y+1),u=y<0?"":g.slice(0,y),x=e.path.endsWith("/")||e.path.endsWith("\\"),P=Dh(e.path,e.kind);return o.jsxs("div",{ref:f,role:i?"listitem":"treeitem",className:"change-row",style:{paddingLeft:12+s*14},onClick:j=>{Vo(j.target)&&(P?c(e.path):a(e.path))},children:[!i&&o.jsx("span",{className:"tree-spacer"}),o.jsxs(be,{children:[o.jsxs(ke,{render:o.jsx("button",{className:"file-label",onClick:()=>P?c(e.path):a(e.path),"aria-label":`${P?"Preview":"View changes for"} ${e.path}`}),children:[o.jsx(Wo,{path:g,type:x?"directory":"file"}),o.jsxs("span",{className:"change-file-text",children:[o.jsx("span",{children:v}),i&&u&&o.jsx("small",{children:u})]})]}),o.jsx(we,{anchor:f,side:"right",sideOffset:10,children:e.path})]}),o.jsxs("span",{className:"change-row-actions",children:[!x&&P&&o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx(W,{variant:"ghost",size:"icon-xs",className:"change-action-button",onClick:()=>a(e.path),"aria-label":"View changes"}),children:o.jsx(lo,{})}),o.jsx(we,{children:"View changes"})]}),!x&&!P&&o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx(W,{variant:"ghost",size:"icon-xs",className:"change-action-button",disabled:t,onClick:()=>c(e.path),"aria-label":"Open file"}),children:o.jsx(Po,{})}),o.jsx(we,{children:"Open file"})]}),o.jsx(zr,{paths:[e.path],action:n,disabled:t,onDiscard:l,onAction:p})]}),o.jsx("span",{className:`status-code ${e.conflict?"conflict":""}`,"data-kind":e.kind,children:Th(e.kind)})]})}function zr({paths:e,action:t,disabled:n,onDiscard:s,onAction:i}){return o.jsxs("span",{className:"change-actions",children:[t==="stage"&&o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx(W,{variant:"ghost",size:"icon-xs",className:"change-action-button change-action-discard",disabled:n,onClick:()=>s(e),"aria-label":"Discard changes"}),children:o.jsx(_o,{})}),o.jsx(we,{children:"Discard changes"})]}),o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx(W,{variant:"ghost",size:"icon-xs",className:"change-action-button",disabled:n,onClick:()=>i(e),"aria-label":t==="stage"?"Stage changes":"Unstage changes"}),children:t==="stage"?o.jsx(Ns,{}):o.jsx(fa,{})}),o.jsx(we,{children:t==="stage"?"Stage changes":"Unstage changes"})]})]})}function Wo({path:e,type:t,expanded:n=!1}){const s=t==="file"?wr(e):ch(e,n);return o.jsx("img",{className:"vscode-tree-icon",src:s,alt:"","aria-hidden":"true",draggable:!1})}function Fh(e,t,n){const s=new Set(t);return{kind:"discard",repositoryId:e,paths:[...t],hasUntracked:n.some(i=>s.has(i.path)&&i.kind==="untracked")}}function Bh(e,t){return{kind:"delete",repositoryId:e,paths:t.map(n=>n.path)}}function Gh(e){return e.kind==="discard"?{title:"Discard changes",message:e.hasUntracked?"Untracked files will be moved to system Trash. Other local changes will be lost.":"These local changes will be lost.",detail:e.paths.join(`
|
|
71
|
-
`),confirmLabel:"Discard"}:{title:e.paths.length===1?"Delete item":`Delete ${e.paths.length} items`,message:e.paths.length===1?"Move this item to system Trash?":`Move ${e.paths.length} items to system Trash?`,detail:e.paths.join(`
|
|
72
|
-
`),confirmLabel:"Move to Trash"}}async function Ji(e,t,n){return t?e.kind==="discard"?(await n.discard(e.repositoryId,e.paths),{kind:"discard"}):{kind:"delete",result:await n.deleteEntries(e.repositoryId,e.paths)}:null}function Hh({className:e,...t}){return o.jsx("textarea",{"data-slot":"textarea",className:xe("flex field-sizing-content min-h-16 w-full resize-none rounded-lg border border-border bg-input/40 px-3 py-2.5 text-base leading-relaxed transition-[color,box-shadow,background-color] outline-none placeholder:text-muted-foreground hover:bg-input/60 focus-visible:border-ring focus-visible:bg-input/60 focus-visible:ring-3 focus-visible:ring-ring/30 dark:bg-input/25 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",e),...t})}function Uh({harness:e,className:t=""}){const n=["ai-provider-icon",t].filter(Boolean).join(" ");return e==="codex"?o.jsx("svg",{className:n,viewBox:"0 0 24 24","aria-hidden":"true",children:o.jsx("path",{fill:"currentColor",d:"M22.282 9.821a6 6 0 0 0-.516-4.91a6.05 6.05 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a6 6 0 0 0-3.998 2.9a6.05 6.05 0 0 0 .743 7.097a5.98 5.98 0 0 0 .51 4.911a6.05 6.05 0 0 0 6.515 2.9A6 6 0 0 0 13.26 24a6.06 6.06 0 0 0 5.772-4.206a6 6 0 0 0 3.997-2.9a6.06 6.06 0 0 0-.747-7.073M13.26 22.43a4.48 4.48 0 0 1-2.876-1.04l.141-.081l4.779-2.758a.8.8 0 0 0 .392-.681v-6.737l2.02 1.168a.07.07 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494M3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085l4.783 2.759a.77.77 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646M2.34 7.896a4.5 4.5 0 0 1 2.366-1.973V11.6a.77.77 0 0 0 .388.677l5.815 3.354l-2.02 1.168a.08.08 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.08.08 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667m2.01-3.023l-.141-.085l-4.774-2.782a.78.78 0 0 0-.785 0L9.409 9.23V6.897a.07.07 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.8.8 0 0 0-.393.681zm1.097-2.365l2.602-1.5l2.607 1.5v2.999l-2.597 1.5l-2.607-1.5Z"})}):e==="grok"?o.jsx("svg",{className:n,viewBox:"0 0 24 24","aria-hidden":"true",children:o.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"})}):e==="claude"?o.jsx("img",{className:n,src:"./vscode-icons/file_type_claude.svg",alt:"","aria-hidden":"true",draggable:!1}):o.jsxs("span",{className:`${n} ai-provider-icon-themed`,"aria-hidden":"true",children:[o.jsx("img",{className:"ai-provider-icon-for-light",src:"./vscode-icons/file_type_light_opencode.svg",alt:"",draggable:!1}),o.jsx("img",{className:"ai-provider-icon-for-dark",src:"./vscode-icons/file_type_opencode.svg",alt:"",draggable:!1})]})}const ea=170;function ta(e,t){const[n,s]=_.useState(e);return _.useEffect(()=>{if(e){s(!0);return}const i=window.setTimeout(()=>s(!1),t);return()=>window.clearTimeout(i)},[e,t]),{mounted:n,state:e?"open":"closed"}}function Vh({open:e,stagedCount:t,message:n,generating:s,harness:i,harnessLabel:a,modelLabel:c,busy:l,readOnly:p,canPush:f,proposal:g,preparedIndex:y,completed:v,collapsed:u,textareaRef:x,onMessage:P,onGenerate:j,onCancelGenerate:D,onDismissProposal:k,onToggleCollapsed:R,onOpenPath:$,onPrepare:F,onCommit:A}){const I=br(),B=I.commit.split("+"),U=ta(e,ea),O=n.trim().length>0,K=ta(e&&O&&!s,ea);if(!U.mounted)return null;const ee=l==="commit",E=l==="push",H=p||t===0,Z=H||!O||!!l,me=`${t} ${t===1?"file":"files"}`;return o.jsxs("div",{className:"commit-composer","data-state":U.state,role:"group","aria-label":"Create commit",children:[o.jsxs("div",{className:"commit-composer-header",children:[o.jsxs("span",{className:"commit-composer-title",children:[o.jsx(co,{"aria-hidden":"true"}),t>0?`Commit ${me}`:"Commit plan"]}),t>0&&o.jsx("span",{className:"commit-composer-hint",children:B.map(L=>o.jsx(fo,{children:L==="Enter"?"↵":L},L))})]}),g&&o.jsxs("section",{className:"commit-plan","aria-label":"Suggested commit plan",children:[o.jsxs("div",{className:"commit-plan-heading",children:[o.jsxs("span",{children:[o.jsx(h_,{"aria-hidden":"true"}),o.jsxs("strong",{children:[g.commits.length," commits suggested"]}),v.size>0&&o.jsxs("em",{className:"commit-plan-progress",children:[v.size," of ",g.commits.length," done"]})]}),o.jsxs("span",{className:"commit-plan-heading-actions",children:[o.jsx(W,{type:"button",variant:"ghost",size:"xs","aria-expanded":!u,onClick:R,children:u?"Show plan":"Hide plan"}),o.jsx(W,{type:"button",variant:"ghost",size:"icon-xs","aria-label":"Discard the commit plan and keep one commit",onClick:k,children:o.jsx(pn,{})})]})]}),!u&&o.jsxs(o.Fragment,{children:[o.jsx("p",{children:g.rationale}),o.jsx("div",{className:"commit-plan-list",children:g.commits.map((L,de)=>{const _e=v.has(de),ue=y===de;return o.jsxs("article",{className:[_e?"done":"",ue?"prepared":""].filter(Boolean).join(" "),"aria-current":ue?"step":void 0,children:[o.jsxs("div",{children:[o.jsxs("strong",{children:[_e&&o.jsx(dn,{className:"commit-plan-done-icon","aria-hidden":"true"}),de+1,". ",L.subject]}),o.jsx("small",{children:L.reason}),o.jsx("span",{className:"commit-plan-paths",children:L.paths.map(je=>o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx("button",{type:"button",className:"commit-plan-path",onClick:()=>$(je)}),children:je}),o.jsxs(we,{children:["Open the diff for ",je]})]},je))})]}),o.jsx(W,{type:"button",variant:ue?"secondary":"outline",size:"xs",disabled:p||!!l||ue||_e,onClick:()=>F(de),children:_e?"Committed":ue?"Prepared":"Prepare"})]},`${L.subject}:${L.paths.join("\0")}`)})}),o.jsx("small",{className:"commit-plan-note",children:"Preparing changes only the Git index, in the listed order. Review the diff before committing; OpenTig never creates the commits automatically."})]})]}),t>0&&o.jsx(Hh,{ref:x,className:"commit-composer-input",value:n,onChange:L=>P(L.target.value),onKeyDown:L=>{ha({key:L.key,ctrlKey:L.ctrlKey,altKey:L.altKey,shiftKey:!1,metaKey:L.metaKey})===I.commit&&!Z&&(L.preventDefault(),A({push:L.shiftKey&&f}))},placeholder:"Write commit message or…",rows:3,disabled:p}),t>0&&o.jsxs("div",{className:"commit-composer-actions",children:[o.jsxs(W,{variant:"outline",className:"commit-composer-generate","aria-label":s?"Cancel generation":void 0,disabled:H||!!(l&&l!=="refresh"),onClick:()=>s?D():j(),children:[s?o.jsx(x_,{className:"text-destructive"}):o.jsx(Uh,{harness:i}),s?o.jsx(Uo,{text:"Generating message…"}):o.jsxs("span",{className:"commit-composer-provider",children:["Generate with ",o.jsx("span",{className:"commit-composer-harness",children:a}),o.jsx("span",{"aria-hidden":"true",children:"·"}),o.jsx("span",{className:"commit-composer-model",children:c})]})]}),K.mounted&&o.jsxs("div",{className:"commit-composer-commit","data-state":K.state,children:[o.jsxs(W,{className:"commit-composer-primary",disabled:Z,onClick:()=>A({push:!1}),children:[o.jsx(co,{})," ",ee?"Committing…":"Commit"]}),o.jsxs(W,{variant:"outline",className:"commit-composer-secondary",disabled:Z||!f,onClick:()=>A({push:!0}),children:[o.jsx(Es,{})," ",E?"Pushing…":"Commit and push"]})]})]})]})}const rn=new Map;function om(e){return rn.get(e)}function im(e,t){for(rn.set(e,t);rn.size>100;)rn.delete(rn.keys().next().value)}function Wh(){rn.clear()}function Ko(e){const t=e.includes("\\")?"\\":"/",n=e.replace(/\\/g,"/"),s=n.match(/^\/\/[^/]+\/[^/]+/),i=n.match(/^[A-Za-z]:\//),a=s?.[0]??i?.[0]??"/",c=a.replace(/\//g,t),l=[{name:s?c:i?a.slice(0,2):"/",path:c}];let p=a.replace(/\/$/,"");for(const f of n.slice(a.length).split("/").filter(Boolean))p+="/"+f,l.push({name:f,path:p.replace(/\//g,t)});return l}function na(e){const t=Ko(e);return t.length>1?t[t.length-2].path:null}function sa(e){return Ko(e).at(-1)?.name??e}function qt(e,t){const n=s=>{const i=s.replace(/\\/g,"/").replace(/\/+$/,"");return/^(?:[A-Za-z]:|\/\/)/.test(i)?i.toLowerCase():i};return n(e)===n(t)}const Kh=[];function Qh({open:e,onOpenChange:t,onOpen:n,onBrowse:s,recent:i=Kh,initialPath:a,onPick:c,title:l="Open a repository",description:p=c?"Browse folders or paste a path to an existing Git repository.":"Browse folders on your server or paste a Git repository path.",confirmLabel:f="Open repository"}){const[g,y]=_.useState(null),[v,u]=_.useState(""),[x,P]=_.useState(""),[j,D]=_.useState(!1),[k,R]=_.useState(null),[$,F]=_.useState(""),[A,I]=_.useState(!1),[B,U]=_.useState(!1),[O,K]=_.useState(!1),[ee,E]=_.useState(null),[H,Z]=_.useState(null),me=_.useRef(0),L=_.useRef(!1),de=_.useRef(null),_e=_.useRef(null),ue=_.useRef(null),je=_.useRef(null),ae=_.useRef(null),S=_.useRef(null),G=_.useMemo(()=>i.filter((w,ne)=>i.findIndex(se=>qt(se.path,w.path))===ne).slice(0,4),[i]),Q=G[0]?na(G[0].path):null,J=a??Q??void 0,q=_.useCallback(async w=>{if(L.current)return;S.current=document.activeElement===de.current?"path":_e.current?.contains(document.activeElement)?"folders":null;const ne=++me.current;U(!0),R(null),E(null),Z(null),F(""),D(!1),u(w??""),P(w??"");try{const se=await s(w);if(ne!==me.current)return;y(se),u(se.path),P(se.path),se.repository&&R({name:sa(se.path),path:se.path,repository:se.repository})}catch(se){ne===me.current&&E(oo(se,"Could not browse this folder."))}finally{ne===me.current&&U(!1)}},[s]);_.useEffect(()=>{e&&(y(null),I(!1),q(J));const w=me;return()=>{w.current++}},[e,q,J]),_.useEffect(()=>{j&&(de.current?.focus(),de.current?.select())},[j]),_.useEffect(()=>{if(B||!S.current)return;const w=S.current==="path"&&g?.repository&&!ee?ae.current:_e.current?.querySelector(".repository-folder-select")??je.current;S.current=null,w?.focus()},[B,g,ee]);const z=w=>{R(w),Z(null)},ce=async(w=k)=>{if(!(!w?.repository||B||j||ee||L.current)){L.current=!0,K(!0),Z(null);try{await n(w.path),t(!1)}catch(ne){Z(oo(ne,"Could not open this repository."))}finally{L.current=!1,K(!1)}}},Y=async()=>{if(!(!c||L.current)){L.current=!0,K(!0),Z(null);try{const w=await c();L.current=!1,w&&await q(w)}catch(w){Z(oo(w,"Could not choose a folder."))}finally{L.current=!1,K(!1)}}},Le=(g?.directories??[]).filter(w=>(A||!w.name.startsWith("."))&&w.name.toLocaleLowerCase().includes($.toLocaleLowerCase())),he=v?na(v):null,Ue=!!(k?.repository&&!B&&!O&&!ee&&!j),Pe=g&&qt(v,g.path)&&g.repository,nt=g?.locations??[{name:"Home",path:"",kind:"home"}],Fe=()=>{O||(P(v),D(!0))},Kt=()=>{je.current?.focus(),D(!1),P(v)},mt=w=>{w.preventDefault(),Fe()},Pt=w=>{if(O)return;if((w.ctrlKey||w.metaKey)&&w.key.toLowerCase()==="l"){w.preventDefault(),Fe();return}if(w.target.closest("input, textarea, select"))return;if((w.key==="Backspace"||w.altKey&&w.key==="ArrowUp")&&he){w.preventDefault(),q(he);return}const ne=Array.from(_e.current?.querySelectorAll(".repository-folder-select")??[]),se=ne.indexOf(document.activeElement);if(["ArrowDown","ArrowUp"].includes(w.key)&&ne.length){w.preventDefault();const Ie=se<0?w.key==="ArrowDown"?0:ne.length-1:(se+(w.key==="ArrowDown"?1:-1)+ne.length)%ne.length;ne[Ie]?.focus();const Ct=Le[Ie];Ct&&z(Ct)}else if(se>=0&&(w.key==="Enter"||w.key==="ArrowRight")){w.preventDefault();const Ie=Le[se];if(!Ie)return;w.key==="Enter"&&Ie.repository?(z(Ie),ce(Ie)):q(Ie.path)}};return o.jsx(Bt,{open:e,onOpenChange:w=>{L.current||t(w)},children:o.jsxs(Gt,{className:"repository-browser",initialFocus:ue,onKeyDown:Pt,children:[o.jsxs("header",{className:"repository-browser-header",children:[o.jsxs("div",{className:"repository-browser-heading",children:[o.jsx(Ht,{children:l}),o.jsx(Ut,{children:p})]}),o.jsx(as,{label:"Close dialog",buttonRef:ue,disabled:O,onClick:()=>t(!1),children:o.jsx(pn,{})})]}),o.jsxs("div",{className:"repository-browser-body",children:[o.jsxs("nav",{className:"repository-browser-places","aria-label":"Folder locations",children:[o.jsxs("section",{children:[o.jsx("h3",{children:"Locations"}),nt.map(w=>o.jsxs("button",{type:"button",className:`repository-place${w.path&&qt(w.path,v)?" active":""}`,disabled:O,onClick:()=>{q(w.path||void 0)},children:[w.kind==="home"?o.jsx(f_,{"aria-hidden":"true"}):w.kind==="documents"?o.jsx(Zl,{"aria-hidden":"true"}):o.jsx(p_,{"aria-hidden":"true"}),o.jsx("span",{children:w.name})]},w.kind)),Q&&!nt.some(w=>qt(w.path,Q))&&o.jsxs("button",{type:"button",className:`repository-place${qt(Q,v)?" active":""}`,disabled:O,onClick:()=>{q(Q)},children:[o.jsx(Pn,{"aria-hidden":"true"}),o.jsx("span",{children:"Workspaces"})]})]}),G.length>0&&o.jsxs("section",{className:"repository-browser-recents",children:[o.jsx("h3",{children:"Recent repositories"}),G.map(w=>o.jsxs(be,{children:[o.jsxs(ke,{render:o.jsx("button",{type:"button",className:"repository-place",disabled:O,onClick:()=>{q(w.path)}}),children:[o.jsx(Bl,{"aria-hidden":"true"}),o.jsx("span",{children:w.name})]}),o.jsx(we,{children:w.path})]},w.id))]}),o.jsxs("div",{className:"repository-browser-source",children:[c?o.jsx(Hl,{"aria-hidden":"true"}):o.jsx(yi,{"aria-hidden":"true"}),o.jsx("span",{children:c?"Folders on this computer":"Folders on your server"})]}),c&&o.jsx(W,{type:"button",variant:"outline",size:"sm",disabled:O,onClick:()=>{Y()},children:"Choose a folder…"})]}),o.jsxs("section",{className:"repository-browser-main","aria-label":"Folder browser",children:[o.jsxs("div",{className:"repository-browser-navigation",children:[o.jsx(as,{label:"Go to parent folder",disabled:O||!he,onClick:()=>{he&&q(he)},children:o.jsx(Es,{})}),o.jsxs("form",{className:"repository-browser-location",onSubmit:w=>{w.preventDefault(),x.trim()&&!O&&q(x.trim())},children:[j?o.jsx("input",{ref:de,id:"repository-path",className:"repository-browser-path-input","aria-label":"Folder path",value:x,onChange:w=>P(w.target.value),onKeyDown:w=>{w.key==="Escape"&&(w.preventDefault(),w.stopPropagation(),Kt())},placeholder:"Paste an absolute folder path",autoComplete:"off",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,disabled:O}):o.jsx("nav",{className:"repository-browser-breadcrumbs","aria-label":"Current folder",children:v?Ko(v).map((w,ne,se)=>o.jsxs("span",{className:ne>0&&ne<se.length-2?"repository-breadcrumb-middle":void 0,children:[ne>0&&o.jsx(_s,{"aria-hidden":"true"}),ne===se.length-2&&se.length>3&&o.jsx("button",{type:"button",className:"repository-breadcrumb-elision","aria-label":"Enter full folder path",disabled:O,onClick:Fe,children:"…"}),ne===se.length-2&&se.length>3&&o.jsx(_s,{className:"repository-breadcrumb-elision-icon","aria-hidden":"true"}),o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx("button",{type:"button",disabled:O,"aria-current":ne===se.length-1?"location":void 0,onClick:()=>{q(w.path)}}),children:ne===0&&w.name==="/"?o.jsx(yi,{"aria-label":"Filesystem root"}):w.name}),o.jsx(we,{children:w.path})]})]},w.path)):o.jsx("span",{className:"repository-browser-home-label",children:"Home"})}),!j&&o.jsx("kbd",{className:"repository-path-shortcut",children:"Ctrl L"}),o.jsx(as,{buttonRef:je,label:j?"Go to folder":"Enter a folder path",type:j?"submit":"button",disabled:O||j&&!x.trim(),onClick:j?void 0:mt,children:j?o.jsx(hi,{}):o.jsx(k_,{})})]})]}),o.jsxs("div",{className:"repository-browser-tools",children:[o.jsxs("strong",{children:["Folders ",o.jsx("span",{children:B?"":ee?"0":Le.length})]}),o.jsxs("label",{className:"repository-browser-filter",children:[o.jsx(Nn,{"aria-hidden":"true"}),o.jsx("input",{"aria-label":"Filter folders",placeholder:"Filter folders…",value:$,onChange:w=>{F(w.target.value),R(null),Z(null)},disabled:O||B||!!ee})]})]}),!B&&!ee&&Pe&&o.jsxs("div",{className:"repository-current-banner",children:[o.jsxs("span",{children:[o.jsx(dn,{"aria-hidden":"true"}),"This folder is a Git repository"]}),o.jsx("button",{type:"button",disabled:O,onClick:()=>{g&&z({name:sa(g.path),path:g.path,repository:g.repository})},children:"Select this repository"})]}),o.jsx("div",{className:"repository-browser-folders",ref:_e,"aria-label":"Folders","aria-busy":B,children:B?o.jsxs("div",{className:"repository-browser-loading",role:"status",children:[o.jsx("span",{className:"sr-only",children:"Loading folders…"}),[0,1,2,3].map(w=>o.jsx("div",{className:"repository-folder-skeleton"},w))]}):ee?o.jsxs("div",{className:"repository-browser-state",role:"alert",children:[o.jsx(ui,{"aria-hidden":"true"}),o.jsx("strong",{children:"Could not browse this folder"}),o.jsx("p",{children:ee}),o.jsxs("div",{children:[o.jsx("button",{type:"button",disabled:O,onClick:Fe,children:"Edit path"}),o.jsx("button",{type:"button",disabled:O,onClick:()=>{q(v||void 0)},children:"Try again"})]})]}):Le.length===0?o.jsxs("div",{className:"repository-browser-state",children:[$?o.jsx(Nn,{"aria-hidden":"true"}):o.jsx(Pn,{"aria-hidden":"true"}),o.jsx("strong",{children:$?"No matching folders":"No subfolders here"}),o.jsx("p",{children:$?"Try a different name or clear the filter.":Pe?"You can open this repository below.":"Browse another location or paste the path to your repository."}),$?o.jsx("button",{type:"button",onClick:()=>F(""),children:"Clear filter"}):he&&o.jsx("button",{type:"button",disabled:O,onClick:()=>{q(he)},children:"Go to parent folder"})]}):Le.map(w=>o.jsxs("div",{className:`repository-folder-row${k&&qt(k.path,w.path)?" selected":""}`,onDoubleClick:()=>{O||q(w.path)},children:[o.jsxs(be,{children:[o.jsxs(ke,{render:o.jsx("button",{type:"button",className:"repository-folder-select","aria-pressed":!!(k&&qt(k.path,w.path)),"aria-label":`Select ${w.repository?"repository":"folder"} ${w.name}`,disabled:O,onClick:()=>z(w)}),children:[o.jsx("span",{className:`repository-folder-icon${w.repository?" git":""}`,children:w.repository?o.jsx(Tl,{"aria-hidden":"true"}):o.jsx(Pn,{"aria-hidden":"true"})}),o.jsxs("span",{className:"repository-folder-copy",children:[o.jsx("strong",{children:w.name}),o.jsx("small",{children:w.repository?"Git repository":"Folder"})]}),w.repository&&o.jsxs("span",{className:"repository-folder-branch",children:[o.jsx(ds,{"aria-hidden":"true"}),o.jsx("span",{children:w.repository.branch??"Detached HEAD"})]})]}),o.jsx(we,{children:o.jsxs("div",{className:"repository-folder-tooltip",children:[o.jsx("span",{children:w.path}),w.repository&&o.jsxs("span",{children:["Branch: ",w.repository.branch??"Detached HEAD"]})]})})]}),o.jsx(as,{label:`Browse ${w.name}`,disabled:O,onClick:()=>{q(w.path)},children:o.jsx(_s,{})})]},w.path))}),o.jsxs("div",{className:"repository-browser-list-footer",children:[o.jsxs("label",{children:[o.jsx("input",{type:"checkbox",checked:A,onChange:w=>{I(w.target.checked),R(null),Z(null)},disabled:O}),"Show hidden folders"]}),o.jsx("span",{children:"Select a repository to open it"})]})]})]}),H&&o.jsxs("p",{role:"alert",className:"repository-browser-open-error",children:[o.jsx(ui,{"aria-hidden":"true"}),H]}),o.jsxs("footer",{className:"repository-browser-footer",children:[o.jsxs("div",{className:"repository-browser-selection","aria-live":"polite",children:[o.jsx("span",{className:`repository-selection-icon${k?.repository?" ready":""}`,children:k?.repository?o.jsx(dn,{"aria-hidden":"true"}):o.jsx(Pn,{"aria-hidden":"true"})}),o.jsxs("div",{children:[o.jsxs("strong",{children:[k?.name??(B?"Loading folders…":"Choose a repository"),k?.repository&&o.jsx("span",{children:"Git repository"})]}),o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx("span",{className:"repository-selection-path",tabIndex:k?0:void 0}),children:j?"Press Enter to browse the path before opening.":k?.path??"Select a Git repository from the list."}),o.jsx(we,{children:k?.path??"Select a Git repository from the list."})]})]})]}),o.jsxs("div",{className:"repository-browser-actions",children:[o.jsx(W,{type:"button",variant:"ghost",disabled:O,onClick:()=>t(!1),children:"Cancel"}),o.jsx(W,{ref:ae,type:"button",disabled:!Ue,onClick:()=>{ce()},children:O?o.jsxs(o.Fragment,{children:[o.jsx(cn,{className:"animate-spin"}),"Working…"]}):o.jsxs(o.Fragment,{children:[f,o.jsx(hi,{"aria-hidden":"true"})]})})]})]})]})})}function as({label:e,disabled:t,onClick:n,children:s,type:i="button",buttonRef:a}){return o.jsxs(be,{children:[o.jsx(ke,{render:o.jsx("button",{ref:a,type:i,className:"repository-browser-icon-button","aria-label":e,disabled:t,onClick:n}),children:s}),o.jsx(we,{children:e})]})}function oo(e,t){return e instanceof Error?e.message:t}function Xh({recent:e,onOpen:t,onRecent:n}){const s=or(e);return o.jsxs("div",{className:"welcome",children:[window.opentigDesktop&&o.jsx("div",{className:"welcome-titlebar","aria-hidden":"true"}),o.jsx("h1",{children:o.jsx(Ro,{})}),o.jsx("p",{children:"Open a repository to review changes, explore files, and create commits."}),o.jsxs(W,{size:"lg",onClick:t,children:[o.jsx(t_,{})," Open repository"]}),s.length>0&&o.jsxs("section",{children:[o.jsx("h2",{children:"Recent"}),s.map(i=>o.jsxs("button",{onClick:()=>n(i.recent.id),children:[o.jsx(Pn,{}),o.jsxs("span",{children:[o.jsx("strong",{children:i.name}),o.jsx("small",{children:i.rootPath})]})]},i.key))]}),o.jsx("small",{className:"shortcut",children:"Ctrl+O to open · Ctrl+R to refresh"})]})}const Yh=138,Zh=78;function Jh(e){const{rect:t,viewportWidth:n,mac:s,desktop:i}=e;return i?t&&t.width>0?{left:Math.max(0,Math.round(t.x)),right:Math.max(0,Math.round(n-t.x-t.width)),height:Math.max(0,Math.round(t.height))}:s?{left:Zh,right:0,height:0}:{left:0,right:Yh,height:0}:{left:0,right:0,height:0}}function eg(e){return e==="connected"?"Restoring your workspace.":e==="reconnecting"?"Reconnecting to the local server.":"Connecting to the local server."}function tg(e,t){if(t.length===0)return e&&e.length>0?"dismiss":"none";if(!e)return"show";const n=new Set(e);return t.some(s=>!n.has(s))?"show":"none"}function oa(e){return`repository-sync:${e}:pull`}function jo(e){return e==="codex"?"Codex":e==="claude"?"Claude Code":e==="grok"?"Grok Build":"OpenCode"}function ng(e,t,n){return e?.find(s=>s.id===t)?.models.find(s=>s.id===n)?.label??(n==="default"?"Default (CLI)":n)}const sg=_.lazy(()=>gt(()=>import("./Viewer-Gfy3Ejyo.js"),__vite__mapDeps([11,4,1,2,3,5]))),og=_.lazy(()=>gt(()=>import("./FilesView-EfoU7sF-.js"),__vite__mapDeps([12,1,2,3,4,5,10,6])).then(e=>({default:e.FilesView}))),ig=_.lazy(()=>gt(()=>import("./HistoryView-C6T2dsBC.js"),__vite__mapDeps([13,1,2,3,4,5])).then(e=>({default:e.HistoryView}))),ag=_.lazy(()=>gt(()=>import("./SearchView-D5XB6wdu.js"),__vite__mapDeps([14,1,2,3,4,5])).then(e=>({default:e.SearchView}))),rg=_.lazy(()=>gt(()=>import("./PullRequestsView-GStKxG7k.js"),__vite__mapDeps([15,1,16,4,2,3,5,8])).then(e=>({default:e.PullRequestsView}))),cg=_.lazy(()=>gt(()=>import("./QuickOpenDialog-HvslpGQl.js"),__vite__mapDeps([17,1,4,2,3,5])).then(e=>({default:e.QuickOpenDialog}))),lg=_.lazy(()=>gt(()=>import("./CreatePullRequestDialog-CAeykZ72.js"),__vite__mapDeps([18,4,1,2,3,5,8,19,20,21])).then(e=>({default:e.CreatePullRequestDialog}))),rs=o.jsxs("div",{className:"view-loading",role:"status",children:[o.jsx(cn,{className:"spinner"})," ",o.jsx(Uo,{text:"Loading…"})]}),_g=[],io=["changes","files","history","prs","search"];class cs extends Error{constructor(t){super(t.status),this.result=t}result}class ls extends Error{constructor(t){super(t.status),this.result=t}result}function fg(){const e=Ic(),t=gh(),n=Ls(),[s,i]=_.useState(!1),[a,c]=_.useState("list"),[l,p]=_.useState("unified"),[f,g]=_.useState(null),[y,v]=_.useState(null),[u,x]=_.useState(null),[P,j]=_.useState(null),[D,k]=_.useState(null),[R,$]=_.useState(0),[F,A]=_.useState({canUndo:!1,undoLabel:null,canRedo:!1,redoLabel:null}),[I,B]=_.useState([]),[U,O]=_.useState([]),[K,ee]=_.useState(null),[E,H]=_.useState("changes"),[Z,me]=_.useState(null),[L,de]=_.useState(""),[_e,ue]=_.useState(null),[je,ae]=_.useState(null),[S,G]=_.useState(()=>new Set),[Q,J]=_.useState(!1),[q,z]=_.useState(null),[ce,Y]=_.useState(()=>new Map),[Le,he]=_.useState(0),[Ue,Pe]=_.useState(0),[nt,Fe]=_.useState(!1),[Kt,mt]=_.useState("general"),[Pt,w]=_.useState(null),[ne,se]=_.useState(null),[Ie,Ct]=_.useState(!1),[yt,qs]=_.useState(["OPEN"]),[vt,Ye]=_.useState(!1),[lt,Tt]=_.useState(!1),[st,$t]=_.useState(()=>new Map),[vn,Ln]=_.useState(null),[bt,St]=_.useState(null),[kt,Rt]=_.useState(null),[qn,Fn]=_.useState(!1),Qt=_.useRef(null),pe=_.useRef(null),ze=_.useRef(null),Se=_.useRef(null),Te=_.useRef(new Map),$e=_.useRef(null),[ye]=_.useState(()=>new Map),te=_.useRef(null),le=_.useRef(st),ve=_.useRef(new Map),De=_.useRef(new Map),Ve=_.useRef(0),Ze=_.useRef(!1),Ke=_.useRef(null),wt=_.useRef(!1),Qe=_.useRef(null),_t=_.useRef(""),Xt=_.useRef(new Map),Bn=_.useRef(new Map),Yt=Ac({queryKey:Ne.history(u?.id??""),queryFn:({pageParam:r})=>N.commits.list(u.id,r),initialPageParam:void 0,getNextPageParam:r=>r.nextCursor??void 0,enabled:u!==null&&E==="history"}),Qo=Yt.data?Yt.data.pages.flatMap(r=>r.commits):null,Xo=Yt.hasNextPage?Yt.data?.pages.at(-1)?.nextCursor??null:null,Mt=jn({queryKey:Ne.githubInfo(u?.id??""),queryFn:async()=>{try{return await N.github.repositoryInfo(u.id)}catch{return{isGitHub:!1,nameWithOwner:null}}},enabled:u!==null}).data??null,Zt=jn({queryKey:Ne.githubCliStatus,queryFn:()=>N.github.status(!0),enabled:f!==null,staleTime:1/0}),Fs=Zt.data??null,Dr=$_(u&&Mt?.isGitHub?u.id:null).data??null;_.useEffect(()=>N.events.onGitHubAccountsChanged(()=>{Cc(e)}),[e]);const Jt=jn({queryKey:Ne.pulls(u?.id??"",yt),queryFn:async()=>{try{return yt.length?await N.github.listPullRequests(u.id,yt):[]}catch(r){throw Pr(r)?.code==="GH_CLI_NOT_FOUND"&&e.invalidateQueries({queryKey:Ne.githubCliStatus}),r}finally{const r=await N.github.repositoryAccount(u.id,!1);e.setQueryData(Ne.githubAccount(u.id),r)}},enabled:E==="prs"&&u!==null&&Mt?.isGitHub===!0&&Fs?.installed===!0}),Gn=Jt.data??null,Tr=Jt.isFetching||Zt.isFetching,$r=Zt.error?ge(Zt.error):Jt.error?ge(Jt.error):null;_.useEffect(()=>{c("list")},[u?.id]);const Hn=K===u?.id,T=Hn?P:null,Un=Hn?D:null,Bs=Hn?I:[],Mr=Hn?U:[],Vn=T&&!T.detached&&!T.unborn?T.branch:null,Wn=jn({queryKey:Ne.branchPullRequest(u?.id??"",Vn??""),queryFn:()=>N.github.findPullRequestForBranch(u.id,Vn),enabled:u!==null&&Mt?.isGitHub===!0&&Vn!==null&&Fs?.installed===!0,staleTime:6e4,refetchInterval:6e4}),Ir=Vn&&Mt?.isGitHub&&!Wn.isError&&(Wn.data?.state==="OPEN"||Wn.data?.state==="MERGED")?Wn.data:null,Yo=f?.openFilesStates??_g,Ar=_.useSyncExternalStore(Xs.transport.subscribeState,Xs.transport.getState,Xs.transport.getState),bn=f?.preferences.theme??"system",Or=n?l:f?.preferences.diffView??"unified",Lr=f?.preferences.wrapLines??!1,Zo=f?.preferences.uiZoom??100,Jo=f?.preferences.uiFont??"plus-jakarta-sans",ei=f?.preferences.monoFont??"jetbrains-mono",en=_.useMemo(()=>ga(f?.preferences.shortcutOverrides),[f?.preferences.shortcutOverrides]);_.useEffect(()=>{let r=!0;return N.app.bootstrap().then(d=>{if(r){ye.clear();for(const h of d.filesTreeStates)ye.set(h.repositoryId,[...h.expandedPaths]);g(d),x(d.activeRepository)}}).catch(d=>{!r||d instanceof Sc||We("Could not start OpenTig",d)}),N.app.capabilities().then(d=>{r&&v(d)}).catch(()=>{}),()=>{r=!1}},[ye]),_.useLayoutEffect(()=>{const r=navigator.windowControlsOverlay,d=()=>{const h=r?.visible?r.getTitlebarAreaRect():null,m=Jh({rect:h,viewportWidth:window.innerWidth,mac:navigator.userAgent.includes("Mac OS X"),desktop:!!window.opentigDesktop});document.documentElement.style.setProperty("--window-controls-inset",`${m.right}px`),document.documentElement.style.setProperty("--window-controls-inset-left",`${m.left}px`),m.height>0?document.documentElement.style.setProperty("--toolbar-height",`${m.height}px`):document.documentElement.style.removeProperty("--toolbar-height")};return d(),r?.addEventListener("geometrychange",d),window.addEventListener("resize",d),()=>{r?.removeEventListener("geometrychange",d),window.removeEventListener("resize",d)}},[]),_.useLayoutEffect(()=>{if(!f)return;const r=window.matchMedia("(prefers-color-scheme: dark)"),d=()=>{const h=bn==="dark"||bn==="system"&&r.matches;document.documentElement.classList.toggle("dark",h),document.documentElement.classList.toggle("light",!h),Dc(bn),N.app.setTitleBarTheme(h).catch(()=>{})};return d(),r.addEventListener("change",d),()=>r.removeEventListener("change",d)},[f,bn]),_.useEffect(()=>{N.app.setZoomFactor(n?1:Zo/100)},[Zo,n]),_.useLayoutEffect(()=>{document.documentElement.dataset.uiFont=Jo,document.documentElement.dataset.monoFont=ei},[ei,Jo]),_.useEffect(()=>{if(!f?.performanceAutomation)return;window.__opentigPerformanceAutomation=!0,window.__opentigPerformanceResults=[];const r=d=>{const h=d.detail;if(!h||typeof h!="object")return;const m=h;if(m.type==="refresh"){he(b=>b+1),Pe(b=>b+1);return}if(m.type==="view"&&(m.view==="changes"||m.view==="files"||m.view==="history"||m.view==="prs")){H(m.view);return}m.type==="selection"&&hg(m.selection)&&(pe.current=m.selection,me(m.selection))};return window.addEventListener("opentig:performance-action",r),()=>{window.removeEventListener("opentig:performance-action",r),delete window.__opentigPerformanceAutomation,delete window.__opentigPerformanceResults}},[f?.performanceAutomation]),_.useEffect(()=>{Qt.current=Un},[Un]),_.useEffect(()=>{te.current=u},[u]);const ot=_.useCallback((r,d)=>{const h=le.current.get(r)??et;if(d===h)return h;const m=new Map(le.current);m.set(r,d),le.current=m,$t(m);const b=Ii(d),C=JSON.stringify(b);return ve.current.get(r)!==C&&(ve.current.set(r,C),N.app.setOpenFilesState(r,b.tabs,b.activePath,b.previewPath).catch(()=>{})),d},[]),ft=_.useCallback((r,d)=>{const h=le.current.get(r)??et;return ot(r,d(h))},[ot]),xt=_.useCallback(r=>{const d=r?{type:"file",path:r}:null;pe.current=d,me(d),r||c(h=>h==="viewer"?"list":h)},[]),Je=_.useCallback((r,d)=>{const h=De.current.get(r);if(!h)return;const m=h.get(d);m&&(Ve.current-=no(m.content),h.delete(d),h.size===0&&De.current.delete(r))},[]),qr=_.useCallback((r,d)=>{if(d.size===0)return;const h=De.current.get(r);if(!h)return;const m=new Map;for(const[b,C]of h)m.set(d.get(b)??b,C);De.current.set(r,m)},[]),Gs=_.useCallback((r,d)=>De.current.get(r)?.get(d)??null,[]),Kn=_.useCallback(()=>{const r=te.current?.id;return(r?le.current.get(r):void 0)??et},[]),Qn=_.useCallback(r=>Sp(Kn(),r),[Kn]),Fr=_.useCallback(()=>Ai(Kn()),[Kn]),Br=_.useCallback((r,d,h,m)=>{const b=te.current?.id;if(!b)return;let C=De.current.get(b);C||(C=new Map,De.current.set(b,C));const X=C.get(r);if(!(d!==h)){X&&Je(b,r),ft(b,Re=>ns(Re,r,!1));return}Ve.current+=no(d)-(X?no(X.content):0),C.set(r,{content:d,expectedContent:X?.expectedContent??h,expectedMtimeMs:X?.expectedMtimeMs??m}),!Ze.current&&Ve.current>vp&&(Ze.current=!0,M.warning({title:"Unsaved changes are using a lot of memory",description:"Save or close some open files.",duration:1e4})),X||ft(b,Re=>ns(Re,r,!0))},[Je,ft]);_.useEffect(()=>{pe.current=Z},[Z]);const Xn=_.useCallback(r=>{const d=Qt.current,h=d!==null&&us(d)===us(r);Qt.current=h&&d?d:r,h||k(r),$(Ae=>Ae+1);const m=te.current?.id,b=m?le.current.get(m):void 0;if(m&&b&&b.tabs.length>0){const Ae=dg(r),Re=[],qe=new Set;for(const jt of b.tabs){const dt=pg(Ae,jt.path);dt==="present"?qe.add(jt.path):dt==="missing"&&ze.current!==jt.path&&Re.push(jt.path)}if(Re.length>0||qe.size>0){const jt=xp(b,qe),dt=Mi(jt,Re);for(const nn of dt.closedPaths)Je(m,nn);for(const nn of dt.retainedPaths)M.info({title:"File no longer exists",description:`${nn} — unsaved changes are still open`});const Jn=ot(m,dt.session),Ee=pe.current;if(Ee?.type==="file"&&dt.closedPaths.includes(Ee.path)){const nn=Jn.activePath?{type:"file",path:Jn.activePath}:null;pe.current=nn,me(nn),M.info({title:"File no longer exists",description:Ee.path})}}}const C=pe.current;if(C?.type!=="file")return;const X=ka(r,C.path);if(X==="missing")return ze.current===C.path,void 0;ze.current===C.path&&(ze.current=null),X==="present"&&d&&cf(d,r,C.path)&&he(Ae=>Ae+1)},[ot,Je]),Et=_.useCallback(async()=>{if(!u)return;const r=u.id;try{const d=await e.fetchQuery({queryKey:Ne.files(r),queryFn:()=>N.repository.getFiles(r)});te.current?.id===r&&Xn(d)}catch(d){te.current?.id===r&&We("Could not refresh files",d)}},[Xn,e,u]),Gr=_.useCallback(async r=>{if(!u)return[];try{return await N.repository.getDirectoryEntries(u.id,r)}catch(d){return M.error({title:"Could not read folder",description:ge(d)}),[]}},[u]),It=_.useCallback(async()=>{if(!u)return;const r=u.id,d=await e.fetchQuery({queryKey:Ne.fileHistory(r),queryFn:()=>N.repository.fileHistoryState(r)});te.current?.id===r&&A(d)},[e,u]);_.useEffect(()=>{if(!u){A({canUndo:!1,undoLabel:null,canRedo:!1,redoLabel:null});return}It()},[It,u]);const ti=_.useCallback(async(r,d)=>{const{background:h,manual:m,scope:b,view:C}=d,X=Tc(b,C),Ae=$c(b,C);h||($e.current="refresh",z("refresh"));try{if(m){Os().check().catch(()=>{});try{const Ee=await N.refs.fetch(r);if(Ee.status==="failed")throw new Error(Ee.message)}catch(Ee){te.current?.id===r&&We("Could not fetch remote changes",Ee)}}await Promise.all(Ae.map(Ee=>e.invalidateQueries({queryKey:Ee==="status"?Ne.status(r):Ee==="branches"?Ne.branches(r):Ee==="worktrees"?Ne.worktrees(r):Ee==="files"?Ne.files(r):Ne.history(r),exact:!0,refetchType:"none"})));const[Re,qe,jt,dt,Jn]=await Promise.all([e.fetchQuery({queryKey:Ne.status(r),queryFn:()=>N.repository.getStatus(r)}),X.branches?e.fetchQuery({queryKey:Ne.branches(r),queryFn:()=>N.refs.listBranches(r)}):Promise.resolve(null),X.worktrees?e.fetchQuery({queryKey:Ne.worktrees(r),queryFn:()=>N.refs.listWorktrees(r)}):Promise.resolve(null),X.files?e.fetchQuery({queryKey:Ne.files(r),queryFn:()=>N.repository.getFiles(r)}):Promise.resolve(null),X.history?e.fetchInfiniteQuery({queryKey:Ne.history(r),queryFn:({pageParam:Ee})=>N.commits.list(r,Ee),initialPageParam:void 0,getNextPageParam:Ee=>Ee.nextCursor??void 0}):Promise.resolve(null)]);if(te.current?.id!==r)return;ee(r),j(Re),qe&&B(qe),jt&&O(jt),dt&&Xn(dt),Rc(b,pe.current?.type??null)&&he(Ee=>Ee+1),Ec(b)&&Pe(Ee=>Ee+1),h||(e.invalidateQueries({queryKey:Ne.githubInfo(r)}),e.invalidateQueries({queryKey:["repository",r,"branch-pull-request"]}))}catch(Re){te.current?.id===r&&We("Could not refresh",Re)}finally{!h&&te.current?.id===r&&($e.current=null,z(null))}},[Xn,e]),oe=_.useCallback(r=>{if(!u)return Promise.resolve();const d=u.id,h={...r?.manual?{manual:!0}:{},background:r?.background===!0,scope:r?.scope??"unknown",view:E},m=Bn.current.get(d);if(m)return m.queued=m.queued?Nc(m.queued,h):h,m.promise;const b={queued:null,promise:Promise.resolve()};return b.promise=(async()=>{let C=h;for(;C;)await ti(d,C),C=b.queued,b.queued=null})().finally(()=>{Bn.current.get(d)===b&&Bn.current.delete(d)}),Bn.current.set(d,b),b.promise},[ti,u,E]);_.useEffect(()=>{$e.current=q},[q]);const Hs=f?.preferences.remoteFetchIntervalSeconds??Ph;_.useEffect(()=>{if(!u||Hs<=0)return;const r=u.id;let d=!1,h=!1;const m=async()=>{if(!(d||h||document.visibilityState==="hidden")&&!($e.current||Te.current.has(r))){h=!0;try{const X=await N.refs.fetch(r);if(d||te.current?.id!==r||X.status!=="success")return;await oe({background:!0,scope:"refs"})}catch{}finally{h=!1}}};m();const b=window.setInterval(()=>{m()},Hs*1e3),C=()=>{document.visibilityState==="visible"&&m()};return document.addEventListener("visibilitychange",C),()=>{d=!0,window.clearInterval(b),document.removeEventListener("visibilitychange",C)}},[oe,Hs,u]),_.useEffect(()=>{ee(null),Wh(),Qt.current=null,k(null),Ye(!1),Tt(!1)},[u?.id]);const ni=_.useCallback(async(r,d=!1)=>{if(d){const h=await Zt.refetch();if(h.isError||!h.data?.installed)return;u&&await Promise.all([e.invalidateQueries({queryKey:["repository",u.id,"pull-request-stack"]}),e.invalidateQueries({queryKey:["repository",u.id,"pull-request"]})])}u&&e.invalidateQueries({queryKey:["repository",u.id,"branch-pull-request"]}),await Jt.refetch()},[e,Zt,Jt,u]);_.useEffect(()=>{oe()},[oe,u?.id,E]),_.useEffect(()=>{const r=u?.id;if(!r){xt(null);return}let d=le.current.get(r);if(!d){d=jp(Yo.find(m=>m.repositoryId===r)??null);const h=new Map(le.current);h.set(r,d),le.current=h,$t(h),ve.current.set(r,JSON.stringify(Ii(d)))}xt(E==="files"?d.activePath:null)},[Yo,u?.id,xt,E]),_.useEffect(()=>N.events.onRepositoryChanged((r,d)=>{r===u?.id&&oe({background:!0,scope:d})}),[oe,u?.id]),_.useEffect(()=>{if(!f?.performanceAutomation)return;const r=d=>{const h=d.detail;if(!h||typeof h!="object")return;const m=h;if(m.type!=="refresh-burst")return;const b=Math.max(1,Math.min(100,Math.round(Number(m.count)||20)));for(let C=0;C<b;C+=1){const X=C===b-1?"refs":"worktree";oe({background:!0,scope:X})}};return window.addEventListener("opentig:performance-action",r),()=>window.removeEventListener("opentig:performance-action",r)},[f?.performanceAutomation,oe]),_.useEffect(()=>{if(E!=="files"||!u)return;const r=()=>{document.visibilityState==="visible"&&Et()},d=window.setInterval(r,5e3);return document.addEventListener("visibilitychange",r),()=>{window.clearInterval(d),document.removeEventListener("visibilitychange",r)}},[Et,u,E]);const At=_.useCallback((r,d)=>{if(d&&d!==r.id){const h=ye.get(d);ye.delete(d),h&&ye.set(r.id,h);const m=le.current.get(d);if(m){const X=new Map(le.current);X.delete(d),X.set(r.id,m),le.current=X,$t(X)}const b=De.current.get(d);b&&(De.current.delete(d),De.current.set(r.id,b));const C=ve.current.get(d);C&&(ve.current.delete(d),ve.current.set(r.id,C))}x(r),g(h=>{if(!h)return h;const m=d&&d!==r.id?h.recentRepositories.find(C=>C.id===d):null;let b=h.repositoryProjects;if(m){const C=ht(m.commonDir),X=ht(r.commonDir),Ae=b.some(Re=>Re.repositoryKeys.some(qe=>qe===X&&qe!==C));b=b.map(Re=>({...Re,repositoryKeys:[...new Set(Re.repositoryKeys.flatMap(qe=>qe!==C?[qe]:Ae?[]:[X]))]}))}return{...h,activeRepository:r,repositoryProjects:b,recentRepositories:Wp(h.recentRepositories.filter(C=>C.id!==d||C.id===r.id),r,b),filesTreeStates:m?tf(h.filesTreeStates.map(C=>C.repositoryId===d?{...C,repositoryId:r.id}:C)):h.filesTreeStates,openFilesStates:m?hp(h.openFilesStates.map(C=>C.repositoryId===d?{...C,repositoryId:r.id}:C)):h.openFilesStates}})},[ye]),Yn=_.useCallback(async()=>{i(!0)},[]);_.useEffect(()=>N.events.onActiveRepositoryChanged(r=>{r.id!==te.current?.id&&At(r)}),[At]),_.useEffect(()=>{const r=h=>Fn(h.ctrlKey&&!h.altKey&&!h.metaKey),d=()=>Fn(!1);return window.addEventListener("keydown",r),window.addEventListener("keyup",r),window.addEventListener("blur",d),()=>{window.removeEventListener("keydown",r),window.removeEventListener("keyup",r),window.removeEventListener("blur",d)}},[]);const Us=async r=>{try{const d=await N.app.setPreferences(r);return g(h=>h&&{...h,preferences:d}),!0}catch(d){return We("Could not save settings",d),!1}},Hr=_.useCallback(r=>{u&&(ye.set(u.id,[...r]),N.app.setFilesTreeExpandedPaths(u.id,r).catch(d=>We("Could not save folder state",d)))},[ye,u]),si=async(r,d)=>{if(!u||!T||d.length===0)return;const h=T;j(ia(T,d,r)),z(r),ue(null),ae(null);try{r==="stage"?await N.index.stage(u.id,d):await N.index.unstage(u.id,d),await oe({background:!0})}catch(m){j(h),We(r==="stage"?"Could not stage changes":"Could not unstage changes",m)}finally{z(null)}},Ur=r=>{!u||q||T?.readOnly||r.length===0||(z("discard"),ue(null),ae(null),St(Fh(u.id,r,T?.changes??[])))},Xe=_.useCallback(r=>(pe.current=r,me(r),r&&c("viewer"),!0),[]),Ot=_.useCallback((r,d="preview")=>{const h=te.current?.id;if(!h||!Xe({type:"file",path:r}))return!1;const m=le.current.get(h)??et,b=bp(m,r,d);return b.evictedPath&&Je(h,b.evictedPath),b.overCap&&M.info({title:"Too many open files",description:"Every open tab has unsaved changes, so none could be closed for you."}),ot(h,b.session),!0},[ot,Je,Xe]),Vr=_.useCallback(r=>{const d=te.current?.id;d&&Xe({type:"file",path:r})&&(ft(d,h=>kp(h,r)),H("files"))},[Xe,ft]),Wr=_.useCallback((r,d)=>{const h=te.current?.id;h&&ft(h,m=>Ja(m,r,d))},[ft]),oi=_.useCallback(async(r,d)=>{const h=Gs(r,d);if(!h)return!0;try{return(await N.repository.writeFile(r,d,h.content,h.expectedContent)).status==="conflict"?(M.error({title:"File changed on disk",description:`${d} — the unsaved version is still open.`,duration:1e4}),!1):(Je(r,d),ft(r,b=>ns(b,d,!1)),await Et(),!0)}catch(m){return M.error({title:"Could not save file",description:ge(m),duration:1e4}),!1}},[Je,Gs,Et,ft]),Vs=_.useCallback(async r=>{const d=te.current?.id;if(!d)return;const m=(le.current.get(d)??et).tabs.find(Ae=>Ae.path===r);if(!m)return;if(m.dirty){if(Ke.current)return;const Ae=await new Promise(Re=>{Ke.current=Re,Ln(r)});if(Ln(null),Ke.current=null,Ae==="cancel"||Ae==="save"&&!await oi(d,r))return}Je(d,r);const b=le.current.get(d)??et,C=Za(b,r);ot(d,C.session);const X=pe.current;X?.type==="file"&&X.path===r&&xt(C.activePath)},[ot,Je,oi,xt]),ii=_.useCallback(r=>{const d=te.current?.id;if(!d)return;const h=le.current.get(d)??et,m=Cp(h,r);if(m.closeRequest){Vs(m.closeRequest);return}m.session!==h&&(ot(d,m.session),m.session.activePath!==h.activePath&&(xt(m.session.activePath),c("viewer"),H("files")))},[Vs,ot,xt]);_.useEffect(()=>{const r=d=>{if(ut(d,en.openRepository)&&(d.preventDefault(),Yn()),ut(d,en.refresh)&&(d.preventDefault(),!d.repeat&&!$e.current&&!Te.current.has(u?.id??"")&&oe({manual:!0})),u&&d.ctrlKey&&!d.altKey&&!d.metaKey){const m=io[Number(d.key)-1];m&&(d.preventDefault(),H(m))}const h=u?ug(d,en):null;if(h&&(d.preventDefault(),d.repeat||ii(h)),u&&!d.repeat&&ut(d,en.quickOpen)){if(!lt&&document.querySelector('[data-slot="dialog-popup"]'))return;d.preventDefault(),Tt(!0),Et()}};return window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)},[Yn,lt,oe,Et,u,ii,en]),_.useEffect(()=>{const r=h=>{[...le.current.values()].some(b=>b.tabs.some(C=>C.dirty))&&(h.preventDefault(),h.returnValue="")},d=h=>{($e.current||Te.current.size>0||[...le.current.values()].some(m=>m.tabs.some(b=>b.dirty)))&&h.preventDefault()};return window.addEventListener("opentig:before-update",d),window.addEventListener("beforeunload",r),()=>{window.removeEventListener("opentig:before-update",d),window.removeEventListener("beforeunload",r)}},[]);const Zn=(r,d)=>{const h=te.current?.id;if(h){const X=le.current.get(h)??et,Ae=Mi(X,d);for(const qe of Ae.closedPaths)Je(h,qe);const Re=wp(Ae.session,r.map(qe=>({from:qe.from,to:qe.to})));qr(h,Re.renamed),ot(h,Re.session)}const m=pe.current;if(m?.type!=="file")return;if(d.some(X=>zn(X,m.path))){const X=h?le.current.get(h):void 0;xt(X?.activePath??null);return}const b=r.find(X=>zn(X.from,m.path));if(!b)return;const C=`${b.to}${m.path.slice(b.from.length)}`;ze.current=C,xt(C),he(X=>X+1)},Lt=async r=>{if(!u||q||T?.readOnly)return;const d=Fr();if(d.length>0){M.info({title:`Save open files before ${r==="undo"?"undoing":"redoing"} a file operation`,description:d.join(", ")});return}z(`${r}-file`);try{const h=r==="undo"?await N.repository.undoFileOperation(u.id):await N.repository.redoFileOperation(u.id);if(A(h.state),h.status==="empty")return;if(h.status==="conflict"){M.error({title:`Could not ${r} ${ao(h.label)}`,description:h.message,duration:1e4});return}if(h.status==="system-trash"){M.info({title:`${ao(h.label)} cannot be undone in OpenTig`,description:"Restore it from system trash."});return}Zn(h.pathChanges,h.removedPaths),await oe({background:!0}),M.success({title:`${r==="undo"?"Undid":"Redid"} ${ao(h.label)}`})}catch(h){M.error({title:`Could not ${r} a file operation`,description:ge(h),duration:1e4})}finally{z(null)}},Kr=async r=>{if(!(!u||r.length===0))try{const d=await Promise.all(r.map(h=>N.repository.getAbsolutePath(u.id,h.path)));await Ys(d.join(`
|
|
73
|
-
`)),M.success({title:d.length===1?"Path copied":`${d.length} paths copied`,description:r.length===1?r[0].path:void 0})}catch(d){M.error({title:"Could not copy path",description:ge(d)})}},Qr=async r=>{if(!(!u||r.type!=="file"))try{const d=await N.repository.readFile(u.id,r.path);if(d.binary){M.info({title:"Binary files cannot be copied as text",description:r.path});return}if(d.tooLarge){M.info({title:"File is too large to copy safely",description:r.path});return}await Ys(d.content),M.success({title:"File copied",description:r.path})}catch(d){M.error({title:"Could not copy file",description:ge(d)})}},Xr=async r=>{if(!(!u||r.length===0))try{const d=await N.repository.copyEntries(u.id,r.map(h=>h.path));await pi(d.paths),M.success({title:r.length===1?r[0].type==="directory"?"Folder copied":"File copied":`${r.length} items copied`,description:"Select a destination folder in the file browser and press Ctrl+V."})}catch(d){M.error({title:"Could not copy item",description:ge(d)})}},Yr=async r=>{if(!u||q||T?.readOnly||r.length===0)return;const d=Qn(r.map(h=>h.path));if(d.length>0){M.info({title:"Save open files before cutting them",description:d.join(", ")});return}try{const h=await N.repository.cutEntries(u.id,r.map(m=>m.path));await pi(h.paths,h.transferId),M.success({title:r.length===1?r[0].type==="directory"?"Folder cut":"File cut":`${r.length} items cut`,description:"Select a destination folder in the file browser and press Ctrl+V."})}catch(h){M.error({title:"Could not cut item",description:ge(h)})}},Zr=async r=>{if(!(!u||q||T?.readOnly||!y?.fileClipboard)){z("paste-file");try{const d=await N.clipboard.readFilePaths(),h=d.length===0?await N.clipboard.readImagePng():null,m=await N.repository.pasteEntries(u.id,r,d,Mc(d),h);if(m.status==="empty"){M.info({title:"Clipboard does not contain files or an image"});return}await oe({background:!0}),await It();const b=r||u.name;M.success({title:m.source==="image"?"Clipboard image pasted":m.source==="cut"?`${m.created.length} ${m.created.length===1?"item":"items"} moved`:`${m.created.length} ${m.created.length===1?"item":"items"} pasted`,description:b,button:{title:"Undo",onClick:()=>{Lt("undo")}}})}catch(d){M.error({title:"Could not paste item",description:ge(d),duration:1e4})}finally{z(null)}}},Jr=async(r,d)=>{if(!u||q||T?.readOnly||r.length===0)return;const h=Qn(r.map(m=>m.path));if(h.length>0){M.info({title:"Save open files before moving them",description:h.join(", ")});return}z("move-file");try{const m=await N.repository.moveEntries(u.id,r.map(X=>X.path),d),b=m.moved.length,C=m.conflicts.length;Zn(m.moved,[]),await oe({background:!0}),await It(),C>0&&M.error({title:C===1?"An item with that name already exists":`${C} items already exist in the destination`}),b>0&&M.success({title:b===1?"Item moved":`${b} items moved`,description:d||u.name,button:{title:"Undo",onClick:()=>{Lt("undo")}}})}catch(m){M.error({title:"Could not move item",description:ge(m),duration:1e4})}finally{z(null)}},ec=async r=>{!u||q||T?.readOnly||r.length===0||(z("delete-file"),St(Bh(u.id,r)))},Ws=async r=>{const d=bt;if(!(!d||wt.current)){if(te.current?.id!==d.repositoryId){St(null),z(null);return}if(!r){await Ji(d,!1,{discard:(h,m)=>N.index.discard(h,m),deleteEntries:(h,m)=>N.repository.deleteEntries(h,m)}),St(null),z(null);return}wt.current=!0,St(null);try{const h=await Ji(d,!0,{discard:(b,C)=>N.index.discard(b,C),deleteEntries:(b,C)=>N.repository.deleteEntries(b,C)});if(!h)return;if(h.kind==="discard"){await oe({background:!0});return}const m=h.result;if(m.deleted===0)return;Zn([],d.paths),await Et(),await It(),M.success({title:m.deleted===1?"Moved to system trash":`${m.deleted} items moved to system trash`,...m.recovery==="undo"?{description:"Undo available",button:{title:"Undo",onClick:()=>{Lt("undo")}}}:{description:"Restore from system trash"}})}catch(h){const m=ge(h);d.kind==="delete"?M.error({title:"Could not delete item",description:m,duration:1e4}):M.error({title:"Could not discard changes",description:m,duration:1e4})}finally{wt.current=!1,z(null)}}},tc=async r=>{if(u)try{await N.repository.revealEntry(u.id,r.path)}catch(d){M.error({title:"Could not reveal item",description:ge(d)})}},nc=async(r,d)=>{if(!u||q||T?.readOnly)return;const h=Qn([r.path]);if(h.length>0){M.info({title:"Save open files before renaming them",description:h.join(", ")});return}z("rename-file");try{const m=await N.repository.renameEntry(u.id,r.path,d);if(m.status==="noop")return;if(m.status==="conflict"){M.error({title:"An item with that name already exists",description:m.path});return}Zn([{from:m.from,to:m.to}],[]),await oe({background:!0}),await It(),M.success({title:r.type==="directory"?"Folder renamed":"File renamed",description:`${m.from} → ${m.to}`,button:{title:"Undo",onClick:()=>{Lt("undo")}}})}catch(m){M.error({title:"Could not rename item",description:ge(m),duration:1e4})}finally{z(null)}},sc=async(r,d,h)=>{if(!(!u||q||T?.readOnly)){z("create-file");try{const m=await N.repository.createEntry(u.id,r,d,h);if(m.status==="conflict"){M.error({title:"An item with that name already exists",description:m.path});return}m.kind==="file"&&(ze.current=m.path,Ot(m.path)),await Et(),await It(),M.success({title:m.kind==="directory"?"Folder created":"File created",description:m.path,button:{title:"Undo",onClick:()=>{Lt("undo")}}})}catch(m){M.error({title:"Could not create item",description:ge(m),duration:1e4})}finally{z(null)}}},ai=async r=>{if(!u||!T)return;const d=T.changes.filter(m=>r==="stage"?m.unstaged:m.staged).map(m=>m.path);if(!d.length)return;const h=T;j(ia(T,d,r)),z(r),ue(null),ae(null);try{r==="stage"?await N.index.stageAll(u.id):await N.index.unstageAll(u.id),await oe({background:!0})}catch(m){j(h),We(r==="stage"?"Could not stage changes":"Could not unstage changes",m)}finally{z(null)}},oc=async r=>{if(!u||!T?.stagedCount||!L.trim())return;z("commit");let d=!1;try{const h=await N.commits.create(u.id,L),m=L.split(/\r?\n/,1)[0]??L;if(de(""),_e&&je!==null){const b=new Set(S).add(je);G(b),ae(null),b.size===_e.commits.length&&(ue(null),G(new Set),M.success({title:"Commit plan finished",description:`${b.size} commits created.`}))}else ue(null),ae(null),G(new Set);_t.current="",me({type:"commit",oid:h.oid,subject:m}),c("viewer"),await oe({background:!0}),d=!0}catch(h){We("Could not create the commit",h)}finally{z(null)}d&&r?.push&&await li()},ic=()=>{mt("ai"),Fe(!0)},ac=async()=>{const r=Se.current;r&&await N.ai.cancelGeneration(r.id).catch(()=>{})},rc=async()=>{if(!f||!u||!T?.stagedCount||T.readOnly||Pt)return;const r=f.preferences.commitMessageHarness,d=f.preferences.commitMessageModels[r]??"default",h=crypto.randomUUID();Se.current={id:h,repositoryId:u.id},w(h);try{const m=await N.ai.generateCommitMessage({repositoryId:u.id,harness:r,model:d,requestId:h});if(Se.current?.id!==h||Se.current.repositoryId!==u.id)return;de(m.message),_t.current=m.message,ue(m.proposal),ae(null),G(new Set),J(!1),M.success({title:`Message generated with ${jo(m.harness)}`,description:m.proposal?`${m.proposal.commits.length} focused commits may be clearer than one.`:m.splitBlockedReason?`No commit split was offered: ${m.splitBlockedReason.charAt(0).toLowerCase()}${m.splitBlockedReason.slice(1)}`:m.contextWasTruncated?"A truncated version of the staged diff was used.":void 0,...m.splitBlockedReason?{duration:8e3}:{}})}catch(m){const b=mg(m);if(b?.code==="AI_CANCELLED")M.info({title:"Generation canceled"});else{const C=b?.code==="AI_CLI_NOT_FOUND"||b?.code==="AI_AUTH_REQUIRED"||b?.code==="AI_MODEL_UNAVAILABLE";M.error({title:yg(b),description:b?.message??ge(m),duration:1e4,...C?{button:{title:"Open settings",onClick:ic}}:{}})}}finally{Se.current?.id===h&&(Se.current=null),w(m=>m===h?null:m)}},cc=async r=>{const d=_e,h=d?.commits[r];if(!(!u||!T||!d||!h||T.readOnly||q)&&!(je!==null&&je!==r&&!window.confirm("Commit group "+(je+1)+" is staged and not committed yet. Prepare a different group and unstage it?"))&&!(L.trim()&&L!==_t.current&&!window.confirm("Replace the commit message you wrote with the one from this group?"))){z("prepare-commit-group");try{await N.index.prepareCommitGroup({repositoryId:u.id,paths:h.paths,expectedStagedPaths:T.changes.filter(m=>m.staged&&!m.conflict).map(m=>m.path).sort(),expectedFingerprint:h.fingerprint}),de(h.message),_t.current=h.message,ae(r),await oe({background:!0}),M.success({title:"Commit group prepared",description:`${h.paths.length} ${h.paths.length===1?"file is":"files are"} staged. Review the diff before committing.`}),window.setTimeout(()=>Qe.current?.focus(),0)}catch(m){ae(null),M.error({title:"Could not prepare the commit group",description:ge(m),duration:1e4}),await oe({background:!0})}finally{z(null)}}};_.useEffect(()=>{const r=Se.current;r&&r.repositoryId!==u?.id&&N.ai.cancelGeneration(r.id),ue(null),ae(null)},[u?.id]),_.useEffect(()=>()=>{const r=Se.current;r&&N.ai.cancelGeneration(r.id)},[]);const ri=async r=>{if(!(!r||r===u?.id))try{try{const d=await N.repository.openRecent(r);d&&At(d,r)}catch(d){const h=f?.recentRepositories.find(b=>b.id===r);if(!h)throw d;const m=await N.repository.selectRelocation(h.repositoryName,h.path);if(!m)return;At(await N.repository.relocateRecent(r,m),r)}}catch(d){We("Could not open repository",d)}},lc=async r=>{if(!(!u||!r||r===T?.branch)){z("branch");try{const d=await N.refs.switchBranch(u.id,r,!1);if(d.status==="blocked-local-changes"){const h=Bs.find(m=>m.fullName===r)?.name??r.replace(/^refs\/(?:heads|remotes)\//,"");Rt({ref:r,label:h,files:d.files});return}await oe({background:!0})}catch(d){We("Could not switch branch",d)}finally{z(null)}}},_c=async()=>{const r=kt;if(!(!u||!r)){z("branch");try{const d=await N.refs.switchBranch(u.id,r.ref,!0);if(d.status==="blocked-local-changes"){Rt({...r,files:d.files});return}if(Rt(null),H("changes"),await oe({background:!0}),d.status==="switched")M.success({title:`Switched to ${r.label}`,description:d.movedChanges?"Local changes were moved here and left unstaged.":"The branch was switched successfully."});else if(d.status==="moved-with-conflicts"){const h={id:oa(u.id),title:`Switched to ${r.label} with conflicts`,description:`${d.files.length} ${d.files.length===1?"file needs":"files need"} resolution. The safety stash was kept.`,duration:12e3,button:{title:"View conflicts",onClick:()=>tn(d.files)}};M.error(h)}else M.error({title:"Could not restore every local change",description:d.recoveredChanges?"Some changes were recovered and the safety stash was kept.":"The safety stash was kept so the changes can be recovered.",duration:12e3})}catch(d){We("Could not move changes to the branch",d),await oe({background:!0})}finally{z(null)}}},fc=async r=>{if(!(!u||!r||r===u.path)){z("worktree");try{At(await N.refs.selectWorktree(u.id,r))}catch(d){We("Could not switch worktree",d)}finally{z(null)}}},dc=r=>{r&&g(d=>d&&{...d,recentRepositories:r}),oe({background:!0})},pc=async()=>{if(!(!u||!Xo)){z("history");try{await Yt.fetchNextPage()}catch(r){We("Could not load more history",r)}finally{z(null)}}},uc=async()=>{if(!u||!ne||Ie)return;const r=ne;Ct(!0);try{const d=await N.commits.undoLatest(u.id,r.oid);if(d.status==="success"){if(se(null),me(null),H("changes"),!L.trim())de(d.message);else{M.success({title:"Commit undone",description:"Its changes are staged again. Your draft was preserved.",button:{title:"Use previous message",onClick:()=>de(d.message)}}),await oe({background:!0}),window.setTimeout(()=>Qe.current?.focus(),0);return}M.success({title:"Commit undone",description:"Its changes are staged again."}),await oe({background:!0}),window.setTimeout(()=>Qe.current?.focus(),0);return}se(null);const h=gg(d);M.error({title:h.title,description:h.description,duration:1e4}),await oe({background:!0})}catch(d){M.error({title:"Could not undo commit",description:ge(d),duration:1e4})}finally{Ct(!1)}},tn=_.useCallback(r=>{H("changes");const d=r[0];d&&(me({type:"conflict",path:d}),c("viewer"))},[]),Ks=(T?.changes??[]).filter(r=>r.conflict).map(r=>r.path).sort().join("\0");_.useEffect(()=>{if(!u||!T)return;const r=Ks?Ks.split("\0"):[],d=Xt.current.get(u.id),h=tg(d,r);Xt.current.set(u.id,r);const m=oa(u.id);if(h==="dismiss"){M.dismiss(m);return}if(h!=="show")return;const b={id:m,title:r.length===1?"Conflict needs resolution":`${r.length} conflicts need resolution`,description:"Open the conflicts section to choose the version to keep.",duration:1e4,button:{title:"View conflicts",onClick:()=>tn(r)}};M.error(b)},[Ks,u,tn,T]);const hc=async(r,d)=>{if(!u||q)return!1;z("resolve-conflict");try{return await N.index.resolveConflict(u.id,r,d),M.success({title:"Conflict marked as resolved",description:r}),me({type:"diff",path:r,kind:"staged"}),await oe({background:!0}),!0}catch(h){const m=ge(h);return M.error({title:"Could not resolve conflict",description:m,duration:1e4}),!1}finally{z(null)}},gc=async(r,d)=>{if(!u)return!1;try{return await N.index.updateConflict(u.id,r,d),!0}catch(h){const m=ge(h);return M.error({title:"Could not apply selection",description:m,duration:1e4}),!1}},ci=async()=>{if(!u||q)return;const r=u.id,d=T?.behind??0;z("pull");try{await M.promise(async()=>{const h=await N.refs.pull(r);if(await oe({background:!0}),h.status==="success"||h.status==="up-to-date")return h;throw new cs(h)},{loading:ss(r,"pull",d>0?`Pulling ${d} ${d===1?"commit":"commits"}…`:"Pulling changes…"),success:h=>Yp(h),error:h=>{if(h instanceof cs){const b=h.result;return b.status==="blocked-conflicts"?{title:"Could not pull changes",description:`Resolve ${b.files.length===1?"the pending conflict":`${b.files.length} pending conflicts`} before updating.`,duration:1e4,button:{title:"View conflicts",onClick:()=>tn(b.files)}}:b.status==="stash-conflict"?{title:b.updated?"Update completed with local conflicts":"Could not restore local changes",description:"The safety stash was preserved. Resolve the conflicts to continue.",duration:12e3,button:{title:"View conflicts",onClick:()=>tn(b.files)}}:b.status==="restore-failed"?{title:"Could not automatically restore local changes",description:b.recoveredChanges?"Some changes are visible and the safety stash was preserved. Do not continue until you review them.":"The worktree is still clean and the safety stash remains intact.",duration:12e3}:b.status==="rebase-conflict"?{title:"Could not rebase onto the remote",description:b.files.length>0?`Your local commits overlap the remote changes in ${b.files.length===1?b.files[0]:`${b.files.length} files`}. The branch was left unchanged.`:"Your local commits overlap the remote changes. The branch was left unchanged.",duration:1e4}:b.status==="diverged"?{title:"Branch has diverged",description:`${b.ahead} ahead and ${b.behind} behind.`,duration:1e4}:b.status==="no-upstream"?{title:"Branch has no upstream configured",duration:1e4}:{title:"A Git operation is in progress",description:`Finish or cancel ${b.operation} before updating.`,duration:1e4}}return{title:"Could not pull changes",description:ge(h),duration:1e4}}})}catch{}finally{z(null)}},Qs=async()=>{!T||T.ahead===0&&!un(T)||q||T.readOnly||Te.current.has(u?.id??"")||await li()},li=async()=>{if(!u)return;const r=u.id;z("push");try{await M.promise(async()=>{const d=await t.push(r,u.path);if(await oe({background:!0}),!d||d.status==="success"||d.status==="up-to-date"||d.status==="published")return d;throw new ls(d)},{loading:ss(r,"push",T?.upstream?"Pushing commits…":"Publishing branch…"),success:d=>d?d.status==="published"?{title:"Branch published",description:`${d.remote}/${d.branch}`}:d.status==="success"?{title:`${d.commits} ${d.commits===1?"commit pushed":"commits pushed"}`}:{title:"No commits pending push"}:{title:"Publication canceled"},error:d=>{if(d instanceof ls){const m=d.result;return m.status==="blocked-conflicts"?{title:"Could not push commits",description:`Resolve ${m.files.length===1?"the pending conflict":`${m.files.length} pending conflicts`} before continuing.`,duration:1e4,button:{title:"View conflicts",onClick:()=>tn(m.files)}}:m.status==="blocked-operation"?{title:"A Git operation is in progress",description:`Finish or cancel ${m.operation} before pushing.`,duration:1e4}:m.status==="no-upstream"?{title:"Branch has no upstream configured",description:"Configure a remote branch before pushing.",duration:1e4}:m.status==="diverged"?{title:"The remote contains new changes",description:`${m.ahead} ahead and ${m.behind} behind. Pull rebases your local commits on top when there are no conflicts.`,duration:1e4,button:{title:"Pull",onClick:()=>{ci()}}}:m.status==="remote-required"?{title:"Choose a remote to publish the branch"}:{title:"Could not push commits",description:m.message,duration:1e4}}return{title:"Could not push commits",description:ge(d),duration:1e4}}})}catch{}finally{z(null)}},mc=async(r,d,h)=>{const m=r.recent.id;if(!Te.current.has(m)){Te.current.set(m,h),Y(new Map(Te.current));try{const b=d?`${d} · ${r.name}`:r.name;h==="pull"?await M.promise(async()=>{const C=await N.refs.pull(m);if(te.current?.id===m&&await oe({background:!0}),C.status==="success"||C.status==="up-to-date")return C;throw new cs(C)},{loading:ss(m,h,`Pulling ${b}…`),success:C=>Xp(b,C),error:C=>C instanceof cs?Zp(b,C.result):{title:`Could not pull ${b}`,description:ge(C),duration:1e4}}):await M.promise(async()=>{const C=await t.push(m,b);if(te.current?.id===m&&await oe({background:!0}),!C||C.status==="success"||C.status==="up-to-date"||C.status==="published")return C;throw new ls(C)},{loading:ss(m,h,`Pushing ${b}…`),success:C=>C?Jp(b,C):{title:`${b}: publication canceled`},error:C=>C instanceof ls?eu(b,C.result):{title:`Could not push ${b}`,description:ge(C),duration:1e4}})}catch{}finally{Te.current.delete(m),Y(new Map(Te.current))}}},_i=r=>{const d=f?.recentRepositories.filter(h=>ht(h.commonDir)===r.key).map(h=>h.id)??[];if(d.some(h=>Ai(le.current.get(h)??et).length>0))throw new Error("Save or close unsaved files in this repository and its worktrees first.");if(q||d.some(h=>Te.current.has(h)))throw new Error("Wait for the current repository operation to finish.");return d},yc=async r=>{const d=new Set(_i(r)),h=await N.repository.forget(r.key),m=new Map(le.current);for(const b of d)m.delete(b),De.current.delete(b),ve.current.delete(b),ye.delete(b);return le.current=m,$t(m),te.current&&d.has(te.current.id)&&x(null),g(b=>b&&{...b,...h,activeRepository:b.activeRepository&&d.has(b.activeRepository.id)?null:b.activeRepository,filesTreeStates:b.filesTreeStates.filter(C=>!d.has(C.repositoryId)),openFilesStates:b.openFilesStates.filter(C=>!d.has(C.repositoryId))}),h},vc=async(r,d)=>{_i(r),At(await N.repository.relocateRecent(r.recent.id,d),r.recent.id)},fi=o.jsx(Qh,{open:s,recent:f?.recentRepositories,onPick:window.opentigDesktop?N.repository.select:void 0,onOpenChange:i,onBrowse:N.repository.browseDirectories,onOpen:async r=>{At(await N.repository.openPath(r))}});if(!f)return o.jsx(zc,{heading:Rs,detail:eg(Ar)});if(!u)return o.jsxs(di,{children:[fi,o.jsx("div",{className:"fixed right-4 top-4 z-40",children:o.jsx(Ho,{})}),o.jsx(Xh,{recent:f.recentRepositories,onOpen:Yn,onRecent:r=>{ri(r)}})]});const kn=bt?Gh(bt):null,bc=T?.changes.filter(r=>r.conflict)??[],kc=T?.changes.filter(r=>r.staged&&!r.conflict)??[],wc=T?.changes.filter(r=>r.unstaged&&!r.conflict)??[];return o.jsx(F_,{shortcuts:en,children:o.jsxs(di,{children:[fi,lt&&o.jsx(_.Suspense,{fallback:null,children:o.jsx(cg,{open:lt,files:Un,includeIgnored:f.preferences.showDotEnvFiles,activePath:Z?.type==="file"?Z.path:null,onOpenChange:Tt,onOpenFile:Ot})}),o.jsx(Bt,{open:vn!==null,onOpenChange:r=>{r||Ke.current?.("cancel")},children:o.jsxs(Gt,{className:"undo-commit-dialog",children:[o.jsxs("div",{className:"undo-commit-content",children:[o.jsx(Ht,{children:"Save changes before closing?"}),o.jsx(Ut,{children:"This file has unsaved changes. Discarding them cannot be undone."}),vn&&o.jsx("div",{className:"undo-commit-summary",children:o.jsx("strong",{children:vn})})]}),o.jsxs("div",{className:"undo-commit-actions",children:[o.jsx(W,{variant:"ghost",onClick:()=>Ke.current?.("cancel"),children:"Cancel"}),o.jsx(W,{variant:"destructive",onClick:()=>Ke.current?.("discard"),children:"Discard"}),o.jsx(W,{onClick:()=>Ke.current?.("save"),children:"Save"})]})]})}),o.jsx(Bt,{open:bt!==null,onOpenChange:r=>{r||Ws(!1)},children:o.jsxs(Gt,{className:"undo-commit-dialog",children:[o.jsxs("div",{className:"undo-commit-content",children:[o.jsx(Ht,{children:kn?.title}),o.jsx(Ut,{children:kn?.message}),kn?.detail&&o.jsx("div",{className:"destructive-confirmation-detail",children:kn.detail})]}),o.jsxs("div",{className:"undo-commit-actions",children:[o.jsx(W,{variant:"ghost",onClick:()=>{Ws(!1)},children:"Cancel"}),o.jsxs(W,{variant:"destructive",onClick:()=>{Ws(!0)},children:[bt?.kind==="discard"?o.jsx(_o,{}):o.jsx(D_,{}),kn?.confirmLabel]})]})]})}),o.jsx(Bt,{open:kt!==null,onOpenChange:r=>{!r&&q!=="branch"&&Rt(null)},children:o.jsxs(Gt,{className:"undo-commit-dialog",children:[o.jsxs("div",{className:"undo-commit-content",children:[o.jsxs(Ht,{children:["Move local changes to ",kt?.label,"?"]}),o.jsx(Ut,{children:"OpenTig will save all tracked and untracked changes temporarily, switch branches, restore them, and leave them unstaged. If Git finds conflicts, the safety stash will be kept."}),kt&&kt.files.length>0&&o.jsx("div",{className:"destructive-confirmation-detail",children:kt.files.join(`
|
|
74
|
-
`)})]}),o.jsxs("div",{className:"undo-commit-actions",children:[o.jsx(W,{variant:"ghost",onClick:()=>Rt(null),disabled:q==="branch",children:"Cancel"}),o.jsxs(W,{onClick:()=>{_c()},disabled:q==="branch",children:[o.jsx(Po,{})," ",q==="branch"?"Moving changes…":`Move changes to ${kt?.label??"branch"}`]})]})]})}),o.jsx(Bt,{open:!!ne,onOpenChange:r=>{!r&&!Ie&&se(null)},children:o.jsxs(Gt,{className:"undo-commit-dialog",children:[o.jsxs("div",{className:"undo-commit-content",children:[o.jsx(Ht,{children:"Undo the last local commit?"}),o.jsx(Ut,{children:"The commit will disappear from local history. Its changes and any already staged changes will remain staged. No files will be deleted."}),ne&&o.jsxs("div",{className:"undo-commit-summary",children:[o.jsx("code",{children:ne.shortOid}),o.jsx("strong",{children:ne.subject||"(no subject)"})]})]}),o.jsxs("div",{className:"undo-commit-actions",children:[o.jsx(W,{variant:"ghost",onClick:()=>se(null),disabled:Ie,children:"Cancel"}),o.jsxs(W,{variant:"destructive",onClick:()=>{uc()},disabled:Ie,children:[o.jsx(_o,{})," ",Ie?"Undoing…":"Undo and stage changes"]})]})]})}),vt&&o.jsx(_.Suspense,{fallback:null,children:o.jsx(lg,{open:vt,onOpenChange:Ye,repositoryId:u.id,onOpenGitHubSettings:()=>{Ye(!1),mt("github"),Fe(!0)},branches:Bs,status:T,preferences:f.preferences,aiProviders:y?.aiProviders,pushBusy:q==="push",onPush:()=>{Qs()},onCreated:r=>{Ye(!1),ni(yt),r!==null&&Xe({type:"pull-request",number:r})}})}),t.remoteChoice&&o.jsx(jh,{choice:t.remoteChoice,onSelect:t.selectRemote},t.remoteChoice.id),o.jsxs("div",{className:"app-shell","data-mobile-pane":a,children:[o.jsx(hh,{mobileBackLabel:a!=="list"?`Back to ${E==="prs"?"PRs":E}`:void 0,onMobileBack:()=>c("list"),repository:u,recent:f.recentRepositories,repositoryProjects:f.repositoryProjects,status:T,githubInfo:Mt,branchPullRequest:Ir,branches:Bs,worktrees:Mr,preferences:f.preferences,busy:q,repositorySyncOperations:ce,onOpen:Yn,onRecent:ri,onBranch:lc,onWorktree:fc,onRefresh:()=>{oe({manual:!0})},onPull:()=>{ci()},onPush:()=>{Qs()},onRepositorySync:mc,onPreference:Us,onForgetRepository:yc,onRelocateRepository:vc,onOrganizationChange:r=>g(d=>d&&{...d,...r}),onRefsManaged:dc,openFiles:st.get(u.id)??et,onOpenFileTab:Vr,onPinFileTab:r=>Ot(r,"pinned"),onCloseFileTab:r=>{Vs(r)},onReorderFileTab:Wr,settingsOpen:nt,settingsSection:Kt,onSettingsOpen:Fe,onSettingsSection:mt}),T?.readOnly&&o.jsxs("div",{className:"operation-banner",children:["Repository is read-only: ",T.operation," is in progress."]}),n&&a==="list"&&E!=="files"&&o.jsxs("div",{className:"mobile-workspace-actions mobile-view-heading",children:[o.jsxs("h2",{children:[E==="changes"?"Changes":E==="history"?"History":E==="prs"?"Pull requests":"Search",E==="changes"&&o.jsx("small",{children:T?.changes.length??0})]}),E==="changes"&&!!(T?.stagedCount||_e)&&o.jsxs("button",{className:"mobile-commit-trigger",onClick:()=>c("commit"),children:[o.jsx(co,{})," Commit",T?.stagedCount?` (${T.stagedCount})`:""]})]}),o.jsxs("main",{className:"workspace",children:[o.jsxs("aside",{className:"sidebar",style:{width:f.preferences.sidebarWidth},children:[o.jsx("nav",{className:"sidebar-tabs","data-shortcuts":qn?"visible":void 0,"aria-label":"Repository views",children:io.map((r,d)=>o.jsxs("button",{className:E===r?"active":"","aria-current":E===r?"page":void 0,"aria-keyshortcuts":`Control+${d+1}`,onClick:()=>H(r),children:[r==="changes"?o.jsx(lo,{}):r==="files"?o.jsx(ro,{}):r==="history"?o.jsx(mi,{}):r==="prs"?o.jsx(ps,{}):o.jsx(Nn,{}),o.jsx("span",{className:"sidebar-tab-label",children:r==="changes"?"Changes":r==="files"?"Files":r==="history"?"History":r==="prs"?"PRs":"Search"}),r==="changes"&&T&&T.changes.length>0&&o.jsx("span",{className:"sidebar-tab-count",children:T.changes.length}),r==="prs"&&Gn!==null&&Gn.length>0&&o.jsx("span",{className:"sidebar-tab-count",children:Gn.length}),qn&&o.jsx("span",{className:"sidebar-tab-shortcut","aria-hidden":"true",children:d+1})]},r))}),o.jsx("div",{className:"sidebar-body",children:o.jsxs("div",{className:"view-fade",children:[E==="changes"&&o.jsx(Ih,{conflicts:bc,staged:kc,changed:wc,displayMode:f.preferences.changesLayout,readOnly:!!T?.readOnly,onSelect:(r,d)=>{Xe({type:"diff",path:r,kind:d})},onConflict:r=>{Xe({type:"conflict",path:r})},onOpenFile:Ot,onDiscard:r=>{Ur(r)},onStage:r=>{si("stage",r)},onUnstage:r=>{si("unstage",r)},onStageAll:()=>{ai("stage")},onUnstageAll:()=>{ai("unstage")}}),E==="files"&&o.jsx(_.Suspense,{fallback:rs,children:o.jsx(og,{active:E==="files",initialExpandedPaths:ye.get(u.id)??[],files:Un,filesSnapshotRevision:R,showDotEnvFiles:f.preferences.showDotEnvFiles,activePath:Z?.type==="file"?Z.path:null,readOnly:!!(T?.readOnly||q),fileClipboardAvailable:y?.fileClipboard===!0,revealAvailable:y?.revealInFileManager===!0,onQuickOpen:()=>Tt(!0),historyState:F,onUndo:()=>Lt("undo"),onRedo:()=>Lt("redo"),onOpenFile:Ot,onLoadDirectory:Gr,onPersistExpandedPaths:Hr,onCopyPath:Kr,onCopyEntries:Xr,onCutEntries:Yr,onCopyContents:Qr,onPaste:Zr,onMoveEntries:Jr,onDeleteEntries:ec,onReveal:tc,onRename:nc,onCreate:sc},u.id)}),E==="history"&&o.jsx(_.Suspense,{fallback:rs,children:o.jsx(ig,{repositoryId:u.id,baseRef:Yt.data?.pages[0]?.baseRef,activeOid:Z?.type==="commit"||Z?.type==="commit-file"?Z.oid:null,onSelectReference:Mt?.isGitHub?r=>{Xe({type:"pull-request",number:r})}:void 0,upstream:T?.upstream??null,canPublish:un(T),pushBusy:!!q||ce.has(u.id),onPublish:()=>{Qs()},readOnly:!!T?.readOnly,operation:T?.operation??null,commits:Qo,nextCursor:Xo,loading:q==="history",onSelectCommit:r=>{Xe({type:"commit",oid:r.oid,subject:r.subject})},onSelectFile:(r,d)=>{Xe({type:"commit-file",oid:r,path:d.path,oldPath:d.oldPath??void 0})},onUndo:se,undoing:Ie,onMore:()=>{pc()}},u.id)}),E==="search"&&o.jsx(_.Suspense,{fallback:rs,children:o.jsx(ag,{repositoryId:u.id,active:E==="search",revision:Ue,onOpenFile:Ot,unsavedPathsAmong:Qn,onReplaced:()=>{oe({background:!0})}})}),E==="prs"&&o.jsx(_.Suspense,{fallback:rs,children:o.jsx(rg,{repositoryId:u.id,info:Mt,ghStatus:Fs,account:Dr,onOpenGitHubSettings:()=>{mt("github"),Fe(!0)},pulls:Gn,loading:Tr,error:$r,states:yt,activeNumber:Z?.type==="pull-request"?Z.number:null,createDisabledReason:T?T.detached||T.unborn||!T.branch?"Check out a branch first":null:"Loading repository status…",onRefresh:()=>{ni(yt,!0)},onStateChange:(r,d)=>{const m=["OPEN","CLOSED","MERGED"].filter(b=>b===r?d:yt.includes(b));qs(m)},onSelect:r=>{Xe({type:"pull-request",number:r})},onCreate:()=>Ye(!0),onCopyCommand:r=>{Ys(r).then(()=>M.success({title:"Command copied",description:r})).catch(()=>M.error({title:"Could not copy the command"}))}})})]})})]}),o.jsx("section",{className:"viewer-pane",children:o.jsx(Ch,{resetKey:Z,fallback:r=>o.jsxs("div",{className:"viewer-message flex-col gap-2 text-center text-destructive",children:[o.jsx("p",{children:"Could not display this content."}),o.jsx("small",{className:"text-muted-foreground",children:r.message})]}),children:o.jsx(_.Suspense,{fallback:o.jsxs("div",{className:"viewer-message",children:[o.jsx(cn,{className:"spinner"})," ",o.jsx(Uo,{text:"Preparing viewer…"})]}),children:o.jsx(sg,{repositoryId:u.id,selection:Z,diffView:Or,wrapLines:Lr,theme:bn,revision:Le,readOnly:!!T?.readOnly,commits:Qo??[],draftFor:r=>Gs(u.id,r),onSelect:Xe,onOpenFile:Ot,onDiffViewChange:r=>{n?p(r):Us({diffView:r})},onWrapLinesChange:r=>{Us({wrapLines:r})},onDraftChange:Br,onDraftSaved:r=>{Je(u.id,r),ft(u.id,d=>ns(d,r,!1))},onUpdateConflict:gc,onResolveConflict:hc})})})})]}),o.jsx(Vh,{open:n?a==="commit":E==="changes"&&!!(T?.stagedCount||_e),stagedCount:T?.stagedCount??0,message:L,generating:!!Pt,harness:f.preferences.commitMessageHarness,harnessLabel:jo(f.preferences.commitMessageHarness),modelLabel:ng(y?.aiProviders,f.preferences.commitMessageHarness,f.preferences.commitMessageModels[f.preferences.commitMessageHarness]??"default"),busy:q,readOnly:!!T?.readOnly,canPush:!!(T?.branch&&!T.detached&&!T.readOnly),proposal:_e,preparedIndex:je,completed:S,collapsed:Q,textareaRef:Qe,onMessage:de,onGenerate:()=>{rc()},onCancelGenerate:()=>{ac()},onDismissProposal:()=>{ue(null),ae(null),G(new Set)},onToggleCollapsed:()=>J(r=>!r),onOpenPath:r=>{Xe({type:"diff",path:r,kind:"staged"})},onPrepare:r=>{cc(r)},onCommit:r=>{oc(r)}}),o.jsx("nav",{className:"mobile-navigation","aria-label":"Repository views",children:io.map(r=>o.jsxs("button",{"aria-current":E===r?"page":void 0,onClick:()=>{H(r),c("list")},children:[r==="changes"?o.jsx(lo,{}):r==="files"?o.jsx(ro,{}):r==="history"?o.jsx(mi,{}):r==="prs"?o.jsx(ps,{}):o.jsx(Nn,{}),o.jsx("span",{children:r==="changes"?"Changes":r==="files"?"Files":r==="history"?"History":r==="prs"?"PRs":"Search"}),r==="changes"&&!!T?.changes.length&&o.jsx("i",{className:"mobile-nav-indicator","aria-label":`${T.changes.length} changes`})]},r))})]})]})})}function dg(e){const t=new Set,n=[],s=i=>{for(const a of i)t.add(a.path),a.type==="directory"&&(a.ignored===!0&&a.children.length===0?n.push(a.path):s(a.children))};return s(e),{paths:t,deferred:n}}function pg(e,t){return e.paths.has(t)?"present":e.deferred.some(n=>zn(n,t))?"deferred":"missing"}function ug(e,t){return ut(e,t.closeTab)?"close":ut(e,t.nextTab)?"next":ut(e,t.prevTab)?"previous":ut(e,t.moveTabLeft)?"move-left":ut(e,t.moveTabRight)?"move-right":null}function ia(e,t,n){const s=new Set(t),i=e.changes.map(a=>s.has(a.path)?n==="stage"?{...a,staged:!0,unstaged:!1,indexStatus:a.worktreeStatus==="?"?"A":a.worktreeStatus,worktreeStatus:"."}:{...a,staged:!1,unstaged:!0,indexStatus:".",worktreeStatus:a.indexStatus}:a);return{...e,changes:i,stagedCount:i.filter(a=>a.staged&&!a.conflict).length,unstagedCount:i.filter(a=>a.unstaged&&!a.conflict).length}}function hg(e){if(e===null)return!0;if(!e||typeof e!="object")return!1;const t=e;return t.type==="file"||t.type==="conflict"?typeof t.path=="string":t.type==="diff"?typeof t.path=="string"&&(t.kind==="staged"||t.kind==="unstaged"):t.type==="commit"?typeof t.oid=="string"&&typeof t.subject=="string":t.type==="commit-file"?typeof t.oid=="string"&&typeof t.path=="string"&&(t.oldPath===void 0||typeof t.oldPath=="string"):t.type==="pull-request"&&typeof t.number=="number"}function ge(e){return e instanceof Error?e.message:"An unexpected error occurred."}function ao(e){return e.length>0?`${e[0].toLocaleLowerCase()}${e.slice(1)}`:e}function We(e,t){M.error({title:e,description:ge(t),duration:1e4}),!Pr(t)&&N.diagnostics.record({operation:e,message:ge(t)}).catch(()=>{})}function gg(e){return e.status==="stale-head"?{title:"History changed",description:"The view was refreshed without undoing any commit."}:e.status==="no-upstream"?{title:"Branch has no upstream",description:"Cannot confirm that the commit is still local only."}:e.status==="not-local"?{title:"Commit is no longer local only",description:"History was not modified."}:e.status==="unsupported-merge"?{title:"Cannot undo this merge",description:"Merge commits require choosing a parent and are protected in this version."}:e.status==="unsupported-root"?{title:"Cannot undo the first commit",description:"The initial commit is protected in this version."}:{title:"A Git operation is in progress",description:`Finish or cancel ${e.operation} before undoing the commit.`}}function mg(e){if(!(e instanceof Error)||!("detail"in e)||!e.detail||typeof e.detail!="object")return null;const t=e.detail;return typeof t.code=="string"&&t.code.startsWith("AI_")&&typeof t.message=="string"?t:null}function yg(e){return e?e.code==="AI_CLI_NOT_FOUND"?`${e.harness?jo(e.harness):"The harness"} is not installed`:e.code==="AI_AUTH_REQUIRED"?"Sign in to generate the message":e.code==="AI_MODEL_UNAVAILABLE"?"The model is unavailable":e.code==="AI_RATE_LIMITED"?"Usage limit reached":e.code==="AI_TIMEOUT"?"Generation took too long":e.code==="AI_STAGED_CHANGES_CHANGED"?"Staged changes have changed":e.code==="AI_INVALID_OUTPUT"?"The response was invalid":"Could not generate the message":"Could not generate the message"}const am=Object.freeze(Object.defineProperty({__proto__:null,default:fg},Symbol.toStringTag,{value:"Module"}));export{_o as $,ps as A,Kg as B,la as C,Bt as D,Ss as E,Bl as F,$_ as G,ds as H,dn as I,x_ as J,Uh as K,Xg as L,Vg as M,Yg as N,Qh as O,Yi as P,Zg as Q,Cr as R,po as S,Hh as T,co as U,Ls as V,Nn as W,ra as X,om as Y,im as Z,_s as _,Gt as a,Cg as a$,Th as a0,wr as a1,lf as a2,df as a3,Ag as a4,Og as a5,Hg as a6,Ug as a7,Gg as a8,gi as a9,Ng as aA,zg as aB,Dg as aC,uo as aD,Ed as aE,Kd as aF,Eg as aG,Ig as aH,$f as aI,Md as aJ,pf as aK,Mg as aL,Dd as aM,Po as aN,ro as aO,Zl as aP,jo as aQ,Hl as aR,sm as aS,nm as aT,tm as aU,ga as aV,pa as aW,Pg as aX,Rg as aY,fo as aZ,Sg as a_,Op as aa,so as ab,qg as ac,Fg as ad,Lg as ae,Bg as af,Lp as ag,q_ as ah,br as ai,ut as aj,Al as ak,Bu as al,Jg as am,zn as an,$g as ao,Xi as ap,El as aq,ch as ar,ka as as,Vl as at,Ef as au,Rf as av,Oa as aw,lp as ax,_f as ay,rf as az,Ht as b,ha as b0,L_ as b1,em as b2,So as b3,Qg as b4,mi as b5,am as b6,Ut as c,Wu as d,pn as e,Cl as f,cn as g,Pn as h,k_ as i,D_ as j,mh as k,yh as l,vh as m,bh as n,kh as o,Co as p,Uo as q,Tg as r,Wg as s,Nh as t,ff as u,zh as v,tu as w,ca as x,Ns as y,_a as z};
|