1import{i as e,n as t,t as n}from"./jsx-runtime-CY_MMzgk.js";import{a as r,c as i,i as a,m as o,n as s,o as c,r as l,s as u,t as d,u as f}from"./index-DwBaAJoa.js";import{n as p}from"./classes-DBGFcdqH.js";import{i as m,n as h,r as g,t as _}from"./fund-CMUjcXt2.js";import{n as v,t as y}from"./VisitFooter-B4QtabOK.js";var b=e(t(),1),x={Fajr:`اÙÙØ¬Ø±`,Dhuhr:`Ø§ÙØ¸Ùر`,Asr:`Ø§ÙØ¹ØµØ±`,Maghrib:`اÙÙ
غرب`,Isha:`Ø§ÙØ¹Ø´Ø§Ø¡`};function S(e){return e.split(` `)[0]}async function C(e=new Date){let t=String(e.getDate()).padStart(2,`0`),n=String(e.getMonth()+1).padStart(2,`0`),r=e.getFullYear(),i=`https://api.aladhan.com/v1/timings/${t}-${n}-${r}?latitude=${l.coords.latitude}&longitude=${l.coords.longitude}&method=${l.calculationMethod}`,a=await fetch(i);if(!a.ok)throw Error(`Could not load prayer times`);let o=await a.json(),s=o.data.timings,c=[`Fajr`,`Dhuhr`,`Asr`,`Maghrib`,`Isha`].map(e=>({name:e,arabic:x[e],adhan:S(s[e])}));return{date:`${r}-${n}-${t}`,hijri:`${o.data.date.hijri.day} ${o.data.date.hijri.month.en} ${o.data.date.hijri.year} AH`,gregorianLabel:`${o.data.date.gregorian.weekday.en}, ${o.data.date.readable}`,times:c,sunrise:S(s.Sunrise)}}function w(e,t=new Date){let[n,r]=e.split(`:`).map(Number),i=new Date(t);return i.setHours(n,r,0,0),i}function T(e,t=new Date){for(let n=0;n<e.times.length;n++){let r=e.times[n],i=w(r.adhan,t);if(i.getTime()>t.getTime())return{current:n>0?e.times[n-1]:null,next:r,isTomorrow:!1,msUntil:i.getTime()-t.getTime()}}let n=e.times[0],r=w(n.adhan,t);return r.setDate(r.getDate()+1),{current:e.times[e.times.length-1],next:n,isTomorrow:!0,msUntil:r.getTime()-t.getTime()}}function E(e){let t=Math.max(0,Math.floor(e/1e3)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return`${String(n).padStart(2,`0`)}:${String(r).padStart(2,`0`)}:${String(i).padStart(2,`0`)}`}function D(e){let[t,n]=e.split(`:`).map(Number),r=t>=12?`PM`:`AM`;return`${t%12||12}:${String(n).padStart(2,`0`)} ${r}`}function O(e,t){let[n,r]=e.split(`:`).map(Number),i=n*60+r+t,a=Math.floor(i%1440/60),o=i%60;return`${String(a).padStart(2,`0`)}:${String(o).padStart(2,`0`)}`}var k=n();function A(){let{t:e}=i(),[t,n]=(0,b.useState)(null),[r,a]=(0,b.useState)(null),[,o]=(0,b.useState)(null),[s,c]=(0,b.useState)(()=>new Date);(0,b.useEffect)(()=>{let e=!1;return(async()=>{try{let t=await f();if(e)return;n({date:t.date,hijri:t.hijri?`${t.hijri}`:``,gregorianLabel:t.gregorianLabel,sunrise:t.sunrise??``,times:t.prayers.map(e=>({name:e.name,arabic:j[e.name],adhan:e.starts,iqamah:e.iqamah||void 0}))}),t.jumuah&&a(t.jumuah);return}catch{}try{let t=await C();e||n(t)}catch{e||o(`Live times are temporarily unavailable.`)}})(),()=>{e=!0}},[]),(0,b.useEffect)(()=>{let e=window.setInterval(()=>c(new Date),1e3);return()=>window.clearInterval(e)},[]);let u=(0,b.useMemo)(()=>t?T(t,s):null,[t,s]),d=(0,b.useMemo)(()=>{let e=(t?.times??M).map(e=>({name:e.name,arabic:e.arabic,adhan:e.adhan,iqamah:e.iqamah??O(e.adhan,l.iqamahOffsets[e.name]??10),isJumuah:!1}));return e.push({name:l.jumuah.label,arabic:l.jumuah.arabic,adhan:l.jumuah.adhan,iqamah:r??l.jumuah.iqamah,isJumuah:!0}),e},[t,r]);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(`section`,{className:`relative px-6 pt-12 pb-10 sm:pt-16 sm:pb-12 md:pt-24 md:pb-16`,children:[(0,k.jsx)(`div`,{className:`lantern-glow pointer-events-none absolute inset-0 -z-10`}),(0,k.jsxs)(`div`,{className:`mx-auto max-w-7xl animate-fade-up`,children:[(0,k.jsxs)(`div`,{className:`mb-6 flex flex-wrap items-center gap-3`,children:[(0,k.jsxs)(`span`,{className:`font-mono-tabular inline-flex items-center gap-2 rounded-sm bg-accent px-2.5 py-1 text-[10px] font-semibold tracking-[0.2em] text-accent-foreground uppercase`,children:[(0,k.jsx)(`span`,{className:`animate-pulse-dot inline-block size-1.5 rounded-full bg-accent-foreground`}),e(`Live`)]}),(0,k.jsxs)(`span`,{className:`text-xs tracking-widest text-muted-foreground uppercase`,children:[e(`Washington, D.C.`),` `,t?.hijri?`· ${t.hijri}`:``]})]}),(0,k.jsx)(`h1`,{className:`font-display text-2xl font-semibold sm:text-3xl md:text-4xl`,children:u?(0,k.jsxs)(k.Fragment,{children:[s.getDay()===5&&u.next.name===`Dhuhr`?l.jumuah.label:e(u.next.name),` `,(0,k.jsx)(`span`,{className:`font-normal italic text-muted-foreground`,children:e(`begins in`)})]}):(0,k.jsx)(`span`,{className:`italic text-muted-foreground`,children:e(`Loading prayer timesâ¦`)})}),(0,k.jsxs)(`div`,{className:`mt-6 flex flex-wrap items-baseline gap-x-6 gap-y-2`,children:[(0,k.jsx)(`span`,{className:`font-mono-tabular text-5xl font-semibold tracking-tighter sm:text-6xl md:text-7xl`,children:u?E(u.msUntil):`--:--:--`}),u&&(0,k.jsx)(`span`,{className:`font-arabic text-3xl text-accent md:text-4xl`,children:u.next.arabic})]}),(0,k.jsxs)(`p`,{className:`mt-6 text-sm leading-relaxed text-muted-foreground`,children:[e(`Live times for`),` `,l.address.line1,`, `,l.address.line2,`.`]})]})]}),(0,k.jsx)(`section`,{className:`animate-fade-up px-6 pb-16 [animation-delay:200ms] sm:pb-20`,children:(0,k.jsxs)(`div`,{className:`mx-auto max-w-7xl`,children:[(0,k.jsx)(`div`,{className:`grid grid-cols-1 gap-px overflow-hidden rounded-lg bg-border ring-1 ring-border sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6`,children:d.map((t,n)=>{let r=!t.isJumuah&&u?.next.name===t.name&&!u?.isTomorrow,i=!t.isJumuah&&u?.current?.name===t.name&&!u?.isTomorrow,a=i||r&&!u?.current;return(0,k.jsxs)(`div`,{className:a?`group bg-accent text-accent-foreground p-5 sm:p-6`:t.isJumuah?`group bg-surface ring-1 ring-inset ring-accent/30 p-5 transition-colors hover:bg-surface-2 sm:p-6`:`group bg-surface p-5 transition-colors hover:bg-surface-2 sm:p-6`,children:[(0,k.jsxs)(`div`,{className:`mb-4 flex items-start justify-between sm:mb-6`,children:[(0,k.jsx)(`span`,{className:`font-mono-tabular text-xs `+(a?`text-accent-foreground`:`text-muted-foreground`),children:t.isJumuah?`JUM`:String(n+1).padStart(2,`0`)}),(0,k.jsx)(`span`,{className:`font-arabic text-xl transition-colors `+(a?`text-accent-foreground`:t.isJumuah?`text-accent`:`text-muted-foreground group-hover:text-foreground`),children:t.arabic})]}),(0,k.jsxs)(`h3`,{className:`mb-3 text-xs tracking-widest uppercase `+(a?`text-accent-foreground`:`text-muted-foreground`),children:[e(t.name),i&&` · ${e(`Now`)}`,r&&!u?.current&&` · ${e(`Next`)}`]}),(0,k.jsxs)(`dl`,{className:`space-y-1.5`,children:[(0,k.jsxs)(`div`,{className:`flex items-baseline justify-between gap-2`,children:[(0,k.jsx)(`dt`,{className:`font-mono-tabular text-[10px] tracking-[0.18em] uppercase `+(a?`text-accent-foreground`:`text-muted-foreground`),children:e(`Starts`)}),(0,k.jsx)(`dd`,{className:`font-display text-xl font-medium tracking-tight md:text-2xl`,children:t.adhan?D(t.adhan):`--:--`})]}),(0,k.jsxs)(`div`,{className:`flex items-baseline justify-between gap-2`,children:[(0,k.jsx)(`dt`,{className:`font-mono-tabular text-[10px] tracking-[0.18em] uppercase `+(a?`text-accent-foreground`:`text-muted-foreground`),children:e(`IqÄmah`)}),(0,k.jsx)(`dd`,{className:`font-display text-xl font-medium tracking-tight md:text-2xl `+(a?``:`text-accent`),children:t.iqamah?D(t.iqamah):`--:--`})]})]}),t.isJumuah&&(0,k.jsx)(`p`,{className:`mt-3 text-[11px] leading-snug `+(a?`text-accent-foreground`:`text-muted-foreground`),children:e(`Come early; masjid fills up quickly.`)})]},t.name)}
1)}),t?.gregorianLabel&&(0,k.jsx)(`div`,{className:`mt-4`,children:(0,k.jsx)(`p`,{className:`font-mono-tabular text-[10px] tracking-widest text-muted-foreground uppercase`,children:t.gregorianLabel})})]})})]})}var j={Fajr:`اÙÙØ¬Ø±`,Dhuhr:`Ø§ÙØ¸Ùر`,Asr:`Ø§ÙØ¹ØµØ±`,Maghrib:`اÙÙ
غرب`,Isha:`Ø§ÙØ¹Ø´Ø§Ø¡`},M=[`Fajr`,`Dhuhr`,`Asr`,`Maghrib`,`Isha`].map(e=>({name:e,arabic:j[e],adhan:`00:00`,iqamah:void 0}));function N(){let{t:e}=i();return(0,k.jsx)(`section`,{id:`about`,className:`border-t border-border bg-surface px-6 py-16 md:py-24`,children:(0,k.jsxs)(`div`,{className:`mx-auto grid max-w-7xl gap-10 md:grid-cols-12 md:gap-16`,children:[(0,k.jsxs)(`div`,{className:`md:col-span-7`,children:[(0,k.jsx)(`span`,{className:`font-mono-tabular text-[10px] tracking-[0.2em] text-accent uppercase`,children:e(`The Masjid`)}),(0,k.jsx)(`h2`,{className:`font-display mt-3 text-3xl font-semibold tracking-tight text-balance sm:text-4xl md:text-5xl`,children:e(`Spreading daâwah salafiyyah in the DMV since 1996.`)}),(0,k.jsx)(`p`,{className:`mt-8 max-w-[62ch] text-pretty leading-relaxed text-muted-foreground`,children:e(d)}),(0,k.jsxs)(`a`,{href:l.learnIslamUrl,target:`_blank`,rel:`noreferrer`,className:`mt-6 group inline-flex items-center gap-2 py-2 text-sm font-semibold tracking-wider text-accent uppercase hover:text-lantern`,children:[e(`Learn about Islam`),(0,k.jsx)(`span`,{"aria-hidden":!0,className:`transition-transform duration-300 ease-out-expo group-hover:translate-x-1`,children:`â`})]})]}),(0,k.jsx)(`aside`,{className:`md:col-span-5`,children:(0,k.jsxs)(`div`,{className:`rounded-md border border-border bg-background p-6`,children:[(0,k.jsx)(`p`,{className:`font-mono-tabular text-[10px] tracking-[0.25em] text-accent uppercase`,children:e(`Our Foundation`)}),(0,k.jsxs)(`p`,{className:`mt-4 text-sm leading-relaxed text-muted-foreground`,children:[`Teaching `,(0,k.jsx)(`span`,{className:`text-foreground`,children:`Tawḥeed`}),`,`,` `,(0,k.jsx)(`span`,{className:`text-foreground`,children:`Sunnah`}),`, and`,` `,(0,k.jsx)(`span`,{className:`text-foreground`,children:`Manhaj`}),`, while warning against Shirk, Bidâah, and the deviant sects and methodologies.`]}),(0,k.jsx)(`ul`,{className:`mt-6 space-y-2 text-sm`,children:[`Connecting you to the scholars of al-Islaam`,`Upon the clear Salafi manhaj`,`Connected to the Salafi masaajid in the West`].map(t=>(0,k.jsxs)(`li`,{className:`flex gap-3 text-muted-foreground`,children:[(0,k.jsx)(`span`,{className:`mt-2 inline-block size-1 shrink-0 rounded-full bg-accent`}),e(t)]},t))})]})})]})})}var P=r.map((e,t)=>({id:`fallback-${t}`,day:e.day,time:e.time,title:e.title,subtitle:e.subtitle??null,details:e.explanation??(e.teacher?`Taught by ${e.teacher}`:null),note:e.badge??null,badge:e.cadence??null,sort_order:(t+1)*10,is_active:!0,created_at:``,updated_at:``}));function F(){let{t:e}=i(),[t,n]=(0,b.useState)(P);return(0,b.useEffect)(()=>{let e=!1;return p().then(t=>{!e&&t.length>0&&n(t)}).catch(()=>{}),()=>{e=!0}},[]),(0,k.jsx)(`section`,{id:`classes`,className:`px-6 py-16 md:py-24`,children:(0,k.jsxs)(`div`,{className:`mx-auto max-w-7xl`,children:[(0,k.jsxs)(`div`,{className:`mb-10 flex flex-col gap-6 md:mb-12 md:flex-row md:items-end md:justify-between`,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`span`,{className:`font-mono-tabular text-[10px] tracking-[0.2em] text-accent uppercase`,children:e(`Knowledge`)}),(0,k.jsx)(`h2`,{className:`font-display mt-3 text-3xl font-semibold tracking-tight sm:text-4xl md:text-5xl`,children:e(`Weekly Class Schedule`)}),(0,k.jsx)(`p`,{className:`font-mono-tabular mt-3 text-[11px] tracking-[0.25em] text-accent uppercase`,children:e(u)})]}),(0,k.jsx)(`p`,{className:`max-w-[28ch] text-sm text-muted-foreground md:text-right`,children:e(`By the will of AllÄh, MAQWH holds the following programs weekly.`)})]}),(0,k.jsxs)(`div`,{className:`overflow-hidden rounded-md border border-border`,children:[(0,k.jsxs)(`div`,{className:`hidden grid-cols-12 gap-4 border-b border-border bg-surface px-6 py-3 text-[10px] tracking-[0.25em] text-muted-foreground uppercase md:grid`,children:[(0,k.jsx)(`div`,{className:`col-span-3 lg:col-span-2`,children:e(`Day`)}),(0,k.jsx)(`div`,{className:`col-span-6 lg:col-span-7`,children:e(`Class`)}),(0,k.jsx)(`div`,{className:`col-span-3 text-right`,children:e(`Time`)})]}
1),(0,k.jsx)(`div`,{className:`divide-y divide-border`,children:t.map(t=>(0,k.jsxs)(`article`,{className:`group grid grid-cols-1 gap-3 px-5 py-6 transition-colors hover:bg-surface sm:px-6 sm:py-7 md:grid-cols-12 md:items-start md:gap-4`,children:[(0,k.jsxs)(`div`,{className:`md:col-span-3 lg:col-span-2`,children:[(0,k.jsx)(`p`,{className:`font-display text-lg font-medium`,children:e(t.day)}),t.badge&&(0,k.jsx)(`span`,{className:`font-mono-tabular mt-1 inline-block max-w-[22ch] rounded-sm bg-accent px-1.5 py-0.5 text-[9px] leading-snug font-semibold tracking-[0.18em] text-accent-foreground uppercase`,children:t.badge})]}),(0,k.jsxs)(`div`,{className:`md:col-span-6 lg:col-span-7`,children:[(0,k.jsx)(`h3`,{className:`font-display text-xl font-medium leading-snug`,children:t.title}),t.subtitle&&(0,k.jsx)(`p`,{className:`mt-1 text-sm text-muted-foreground`,children:t.subtitle}),t.details&&(0,k.jsx)(`p`,{className:`mt-2 border-l border-accent/40 pl-3 text-sm text-foreground`,children:t.details}),t.note&&(0,k.jsxs)(`span`,{className:`font-mono-tabular mt-3 inline-block rounded-sm border border-accent/40 px-2 py-0.5 text-[10px] tracking-[0.18em] text-accent uppercase`,children:[`â `,t.note]})]}),(0,k.jsx)(`div`,{className:`md:col-span-3 md:text-right`,children:(0,k.jsx)(`p`,{className:`font-mono-tabular text-sm tracking-wide text-accent`,children:t.time})})]},t.id))})]}),(0,k.jsxs)(`p`,{className:`mt-6 text-center text-xs tracking-wider text-muted-foreground uppercase`,children:[e(c.audience),` · `,e(c.encouragement)]})]})})}var I=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),L=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),R=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),z=e=>{let t=R(e);return t.charAt(0).toUpperCase()+t.slice(1)},B={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},V=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},H=(0,b.createContext)({}),U=()=>(0,b.useContext)(H),ee=(0,b.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>{let{size:l=24,strokeWidth:u=2,absoluteStrokeWidth:d=!1,color:f=`currentColor`,className:p=``}=U()??{},m=r??d?Number(n??u)*24/Number(t??l):n??u;return(0,b.createElement)(`svg`,{ref:c,...B,width:t??l??B.width,height:t??l??B.height,stroke:e??f,strokeWidth:m,className:I(`lucide`,p,i),...!a&&!V(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,b.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),W=(e,t)=>{let n=(0,b.forwardRef)(({className:n,...r},i)=>(0,b.createElement)(ee,{ref:i,iconNode:t,className:I(`lucide-${L(z(e))}`,`lucide-${e}`,n),...r}));return n.displayName=z(e),n},G=W(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),K=W(`mosque`,[[`path`,{d:`M12.268 2a2 2 0 003.465 2`,key:`3in8xp`}],[`path`,{d:`M14 5 L14 8`,key:`1fhhfb`}],[`path`,{d:`M16 22v-3a2 2 0 00-4 0v3`,key:`1p6nbd`}],[`path`,{d:`M21 13c-.662-1.497-1.666-2.753-2.9-3.63C16.825 8.47 15.422 8 14 8s-2.826.47-4.1 1.37C8.668 10.248 7.663 11.504 7 13z`,key:`ck3r5y`}],[`path`,{d:`M3 9h4`,key:`rnfnj5`}],[`path`,{d:`M7 22V6a5 5 0 00-2-4 5 5 0 00-2 4v14a2 2 0 002 2h14a2 2 0 002-2v-7`,key:`28kgc3`}]]);function q(){let{t:e}=i(),[t,n]=(0,b.useState)(null);if((0,b.useEffect)(()=>{let e=!1;return _().then(t=>{e||n(t)}).catch(()=>{}),()=>{e=!0}},[]),!t)return null;let r=t.goal_amount>0,a=g(t.raised_amount,t.goal_amount),o=Math.round(a),c=Math.max(0,t.goal_amount-t.raised_amount),l=r?m(t.milestones).filter(e=>e.amount<=t.goal_amount):[];return(0,k.jsxs)(`div`,{className:`mb-12 rounded-lg border border-border bg-background p-6 sm:p-8 md:mb-16`,children:[(0,k.jsx)(`span`,{className:`font-mono-tabular text-[10px] tracking-[0.2em] text-accent uppercase`,children:e(`New Masjid Fund`)}),(0,k.jsx)(`h3`,{className:`font-display mt-3 text-2xl font-semibold tracking-tight md:text-3xl`,children:t.title}),t.description&&(0,k.jsx)(`p`,{className:`mt-3 max-w-[58ch] leading-relaxed text-muted-foreground`,children:t.description}),(0,k.jsxs)(`div`,{className:`mt-8 flex flex-wrap items-end justify-between gap-x-6 gap-y-3`,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`span`,{className:`font-mono-tabular block text-[10px] tracking-[0.2em] text-muted-foreground uppercase`,children:e(`Raised so far`)}),(0,k.jsx)(`p`,{className:`font-display mt-1 text-3xl font-semibold tracking-tight text-foreground md:text-4xl`,children:h(t.raised_amount)})]}),r&&(0,k.jsxs)(`div`,{className:`sm:text-right`,children:[(0,k.jsx)(`span`,{className:`font-mono-tabular block text-[10px] tracking-[0.2em] text-accent uppercase`,children:e(`Still to raise`)}),(0,k.jsx)(`p`,{className:`font-display mt-1 text-3xl font-semibold tracking-tight text-accent md:text-4xl`,children:h(c)}),(0,k.jsxs)(`span`,{className:`font-mono-tabular block text-xs text-muted-foreground`,children:[e(`of`),` `,h(t.goal_amount),` `,e(`goal`)]})]})]}),r&&(0,k.jsx)(J,{raised:t.raised_amount,goal:t.goal_amount,pct:a,pctLabel:o,milestones:l,fundedLabel:e(`funded`)}),(0,k.jsxs)(`a`,{href:s.newMasjidFundUrl,target:`_blank`,rel:`noreferrer`,className:`press group mt-8 flex w-full items-center justify-center gap-3 rounded-md bg-gradient-to-r from-accent to-lantern px-6 py-4 text-center text-sm font-semibold tracking-widest text-accent-foreground uppercase shadow-lg shadow-accent/20 hover:-translate-y-0.5 hover:shadow-xl hover:shadow-accent/30 active:translate-y-0 sm:inline-flex sm:w-auto
1sm:px-7`,children:[(0,k.jsx)(K,{className:`size-5 shrink-0`,"aria-hidden":!0}),e(`Donate to the New Masjid Fund`),(0,k.jsx)(G,{className:`size-4 shrink-0 transition-transform duration-300 ease-out-expo group-hover:translate-x-1`,"aria-hidden":!0})]})]})}function J({goal:e,raised:t,pct:n,pctLabel:r,milestones:i,fundedLabel:a}){return(0,k.jsxs)(`div`,{className:`mt-6`,children:[(0,k.jsxs)(`div`,{className:`relative h-3 w-full overflow-hidden rounded-full bg-surface`,children:[(0,k.jsx)(`div`,{className:`h-full rounded-full bg-accent transition-all duration-700`,style:{width:`${n}%`}}),i.map((t,n)=>(0,k.jsx)(`span`,{className:`absolute top-0 h-full w-px bg-background/70`,style:{left:`${g(t.amount,e)}%`}},n))]}),i.length>0&&(0,k.jsx)(`div`,{className:`relative mt-2 h-9`,children:i.map((n,r)=>{let i=g(n.amount,e),a=t>=n.amount;return(0,k.jsxs)(`div`,{className:`absolute whitespace-nowrap ${i>=85?`-translate-x-full text-right`:i<=15?`text-left`:`-translate-x-1/2 text-center`}`,style:{left:`${i}%`},children:[(0,k.jsx)(`span`,{className:`block text-[10px] leading-tight font-semibold ${a?`text-accent`:`text-muted-foreground`}`,children:n.label}),(0,k.jsx)(`span`,{className:`font-mono-tabular block text-[10px] leading-tight text-muted-foreground`,children:h(n.amount)})]},r)})}),(0,k.jsxs)(`p`,{className:`mt-2 font-mono-tabular text-[10px] tracking-[0.2em] text-muted-foreground uppercase`,children:[r,`% `,a]})]})}function Y(){let{t:e}=i();return(0,k.jsx)(`section`,{id:`fundraiser`,className:`border-t border-border bg-surface px-6 py-16 md:py-24`,children:(0,k.jsxs)(`div`,{className:`mx-auto max-w-7xl`,children:[(0,k.jsx)(q,{}),(0,k.jsxs)(`div`,{className:`grid gap-10 md:grid-cols-12 md:gap-16`,children:[(0,k.jsxs)(`div`,{id:`donate`,className:`md:col-span-7`,children:[(0,k.jsx)(`span`,{className:`font-mono-tabular text-[10px] tracking-[0.2em] text-accent uppercase`,children:e(`Support the Masjid`)}),(0,k.jsx)(`h2`,{className:`font-display mt-3 text-3xl font-semibold tracking-tight sm:text-4xl md:text-5xl`,children:e(`á¹¢adaqah JÄriyah`)}),(0,k.jsx)(`p`,{className:`mt-6 max-w-[58ch] leading-relaxed text-muted-foreground`,children:e(`Your contribution sustains the daily á¹£alÄh, classes, and daâwah of Masjid Ahlul Qurâan Wal Hadeeth. May AllÄh accept it from you.`)}),(0,k.jsx)(`p`,{className:`mt-8 font-mono-tabular text-[10px] tracking-[0.2em] text-muted-foreground uppercase`,children:e(`Donate via PayPal`)}),(0,k.jsxs)(`div`,{className:`mt-3 grid grid-cols-3 gap-2 sm:grid-cols-6`,children:[s.presetAmounts.map(e=>(0,k.jsxs)(`a`,{href:s.paypalDonateUrl(e),target:`_blank`,rel:`noreferrer`,className:`press rounded-sm border border-border bg-background py-3 text-center text-sm font-semibold tracking-wider hover:border-accent hover:bg-accent/5 hover:text-accent`,children:[`$`,e]},e)),(0,k.jsx)(`a`,{href:s.paypalDonateUrl(),target:`_blank`,rel:`noreferrer`,className:`press rounded-sm border border-border bg-background py-3 text-center text-sm font-semibold tracking-wider hover:border-accent hover:bg-accent/5 hover:text-accent`,children:e(`Other`)})]}),(0,k.jsxs)(`div`,{className:`mt-6 grid grid-cols-1 gap-3 sm:grid-cols-2`,children:[(0,k.jsx)(`a`,{href:s.paypalDonateUrl(),target:`_blank`,rel:`noreferrer`,className:`press inline-flex items-center justify-center rounded-sm bg-[#003087] px-5 py-3.5 text-xs font-semibold tracking-widest text-white uppercase shadow-sm hover:bg-[#0070E0] hover:shadow-md hover:shadow-[#0070E0]/25`,children:e(`PayPal`)}),(0,k.jsx)(`a`,{href:s.squareDonateUrl,target:`_blank`,rel:`noreferrer`,className:`press inline-flex items-center justify-center rounded-sm border border-border bg-background px-5 py-3.5 text-xs font-semibold tracking-widest text-foreground uppercase hover:border-accent hover:text-accent`,children:e(`Card`)})]})]}),(0,k.jsx)(`aside`,{className:`md:col-span-5`,children:(0,k.jsxs)(`div`,{className:`rounded-lg border border-border bg-background p-6 sm:p-8`,children:[(0,k.jsx)(`p`,{className:`font-mono-tabular text-[10px] tracking-[0.2em] text-muted-foreground uppercase`,children:e(`Ways to give`)}),(0,k.jsxs)(`ul`,{className:`mt-5 space-y-3 text-sm text-muted-foreground`,children:[(0,k.jsxs)(`li`,{className:`flex items-start justify-between gap-4 border-b border-border pb-3`,children:[(0,k.jsx)(`span`,{className:`shrink-0`,children:e(`PayPal`)}),(0,k.jsx)(`a`,{href:s.paypalDonateUrl(),target:`_blank`,rel:`noreferrer`,className:`font-mono-tabular -my-1.5 break-all py-1.5 text-right text-foreground hover:text-accent`,children:s.paypalEmail})]}),(0,k.jsxs)(`li`,{className:`flex items-start justify-between gap-4 border-b border-border pb-3`,children:[(0,k.jsx)(`span`,{className:`shrink-0`,children:e(`Zelle`)}),(0,k.jsx)(`span`,{className:`font-mono-tabular break-all text-right text-foreground`,children:s.zelleEmail})]}),(0,k.jsxs)(`li`,{className:`flex items-start justify-between gap-4 border-b border-border pb-3`,children:[(0,k.jsx)(`span`,{className:`shrink-0`,children:e(`Card`)}),(0,k.jsx)(`a`,{href:s.squareDonateUrl,target:`_blank`,rel:`noreferrer`,className:`-my-1.5 py-1.5 text-right text-foreground hover:text-accent`,children:e(`Square â`)})]}),(0,k.jsxs)(`li`,{className:`flex items-start justify-between gap-4`,children:[(0,k.jsx)(`span`,{className:`shrink-0`,children:e(`In person`)}),(0,k.jsx)(`span`,{className:`text-right text-foreground`,children:`3415 18th St NE`})]})]})]})})]})]})})}function X(){let{t:e}=i(),t=a.filter(e=>e.platform===`YouTube`);return(0,k.jsx)(`section`,{id:`seminars`,className:`px-6 py-16 md:py-24`,children:(0,k.jsxs)(`div`,{className:`mx-auto max-w-7xl`,children:[(0,k.jsxs)(`div`,{className:`mb-10 flex flex-col gap-6 md:mb-12 md:flex-row md:items-end md:justify-between`,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`span`,{className:`font-mono-tabular text-[10px] tracking-[0.2em] text-accent uppercase`,children:e(`Listen`)}),(0,k.jsx)(`h2`,{className:`font-display mt-3 text-3xl font-semibold tracking-tight sm:text-4xl md:text-5xl`,children:e(`Knowledge Based Seminars`)}),(0,k.jsx)(`p`,{className:`mt-3 max-w-[58ch] text-muted-foreground`,children:e(`Weekly sermons, classes, and series, archived for benef
1it.`)})]}),(0,k.jsxs)(`div`,{className:`flex shrink-0 flex-wrap gap-3`,children:[(0,k.jsx)(`a`,{href:l.youtube,target:`_blank`,rel:`noreferrer`,className:`press inline-flex h-10 items-center gap-2 rounded-sm border border-accent/40 bg-accent/10 px-4 text-xs font-semibold tracking-widest text-accent uppercase hover:border-accent/70 hover:bg-accent/20`,children:e(`YouTube`)}),(0,k.jsx)(`a`,{href:l.telegram,target:`_blank`,rel:`noreferrer`,className:`press inline-flex h-10 items-center gap-2 rounded-sm border border-accent/40 bg-accent/10 px-4 text-xs font-semibold tracking-widest text-accent uppercase hover:border-accent/70 hover:bg-accent/20`,children:e(`Telegram`)})]})]}),(0,k.jsx)(Z,{label:e(`On YouTube`),items:t})]})})}function Z({label:e,items:t}){return t.length===0?null:(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`h3`,{className:`font-mono-tabular mb-4 text-[10px] tracking-[0.25em] text-accent uppercase`,children:e}),(0,k.jsx)(`div`,{className:`grid grid-cols-1 gap-px border border-border bg-border sm:grid-cols-2 lg:grid-cols-3`,children:t.map(e=>(0,k.jsxs)(`a`,{href:e.url,target:`_blank`,rel:`noreferrer`,className:`group flex items-center justify-between gap-4 bg-background p-5 transition-colors hover:bg-surface active:bg-surface sm:p-6 sm:last:odd:col-span-2 lg:last:odd:col-span-1`,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`p`,{className:`font-mono-tabular text-[10px] tracking-widest text-muted-foreground uppercase`,children:e.platform}),(0,k.jsx)(`h4`,{className:`font-display mt-1 text-lg font-medium leading-tight transition-colors group-hover:text-accent`,children:e.title})]}),(0,k.jsx)(`span`,{"aria-hidden":!0,className:`text-muted-foreground transition duration-300 ease-out-expo group-hover:translate-x-1 group-hover:text-accent`,children:`â`})]},e.url+e.title))})]})}var Q=[{to:`/forms/matrimonial`,eyebrow:`Matrimonial`,title:`Matrimonial Profile`,description:`Submit your details for the masjid's matrimonial process. Kept private and shared only with the brothers responsible.`},{to:`/forms/nikah-request`,eyebrow:`NikÄḥ`,title:`NikÄḥ Request`,description:`Submit a request to have your nikÄḥ performed at the masjid, in shÄ' AllÄh.`},{to:`/forms/marriage-counseling`,eyebrow:`Counseling`,title:`Marriage Counseling`,description:`Request confidential marriage counseling with the masjid's leadership.`},{to:`/forms/janazah`,eyebrow:`JanÄzah`,title:`JanÄzah & Burial`,description:`Report a death or submit advance wishes. The masjid will help coordinate ghusl, janÄzah, and burial.`}];function $(){return(0,k.jsx)(`section`,{id:`forms`,className:`border-t border-border bg-surface px-6 py-16 md:py-24`,children:(0,k.jsxs)(`div`,{className:`mx-auto max-w-7xl`,children:[(0,k.jsxs)(`div`,{className:`mb-10 max-w-3xl md:mb-12`,children:[(0,k.jsx)(`span`,{className:`font-mono-tabular text-[10px] tracking-[0.2em] text-accent uppercase`,children:`Services`}),(0,k.jsx)(`h2`,{className:`font-display mt-3 text-3xl font-semibold tracking-tight sm:text-4xl md:text-5xl`,children:`Community Forms`}),(0,k.jsx)(`p`,{className:`mt-3 text-muted-foreground`,children:`Direct requests to the masjid for matrimonial matters, nikÄḥ, marriage counseling, and janÄzah services. Each form is submitted privately to the masjid's team.`}),(0,k.jsxs)(o,{to:`/services`,className:`mt-3 group inline-flex items-center gap-2 py-2 text-sm font-semibold tracking-wider text-accent uppercase hover:text-lantern`,children:[`View service details `,(0,k.jsx)(`span`,{"aria-hidden":!0,className:`transition-transform duration-300 ease-out-expo group-hover:translate-x-1`,children:`â`})]})]}),(0,k.jsx)(`div`,{className:`grid grid-cols-1 gap-px border border-border bg-border sm:grid-cols-2 lg:grid-cols-4`,children:Q.map(e=>(0,k.jsxs)(o,{to:e.to,className:`group flex flex-col justify-between gap-6 bg-background p-6 transition-colors hover:bg-surface active:bg-surface sm:gap-8 sm:p-8`,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`p`,{className:`font-mono-tabular text-[10px] tracking-widest text-accent uppercase`,children:e.eyebrow}),(0,k.jsx)(`h3`,{className:`font-display mt-2 text-2xl font-semibold leading-tight transition-colors group-hover:text-accent`,children:e.title}),(0,k.jsx)(`p`,{className:`mt-3 text-sm text-muted-foreground`,children:e.description})]}),(0,k.jsxs)(`span`,{className:`font-mono-tabular text-[10px] tracking-widest text-accent uppercase`,children:[`Open form`,` `,(0,k.jsx)(`span`,{"aria-hidden":!0,
1className:`inline-block transition-transform duration-300 ease-out-expo group-hover:translate-x-1`,children:`â`})]})]},e.to))})]})})}function te(){let{t:e}=i();return(0,k.jsx)(`section`,{className:`border-t border-border bg-background px-6 py-12 md:py-16`,children:(0,k.jsxs)(`div`,{className:`mx-auto flex max-w-7xl flex-col items-start justify-between gap-6 rounded-lg border border-accent/30 bg-surface p-6 sm:p-8 md:flex-row md:items-center`,children:[(0,k.jsxs)(`div`,{className:`flex items-start gap-4`,children:[(0,k.jsx)(`span`,{className:`grid size-12 shrink-0 place-items-center rounded-full bg-[#17739F]/15 text-[#17739F]`,children:(0,k.jsx)(`svg`,{viewBox:`0 0 24 24`,className:`size-6`,fill:`currentColor`,"aria-hidden":!0,children:(0,k.jsx)(`path`,{d:`M9.78 18.65 10.06 14.42 17.74 7.5C18.08 7.19 17.67 7.04 17.22 7.31L7.74 13.3 3.64 12C2.76 11.75 2.75 11.14 3.84 10.7L19.81 4.54C20.54 4.21 21.24 4.72 20.96 5.84L18.24 18.65C18.05 19.56 17.5 19.78 16.74 19.36L12.6 16.3 10.61 18.23C10.38 18.46 10.19 18.65 9.78 18.65Z`})})}),(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`h3`,{className:`font-display text-2xl font-semibold tracking-tight md:text-3xl`,children:e(`Join our Telegram channel`)}),(0,k.jsx)(`p`,{className:`mt-2 max-w-[58ch] text-sm leading-relaxed text-muted-foreground`,children:e(`Get instant updates on class times, schedule changes, announcements and more.`)})]})]}),(0,k.jsxs)(`a`,{href:l.telegram,target:`_blank`,rel:`noreferrer`,className:`press inline-flex w-full shrink-0 items-center justify-center gap-2 rounded-sm bg-[#17739F] px-6 py-3.5 text-xs font-semibold tracking-widest text-white uppercase shadow-sm hover:bg-[#125E82] hover:shadow-md hover:shadow-[#17739F]/25 md:w-auto`,children:[(0,k.jsx)(`svg`,{viewBox:`0 0 24 24`,className:`size-4`,fill:`currentColor`,"aria-hidden":!0,children:(0,k.jsx)(`path`,{d:`M9.78 18.65 10.06 14.42 17.74 7.5C18.08 7.19 17.67 7.04 17.22 7.31L7.74 13.3 3.64 12C2.76 11.75 2.75 11.14 3.84 10.7L19.81 4.54C20.54 4.21 21.24 4.72 20.96 5.84L18.24 18.65C18.05 19.56 17.5 19.78 16.74 19.36L12.6 16.3 10.61 18.23C10.38 18.46 10.19 18.65 9.78 18.65Z`})}),e(`Join Telegram`)]})]})})}var ne=({className:e})=>(0,k.jsx)(`svg`,{viewBox:`0 0 24 24`,className:e,fill:`currentColor`,"aria-hidden":!0,children:(0,k.jsx)(`path`,{d:`M12 2.2c3.2 0 3.6 0 4.9.07 1.17.05 1.8.25 2.23.41.56.22.96.48 1.38.9.42.42.68.82.9 1.38.16.42.36 1.06.41 2.23.06 1.27.07 1.65.07 4.85s0 3.58-.07 4.85c-.05 1.17-.25 1.8-.41 2.23-.22.56-.48.96-.9 1.38-.42.42-.82.68-1.38.9-.42.16-1.06.36-2.23.41-1.27.06-1.65.07-4.9.07s-3.63 0-4.9-.07c-1.17-.05-1.8-.25-2.23-.41a3.7 3.7 0 0 1-1.38-.9 3.7 3.7 0 0 1-.9-1.38c-.16-.42-.36-1.06-.41-2.23C2.2 15.58 2.2 15.2 2.2 12s0-3.58.07-4.85c.05-1.17.25-1.8.41-2.23.22-.56.48-.96.9-1.38.42-.42.82-.68 1.38-.9.42-.16 1.06-.36 2.23-.41C8.4 2.2 8.8 2.2 12 2.2Zm0 1.8c-3.14 0-3.51.01-4.75.07-.9.04-1.38.19-1.7.32-.43.16-.73.36-1.05.68-.32.32-.52.62-.68 1.05-.13.32-.28.8-.32 1.7C3.21 8.49 3.2 8.86 3.2 12s.01 3.51.07 4.75c.04.9.19 1.38.32 1.7.16.43.36.73.68 1.05.32.32.62.52 1.05.68.32.13.8.28 1.7.32 1.24.06 1.61.07 4.75.07s3.51-.01 4.75-.07c.9-.04 1.38-.19 1.7-.32.43-.16.73-.36 1.05-.68.32-.32.52-.62.68-1.05.13-.32.28-.8.32-1.7.06-1.24.07-1.61.07-4.75s-.01-3.51-.07-4.75c-.04-.9-.19-1.38-.32-1.7a2.8 2.8 0 0 0-.68-1.05 2.8 2.8 0 0 0-1.05-.68c-.32-.13-.8-.28-1.7-.32C15.51 4.01 15.14 4 12 4Zm0 3.06A4.94 4.94 0 1 1 12 16.94 4.94 4.94 0 0 1 12 7.06Zm0 1.8A3.14 3.14 0 1 0 12 15.14 3.14 3.14 0 0 0 12 8.86Zm5.14-2.99a1.15 1.15 0 1 1 0 2.3 1.15 1.15 0 0 1 0-2.3Z`})}),re=({className:e})=>(0,k.jsx)(`svg`,{viewBox:`0 0 24 24`,className:e,fill:`currentColor`,"aria-hidden":!0,children:(0,k.jsx)(`path`,{d:`M18.244 2.25h3.308l-7.227 8.26 8.502 11.24h-6.66l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231 5.45-6.231Zm-1.161 17.52h1.833L7.084 4.126H5.117L17.083 19.77Z`})}),ie=({className:e})=>(0,k.jsx)(`svg`,{viewBox:`0 0 24 24`,className:e,fill:`currentColor`,"aria-hidden":!0,children:(0,k.jsx)(`path`,{d:`M23.5 6.2a3.02 3.02 0 0 0-2.12-2.14C19.5 3.55 12 3.55 12 3.55s-7.5 0-9.38.51A3.02 3.02 0 0 0 .5 6.2 31.5 31.5 0 0 0 0 12a31.5 31.5 0 0 0 .5 5.8 3.02 3.02 0 0 0 2.12 2.14C4.5 20.45 12 20.45 12 20.45s7.5 0 9.38-.51a3.02 3.02 0 0 0 2.12-2.14A31.5 31.5 0 0 0 24 12a31.5 31.5 0 0 0-.5-5.8ZM9.55 15.57V8.43L15.82 12l-6.27 3.57Z`})});function ae(){let{t:e}=i(),t=[{href:l.instagram,name:`Instagram`,subtitle:`@${l.instagramHandle}`,icon:(0,k.jsx)(ne,{className:`size-6`}),iconWrap:`bg-gradient-to-br from-[#feda75] via-[#d62976] to-[#4f5bd5] text-white`}
1,{href:l.twitter,name:`X`,subtitle:`@${l.twitterHandle}`,icon:(0,k.jsx)(re,{className:`size-5`}),iconWrap:`bg-foreground text-background`},{href:l.youtube,name:`YouTube`,subtitle:e(`Khutbahs & lectures`),icon:(0,k.jsx)(ie,{className:`size-6`}),iconWrap:`bg-[#FF0000] text-white`}];return(0,k.jsx)(`section`,{id:`social`,className:`border-t border-border bg-background px-6 py-12 md:py-16`,children:(0,k.jsxs)(`div`,{className:`mx-auto max-w-7xl`,children:[(0,k.jsxs)(`div`,{className:`max-w-2xl`,children:[(0,k.jsx)(`span`,{className:`font-mono-tabular text-[10px] tracking-[0.2em] text-accent uppercase`,children:e(`Community`)}),(0,k.jsx)(`h2`,{className:`font-display mt-3 text-3xl font-semibold tracking-tight md:text-4xl`,children:e(`Follow along`)}),(0,k.jsx)(`p`,{className:`mt-2 max-w-[58ch] text-sm leading-relaxed text-muted-foreground`,children:e(`Announcements, reminders, and updates from the masjid â straight from our channels.`)})]}),(0,k.jsx)(`div`,{className:`mt-8 grid gap-4 md:grid-cols-3`,children:t.map(e=>(0,k.jsxs)(`a`,{href:e.href,target:`_blank`,rel:`noreferrer`,className:`press group flex items-center gap-4 roun
1ded-lg border border-border bg-surface p-5 md:gap-3 md:p-4 lg:gap-4 lg:p-5 hover:-translate-y-0.5 hover:border-accent/60 hover:shadow-lg hover:shadow-black/10 active:translate-y-0`,children:[(0,k.jsx)(`span`,{className:`grid size-12 shrink-0 place-items-center rounded-full md:size-10 lg:size-12 transition-transform duration-300 ease-out-expo group-hover:scale-105 ${e.iconWrap}`,children:e.icon}),(0,k.jsxs)(`span`,{className:`min-w-0`,children:[(0,k.jsx)(`span`,{className:`block font-display text-lg font-semibold`,children:e.name}),(0,k.jsx)(`span`,{className:`font-mono-tabular block text-xs tracking-wider text-muted-foreground transition-colors group-hover:text-accent lg:tracking-widest`,children:e.subtitle})]})]},e.name))})]})})}function oe(){return(0,k.jsxs)(`div`,{id:`top`,className:`min-h-screen bg-background text-foreground`,children:[(0,k.jsx)(v,{}),(0,k.jsxs)(`main`,{children:[(0,k.jsx)(`div`,{id:`prayers`,children:(0,k.jsx)(A,{})}),(0,k.jsx)(N,{}),(0,k.jsx)(F,{}),(0,k.jsx)($,{}),(0,k.jsx)(Y,{}),(0,k.jsx)(X,{}),(0,k.jsx)(te,{}),(0,k.jsx)(ae,{}),(0,k.jsx)(y,{})]})]})}export{oe as component};
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.