{"version":3,"file":"CopyPromptGA.CBN3lwB4.mjs","names":["_jsx","__esmMin","window","init_ssg_sandbox_shims","init_jsx_runtime","c","withPromptCopyEvent","Component","props","shot","init_CopyPromptGA"],"sources":["https:/framerusercontent.com/modules/hL9JZRJMg4CSXvbvEchg/0GlIKLuVmGsMoWHeaMo2/CopyPromptGA.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";// GA4 event for the shot-page prompt (mcp repo docs/23). The shot is the last part of the URL.\nexport function withPromptCopyEvent(Component){return props=>/*#__PURE__*/_jsx(Component,{...props,onClick:e=>{const shot=window.location.pathname.split(\"/\").filter(Boolean).pop()??\"\";window.gtag?.(\"event\",\"prompt_copy\",{shot});props.onClick?.(e);}});}\nexport const __FramerMetadata__ = {\"exports\":{\"withPromptCopyEvent\":{\"type\":\"reactHoc\",\"name\":\"withPromptCopyEvent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CopyPromptGA.map"],"mappings":"A,kHACA,SAAgBM,EAAoBC,EAAU,CAAC,MAAOC,IAAoBR,gBAAKO,EAAU,CAAC,GAAGC,EAAM,QAAQ,GAAG,CAAC,IAAMC,EAAKP,EAAO,SAAS,SAAS,MAAM,GAAG,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,IAAI,GAAG,GAAGA,EAAO,OAAO,QAAQ,cAAc,CAACO,MAAI,CAAC,EAAED,EAAM,UAAU,CAAC,CAAE,CAAC,CAAC,CAAE,C"}