{"version":3,"file":"utils.-msMMQTv.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/nUM3SJ7CSbl4kevePm6x/kMPs3RhV8CbxAqGQIHjD/utils.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useEffect,useState}from\"react\";export function withHorizontalWheelScroll(Component){return /*#__PURE__*/forwardRef((props,ref)=>{function onWheel(e){if(e.deltaY!==0){e.preventDefault();// horizontal scroll on vertical wheel\ne.currentTarget.scrollLeft+=e.deltaY;}}return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props,overflowX:\"auto\",overflowY:\"visible\",scrollbarWidth:\"none\",msOverflowStyle:\"none\"}});});}export function copyEmailContent(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const emailContent=`\nSubject: Request: AI Skills Training for Product Management\n\nHi [Manager's Name],\n\nI wanted to discuss a professional development opportunity that I believe would benefit both my growth and our team's capabilities.\n\nI've found a program called Curious PM - a 12-week cohort-based course specifically designed for Product Managers to build hands-on AI skills. Unlike typical online courses, it focuses on actually building production-ready AI applications.\n\nWhy I think this is valuable:\n- Hands-on projects: I'll build 3 real AI applications (chatbot, voice assistant, AI agent)\n- Immediate applicability: Skills can be applied to [mention a specific project or initiative]\n- Time-efficient: 5-6 hours/week over 12 weeks, with live sessions outside work hours\n- Includes $600+ worth of AI tools (OpenAI credits, Claude Code, etc.)\n\nThe investment: The course operates on a pay-it-forward model, but a typical contribution is around ₹15,000-25,000 (or equivalent donation to a charity of choice).\n\nI'd be happy to share more details or discuss how this aligns with our team's goals. Would you have 15 minutes this week to chat?\n\nThanks for considering this!\n[Your Name]\n`;function copyEmailToClipboard(){if(navigator.clipboard){navigator.clipboard.writeText(emailContent).catch(()=>{alert(\"Failed to copy email content.\");});}else{alert(\"Failed to copy email content.\");}}return /*#__PURE__*/_jsx(\"div\",{onClick:copyEmailContent,children:/*#__PURE__*/_jsx(Component,{...props,ref:ref})});});}export function showAfterScroll(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[visible,setVisible]=useState(false);useEffect(()=>{function handleScroll(){if(window.scrollY>600){setVisible(true);}else{setVisible(false);}}window.addEventListener(\"scroll\",handleScroll);return()=>window.removeEventListener(\"scroll\",handleScroll);},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{transform:visible?\"translateY(0%)\":\"translateY(100%)\",transition:\"transform 0.3s ease-in-out\"}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withHorizontalWheelScroll\":{\"type\":\"reactHoc\",\"name\":\"withHorizontalWheelScroll\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"copyEmailContent\":{\"type\":\"reactHoc\",\"name\":\"copyEmailContent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showAfterScroll\":{\"type\":\"reactHoc\",\"name\":\"showAfterScroll\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./utils.map"],"mappings":"8IAA4F,SAAgB,EAA0B,EAAU,CAAC,OAAoB,GAAY,EAAM,IAC5H,EAAK,EAAU,CAAC,GAAG,EAAU,MAAI,MAAM,CAAC,GAAG,EAAM,UAAU,OAAO,UAAU,UAAU,eAAe,OAAO,gBAAgB,OAAO,CAAC,CAAC,CAAG,CAqB+H,SAAgB,EAAgB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,EAAQ,GAAYA,EAAS,GAAM,CAA2N,OAA1N,MAAc,CAAC,SAAS,GAAc,CAAI,EAAO,QAAQ,IAAK,EAAW,GAAK,CAAO,EAAW,GAAM,CAAkD,OAA/C,EAAO,iBAAiB,SAAS,EAAa,KAAW,EAAO,oBAAoB,SAAS,EAAa,EAAG,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAU,MAAI,MAAM,CAAC,UAAU,EAAQ,iBAAiB,mBAAmB,WAAW,6BAA6B,CAAC,CAAC,EAAG,sBAtBlxB,IAAiD"}