'use client';
import{jsx as e}from"react/jsx-runtime";import t from"../../text/components/Text.js";import{useArticleStore as r}from"@gem-sdk/core";import{useMemo as i}from"react";let ArticleAuthor=({setting:o,builderProps:l,styles:a,advanced:c})=>{let{prefix:d}=o??{},n=r(e=>e.article),m=i(()=>`${d??""} ${n?.author||"Unknown"}`,[n?.author,d]);return e("div",{id:`shopify-text-element-${l?.uid}`,"data-article-id":n?.baseID?.replace("gid://shopify/OnlineStoreArticle/",""),children:e(t,{builderProps:l,styles:a,advanced:c,setting:{...o,text:m,excludeFlex:!0}})})};export{ArticleAuthor as default};
