import{j as e,br as k,dM as u,dJ as N,dL as w}from"./react-vendor-xYZnmIII.js";import{c as s,B as r}from"./ui-components-CQM92IK3.js";import"./inertia-vendor-cBbDTmhJ.js";import"./ui-vendor-Ds9iwIxa.js";import"./interactive-vendor-B1OgcAgP.js";const z=({instructor:i,className:f,buttonClass:a,buttonVariant:l="secondary"})=>{const n=(j,c)=>{const t=typeof c.user.social_links=="string"?JSON.parse(c.user.social_links):c.user.social_links,x=t==null?void 0:t.find(p=>p.host===j);return x?x.profile_link:null},d=n("website",i),o=n("github",i),h=n("twitter",i),m=n("linkedin",i);return e.jsxs("div",{className:s("flex items-center justify-center space-x-1.5 py-4",f),children:[d&&e.jsx("a",{href:d,target:"_blank",children:e.jsx(r,{size:"icon",variant:l,className:s("rounded-full p-0",a),children:e.jsx(k,{className:"h-5 w-5"})})}),o&&e.jsx("a",{href:o,target:"_blank",children:e.jsx(r,{size:"icon",variant:l,className:s("rounded-full p-0",a),children:e.jsx(u,{className:"h-5 w-5"})})}),h&&e.jsx("a",{href:h,target:"_blank",children:e.jsx(r,{size:"icon",variant:l,className:s("rounded-full p-0",a),children:e.jsx(N,{className:"h-5 w-5"})})}),m&&e.jsx("a",{href:m,target:"_blank",children:e.jsx(r,{size:"icon",variant:l,className:s("rounded-full p-0",a),children:e.jsx(w,{className:"h-5 w-5"})})})]})};export{z as default};
