PageSourceSearch

https://yogilab.com/assets/CapeTownApplication2026-DDXgLMPS.js

js yogilab.com collected 2026-09-24 12:54:10 UTC 22,347 bytes, 1 lines download raw bytes

1import{h as ie,r as A,e as oe,j as e,I as y,B as O,L as q,S as le,d as me,l as D}from"./index-DpLaE3eB.js";import{i as F,u as ce,b as de,C as c,R as p,a as j,P as L,t as he}from"./style-DR0Ke7sA.js";import{L as d}from"./label-CEBL4jgL.js";import{T as b}from"./textarea-ur3IEItp.js";import{C as E}from"./checkbox-DkxmDqeH.js";import{s as xe}from"./client-zgyTss6G.js";import{c as ue,g as pe,a as je,s as ge,f as ye}from"./leadTracking-C3QHBPK2.js";import{n as fe,t as Ne,a as be}from"./metaPixel-Dxt9KBwq.js";import{T as ve}from"./trash-2-BDbVwh8L.js";import{P as Ce}from"./plus-D_E7rnI7.js";import{L as we}from"./loader-circle-DsTlXG3a.js";import{o as M,a as G,c as Se,s as i,l as w,e as g}from"./types-BL-gAech.js";import"./index-DPkD3dT1.js";import"./index-m39Mtohm.js";import"./circle-DB6y981-.js";import"./index-RgPNotw_.js";import"./check-CX6KHYLe.js";const De=["Vipassana","Mindfulness (breath awareness, body scan)","Zen / Zazen","Transcendental Meditation","Yoga / movement-based","Guided meditation","Prayer","Other","None / I'm new"],Pe=M({retreatsCompleted:G(M({count:Se.number().min(0,"Must be 0 or more"),tradition:i().trim().max(200).optional().or(w(""))})).min(1),participationType:g(["Full-time (Full 10 days)","Part-time (I can only attend a few days)","Remote"]),commitmentReady:g(["Yes, I am ready","I'm not sure yet","No, this feels too much for me right now"]),meditationExperience:g(["I am new to meditation","Less than 1 year","1-5 years","5-10 years","10+ years"]),meditationFrequency:g(["Daily","Several times per week","Once a week","Occasionally","Rarely / not currently"]),meditationStyles:G(i()).min(1,"Select at least one"),meditationStylesOther:i().optional(),observedSilence:g(["Yes","No"]),silenceDescription:i().optional(),primaryReason:i().trim().min(1,"Required").max(2e3),hopingToGain:i().trim().min(1,"Required").max(2e3),majorChanges:g(["Yes","No"]),majorChangesDescription:i().optional(),medicalConditions:g(["Yes","No"]),medicalDescription:i().optional(),personalityDisorder:g(["Yes","No"]),personalityDisorderDescription:i().optional(),agreePrecepts:g(["Yes, I agree","No, I do not agree"]),awareOpenVipassana:g(["Yes","No"]),firstName:i().trim().min(1,"Required").max(100),lastName:i().trim().min(1,"Required").max(100),gender:g(["Female","Male"]),whatsapp:i().min(1,"Required").refine(r=>F(r),{message:"Please enter a valid phone number"}),email:i().trim().min(1,"Required").email("Please enter a valid email").max(255),instagram:i().trim().min(1,"Required").max(100),heardAboutUs:i().trim().min(1,"Required").max(1e3),emergencyName:i().trim().min(1,"Required").max(200),emergencyRelationship:i().trim().min(1,"Required").max(100),emergencyPhone:i().min(1,"Required").refine(r=>F(r),{message:"Please enter a valid phone number"}),emergencyCountry:i().trim().min(1,"Required").max(100),confirmAccurate:w(!0,{errorMap:()=>({message:"You must confirm this"})}),confirmSilent:w(!0,{errorMap:()=>({message:"You must confirm this"})}),confirmCanAttend:w(!0,{errorMap:()=>({message:"You must confirm this"})}),agreeTerms:w(!0,{errorMap:()=>({message:"You must agree to the Terms & Conditions"})})}).refine(r=>{var t;return!r.meditationStyles.includes("Other")||(((t=r.meditationStylesOther)==null?void 0:t.trim().length)??0)>0},{message:"Please specify",path:["meditationStylesOther"]}).refine(r=>{var t;return r.observedSilence==="No"||(((t=r.silenceDescription)==null?void 0:t.trim().length)??0)>0},{message:"Please briefly describe",path:["silenceDescription"]}).refine(r=>{var t;return r.majorChanges==="No"||(((t=r.majorChangesDescription)==null?void 0:t.trim().length)??0)>0},{message:"Please explain",path:["majorChangesDescription"]}).refine(r=>{var t;return r.medicalConditions==="No"||(((t=r.medicalDescription)==null?void 0:t.trim().length)??0)>0},{message:"Please describe",path:["medicalDescription"]}).refine(r=>{var t;return r.personalityDisorder==="No"||(((t=r.personalityDisorderDescription)==null?void 0:t.trim().length)??0)>0},{message:"Please describe",path:["personalityDisorderDescription"]}),l=()=>e.jsx("hr",{className:"border-border my-10"}),h=({number:r,children:t})=>e.jsxs("h3",{className:"text-base font-semibold leading-snug mb-4 text-foreground",children:[e.jsxs("span",{className:"text-foreground
1/50 mr-1.5",children:[r,"."]}),t]}),u=({children:r})=>e.jsx("span",{className:"text-sm text-foreground",children:r}),Be=()=>{const r=ie(),[t,V]=A.useState(!1);oe({title:"Cape Town Vipassana Application 2026 | YogiLab",description:"Apply for the October 2026 Cape Town Vipassana meditation retreat.",path:"/cape-town-application-2026"}),A.useEffect(()=>{ue()},[]);const v=new URLSearchParams(window.location.search),P=pe(),T={name:(v.get("name")&&!v.get("name").includes("{{")?v.get("name"):P.name)??"",email:(v.get("email")&&!v.get("email").includes("{{")?v.get("email"):P.email)??"",instagram:P.instagram??""},R=(T.name??"").trim().split(/\s+/),H=R[0]??"",U=R.length>1?R.slice(1).join(" "):"",{register:o,control:m,handleSubmit:$,watch:f,formState:{errors:B}}=ce({resolver:he(Pe),defaultValues:{retreatsCompleted:[{count:0,tradition:""}],meditationStyles:[],meditationStylesOther:"",silenceDescription:"",majorChangesDescription:"",medicalDescription:"",personalityDisorderDescription:"",firstName:H,lastName:U,email:T.email??"",instagram:T.instagram??""}}),{fields:Y,append:W,remove:z}=de({control:m,name:"retreatsCompleted"}),I=f("meditationStyles"),Z=f("observedSilence"),_=f("majorChanges"),Q=f("medicalConditions"),J=f("personalityDisorder"),K=f("confirmAccurate"),X=f("confirmSilent"),ee=f("confirmCanAttend"),se=f("agreeTerms");A.useEffect(()=>{window.scrollTo(0,0)},[]);const n=({name:a})=>{const s=a.split(".").reduce((x,N)=>x==null?void 0:x[N],B);return s!=null&&s.message?e.jsx("p",{className:"text-sm text-destructive mt-1",children:String(s.message)}):null},ae=async a=>{V(!0);const s=D.loading("Submitting your application...");try{const x=je(),N=fe(),k={...a,...x,...Ne(N),referrer:document.referrer||void 0},{data:C,error:S}=await xe.functions.invoke("submit-cape-town-application",{body:k});if(S||!(C!=null&&C.success))throw new Error((S==null?void 0:S.message)||(C==null?void 0:C.error)||"Submission failed");be("SubmitApplication",{content_name:"Cape Town Vipassana 2026",content_category:"retreat_application"},N),ge({name:`${a.firstName} ${a.lastName}`.trim(),email:a.email,instagram:a.instagram}),D.success("Application submitted",{id:s});const te=ye({submitted:"1"});r(`/cape-town-student-portal?${te}`)}catch(x){const N=x instanceof Error?x.message:"Unknown error";D.error(`Submission failed: ${N}`,{id:s}),V(!1)}},ne=()=>{D.error("Please complete the highlighted questions before submitting."),requestAnimationFrame(()=>{const a=document.querySelector('[data-invalid="true"], .text-destructive');a==null||a.scrollIntoView({behavior:"smooth",block:"center"})})},re=t||!K||!X||!ee||!se;return e.jsxs("div",{className:"min-h-screen bg-background flex flex-col",children:[e.jsx("main",{className:"flex-1 py-12 md:py-16",children:e.jsxs("div",{className:"container max-w-3xl mx-auto px-4",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsx("p",{className:"text-sm uppercase tracking-widest text-muted-foreground mb-3",children:"Step 1 of 4"}),e.jsx("h1",{className:"text-heading text-foreground mb-4",children:"Cape Town Vipassana Application"}),e.jsx("p",{className:"text-lg text-muted-foreground",children:"Please answer honestly. Your responses help us reserve the right seat for you and keep the retreat safe for everyone."})]}),e.jsxs("form",{onSubmit:$(ae,ne),className:"bg-card rounded-2xl border border-border p-6 md:p-10 shadow-soft",children:[e.jsx("h2",{className:"text-xl font-semibold mb-6 text-foreground",children:"Meditation Background"}),e.jsxs("div",{children:[e.jsx(h,{number:1,children:"How many 10-day Vipassana retreats have you completed?"}),e.jsx("p",{className:"text-sm text-foreground/60 mb-3",children:"Add one line per tradition."}),e.jsx("div",{className:"space-y-3",children:Y.map((a,s)=>e.jsxs("div",{className:"flex gap-2 items-start",children:[e.jsxs("div",{className:"w-24",children:[e.jsx(y,{type:"number",min:0,placeholder:"0",...o(`retreatsCompleted.${s}.count`)}),e.jsx(n,{name:`retreatsCompleted.${s}.count`})]}),e.jsx("div",{className:"flex-1",children:e.jsx(y,{placeholder:"Of which tradition (e.g. Goenka, Yogilab, Mahasi...)",...o(`retreatsCompleted.${s}.tradition`)})}),Y.length>1&&e.jsx(O,{type:"button",variant:"ghost",size:"icon",onClick:()=>z(s),"aria-label":"Remove",children:e.jsx(ve,{className:"w-4 h-4"})})]},a.id))}),e.jsxs(O,{type:"button",variant:"outline",size:"sm",className:"mt-3",onClick:()=>W({count:0,tradition:""}),children:[e.jsx(Ce,{className:"w-4 h-4 mr-1"})," Add another tradition"]})]}),e.jsx(l,{}),e.jsxs("div",{children:[e.jsx(h,{number:2,children:"How would you like to join the Vip
1assana retreat in Cape Town?"}),e.jsx(c,{name:"participationType",control:m,render:({field:a})=>e.jsx(p,{onValueChange:a.onChange,value:a.value,className:"space-y-3",children:["Full-time (Full 10 days)","Part-time (I can only attend a few days)","Remote"].map(s=>e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx(j,{value:s}),e.jsx(u,{children:s})]},s))})}),e.jsx(n,{name:"participationType"})]}),e.jsx(l,{}),e.jsxs("div",{children:[e.jsx(h,{number:3,children:"Are you prepared to commit to silence and meditation whilst on site?"}),e.jsx(c,{name:"commitmentReady",control:m,render:({field:a})=>e.jsx(p,{onValueChange:a.onChange,value:a.value,className:"space-y-3",children:["Yes, I am ready","I'm not sure yet","No, this feels too much for me right now"].map(s=>e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx(j,{value:s}),e.jsx(u,{children:s})]},s))})}),e.jsx(n,{name:"commitmentReady"})]}),e.jsx(l,{}),e.jsxs("div",{children:[e.jsx(h,{number:4,children:"How long have you been practicing meditation?"}),e.jsx(c,{name:"meditationExperience",control:m,render:({field:a})=>e.jsx(p,{onValueChange:a.onChange,value:a.value,className:"space-y-3",children:["I am new to meditation","Less than 1 year","1-5 years","5-10 years","10+ years"].map(s=>e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx(j,{value:s}),e.jsx(u,{children:s})]},s))})}),e.jsx(n,{name:"meditationExperience"})]}),e.jsx(l,{}),e.jsxs("div",{children:[e.jsx(h,{number:5,children:"How often do you currently meditate?"}),e.jsx(c,{name:"meditationFrequency",control:m,render:({field:a})=>e.jsx(p,{onValueChange:a.onChange,value:a.value,className:"space-y-3",children:["Daily","Several times per week","Once a week","Occasionally","Rarely / not currently"].map(s=>e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx(j,{value:s}),e.jsx(u,{children:s})]},s))})}),e.jsx(n,{name:"meditationFrequency"})]}),e.jsx(l,{}),e.jsxs("div",{children:[e.jsx(h,{number:6,children:"Which meditation styles or techniques are you most familiar with?"}),e.jsx("p",{className:"text-sm text-foreground/60 mb-3",children:"Select all that apply"}),e.jsx(c,{name:"meditationStyles",control:m,render:({field:a})=>e.jsx("div",{className:"space-y-3",children:De.map(s=>{var x;return e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx(E,{checked:(x=a.value)==null?void 0:x.includes(s),onCheckedChange:N=>a.onChange(N?[...a.value??[],s]:(a.value??[]).filter(k=>k!==s))}),e.jsx(u,{children:s})]},s)})})}),e.jsx(n,{name:"meditationStyles"}),(I==null?void 0:I.includes("Other"))&&e.jsxs("div",{className:"mt-4",children:[e.jsx(d,{className:"text-sm",children:"Please specify:"}),e.jsx(y,{className:"mt-1",...o("meditationStylesOther")}),e.jsx(n,{name:"meditationStylesOther"})]})]}),e.jsx(l,{}),e.jsxs("div",{children:[e.jsx(h,{number:7,children:"Have you ever observed silence for more than one full day?"}),e.jsx(c,{name:"observedSilence",control:m,render:({field:a})=>e.jsx(p,{onValueChange:a.onChange,value:a.value,className:"space-y-3",children:["Yes","No"].map(s=>e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx(j,{value:s}),e.jsx(u,{children:s})]},s))})}),e.jsx(n,{name:"observedSilence"}),Z==="Yes"&&e.jsxs("div",{className:"mt-4",children:[e.jsx(d,{className:"text-sm",children:"Briefly describe the experience:"}),e.jsx(b,{className:"mt-1",...o("silenceDescription")}),e.jsx(n,{name:"silenceDescription"})]})]}),e.jsx(l,{}),e.jsx("h2",{className:"text-xl font-semibold mb-6 text-foreground",children:"Intentions"}),e.jsxs("div",{children:[e.jsx(h,{number:8,children:"What is your primary reason for attending this Vipassana retreat?"}),e.jsx(b,{rows:4,...o("primaryReason")}),e.jsx(n,{name:"primaryReason"})]}),e.jsx(l,{}),e.jsxs("div",{children:[e.jsx(h,{number:9,children:"What are you hoping to gain from this experience?"}),e.jsx(b,{rows:4,...o("hopingToGain")}),e.jsx(n,{name:"hopingToGain"})]}),e.jsx(l,{}),e.jsx("h2",{className:"text-xl font-semibold mb-6 text-foreground",children:"Readiness & Health"}),e.jsxs("div",{children:[e.jsx(h,{number:10,children:"Are you currently experiencing any major life changes or challenges?"}),e.jsx(c,{name:"majorChanges",control:m,render:({field:a})=>e.jsx(p,{onValueChange:a.onChange,value:a.value,className:"space-y-3",children:["Yes","No"].map(s=>e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx(j,{value:s}),e.jsx(u,{children:s})]},s))})}),e.jsx(n,{name:"majorChanges"}),_==="Yes"&&e.jsxs("div",{className:"mt-4",children:[e.jsx(d,{className:"text-sm",children:"Please explain:"}),e.jsx(b,{className:"mt-1",rows:3,...o("majorChangesDescription")}),e.jsx(n,{name:"majorChangesDescription"})]})]}),e.jsx(l,{}),e.jsxs("div",{children:[e.jsx(h,{number:11,children:"Do you have any physical, psych
1ological, or medical conditions that the teachers should be aware of?"}),e.jsx(c,{name:"medicalConditions",control:m,render:({field:a})=>e.jsx(p,{onValueChange:a.onChange,value:a.value,className:"space-y-3",children:["Yes","No"].map(s=>e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx(j,{value:s}),e.jsx(u,{children:s})]},s))})}),e.jsx(n,{name:"medicalConditions"}),Q==="Yes"&&e.jsxs("div",{className:"mt-4",children:[e.jsx(d,{className:"text-sm",children:"Please describe in detail:"}),e.jsx(b,{className:"mt-1",rows:3,...o("medicalDescription")}),e.jsx(n,{name:"medicalDescription"})]})]}),e.jsx(l,{}),e.jsxs("div",{children:[e.jsx(h,{number:12,children:"Have you ever experienced DID (Dissociative Identity Disorder), schizophrenia, or any other form of multiple/split personality disorder?"}),e.jsx(c,{name:"personalityDisorder",control:m,render:({field:a})=>e.jsx(p,{onValueChange:a.onChange,value:a.value,className:"space-y-3",children:["Yes","No"].map(s=>e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx(j,{value:s}),e.jsx(u,{children:s})]},s))})}),e.jsx(n,{name:"personalityDisorder"}),J==="Yes"&&e.jsxs("div",{className:"mt-4",children:[e.jsx(d,{className:"text-sm",children:"Please describe in detail
1:"}),e.jsx(b,{className:"mt-1",rows:3,...o("personalityDisorderDescription")}),e.jsx(n,{name:"personalityDisorderDescription"})]})]}),e.jsx(l,{}),e.jsx("h2",{className:"text-xl font-semibold mb-6 text-foreground",children:"Five Precepts"}),e.jsxs("div",{className:"rounded-xl bg-muted/40 border border-border p-5 mb-6",children:[e.jsx("p",{className:"text-sm font-semibold text-foreground mb-3",children:"During the retreat, students agree to:"}),e.jsxs("ul",{className:"space-y-2 text-sm text-foreground/80",children:[e.jsx("li",{children:"• No harming or killing any living being"}),e.jsx("li",{children:"• No taking what is not freely given"}),e.jsx("li",{children:"• No sexual activity"}),e.jsx("li",{children:"• No lying or harmful speech"}),e.jsx("li",{children:"• No intoxicants or compulsive behaviors"})]})]}),e.jsxs("div",{children:[e.jsx(h,{number:13,children:"Do you agree to follow all five precepts for the entire duration of the course?"}),e.jsx(c,{name:"agreePrecepts",control:m,render:({field:a})=>e.jsx(p,{onValueChange:a.onChange,value:a.value,className:"space-y-3",children:["Yes, I agree","No, I do not agree"].map(s=>e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx(j,{value:s}),e.jsx(u,{children:s})]},s))})}),e.jsx(n,{name:"agreePrecepts"})]}),e.jsx(l,{}),e.jsxs("div",{children:[e.jsx(h,{number:14,children:"Are you aware that this is an Open Vipassana - meaning the meditation space is provided but you will need to arrange your own accommodation and food throughout?"}),e.jsx(c,{name:"awareOpenVipassana",control:m,render:({field:a})=>e.jsx(p,{onValueChange:a.onChange,value:a.value,className:"space-y-3",children:["Yes","No"].map(s=>e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx(j,{value:s}),e.jsx(u,{children:s})]},s))})}),e.jsx(n,{name:"awareOpenVipassana"})]}),e.jsx(l,{}),e.jsx("h2",{className:"text-xl font-semibold mb-6 text-foreground",children:"Contact Information"}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(d,{className:"text-sm",children:"Legal First Name"}),e.jsx(y,{className:"mt-1",...o("firstName")}),e.jsx(n,{name:"firstName"})]}),e.jsxs("div",{children:[e.jsx(d,{className:"text-sm",children:"Legal Last Name"}),e.jsx(y,{className:"mt-1",...o("lastName")}),e.jsx(n,{name:"lastName"})]})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(d,{className:"text-sm",children:"Gender"}),e.jsx(c,{name:"gender",control:m,render:({field:a})=>e.jsx(p,{onValueChange:a.onChange,value:a.value,className:"flex gap-6 mt-2",children:["Female","Male"].map(s=>e.jsxs("label",{className:"flex items-center gap-2 cursor-pointer",children:[e.jsx(j,{value:s}),e.jsx(u,{children:s})]},s))})}),e.jsx(n,{name:"gender"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(d,{className:"text-sm",children:"WhatsApp Number (with country code)"}),e.jsx(c,{name:"whatsapp",control:m,render:({field:a})=>e.jsx(L,{international:!0,defaultCountry:"ZA",value:a.value,onChange:s=>a.onChange(s??""),className:"mt-1 phone-input"})}),e.jsx(n,{name:"whatsapp"})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4 mt-4",children:[e.jsxs("div",{children:[e.jsx(d,{className:"text-sm",children:"Email Address"}),e.jsx(y,{type:"email",className:"mt-1",...o("email")}),e.jsx(n,{name:"email"})]}),e.jsxs("div",{children:[e.jsx(d,{className:"text-sm",children:"Instagram Profile Name"}),e.jsx(y,{className:"mt-1",placeholder:"@yourhandle",...o("instagram")}),e.jsx(n,{name:"instagram"})]})]}),e.jsx(l,{}),e.jsxs("div",{children:[e.jsx(h,{number:15,children:"How did you hear about us?"}),e.jsx(b,{rows:3,placeholder:"Tell us how you found us",...o("heardAboutUs")}),e.jsx(n,{name:"heardAboutUs"})]}),e.jsx(l,{}),e.jsx("h2",{className:"text-xl font-semibold mb-2 text-foreground",children:"Emergency Contact"}),e.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:"Who should we contact in case of an emergency?"}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(d,{className:"text-sm",children:"Name"}),e.jsx(y,{className:"mt-1",...o("emergencyName")}),e.jsx(n,{name:"emergencyName"})]}),e.jsxs("div",{children:[e.jsx(d,{className:"text-sm",children:"Relationship"}),e.jsx(y,{className:"mt-1",placeholder:"e.g. Partner, Parent",...o("emergencyRelationship")}),e.jsx(n,{name:"emergencyRelationship"})]})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(d,{className:"text-sm",children:"Phone Number (with country code)"}),e.jsx(c,{name:"emergencyPhone",control:m,render:({field:a})=>e.jsx(L,{international:!0,defaultCountry:"ZA",value:a.value,onChange:s=>a.onChange(s??""),className:"mt-1 phone-input"})}),e.jsx(n,{name:"emergencyPhone"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(d,{className:"text-sm",children:"Where are they located? (country)"}),e.jsx(y,{className:"mt-1",placeholder:"Country",...o("emergencyCountry")}),e.jsx(n,{name:"emergencyCountry"})]}),e.jsx(l,{}),e.jsx("h2",{className:"text-xl font-semibold mb-6 text-foreground",children:"Terms & Conditions"}),e.jsx("div",{className:"space-y-4",children:[{name:"confirmAccurate",label:"I confirm that all information provided is accurate and complete."},{name:"confirmSilent",label:"I understand this is a silent meditation retreat with strict discipline."},{name:"confirmCanAttend",label:"I am able to make it to Cape Town and join the course for the schedule selected above."},{name:"agreeTerms",label:e.jsxs(e.Fragment,{children:["I have read and agree to the"," ",e.jsx(q,{to:"/vipassana-cape-town-tncs",target:"_blank",className:"underline hover:text-foreground",children:"Terms & Conditions"})," ","for the Cape Town Vipassana retreat."]})}].map(a=>e.jsxs("div",{className:"rounded-xl border-2 border-border bg-muted/30 p-5 hover:border-foreground
1/30 transition-colors",children:[e.jsx(c,{name:a.name,control:m,render:({field:s})=>e.jsxs("label",{className:"flex items-start gap-4 cursor-pointer",children:[e.jsx(E,{className:"mt-0.5 w-6 h-6",checked:!!s.value,onCheckedChange:x=>s.onChange(x===!0)}),e.jsx("span",{className:"text-base font-medium text-foreground leading-snug",children:a.label})]})}),e.jsx(n,{name:a.name})]},a.name))}),e.jsxs("p",{className:"text-sm text-muted-foreground mt-8 text-center",children:["Once you submit, you will receive a confirmation email - it might be in your Promotions or Spam folder. Reply to that email to confirm your application (search for ",e.jsx("strong",{children:"[email protected]"}),")."]}),e.jsxs("div",{className:"flex flex-col items-center gap-3 mt-8",children:[e.jsx(le,{type:"submit",disabled:re,className:"text-base font-semibold px-10 py-3 disabled:opacity-50",shimmerColor:"#ffffff",children:t?e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(we,{className:"w-4 h-4 animate-spin"}),"Submitting..."]}):"Submit application"}),t&&e.jsx("p",{className:"text-sm text-muted-foreground","aria-live":"polite",children:"Sending your application - this takes a few seconds, please do not close this page."})]}),e.jsx("p",{className:"text-center text-sm text-muted-foreground mt-6",children:e.jsx(q,{to:"/cape-town-student-portal",className:"underline hover:text-foreground",children:"Back to student portal"})})]})]})}),e.jsx(me,{})]})};export{Be as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.