{"version":3,"file":"BookDemoFormHandoff.CSVd0Nm1.mjs","names":["ArrowSquareRight","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","sharedStyle.css","sharedStyle.fonts","useRef","useCallback","__esmMin","oe","ie","init_ssg_sandbox_shims","ne","x","window","de","pe","J","c","p","init_npm_react_18_3_1","ce","motion","LayoutGroup","MotionConfigContext","init_framer_motion_DhsWWWsN","withFX","getFontsFromSharedStyle","useVariantState","addFonts","withCSS","cx","addPropertyControls","ControlType","init_framer_D1IzEvwH","useComponentViewport","RichText","useLocaleInfo","getFonts","css$1","Icon","init_tL6Nru9eO","fonts","className","init_HMnsiUSc6","addPropertyOverrides","variants","nextOverrides","variant","overrides","MotionDivWithFX","ArrowSquareRightFonts","enabledGestures","cycleOrder","serializationHash","variantClassNames","transition1","transition2","animation","transformTemplate1","Transition","humanReadableVariantMap","Variants","getProps","createLayoutDependency","Component","css","FramerPdCxDeGXV","init_PdCxDeGXV","init_jsx_runtime","config","transition","value","contextValue","props","fallbackRef","refBinding","ref","defaultLayoutId","className$1","restProps","layoutDependency","scopingClassNames","isDisplayed","baseVariant","isDisplayed1","isDisplayed2","layoutId","gestureHandlers","classNames","style","gestureVariant","assignRef","fieldValue","data","name","collectPrefill","form","EVENT_URL","persistPrefill","serialized","prefill","PREFILL_STORAGE_KEY","WINDOW_NAME_PREFIX","readClickIds","stored","raw","CLICK_STORAGE_KEY","match","params","out","key","CLICK_FIELDS","fromUrl","fromStore","syncClickInputs","ids","input","normalizedText","hasSuccessfulSubmitState","text","button","SUCCESS_LABELS","label","navigateToBooking","target","BOOKING_PATH","withBookingHandoff","rootRef","setRefs","node","forwardedRef","root","formElement","currentFormElement","currentRoot","waitingForSuccess","hasNavigated","pollId","timeoutId","clearTimers","navigateAfterSuccess","activeForm","handleNativeSubmit","SUCCESS_TIMEOUT_MS","observer","init_BookDemoFormHandoff"],"sources":["https:/framerusercontent.com/modules/2iSL7gjz9PWBw1IYOz59/i4iwjJcTXgy9USO9PJwF/PdCxDeGXV.js","https:/framerusercontent.com/modules/Tq1FwAaF52sn0qLSoslW/8RFzCKhwuHiAKsSMMX1d/BookDemoFormHandoff.js"],"sourcesContent":["// Generated by Framer (4d662f6)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFonts,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 ArrowSquareRight from\"https://framerusercontent.com/modules/TgdovPTf12h5e9mf5mKX/ny0lQDjRQ5zoBlru0VHq/tL6Nru9eO.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/p2ZOo1sC670WMj9p4B0h/U3uJ1ArWGvpRdXIxBkdT/HMnsiUSc6.js\";const MotionDivWithFX=withFX(motion.div);const ArrowSquareRightFonts=getFonts(ArrowSquareRight);const enabledGestures={McqsZKhnD:{hover:true,pressed:true}};const cycleOrder=[\"McqsZKhnD\",\"EZpqUH54V\",\"DvhdlpGy_\",\"QjUlpcmWZ\",\"sNfGC_Fm0\"];const serializationHash=\"framer-NYmyL\";const variantClassNames={DvhdlpGy_:\"framer-v-hvvdkl\",EZpqUH54V:\"framer-v-1tnz27a\",McqsZKhnD:\"framer-v-rvc9nt\",QjUlpcmWZ:\"framer-v-2d8f4x\",sNfGC_Fm0:\"framer-v-7z3lx4\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={delay:0,duration:.2,ease:[.44,0,.56,1],type:\"tween\"};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:\"McqsZKhnD\",Disabled:\"DvhdlpGy_\",Error:\"sNfGC_Fm0\",Loading:\"EZpqUH54V\",Success:\"QjUlpcmWZ\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"McqsZKhnD\"};};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,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"McqsZKhnD\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"EZpqUH54V\")return false;return true;};const isDisplayed1=()=>{if(baseVariant===\"EZpqUH54V\")return true;return false;};const isDisplayed2=()=>{if([\"EZpqUH54V\",\"QjUlpcmWZ\",\"sNfGC_Fm0\"].includes(baseVariant))return false;return true;};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-rvc9nt\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"McqsZKhnD\",ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-7f0bc834-bb88-4b8a-babd-275acb89f444)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"var(--token-7f0bc834-bb88-4b8a-babd-275acb89f444)\",borderBottomLeftRadius:40,borderBottomRightRadius:40,borderTopLeftRadius:40,borderTopRightRadius:40,opacity:1,...style},variants:{\"McqsZKhnD-hover\":{opacity:.85},\"McqsZKhnD-pressed\":{opacity:1},DvhdlpGy_:{opacity:.5},QjUlpcmWZ:{opacity:1},sNfGC_Fm0:{backgroundColor:\"rgb(255, 222, 228)\",opacity:1}},...addPropertyOverrides({DvhdlpGy_:{\"data-framer-name\":\"Disabled\"},EZpqUH54V:{\"data-framer-name\":\"Loading\"},QjUlpcmWZ:{\"data-framer-name\":\"Success\"},sNfGC_Fm0:{\"data-framer-name\":\"Error\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1z11gm2\",\"data-styles-preset\":\"HMnsiUSc6\",dir:\"auto\",style:{\"--framer-text-alignment\":\"start\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-3231f815-59bd-4709-9984-27f462c2029e))\"},children:\"Choose a time\"})}),className:\"framer-1kmmyxs\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"nKB16XTT6\",style:{\"--extracted-r6o4lv\":\"var(--token-3231f815-59bd-4709-9984-27f462c2029e)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},variants:{sNfGC_Fm0:{\"--extracted-r6o4lv\":\"rgb(255, 34, 68)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({QjUlpcmWZ:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1z11gm2\",\"data-styles-preset\":\"HMnsiUSc6\",dir:\"auto\",style:{\"--framer-text-alignment\":\"start\"},children:\"Opening calendar…\"})})},sNfGC_Fm0:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItU2VtaUJvbGQ=\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 34, 68))\"},children:\"Something went wrong\"})}),fonts:[\"Inter-SemiBold\"]}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-3kpokx\",\"data-framer-name\":\"Spinner\",layoutDependency:layoutDependency,layoutId:\"pyav4x11d\",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-bpki1a\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"ZEVWpeOUR\",style:{background:\"conic-gradient(from 0deg at 50% 50%, var(--token-4f95a47b-73b4-4844-84d0-91caa1d28764, rgb(174, 174, 174)) 7.208614864864882deg, var(--token-e95ee726-ab1d-4458-99db-780c0ed005f8, rgb(230, 230, 230)) 360deg)\",mask:\"none\",WebkitMask:\"none\"},variants:{EZpqUH54V:{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-w80upr\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"Z9Bg70ebA\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1},transformTemplate:transformTemplate1})})}),isDisplayed2()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-171puni\",\"data-framer-name\":\"Arrow\",layoutDependency:layoutDependency,layoutId:\"b_2CHKRqQ\",style:{backgroundColor:\"var(--token-3231f815-59bd-4709-9984-27f462c2029e)\",borderBottomLeftRadius:40,borderBottomRightRadius:40,borderTopLeftRadius:40,borderTopRightRadius:40},children:/*#__PURE__*/_jsx(ArrowSquareRight,{animated:true,className:\"framer-1uc7tdn\",layoutDependency:layoutDependency,layoutId:\"Ml0akpwLZ\",style:{\"--1m6trwb\":0,\"--21h8s6\":\"var(--token-7f0bc834-bb88-4b8a-babd-275acb89f444)\",\"--pgex8v\":1}})})]})})})});});const css=[\".framer-NYmyL.framer-1ro0fwq, .framer-NYmyL .framer-1ro0fwq { display: block; }\",\".framer-NYmyL.framer-rvc9nt { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px; height: 44px; justify-content: center; overflow: visible; padding: 8px 8px 8px 16px; position: relative; width: min-content; }\",\".framer-NYmyL .framer-1kmmyxs { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-NYmyL .framer-3kpokx { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: auto; overflow: hidden; position: relative; width: 20px; }\",\".framer-NYmyL .framer-bpki1a { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-NYmyL .framer-w80upr { aspect-ratio: 1 / 1; flex: none; height: auto; left: 50%; overflow: visible; position: absolute; top: 0px; width: 2px; }\",\".framer-NYmyL .framer-171puni { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 4px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: min-content; }\",\".framer-NYmyL .framer-1uc7tdn { flex: none; height: auto; position: relative; width: 28px; }\",\".framer-NYmyL.framer-v-1tnz27a.framer-rvc9nt { cursor: unset; padding: 8px 16px 8px 16px; width: 114px; }\",\".framer-NYmyL.framer-v-1tnz27a .framer-bpki1a { overflow: hidden; }\",\".framer-NYmyL.framer-v-hvvdkl.framer-rvc9nt { cursor: unset; }\",\".framer-NYmyL.framer-v-2d8f4x.framer-rvc9nt, .framer-NYmyL.framer-v-7z3lx4.framer-rvc9nt { cursor: unset; padding: 8px 16px 8px 16px; }\",...sharedStyle.css,'.framer-NYmyL[data-border=\"true\"]::after, .framer-NYmyL [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 44\n * @framerIntrinsicWidth 114\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"EZpqUH54V\":{\"layout\":[\"fixed\",\"fixed\"]},\"DvhdlpGy_\":{\"layout\":[\"auto\",\"fixed\"]},\"QjUlpcmWZ\":{\"layout\":[\"auto\",\"fixed\"]},\"sNfGC_Fm0\":{\"layout\":[\"auto\",\"fixed\"]},\"j_A3zLhQd\":{\"layout\":[\"auto\",\"fixed\"]},\"CIxrNGPTT\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerPdCxDeGXV=withCSS(Component,css,\"framer-NYmyL\");export default FramerPdCxDeGXV;FramerPdCxDeGXV.displayName=\"Book Demo Submit Button\";FramerPdCxDeGXV.defaultProps={height:44,width:114};addPropertyControls(FramerPdCxDeGXV,{variant:{options:[\"McqsZKhnD\",\"EZpqUH54V\",\"DvhdlpGy_\",\"QjUlpcmWZ\",\"sNfGC_Fm0\"],optionTitles:[\"Default\",\"Loading\",\"Disabled\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerPdCxDeGXV,[{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\"}]},...ArrowSquareRightFonts,...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerPdCxDeGXV\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"114\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"EZpqUH54V\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"DvhdlpGy_\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"QjUlpcmWZ\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"sNfGC_Fm0\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"j_A3zLhQd\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"CIxrNGPTT\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicHeight\":\"44\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PdCxDeGXV.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useCallback,useEffect,useRef}from\"react\";const BOOKING_PATH=\"/booking\";const EVENT_URL=\"https://cal.com/team/poppy-legal/poppy-demo\";const PREFILL_STORAGE_KEY=\"poppy-demo-prefill\";const WINDOW_NAME_PREFIX=\"poppy-demo-prefill:\";const SUCCESS_LABELS=[\"opening calendar\",\"next: choose a time\"];const SUCCESS_TIMEOUT_MS=3e4;const CLICK_STORAGE_KEY=\"poppy_click\";// Ad click identifiers captured site-wide (see site custom code). They are\n// written into hidden inputs on the demo form so every Framer form submission\n// records which paid click produced it, even if the visitor never books.\nconst CLICK_FIELDS=[\"gclid\",\"gbraid\",\"wbraid\",\"msclkid\",\"utm_source\",\"utm_medium\",\"utm_campaign\",\"landing_page\"];function assignRef(ref,value){if(typeof ref===\"function\"){ref(value);return;}if(ref){ref.current=value;}}function fieldValue(data,name){return String(data.get(name)??\"\").trim();}function collectPrefill(form){const data=new FormData(form);return{name:fieldValue(data,\"Full Name\"),email:fieldValue(data,\"Work Email\"),company:fieldValue(data,\"Company\"),role:fieldValue(data,\"Role\"),eventUrl:EVENT_URL};}function persistPrefill(prefill){const serialized=JSON.stringify(prefill);try{window.sessionStorage.setItem(PREFILL_STORAGE_KEY,serialized);return;}catch{// Some privacy modes block Web Storage. window.name is a same-tab fallback.\n}try{window.name=`${WINDOW_NAME_PREFIX}${encodeURIComponent(serialized)}`;}catch{// Email submission should still complete if all browser storage is blocked.\n}}function readClickIds(){if(typeof window===\"undefined\")return{};let stored={};try{const raw=window.localStorage.getItem(CLICK_STORAGE_KEY);if(raw)stored=JSON.parse(raw);}catch{// Storage blocked; try the cookie copy below.\n}if(Object.keys(stored).length===0){try{const match=document.cookie.match(/(?:^|; )poppy_click=([^;]*)/);if(match){stored=JSON.parse(decodeURIComponent(match[1]));}}catch{// No cookie copy either.\n}}const params=new URLSearchParams(window.location.search);const out={};for(const key of CLICK_FIELDS){const fromUrl=params.get(key);const fromStore=typeof stored[key]===\"string\"?stored[key]:\"\";const value=(fromUrl||fromStore).trim();if(value)out[key]=value.slice(0,200);}return out;}function syncClickInputs(form){const ids=readClickIds();for(const[key,value]of Object.entries(ids)){let input=form.querySelector(`input[type=\"hidden\"][name=\"${key}\"]`);if(!input){input=document.createElement(\"input\");input.type=\"hidden\";input.name=key;input.setAttribute(\"data-poppy-click\",\"true\");form.appendChild(input);}input.value=value;}}function normalizedText(value){return(value??\"\").replace(/\\s+/g,\" \").trim().toLowerCase();}function hasSuccessfulSubmitState(form){const buttons=Array.from(form.querySelectorAll(\"button\"));return buttons.some(button=>{const text=normalizedText(button.textContent);return SUCCESS_LABELS.some(label=>text.includes(label));});}function navigateToBooking(){// Use a direct, same-tab navigation instead of programmatically clicking\n// the hidden Framer link. Mobile Safari can ignore synthetic link clicks\n// that occur after an asynchronous form submission has completed.\nconst target=new URL(BOOKING_PATH,window.location.href);window.location.assign(target.href);}export function withBookingHandoff(Component){return /*#__PURE__*/forwardRef(function BookingHandoff(props,forwardedRef){const rootRef=useRef(null);const setRefs=useCallback(node=>{rootRef.current=node;assignRef(forwardedRef,node);},[forwardedRef]);useEffect(()=>{if(typeof window===\"undefined\")return;const root=rootRef.current;const form=root instanceof HTMLFormElement?root:root?.querySelector(\"form\");if(!form)return;const formElement=form;function currentFormElement(){const currentRoot=rootRef.current;return currentRoot instanceof HTMLFormElement?currentRoot:currentRoot?.querySelector(\"form\");}let waitingForSuccess=false;let hasNavigated=false;let pollId;let timeoutId;function clearTimers(){if(pollId!==undefined)window.clearInterval(pollId);if(timeoutId!==undefined)window.clearTimeout(timeoutId);pollId=undefined;timeoutId=undefined;}function navigateAfterSuccess(){const activeForm=currentFormElement();if(!waitingForSuccess||hasNavigated||!activeForm||!hasSuccessfulSubmitState(activeForm)){return;}hasNavigated=true;waitingForSuccess=false;clearTimers();navigateToBooking();}function handleNativeSubmit(){if(!formElement.checkValidity())return;// Refresh right before Framer serializes the submission.\nsyncClickInputs(formElement);persistPrefill(collectPrefill(formElement));waitingForSuccess=true;hasNavigated=false;clearTimers();pollId=window.setInterval(navigateAfterSuccess,80);timeoutId=window.setTimeout(()=>{waitingForSuccess=false;clearTimers();},SUCCESS_TIMEOUT_MS);}syncClickInputs(formElement);const observer=new window.MutationObserver(navigateAfterSuccess);observer.observe(formElement,{attributes:true,characterData:true,childList:true,subtree:true});// Capture the values before Framer handles the event, but deliberately do\n// not prevent or stop it: Framer must finish the native email submission.\nformElement.addEventListener(\"submit\",handleNativeSubmit,true);return()=>{formElement.removeEventListener(\"submit\",handleNativeSubmit,true);observer.disconnect();clearTimers();};},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:setRefs});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withBookingHandoff\":{\"type\":\"reactHoc\",\"name\":\"withBookingHandoff\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BookDemoFormHandoff.map"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