import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{Dvt as t,Rft as n,Vft as r}from"./app-initial-BHB6SClA.js";function i(e){return e===`ready`?null:(0,a.jsx)(`div`,{className:`flex h-full items-center justify-center px-6 text-center text-sm text-token-text-tertiary`,children:e===`loading`?(0,a.jsx)(`span`,{className:`loading-shimmer-pure-text font-medium`,children:(0,a.jsx)(r,{id:`artifactTab.previewLoading`,defaultMessage:`Preparing preview…`,description:`Loading state shown while the artifact preview is loading`})}):(0,a.jsx)(r,{id:`artifactTab.previewError`,defaultMessage:`Couldn’t load this preview`,description:`Error state shown when an artifact preview fails to load`})})}var a,o=e((()=>{n(),a=t()}));export{i as n,o as t};
//# sourceMappingURL=artifact-preview-status-0ScAQLgS.js.map