1import{r as m,j as e}from"./index-DR5BtYFg.js";import{H as u,F as b}from"./Footer-DEyAflqn.js";import{p as N}from"./index-_LgOOS0X.js";import"./nav-Df3-WuPQ.js";function B(){const[a,i]=m.useState({}),[p,y]=m.useState(!0),x=N["tuition-payments"];if(m.useEffect(()=>{(async()=>{try{const t={};x.sections.forEach(s=>{s.defaultData&&(t[s.id]=s.defaultData)});const l=await fetch("/api/admin/pages?slug=tuition-payments");if(l.ok){const s=await l.json();if(s&&s.sections){const j={...t};s.sections.forEach(o=>{j[o.sectionKey]={...t[o.sectionKey]||{},...o.content||{}}}),i(j)}else i(t)}else i(t)}catch(t){console.error("Failed to load page data:",t);const l={};x.sections.forEach(s=>{s.defaultData&&(l[s.id]=s.defaultData)}),i(l)}finally{y(!1)}})()},[]),p)return e.jsxs(e.Fragment,{children:[e.jsx(u,{}),e.jsx("div",{className:"min-h-screen bg-background py-12",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-8 text-center",children:[e.jsx("div",{className:"inline-block animate-spin rounded-full h-12 w-12 border-b-2 border-primary"}),e.jsx("p",{className:"mt-4 text-gray-600",children:"Loading tuition information..."})]})}),e.jsx(b,{})]});const h=a.hero||{},r=a.fullYearTuition||{},f=a.termSchedule||{},n=a.fallTerm||{},c=a.springTerm||{},d=a.summerTerm||{},g=a.paymentButton||{};return e.jsxs(e.Fragment,{children:[e.jsx(u,{}),e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx("section",{className:"bg-black py-16",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-8 text-center",children:[e.jsx("h1",{className:"text-3xl md:text-5xl font-bold mb-6 text-white",children:h.title||"Tuition Payments"}),e.jsx("p",{className:"text-xl text-gray-300",children:h.subtitle||"2025-2026 Tuition Schedule"})]})}),e.jsx("section",{className:"py-12",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-8",children:[e.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-8 mb-8",children:[e.jsxs("h2",{className:"text-3xl font-bold mb-2 text-primary",children:["Full Year Tuition: ",r.total||"$27,750"]}),e.jsx("p",{className:"text-gray-600 mb-6",children:r.period||"(Full Year) Elul thru Av"}),e.jsxs("div",{className:"grid md:grid-cols-3 gap-4 mb-4",children:[e.jsxs("div",{className:"bg-gray-50 rounded p-4",children:[e.jsx("div",{className:"text-sm text-gray-600 mb-1",children:"Tuition"}),e.jsx("div",{className:"text-2xl font-bold text-gray-900",children:r.tuition||"$16,700"})]}),e.jsxs("div",{className:"bg-gray-50 rounded p-4",children:[e.jsx("div",{className:"text-sm text-gray-600 mb-1",children:"Registration"}),e.jsx("div",{className:"text-2xl font-bold text-gray-900",children:r.registration||"$500*"})]}),e.jsxs("div",{className:"bg-gray-50 rounded p-4",children:[e.jsx("div",{className:"text-sm text-gray-600 mb-1",children:"Room and Board"}),e.jsx("div",{className:"text-2xl font-bold text-gray-900",children:r.roomBoard||"$10,550"})]})]})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-8 mb-8",children:[e.jsxs("h2",{className:"text-2xl font-bold mb-6 text-primary",children:["Per Term (3 terms a year): ",f.perTermTotal||"$9,000"]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"border-l-4 border-blue-500 pl-6 py-4 bg-blue-50",children:[e.jsx("h3",{className:"text-xl font-bold mb-3 text-gray-900",children:"Fall Term"}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-gray-700",children:"Tuition:"}),e.jsx("span",{className:"font-semibold text-gray-900",children:n.tuition||"$5570"})]}),e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-gray-700",children:"Registration:"}),e.jsx("span",{className:"font-semibold text-gray-900",children:n.registration||"$500*"})]}),e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-gray-700",children:"Room and Board:"}),e.jsx("span",{className:"font-semibold text-gray-900",children:n.roomBoard||"$3520"})]})]})]}),e.jsxs("div",{className:"border-l-4 border-green-500 pl-6 py-4 bg-green-50",children:[e.jsx("h3",{className:"text-xl font-bold mb-3 text-gray-900",children:"Spring Term"}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-gray-700",children:"Tuition:"}),e.jsx("span",{className:"font-semibold text-gray-900",children:c.tuition||"$5565"})]}),e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-gray-700",children:"Registration:"}),e.jsx("span",{className:"font-semibold text-gray-900",children:c.registration||"$500*"})]}),e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-gray-700",children:"Room and Board:"}),e.jsx("span",{className:"font-semibold text-gray-900",children:c.roomBoard||"$3515"})]})]})]}),e.jsxs("div",{className:"border-l-4 border-orange-500 pl-6 py-4 bg-orange-50",children:[e.jsx("h3",{className:"text-xl font-bold mb-3 text-gray-900",children:"Summer Term"}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-gray-700",children:"Tuition:"}),e.jsx("span",{className:"font-semibold text-gray-900",children:d.tuition||"$5565"})]}),e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-gray-700",children:"Registration:"}),e.jsx("span",{className:"font-semibold text-gray-900",children:d.registration||"$500*"})]}),e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-gray-700",children:"Room and Board:"}),e.jsx("span",{className:"font-semibold text-gray-900",children:d.roomBoard||"$3515"})]})]})]})]})]}),e.jsx("div",{className:"text-center",children:e.jsx("a",{href:g.buttonLink||"/payments",className:"inline-block bg-black text-white px-8 py-4 rounded-md font-medium text-lg hover:bg-gray-800 transition-colors shadow-lg",children:g.buttonText||"Pay Now"})})]})})]}),e.jsx(b,{})]})}
1export{B 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.