{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/R1rczpt3oPSdoUQ8emud/IA9w52ly6tGctgm6V8hP/SocialMediaShare.js", "ssg:https://framerusercontent.com/modules/DwL8hCl1ygZ1rcpr2HZX/o0ZQEkSf9kkJ4gK68ZBQ/PhMIq4ozm.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useState}from\"react\";// \uD83D\uDD01 Shared content extraction helper\nfunction getShareTextFromBlogHero(){const title=document.querySelector(\"#article-header\")?.textContent||\"\";const description=document.querySelector(\"#article-lead\")?.textContent||\"\";return`${title} \u2014 ${description}`.trim();}// \uD83D\uDC26 X.com (Twitter) Share\nexport function withXcom(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{...rest}=props;const handleClick=()=>{if(typeof window!==\"undefined\"){const shareURL=window.location.href;const tweetText=getShareTextFromBlogHero()||\"Check this out!\";const url=`https://x.com/intent/tweet?text=${encodeURIComponent(tweetText)}&url=${encodeURIComponent(shareURL)}`;window.open(url,\"_blank\");}};return /*#__PURE__*/_jsx(Component,{ref:ref,...rest,onClick:handleClick});});}// \uD83D\uDCBC LinkedIn Share\nexport function withLinkedIn(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{...rest}=props;const handleClick=()=>{if(typeof window!==\"undefined\"){const shareURL=window.location.href;const url=`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(shareURL)}`;window.open(url,\"_blank\");}};return /*#__PURE__*/_jsx(Component,{ref:ref,...rest,onClick:handleClick});});}// \uD83D\uDCE2 Telegram Share\nexport function withTelegram(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{...rest}=props;const handleClick=()=>{if(typeof window!==\"undefined\"){const shareURL=window.location.href;const message=getShareTextFromBlogHero()||\"Check this out!\";const url=`https://t.me/share/url?url=${encodeURIComponent(shareURL)}&text=${encodeURIComponent(message)}`;window.open(url,\"_blank\");}};return /*#__PURE__*/_jsx(Component,{ref:ref,...rest,onClick:handleClick});});}export function withCopyLink(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[success,setSuccess]=useState(false);const{...rest}=props;const handleClick=()=>{if(typeof window!==\"undefined\"){const shareURL=window.location.href;// copy to clipboard code\nif(shareURL.length===0)throw new Error(\"codeInput not provided\");navigator.clipboard.writeText(shareURL);setSuccess(true);setTimeout(()=>{setSuccess(false);},1500);}};return /*#__PURE__*/_jsx(Component,{ref:ref,...rest,onClick:handleClick,children:props.children});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withXcom\":{\"type\":\"reactHoc\",\"name\":\"withXcom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTelegram\":{\"type\":\"reactHoc\",\"name\":\"withTelegram\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyLink\":{\"type\":\"reactHoc\",\"name\":\"withCopyLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLinkedIn\":{\"type\":\"reactHoc\",\"name\":\"withLinkedIn\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SocialMediaShare.map", "// Generated by Framer (2f96024)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Manrope-regular\",\"FS;Manrope-variable\"]);const variationAxes=[{defaultValue:200,maxValue:800,minValue:200,name:\"Weight\",tag:\"wght\"}];export const fonts=[{explicitInter:true,fonts:[{family:\"Manrope\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/2TYFCBHUANEXS6QGR5EQDUNAFH6LSWM3/AYNOU3VEA4LRTDNKJQUFNVNUTYSGOUOP/UXO4O7K2G3HI3D2VKD7UXVJVJD26P4BQ.woff2\",weight:\"400\"},{family:\"Manrope\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/6KNUAYMK3PTPQA22366IWF5JUVT35NZ3/E4CLT6PE4W64IV56BHAWFRZFLHPZIXFF/DEPNXL2T77QGX4DXZAN3G53TXHO2JEFP.woff2\",variationAxes,weight:\"400\"}]}];export const css=[\".framer-gOTvl .framer-styles-preset-1hyz5t5:not(.rich-text-wrapper), .framer-gOTvl .framer-styles-preset-1hyz5t5.rich-text-wrapper p { --framer-font-family: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Manrope Variable\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-open-type-features: 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 1.1); --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 400; --framer-letter-spacing: -0.003em; --framer-line-height: 1.7em; --framer-paragraph-spacing: 24px; --framer-text-alignment: start; --framer-text-color: var(--token-9d3f6e76-bf09-4a6e-9be8-13f63dd8a565, #1f1f1f); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }\"];export const className=\"framer-gOTvl\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "mIACA,SAASA,GAA0B,CAAC,IAAMC,EAAM,SAAS,cAAc,iBAAiB,GAAG,aAAa,GAASC,EAAY,SAAS,cAAc,eAAe,GAAG,aAAa,GAAG,MAAM,GAAGD,CAAK,WAAMC,CAAW,GAAG,KAAK,CAAE,CACxN,SAASC,EAASC,EAAU,CAAC,OAAoBC,EAAW,CAACC,EAAMC,IAAM,CAAC,GAAK,CAAC,GAAGC,CAAI,EAAEF,EAA6S,OAAoBG,EAAKL,EAAU,CAAC,IAAIG,EAAI,GAAGC,EAAK,QAAzU,IAAI,CAAC,GAAG,OAAOE,EAAS,IAAY,CAAC,IAAMC,EAASD,EAAO,SAAS,KAAWE,EAAUZ,EAAyB,GAAG,kBAAwBa,EAAI,mCAAmC,mBAAmBD,CAAS,CAAC,QAAQ,mBAAmBD,CAAQ,CAAC,GAAGD,EAAO,KAAKG,EAAI,QAAQ,CAAE,CAAC,CAAyE,CAAC,CAAE,CAAC,CAAE,CAEnd,SAASC,EAAaC,EAAU,CAAC,OAAoBC,EAAW,CAACC,EAAMC,IAAM,CAAC,GAAK,CAAC,GAAGC,CAAI,EAAEF,EAAqS,OAAoBG,EAAKL,EAAU,CAAC,IAAIG,EAAI,GAAGC,EAAK,QAAjU,IAAI,CAAC,GAAG,OAAOE,EAAS,IAAY,CAAC,IAAMC,EAASD,EAAO,SAAS,KAAWE,EAAQC,EAAyB,GAAG,kBAAwBC,EAAI,8BAA8B,mBAAmBH,CAAQ,CAAC,SAAS,mBAAmBC,CAAO,CAAC,GAAGF,EAAO,KAAKI,EAAI,QAAQ,CAAE,CAAC,CAAyE,CAAC,CAAE,CAAC,CAAE,CCHxbC,EAAU,UAAU,CAAC,qBAAqB,qBAAqB,CAAC,EAAE,IAAMC,EAAc,CAAC,CAAC,aAAa,IAAI,SAAS,IAAI,SAAS,IAAI,KAAK,SAAS,IAAI,MAAM,CAAC,EAAeC,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,OAAO,UAAU,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,KAAK,EAAE,CAAC,OAAO,UAAU,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,cAAAD,EAAc,OAAO,KAAK,CAAC,CAAC,CAAC,EAAeE,EAAI,CAAC,86BAAs7B,EAAeC,EAAU",
  "names": ["getShareTextFromBlogHero", "title", "description", "withXcom", "Component", "Y", "props", "ref", "rest", "p", "window", "shareURL", "tweetText", "url", "withTelegram", "Component", "Y", "props", "ref", "rest", "p", "window", "shareURL", "message", "getShareTextFromBlogHero", "url", "fontStore", "variationAxes", "fonts", "css", "className"]
}
