{"version":3,"file":"FreeLessonSignup.ImLMjm11.mjs","names":["React.useState","React.useRef","p","_Fragment","__esmMin","le","init_ssg_sandbox_shims","window","_e","de","l","p","init_jsx_runtime","init_npm_react_18_3_1","ce","init_framer_CaDWdxiz","addPropertyControls","ControlType","VideoSlot","useFeature","FormCard","Bullets","useFunnelSplit","Headline","init_FunnelBlocks","Badge","ReviewStrip","SC","init_SignupStage","titleCase","init_FirstPaint","Seg","useBpHint","BP_CONTROL","StageStyles","Host","SuccessBanner","BluePanel","Stage","BpScope","afterDownload","toGift","metaLead","EVENT","init_CurrentEvent","init_MGMKit","JOIN_WHATSAPP_AFTER","recallLead","RESOURCE_NAME","MAGNETS","JOIN_WHATSAPP","useOwnWidth","w","setW","el","ref","on","ro","FreeLessonSignupInner","now","start","end","rootRef","vw","wide","tab","email","setEmail","role","setRole","year","setYear","tier","setTier","phone","setPhone","ok","setOk","addr","setAddr","lm","setLm","q","after","p$1","withVideo","sfx","ph","known","setKnown","full","setFull","demo","setDemo","state","setState","msg","setMsg","bad","setBad","refs","fail","field","text","fix","set","v","submit","e","ay","exam","qs","utm","k","f","ml","body","\"Role\"","\"Tier\"","\"Mobile\"","KLAVIYO_LIST","r","KLAVIYO_SITE","mode","input","B","C","form","F","LESSON_DATE","LESSON_TIME","ERR","onPhone","resName","banner","oneTap","action","dow","dayNum","mon","d","homeBullets","phoneLeft","LAPTOP_LIVE","left","right","h1","size","align","videoBox","showVideo","centre","maxW","top","node","W","facts","big","pill","t","FreeLessonSignupView","FreeLessonSignup","UK_TIME","init_FreeLessonSignup","init_LeadCapture","iso","addMin"],"sources":["https:/framerusercontent.com/modules/bxttOKP0hU93o9vu5cgE/VHLTdhET3RPkCdNmnhm0/FreeLessonSignup.js"],"sourcesContent":["// FreeLessonSignup — the whole /free-lesson-signup page as one code component.\n// Mobile first. Posts straight to Klaviyo's client subscriptions API (public site ID only, no secret).\n// Built by Claude, 14 Oct 2026. Copy of record: AXIO › PROJECTS › Free lessons engine.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{BpScope,BP_CONTROL,useBpHint}from\"https://framerusercontent.com/modules/CPBft0lE4IC0864wcctI/68nEid7i27zbL9pISCoQ/FirstPaint.js\";import{addPropertyControls,ControlType}from\"framer\";import{metaLead}from\"https://framerusercontent.com/modules/w72bJ3SyqTKjWjTdHnhv/d7tU7iW1gJSdYZYqFcCU/MGMKit.js\";import{EVENT}from\"https://framerusercontent.com/modules/qu88FOEFN5hHs8hX8abo/u1JDjqyu8C8cUTfZTpr5/CurrentEvent.js\";import{toGift,afterDownload,recallLead,JOIN_WHATSAPP,JOIN_WHATSAPP_AFTER,RESOURCE_NAME,MAGNETS}from\"https://framerusercontent.com/modules/6k9FuVvDDaTXjo9mOhNl/dEzvAqVKJW22GVvjtCmA/LeadCapture.js\";import{VideoSlot,useFeature,BluePanel,useFunnelSplit}from\"https://framerusercontent.com/modules/9VjBziOHWQ7CoKFSIW4E/YwI3z7pcEXACJW3thICZ/FunnelBlocks.js\";import{Stage,StageStyles,SuccessBanner,Badge,Headline,Host,Bullets,FormCard,Seg,ReviewStrip,SC,titleCase}from\"https://framerusercontent.com/modules/bgFPSHrdYFuZ06WXho84/CiZMWrc0zjGOwUjibLiX/SignupStage.js\";const KLAVIYO_SITE=\"SqsWDy\";const KLAVIYO_LIST=EVENT.klaviyoList||\"Y5pXre\"// the CURRENT lesson's registrants list (CurrentEvent.tsx), so its welcome flow fires. Was hard-coded to Free Lesson #1's list (Y5pXre): found by DESK: META ADS 12 Nov 2026, FL2 sign-ups were landing on FL1's list\n;const C={ink:\"#0e1013\",grey:\"#5d6673\",line:\"#dfe5ee\",sky:\"#eef4ff\",blue:\"#0098ff\",red:\"#ff0000\",wa:\"#25d366\"};const F=\"'League Spartan', system-ui, sans-serif\";const B=\"'Inter', system-ui, -apple-system, sans-serif\";// The component's own width, not the window's: in the Framer editor the window is the whole editor,\n// so the Tablet and Phone frames would otherwise get the desktop layout. On the live page they are the same.\nfunction useOwnWidth(ref){const[w,setW]=React.useState(useBpHint())// FirstPaint.tsx: same first render on server and browser\n;React.useLayoutEffect(()=>{const el=ref.current;if(!el)return;const on=()=>setW(el.offsetWidth||window.innerWidth)// offsetWidth ignores the canvas zoom\n;on();const ro=new ResizeObserver(on);ro.observe(el);return()=>ro.disconnect();},[]);return w;}// bad = this row is the one stopping the submit: red outline + red label (and the form scrolls to it)\nconst ERR=\"#d92d20\";// Lesson date + time come from CurrentEvent.tsx (scripts/12-set-event.mjs), so the page updates itself each lesson.\n// The old \"Date\" / \"Time\" property controls are ignored (22 Oct: they still said FL1's Tuesday 20 October after the FL2 switch).\nconst UK_TIME=(iso,addMin=0)=>{const d=new Date(Date.parse(iso)+addMin*6e4);if(!isFinite(d.getTime()))return\"\";return new Intl.DateTimeFormat(\"en-GB\",{hour:\"numeric\",minute:\"2-digit\",hour12:true,timeZone:\"Europe/London\"}).format(d).replace(\":00\",\"\").replace(\" \",\"\").toLowerCase();};const LESSON_DATE=EVENT.dateLabel;const LAPTOP_LIVE=\"https://files.mygcsemaths.com/site/laptop-live-lesson.webp\"// Brand Library/[04] Mock-ups/[2026-10-23] Laptop — live lesson (transparent).png, white cut out so it sits solid on the blue band\n;const LESSON_TIME=EVENT.startUtc?`${UK_TIME(EVENT.startUtc)} to ${UK_TIME(EVENT.startUtc,60)} UK`:\"\";function FreeLessonSignupInner(p){// Between a lesson and its offer deadline the sign-up page forwards to the replay (his yes, 21 Oct evening: \"set up the forward\"):\n// after EVENT.startUtc and before EVENT.offerEndUtc → /free-lesson-replay, query string kept. Stops by itself at the deadline, and\n// never fires once CurrentEvent.tsx holds the next lesson (its start is still ahead).\nReact.useEffect(()=>{if(typeof window===\"undefined\"||!/(mygcsemaths\\.com|\\.framer\\.app|\\.framer\\.website)$/.test(window.location.hostname))return;const now=Date.now(),start=Date.parse(EVENT.startUtc||\"\"),end=Date.parse(EVENT.offerEndUtc||\"\");if(isFinite(start)&&isFinite(end)&&now>start&&now<end)window.location.replace(\"/webinar/free-lesson/replay\"+window.location.search);},[]);const rootRef=React.useRef(null);const vw=useOwnWidth(rootRef);const wide=vw>=900;// iPad portrait (600-899): the phone stack, but centred and at desktop type sizes\nconst tab=!wide&&vw>=600;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(\"\");const[ok,setOk]=React.useState(false);// The \"after other resource\" copy of this page (/signup-after-other-resource): a green \"Success! Your … is on its way\" banner, Matt's video, then this same form.\nconst[addr,setAddr]=React.useState(false),[lm,setLm]=React.useState(\"\");React.useEffect(()=>{setAddr(afterDownload());const q=new URLSearchParams(window.location.search).get(\"lm\");if(q&&MAGNETS[q])setLm(q);},[]);const after=p.afterResource||addr// the setting works in the editor preview too; the address is the fallback on the live pages\n;const withVideo=p.layout===\"video\"// the \"-video\" version of this step; the page without the suffix is the picture version\n;const sfx=withVideo?\"-with-video\":\"\"// each version sends people on to its own matching next page (the pages are named …-with-video since 27 Oct)\n;const ph=useFeature(\"videoPlaceholders\")// staging only: show the empty video box so the layout can be judged\n;// They have just given their details to get the other resource, so the sign-up is ONE tap (his ask, 24 Oct 2026). The magnet form leaves email,\n// role, year, tier and mobile in sessionStorage (LeadCapture.rememberLead); with them, the form is replaced by a single button.\nconst[known,setKnown]=React.useState(null),[full,setFull]=React.useState(false),[demo,setDemo]=React.useState(false);React.useEffect(()=>{if(!after)return;const l=recallLead();if(l&&l.role&&l.year&&l.tier){setKnown(l);setEmail(l.email);setRole(l.role);setYear(l.year);setTier(l.tier);if(l.phone){setPhone(l.phone);setOk(!!l.whatsappOk);}return;}// So he can SEE the one-tap card without going through a lead magnet form first (his ask, 24 Oct): the \"Preview one-tap\" control in the editor, or ?demo=1 on the staging address.\n// Never on the live site, and the button in this mode saves nobody: it only moves on to the next page.\nconst live=/(^|\\.)mygcsemaths\\.com$/.test(window.location.hostname);if(!live&&(p.previewOneTap||new URLSearchParams(window.location.search).get(\"demo\")===\"1\")){setDemo(true);setKnown({email:\"you@example.com\",role:\"Parent\",year:\"Year 10\",tier:\"Higher\"});}},[after,p.previewOneTap]);const[state,setState]=React.useState(\"idle\");const[msg,setMsg]=React.useState(\"\");// Which field stopped the submit (outlined red, scrolled into view); cleared as soon as it is fixed\nconst[bad,setBad]=React.useState(\"\");const refs={email:React.useRef(null),role:React.useRef(null),year:React.useRef(null),tier:React.useRef(null),ok: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))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 (or Not sure).\");if(phone.trim()&&!ok)return fail(\"ok\",\"Tick the box so Matt can message you, or leave the mobile blank.\");setBad(\"\");setState(\"sending\");// Standard lead fields (AXIO project \"Free lessons engine\", file 09). Exam Year: the academic year turns on 1 Sep;\n// Year N in academic year AY sits in June AY+1+(11−N). Lead Campaign / Lead Source / Lead Medium + Signup Date are set by the normaliser from the list + UTM tags (first wins).\nconst now=new Date,ay=now.getMonth()>=8?now.getFullYear():now.getFullYear()-1;const exam=year===\"Resit\"?\"Resit\":/^Year \\d+$/.test(year)?String(ay+1+(11-Number(year.slice(5)))):\"\";// Channel tracking (UTM link set, 15 Oct): short links /ig /fb /tt /yt /wa add utm_*; referrer is the fallback.\n// The normaliser turns UTM Source / UTM Medium into Lead Source / Lead Medium when those are blank.\nconst qs=new URLSearchParams(typeof window!==\"undefined\"?window.location.search:\"\");const utm={};for(const[k,f]of[[\"utm_source\",\"UTM Source\"],[\"utm_medium\",\"UTM Medium\"],[\"utm_campaign\",\"UTM Campaign\"]])if(qs.get(k))utm[f]=qs.get(k).slice(0,100);const ref=typeof document!==\"undefined\"?document.referrer:\"\";if(ref&&!ref.includes(\"mygcsemaths.com\"))utm[\"Landing Referrer\"]=ref.slice(0,200);const ml=metaLead()// Meta Conversions API keys + the shared event id (17 Oct 2026)\n;const body={data:{type:\"subscription\",attributes:{custom_source:after?`${p.source} (after other resource)`:p.source,profile:{data:{type:\"profile\",attributes:{email:email.trim(),properties:{\"Role\":role,\"Year Group At Signup\":year,\"Exam Year\":exam,\"Tier\":tier,\"Free Lesson Date\":(EVENT.startUtc||p.lessonIso).slice(0,10),\"Funnel Version\":withVideo?\"video\":\"no video\",...after&&qs.get(\"lm\")?{\"Lead Magnet\":qs.get(\"lm\").slice(0,60)}:{},...utm,...ml.props,...phone.trim()?{\"Mobile\":phone.trim(),\"WhatsApp OK\":ok}:{}}}}}},relationships:{list:{data:{type:\"list\",id:KLAVIYO_LIST}}}}};try{const r=await fetch(`https://a.klaviyo.com/client/subscriptions?company_id=${KLAVIYO_SITE}`,{method:\"POST\",headers:{\"Content-Type\":\"application/vnd.api+json\",revision:\"2024-10-15\"},body:JSON.stringify(body)});if(!r.ok)throw new Error(String(r.status));const w=window;// Meta Lead. eventID = the one on the profile, so the lead-intake Worker's server copy de-duplicates against it (17 Oct 2026).\nif(typeof w.fbq===\"function\")w.fbq(\"track\",\"Lead\",{content_name:p.source},{eventID:ml.id});if(typeof w.gtag===\"function\")w.gtag(\"event\",\"generate_lead\",{source:p.source});setState(\"done\");setTimeout(()=>toGift(role,email.trim(),(after?JOIN_WHATSAPP_AFTER:JOIN_WHATSAPP)+sfx),900);}catch{setMsg(\"Something went wrong. Please try again.\");setState(\"error\");}}const mode=wide?\"wide\":tab?\"tab\":\"phone\";const input={width:\"100%\",boxSizing:\"border-box\",fontFamily:B,fontSize:16,height:48,padding:\"0 14px\",borderRadius:12,border:`1.5px solid ${C.line}`,outline:\"none\",color:C.ink,background:\"#fff\"};const form=state===\"done\"?/*#__PURE__*/_jsxs(\"div\",{role:\"status\",children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:F,fontWeight:800,fontSize:30,lineHeight:1.05,color:C.ink},children:\"You're in.\"}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:B,fontSize:16,color:C.grey,margin:\"8px 0 0\"},children:[\"See you \",LESSON_DATE,\", \",LESSON_TIME,\". We've emailed you the link. Not there in 10 minutes? Check your spam folder.\"]}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:B,fontSize:16,fontWeight:600,color:C.ink,margin:\"14px 0 0\"},children:[\"Taking you to the last step… \",/*#__PURE__*/_jsx(\"a\",{href:`${(after?JOIN_WHATSAPP_AFTER:JOIN_WHATSAPP)+sfx}?for=${role===\"Parent\"?\"parent\":\"student\"}`,style:{color:C.blue},children:\"Go now\"})]})]}):/*#__PURE__*/_jsxs(\"form\",{onSubmit:submit,noValidate:true,children:[/*#__PURE__*/_jsx(\"div\",{className:\"ss-card-title\",style:{fontFamily:F,fontWeight:800,fontSize:26,color:C.ink,marginBottom:12},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:{...input,...bad===\"email\"?{borderColor:ERR,boxShadow:`0 0 0 1px ${ERR}`}:{}},\"aria-label\":\"Email address\",\"aria-invalid\":bad===\"email\"}),/*#__PURE__*/_jsx(Seg,{label:\"I'm a\",options:[\"Parent\",\"Student\"],value:role,onChange:fix(\"role\",setRole),bad:bad===\"role\",boxRef:refs.role}),/*#__PURE__*/_jsx(Seg,{label:\"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,{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:e=>setPhone(e.target.value),className:\"ss-in\",style:{...input,marginTop:16},\"aria-label\":\"Mobile number (optional)\"}),phone.trim()?/*#__PURE__*/_jsxs(\"label\",{ref:refs.ok,style:{display:\"flex\",gap:10,alignItems:\"flex-start\",marginTop:10,fontFamily:B,fontSize:13,color:bad===\"ok\"?ERR:C.grey,lineHeight:1.4,cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:ok,onChange:e=>{setOk(e.target.checked);if(bad===\"ok\"){setBad(\"\");setState(\"idle\");}},style:{width:18,height:18,marginTop:1,accentColor:C.blue,flex:\"none\"}}),\"Matt can WhatsApp me about this lesson.\"]}):null,state===\"error\"?/*#__PURE__*/_jsx(\"div\",{role:\"alert\",style:{fontFamily:B,fontSize:15,fontWeight:600,color:ERR,marginTop:12},children:msg}):null,/*#__PURE__*/_jsx(\"button\",{type:\"submit\",className:\"ss-go\",disabled:state===\"sending\",style:{width:\"100%\",marginTop:20,height:52,padding:\"3px 0 0\",borderRadius:12,border:\"none\",background:C.blue,color:\"#fff\",fontFamily:F,fontWeight:700,fontSize:19,cursor:\"pointer\",opacity:state===\"sending\"?.6:1},children:state===\"sending\"?\"Saving…\":\"Save my free place\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:B,fontSize:13,fontWeight:500,color:C.ink,margin:\"12px 0 0\",lineHeight:1.4,textAlign:\"center\"},children:\"Can't make it live? Register anyway and we'll send you the replay.\"}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:B,fontSize:13,color:C.grey,margin:\"6px 0 0\",lineHeight:1.45,textAlign:\"center\"},children:[\"We'll email you about this lesson and MyGCSEMaths, and you can unsubscribe any time.\",\" \",/*#__PURE__*/_jsx(\"a\",{href:\"/legal/privacy\",style:{color:C.grey},children:\"Privacy policy\"})]})]});// Phones (his note, 23 Oct late: \"we also spoke about making this page more aesthetic\"): the badge with its live dot (as on iPad and laptop), the title, then the live-lesson laptop mock-up (solid, no blend; his final layout, 23 Oct late), and one \"ticket\" row (date tile, time, YouTube, Matt) in place of the host row + three bullets.\n// ── shared by every version of the page (his ruling, 24 Oct: the sign-up and the after-other-resource sign-up are the SAME page, only the green banner (and the one tap) differ)\nconst onPhone=mode===\"phone\";const resName=lm?RESOURCE_NAME[lm]:\"free resource\";const banner=after?/*#__PURE__*/_jsx(SuccessBanner,{mode:mode,title:onPhone?\"Success! Check your inbox\":/*#__PURE__*/_jsxs(\"span\",{style:{whiteSpace:\"nowrap\"},children:[\"Success! Your \",resName,\" is on its way. Check your inbox.\"]})}):null;// the one tap when their details are known, else the form\nconst oneTap=/*#__PURE__*/_jsxs(\"div\",{style:{background:\"#fff\",borderRadius:20,padding:onPhone?\"20px 18px\":\"26px 24px\",border:`1px solid ${C.line}`,boxShadow:\"0 24px 60px -30px rgba(14,16,19,.35)\",textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{className:\"ss-card-title\",style:{fontFamily:F,fontWeight:800,fontSize:28,lineHeight:1.1,color:C.ink},children:\"Save your free place\"}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:B,fontSize:16,lineHeight:1.5,color:C.grey,margin:\"8px 0 0\"},children:[\"We'll use the details you just gave us: \",/*#__PURE__*/_jsx(\"b\",{style:{color:C.ink},children:known?.email})]}),state===\"error\"?/*#__PURE__*/_jsx(\"div\",{role:\"alert\",style:{fontFamily:B,fontSize:15,fontWeight:600,color:\"#d92d20\",marginTop:12},children:msg}):null,/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>demo?window.location.href=`${JOIN_WHATSAPP_AFTER}${sfx}?for=parent`:submit(),className:\"ss-go\",disabled:state===\"sending\",style:{width:\"100%\",marginTop:18,height:58,padding:\"3px 0 0\",borderRadius:12,border:\"none\",background:C.blue,color:\"#fff\",fontFamily:F,fontWeight:700,fontSize:21,cursor:\"pointer\",opacity:state===\"sending\"?.6:1},children:state===\"sending\"?\"Saving…\":\"Save my free place\"}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:B,fontSize:15,color:C.grey,margin:\"14px 0 0\"},children:[\"Different email or details? \",/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>setFull(true),style:{background:\"none\",border:0,padding:0,cursor:\"pointer\",fontFamily:B,fontSize:15,fontWeight:600,color:C.blue,textDecoration:\"underline\"},children:\"Use the full form\"})]})]});const action=known&&!full&&state!==\"done\"?oneTap:/*#__PURE__*/_jsx(FormCard,{mode:mode,children:form});const[dow,dayNum,mon]=(()=>{try{const d=new Date(EVENT.startUtc);return[d.toLocaleDateString(\"en-GB\",{weekday:\"short\",timeZone:\"Europe/London\"}),d.toLocaleDateString(\"en-GB\",{day:\"numeric\",timeZone:\"Europe/London\"}),d.toLocaleDateString(\"en-GB\",{month:\"short\",timeZone:\"Europe/London\"})];}catch{return[\"\",\"\",\"\"];}})();// The details are the home page's three bullets on every size (his ask, 24 Oct: \"the same as the equivalent form on the home screen, so with the bullets\")\nconst homeBullets=[LESSON_DATE,\"Live with Matt, free\",\"For Year 9, 10, 11 and resits\"];const phoneLeft=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Badge,{mode:mode,label:\"FREE LIVE LESSON\",small:true,dot:true}),/*#__PURE__*/_jsx(\"h1\",{style:{fontFamily:F,fontWeight:800,fontSize:30,lineHeight:1.04,margin:\"12px 0 0\",color:C.ink,textWrap:\"balance\"},children:\"GCSE Maths Past Paper Walkthrough\"}),withVideo&&(p.video||ph)?/*#__PURE__*/_jsx(\"div\",{style:{marginTop:12},children:/*#__PURE__*/_jsx(VideoSlot,{mode:mode,id:p.video||undefined,title:\"Matt on the free lesson\"})}):/*#__PURE__*/_jsx(\"img\",{src:LAPTOP_LIVE.replace(\".webp\",\"-520.webp\"),srcSet:`${LAPTOP_LIVE.replace(\".webp\",\"-520.webp\")} 520w, ${LAPTOP_LIVE} 1000w`,sizes:\"(max-width: 600px) 460px, 560px\",alt:\"A MyGCSEMaths live lesson on a laptop: Matt working through a past paper question, with the live chat\",width:1e3,height:599,fetchPriority:\"high\",style:{display:\"block\",width:\"100%\",maxWidth:230,height:\"auto\",margin:\"4px auto 0\"}}),/*#__PURE__*/_jsx(Bullets,{mode:mode,items:homeBullets})]});const left=mode===\"phone\"?phoneLeft:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Badge,{mode:mode,label:\"FREE LIVE LESSON\"}),/*#__PURE__*/_jsx(Headline,{mode:mode,lines:[\"GCSE Maths\",\"Past Paper\",\"Walkthrough\"]}),withVideo&&(p.video||ph)?/*#__PURE__*/_jsx(\"div\",{style:{marginTop:18,maxWidth:520},children:/*#__PURE__*/_jsx(VideoSlot,{mode:mode,id:p.video||undefined,title:\"Matt on the free lesson\"})}):null,/*#__PURE__*/_jsx(Host,{mode:mode,avatar:p.avatar||p.portrait}),/*#__PURE__*/_jsx(Bullets,{mode:mode,items:homeBullets}),wide?/*#__PURE__*/_jsx(ReviewStrip,{mode:mode,style:{marginTop:28,maxWidth:460}}):null]});const right=/*#__PURE__*/_jsxs(_Fragment,{children:[action,wide?null:/*#__PURE__*/_jsx(ReviewStrip,{mode:mode})]});// ── the after-other-resource pages and the \"-video\" sign-up: the Group Tutoring look (his ask, 24 Oct): the blue band, ONE white panel, the title, the video or the picture, the form.\nconst h1=(text,size,align=\"center\")=>/*#__PURE__*/_jsx(\"h1\",{style:{fontFamily:F,fontWeight:800,fontSize:size,lineHeight:1.05,margin:\"14px 0 0\",color:C.ink,textAlign:align,textWrap:\"balance\"},children:titleCase(text)});const videoBox=title=>/*#__PURE__*/_jsx(VideoSlot,{mode:mode,id:p.video||undefined,title:title});const pic=maxW=>/*#__PURE__*/_jsx(\"img\",{src:LAPTOP_LIVE.replace(\".webp\",\"-520.webp\"),srcSet:`${LAPTOP_LIVE.replace(\".webp\",\"-520.webp\")} 520w, ${LAPTOP_LIVE} 1000w`,sizes:\"(max-width: 600px) 460px, 560px\",alt:\"Matt teaching a live GCSE Maths lesson on a laptop\",width:1e3,height:599,style:{display:\"block\",width:\"100%\",maxWidth:maxW,height:\"auto\",margin:\"0 auto\"}});const showVideo=withVideo&&(!!p.video||ph);const centre=(maxW,node,top=18)=>/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:maxW,margin:`${top}px auto 0`},children:node});let body=null;if(withVideo&&!onPhone){// BOTH \"-video\" sign-ups on laptop and iPad (his notes, 24 Oct: the sign-up video and the after-resource video \"basically should be the same\"): the badge, a big title, a BIG video, then\n// the date pill (two facts, as tall as the ratings box) beside the Trustpilot/Google box, then a wide centred form. iPad uses the same layout, just a little narrower.\nconst W=wide?840:700;// laptop (his approval, 13 Nov 2026): three bullets, the middle one word for word from the phone version, and a bigger date line and bullets. iPad keeps two facts at its sizes.\nconst facts=(wide?[LESSON_TIME,\"Live with Matt, free\",\"For Year 9, 10, 11 and resits\"]:[LESSON_TIME,\"For Year 9, 10, 11 and resits\"]).filter(Boolean);const big=!wide;const pill=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:big?12:16,height:\"100%\",boxSizing:\"border-box\",background:\"#fff\",borderRadius:18,padding:big?\"14px 14px\":\"14px 18px\",border:`1px solid ${C.line}`,boxShadow:\"0 16px 40px -28px rgba(14,16,19,.35)\",textAlign:\"left\"},children:[/*#__PURE__*/_jsxs(\"div\",{\"aria-hidden\":\"true\",style:{flex:\"none\",width:big?56:64,borderRadius:12,overflow:\"hidden\",textAlign:\"center\",border:`1px solid ${C.line}`},children:[/*#__PURE__*/_jsx(\"div\",{style:{background:\"#d60000\",color:\"#fff\",fontFamily:F,fontWeight:700,fontSize:12,letterSpacing:\".06em\",padding:\"4px 0 2px\"},children:mon.toUpperCase()}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:F,fontWeight:800,fontSize:big?24:28,lineHeight:1,padding:\"6px 0 4px\",color:C.ink},children:dayNum})]}),/*#__PURE__*/_jsxs(\"div\",{style:{minWidth:0,flex:1},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:F,fontWeight:800,fontSize:big?20:28,lineHeight:1.15,color:C.ink,whiteSpace:\"nowrap\"},children:LESSON_DATE}),/*#__PURE__*/_jsx(\"ul\",{style:{listStyle:\"none\",margin:big?\"6px 0 0\":\"10px 0 0\",padding:0,display:\"grid\",gap:big?3:6},children:facts.map(t=>/*#__PURE__*/_jsxs(\"li\",{style:{display:\"flex\",alignItems:\"center\",gap:8,fontFamily:B,fontSize:big?16:22,lineHeight:1.3,color:big?C.grey:C.ink},children:[/*#__PURE__*/_jsx(\"i\",{style:{width:8,height:8,borderRadius:8,background:C.blue,flex:\"none\",marginTop:1}}),t]},t))})]})]});// 11 Nov 2026 (his note: on the video page \"the form is not visible without scrolling ... that could cut the number of people who sign up\"):\n// on a laptop the video and the form sit side by side, so the form is on screen straight away. iPad keeps the stacked layout.\nif(wide)body=/*#__PURE__*/_jsx(BluePanel,{mode:mode,max:1180,children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"minmax(0, 1.12fr) minmax(0, .88fr)\",gap:36,alignItems:\"start\",textAlign:\"left\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(Badge,{mode:mode,label:\"FREE LIVE LESSON\",small:false}),h1(\"GCSE Maths Past Paper Walkthrough\",46,\"left\"),showVideo?/*#__PURE__*/_jsx(\"div\",{style:{marginTop:18},children:videoBox(after?\"Matt invites you to the free lesson\":\"Matt on the free lesson\")}):null,/*#__PURE__*/_jsx(\"div\",{style:{marginTop:16},children:pill})]}),/*#__PURE__*/_jsxs(\"div\",{children:[action,/*#__PURE__*/_jsx(ReviewStrip,{mode:mode,style:{marginTop:16}})]})]})});else body=/*#__PURE__*/_jsxs(BluePanel,{mode:mode,max:1100,children:[/*#__PURE__*/_jsx(Badge,{mode:mode,label:\"FREE LIVE LESSON\",small:false}),h1(\"GCSE Maths Past Paper Walkthrough\",wide?60:50),showVideo?centre(W,videoBox(after?\"Matt invites you to the free lesson\":\"Matt on the free lesson\"),wide?24:20):null,/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"minmax(0, 1fr) minmax(0, 1fr)\",gap:24,alignItems:\"stretch\",maxWidth:W,margin:\"24px auto 0\"},children:[pill,/*#__PURE__*/_jsx(ReviewStrip,{mode:mode,style:{height:\"100%\",boxSizing:\"border-box\",marginTop:0}})]}),centre(W,action,24)]});}return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,style:{width:\"100%\",background:\"#fff\",color:SC.ink},children:[/*#__PURE__*/_jsx(StageStyles,{}),banner,body??/*#__PURE__*/_jsx(Stage,{mode:mode,left:left,right:right})]});}/** The A/B test version check (FunnelBlocks.useFunnelSplit), then the page itself. */function FreeLessonSignupView(p){useFunnelSplit(p.layout);return /*#__PURE__*/_jsx(FreeLessonSignupInner,{...p});}FreeLessonSignup.defaultProps={lessonDate:\"\",lessonTime:\"\",lessonIso:\"2026-10-20T18:00:00Z\",durationMins:60,portrait:\"https://framerusercontent.com/images/eBU7jkq52LjgnuJBLXGzdOJWwdU.png\",avatar:\"https://framerusercontent.com/images/NpkJiPeMzNKOlSRISGz7bcn2c.jpg\",hero:\"https://framerusercontent.com/images/FzgX5gZpGhqCnyZX8gHeM2MIDY.jpg\",youtubeUrl:\"https://www.youtube.com/live/ssnc3yUsGJM\",source:\"Free Lesson Signup page\",video:\"\",afterResource:false,previewOneTap:false,layout:\"image\"};addPropertyControls(FreeLessonSignup,{bp:BP_CONTROL,lessonDate:{type:ControlType.String,title:\"Date\"},lessonTime:{type:ControlType.String,title:\"Time\"},lessonIso:{type:ControlType.String,title:\"Start (UTC ISO)\"},durationMins:{type:ControlType.Number,title:\"Minutes\"},portrait:{type:ControlType.Image,title:\"Portrait\"},avatar:{type:ControlType.Image,title:\"Avatar\"},hero:{type:ControlType.Image,title:\"Hero photo\"},youtubeUrl:{type:ControlType.String,title:\"YouTube URL\"},source:{type:ControlType.String,title:\"Source tag\"},afterResource:{type:ControlType.Boolean,title:\"After other resource\",defaultValue:false,description:\"On for /signup-after-other-resource: shows the Success banner and the invite video, and sends them to the matching WhatsApp page.\"},layout:{type:ControlType.Enum,title:\"Layout\",options:[\"image\",\"video\"],optionTitles:[\"Without video (picture)\",\"With video\"],defaultValue:\"image\",description:\"The two versions of each funnel step (his plan, 24 Oct): the -video pages use With video, the others use Without video.\"},previewOneTap:{type:ControlType.Boolean,title:\"Preview one-tap\",defaultValue:false,description:\"Shows the one-tap card with a sample email, in the editor and on staging only (ignored on the live site; saves nobody). Also: ?demo=1 on a staging address.\"},video:{type:ControlType.String,title:\"Invite video (id)\",description:\"Matt's invitation, shown on the after-other-resource page only. Hidden until set.\"}});// First Paint (FirstPaint.tsx, 8 Nov 2026): the breakpoint's layout is the one pre-rendered\nexport default function FreeLessonSignup(p){return /*#__PURE__*/_jsx(BpScope,{bp:p.bp,children:/*#__PURE__*/_jsx(FreeLessonSignupView,{...p})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FreeLessonSignup\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,0iBAMA,SAASmD,GAAY,EAAI,CAAC,GAAK,CAACC,EAAEC,GAAMrD,EAAegC,EAAU,CAAC,EAEmB,OADpF3B,MAA0B,CAAC,IAAMiD,EAAGC,EAAI,QAAQ,GAAG,CAACD,EAAG,OAAO,IAAME,MAAOH,EAAKC,EAAG,aAAa/C,EAAO,UAAU,EACjHiD,EAAG,EAAE,IAAMC,EAAG,IAAI,eAAeD,CAAE,EAAiB,OAAfC,EAAG,QAAQH,CAAE,MAAYG,EAAG,WAAW,CAAE,EAAE,CAA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