{"version":3,"file":"WebinarFormSubmit.BEQwpXpE.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","sharedStyle1.className","className","RichText","sharedStyle.css","sharedStyle1.css","sharedStyle.fonts","sharedStyle1.fonts","useRef","useState","p"],"sources":["https:/framerusercontent.com/modules/BnJnrjAgBNkk4lKDFruF/dNZxzCyjGteraCSOFRmz/yEtzmjXPa.js","https:/framerusercontent.com/modules/zrDTILYuEqBcBHzR8uBE/lRGygfrtQhP38J8QJpw8/WebinarFormSubmit.js"],"sourcesContent":["// Generated by Framer (569fd08)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,RichText,useActiveVariantCallback,useComponentViewport,useLocaleCode,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/u0Q7nRLSMfNZzlRZD3TS/TNlXtJoxlyNtk2Bv7MYX/rP6drPh4J.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/rJQB3VqwbKMoqVZiaOFQ/U4bfxK2SVZT2hVn5RCHm/yNA2vUW6q.js\";const MotionDivWithFX=withFX(motion.div);const enabledGestures={K4n0rvL9j:{hover:true,pressed:true}};const cycleOrder=[\"K4n0rvL9j\",\"ux4r8I6pt\",\"dHyCuzffH\",\"BCj4SExA3\",\"rdAl0fKyP\"];const serializationHash=\"framer-TScs6\";const variantClassNames={BCj4SExA3:\"framer-v-5yqjbl\",dHyCuzffH:\"framer-v-1pwtm30\",K4n0rvL9j:\"framer-v-13fgmsk\",rdAl0fKyP:\"framer-v-p1c8qs\",ux4r8I6pt:\"framer-v-cxqk1l\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const BofZ1AgvG=undefined;const BhyWJfo7F=undefined;const l4sxyZv8G=undefined;const c4OgWR7hG=undefined;const R8EDZPs1r=undefined;const oPgozwCSJ=undefined;const bLInnWeUQ=undefined;const dtySHNexi=undefined;const transition1={delay:0,duration:.2,ease:[.44,0,.56,1],type:\"tween\"};const transformTemplate1=(_,t)=>`translateY(-50%) ${t}`;const sharedDateFormatter=(value,formatOptions,locale)=>{if(typeof value!==\"string\")return\"\";const date=new Date(value);if(isNaN(date.getTime()))return\"\";const fallbackLocale=\"en-US\";try{return date.toLocaleString(locale||fallbackLocale,formatOptions);}catch{return date.toLocaleString(fallbackLocale,formatOptions);}};const dateOptions={dateStyle:\"medium\",timeZone:\"UTC\"};const toDateString=(value,activeLocale)=>{return sharedDateFormatter(value,dateOptions,activeLocale);};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 transformTemplate2=(_,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 Variants=motion.create(React.Fragment);const humanReadableVariantMap={Default:\"K4n0rvL9j\",Disabled:\"dHyCuzffH\",Error:\"rdAl0fKyP\",Loading:\"ux4r8I6pt\",Success:\"BCj4SExA3\"};const getProps=({click,formDate,formLocation,formTitle,formType,height,id,title,url,webinarid,width,...props})=>{return{...props,BhyWJfo7F:title??props.BhyWJfo7F??\"RSVP\",bLInnWeUQ:formDate??props.bLInnWeUQ??\"1970-01-01T00:00:00.000Z\",BofZ1AgvG:click??props.BofZ1AgvG,c4OgWR7hG:webinarid??props.c4OgWR7hG,dtySHNexi:formType??props.dtySHNexi,l4sxyZv8G:url??props.l4sxyZv8G??\"url\",oPgozwCSJ:formLocation??props.oPgozwCSJ,R8EDZPs1r:formTitle??props.R8EDZPs1r,variant:humanReadableVariantMap[props.variant]??props.variant??\"K4n0rvL9j\"};};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,l4sxyZv8G,BhyWJfo7F,BofZ1AgvG,c4OgWR7hG,R8EDZPs1r,oPgozwCSJ,bLInnWeUQ,dtySHNexi,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"K4n0rvL9j\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTapo88uyk=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(BofZ1AgvG){const res=await BofZ1AgvG(...args);if(res===false)return false;}});const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"ux4r8I6pt\")return false;return true;};const activeLocaleCode=useLocaleCode();const textContent=toDateString(bLInnWeUQ,activeLocaleCode);const isDisplayed1=()=>{if(baseVariant===\"ux4r8I6pt\")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-13fgmsk\",className,classNames),\"data-framer-name\":\"Default\",\"data-highlight\":true,\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"K4n0rvL9j\",onTap:onTapo88uyk,ref:refBinding,style:{backgroundColor:\"var(--token-c58e2906-65a6-4bd6-b6b4-6a72006c8d21, rgb(212, 74, 0))\",borderBottomLeftRadius:999,borderBottomRightRadius:999,borderTopLeftRadius:999,borderTopRightRadius:999,opacity:1,...style},variants:{\"K4n0rvL9j-hover\":{backgroundColor:\"var(--token-a99ab8fd-6c41-4b72-96be-ee206b1cd9e1, rgb(235, 82, 0))\",opacity:1},\"K4n0rvL9j-pressed\":{backgroundColor:\"var(--token-a99ab8fd-6c41-4b72-96be-ee206b1cd9e1, rgb(235, 82, 0))\",opacity:1},BCj4SExA3:{opacity:1},dHyCuzffH:{opacity:.5},rdAl0fKyP:{backgroundColor:\"var(--token-f8b94de6-ad26-4da0-a2fd-a9ba8028bc8a, rgb(255, 179, 156))\",opacity:1}},...addPropertyOverrides({\"K4n0rvL9j-hover\":{\"data-framer-name\":undefined},\"K4n0rvL9j-pressed\":{\"data-framer-name\":undefined},BCj4SExA3:{\"data-framer-name\":\"Success\"},dHyCuzffH:{\"data-framer-name\":\"Disabled\"},rdAl0fKyP:{\"data-framer-name\":\"Error\"},ux4r8I6pt:{\"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-799dqb\",\"data-styles-preset\":\"yNA2vUW6q\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-6889a6d4-a9a4-45fd-a538-dcf976f7e3db, rgb(255, 255, 255)))\"},children:\"RSVP\"})}),className:\"framer-1uqmlkn\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"ZlQ0irmVX\",style:{\"--extracted-r6o4lv\":\"var(--token-6889a6d4-a9a4-45fd-a538-dcf976f7e3db, rgb(255, 255, 255))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:BhyWJfo7F,variants:{rdAl0fKyP:{\"--extracted-r6o4lv\":\"var(--token-4544cf91-bb75-472c-becf-316bf6bd9eaf, rgb(219, 71, 18))\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({BCj4SExA3:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-799dqb\",\"data-styles-preset\":\"yNA2vUW6q\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-6889a6d4-a9a4-45fd-a538-dcf976f7e3db, rgb(255, 255, 255)))\"},children:\"Submitted\"})}),text:undefined},rdAl0fKyP:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-799dqb\",\"data-styles-preset\":\"yNA2vUW6q\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-4544cf91-bb75-472c-becf-316bf6bd9eaf, rgb(219, 71, 18)))\"},children:\"Something went wrong\"})}),text:undefined}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{children:\"url\"})}),className:\"framer-1na6igj\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"ojBB0q0UT\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",opacity:0},text:l4sxyZv8G,transformTemplate:transformTemplate1,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{children:\"url\"})}),className:\"framer-oy1khv\",\"data-framer-name\":\"webinarid\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"vtbN8TzHK\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",opacity:0},text:c4OgWR7hG,transformTemplate:transformTemplate1,verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"K4n0rvL9j-hover\":{transformTemplate:undefined}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{children:\"url\"})}),className:\"framer-1952z95\",\"data-framer-name\":\"event title\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"NATStFiGd\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",opacity:0},text:R8EDZPs1r,transformTemplate:transformTemplate1,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{children:\"url\"})}),className:\"framer-tbmhu\",\"data-framer-name\":\"event location\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"mIgVN5tSw\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",opacity:0},text:oPgozwCSJ,transformTemplate:transformTemplate1,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{children:\"url\"})}),className:\"framer-12ayyah\",\"data-framer-name\":\"event date\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"KKVei74a6\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",opacity:0},text:textContent,transformTemplate:transformTemplate1,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-g82nr1\",\"data-styles-preset\":\"rP6drPh4J\",children:/*#__PURE__*/_jsx(motion.br,{className:\"trailing-break\"})})}),className:\"framer-17cza7b\",\"data-framer-name\":\"form type\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"w9Qd33ljx\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",opacity:0},text:dtySHNexi,transformTemplate:transformTemplate1,verticalAlignment:\"top\",withExternalLayout:true}),isDisplayed1()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-1jni9lu\",\"data-framer-name\":\"Spinner\",layoutDependency:layoutDependency,layoutId:\"y4wTEXdy3\",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-1u8q5n8\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"TWts5RF0E\",style:{background:\"conic-gradient(from 180deg at 50% 50%, rgb(68, 204, 255) 0deg, rgb(68, 204, 255) 360deg)\",backgroundColor:\"rgb(68, 204, 255)\",mask:\"none\",WebkitMask:\"none\"},variants:{ux4r8I6pt:{background:\"conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0) 7.208614864864882deg, rgb(255, 255, 255) 342deg)\",backgroundColor:\"rgba(0, 0, 0, 0)\",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-1scquke\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"cSuGhFhTn\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1},transformTemplate:transformTemplate2})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-TScs6.framer-3855sr, .framer-TScs6 .framer-3855sr { display: block; }\",\".framer-TScs6.framer-13fgmsk { 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: 12px 18px 12px 18px; position: relative; width: min-content; }\",\".framer-TScs6 .framer-1uqmlkn { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-TScs6 .framer-1na6igj, .framer-TScs6 .framer-oy1khv, .framer-TScs6 .framer-1952z95, .framer-TScs6 .framer-tbmhu, .framer-TScs6 .framer-12ayyah, .framer-TScs6 .framer-17cza7b { flex: none; height: auto; position: absolute; right: 87px; top: 50%; white-space: pre; width: auto; z-index: 1; }\",\".framer-TScs6 .framer-1jni9lu { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: var(--framer-aspect-ratio-supported, 20px); overflow: hidden; position: relative; width: 20px; }\",\".framer-TScs6 .framer-1u8q5n8 { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-TScs6 .framer-1scquke { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 2px); left: 50%; overflow: visible; position: absolute; top: 0px; width: 2px; }\",\".framer-TScs6.framer-v-cxqk1l .framer-1u8q5n8 { overflow: hidden; }\",\".framer-TScs6.framer-v-13fgmsk.hover .framer-oy1khv { left: -474px; right: unset; top: -754px; }\",...sharedStyle.css,...sharedStyle1.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 73\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"ux4r8I6pt\":{\"layout\":[\"auto\",\"fixed\"]},\"dHyCuzffH\":{\"layout\":[\"auto\",\"fixed\"]},\"BCj4SExA3\":{\"layout\":[\"auto\",\"fixed\"]},\"rdAl0fKyP\":{\"layout\":[\"auto\",\"fixed\"]},\"LrQtgXs6w\":{\"layout\":[\"auto\",\"fixed\"]},\"Rx2Xx20Ou\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"l4sxyZv8G\":\"url\",\"BhyWJfo7F\":\"title\",\"BofZ1AgvG\":\"click\",\"c4OgWR7hG\":\"webinarid\",\"R8EDZPs1r\":\"formTitle\",\"oPgozwCSJ\":\"formLocation\",\"bLInnWeUQ\":\"formDate\",\"dtySHNexi\":\"formType\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FrameryEtzmjXPa=withCSS(Component,css,\"framer-TScs6\");export default FrameryEtzmjXPa;FrameryEtzmjXPa.displayName=\"Button Webinar\";FrameryEtzmjXPa.defaultProps={height:40,width:73};addPropertyControls(FrameryEtzmjXPa,{variant:{options:[\"K4n0rvL9j\",\"ux4r8I6pt\",\"dHyCuzffH\",\"BCj4SExA3\",\"rdAl0fKyP\"],optionTitles:[\"Default\",\"Loading\",\"Disabled\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum},l4sxyZv8G:{defaultValue:\"url\",displayTextArea:false,title:\"url\",type:ControlType.String},BhyWJfo7F:{defaultValue:\"RSVP\",displayTextArea:false,title:\"Title\",type:ControlType.String},BofZ1AgvG:{title:\"Click\",type:ControlType.EventHandler},c4OgWR7hG:{defaultValue:\"\",displayTextArea:false,title:\"webinarid\",type:ControlType.String},R8EDZPs1r:{defaultValue:\"\",title:\"Form Title\",type:ControlType.String},oPgozwCSJ:{defaultValue:\"\",title:\"Form Location\",type:ControlType.String},bLInnWeUQ:{defaultValue:\"1970-01-01T00:00:00.000Z\",title:\"Form Date\",type:ControlType.Date},dtySHNexi:{defaultValue:\"\",title:\"Form Type\",type:ControlType.String}});addFonts(FrameryEtzmjXPa,[{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\"}]},...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameryEtzmjXPa\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerIntrinsicHeight\":\"40\",\"framerVariables\":\"{\\\"l4sxyZv8G\\\":\\\"url\\\",\\\"BhyWJfo7F\\\":\\\"title\\\",\\\"BofZ1AgvG\\\":\\\"click\\\",\\\"c4OgWR7hG\\\":\\\"webinarid\\\",\\\"R8EDZPs1r\\\":\\\"formTitle\\\",\\\"oPgozwCSJ\\\":\\\"formLocation\\\",\\\"bLInnWeUQ\\\":\\\"formDate\\\",\\\"dtySHNexi\\\":\\\"formType\\\"}\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"ux4r8I6pt\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"dHyCuzffH\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"BCj4SExA3\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"rdAl0fKyP\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"LrQtgXs6w\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"Rx2Xx20Ou\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"73\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./yEtzmjXPa.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{useEffect,useRef,useState}from\"react\";// --------------------------------------------------\n// Configuration\n// --------------------------------------------------\nconst SECONDARY_WEBHOOK_URL=\"https://webhooks.planhat.com/catch/195627f7-0d65-42cd-89b9-45a5ff561bea-6940151a4769b1e020d972eb\";const HUBSPOT_PROXY_URL=\"https://europe-west1-planhat-web.cloudfunctions.net/framer-hubspot-proxy\";const useStore=createStore({success:false});// --------------------------------------------------\n// Email validation / blocking\n// --------------------------------------------------\n// TLD must be 2+ characters\nconst emailRegex=/^[^\\s@]+@[^\\s@]+\\.[a-zA-Z]{2,}$/;const getDomain=email=>email.split(\"@\")[1]?.toLowerCase().trim()||\"\";const BLOCKED_DOMAIN_PREFIXES=[\"gmail\",\"googlemail\",\"hotmail\",\"outlook\",\"live\",\"msn\",\"icloud\",\"me\",\"mac\",\"apple\",\"yahoo\",\"proton\",\"protonmail\",\"gmx\",\"mail\",\"aol\",\"yandex\"];const BLOCKED_EXACT_DOMAINS=new Set([\"pm.me\"]);const isBlockedDomain=domain=>{if(!domain)return false;if(BLOCKED_EXACT_DOMAINS.has(domain))return true;return BLOCKED_DOMAIN_PREFIXES.some(p=>domain===p||domain.startsWith(p+\".\"));};// --------------------------------------------------\n// Helpers: find consent checkbox + state\n// --------------------------------------------------\nconst normalize=s=>(s||\"\").toLowerCase().replace(/\\s+/g,\" \").trim();const CONSENT_HINT=\"Please accept the Privacy Policy to register.\";/**\n * Tries hard to find the consent checkbox in a Framer form:\n * - by name/id containing \"consent\" / \"privacy\" / \"policy\" / \"personal data\" / \"agree\"\n * - by label text containing those words\n * - fallback: if there's exactly one checkbox, treat it as consent\n */const findConsentCheckbox=form=>{if(!form)return null;const checkboxes=Array.from(form.querySelectorAll('input[type=\"checkbox\"]'));if(!checkboxes.length)return null;const KEYWORDS=[\"consent\",\"privacy\",\"policy\",\"personal data\",\"agree\",\"gdpr\"];const scoreFor=el=>{let score=0;const attrs=[el.name,el.id,el.value,el.getAttribute(\"aria-label\")||\"\",el.getAttribute(\"data-testid\")||\"\"].filter(Boolean).join(\" \");const hay=normalize(attrs);KEYWORDS.forEach(k=>{if(hay.includes(k))score+=2;});// Label text (if any)\nif(el.id){const label=form.querySelector(`label[for=\"${CSS.escape(el.id)}\"]`);const labelText=normalize(label?.textContent||\"\");KEYWORDS.forEach(k=>{if(labelText.includes(k))score+=3;});}// Parent label wrapper\nconst parentLabel=el.closest(\"label\");const parentLabelText=normalize(parentLabel?.textContent||\"\");KEYWORDS.forEach(k=>{if(parentLabelText.includes(k))score+=3;});return score;};// pick best-scoring checkbox\nconst ranked=checkboxes.map(cb=>({cb,score:scoreFor(cb)})).sort((a,b)=>b.score-a.score);if(ranked[0]?.score>0)return ranked[0].cb;// fallback: if there is exactly one checkbox, assume it's consent\nif(checkboxes.length===1)return checkboxes[0];return null;};// --------------------------------------------------\n// Helpers: date formatting (for form name)\n// --------------------------------------------------\nconst formatDate=value=>{if(!value)return\"\";const date=new Date(value);if(isNaN(date.getTime()))return value;return date.toISOString().split(\"T\")[0]// YYYY-MM-DD\n;};// --------------------------------------------------\n// HOC\n// --------------------------------------------------\nexport function withFormSubmit(Component){return /*#__PURE__*/forwardRef((props,forwardedRef)=>{const[store,setStore]=useStore();const btnRef=useRef(null);const[hovered,setHovered]=useState(false);const[emailState,setEmailState]=useState({value:\"\",valid:false,blocked:false,domain:\"\"});const[consentState,setConsentState]=useState({present:false,checked:false});const isDisabled=!consentState.checked||!emailState.value||!emailState.valid||emailState.blocked;// --------------------------------------------------\n// Tooltip logic (EXCLUSIVE) — Consent is 1st priority\n// --------------------------------------------------\nconst tooltipText=(()=>{if(!consentState.checked)return CONSENT_HINT;if(!emailState.value)return\"Please enter your email address.\";if(!emailState.valid)return\"Please enter a valid email address.\";if(emailState.blocked)return`Please use a work email address (personal emails like @${emailState.domain} aren’t accepted).`;return\"\";})();const showTooltip=isDisabled&&hovered&&!!tooltipText;// --------------------------------------------------\n// Observe Email field + consent checkbox\n// --------------------------------------------------\nuseEffect(()=>{const btn=btnRef.current;if(!btn)return;const form=btn.closest(\"form\");if(!form)return;const input=form.querySelector('input[name=\"Email\"]')||form.querySelector('input[type=\"email\"]');const consentCheckbox=findConsentCheckbox(form);const updateEmail=()=>{if(!input)return;const value=(input.value||\"\").trim();const valid=!!value&&emailRegex.test(value);const domain=getDomain(value);const blocked=valid&&isBlockedDomain(domain);setEmailState({value,valid,blocked,domain});};const updateConsent=()=>{if(!consentCheckbox){// if none exists, don't block\nsetConsentState({present:false,checked:true});return;}setConsentState({present:true,checked:!!consentCheckbox.checked});};updateEmail();updateConsent();if(input){input.addEventListener(\"input\",updateEmail);input.addEventListener(\"change\",updateEmail);}if(consentCheckbox){consentCheckbox.addEventListener(\"input\",updateConsent);consentCheckbox.addEventListener(\"change\",updateConsent);consentCheckbox.addEventListener(\"click\",updateConsent);}return()=>{if(input){input.removeEventListener(\"input\",updateEmail);input.removeEventListener(\"change\",updateEmail);}if(consentCheckbox){consentCheckbox.removeEventListener(\"input\",updateConsent);consentCheckbox.removeEventListener(\"change\",updateConsent);consentCheckbox.removeEventListener(\"click\",updateConsent);}};},[]);// --------------------------------------------------\n// Refs\n// --------------------------------------------------\nconst setRefs=node=>{btnRef.current=node;if(!forwardedRef)return;if(typeof forwardedRef===\"function\")forwardedRef(node);else forwardedRef.current=node;};// --------------------------------------------------\n// Submit handler\n// --------------------------------------------------\nconst handleClick=async event=>{// Block submit if disabled (consent/email rules)\nif(isDisabled){event.preventDefault?.();event.stopPropagation?.();return;}const button=event.currentTarget;const form=button.closest(\"form\");if(!form)return;// Re-check consent right before submit (in case state missed)\nconst consentCheckbox=findConsentCheckbox(form);if(consentCheckbox&&!consentCheckbox.checked){event.preventDefault?.();event.stopPropagation?.();return;}// Collect ALL form data\nconst data=Object.fromEntries(new FormData(form).entries());// Values from form (Hidden fields in Framer, etc.)\nconst form_name=data.form_name?.toString().trim()||\"\";const form_type=data.form_type?.toString().trim()||\"\";const name=data.Name?.toString().trim()||\"\";const email=data.Email?.toString().trim()||\"\";const lifetime_journey=data.lifetime_journey?.toString()||localStorage.getItem(\"ph_lifetime_journey_v1\")||\"[]\";const session_attribution=data.session_attribution?.toString()||localStorage.getItem(\"ph_session_attribution_v1\")||\"{}\";const lifetime_attribution=data.lifetime_attribution?.toString()||localStorage.getItem(\"ph_lifetime_attribution_v1\")||\"{}\";const session_channel=data.session_channel?.toString()||(()=>{try{return JSON.parse(session_attribution).channel||\"\";}catch{return\"\";}})();const lifetime_channel=data.lifetime_channel?.toString()||(()=>{try{return JSON.parse(lifetime_attribution).channel||\"\";}catch{return\"\";}})();// Validate email (again, just before submit)\nif(!emailRegex.test(email))return;const domain=getDomain(email);if(isBlockedDomain(domain))return;const safeProps=props??{};if(!safeProps.url)return;// --- Planhat-only: build form_type + form_name from props (kept from old logic) ---\nconst planhat_form_type=safeProps.formType?.toString().trim()||form_type;// 1. Prepare parts\nconst pTitle=safeProps.formTitle?.toString().trim();const pLoc=safeProps.formLocation?.toString().trim();const pDate=formatDate(safeProps.formDate?.toString());// 2. Build the array\nconst planhat_form_name_parts=[pTitle,pLoc,pDate].filter(Boolean);// 3. Join with comma\nlet planhat_form_name=planhat_form_name_parts.join(\", \")||form_name;// --- SAFEHOUSE FIX (kept from old logic) ---\n// If the result is ONLY a date, prefix it to force String.\nif(planhat_form_name===pDate&&pDate.length>0&&!pTitle&&!pLoc){// Fallback: If we have a hidden form_name, use that instead\nif(form_name){planhat_form_name=form_name;}else{// Last resort: Label it so it's definitely text\nplanhat_form_name=`Event: ${pDate}`;}}// --------------------------------------------------\ntry{// Request A: HubSpot Proxy (keeps current behavior)\nconst mainRequest=fetch(HUBSPOT_PROXY_URL,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({webhookUrl:safeProps.url,webinarid:Number(safeProps.webinarid),...data})});// Request B: Planhat Webhook (now sends ALL required fields)\nlet secondaryRequest=Promise.resolve();if(SECONDARY_WEBHOOK_URL){const params=new URLSearchParams;params.append(\"name\",name);params.append(\"email\",email);params.append(\"form_name\",planhat_form_name);params.append(\"form_type\",planhat_form_type);// send tracking too\nparams.append(\"lifetime_journey\",lifetime_journey);params.append(\"session_attribution\",session_attribution);params.append(\"lifetime_attribution\",lifetime_attribution);params.append(\"session_channel\",session_channel);params.append(\"lifetime_channel\",lifetime_channel);secondaryRequest=fetch(SECONDARY_WEBHOOK_URL,{method:\"POST\",mode:\"no-cors\",headers:{\"Content-Type\":\"application/x-www-form-urlencoded\"},body:params.toString()}).catch(err=>console.error(\"Secondary webhook failed:\",err));}const[res]=await Promise.all([mainRequest,secondaryRequest]);if(!res.ok)throw new Error(\"Submission failed\");setStore({success:true});setTimeout(()=>setStore({success:false}),1e4);}catch(e){console.error(e);}};// --------------------------------------------------\n// Render\n// --------------------------------------------------\nreturn /*#__PURE__*/_jsxs(\"span\",{style:{position:\"relative\",display:\"inline-block\",width:\"100%\"},onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),children:[isDisabled&&/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:\"50%\",bottom:\"calc(100% + 10px)\",transform:showTooltip?\"translateX(-50%)\":\"translateX(-50%) translateY(4px)\",opacity:showTooltip?1:0,transition:\"opacity 120ms ease, transform 120ms ease\",pointerEvents:\"none\",zIndex:9999},children:/*#__PURE__*/_jsx(\"span\",{style:{background:\"#fff\",color:\"#111\",fontSize:12,padding:\"10px 12px\",borderRadius:12,border:\"1px solid rgba(0,0,0,0.08)\",boxShadow:\"0 10px 30px rgba(0,0,0,0.14)\",whiteSpace:\"nowrap\"},children:tooltipText})}),/*#__PURE__*/_jsx(Component,{ref:setRefs,...props,onClick:handleClick,disabled:isDisabled,\"aria-disabled\":isDisabled,variant:isDisabled?\"Disabled\":store.success?\"Success\":\"Default\",style:{...props?.style??{},cursor:isDisabled?\"not-allowed\":undefined}})]});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withFormSubmit\":{\"type\":\"reactHoc\",\"name\":\"withFormSubmit\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WebinarFormSubmit.map"],"mappings":"2mBACi/B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,mEAAhmC,KAA0M,IAAkE,IAA4B,KAAoJ,KAAyH,CAAM,EAAgB,EAAO,EAAO,IAAI,CAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,QAAQ,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,kBAAkB,UAAU,kBAAkB,CAA8Y,EAAY,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,KAAK,QAAQ,CAAO,GAAoB,EAAE,IAAI,o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