{"version":3,"file":"MultiStepForm.C3DRCbUO.mjs","names":["useRef","useState","useState","useRef","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText","useId","currentRadios","hasSelection","currentGroup","useState","useRef","formInfo","state","pageElement","pageHistory"],"sources":["https:/framerusercontent.com/modules/CAiPOh5jW8sjhKQGY1KE/c49HDh8hzE6LoUy4Q8Ea/FormPageLabel.js","https:/framerusercontent.com/modules/fPSKMdnAZGIeyDfLV8KP/n9X07y9vIPbQSgbJ1CwN/MultiStepFormButton.js","https:/framerusercontent.com/modules/scdi7CxpvE7YbQISruc8/n8XnHBXiqLbbXqvALz6J/x1uaNfBpg.js","https:/framerusercontent.com/modules/zzvX2SMxdOcIJ4cripxZ/Aj28eDDwNPRD9kJFKKjx/Checkbox.js","https:/framer.com/m/FramerFormsShared-XPyb.js@p64C0n6xNEFY9NovSiJw","https:/framerusercontent.com/modules/kKEEUOeCwPiHVEU3ooZA/fstCHlxGN5QTFQf7xYiP/MultiStepForm.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef,useState}from\"react\";import{useMultiStepFormStore,useCanvasState,getFormInfo}from\"https://framerusercontent.com/modules/DwWOdDzQZGCuvkNlbUjZ/p64C0n6xNEFY9NovSiJw/FramerFormsShared.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function FormPageLabel(props){var _props_style;const Tag=props.htmlTag||\"p\";const isCanvas=RenderTarget.current()===RenderTarget.canvas;const ref=useRef(null);const[multiStepFormState,setMultiStepFormState]=useMultiStepFormStore();const canvasState=useCanvasState(ref);const[formId,setFormId]=useState(null);const state=isCanvas?canvasState:multiStepFormState[formId];useEffect(()=>{const newFormId=getFormInfo(ref.current).formId;setFormId(newFormId);if(!multiStepFormState[newFormId]){setMultiStepFormState({});}},[]);var _state_totalPages;return /*#__PURE__*/_jsx(Tag,{\"data-framerforms\":true,ref:ref,style:{color:props.color,userSelect:props.textSelect?\"auto\":\"none\",whiteSpace:((_props_style=props.style)===null||_props_style===void 0?void 0:_props_style.width)?\"pre\":\"nowrap\",margin:0,...props.font,...props.style},children:props.text.replace(/\\[page\\]/g,(state===null||state===void 0?void 0:state.pageHistory)?state.pageHistory.length:1).replace(/\\[totalPages\\]/g,(_state_totalPages=state===null||state===void 0?void 0:state.totalPages)!==null&&_state_totalPages!==void 0?_state_totalPages:1)});}FormPageLabel.displayName=\"Form Page Label\";addPropertyControls(FormPageLabel,{text:{type:ControlType.String,defaultValue:\"Page [page] / [totalPages]\",description:\"*[page]*: current page\\n*[totalPages]*: total number of pages\"},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.4}},color:{type:ControlType.Color,defaultValue:\"#888\"},textSelect:{type:ControlType.Boolean,defaultValue:true},htmlTag:{type:ControlType.Enum,options:[\"p\",\"span\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"],title:\"HTML Tag\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormPageLabel\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useState,useRef,cloneElement}from\"react\";import{motion}from\"framer-motion\";import{borderProp,fillProp,createBackground,Border,HideElement,useMultiStepFormStore,getFormInfo}from\"https://framerusercontent.com/modules/DwWOdDzQZGCuvkNlbUjZ/p64C0n6xNEFY9NovSiJw/FramerFormsShared.js\";const CANVAS_HIDDEN_CLASS_NAME=\"framerforms-canvas-hidden\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function MultiStepFormButton(props){const prev=props.page==\"previous\";const isCanvas=RenderTarget.current()===RenderTarget.canvas;const isOptimizing=typeof window===\"undefined\";const[multiStepFormState,setMultiStepFormState]=useMultiStepFormStore();const[formId,setFormId]=useState(null);const ref=useRef(null);const state=multiStepFormState[formId];useEffect(()=>{const newFormId=getFormInfo(ref.current).formId;if(!multiStepFormState[newFormId]){setMultiStepFormState({});}setFormId(newFormId);},[]);let hidden=false;if(isOptimizing||!state){hidden=prev;}else if(state?.pageHistory){const page=state.pageHistory[state.pageHistory.length-1];if(prev){hidden=page===0;}else{hidden=state.isEndPage;}}if(hidden&&!isCanvas){return /*#__PURE__*/_jsx(HideElement,{ref:ref});}function onClick(){if(state){if(prev){state.previousPage();}else{state.nextPage();}}props.click?.();}if(props.appearance==\"custom\"){let layer=props.customLayer?.[0];const width=props.style?.width;const height=props.style?.height;if(layer&&props.style&&(width||height)){layer=/*#__PURE__*/cloneElement(layer,{style:{...layer.props.style,...width&&{width:width},...height&&{height:height}}});}return /*#__PURE__*/_jsx(\"button\",{ref:ref,type:\"button\",style:{display:\"contents\"},onClick:onClick,onMouseEnter:props.hover,children:layer});}return /*#__PURE__*/_jsxs(motion.button,{\"data-framerforms\":true,ref:ref,type:\"button\",onClick:onClick,onMouseEnter:props.hover,className:hidden&&isCanvas?CANVAS_HIDDEN_CLASS_NAME:\"\",whileFocus:{...createBackground(props.fill,null,true),borderColor:props.border?.colorFocus??props.border?.color},style:{position:\"relative\",display:\"flex\",justifyContent:props.font?.textAlign||\"center\",alignItems:\"center\",...createBackground(props.fill),border:\"none\",color:props.color,padding:props.padding,borderRadius:props.radius,userSelect:\"none\",cursor:\"pointer\",textWrap:props.style?.width==\"100%\"?undefined:\"nowrap\",boxShadow:props.shadows,borderColor:props.border?.color,backdropFilter:props.bgBlur?`blur(${props.bgBlur}px)`:undefined,...props.font,...props.style},transition:props.transition,children:[props.text,/*#__PURE__*/_jsx(Border,{...props.border}),hidden&&isCanvas&&/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n                        [data-framer-component-container=\"true\"] div:has(> .${CANVAS_HIDDEN_CLASS_NAME}) {\n                            display: none !important;\n                        }`}})]});}MultiStepFormButton.displayName=\"Multi-Step Form Button\";addPropertyControls(MultiStepFormButton,{page:{type:ControlType.Enum,defaultValue:\"next\",options:[\"previous\",\"next\"],optionTitles:[\"Previous\",\"Next\"],displaySegmentedControl:true},autoHide:{type:ControlType.Boolean,defaultValue:true,title:\"Auto-Hide\",description:\"Hide on first/last page\"},appearance:{type:ControlType.Enum,defaultValue:\"default\",options:[\"default\",\"custom\"],optionTitles:[\"Default\",\"Custom\"],displaySegmentedControl:true},customLayer:{type:ControlType.ComponentInstance,title:\"Layer\",description:\"Connect a custom layer outside the breakpoint\",hidden:props=>props.appearance!==\"custom\"},text:{type:ControlType.String,defaultValue:\"Next\",hidden:props=>props.appearance!==\"default\"},fill:fillProp({focus:true,invalid:false,color:\"#333\",colorA:\"#8C8C8C\",colorB:\"#000\",hidden:props=>props.appearance!==\"default\"}),color:{type:ControlType.Color,defaultValue:\"#FFF\",hidden:props=>props.appearance!==\"default\"},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.2},hidden:props=>props.appearance!==\"default\"},padding:{type:ControlType.Padding,defaultValue:\"10px 16px 10px 16px\",hidden:props=>props.appearance!==\"default\"},radius:{type:ControlType.BorderRadius,defaultValue:\"10px\",hidden:props=>props.appearance!==\"default\"},border:borderProp({focus:true,color:\"#0099FF00\",hidden:props=>props.appearance!==\"default\"}),shadows:{type:ControlType.BoxShadow,hidden:props=>props.appearance!==\"default\"},bgBlur:{type:ControlType.Number,min:0,max:100,step:1,displayStepper:true,title:\"BG Blur\",hidden:props=>props.appearance!==\"default\"},transition:{type:ControlType.Transition,defaultValue:{type:false},hidden:props=>props.appearance!==\"default\"},click:{type:ControlType.EventHandler},hover:{type:ControlType.EventHandler}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MultiStepFormButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MultiStepFormButton.map","// Generated by Framer (8e1ebfe)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithFX=withFX(motion.div);const enabledGestures={g4RiEHEB1:{hover:true,pressed:true}};const cycleOrder=[\"g4RiEHEB1\",\"HsFVY3VOO\",\"Vt9Q9qnY2\",\"M9ohMhMqs\",\"UhdWGioWe\",\"VON01y7os\"];const serializationHash=\"framer-BRxpi\";const variantClassNames={g4RiEHEB1:\"framer-v-1s0eg8v\",HsFVY3VOO:\"framer-v-18uv3gj\",M9ohMhMqs:\"framer-v-jut614\",UhdWGioWe:\"framer-v-kn9i8m\",VON01y7os:\"framer-v-12u504p\",Vt9Q9qnY2:\"framer-v-1e3mswf\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const FQDjzOZyk=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 Variants=motion.create(React.Fragment);const humanReadableVariantMap={Default:\"g4RiEHEB1\",Disabled:\"Vt9Q9qnY2\",Error:\"UhdWGioWe\",Loading:\"HsFVY3VOO\",Mobile:\"VON01y7os\",Success:\"M9ohMhMqs\"};const getProps=({fontSize,height,id,width,...props})=>{return{...props,FQDjzOZyk:fontSize??props.FQDjzOZyk??16,variant:humanReadableVariantMap[props.variant]??props.variant??\"g4RiEHEB1\"};};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,FQDjzOZyk,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"g4RiEHEB1\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"HsFVY3VOO\")return false;return true;};const isDisplayed1=()=>{if(baseVariant===\"HsFVY3VOO\")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-1s0eg8v\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"g4RiEHEB1\",ref:refBinding,style:{\"--border-bottom-width\":\"2px\",\"--border-color\":\"rgb(0, 74, 46)\",\"--border-left-width\":\"2px\",\"--border-right-width\":\"2px\",\"--border-style\":\"solid\",\"--border-top-width\":\"2px\",opacity:1,...style},variants:{\"g4RiEHEB1-hover\":{opacity:1},\"g4RiEHEB1-pressed\":{opacity:1},M9ohMhMqs:{opacity:1},UhdWGioWe:{opacity:1},VON01y7os:{opacity:1},Vt9Q9qnY2:{opacity:.5}},...addPropertyOverrides({\"g4RiEHEB1-hover\":{\"data-framer-name\":undefined},\"g4RiEHEB1-pressed\":{\"data-framer-name\":undefined},HsFVY3VOO:{\"data-framer-name\":\"Loading\"},M9ohMhMqs:{\"data-framer-name\":\"Success\"},UhdWGioWe:{\"data-framer-name\":\"Error\"},VON01y7os:{\"data-framer-name\":\"Mobile\"},Vt9Q9qnY2:{\"data-framer-name\":\"Disabled\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO01haXNvbiBOZXVlIEJvbGQ=\",\"--framer-font-family\":'\"Maison Neue Bold\", \"Maison Neue Bold Placeholder\", sans-serif',\"--framer-font-size\":\"calc(var(--variable-reference-FQDjzOZyk-x1uaNfBpg) * 1px)\",\"--framer-font-weight\":\"700\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-45a8b52f-150c-4cb0-b0f2-fbd6ef123b30, rgb(9, 50, 17)))\"},children:\"SEND ORDER\"})}),className:\"framer-ovm8mi\",fonts:[\"CUSTOM;Maison Neue Bold\"],layoutDependency:layoutDependency,layoutId:\"FT0xCZHhB\",style:{\"--extracted-r6o4lv\":\"var(--token-45a8b52f-150c-4cb0-b0f2-fbd6ef123b30, rgb(9, 50, 17))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-FQDjzOZyk-x1uaNfBpg\":FQDjzOZyk},variants:{UhdWGioWe:{\"--extracted-r6o4lv\":\"rgb(255, 34, 68)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({M9ohMhMqs:{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, var(--token-45a8b52f-150c-4cb0-b0f2-fbd6ef123b30, rgb(9, 50, 17)))\"},children:\"ORDER RECEIVED, THANK YOU\"})}),fonts:[\"Inter-SemiBold\"]},UhdWGioWe:{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:\"Something went wrong\"})}),fonts:[\"Inter-SemiBold\"]}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-jnh2e4\",\"data-framer-name\":\"Spinner\",layoutDependency:layoutDependency,layoutId:\"x2S_iuFHv\",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-1rbxfc2\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"qxKssZf7S\",style:{background:\"conic-gradient(from 0deg at 50% 50%, rgb(67, 90, 18) 7.208614864864882deg, rgba(67, 90, 18, 0) 342deg)\",mask:\"none\",WebkitMask:\"none\"},variants:{HsFVY3VOO:{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-1dif85c\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"qUK3awPmg\",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-BRxpi.framer-1czabom, .framer-BRxpi .framer-1czabom { display: block; }\",\".framer-BRxpi.framer-1s0eg8v { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: visible; padding: 10px 32px 7px 32px; position: relative; width: min-content; }\",\".framer-BRxpi .framer-ovm8mi { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-BRxpi .framer-jnh2e4 { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: var(--framer-aspect-ratio-supported, 20px); overflow: hidden; position: relative; width: 20px; }\",\".framer-BRxpi .framer-1rbxfc2 { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-BRxpi .framer-1dif85c { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 2px); left: 50%; overflow: visible; position: absolute; top: 0px; width: 2px; }\",\".framer-BRxpi.framer-v-18uv3gj.framer-1s0eg8v { cursor: unset; padding: 10px 32px 10px 32px; }\",\".framer-BRxpi.framer-v-18uv3gj .framer-1rbxfc2 { overflow: hidden; }\",\".framer-BRxpi.framer-v-1e3mswf.framer-1s0eg8v, .framer-BRxpi.framer-v-jut614.framer-1s0eg8v, .framer-BRxpi.framer-v-kn9i8m.framer-1s0eg8v, .framer-BRxpi.framer-v-12u504p.framer-1s0eg8v { cursor: unset; }\",'.framer-BRxpi[data-border=\"true\"]::after, .framer-BRxpi [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 36\n * @framerIntrinsicWidth 159.5\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"HsFVY3VOO\":{\"layout\":[\"auto\",\"auto\"]},\"Vt9Q9qnY2\":{\"layout\":[\"auto\",\"auto\"]},\"M9ohMhMqs\":{\"layout\":[\"auto\",\"auto\"]},\"UhdWGioWe\":{\"layout\":[\"auto\",\"auto\"]},\"VON01y7os\":{\"layout\":[\"auto\",\"auto\"]},\"F0WYueuZh\":{\"layout\":[\"auto\",\"auto\"]},\"MXB0W3klO\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"FQDjzOZyk\":\"fontSize\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framerx1uaNfBpg=withCSS(Component,css,\"framer-BRxpi\");export default Framerx1uaNfBpg;Framerx1uaNfBpg.displayName=\"Button 2\";Framerx1uaNfBpg.defaultProps={height:36,width:159.5};addPropertyControls(Framerx1uaNfBpg,{variant:{options:[\"g4RiEHEB1\",\"HsFVY3VOO\",\"Vt9Q9qnY2\",\"M9ohMhMqs\",\"UhdWGioWe\",\"VON01y7os\"],optionTitles:[\"Default\",\"Loading\",\"Disabled\",\"Success\",\"Error\",\"Mobile\"],title:\"Variant\",type:ControlType.Enum},FQDjzOZyk:{defaultValue:16,title:\"Font Size\",type:ControlType.Number}});addFonts(Framerx1uaNfBpg,[{explicitInter:true,fonts:[{cssFamilyName:\"Maison Neue Bold\",source:\"custom\",style:\"normal\",uiFamilyName:\"Maison Neue\",url:\"https://framerusercontent.com/assets/VVdQyG8gnJHTZ3Cq6wnajadczYk.woff2\",weight:\"700\"},{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\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerx1uaNfBpg\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"FQDjzOZyk\\\":\\\"fontSize\\\"}\",\"framerIntrinsicHeight\":\"36\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"159.5\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"HsFVY3VOO\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"Vt9Q9qnY2\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"M9ohMhMqs\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"UhdWGioWe\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"VON01y7os\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"F0WYueuZh\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"MXB0W3klO\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./x1uaNfBpg.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useEffect,useId,useRef,createContext,useContext}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const GroupContext=/*#__PURE__*/createContext(null);const useCheckboxGroups=createStore({groups:{},checkedCheckboxes:{}});export function withGroup(groupId){return Component=>{return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useCheckboxGroups();useEffect(()=>{if(!store.groups[groupId]){setStore({groups:{...store.groups,[groupId]:{parentUnchecked:false,parentShouldCheck:false,children:{}}}});}},[groupId]);return /*#__PURE__*/_jsx(GroupContext.Provider,{value:groupId,children:/*#__PURE__*/_jsx(Component,{ref:ref,...props})});});};}export function withParentCheckbox(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useCheckboxGroups();const groupId=useContext(GroupContext);const inputRef=useRef(null);const checkboxId=`${groupId}-parent`;if(!groupId){console.warn(\"⚠️ withParentCheckbox must be inside a withGroup wrapper!\");return /*#__PURE__*/_jsx(Component,{ref:ref,...props});}const handleChange=event=>{const checked=event.target?event.target.checked:event;console.log(`🔵 Group \"${groupId}\" parent ${checked?\"checked\":\"unchecked\"}`);// Update global checked state\nsetStore({checkedCheckboxes:{...store.checkedCheckboxes,[checkboxId]:checked}});if(!checked){console.log(`Unchecking all children in group \"${groupId}\"`);const updatedGroup={...store.groups[groupId],parentUnchecked:true};setStore({groups:{...store.groups,[groupId]:updatedGroup}});setTimeout(()=>{const resetGroup={...store.groups[groupId],parentUnchecked:false};setStore({groups:{...store.groups,[groupId]:resetGroup}});},50);}};useEffect(()=>{const group=store.groups[groupId];if(group?.parentShouldCheck&&inputRef.current){console.log(`🟢 Group \"${groupId}\" parent auto-checking`);let input=null;input=inputRef.current.querySelector('input[type=\"checkbox\"]');if(!input&&inputRef.current.type===\"checkbox\"){input=inputRef.current;}if(!input){const allInputs=inputRef.current.querySelectorAll(\"input\");input=allInputs[0];}if(!input&&props.inputName){input=document.querySelector(`input[name=\"${props.inputName}\"]`);}if(input&&!input.checked){input.checked=true;input.dispatchEvent(new Event(\"change\",{bubbles:true}));}setTimeout(()=>{const resetGroup={...store.groups[groupId],parentShouldCheck:false};setStore({groups:{...store.groups,[groupId]:resetGroup}});},50);}},[store.groups[groupId]?.parentShouldCheck]);// Check if ANY checkbox is checked across all groups\nconst hasAnySelection=Object.values(store.checkedCheckboxes).some(isChecked=>isChecked===true);const isRequired=groupId===\"groupA\"&&!hasAnySelection;console.log(`📊 Group \"${groupId}\" parent - hasAnySelection: ${hasAnySelection}, isRequired: ${isRequired}`);return /*#__PURE__*/_jsx(Component,{ref:node=>{inputRef.current=node;if(typeof ref===\"function\")ref(node);else if(ref)ref.current=node;},...props,required:isRequired,onChange:event=>{handleChange(event);if(props.onChange)props.onChange(event);}});});}export function withChildCheckbox(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useCheckboxGroups();const groupId=useContext(GroupContext);const id=useId();const inputRef=useRef(null);const checkboxId=`${groupId}-child-${id}`;if(!groupId){console.warn(\"⚠️ withChildCheckbox must be inside a withGroup wrapper!\");return /*#__PURE__*/_jsx(Component,{ref:ref,...props});}useEffect(()=>{if(store.groups[groupId]){const updatedGroup={...store.groups[groupId],children:{...store.groups[groupId].children,[id]:true}};setStore({groups:{...store.groups,[groupId]:updatedGroup}});}return()=>{if(store.groups[groupId]){const updatedChildren={...store.groups[groupId].children};delete updatedChildren[id];const updatedGroup={...store.groups[groupId],children:updatedChildren};setStore({groups:{...store.groups,[groupId]:updatedGroup}});}// Clean up from checked list\nconst newChecked={...store.checkedCheckboxes};delete newChecked[checkboxId];setStore({checkedCheckboxes:newChecked});};},[id,groupId]);useEffect(()=>{const group=store.groups[groupId];if(group?.parentUnchecked&&inputRef.current){console.log(`🟡 Group \"${groupId}\" child ${id} unchecking`);let input=null;input=inputRef.current.querySelector('input[type=\"checkbox\"]');if(!input&&inputRef.current.type===\"checkbox\"){input=inputRef.current;}if(!input){const allInputs=inputRef.current.querySelectorAll(\"input\");input=allInputs[0];}if(!input&&props.inputName){input=document.querySelector(`input[name=\"${props.inputName}\"]`);}if(input){input.checked=false;input.dispatchEvent(new Event(\"change\",{bubbles:true}));}}},[store.groups[groupId]?.parentUnchecked]);const handleChildChange=event=>{const checked=event.target?event.target.checked:event;console.log(`🟢 Group \"${groupId}\" child ${checked?\"checked\":\"unchecked\"}`);// Update global checked state\nsetStore({checkedCheckboxes:{...store.checkedCheckboxes,[checkboxId]:checked}});if(checked){console.log(`✨ Signaling parent to check`);const updatedGroup={...store.groups[groupId],parentShouldCheck:true};setStore({groups:{...store.groups,[groupId]:updatedGroup}});}if(props.onChange)props.onChange(event);};return /*#__PURE__*/_jsx(Component,{ref:node=>{inputRef.current=node;if(typeof ref===\"function\")ref(node);else if(ref)ref.current=node;},...props,onChange:handleChildChange});});}// Helper functions for common groups (proper Framer overrides)\nexport function withGroupA(Component){return withGroup(\"groupA\")(Component);}export function withGroupB(Component){return withGroup(\"groupB\")(Component);}export function withGroupC(Component){return withGroup(\"groupC\")(Component);}export function withGroupD(Component){return withGroup(\"groupD\")(Component);}export function withGroupE(Component){return withGroup(\"groupE\")(Component);}export function withGroupF(Component){return withGroup(\"groupF\")(Component);}// NEW: Store for radio buttons\nconst useRadioGroups=createStore({radioSelections:{},registeredRadios:{}});// Factory function for radio groups\nexport function withRadioRequiredGroup(groupName){return Component=>{return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useRadioGroups();const radioId=useId();const radioGroupName=props.inputName||groupName;console.log(`📻 [RENDER] Radio ${radioId} in group \"${radioGroupName}\"`);useEffect(()=>{console.log(`🔵 [MOUNT START] Radio ${radioId}`);setStore(currentStore=>{const currentRadios=currentStore.registeredRadios[radioGroupName]||{};const alreadyRegistered=currentRadios[radioId]!==undefined;console.log(`   Current radios BEFORE update:`,Object.keys(currentRadios));console.log(`   Already registered: ${alreadyRegistered}`);if(alreadyRegistered){console.log(`   ⏭️ Skipping - already registered`);return currentStore;}console.log(`   🆕 NEW radio - RESETTING group to only [${radioId}]`);const newState={...currentStore,registeredRadios:{...currentStore.registeredRadios,[radioGroupName]:{[radioId]:true}},radioSelections:{...currentStore.radioSelections,[radioGroupName]:false}};console.log(`   After update, group will have:`,Object.keys(newState.registeredRadios[radioGroupName]));return newState;});console.log(`✅ [MOUNT COMPLETE] Radio ${radioId}`);return()=>{console.log(`🗑️ [UNMOUNT] Radio ${radioId}`);setStore(currentStore=>{const currentRadios=currentStore.registeredRadios[radioGroupName]||{};const updatedRadios={...currentRadios};delete updatedRadios[radioId];if(Object.keys(updatedRadios).length===0){const newRegistered={...currentStore.registeredRadios};delete newRegistered[radioGroupName];return{...currentStore,registeredRadios:newRegistered};}return{...currentStore,registeredRadios:{...currentStore.registeredRadios,[radioGroupName]:updatedRadios}};});};},[radioId,radioGroupName]);const handleChange=event=>{setStore({radioSelections:{...store.radioSelections,[radioGroupName]:true}});if(props.onChange)props.onChange(event);};const currentRadios=store.registeredRadios[radioGroupName]||{};const sortedRadioIds=Object.keys(currentRadios).sort();const isFirstRadio=sortedRadioIds[0]===radioId;const isRequired=isFirstRadio&&!store.radioSelections[radioGroupName];console.log(`📻 [RENDER END] Radio ${radioId} - First: ${isFirstRadio}, Required: ${isRequired}`);console.log(`   All registered in group:`,sortedRadioIds);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,required:isRequired,onChange:handleChange});});};}// Helper exports for common radio groups\nexport function withRadioRequiredA(Component){return withRadioRequiredGroup(\"Budget\")(Component);}export function withRadioRequiredB(Component){return withRadioRequiredGroup(\"Start Date\")(Component);}// NEW: Store for simple checkbox groups (at least one required)\nconst useSimpleCheckboxGroups=createStore({simpleGroups:{}});// ========== NEW: SIMPLE CHECKBOX GROUPS (at least one required) ==========\nconst simpleCheckboxFirstTracking={};// ========== NEW: SIMPLE CHECKBOX GROUPS (at least one required) ==========\n// ========== NEW: SIMPLE CHECKBOX GROUPS (at least one required) ==========\nexport function withCheckboxRequiredGroup(groupName){return Component=>{return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useSimpleCheckboxGroups();const checkboxId=useId();// Initialize group and register this checkbox\nuseEffect(()=>{const currentGroup=store.simpleGroups[groupName];if(!currentGroup){console.log(`🆕 Creating NEW group \"${groupName}\" with first checkbox: ${checkboxId}`);// First checkbox - create fresh group\nsetStore({simpleGroups:{...store.simpleGroups,[groupName]:{hasSelection:false,checkboxes:{[checkboxId]:false},firstCheckboxId:checkboxId}}});}else{console.log(`📝 Registering checkbox ${checkboxId} in existing group \"${groupName}\"`);// Check if this checkbox already exists in the group\nconst alreadyRegistered=currentGroup.checkboxes[checkboxId]!==undefined;let updatedCheckboxes;let updatedFirstId;if(alreadyRegistered){// Just keep existing data\nupdatedCheckboxes=currentGroup.checkboxes;updatedFirstId=currentGroup.firstCheckboxId;}else{// NEW checkbox - this is a fresh render, reset everything\nconsole.log(`🧹 New checkbox detected, resetting group with this as first`);updatedCheckboxes={[checkboxId]:false};updatedFirstId=checkboxId// THIS checkbox becomes the new first\n;}// Recalculate hasSelection\nconst hasSelection=Object.values(updatedCheckboxes).some(isChecked=>isChecked===true);console.log(`📊 Fresh recalculation - hasSelection: ${hasSelection}, firstId: ${updatedFirstId}`);setStore({simpleGroups:{...store.simpleGroups,[groupName]:{hasSelection:hasSelection,checkboxes:updatedCheckboxes,firstCheckboxId:updatedFirstId}}});}// Cleanup on unmount\nreturn()=>{console.log(`🗑️ Unmounting checkbox ${checkboxId}`);const currentGroup=store.simpleGroups[groupName];if(currentGroup){const updatedCheckboxes={...currentGroup.checkboxes};delete updatedCheckboxes[checkboxId];// If no checkboxes left, delete the entire group\nif(Object.keys(updatedCheckboxes).length===0){console.log(`🧹 Deleting empty group \"${groupName}\"`);const newGroups={...store.simpleGroups};delete newGroups[groupName];setStore({simpleGroups:newGroups});}else{// Recalculate hasSelection\nconst hasSelection=Object.values(updatedCheckboxes).some(isChecked=>isChecked===true);setStore({simpleGroups:{...store.simpleGroups,[groupName]:{...currentGroup,hasSelection:hasSelection,checkboxes:updatedCheckboxes}}});}}};},[groupName,checkboxId]);const handleChange=event=>{const checked=event.target?event.target.checked:event;console.log(`☑️ Checkbox ${checkboxId} ${checked?\"checked\":\"unchecked\"}`);const currentGroup=store.simpleGroups[groupName];if(!currentGroup)return;const updatedCheckboxes={...currentGroup.checkboxes,[checkboxId]:checked};// Recalculate hasSelection\nconst hasSelection=Object.values(updatedCheckboxes).some(isChecked=>isChecked===true);console.log(`📊 Updated hasSelection: ${hasSelection}`);setStore({simpleGroups:{...store.simpleGroups,[groupName]:{...currentGroup,hasSelection:hasSelection,checkboxes:updatedCheckboxes}}});if(props.onChange)props.onChange(event);};// Check if this is the first checkbox\nconst isFirstCheckbox=store.simpleGroups[groupName]?.firstCheckboxId===checkboxId;const hasSelection=store.simpleGroups[groupName]?.hasSelection||false;const isRequired=isFirstCheckbox&&!hasSelection;console.log(`☑️ ${checkboxId} - First: ${isFirstCheckbox}, Required: ${isRequired}, HasSelection: ${hasSelection}`);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,required:isRequired,onChange:handleChange});});};}// Helper exports for common simple checkbox groups\nexport function withCheckboxRequiredA(Component){return withCheckboxRequiredGroup(\"checkboxGroupA\")(Component);}export function withCheckboxRequiredB(Component){return withCheckboxRequiredGroup(\"checkboxGroupB\")(Component);}export function withCheckboxRequiredC(Component){return withCheckboxRequiredGroup(\"checkboxGroupC\")(Component);}\nexport const __FramerMetadata__ = {\"exports\":{\"withGroupA\":{\"type\":\"reactHoc\",\"name\":\"withGroupA\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withChildCheckbox\":{\"type\":\"reactHoc\",\"name\":\"withChildCheckbox\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGroupB\":{\"type\":\"reactHoc\",\"name\":\"withGroupB\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCheckboxRequiredB\":{\"type\":\"reactHoc\",\"name\":\"withCheckboxRequiredB\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGroupC\":{\"type\":\"reactHoc\",\"name\":\"withGroupC\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCheckboxRequiredA\":{\"type\":\"reactHoc\",\"name\":\"withCheckboxRequiredA\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGroupF\":{\"type\":\"reactHoc\",\"name\":\"withGroupF\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRadioRequiredGroup\":{\"type\":\"reactComponent\",\"name\":\"withRadioRequiredGroup\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCheckboxRequiredGroup\":{\"type\":\"reactComponent\",\"name\":\"withCheckboxRequiredGroup\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGroupD\":{\"type\":\"reactHoc\",\"name\":\"withGroupD\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCheckboxRequiredC\":{\"type\":\"reactHoc\",\"name\":\"withCheckboxRequiredC\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRadioRequiredB\":{\"type\":\"reactHoc\",\"name\":\"withRadioRequiredB\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGroup\":{\"type\":\"reactComponent\",\"name\":\"withGroup\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"withParentCheckbox\":{\"type\":\"reactHoc\",\"name\":\"withParentCheckbox\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRadioRequiredA\":{\"type\":\"reactHoc\",\"name\":\"withRadioRequiredA\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGroupE\":{\"type\":\"reactHoc\",\"name\":\"withGroupE\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Checkbox.map","/*\n * FramerFormsShared\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/DwWOdDzQZGCuvkNlbUjZ/p64C0n6xNEFY9NovSiJw/FramerFormsShared.js\"\n","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,withCSS}from\"framer\";import{useState,useEffect,useRef}from\"react\";import{useInstanceId,HiddenComponentLabel,useMultiStepFormStore,getFormInfo,isAncestor}from\"https://framer.com/m/FramerFormsShared-XPyb.js@p64C0n6xNEFY9NovSiJw\";const OPTIMIZATION_CLASS_NAME=\"framerforms-multi-step-form\";const SUBMIT_BUTTON_HIDDEN_ATTRIBUTE=\"framerforms-submit-button-hidden\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */function MultiStepFormComponent(props){const{scrollToTop}=props;const id=useInstanceId();const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[multiStepFormState,setMultiStepFormState]=useMultiStepFormStore();const[formInfo,setFormInfo]=useState(null);const stateRef=useRef(multiStepFormState[formInfo?.formId]);const ref=useRef(null);const pageVideosRef=useRef({});const isFirstRenderRef=useRef(true);const[initialized,setInitialized]=useState(false);const state=multiStepFormState[formInfo?.formId];const pageHistory=state?.pageHistory;useEffect(()=>{const formInfo=getFormInfo(ref.current);setFormInfo(formInfo);const{formId,form,pages}=formInfo;function previousPage(){const pageHistory=stateRef.current?.pageHistory;if(pageHistory?.length>1){setMultiStepFormState(prev=>({[formId]:{...prev[formId],pageHistory:prev[formId].pageHistory.slice(0,-1),isEndPage:false}}));}}function nextPage(){const state=stateRef.current;if(state){const page=state.pageHistory[state.pageHistory.length-1];const{logicConfigs}=state;let newPage=null;if(logicConfigs.length&&pages){const pageElement=pages.children?.[page];for(const logic of logicConfigs){if(isAncestor(pageElement,logic.ref.current)){const nextPageName=logic.getNextPage();if(nextPageName){const nextPageIndex=getChildIndexByDataFramerName(pages,nextPageName);if(nextPageIndex!==-1){newPage=nextPageIndex;}break;}}}}if(newPage===null&&page<state.totalPages-1){newPage=page+1;}const pageElement=pages.children[page];if(pageElement&&!isFormValid(pageElement)){newPage=null;}if(newPage){setMultiStepFormState(prev=>{const prevState=prev[formId];return{[formId]:{...prevState,pageHistory:[...prevState.pageHistory,newPage],isEndPage:isPageAnEndPage(newPage,prevState,pages,props.endPage,props.endPageCustom)}};});}}}function setPageHistoryLength(newLength){setMultiStepFormState(prev=>{const pageHistory=prev[formId]?.pageHistory??[];return{[formId]:{...prev[formId],pageHistory:newLength>=pageHistory.length?pageHistory:pageHistory.slice(0,newLength),isEndPage:isPageAnEndPage(pageHistory[newLength-1],prev[formId],pages,props.endPage,props.endPageCustom)}};});}if(formId&&pages){setMultiStepFormState({[formId]:{totalPages:pages.children.length,pageHistory:[0],logicConfigs:[],isEndPage:pages.children.length==1,previousPage,nextPage,setPageHistoryLength}});}if(pages){const pageElements=pages.children;for(let i=0;i<pageElements.length;i++){const videos=pageElements[i].querySelectorAll(\"video\");if(!pageVideosRef.current[i]){pageVideosRef.current[i]=[];}for(const video of videos){pageVideosRef.current[i].push(video);if(video.hasAttribute(\"autoplay\")&&i!==0){const pauseVideo=()=>{if(!video.paused){setTimeout(()=>{if(!video.paused){video.pause();}},100)// 100 milliseconds = 0.1 seconds\n;}};if(!video.paused){// Video is already playing, pause it immediately\npauseVideo();}else{// Wait for the video to start playing, then pause it\nvideo.addEventListener(\"play\",pauseVideo,{once:true});}}}}}let unmountFunction=null;if(form){function onEnterPress(event){if(event.key!==\"Enter\"||event.target.tagName===\"TEXTAREA\"){return;}const currentInput=event.target;let previousElement=currentInput;let foundPage=false;while(previousElement&&!foundPage){const newElement=previousElement.parentElement;if(newElement==pages){foundPage=true;break;}previousElement=newElement;}const currentPage=previousElement;let stopEvent=true;if(currentPage){const inputs=getInputsOnPage(currentPage);const currentIndex=inputs.indexOf(currentInput);if(currentIndex<inputs.length-1){// Focus the next input on the current page\ninputs[currentIndex+1].focus();}else{const pageElements=Array.from(pages.children);const pageIndex=pageElements.indexOf(currentPage);if(pageIndex<pageElements.length-1){nextPage();}else{// Let the form submit if it's the last page\nstopEvent=false;}}}if(stopEvent){event.preventDefault();event.stopPropagation();}}// Override Enter key press event\nform.addEventListener(\"keydown\",onEnterPress,true);unmountFunction=()=>{form.removeEventListener(\"keydown\",onEnterPress,true);};}if(unmountFunction){return unmountFunction;}},[]);useEffect(()=>{stateRef.current=state;},[state]);useEffect(()=>{if(state&&(!isCanvas||ref.current?.closest('[data-framer-component-container=\"true\"]'))){const submitButton=formInfo.form?.querySelector('button[type=\"submit\"]')?.parentElement;if(submitButton){submitButton.setAttribute(SUBMIT_BUTTON_HIDDEN_ATTRIBUTE,state.isEndPage?\"false\":\"true\");}}},[state?.isEndPage]);useEffect(()=>{const pages=formInfo?.pages;if(pages&&pageHistory){// Enable/disable form inputs on pages that have not been visited for submit validation\nif(state?.logicConfigs?.length||props.endPage==\"customPages\"){for(let i=0;i<pages.children.length;i++){if(pageHistory.includes(i)){const inputs=pages.children[i]?.querySelectorAll(`input[name][disabled=\"FramerForms\"], select[name][disabled=\"FramerForms\"], textarea[name][disabled=\"FramerForms\"]`);for(const input of inputs){input.removeAttribute(\"disabled\");}}else{const inputs=pages.children[i]?.querySelectorAll(\"input[name]:not([disabled]), select[name]:not([disabled]), textarea[name]:not([disabled])\");for(const input of inputs){input.setAttribute(\"disabled\",\"FramerForms\");}}}}// Play/pause videos on form pages\nconst currentPage=pageHistory[pageHistory.length-1];if(pageVideosRef.current){for(const pageIndex of Object.keys(pageVideosRef.current)){const pageVideos=pageVideosRef.current[pageIndex];for(const video of pageVideos){if(pageIndex==currentPage){if(video.hasAttribute(\"autoplay\")){video.play();}}else if(!video.paused){video.pause();}}}}// Scroll to top of form\nif(scrollToTop&&formInfo.form&&!isFirstRenderRef.current){const rect=formInfo.form.getBoundingClientRect();const top=rect.top-scrollToTop.offset;const topIsInView=top>=0&&top<=window.innerHeight;if(!topIsInView){const windowScrollTop=window.pageYOffset||document.documentElement.scrollTop;window.scrollTo({top:windowScrollTop+top,behavior:scrollToTop.scrollStyle});}}if(!isFirstRenderRef.current){autoFocusInputOnPage(pages.children[currentPage]);}isFirstRenderRef.current=false;}fireAnalyticsEvent(props.analytics,pageHistory,formInfo?.pages);},[pageHistory]);useEffect(()=>{setInitialized(true);},[]);return /*#__PURE__*/_jsxs(HiddenComponentLabel,{text:\"Multi-Step Form\",children:[/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 452 60\",width:\"121\",height:\"16\",style:{marginBottom:5},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M 58.178 27.448 L 58.178 0.912 L 33.172 0.912 C 14.852 0.912 0 15.76 0 34.08 L 0 59.086 L 58.178 59.086 L 58.178 27.46 C 58.172 44.93 44.008 59.09 26.538 59.09 L 26.538 27.45 L 58.178 27.45 Z\",fill:\"#473DFE\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M 452.004 36.088 C 452.004 43.208 446.328 47.872 437.336 47.872 C 428.342 47.872 422.57 43.112 421.946 35.464 L 431.132 35.464 C 431.228 38.734 433.392 40.802 437.142 40.802 C 440.268 40.802 442.336 39.6 442.336 37.436 C 442.336 35.944 440.846 34.838 438.826 34.454 L 432.526 33.252 C 426.996 32.192 423.34 28.972 423.34 23.392 C 423.34 16.948 429.016 12.426 436.758 12.426 C 444.982 12.426 450.898 17.14 451.426 24.594 L 442.24 24.594 C 442 21.468 439.884 19.448 436.854 19.448 C 434.162 19.448 432.526 20.892 432.526 22.768 C 432.526 24.306 434.064 25.22 435.892 25.556 L 442.578 26.856 C 448.734 28.056 452.004 31.086 452.004 36.088 Z M 395.384 47.39 L 387.978 27.48 L 387.978 47.39 L 379.754 47.39 L 379.754 12.86 L 390.478 12.86 L 399.184 36.28 L 407.84 12.86 L 418.566 12.86 L 418.566 47.39 L 410.342 47.39 L 410.342 27.24 L 402.886 47.39 Z M 355.758 47.39 L 346.668 47.39 L 346.668 12.86 L 360.808 12.86 C 370.138 12.86 375.476 17.044 375.476 24.402 C 375.476 28.826 372.83 32.482 368.166 34.454 L 376.63 47.39 L 365.81 47.39 L 358.74 35.896 L 355.758 35.896 Z M 355.758 20.362 L 355.758 28.394 L 360.422 28.394 C 364.462 28.394 366.338 27.144 366.338 24.402 C 366.338 21.662 364.462 20.362 360.422 20.362 Z M 325.08 48.112 C 315.124 48.112 307.286 40.562 307.286 30.076 C 307.286 19.592 315.124 12.138 325.08 12.138 C 335.084 12.138 342.922 19.592 342.922 30.078 C 342.922 40.562 335.084 48.112 325.08 48.112 Z M 325.08 39.984 C 330.514 39.984 333.544 35.512 333.544 30.076 C 333.544 24.642 330.514 20.266 325.08 20.266 C 319.646 20.266 316.616 24.642 316.616 30.078 C 316.616 35.512 319.646 39.984 325.08 39.984 Z M 291.034 47.39 L 281.946 47.39 L 281.946 12.86 L 305.462 12.86 L 305.462 20.748 L 291.034 20.748 L 291.034 27.144 L 303.106 27.144 L 303.106 35.032 L 291.034 35.032 L 291.034 47.392 Z M 257.946 47.39 L 248.856 47.39 L 248.856 12.86 L 262.994 12.86 C 272.326 12.86 277.664 17.044 277.664 24.402 C 277.664 28.826 275.018 32.482 270.354 34.454 L 278.818 47.39 L 267.996 47.39 L 260.926 35.896 L 257.946 35.896 Z M 257.946 20.362 L 257.946 28.394 L 262.61 28.394 C 266.65 28.394 268.526 27.144 268.526 24.402 C 268.526 21.662 266.65 20.362 262.61 20.362 Z M 244.616 39.504 L 244.616 47.392 L 220.184 47.392 L 220.184 12.86 L 244.278 12.86 L 244.278 20.748 L 229.274 20.748 L 229.274 25.7 L 242.884 25.7 L 242.884 33.588 L 229.274 33.588 L 229.274 39.504 Z M 191.216 47.39 L 183.81 27.48 L 183.81 47.39 L 175.586 47.39 L 175.586 12.86 L 186.31 12.86 L 195.016 36.28 L 203.672 12.86 L 214.398 12.86 L 214.398 47.39 L 206.174 47.39 L 206.174 27.24 L 198.718 47.39 L 191.218 47.39 Z M 163.08 47.39 L 160.966 40.994 L 148.846 40.994 L 146.682 47.39 L 137.496 47.39 L 150.288 12.86 L 160.244 12.86 L 172.892 47.39 L 163.082 47.39 Z M 155.002 22.864 L 151.298 33.828 L 158.61 33.828 L 155 22.864 Z M 116.574 47.39 L 107.484 47.39 L 107.484 12.86 L 121.624 12.86 C 130.954 12.86 136.292 17.044 136.292 24.402 C 136.292 28.826 133.648 32.482 128.982 34.454 L 137.446 47.39 L 126.626 47.39 L 119.556 35.896 L 116.574 35.896 Z M 116.574 20.362 L 116.574 28.394 L 121.24 28.394 C 125.28 28.394 127.154 27.144 127.154 24.402 C 127.154 21.662 125.278 20.362 121.24 20.362 Z M 89.214 47.39 L 80.126 47.39 L 80.126 12.86 L 103.64 12.86 L 103.64 20.748 L 89.212 20.748 L 89.212 27.144 L 101.284 27.144 L 101.284 35.032 L 89.212 35.032 L 89.212 47.392 Z\",fill:\"#999\"})]}),/*#__PURE__*/_jsxs(\"div\",{ref:ref,id:id,\"data-framerforms-multi-step-form\":true,className:!initialized&&!isCanvas?OPTIMIZATION_CLASS_NAME:\"\",style:{display:\"none\"},children:[initialized&&!isCanvas&&/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`form[framerforms-id=\"${formInfo?.formId}\"] > [data-framer-name=\"Pages\" i] > *:not(:nth-child(${pageHistory?pageHistory[pageHistory.length-1]+1:1})) { display: none; }`}}),isCanvas&&/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`[data-framer-component-container=\"true\"] form[framerforms-id=\"${formInfo?.formId}\"] > [data-framer-name=\"Pages\" i] > *:not(:first-child) { display: none; }`}})]})]});}const MultiStepForm=withCSS(MultiStepFormComponent,[`form:has(.${OPTIMIZATION_CLASS_NAME}) > [data-framer-name=\"Pages\" i] > *:not(:first-child) { display: none; }`,`form:has(.${OPTIMIZATION_CLASS_NAME}) div:has(> button[type=\"submit\"]) { display: none; }`,`[${SUBMIT_BUTTON_HIDDEN_ATTRIBUTE}=\"true\"] { display: none; }`],OPTIMIZATION_CLASS_NAME);export default MultiStepForm;MultiStepForm.displayName=\"Multi-Step Form\";addPropertyControls(MultiStepForm,{endPage:{type:ControlType.Enum,defaultValue:\"lastPage\",options:[\"lastPage\",\"customPages\"],optionTitles:[\"Last Page\",\"Custom Pages\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},endPageCustom:{type:ControlType.Array,control:{type:ControlType.String,defaultValue:\"\",placeholder:\"Page Layer Name\",preventLocalization:true},title:\"Pages\",description:\"List of page names where the submit button is shown\",hidden:props=>props.endPage!==\"customPages\"},analytics:{type:ControlType.Object,optional:true,icon:\"interaction\",controls:{platform:{type:ControlType.Enum,options:[\"googleAnalytics\"],optionTitles:[\"Google Analytics 4\"]},googleAnalyticsEventName:{type:ControlType.String,placeholder:\"Event Name\",title:\"Event Name\",preventLocalization:true,hidden:props=>props.platform!==\"googleAnalytics\"},googleAnalyticsEventCategory:{type:ControlType.String,placeholder:\"Optional\",title:\"Category\",description:\"Make sure the Google Analytics 4 script is installed\",preventLocalization:true,hidden:props=>props.platform!==\"googleAnalytics\"}}},scrollToTop:{type:ControlType.Object,optional:true,title:\"Scroll to Top\",controls:{scrollStyle:{type:ControlType.Enum,defaultValue:\"smooth\",options:[\"smooth\",\"instant\"],optionTitles:[\"Smooth\",\"Instant\"],displaySegmentedControl:true,title:\"Scroll\"},offset:{type:ControlType.Number,defaultValue:32,step:1,description:\"When previous or next button is pressed, scroll to the top of the form with an offset\"}}}});//////////////////////////////////////////////////////////////\nfunction isFormValid(element){const inputs=element.querySelectorAll(\"input, select, textarea\");let invalidInputs=[];for(const input of inputs){if(isVisible(input)&&!input.reportValidity()){invalidInputs.push(input);}}// if (invalidInputs.length > 0) {\n//     console.log(\n//         \"Invalid inputs: \",\n//         invalidInputs.map((input) => input.name || input.type).join(\", \")\n//     )\n// }\nreturn invalidInputs.length===0;}function isVisible(element){return element.offsetParent!==null||element.type==\"hidden\";}function getChildIndexByDataFramerName(parentElement,name){const children=parentElement.children;for(let i=0;i<children.length;i++){if(children[i].getAttribute(\"data-framer-name\")===name){return i;}}return-1// Return -1 if no child with the specified attribute value is found\n;}function isPageAnEndPage(pageIndex,state,pages,endPageMode,customEndPages){let isEndPage=false;if(endPageMode===\"customPages\"&&pages){const step=pages.children[pageIndex];if(customEndPages.includes(step.getAttribute(\"data-framer-name\"))){isEndPage=true;}}else{isEndPage=pageIndex==state.totalPages-1;}return isEndPage;}function fireAnalyticsEvent(analytics,pageHistory,pages){if(!analytics||!pageHistory||!pages){return;}switch(analytics.platform){case\"googleAnalytics\":if(typeof window!==\"undefined\"){if(typeof window.gtag!==\"undefined\"){const pageIndex=pageHistory[pageHistory.length-1];const page=pages?.children[pageIndex];const params={page_name:page?.getAttribute(\"data-framer-name\")||page?.getAttribute(\"name\")||`Page ${pageIndex+1}`};if(analytics.googleAnalyticsEventCategory){params.event_category=analytics.googleAnalyticsEventCategory;}window.gtag(\"event\",analytics.googleAnalyticsEventName,params);}else{console.error(\"Google Analytics gtag.js script is not installed.\");}}break;}}function getInputsOnPage(page){return Array.from(page.querySelectorAll('input:not([type=\"hidden\"]):not([disabled]):not([name=\"\"]):not([tabindex=\"-1\"]):not([data-framerforms-set-value-event]), textarea:not([disabled]):not([name=\"\"]):not([tabindex=\"-1\"]), select:not([disabled]):not([name=\"\"]):not([tabindex=\"-1\"]), button:not([disabled]):not([tabindex=\"-1\"])')).filter(el=>window.getComputedStyle(el).display!==\"none\");}function autoFocusInputOnPage(pageElement){if(!pageElement){return;}// Get all potential autofocus elements\nconst autofocusElements=pageElement.querySelectorAll(\"input[autofocus], select[autofocus], textarea[autofocus]\");// Convert NodeList to Array for easier manipulation\nconst elements=Array.from(autofocusElements);// Filter out hidden elements\nconst visibleElements=elements.filter(el=>{const style=window.getComputedStyle(el);return style.display!==\"none\"&&style.visibility!==\"hidden\"&&!el.hidden&&!el.disabled&&el.offsetParent!==null// Check if the element is rendered\n;});// If there are visible autofocus elements, focus the first one\nif(visibleElements.length>0){visibleElements[0].focus();}}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MultiStepForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MultiStepForm.map"],"mappings":"gkBAIG,SAAwB,EAAc,EAAM,CAAkB,IAAM,EAAI,EAAM,SAAS,IAAU,EAAS,EAAa,SAAS,GAAG,EAAa,OAAa,EAAIA,EAAO,KAAK,CAAM,CAAC,EAAmB,GAAuB,GAAuB,CAAO,EAAY,GAAe,EAAI,CAAM,CAAC,EAAO,GAAWC,EAAS,KAAK,CAAO,EAAM,EAAS,EAAY,EAAmB,GAAsL,OAA9K,MAAc,CAAC,IAAM,EAAU,EAAY,EAAI,QAAQ,CAAC,OAAO,EAAU,EAAU,CAAK,EAAmB,IAAY,EAAsB,EAAE,CAAC,EAAI,EAAE,CAAC,CAA2C,EAAK,EAAI,CAAC,mBAAmB,GAAS,MAAI,MAAM,CAAC,MAAM,EAAM,MAAM,WAAW,EAAM,WAAW,OAAO,OAAO,WAA0B,EAAM,OAAyD,MAAO,MAAM,SAAS,OAAO,EAAE,GAAG,EAAM,KAAK,GAAG,EAAM,MAAM,CAAC,SAAS,EAAM,KAAK,QAAQ,YAAa,GAA0C,YAAa,EAAM,YAAY,OAAO,EAAE,CAAC,QAAQ,kBAAqC,GAA0C,YAAiE,EAAE,CAAC,CAAC,mBAJpjC,IAAiE,IAA6C,IAAmK,CAIqyB,EAAc,YAAY,kBAAkB,EAAoB,EAAc,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,aAAa,6BAA6B,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