import{iv as a,fH as e,ck as r,ah as o,bp as i,aD as s,aQ as d}from"./strapi-ye6TfKul.js";const g=({children:n})=>{const{formatMessage:t}=a();return e.jsx(r,{height:"100%",justifyContent:"center",alignItems:"center",children:e.jsx(o,{children:n??t({id:"HomePage.widget.loading",defaultMessage:"Loading widget content"})})})},l=({children:n})=>{const{formatMessage:t}=a();return e.jsxs(r,{height:"100%",direction:"column",justifyContent:"center",alignItems:"center",gap:2,children:[e.jsx(i,{width:"3.2rem",height:"3.2rem",fill:"danger600"}),e.jsx(s,{variant:"delta",children:t({id:"global.error",defaultMessage:"Something went wrong"})}),e.jsx(s,{textColor:"neutral600",children:n??t({id:"HomePage.widget.error",defaultMessage:"Couldn't load widget content."})})]})},c=({children:n})=>{const{formatMessage:t}=a();return e.jsxs(r,{height:"100%",direction:"column",justifyContent:"center",alignItems:"center",gap:6,children:[e.jsx(d,{width:"16rem",height:"8.8rem"}),e.jsx(s,{textColor:"neutral600",children:n??t({id:"HomePage.widget.no-data",defaultMessage:"No content found."})})]})},m={Loading:g,Error:l,NoData:c};export{m as W};
