'use client';
import{jsx as e}from"react/jsx-runtime";import{useArticleStore as t,cls as r}from"@gem-sdk/core";import a from"../../image/components/Image.js";import{useMemo as i}from"react";let m=({className:m,setting:o={},styles:s={},advanced:l,builderProps:d})=>{let c=t(e=>e.article),n=i(()=>{let{src:e,alt:t}=c?.media??{};return{src:e,alt:t}},[c]);return e("div",{className:r("gp-text-center",m),style:{borderRadius:"inherit"},children:e(a,{builderProps:d,setting:{...o,image:n,disableNoDataState:!0},styles:s,advanced:l})})};export{m as default};
