PageSourceSearch

https://www.parishpres.org/_next/static/chunks/0b0l6d5_eaiyv.js?dpl=dpl_D2rGyYio3Br1sC9P8eDyKLsEQAJP

js parishpres.org collected 2026-10-02 14:11:16 UTC 6,328 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,647163,e=>{"use strict";let t="America/Chicago";function s(e){if(/^\d{4}-\d{2}-\d{2}$/.test(e)){let[t,s,r]=e.split("-").map(Number);return new Date(t,s-1,r,12)}return new Date(e)}e.s(["formatDate",0,function(e){return s(e).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric",timeZone:t})},"formatTime",0,function(e){return new Date(e).toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,timeZone:t})},"getDateNumber",0,function(e){return Number(s(e).toLocaleDateString("en-US",{day:"numeric",timeZone:t}))},"getMonthAbbr",0,function(e){return s(e).toLocaleDateString("en-US",{month:"short",timeZone:t})},"splitScriptureReferences",0,function(e){return(e||"").split(/[,;]/).map(e=>e.trim()).filter(Boolean)}])},567957,e=>{"use strict";var t=e.i(843476);e.s(["default",0,function({title:e,subtitle:s}){return(0,t.jsx)("section",{className:"bg-bg-sage border-b border-border-light pt-28 md:pt-36 pb-12 md:pb-16",children:(0,t.jsxs)("div",{className:"container-custom max-w-3xl mx-auto text-center",children:[(0,t.jsxs)("div",{className:"flex items-center justify-center gap-3 mb-6",children:[(0,t.jsx)("div",{className:"h-px w-10 bg-accent"}),(0,t.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-accent"}),(0,t.jsx)("div",{className:"h-px w-10 bg-accent"})]}),(0,t.jsx)("h1",{className:"font-display text-4xl md:text-5xl font-semibold text-dark mb-4 uppercase tracking-brand",children:e}),s&&(0,t.jsx)("p",{className:"text-lg text-text-secondary leading-relaxed max-w-xl mx-auto",children:s})]})})}])},779106,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(522016),a=e.i(647163),n=e.i(567957);e.s(["default",0,function({sermons:e}){let[i,o]=(0,s.useState)(""),[l,c]=(0,s.useState)(""),[d,m]=(0,s.useState)(""),[u,x]=(0,s.use
1State)(1),h=(0,s.useMemo)(()=>Array.from(new Set(e.map(e=>e.series).filter(Boolean))).sort(),[e]),p=(0,s.useMemo)(()=>Array.from(new Set(e.map(e=>e.speaker).filter(Boolean))).sort(),[e]),g=(0,s.useMemo)(()=>e.filter(e=>{let t=!i||e.title.toLowerCase().includes(i.toLowerCase())||e.scripture?.toLowerCase().includes(i.toLowerCase())||e.excerpt?.toLowerCase().includes(i.toLowerCase()),s=!l||e.series===l,r=!d||e.speaker===d;return t&&s&&r}),[e,i,l,d]),b=Math.ceil(g.length/30),f=g.slice((u-1)*30,30*u);return(0,t.jsxs)("div",{className:"min-h-screen",children:[(0,t.jsx)(n.default,{title:"Sermons",subtitle:"Listen to messages from God's Word as we study the Scriptures together."}),(0,t.jsx)("section",{className:"border-b border-border-light bg-white sticky top-20 z-40",children:(0,t.jsxs)("div",{className:"container-custom py-4",children:[(0,t.jsxs)("div",{className:"flex flex-col md:flex-row gap-3",children:[(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)("input",{type:"text",placeholder:"Search sermons by title, scripture, or keyword...",value:i,onChange:e=>{o(e.target.value),x(1)},className:"w-full px-4 py-2.5 border border-border rounded-lg font-body text-sm focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary placeholder:text-text-muted"})}),(0,t.jsxs)("select",{"aria-label":"Filter by series",value:l,onChange:e=>{c(e.target.value),x(1)},className:"px-4 py-2.5 border border-border rounded-lg font-heading text-sm focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary bg-white text-text",children:[(0,t.jsx)("option",{value:"",children:"All Series"}),h.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]}),(0,t.jsxs)("select",{"aria-label":"Filter by speaker",value:d,onChange:e=>{m(e.target.value),x(1)},className:"px-4 py-2.5 border border-border rounded-lg font-heading text-sm focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary bg-white text-text",children:[(0,t.jsx)("option",{value:"",children:"All Speakers"}),p.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]})]}),(0,t.jsxs)("div",{className:"mt-2 text-sm text-text-muted font-heading",children:["Showing ",Math.min(30*u,g.length)," of"," ",g.length," sermon",1!==g.length?"s":""]})]})}),(0,t.jsx)("section",{className:"section",children:(0,t.jsxs)("div",{className:"container-custom",children:[(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:f.map(e=>(0,t.jsxs)(r.default,{href:`/sermons/${e.slug}
1`,className:"card p-7 flex flex-col group",children:[(0,t.jsx)("div",{className:"text-xs font-heading font-semibold text-primary uppercase tracking-wider mb-3",children:(0,a.formatDate)(e.date)}),(0,t.jsx)("h3",{className:"font-heading text-xl font-bold text-dark mb-3 leading-tight group-hover:text-primary transition-colors",children:e.title}),e.scripture&&(0,t.jsx)("span",{className:"inline-block text-sm font-heading text-text-muted bg-bg-sage px-3 py-1 rounded-full mb-3 self-start",children:(0,a.splitScriptureReferences)(e.scripture).join(" • ")}),(0,t.jsx)("p",{className:"text-text-secondary text-sm mb-4 flex-grow leading-relaxed line-clamp-3",children:e.excerpt}),(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-text-muted font-heading mt-auto",children:[(0,t.jsx)("span",{children:e.speaker}),e.series&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"text-border",children:"|"}),(0,t.jsxs)("span",{children:["Series: ",e.series]})]})]})]},e.id))}),0===g.length&&(0,t.jsxs)("div",{className:"text-center py-16 text-text-muted",children:[(0,t.jsx)("p",{className:"text-lg font-heading",children:"No sermons found matching your search."}),(0,t.jsx)("button",{onClick:()=>{o(""),c(""),m("")},className:"btn btn-ghost mt-4",children:"Clear filters"})]}),b>1&&(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2 mt-12",children:[(0,t.jsx)("button",{onClick:()=>{x(e=>Math.max(1,e-1)),window.scrollTo({top:0,behavior:"smooth"})},disabled:1===u,className:"btn btn-ghost px-4 py-2 disabled:opacity-40 disabled:cursor-not-allowed",children:"← Previous"}),(0,t.jsxs)("span",{className:"font-heading text-sm text-text-muted px-4",children:["Page ",u," of ",b]}),(0,t.jsx)("button",{onClick:()=>{x(e=>Math.min(b,e+1)),window.scrollTo({top:0,behavior:"smooth"})},disabled:u===b,className:"btn btn-ghost px-4 py-2 disabled:opacity-40 disabled:cursor-not-allowed",children:"Next →"})]})]})})]})}])}]);

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.