'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),t=require("./CustomLink.js"),l=require("./ProductLink.js");exports.default=({setting:a,className:u,style:o,children:i,title:s,dataId:d})=>{let c=r.useMemo(()=>a?.type==="product"?l.default:t.default,[a?.type]),f={};return c==t.default&&(f.title=s),e.jsx(c,{...f,"data-id":d,target:a?.target,rel:a?.noFollow?"nofollow":void 0,"aria-label":a?.label,href:a?.href,className:u,style:o,children:i})};
