'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("@gem-sdk/core"),r=require("../../text/components/Text.js");const s=e=>e?`<p>${e}</p>`:e;exports.default=({setting:i,builderProps:d,styles:u})=>{let o=t.useProduct(),c=o?.baseID?.replace("gid://shopify/Product/","");return e.jsx("div",{id:`shopify-text-element-${d?.uid}`,"data-product-id":c,children:e.jsx(r.default,{styles:u,setting:{...i,text:s(o?.title)}})})};
