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