{"version":3,"file":"FormValidation.ByZR_UvM.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/1UK6DUddacF6sb8JPHyi/KKp2W5uQSSW6oUgR43hk/FormValidation.js"],"sourcesContent":["// FormValidation: accessible inline errors and system states for Framer's native forms (/contact, /book).\n// Andrés ART check 09a2f46fb (I2) + Diego b9cfbc4ea + copy deck §C.3–§C.5 and §Book.8 (Lucía, final 2026-09-15).\n// - Fields by name attribute (never Framer hash classes). Errors show on blur after the person typed, and for all\n//   fields on submit (submit event, submit-button click and the browser \"invalid\" event).\n// - Each message is a sibling of the field's <label> (not inside it, so the accessible name is not polluted), linked\n//   with aria-describedby; aria-invalid on the control. One empty line is reserved under required fields (no shift).\n// - Optional helper text: a text layer named \"Help · <field name>\" next to the label. It gets an id and stays in\n//   aria-describedby (helper first, then the error).\n// - Intent radios: aria-invalid + aria-describedby on the role=\"radiogroup\" element, message after the group.\n// - One polite live region at the top of the form summarises the count; focus moves to the first invalid control.\n// - While invalid, the submit is blocked so the lead event never fires without inquiry_type.\n// - System states (v4): observes Framer's form POST (fetch carrying the Framer-Form-Fields header) without altering\n//   it. A network/service failure or a spam rejection shows a banner above the submit button (role=\"alert\", focus\n//   moves to it). Framer keeps the typed values after a failed submit. Sending/success go to a hidden polite region.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const EMAIL=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;const MSG={intent:\"Choose what your message is about.\",name:\"Enter your name.\",emailEmpty:\"Enter your email address.\",emailFormat:\"Enter an email address with an @, like name@example.com.\",message:\"Write a short message so I know how to help.\",link:\"Enter the full link, starting with https://\",date:\"Choose a date that hasn’t passed.\"};const REQUIRED=[\"name\",\"email\",\"message\"];const RESERVE_LINES=false;const SPAM=/spam|bot|captcha|honeypot|proof of work|blocked|suspicious/i;function validate(name,value,emailEmpty){const v=(value||\"\").trim();if(name===\"name\")return v?null:MSG.name;if(name===\"email\")return!v?emailEmpty||MSG.emailEmpty:EMAIL.test(v)?null:MSG.emailFormat;if(name===\"message\")return v?null:MSG.message;if(name===\"link\")return!v||/^https?:\\/\\/\\S+\\.\\S+/.test(v)?null:MSG.link;if(name===\"date\"){if(!v)return null;const d=new Date(v+\"T23:59:59\");return isNaN(d.getTime())||d.getTime()>=Date.now()?null:MSG.date;}return null;}function hasFramerFormHeader(init){const h=init&&init.headers;if(!h)return false;try{if(typeof h.get===\"function\")return h.get(\"Framer-Form-Fields\")!==null;if(Array.isArray(h))return h.some(pair=>String(pair[0]).toLowerCase()===\"framer-form-fields\");return Object.keys(h).some(k=>k.toLowerCase()===\"framer-form-fields\");}catch(e){return false;}}/**\n * @framerDisableUnlink\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function FormValidation(props){const ref=useRef(null);useEffect(()=>{const form=ref.current?ref.current.closest(\"form\"):null;if(!form)return;const dirty=new Set;const firstControl=name=>form.querySelector('[name=\"'+name+'\"]:not([tabindex=\"-1\"]):not([aria-hidden=\"true\"])');const anchorOf=el=>el.closest(\"label\")||el.parentElement||el;const helpOf=name=>{const h=form.querySelector('[data-framer-name=\"Help \\xb7 '+name+'\"]');if(h&&!h.id)h.id=\"help-\"+name;return h;};const msgEl=(key,anchor,reserve)=>{let p=form.querySelector(\"#err-\"+key);if(!p){p=document.createElement(\"p\");p.id=\"err-\"+key;p.className=\"fv-error\";if(reserve)p.setAttribute(\"data-reserved\",\"\");const help=helpOf(key);const after=help&&help.parentElement===anchor.parentElement?help:anchor;after.insertAdjacentElement(\"afterend\",p);// Andrés (ART 13db91217): field -> next label keeps the stack gap; an error only adds its own 20 px line.\n// Cancel the parent stack gap above the message so it sits right under its field (or helper).\nconst parent=p.parentElement;const gap=parent?parseFloat(window.getComputedStyle(parent).rowGap||\"0\")||0:0;p.style.marginTop=gap>0?-gap+\"px\":\"4px\";}return p;};const setError=(control,key,text,anchor,fieldBox)=>{// No reserved lines since ART 13db91217: the error opens its own line (+20 px) and closes when fixed.\nconst reserve=RESERVE_LINES&&REQUIRED.indexOf(key)>=0;const help=helpOf(key);const p=text||reserve?msgEl(key,anchor,reserve):form.querySelector(\"#err-\"+key);if(text&&p){p.textContent=text;control.setAttribute(\"aria-invalid\",\"true\");control.setAttribute(\"aria-describedby\",(help?help.id+\" \":\"\")+p.id);fieldBox.setAttribute(\"data-invalid\",\"true\");}else{control.removeAttribute(\"aria-invalid\");if(help)control.setAttribute(\"aria-describedby\",help.id);else control.removeAttribute(\"aria-describedby\");fieldBox.removeAttribute(\"data-invalid\");if(p){if(p.hasAttribute(\"data-reserved\"))p.textContent=\"\";else p.remove();}}return!!text;};const checkField=name=>{const el=firstControl(name);if(!el)return false;return setError(el,name,validate(name,el.value,props.emailEmptyMessage),anchorOf(el),el.parentElement);};const checkIntent=()=>{const group=form.querySelector('[role=\"radiogroup\"]');const radios=form.querySelectorAll('input[type=\"radio\"][name=\"inquiry_type\"]');if(!group||!radios.length)return false;const chosen=Array.prototype.some.call(radios,r=>r.checked);return setError(group,\"intent\",chosen?null:MSG.intent,group,group);};// link helpers and add the summary region (reserved error lines are off: RESERVE_LINES)\nif(RESERVE_LINES)REQUIRED.forEach(n=>{const el=firstControl(n);if(el)msgEl(n,anchorOf(el),true);});[\"name\",\"email\",\"message\",\"link\",\"date\"].forEach(n=>{const el=firstControl(n);const help=helpOf(n);if(el&&help&&!el.getAttribute(\"aria-invalid\"))el.setAttribute(\"aria-describedby\",help.id);});let summary=form.querySelector(\".fv-summary\");if(!summary&&props.showSummary!==false){summary=document.createElement(\"p\");summary.className=\"fv-summary\";summary.setAttribute(\"role\",\"status\");summary.setAttribute(\"aria-live\",\"polite\");form.insertAdjacentElement(\"afterbegin\",summary);}const runAll=()=>{const bad=[];if(checkIntent())bad.push(form.querySelector('input[type=\"radio\"][name=\"inquiry_type\"]'));[\"name\",\"email\",\"message\",\"link\",\"date\"].forEach(n=>{if(checkField(n))bad.push(firstControl(n));});if(summary)summary.textContent=bad.length===0?\"\":bad.length===1?\"Check this field before sending.\":\"Check these \"+bad.length+\" fields before sending.\";if(bad[0])bad[0].focus();return bad.length;};// ---- system states (v4) ----\nconst systemOn=props.systemStates!==false;let live=form.querySelector(\".fv-live\");if(!live&&systemOn){live=document.createElement(\"p\");live.className=\"fv-live\";live.setAttribute(\"role\",\"status\");live.setAttribute(\"aria-live\",\"polite\");form.insertAdjacentElement(\"afterbegin\",live);}const announce=text=>{if(live)live.textContent=text||\"\";};const clearBanner=()=>{const b=form.querySelector(\".fv-system\");if(b)b.remove();};const showBanner=kind=>{clearBanner();const spam=kind===\"spam\";const text=spam?props.spamText:props.failText;const before=spam?props.spamBefore:props.failBefore;const linkText=spam?props.spamLink:props.failLink;const after=spam?props.spamAfter:props.failAfter;const box=document.createElement(\"div\");box.className=\"fv-system\";box.setAttribute(\"role\",\"alert\");box.setAttribute(\"tabindex\",\"-1\");box.setAttribute(\"data-kind\",kind);const p1=document.createElement(\"p\");p1.textContent=text||\"\";box.appendChild(p1);if(linkText&&props.linkUrl){const p2=document.createElement(\"p\");if(before)p2.appendChild(document.createTextNode(before));const a=document.createElement(\"a\");a.href=props.linkUrl;a.textContent=linkText;if(props.linkNewTab){a.target=\"_blank\";a.rel=\"noopener\";const sr=document.createElement(\"span\");sr.className=\"fv-sr\";sr.textContent=\" (opens in a new tab)\";a.appendChild(sr);}p2.appendChild(a);if(after)p2.appendChild(document.createTextNode(after));box.appendChild(p2);}// above the submit button, climbing out of single-child and row wrappers\nlet el=form.querySelector('button[type=\"submit\"]');if(el){while(el.parentElement&&el.parentElement!==form){const parent=el.parentElement;const cs=window.getComputedStyle(parent);const row=cs.display.indexOf(\"flex\")>=0&&cs.flexDirection.indexOf(\"row\")===0;if(parent.children.length===1||row)el=parent;else break;}el.insertAdjacentElement(\"beforebegin\",box);}else{form.appendChild(box);}announce(\"\");box.focus();};// ---- success redirect (v5): only after Framer's POST answers OK, only on the published site ----\n// Framer runs its native redirect right after the same response; we wait redirectDelay ms and only navigate\n// if nothing else did (path unchanged), so a native redirect configured in the editor always wins.\nlet redirecting=false;let pathAtSubmit=window.location.pathname;const redirectTarget=(props.successRedirect||\"\").trim();const redirectAllowed=/^\\/(?!\\/)/.test(redirectTarget)&&RenderTarget.current()===RenderTarget.preview;// GA4 lead marker (Diego, 04-seo.md §8.3/§12.6): written only after Framer's POST answers OK, before any\n// redirect (native or ours). Never stores name, email or message. GTM on the thank-you page reads and clears it.\nconst writeLeadMarker=()=>{const key=(props.leadStorageKey||\"\").trim();if(!key)return;try{const payload={ts:Date.now()};const radio=form.querySelector('input[type=\"radio\"][name=\"inquiry_type\"]:checked');if(radio)payload.inquiry_type=radio.value;const optName=(props.leadOptInField||\"\").trim();if(optName){const box=form.querySelector('input[type=\"checkbox\"][name=\"'+optName+'\"]');payload.opt_in=box&&box.checked?\"yes\":\"no\";}window.sessionStorage.setItem(key,JSON.stringify(payload));}catch(e){// storage blocked: the lead is simply not measured\n}};const scheduleRedirect=()=>{if(!redirectAllowed||redirecting)return;redirecting=true;const delay=Math.max(0,Number(props.redirectDelay)||0);window.setTimeout(()=>{const moved=window.location.pathname!==pathAtSubmit;const already=window.location.pathname===redirectTarget.split(/[?#]/)[0];if(!moved&&!already)window.location.assign(redirectTarget);},delay);};const w=window;const originalFetch=w.fetch;let patched=false;if(systemOn&&typeof originalFetch===\"function\"){// Only one Framer form per page uses this component; every Framer form POST on the page is observed.\nconst observed=function(input,init){const mine=!!init&&String(init.method||\"\").toUpperCase()===\"POST\"&&hasFramerFormHeader(init);const result=originalFetch.apply(this,arguments);if(!mine)return result;return result.then(res=>{if(res.ok){clearBanner();announce(props.successText);writeLeadMarker();scheduleRedirect();return res;}const status=res.status;const decide=message=>showBanner(status===403||status===429||SPAM.test(message)?\"spam\":\"fail\");let copy=null;try{copy=res.clone();}catch(e){copy=null;}if(copy)copy.text().then(t=>decide(t||\"\")).catch(()=>decide(\"\"));else decide(\"\");return res;},err=>{showBanner(\"fail\");throw err;});};w.fetch=observed;patched=true;}const onSending=()=>{pathAtSubmit=window.location.pathname;clearBanner();announce(props.sendingText);};const onBlur=e=>{const t=e.target;if(t&&t.name&&t.type!==\"radio\"&&dirty.has(t.name))checkField(t.name);};const onInput=e=>{const t=e.target;if(!t||!t.name)return;if(t.type===\"radio\"){if(form.querySelector(\"#err-intent\"))checkIntent();return;}dirty.add(t.name);if(t.getAttribute(\"aria-invalid\"))checkField(t.name);};const block=e=>{if(runAll()>0){e.preventDefault();e.stopImmediatePropagation();return true;}return false;};// bubble listener on the form: runs only when the capture listener did not stop the event\nconst onSubmitPassed=()=>{if(systemOn)onSending();};const onClick=e=>{const b=e.target.closest(\"button\");if(b&&form.contains(b)&&(b.getAttribute(\"type\")||\"submit\")===\"submit\")block(e);};// Framer submits on Enter (outside textareas) without a submit event when the native check passes\nconst onKeyDown=e=>{if(e.key!==\"Enter\"||e.target instanceof HTMLTextAreaElement)return;if(block(e))return;if(systemOn&&form.checkValidity())onSending();};const onInvalid=e=>e.preventDefault();form.addEventListener(\"blur\",onBlur,true);form.addEventListener(\"input\",onInput,true);form.addEventListener(\"change\",onInput,true);form.addEventListener(\"invalid\",onInvalid,true);form.addEventListener(\"submit\",block,true);form.addEventListener(\"submit\",onSubmitPassed,false);form.addEventListener(\"click\",onClick,true);form.addEventListener(\"keydown\",onKeyDown,true);return()=>{form.removeEventListener(\"blur\",onBlur,true);form.removeEventListener(\"input\",onInput,true);form.removeEventListener(\"change\",onInput,true);form.removeEventListener(\"invalid\",onInvalid,true);form.removeEventListener(\"submit\",block,true);form.removeEventListener(\"submit\",onSubmitPassed,false);form.removeEventListener(\"click\",onClick,true);form.removeEventListener(\"keydown\",onKeyDown,true);if(patched&&w.fetch!==originalFetch)w.fetch=originalFetch;};},[props.emailEmptyMessage,props.showSummary,props.systemStates,props.sendingText,props.successText,props.failText,props.failBefore,props.failLink,props.failAfter,props.spamText,props.spamBefore,props.spamLink,props.spamAfter,props.linkUrl,props.linkNewTab,props.successRedirect,props.redirectDelay,props.leadStorageKey,props.leadOptInField]);const icon=\"url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M8 4v5' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.5' r='1' fill='black'/%3E%3C/svg%3E\\\")\";const css=\".fv-error { margin: 0; min-height: 20px; font: 400 14px/20px 'Instrument Sans', sans-serif; color: #C63A1C; }\"+\" .fv-error:empty { display: none; }\"+\" .fv-error:not(:empty)::before, .fv-system > p:first-child::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: currentColor; -webkit-mask: \"+icon+\" center / contain no-repeat; mask: \"+icon+\" center / contain no-repeat; }\"+\" .fv-summary { margin: 0; font: 500 14px/20px 'Instrument Sans', sans-serif; color: #C63A1C; }\"+\" .fv-summary:empty { display: none; }\"+\" .fv-live, .fv-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }\"+\" .fv-system { box-sizing: border-box; width: 100%; margin: 0; padding: 12px 16px; background: #F4F3EF; box-shadow: inset 3px 0 0 #C63A1C; color: #1A1918; font: 400 15px/22px 'Instrument Sans', sans-serif; outline: none; }\"+\" .fv-system:focus-visible { outline: 2px solid #1A1918; outline-offset: 2px; }\"+\" .fv-system p { margin: 0; }\"+\" .fv-system p + p { margin-top: 4px; }\"+\" .fv-system > p:first-child::before { color: #C63A1C; }\"+\" .fv-system a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }\"+\" [data-invalid] { box-shadow: inset 0 -2px 0 #C63A1C !important; }\"+\" [role='radiogroup'][data-invalid] { box-shadow: none !important; }\";return /*#__PURE__*/_jsx(\"span\",{ref:ref,style:{position:\"absolute\",width:1,height:1,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"style\",{children:css})});}FormValidation.displayName=\"FormValidation\";const off=p=>p.systemStates===false;addPropertyControls(FormValidation,{intro:{type:ControlType.String,title:\"Note\",defaultValue:\"Copy from 03-copy-deck \\xa7C.5\"},emailEmptyMessage:{type:ControlType.String,title:\"Email Empty Error\",description:\"Empty = \\xa7C.5 default (Enter your email address.)\",defaultValue:\"\"},showSummary:{type:ControlType.Boolean,title:\"Error Summary\",defaultValue:true},systemStates:{type:ControlType.Boolean,title:\"System States\",defaultValue:true},sendingText:{type:ControlType.String,title:\"Sending SR\",defaultValue:\"Sending your message.\",hidden:off},successText:{type:ControlType.String,title:\"Success SR\",defaultValue:\"\",hidden:off},failText:{type:ControlType.String,title:\"Fail Text\",displayTextArea:true,defaultValue:\"Your message didn’t send. Check your connection and try again. Everything you wrote is still here.\",hidden:off},failBefore:{type:ControlType.String,title:\"Fail Before\",defaultValue:\"\",hidden:off},failLink:{type:ControlType.String,title:\"Fail Link\",defaultValue:\"Message me on LinkedIn\",hidden:off},failAfter:{type:ControlType.String,title:\"Fail After\",defaultValue:\"\",hidden:off},spamText:{type:ControlType.String,title:\"Spam Text\",displayTextArea:true,defaultValue:\"The spam filter stopped this message. Send it to me on LinkedIn and I’ll see it.\",hidden:off},spamBefore:{type:ControlType.String,title:\"Spam Before\",defaultValue:\"\",hidden:off},spamLink:{type:ControlType.String,title:\"Spam Link\",defaultValue:\"Message me on LinkedIn\",hidden:off},spamAfter:{type:ControlType.String,title:\"Spam After\",defaultValue:\"\",hidden:off},linkUrl:{type:ControlType.String,title:\"Link URL\",defaultValue:\"https://www.linkedin.com/in/carlosamurguia/\",hidden:off},linkNewTab:{type:ControlType.Boolean,title:\"New Tab\",defaultValue:true,hidden:off},successRedirect:{type:ControlType.String,title:\"Success Redirect\",description:\"Internal path, e.g. /contact/thank-you. Runs only after Framer confirms the submit, on the published site. A native Form redirect wins.\",defaultValue:\"\",hidden:off},leadStorageKey:{type:ControlType.String,title:\"Lead Marker Key\",description:\"sessionStorage key written only after a confirmed submit (GA4 generate_lead on the thank-you page). Empty = off.\",defaultValue:\"\",hidden:off},leadOptInField:{type:ControlType.String,title:\"Opt-in Field\",description:\"Checkbox name to record as opt_in yes/no (book form).\",defaultValue:\"\",hidden:off},redirectDelay:{type:ControlType.Number,title:\"Redirect Delay\",min:0,max:3e3,step:50,unit:\"ms\",defaultValue:600,hidden:p=>off(p)||!p.successRedirect}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormValidation\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"* @framerIntrinsicWidth 1\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormValidation.map"],"mappings":"sMAcupB,SAAS,EAAS,EAAK,EAAM,EAAW,CAAC,IAAM,GAAG,GAAO,GAAA,CAAI,KAAK,EAAE,GAAG,IAAO,OAAO,OAAO,EAAE,KAAK,EAAI,KAAK,GAAG,IAAO,QAAQ,OAAO,EAA6B,EAAM,KAAK,CAAC,EAAE,KAAK,EAAI,YAAlD,GAAY,EAAI,WAA8C,GAAG,IAAO,UAAU,OAAO,EAAE,KAAK,EAAI,QAAQ,GAAG,IAAO,OAAO,MAAM,CAAC,GAAG,uBAAuB,KAAK,CAAC,EAAE,KAAK,EAAI,KAAK,GAAG,IAAO,OAAO,CAAC,GAAG,CAAC,EAAE,OAAO,KAAK,IAAM,EAAE,IAAI,KAAK,EAAE,WAAW,EAAE,OAAO,MAAM,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,GAAG,KAAK,IAAI,EAAE,KAAK,EAAI,IAAK,CAAC,OAAO,IAAK,CAAC,SAAS,EAAoB,EAAK,CAAC,IAAM,EAAE,GAAM,EAAK,QAAQ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