{"version":3,"file":"Share_article.BWAjUpMb.mjs","names":["n","r","t","o"],"sources":["https:/framerusercontent.com/modules/n8ywTwJ6Pgd5dlDimlWl/oGkXdTuNQUuOi6ZiXD1p/Share_article.js"],"sourcesContent":["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers\nimport{jsx as e}from\"react/jsx-runtime\";import{useEffect as t,useState as r}from\"react\";import{addPropertyControls as i,ControlType as o}from\"framer\";export default function n(i){let[o,n]=r(!1),{tint:a}=i,s=\"\";switch(t(()=>{n(window.location.href);},[]),i.provider){case\"LinkedIn\":s=\"https://www.linkedin.com/shareArticle?mini=true&url=\"+o;break;case\"Facebook\":s=\"https://www.facebook.com/sharer/sharer.php?u=\"+o;break;case\"Twitter\":s=\"https://twitter.com/intent/tweet?text=\"+o;}return o?/*#__PURE__*/e(\"a\",{href:s,target:\"_blank\",style:d,children:i.children}):/*#__PURE__*/e(\"div\",{style:d});}i(n,{children:{type:o.ComponentInstance},provider:{type:o.Enum,defaultValue:\"LinkedIn\",displaySegmentedControl:!0,segmentedControlDirection:\"vertical\",options:[\"LinkedIn\",\"Twitter\",\"Facebook\"],optionTitles:[\"LinkedIn\",\"Twitter\",\"Facebook\"]}});// Styles are written in object syntax\n// https://react.dev/reference/react-dom/components/common#usage\nlet a={margin:25,width:125,height:125,borderRadius:25},d={width:45,height:45,backgroundColor:\"rgba(0, 0, 0, 0.05)\",border:\"1px solid rgba(0, 0, 0, 0.05\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",borderRadius:999};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Share_article\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Share_article.map"],"mappings":"0LAEsJ,SAAwB,EAAE,EAAE,CAAC,GAAG,CAAC,EAAEA,GAAGC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,GAAG,EAAE,EAAE,GAAG,OAAOC,MAAM,CAAC,EAAE,EAAO,SAAS,KAAK,EAAG,EAAE,CAAC,CAAC,EAAE,SAA9C,CAAwD,IAAI,WAAW,EAAE,uDAAuD,EAAE,MAAM,IAAI,WAAW,EAAE,gDAAgD,EAAE,MAAM,IAAI,UAAU,EAAE,yCAAyC,EAAG,OAAO,EAAe,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,SAAS,MAAM,EAAE,SAAS,EAAE,SAAS,CAAC,CAAc,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,wBAAxiB,IAAgD,IAA8D,CAA4b,EAAE,EAAE,CAAC,SAAS,CAAC,KAAKC,EAAE,kBAAkB,CAAC,SAAS,CAAC,KAAKA,EAAE,KAAK,aAAa,WAAW,wBAAwB,CAAC,EAAE,0BAA0B,WAAW,QAAQ,CAAC,WAAW,UAAU,WAAW,CAAC,aAAa,CAAC,WAAW,UAAU,WAAW,CAAC,CAAC,CAAC,CAE7wB,EAAE,CAAC,MAAM,GAAG,OAAO,GAAG,gBAAgB,sBAAsB,OAAO,+BAA+B,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,aAAa,IAAI"}