{"version":3,"file":"PosthogLandingPageTracker.C9dfB5c4.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","sharedStyle.className","className","RichText","sharedStyle.css","sharedStyle.fonts"],"sources":["https:/framerusercontent.com/modules/c7Mrty36A38uhuKDR6uA/jYvT8qt44vEBe5q6ltKc/dGlDvKU_5.js","https:/framerusercontent.com/modules/x0BcMiNpIdHfmvMeduji/PvD6rQcN6eqKRd2XZWcQ/PosthogLandingPageTracker.js"],"sourcesContent":["// Generated by Framer (46bf165)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/vrua9G8ucWijT80t30lg/f827HJORYk9Dep87PPA8/a9FNBEAOo.js\";const MotionDivWithFX=withFX(motion.div);const enabledGestures={W8ZM0yLqb:{hover:true}};const cycleOrder=[\"W8ZM0yLqb\",\"xfYom9AzO\",\"mVXNwaCYx\",\"d5z5Pjc5r\",\"CTj2hVzIr\"];const serializationHash=\"framer-pFE5N\";const variantClassNames={CTj2hVzIr:\"framer-v-145m93p\",d5z5Pjc5r:\"framer-v-k3pa9u\",mVXNwaCYx:\"framer-v-1rjx7z8\",W8ZM0yLqb:\"framer-v-1uu0hwi\",xfYom9AzO:\"framer-v-1wioicp\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const RlsCv1YRG=undefined;const transition1={bounce:0,delay:0,duration:.2,type:\"spring\"};const transition2={delay:0,duration:1,ease:[0,0,1,1],type:\"tween\"};const animation={opacity:1,rotate:360,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Default:\"W8ZM0yLqb\",Disabled:\"mVXNwaCYx\",Error:\"CTj2hVzIr\",Loading:\"xfYom9AzO\",Success:\"d5z5Pjc5r\"};const Variants=motion.create(React.Fragment);const getProps=({cTAText,height,id,width,...props})=>{return{...props,RlsCv1YRG:cTAText??props.RlsCv1YRG??\"Jetzt Termin buchen\",variant:humanReadableVariantMap[props.variant]??props.variant??\"W8ZM0yLqb\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,RlsCv1YRG,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"W8ZM0yLqb\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"xfYom9AzO\")return false;return true;};const isDisplayed1=()=>{if(baseVariant===\"xfYom9AzO\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1uu0hwi\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"W8ZM0yLqb\",ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgba(245, 83, 7, 0.5)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"var(--token-7ed103a6-187d-4f89-9851-fa23001b8997, rgb(255, 255, 255))\",borderBottomLeftRadius:99,borderBottomRightRadius:99,borderTopLeftRadius:99,borderTopRightRadius:99,opacity:1,...style},variants:{\"W8ZM0yLqb-hover\":{\"--border-color\":\"rgb(245, 83, 7)\",opacity:1},CTj2hVzIr:{backgroundColor:\"rgba(255, 34, 68, 0.15)\",opacity:1},d5z5Pjc5r:{opacity:1},mVXNwaCYx:{opacity:.5}},...addPropertyOverrides({\"W8ZM0yLqb-hover\":{\"data-framer-name\":undefined},CTj2hVzIr:{\"data-framer-name\":\"Error\"},d5z5Pjc5r:{\"data-framer-name\":\"Success\"},mVXNwaCYx:{\"data-framer-name\":\"Disabled\"},xfYom9AzO:{\"data-framer-name\":\"Loading\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-aelcle\",\"data-styles-preset\":\"a9FNBEAOo\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-36647498-0faf-4059-b423-29cea4848c0c, rgb(245, 83, 7)))\"},children:\"Jetzt Termin buchen\"})}),className:\"framer-sv4vsk\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"vFAl7bf8y\",style:{\"--extracted-r6o4lv\":\"var(--token-36647498-0faf-4059-b423-29cea4848c0c, rgb(245, 83, 7))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:RlsCv1YRG,variants:{CTj2hVzIr:{\"--extracted-r6o4lv\":\"rgb(255, 34, 68)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({CTj2hVzIr:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItU2VtaUJvbGQ=\",\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 34, 68))\"},children:\"Etwas ist schiefgegangen\"})}),fonts:[\"Inter-SemiBold\"],text:undefined},d5z5Pjc5r:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-aelcle\",\"data-styles-preset\":\"a9FNBEAOo\",dir:\"auto\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-36647498-0faf-4059-b423-29cea4848c0c, rgb(245, 83, 7)))\"},children:\"Erfolgreich\"})}),text:undefined}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-1qcw3sp\",\"data-framer-name\":\"Spinner\",layoutDependency:layoutDependency,layoutId:\"iPSDRiUvf\",style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation,__framer__loopEffectEnabled:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition2,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-7ed8it\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"PGVUuud_1\",style:{background:\"conic-gradient(from 0deg at 50% 50%, var(--token-36647498-0faf-4059-b423-29cea4848c0c, rgb(245, 83, 7)) 7.208614864864882deg, rgb(255, 255, 255) 342deg)\",mask:\"none\",WebkitMask:\"none\"},variants:{xfYom9AzO:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"}},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1a15vfi\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"fK5INWoSW\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1},transformTemplate:transformTemplate1})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-pFE5N.framer-6pzmhc, .framer-pFE5N .framer-6pzmhc { display: block; }\",\".framer-pFE5N.framer-1uu0hwi { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 40px; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 240px; }\",\".framer-pFE5N .framer-sv4vsk { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-pFE5N .framer-1qcw3sp { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: var(--framer-aspect-ratio-supported, 20px); overflow: hidden; position: relative; width: 20px; }\",\".framer-pFE5N .framer-7ed8it { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-pFE5N .framer-1a15vfi { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 2px); left: 50%; overflow: visible; position: absolute; top: 0px; width: 2px; }\",\".framer-pFE5N.framer-v-1wioicp.framer-1uu0hwi, .framer-pFE5N.framer-v-1rjx7z8.framer-1uu0hwi, .framer-pFE5N.framer-v-k3pa9u.framer-1uu0hwi, .framer-pFE5N.framer-v-145m93p.framer-1uu0hwi { cursor: unset; }\",\".framer-pFE5N.framer-v-1wioicp .framer-7ed8it { overflow: hidden; }\",...sharedStyle.css,'.framer-pFE5N[data-border=\"true\"]::after, .framer-pFE5N [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 240\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"xfYom9AzO\":{\"layout\":[\"fixed\",\"fixed\"]},\"mVXNwaCYx\":{\"layout\":[\"fixed\",\"fixed\"]},\"d5z5Pjc5r\":{\"layout\":[\"fixed\",\"fixed\"]},\"CTj2hVzIr\":{\"layout\":[\"fixed\",\"fixed\"]},\"qcLBAqlEU\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"RlsCv1YRG\":\"cTAText\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerdGlDvKU_5=withCSS(Component,css,\"framer-pFE5N\");export default FramerdGlDvKU_5;FramerdGlDvKU_5.displayName=\"Submit Button 2\";FramerdGlDvKU_5.defaultProps={height:40,width:240};addPropertyControls(FramerdGlDvKU_5,{variant:{options:[\"W8ZM0yLqb\",\"xfYom9AzO\",\"mVXNwaCYx\",\"d5z5Pjc5r\",\"CTj2hVzIr\"],optionTitles:[\"Default\",\"Loading\",\"Disabled\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum},RlsCv1YRG:{defaultValue:\"Jetzt Termin buchen\",displayTextArea:false,title:\"CTA Text\",type:ControlType.String},onRlsCv1YRGChange:{changes:\"RlsCv1YRG\",type:ControlType.ChangeHandler}});addFonts(FramerdGlDvKU_5,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/hyOgCu0Xnghbimh0pE8QTvtt2AU.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/NeGmSOXrPBfEFIy5YZeHq17LEDA.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/oYaAX5himiTPYuN8vLWnqBbfD2s.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/lEJLP4R0yuCaMCjSXYHtJw72M.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/cRJyLNuTJR5jbyKzGi33wU9cqIQ.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/yDtI2UI8XcEg1W2je9XPN3Noo.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/A0Wcc7NgXMjUuFdquHDrIZpzZw0.woff2\",weight:\"600\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerdGlDvKU_5\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"xfYom9AzO\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"mVXNwaCYx\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"d5z5Pjc5r\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"CTj2hVzIr\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"qcLBAqlEU\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicHeight\":\"40\",\"framerVariables\":\"{\\\"RlsCv1YRG\\\":\\\"cTAText\\\"}\",\"framerIntrinsicWidth\":\"240\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./dGlDvKU_5.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 40\n */export default function PosthogLandingPageTracker({formSelector=\"form:has(input[name='form_type'])\",debug=false}){useEffect(()=>{const log=(...args)=>debug&&console.log(\"[PH Landing Page Tracker]\",...args);const fire=()=>{const ph=window.posthog;if(!ph?.capture){log(\"PostHog not available\");return false;}const form=document.querySelector(formSelector);if(!form){log(\"Form not found\",{formSelector});return false;}const get=name=>form.querySelector(`[name=\"${name}\"]`)?.value?.trim()||\"\";const urlParams=new URLSearchParams(window.location.search);const props={form_name:get(\"form_type\")===\"webinar\"?\"Webinar Form\":get(\"form_type\")===\"whitepaper\"?\"Whitepaper Form\":get(\"form_type\")===\"demo\"?\"Demo Booking\":get(\"form_type\")||\"Generic Form\",$current_url:window.location.href,page_path:window.location.pathname};const fields=[[\"webinar_title\",get(\"webinar_title\")],[\"webinar_date\",get(\"webinar_date\")],[\"whitepaper_title\",get(\"whitepaper_title\")],[\"utm_source\",urlParams.get(\"utm_source\")||\"\"],[\"utm_medium\",urlParams.get(\"utm_medium\")||\"\"],[\"utm_campaign\",urlParams.get(\"utm_campaign\")||\"\"]];for(const[key,val]of fields){if(val)props[key]=val;}ph.capture(\"Landing Page Viewed\",props);log(\"Landing Page Viewed fired\",props);return true;};// Retry until PostHog ready AND form in DOM\nlet attempts=0;const interval=setInterval(()=>{attempts++;if(fire()){clearInterval(interval);}else if(attempts>=40){clearInterval(interval);log(\"Gave up after 10s\");}},250);return()=>clearInterval(interval);},[formSelector,debug]);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",opacity:0,pointerEvents:\"none\"}});}addPropertyControls(PosthogLandingPageTracker,{formSelector:{type:ControlType.String,title:\"Form Selector\",defaultValue:\"form:has(input[name='form_type'])\"},debug:{type:ControlType.Boolean,title:\"Debug Logs\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PosthogLandingPageTracker\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"200\",\"framerIntrinsicHeight\":\"40\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PosthogLandingPageTracker.map"],"mappings":"keACq0B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,kDAAn8B,IAAmK,IAAkE,IAA4B,IAAmJ,EAAO,EAAgB,EAAO,EAAO,GAAG,EAAQ,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQ,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,kBAAkB,EAAyN,EAAY,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,EAAY,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,OAAO,EAAQ,EAAU,CAAC,QAAQ,EAAE,OAAO,IAAI,QAAQ,EAAE,QAAQ,EAA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