import{n as e}from"./rolldown-runtime-Czos8NxU.js";import{Tl as t,vl as n}from"./app-initial~app-main~worktree-init-v2-page~appgen-settings-page~page~appgen-publication-ter~fzo5ij6p-BKVLyD1q.js";import{nx as r,rx as i}from"./app-initial~app-main~new-thread-panel-page-BZHGOlMi.js";import{gn as a,mn as o}from"./app-initial~app-main~worktree-init-v2-page~remote-conversation-page~pull-requests-page~new-~mam8fk3d-QYu6Tutl.js";function s(e){let t=(0,c.c)(15),{getImagePreviewSrc:n,iconClassName:i,imageClassName:a,path:s}=e,u;t[0]!==n||t[1]!==s?(u=n?.(s)??null,t[0]=n,t[1]=s,t[2]=u):u=t[2];let d=u;if(d!=null){let e;t[3]===a?e=t[4]:(e=r(`shrink-0 object-cover`,a),t[3]=a,t[4]=e);let n;return t[5]!==d||t[6]!==e?(n=(0,l.jsx)(`img`,{alt:``,className:e,src:d}),t[5]=d,t[6]=e,t[7]=n):n=t[7],n}let f;t[8]===s?f=t[9]:(f=o(s),t[8]=s,t[9]=f);let p=f,m;t[10]===i?m=t[11]:(m=r(`shrink-0`,i),t[10]=i,t[11]=m);let h;return t[12]!==p||t[13]!==m?(h=(0,l.jsx)(p,{className:m}),t[12]=p,t[13]=m,t[14]=h):h=t[14],h}var c,l,u=e((()=>{c=t(),i(),a(),l=n()}));export{u as n,s as t};
//# sourceMappingURL=artifact-file-preview-icon-DLUI_HsA.js.map