{"version":3,"file":"LP_Variant_Assignment.CLg9fgpc.mjs","names":[],"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":"oLAKG,SAAwB,EAAQ,CAAC,OAAK,GAAG,UAAQ,GAAG,OAAK,GAAG,CAGkN,OAHjN,MAAc,CAAC,GAAG,CAAC,GAAM,CAAC,EAAQ,OAAO,EAAO,UAAU,EACzH,IAAM,EAAQ,WAAW,IAAa,EAAW,cAAc,IAEhE,EAAO,SAAS,SAAS,EAAE,GAAS,GAAM,GAAY,CAAO,CAAC,EAAE,EAAO,SAAS,QAAQ,qBAAqB,CAAC,QAAQ,EAAK,WAAW,GAAS,GAAS,GAAM,GAAY,CAAO,CAAC,EAAE,QAAQ,IAAI,oBAAoB,CAAC,OAAK,QAAQ,EAAK,WAAW,CAAO,EAAE,EAAO,OAAO,CAAE,EAAE,CAAC,CAAC,EAAsB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAE,qBAR9S,IAA6B,IAQqU,EAAC,EAAoB,EAAQ,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,EAAE,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,EAAI,CAAC,CAAC"}