{"version":3,"file":"MainOverride.BWHqynJB.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/7kGGUlMPbSuPCBLsxVDt/EWibelRBkVNjO588DbOZ/MainOverride.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";// ✅ Shared Tooltip Logic\nfunction addLinkTitle({name,toolName}){const titleText=`View details about ${toolName??\"this tool\"} on PinPointer.ai`;useEffect(()=>{const el=document.querySelector(`[data-framer-name=\"${name}\"] a`);if(el){el.setAttribute(\"title\",titleText);}},[name,toolName]);return null;}// ✅ Visit Website Button Override\nexport function button_website(props){return addLinkTitle({name:\"website-button\",toolName:props.ToolName});}// ✅ Trending Tools Tooltip\nexport function addTrendingToolTitles(){return{title:props=>{const tool=props?.children?.props?.tool;if(tool?.title){return`View details about ${tool.title} on PinPointer.ai`;}return props.children;}};}// ✅ Just Dropped Tools Tooltip\nexport function addJustDroppedToolTitles(){return{title:props=>{const tool=props?.children?.props?.tool;if(tool?.title){return`View details about ${tool.title} on PinPointer.ai`;}return props.children;}};}// ✅ All Tools Tooltip\nexport function addAllToolTitles(){return{title:props=>{const tool=props?.children?.props?.tool;if(tool?.title){return`View details about ${tool.title} on PinPointer.ai`;}return props.children;}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withbutton_website(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...button_website(props)});};}withbutton_website.displayName=\"button_website\";export function withaddTrendingToolTitles(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...addTrendingToolTitles(props)});};}withaddTrendingToolTitles.displayName=\"addTrendingToolTitles\";export function withaddJustDroppedToolTitles(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...addJustDroppedToolTitles(props)});};}withaddJustDroppedToolTitles.displayName=\"addJustDroppedToolTitles\";export function withaddAllToolTitles(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...addAllToolTitles(props)});};}withaddAllToolTitles.displayName=\"addAllToolTitles\";\nexport const __FramerMetadata__ = {\"exports\":{\"button_website\":{\"type\":\"override\",\"name\":\"button_website\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addAllToolTitles\":{\"type\":\"override\",\"name\":\"addAllToolTitles\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addJustDroppedToolTitles\":{\"type\":\"override\",\"name\":\"addJustDroppedToolTitles\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withaddTrendingToolTitles\":{\"type\":\"reactHoc\",\"name\":\"withaddTrendingToolTitles\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withaddJustDroppedToolTitles\":{\"type\":\"reactHoc\",\"name\":\"withaddJustDroppedToolTitles\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withaddAllToolTitles\":{\"type\":\"reactHoc\",\"name\":\"withaddAllToolTitles\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addTrendingToolTitles\":{\"type\":\"override\",\"name\":\"addTrendingToolTitles\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withbutton_website\":{\"type\":\"reactHoc\",\"name\":\"withbutton_website\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MainOverride.map"],"mappings":"yPACA,SAAS,EAAa,CAAC,OAAK,YAAU,CAAC,IAAM,EAAU,sBAAsB,GAAU,YAAY,mBAAkK,OAA/I,MAAc,CAAC,IAAM,EAAG,SAAS,cAAc,sBAAsB,EAAK,MAAM,CAAI,GAAI,EAAG,aAAa,QAAQ,EAAU,EAAI,CAAC,EAAK,EAAS,CAAC,CAAQ,KAC5Q,SAAgB,EAAe,EAAM,CAAC,OAAO,EAAa,CAAC,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