{"version":3,"file":"FreeLessonCapture.Bh-pFgiT.mjs","names":["_jsxs","React.useEffect","_jsx","React.useState","React.useRef","c","_Fragment","__esmMin","_e","de","l","p","c","init_jsx_runtime","init_npm_react_18_3_1","ce","Seg","Badge","Headline","ReviewStrip","Host","Bullets","FormCard","SC","SB","SF","inputStyle","Stage","init_SignupStage","init_FunnelBlocks","INK_BLUE","MATT_AVATAR","goStyle","lessonList","toGift","EVENT","init_LeadCapture","subscribeLead","init_CurrentEvent","JOIN_WHATSAPP","NEXT_LESSON","LessonBanner","mode","target","phone","href","box","form","shortDate","NextStep","role","email","title","path","t","next","ExamCountdown","now","setNow","i","left","PAPER1_ISO","two","n","d","LessonForm","source","onDone","big","setEmail","setRole","year","setYear","tier","setTier","setPhone","ok","setOk","state","setState","msg","setMsg","bad","setBad","refs","fail","field","text","el","fix","set","v","submit","e","red","ERR","x","LessonStage","id","h1","ipad","peek","white","wide","c$1","f","init_FreeLessonCapture"],"sources":["https:/framerusercontent.com/modules/WRbmQl4uhTkragiaszSZ/RSyIXw4XUWjbOzIzsa8n/FreeLessonCapture.js"],"sourcesContent":["// FreeLessonCapture — the site-wide \"next free lesson\" pieces (NEXT R11): a top banner and a capture form.\n// Placement (his ruling, 21 Oct 2026): home, Group Tutoring and the lead-magnet pages only; never on the replay,\n// sign-up, WhatsApp or offer pages. The lesson comes from LeadCapture.NEXT_LESSON:\n//   open: false → \"Get told the moment sign-up opens\": email + Role / Year / Tier to Free Lesson · Waitlist (RN7GNN).\n//   open: true  → both pieces link to the sign-up page (NEXT_LESSON.href).\n// Built by Claude, CENTRE: WEB DESIGN, 21 Oct 2026 (home page redesign, approved by Matt).\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{SC,SF,SB,Seg,inputStyle,goStyle,Stage,Badge,Headline,Bullets,Host,FormCard,ReviewStrip,MATT_AVATAR}from\"https://framerusercontent.com/modules/bgFPSHrdYFuZ06WXho84/CiZMWrc0zjGOwUjibLiX/SignupStage.js\";import{INK_BLUE}from\"https://framerusercontent.com/modules/9VjBziOHWQ7CoKFSIW4E/1Bd5g6RCIsCJEyozLDoa/FunnelBlocks.js\";import{NEXT_LESSON,subscribeLead,toGift,lessonList,JOIN_WHATSAPP}from\"https://framerusercontent.com/modules/6k9FuVvDDaTXjo9mOhNl/v1LFr9NiutM3umvfylWt/LeadCapture.js\";import{EVENT}from\"https://framerusercontent.com/modules/qu88FOEFN5hHs8hX8abo/jsWueylLJsg3Hphsf7lc/CurrentEvent.js\";const ERR=\"#d92d20\";/** \"Monday 2nd November\" → \"Mon 2nd Nov\" (phones). */const shortDate=d=>d.replace(/^(\\w{3})\\w*day /,\"$1 \").replace(/ (\\w{3})\\w+$/,\" $1\");/** The strip across the top of the page. White on red #d60000 (about 5.6:1), so it reads at any size. */export function LessonBanner({mode,target=\"#free-lesson\"}){const phone=mode===\"phone\";const href=target// sign-up is always open (21 Oct): the banner jumps to the page's own form\n;// On a tap, bring the form to the middle of the screen so it is the main thing (his ask, 26 Oct: \"the form centered on the screen\"); any other target keeps the normal jump\nconst go=e=>{if(!href.startsWith(\"#\"))return;const box=document.getElementById(href.slice(1)),form=box?box.querySelector(\"form\"):null;if(!form)return;e.preventDefault();form.scrollIntoView({behavior:\"smooth\",block:\"center\"});};return /*#__PURE__*/_jsxs(\"a\",{href:href,onClick:go,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:phone?8:10,background:\"#d60000\"/* red, more eye-catching (his ask, 21 Oct); darker than #ff0000 so white text passes 4.5:1 at phone size */,color:\"#fff\",textDecoration:\"none\",padding:phone?\"15px 8px 12px\":\"13px 20px 11px\",fontFamily:SF,fontWeight:700,fontSize:phone?17:21,textAlign:\"center\",lineHeight:1.25},children:[/*#__PURE__*/_jsxs(\"span\",{style:{whiteSpace:\"nowrap\"},children:[\"📅 \",phone?`Free lesson: ${shortDate(NEXT_LESSON.date)}`:`Free live lesson: ${NEXT_LESSON.date}`]}),/*#__PURE__*/_jsxs(\"span\",{style:{whiteSpace:\"nowrap\",textDecoration:\"underline\",textUnderlineOffset:3},children:[phone?\"Save your place\":\"Save your free place\",\" →\"]})]});}const WA_ICON=/*#__PURE__*/_jsx(\"svg\",{width:\"22\",height:\"22\",viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",style:{marginTop:-2},children:/*#__PURE__*/_jsx(\"path\",{fill:\"#fff\",d:\"M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2c-1.6 0-3.1-.4-4.4-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3c-.2.3-.9.9-.9 2.2s.9 2.5 1 2.7c.1.2 1.8 2.8 4.4 3.9 1.6.7 2.3.8 3.1.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3Z\"})});/** After a free-lesson sign-up (his ruling, 23 Oct 2026 late: one action per page): every device goes on to the WhatsApp step page\n *  (video, then the one join button or QR). Shown in place of the form for a moment while the page opens. */export function NextStep({role,email,title=\"You're on the list.\",path=JOIN_WHATSAPP}){React.useEffect(()=>{const t=setTimeout(()=>toGift(role,email,path),900);return()=>clearTimeout(t);},[]);const next=`${path}?for=${role===\"Parent\"?\"parent\":\"student\"}`;return /*#__PURE__*/_jsxs(\"div\",{role:\"status\",children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:30,lineHeight:1.05,color:SC.ink,paddingRight:30},children:title}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:SB,fontSize:17,lineHeight:1.5,color:SC.grey,margin:\"8px 0 0\"},children:[\"We'll email you before the free lesson on \",NEXT_LESSON.date,\".\"]}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:SB,fontSize:17,fontWeight:600,color:SC.ink,margin:\"14px 0 0\"},children:[\"Taking you to the last step… \",/*#__PURE__*/_jsx(\"a\",{href:next,style:{color:INK_BLUE},children:\"Go now\"})]})]});}/** Countdown to GCSE Maths Paper 1, summer 2027 (his rule, 21 Oct: the only top banner allowed on the home page).\n *  Fri 14 May 2027, morning: the JCQ common timetable, the same day for AQA, Edexcel (Pearson final timetable) and OCR.\n *  Counts to 9am UK (08:00 UTC). */export const PAPER1_ISO=\"2027-05-14T08:00:00Z\";export function ExamCountdown({mode}){const phone=mode===\"phone\";const[now,setNow]=React.useState(null);React.useEffect(()=>{setNow(Date.now());const i=setInterval(()=>setNow(Date.now()),1e3);return()=>clearInterval(i);},[]);const left=now===null?null:Math.max(0,Date.parse(PAPER1_ISO)-now);const two=n=>String(n).padStart(2,\"0\");const d=left===null?\"\":`${Math.floor(left/864e5)} days ${two(Math.floor(left%864e5/36e5))}h ${two(Math.floor(left%36e5/6e4))}m ${two(Math.floor(left%6e4/1e3))}s`;return /*#__PURE__*/_jsxs(\"div\",{role:\"timer\",\"aria-live\":\"off\",style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:10,flexWrap:\"wrap\",background:SC.ink,color:\"#fff\",padding:phone?\"10px 12px 8px\":\"12px 20px 10px\",fontFamily:SF,fontWeight:700,fontSize:phone?16:20,textAlign:\"center\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{whiteSpace:\"nowrap\"},children:[\"⏳ GCSE Maths Paper 1: \",phone?\"Fri 14 May 2027\":\"Friday 14th May 2027\"]}),d?/*#__PURE__*/_jsx(\"span\",{style:{background:\"#fff\",color:SC.ink,borderRadius:100,padding:\"4px 12px 2px\",fontVariantNumeric:\"tabular-nums\",fontSize:phone?15:18},children:d}):null]});}/** The capture form (goes in a FormCard). source = the Website Form tag, e.g. \"Home page\". */export function LessonForm({source,onDone,big=false}){const[email,setEmail]=React.useState(\"\");const[role,setRole]=React.useState(\"\");const[year,setYear]=React.useState(\"\");const[tier,setTier]=React.useState(\"\");const[phone,setPhone]=React.useState(\"\")// optional mobile + WhatsApp consent, the same step the event sign-up pages have (his word via ENGINE: WEBINARS, 4 Nov: the home page form should ask for a phone number)\n;const[ok,setOk]=React.useState(false);const[state,setState]=React.useState(\"idle\");const[msg,setMsg]=React.useState(\"\");const[bad,setBad]=React.useState(\"\");const refs={email:React.useRef(null),role:React.useRef(null),year:React.useRef(null),tier:React.useRef(null)};function fail(field,text){setBad(field);setMsg(text);setState(\"error\");const el=refs[field].current;if(el&&typeof el.scrollIntoView===\"function\")el.scrollIntoView({behavior:\"smooth\",block:\"center\"});if(field===\"email\")refs.email.current?.focus();}const fix=(field,set)=>v=>{set(v);if(bad===field){setBad(\"\");setState(\"idle\");}};async function submit(e){e.preventDefault();if(!/^\\S+@\\S+\\.\\S+$/.test(email.trim()))return fail(\"email\",\"Please check your email address.\");if(!role)return fail(\"role\",\"Are you a parent or a student? Pick one.\");if(!year)return fail(\"year\",\"Pick a year group.\");if(!tier)return fail(\"tier\",\"Pick a tier (Not sure is fine).\");if(phone.trim()&&!ok)return fail(\"ok\",\"Tick the box so Matt can message you, or leave the mobile blank.\");setBad(\"\");setState(\"sending\");try{await subscribeLead(lessonList(),{email,role,year,tier,phone,whatsappOk:ok},source,{\"Free Lesson Date\":(EVENT.startUtc||\"\").slice(0,10),\"Free Lesson Wanted\":NEXT_LESSON.date});setState(\"done\");onDone?.();}catch{setMsg(\"Something went wrong. Please try again.\");setState(\"error\");}}if(NEXT_LESSON.open)return /*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:28,lineHeight:1.1,color:SC.ink},children:\"Save your free place\"}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:SB,fontSize:17,lineHeight:1.5,color:SC.ink,margin:\"8px 0 0\"},children:[NEXT_LESSON.date,\". A full GCSE Maths lesson with Matt, live and free.\"]}),/*#__PURE__*/_jsx(\"a\",{href:NEXT_LESSON.href,className:\"ss-go\",style:{...goStyle,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",textDecoration:\"none\"},children:\"Save my free place\"})]});if(state===\"done\")return /*#__PURE__*/_jsx(NextStep,{role:role,email:email});const red={borderColor:ERR,boxShadow:`0 0 0 1px ${ERR}`};return /*#__PURE__*/_jsxs(\"form\",{onSubmit:submit,noValidate:true,children:[/*#__PURE__*/_jsx(\"div\",{className:\"ss-card-title\",style:{fontFamily:SF,fontWeight:800,fontSize:big?30:26,lineHeight:1.1,color:SC.ink},children:\"Save your free place\"}),/*#__PURE__*/_jsx(\"input\",{type:\"email\",inputMode:\"email\",autoComplete:\"email\",placeholder:\"Email address\",value:email,onChange:e=>fix(\"email\",setEmail)(e.target.value),ref:refs.email,className:\"ss-in\",style:{...inputStyle,marginTop:big?16:12,...big?{height:54,fontSize:17}:{},...bad===\"email\"?red:{}},\"aria-label\":\"Email address\",\"aria-invalid\":bad===\"email\"}),/*#__PURE__*/_jsx(Seg,{big:big,label:\"I'm a\",options:[\"Parent\",\"Student\"],value:role,onChange:fix(\"role\",setRole),bad:bad===\"role\",boxRef:refs.role}),/*#__PURE__*/_jsx(Seg,{big:big,label:role===\"Parent\"?\"My child is in\":\"Year group\",options:[\"Year 9\",\"Year 10\",\"Year 11\",\"Resit\"],value:year,onChange:fix(\"year\",setYear),bad:bad===\"year\",boxRef:refs.year}),/*#__PURE__*/_jsx(Seg,{big:big,label:\"Tier\",options:[\"Foundation\",\"Higher\",\"Not sure\"],value:tier,onChange:fix(\"tier\",setTier),bad:bad===\"tier\",boxRef:refs.tier}),/*#__PURE__*/_jsx(\"input\",{type:\"tel\",inputMode:\"tel\",autoComplete:\"tel\",placeholder:\"Mobile number (optional)\",value:phone,onChange:x=>setPhone(x.target.value),className:\"ss-in\",style:{...inputStyle,marginTop:big?22:16,...big?{height:54,fontSize:17}:{}},\"aria-label\":\"Mobile number (optional)\"}),phone.trim()?/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",gap:10,alignItems:\"flex-start\",marginTop:10,fontFamily:SB,fontSize:14,color:bad===\"ok\"?ERR:SC.grey,lineHeight:1.4,cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:ok,onChange:x=>{setOk(x.target.checked);if(bad===\"ok\"){setBad(\"\");setState(\"idle\");}},style:{width:18,height:18,marginTop:1,accentColor:SC.blue,flex:\"none\"}}),\"Matt can WhatsApp me about this lesson.\"]}):null,state===\"error\"?/*#__PURE__*/_jsx(\"div\",{role:\"alert\",style:{fontFamily:SB,fontSize:15,fontWeight:600,color:ERR,marginTop:12},children:msg}):null,/*#__PURE__*/_jsx(\"button\",{type:\"submit\",className:\"ss-go\",disabled:state===\"sending\",style:{...goStyle,...big?{height:58,fontSize:21,marginTop:26}:{},opacity:state===\"sending\"?.6:1},children:state===\"sending\"?\"Saving…\":\"Save my free place\"}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:SB,fontSize:13,color:SC.grey,margin:\"12px 0 0\",lineHeight:1.45,textAlign:\"center\"},children:[\"Free. We'll email you about the lesson and MyGCSEMaths; unsubscribe any time. \",/*#__PURE__*/_jsx(\"a\",{href:\"/legal/privacy\",style:{color:SC.grey},children:\"Privacy policy\"})]})]});}/** The whole \"Join the next free GCSE Maths lesson\" block from the home page hero (his pick, 21 Oct: \"have the form at the bottom\n *  the same as the one on the screenshot\"): badge, headline, date bullets, Matt, ratings | the Save-your-free-place form, on\n *  Blue Background 3. Used at the top of home and at the bottom of /past-papers and /grade-boundaries. source = Website Form tag. */export function LessonStage({mode,source,id=\"free-lesson\",h1=false,ipad=false,peek=false,white=false,big=false}){// big = the home page hero only (his W01 note, approved 13 Nov 2026): laptop bullets 27 to 32, phone title 33 to 36. Every other use is unchanged.\nconst wide=mode===\"wide\",phone=mode===\"phone\";const c=ipad&&mode===\"tab\"// iPad pass, home only (his ask, 26 Oct): centred single column; every other page and mode renders as before\n;const goForm=()=>{const f=document.getElementById(id)?.querySelector(\"form\");if(f)f.scrollIntoView({behavior:\"smooth\",block:\"center\"});};const left=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{onClick:phone?goForm:undefined,style:{display:\"contents\",cursor:phone?\"pointer\":undefined},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"inline-block\"},children:/*#__PURE__*/_jsx(Badge,{mode:mode,label:\"FREE LIVE LESSON\",small:phone,size:phone?19:undefined})}),/*#__PURE__*/_jsx(Headline,{mode:mode,lines:phone?[\"Join the next free\",\"GCSE Maths lesson\"]:[\"Join the next\",\"free GCSE\",\"Maths lesson\"],as:h1?\"h1\":\"h2\",ipad:c,phoneSize:big?36:33}),/*#__PURE__*/_jsx(Bullets,{mode:mode,items:[NEXT_LESSON.date,\"Live with Matt, free\",\"For Year 9, 10, 11 and resits\"],centre:c,size:phone?26:big&&mode===\"wide\"?32:undefined,big:big&&mode===\"wide\"}),/*#__PURE__*/_jsx(Host,{mode:mode,avatar:MATT_AVATAR,line:\"Founder of MyGCSEMaths\",centre:c})]}),wide?/*#__PURE__*/_jsx(ReviewStrip,{mode:mode,style:{marginTop:26,maxWidth:460}}):null]});const right=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(FormCard,{mode:mode,children:/*#__PURE__*/_jsx(LessonForm,{source:source,big:wide||c})}),wide?null:/*#__PURE__*/_jsx(ReviewStrip,{mode:mode})]});return /*#__PURE__*/_jsx(\"div\",{id:id,style:{scrollMarginTop:0},children:/*#__PURE__*/_jsx(Stage,{mode:mode,left:left,right:right,fill:false,ipad:c,peek:peek,white:white})});}\nexport const __FramerMetadata__ = {\"exports\":{\"LessonForm\":{\"type\":\"reactComponent\",\"name\":\"LessonForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"ExamCountdown\":{\"type\":\"reactComponent\",\"name\":\"ExamCountdown\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"LessonStage\":{\"type\":\"reactComponent\",\"name\":\"LessonStage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"NextStep\":{\"type\":\"reactComponent\",\"name\":\"NextStep\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"PAPER1_ISO\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LessonBanner\":{\"type\":\"reactComponent\",\"name\":\"LessonBanner\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,2YAMg9B,SAAgByC,EAAa,CAACC,OAAKC,SAAO,gBAAgB,CAAC,IAAMC,EAAMF,IAAO,QAAcG,EAAKF,EAE90B,MAAoB3C,gBAAM,IAAI,CAAM6C,OAAK,QAAnQ,GAAG,CAAC,GAAG,CAACA,EAAK,WAAW,GAAG,EAAE,OAAO,IAAMC,EAAI,SAAS,eAAeD,EAAK,MAAM,CAAC,CAAC,EAAEE,EAAKD,EAAIA,EAAI,cAAc,MAAM,EAAE,KAASC,IAAY,EAAE,eAAe,EAAEA,EAAK,eAAe,CAAC,SAAS,SAAS,MAAM,QAAQ,CAAC,EAAE,EAAsD,MAAM,CAAC,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,IAAIH,EAAM,EAAE,GAAG,WAAW,UAAsH,MAAM,OAAO,eAAe,OAAO,QAAQA,EAAM,gBAAgB,iBAAiB,WAAWnB,EAAG,WAAW,IAAI,SAASmB,EAAM,GAAG,GAAG,UAAU,SAAS,WAAW,IAAI,EAAE,SAAS,CAAc5C,gBAAM,OAAO,CAAC,MAAM,CAAC,WAAW,QAAQ,EAAE,SAAS,CAAC,MAAM4C,EAAM,gBAAgBI,EAAUR,EAAY,IAAI,IAAI,qBAAqBA,EAAY,MAAM,CAAC,CAAC,EAAexC,gBAAM,OAAO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