'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("@gem-sdk/core");exports.default=({children:t,...l})=>{let u=r.useProduct();return e.jsx("a",{title:u?.title,href:u?`/products/${u.handle}`:"#",...l,children:r.isEmptyChildren(t)?u?u.title:null:t})};
