{"version":3,"file":"FormStatus.CXV1upnv.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","sharedStyle.className","className","RichText","sharedStyle.css","sharedStyle.fonts","useRef","useState","useSyncExternalStore","useState","useRef"],"sources":["https:/framerusercontent.com/modules/ATgC32dw5LNEqVk6CbnH/PXHDrc7lIX7RTGUaJeBB/FSN22sefW.js","https:/framerusercontent.com/modules/S3UoPF7Z5EVtPdanFiwA/AGddjGGGPb8CuIv8oUZX/FormErrors.js","https:/framerusercontent.com/modules/tMm4yStlTc2daT2mHPYq/wxllAFnHhO3QJw80PHMA/FormStatus.js"],"sourcesContent":["// Generated by Framer (5186692)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/mRwvdBUrBicwv84pSnlM/6pysB1HTUQfAkMTI6QKw/yp9Z0oL12.js\";const enabledGestures={jBXaosP6s:{hover:true}};const cycleOrder=[\"jBXaosP6s\",\"INMJgEXT_\",\"MuyYGFEE6\",\"zwXKueGwn\"];const serializationHash=\"framer-V37rD\";const variantClassNames={INMJgEXT_:\"framer-v-1hjonvd\",jBXaosP6s:\"framer-v-1jkakar\",MuyYGFEE6:\"framer-v-slk5uf\",zwXKueGwn:\"framer-v-5ua1qr\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const qpuWnzwWh=undefined;const transition1={delay:0,duration:.15,ease:[.25,.1,.25,1],type:\"tween\"};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:\"jBXaosP6s\",Error:\"zwXKueGwn\",Loading:\"INMJgEXT_\",Success:\"MuyYGFEE6\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,label,width,...props})=>{return{...props,qpuWnzwWh:label??props.qpuWnzwWh??\"Request a demo\",variant:humanReadableVariantMap[props.variant]??props.variant??\"jBXaosP6s\"};};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,qpuWnzwWh,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"jBXaosP6s\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1jkakar\",className,classNames),\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"jBXaosP6s\",ref:refBinding,style:{\"--border-bottom-width\":\"0px\",\"--border-color\":\"rgba(0, 0, 0, 0)\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\",backgroundColor:\"var(--token-3e7a2f47-ecf8-411b-ba36-dead48dbdd33)\",borderBottomLeftRadius:4,borderBottomRightRadius:4,borderTopLeftRadius:4,borderTopRightRadius:4,opacity:1,...style},variants:{\"jBXaosP6s-hover\":{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",backgroundColor:\"rgba(19, 21, 21, 0.85)\",opacity:1},INMJgEXT_:{opacity:.5},MuyYGFEE6:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-ffc2b181-4581-48b0-b0e1-16e47e5c65ad)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"var(--token-8e1c1e4e-a882-4be1-a3e6-003e89aabf5b)\",opacity:1},zwXKueGwn:{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",opacity:1}},...addPropertyOverrides({INMJgEXT_:{\"data-framer-name\":\"Loading\"},MuyYGFEE6:{\"data-border\":true,\"data-framer-name\":\"Success\"},zwXKueGwn:{\"data-framer-name\":\"Error\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1djysts\",\"data-styles-preset\":\"yp9Z0oL12\",dir:\"auto\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-e6a2480e-8644-463e-9314-5c7eb8dc004d))\"},children:\"Label\"})}),className:\"framer-b0r5s1\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"Er2gksI10\",style:{\"--extracted-r6o4lv\":\"var(--token-e6a2480e-8644-463e-9314-5c7eb8dc004d)\"},text:qpuWnzwWh,variants:{MuyYGFEE6:{\"--extracted-r6o4lv\":\"var(--token-3e7a2f47-ecf8-411b-ba36-dead48dbdd33)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({INMJgEXT_:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1djysts\",\"data-styles-preset\":\"yp9Z0oL12\",dir:\"auto\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-e6a2480e-8644-463e-9314-5c7eb8dc004d))\"},children:\"Sending…\"})}),text:undefined},MuyYGFEE6:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1djysts\",\"data-styles-preset\":\"yp9Z0oL12\",dir:\"auto\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-3e7a2f47-ecf8-411b-ba36-dead48dbdd33))\"},children:\"Thanks. We’ll be in touch shortly.\"})}),text:undefined},zwXKueGwn:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1djysts\",\"data-styles-preset\":\"yp9Z0oL12\",dir:\"auto\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-e6a2480e-8644-463e-9314-5c7eb8dc004d))\"},children:\"Something went wrong. Try again.\"})}),text:undefined}},baseVariant,gestureVariant)})})})})});});const css=[\".framer-V37rD.framer-14o47rv, .framer-V37rD .framer-14o47rv { display: block; }\",\".framer-V37rD.framer-1jkakar { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 6px; height: 48px; justify-content: center; padding: 0px 24px 0px 24px; position: relative; width: min-content; }\",\".framer-V37rD .framer-b0r5s1 { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-V37rD.framer-v-1hjonvd.framer-1jkakar, .framer-V37rD.framer-v-slk5uf.framer-1jkakar { cursor: default; }\",...sharedStyle.css,'.framer-V37rD[data-border=\"true\"]::after, .framer-V37rD [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 48\n * @framerIntrinsicWidth 154\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"INMJgEXT_\":{\"layout\":[\"auto\",\"fixed\"]},\"MuyYGFEE6\":{\"layout\":[\"auto\",\"fixed\"]},\"zwXKueGwn\":{\"layout\":[\"auto\",\"fixed\"]},\"lHe66BLxG\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"qpuWnzwWh\":\"label\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerFSN22sefW=withCSS(Component,css,\"framer-V37rD\");export default FramerFSN22sefW;FramerFSN22sefW.displayName=\"Submit Button\";FramerFSN22sefW.defaultProps={height:48,width:154};addPropertyControls(FramerFSN22sefW,{variant:{options:[\"jBXaosP6s\",\"INMJgEXT_\",\"MuyYGFEE6\",\"zwXKueGwn\"],optionTitles:[\"Default\",\"Loading\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum},qpuWnzwWh:{defaultValue:\"Request a demo\",title:\"Label\",type:ControlType.String},onqpuWnzwWhChange:{changes:\"qpuWnzwWh\",type:ControlType.ChangeHandler}});addFonts(FramerFSN22sefW,[{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)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerFSN22sefW\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerIntrinsicHeight\":\"48\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"qpuWnzwWh\\\":\\\"label\\\"}\",\"framerIntrinsicWidth\":\"154\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"INMJgEXT_\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"MuyYGFEE6\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"zwXKueGwn\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"lHe66BLxG\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FSN22sefW.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/* ─────────────────────────────────────────────────────────\n * FORM ERRORS — the product Storybook's field errors for a Framer form\n *\n * Place one inside a form frame, under the submit button. It takes over the\n * browser's validation display for the enclosing <form>:\n *\n *   submit with a problem   no native bubble; each invalid field gets a red\n *                           line, its message joins one red 13px list here,\n *                           under the button, and the first field takes focus\n *   message                 \"<Label> is required.\" for an empty field\n *                           (\"Enter an answer.\" when the label is a question),\n *                           \"Enter a valid email address.\" for a bad email, or\n *                           the field's own custom message (the toggle buttons'\n *                           \"Select at least one option.\")\n *   typing / choosing       a field's line and message clear once it's valid\n *\n * The label never turns red. Text fields take the red line through Framer's own\n * border variables; toggle groups keep their buttons as they are.\n * ───────────────────────────────────────────────────────── */const RED=\"var(--token-81162471-6af4-47f7-a10f-9cd3ef4cbef2, #eb3433)\";const FONT=`\"ABC Oracle Book\", \"ABC Oracle Book Placeholder\", sans-serif`;let uid=0;const idOf=new WeakMap;const keyFor=el=>{if(!idOf.has(el))idOf.set(el,`form-error-${++uid}`);return idOf.get(el);};const clean=t=>(t??\"\").replace(/[⁠ *\\s]+$/u,\"\").trim();/** The question a control answers: its own <label>'s text, or for a toggle group the text just above it. */function labelFor(el){const group=el.closest(\"fieldset\");const own=el.closest(\"label\")?.querySelector(\"p\");if(own&&!group)return clean(own.textContent);let node=group??el;while(node&&node!==document.body){const prev=node.previousElementSibling;const p=prev?.matches(\"p\")?prev:prev?.querySelector(\"p\");if(p)return clean(p.textContent);node=node.parentElement;}return el.getAttribute(\"name\")??\"This field\";}function messageFor(el,emailMessage){const v=el.validity;if(v.customError)return el.validationMessage;if(v.valueMissing){const label=labelFor(el);// a question reads badly as \"…? is required.\"\nreturn label.endsWith(\"?\")?\"Enter an answer.\":`${label} is required.`;}if(v.typeMismatch&&el.type===\"email\")return emailMessage;return el.validationMessage;}/** The text field's box (it takes the red line); toggle groups have none. */const boxOf=el=>el.closest(\".framer-form-input-wrapper\");function markInvalid(el,id){el.setAttribute(\"aria-invalid\",\"true\");el.setAttribute(\"aria-describedby\",id);const box=boxOf(el);box?.style.setProperty(\"--framer-input-border-color\",RED);box?.style.setProperty(\"--framer-input-focused-border-color\",RED);}function markValid(el){el.removeAttribute(\"aria-invalid\");el.removeAttribute(\"aria-describedby\");const box=boxOf(el);box?.style.removeProperty(\"--framer-input-border-color\");box?.style.removeProperty(\"--framer-input-focused-border-color\");}/* Field rules beyond what the browser checks. A rule sets the field's custom validity, so the browser blocks the\n   submit and the message joins the list like any other error. Empty is left to the field's own \"required\". */const RULES={// the Join the team form: linkedin.com or a subdomain, with or without https:// and a path\nlinkedin:{test:/^(https?:\\/\\/)?([a-z0-9-]+\\.)*linkedin\\.com(\\/\\S*)?$/i,message:\"Enter your LinkedIn profile URL, e.g. linkedin.com/in/janedoe\"}};function applyRule(el){const rule=RULES[el.getAttribute(\"name\")??\"\"];if(!rule||el instanceof HTMLSelectElement)return;const v=el.value.trim();el.setCustomValidity(!v||rule.test.test(v)?\"\":rule.message);}/** Form order, so the list reads top to bottom like the fields. */const inOrder=(a,b)=>a.el.compareDocumentPosition(b.el)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1;/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 400\n */export default function FormErrors(props){const{emailMessage=\"Enter a valid email address.\",style}=props;const ref=useRef(null);const[errors,setErrors]=useState([]);useEffect(()=>{const form=ref.current?.closest(\"form\");if(!form)return;let focused=false;const put=el=>{const id=keyFor(el);const text=messageFor(el,emailMessage);markInvalid(el,id);setErrors(list=>[...list.filter(e=>e.el!==el),{id,el,text}].sort(inOrder));};const drop=el=>{markValid(el);setErrors(list=>list.filter(e=>e.el!==el));};const onInvalid=e=>{const el=e.target;e.preventDefault()// no native bubble\n;put(el);if(!focused){focused=true;el.focus({preventScroll:true});(boxOf(el)??el).scrollIntoView({block:\"center\",behavior:\"smooth\"});requestAnimationFrame(()=>focused=false);}};const onEdit=e=>{const el=e.target;if(!el.validity)return;applyRule(el);// a toggle group validates through its first checkbox\nconst group=el.closest(\"fieldset\");const target=(group?.querySelector(\"input\"))??el;if(!target.hasAttribute(\"aria-invalid\"))return;// read validity without firing another invalid event (that would refocus and scroll)\nif(target.validity.valid)drop(target);else put(target);};// rules start valid-or-not from whatever is already filled (autofill, back navigation)\nform.querySelectorAll(\"input, textarea\").forEach(el=>applyRule(el));form.addEventListener(\"invalid\",onInvalid,true);form.addEventListener(\"input\",onEdit,true);form.addEventListener(\"change\",onEdit,true);return()=>{form.removeEventListener(\"invalid\",onInvalid,true);form.removeEventListener(\"input\",onEdit,true);form.removeEventListener(\"change\",onEdit,true);};},[emailMessage]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,role:\"alert\",style:{width:\"100%\",...style},children:errors.length?/*#__PURE__*/_jsx(\"ul\",{style:{margin:0,padding:0,listStyle:\"none\",display:\"grid\",gap:4},children:errors.map(e=>/*#__PURE__*/_jsx(\"li\",{id:e.id,style:{fontFamily:FONT,fontSize:13,lineHeight:1.4,letterSpacing:\"-0.01em\",color:RED},children:e.text},e.id))}):null});}FormErrors.defaultProps={emailMessage:\"Enter a valid email address.\"};addPropertyControls(FormErrors,{emailMessage:{type:ControlType.String,title:\"Email error\",defaultValue:\"Enter a valid email address.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormErrors\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"400\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormErrors.map","// Form status overrides — swap a form for its confirmation text once it is sent,\n// and keep a failed form retryable.\n//\n// Framer's form container reports its progress through onLoading / onSuccess /\n// onError. After an error its internal state stays \"error\" and further submits\n// are ignored, so on error we remount the form (fresh state) and put back what\n// the visitor typed.\n//\n//   Form frame     → withDemoForm / withJoinForm        (hidden once sent)\n//   Confirmation   → withDemoSent / withJoinSent        (shown once sent)\n//   Error text     → withDemoError / withJoinError      (shown after a failed send)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{createElement as _createElement}from\"react\";import{useEffect,useRef,useState,useSyncExternalStore}from\"react\";const statuses={};const listeners=new Set;function setStatus(form,status){if(statuses[form]===status)return;statuses[form]=status;listeners.forEach(listener=>listener());}function subscribe(listener){listeners.add(listener);return()=>{listeners.delete(listener);};}function useStatus(form){return useSyncExternalStore(subscribe,()=>statuses[form]??\"idle\",()=>\"idle\");}// Framer's spam-trap inputs are hidden from assistive tech; leave them alone.\nfunction isField(el){if(!(el instanceof HTMLInputElement||el instanceof HTMLTextAreaElement))return false;if(el.getAttribute(\"aria-hidden\")===\"true\"||el.tabIndex===-1)return false;if(el instanceof HTMLInputElement&&[\"hidden\",\"checkbox\",\"radio\",\"submit\",\"button\"].includes(el.type))return false;return!!el.name;}function takeSnapshot(form){const values={};const checked=[];Array.from(form.elements).forEach(el=>{if(isField(el))values[el.name]=el.value;});form.querySelectorAll('input[type=\"checkbox\"]').forEach((box,i)=>{if(box.checked)checked.push(i);});return{values,checked};}function restoreSnapshot(form,snapshot){Array.from(form.elements).forEach(el=>{if(!isField(el)||!(el.name in snapshot.values))return;const proto=el instanceof HTMLTextAreaElement?HTMLTextAreaElement.prototype:HTMLInputElement.prototype;Object.getOwnPropertyDescriptor(proto,\"value\")?.set?.call(el,snapshot.values[el.name]);el.dispatchEvent(new Event(\"input\",{bubbles:true}));});// Checkbox groups keep their own React state, so toggle them with a click.\nform.querySelectorAll('input[type=\"checkbox\"]').forEach((box,i)=>{if(box.checked!==snapshot.checked.includes(i))box.click();});}function retryableForm(form,Component){return function RetryableForm(props){const status=useStatus(form);const[attempt,setAttempt]=useState(0);const formRef=useRef(null);const snapshotRef=useRef(null);useEffect(()=>{const snapshot=snapshotRef.current;const el=formRef.current;if(!snapshot||!el)return;snapshotRef.current=null;const frame=requestAnimationFrame(()=>restoreSnapshot(el,snapshot));return()=>cancelAnimationFrame(frame);},[attempt]);if(status===\"success\")return null;return /*#__PURE__*/_createElement(Component,{...props,key:attempt,ref:formRef,onLoading:()=>{setStatus(form,\"pending\");props.onLoading?.();},onSuccess:()=>{setStatus(form,\"success\");props.onSuccess?.();},onError:()=>{if(formRef.current)snapshotRef.current=takeSnapshot(formRef.current);setStatus(form,\"error\");setAttempt(n=>n+1);props.onError?.();}});};}function showWhen(form,status,Component){return function StatusLayer(props){return useStatus(form)===status?/*#__PURE__*/_jsx(Component,{...props}):null;};}// Request a demo\nexport function withDemoForm(Component){return retryableForm(\"demo\",Component);}export function withDemoSent(Component){return showWhen(\"demo\",\"success\",Component);}export function withDemoError(Component){return showWhen(\"demo\",\"error\",Component);}// Join the team\nexport function withJoinForm(Component){return retryableForm(\"join\",Component);}export function withJoinSent(Component){return showWhen(\"join\",\"success\",Component);}export function withJoinError(Component){return showWhen(\"join\",\"error\",Component);}\nexport const __FramerMetadata__ = {\"exports\":{\"withJoinForm\":{\"type\":\"reactHoc\",\"name\":\"withJoinForm\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDemoSent\":{\"type\":\"reactHoc\",\"name\":\"withDemoSent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withJoinSent\":{\"type\":\"reactHoc\",\"name\":\"withJoinSent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withJoinError\":{\"type\":\"reactHoc\",\"name\":\"withJoinError\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDemoForm\":{\"type\":\"reactHoc\",\"name\":\"withDemoForm\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDemoError\":{\"type\":\"reactHoc\",\"name\":\"withDemoError\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormStatus.map"],"mappings":"+aAC6tB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,uCAAz2B,IAA4J,IAAkE,IAA4B,KAAmJ,EAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQ,EAAW,CAAC,YAAY,YAAY,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,kBAAkB,UAAU,iBAAiB,EAAyN,EAAY,CAAC,MAAM,EAAE,SAAS,IAAI,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,KAAK,OAAO,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