{"version":3,"file":"LP_Variant_Assignment.DXfaBKtv.mjs","names":["__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","init_jsx_runtime","ce","init_framer_DymZktPS","addPropertyControls","ControlType","ABStamp","test","variant","testKey","slot","variantKey","init_LP_Variant_Assignment"],"sources":["https:/framerusercontent.com/modules/9eECDLTmqq3XIZvslT16/Do20UXoFDl4TF5cd12lZ/LP_Variant_Assignment.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 10\n * @framerIntrinsicHeight 10\n */export default function ABStamp({test=\"\",variant=\"\",slot=1}){useEffect(()=>{if(!test||!variant)return;window.abVariant=variant// leave as-is: this feeds the HubSpot form\n;const testKey=`ab_test_${slot}`;const variantKey=`ab_variant_${slot}`;// Each test writes into its own slot, so concurrent tests don't\n// overwrite each other. Rides onto later events (demo_form_submitted…).\nwindow.posthog?.register({[testKey]:test,[variantKey]:variant});window.posthog?.capture(\"$experiment_viewed\",{ab_test:test,ab_variant:variant,[testKey]:test,[variantKey]:variant});console.log(\"Experiment viewed\",{slot,ab_test:test,ab_variant:variant},window.posthog);},[]);return /*#__PURE__*/_jsx(\"div\",{style:{width:10,height:10,opacity:0}});}import{addPropertyControls,ControlType}from\"framer\";addPropertyControls(ABStamp,{test:{type:ControlType.String,title:\"Test\"},variant:{type:ControlType.String,title:\"Variant\"},slot:{type:ControlType.Number,title:\"Slot\",defaultValue:1,min:1,step:1,displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ABStamp\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"10\",\"framerIntrinsicWidth\":\"10\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LP_Variant_Assignment.map"],"mappings":"A,wLAKG,SAAwBS,EAAQ,CAAC,OAAK,GAAG,UAAQ,GAAG,OAAK,GAAG,CAGkN,OAHjNJ,MAAc,CAAC,GAAG,CAACK,GAAM,CAACC,EAAQ,OAAO,EAAO,UAAUA,EACzH,IAAMC,EAAQ,WAAWC,IAAaC,EAAW,cAAcD,IAEhEV,EAAO,SAAS,SAAS,EAAES,GAASF,GAAMI,GAAYH,CAAO,CAAC,EAAER,EAAO,SAAS,QAAQ,qBAAqB,CAAC,QAAQO,EAAK,WAAWC,GAASC,GAASF,GAAMI,GAAYH,CAAO,CAAC,EAAE,QAAQ,IAAI,oBAAoB,CAAC,OAAK,QAAQD,EAAK,WAAWC,CAAO,EAAER,EAAO,OAAO,CAAE,EAAE,CAAC,CAAC,EAAsB,gBAAK,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAE,C,8CAAqDI,EAAoBE,EAAQ,CAAC,KAAK,CAAC,KAAKD,EAAY,OAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,KAAKA,EAAY,OAAO,MAAM,SAAS,EAAE,KAAK,CAAC,KAAKA,EAAY,OAAO,MAAM,OAAO,aAAa,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,EAAI,CAAC,CAAC,C"}