import{n as e}from"./rolldown-runtime-Czos8NxU.js";import{vl as t}from"./app-initial~app-main~worktree-init-v2-page~appgen-settings-page~page~appgen-publication-ter~fzo5ij6p-BKVLyD1q.js";import{Sx as n,yx as r}from"./app-initial~app-main~new-thread-panel-page-BZHGOlMi.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)(n,{id:`artifactTab.previewLoading`,defaultMessage:`Preparing preview…`,description:`Loading state shown while the artifact preview is loading`})}):(0,a.jsx)(n,{id:`artifactTab.previewError`,defaultMessage:`Couldn’t load this preview`,description:`Error state shown when an artifact preview fails to load`})})}var a,o=e((()=>{r(),a=t()}));export{i as n,o as t};
//# sourceMappingURL=artifact-preview-status-0ft1xXrJ.js.map