PageSourceSearch

https://scripturecentral.org/_next/static/chunks/pages/channels-47efaa4fc622e92f.js

js scripturecentral.org collected 2026-09-24 09:23:47 UTC 4,424 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[56],{34361:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/channels",function(){return l(47901)}])},47901:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSG:()=>f,default:()=>v});var a=l(37876),r=l(14232),s=l(97711),n=l(54550),i=l(55286);let c=["en","es","pt"];var d=l(54587),o=l.n(d),h=l(48230),u=l.n(h);function x(e){let{shows:t,title:l}=e;return(0,a.jsxs)("div",{className:"mb-12",children:[(0,a.jsx)("h2",{className:"text-2xl font-medium text-gray-900 font-header uppercase mb-8 text-center",children:l}),(0,a.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:t.length>0?t.map(e=>{var t;return(0,a.jsx)(u(),{href:e.url,className:"group relative overflow-hidden rounded-lg shadow-md transition-transform duration-300 hover:shadow-lg hover:-translate-y-1",children:(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("div",{className:"aspect-[16/9] relative",children:(0,a.jsx)(o(),{src:(null==(t=e.image)?void 0:t.url)||"/assets/default-show-image.jpg",alt:e.title||"Show",fill:!0,className:"object-cover"})}),(0,a.jsx)("div",{className:"p-2 bg-white",children:(0,a.jsx)("h3",{className:"text-gray-900 text-sm font-medium text-center",children:e.title||"Untitled Show"})})]})},e.id)}):(0,a.jsx)("div",{className:"col-span-full text-center",children:(0,a.jsx)("p",{className:"text-gray-500",children:"No channels found"})})})]})}function m(e){let{showsByLocale:t,locale:l,t:r,keyPrefix:s=""}=e;return(function(e,t,l){var a;let r=c.includes(t)?c:[t,...c],s=[...r].sort((e,l)=>e===t?-1:l===t?1:e.localeCompare(l)),n=Object.keys(e||{}).filter(e=>!r.includes(e)&&"taylorAndTyler"!==e).flatMap(t=>e[t]||[]),i=[];for(let t of s){let r=e[t]||[];r.length>0&&i.push({key:t,title:l(t),shows:r}),"en"===t&&(null==(a=e.taylorAndTyler)?void 0:a.length)>0&&i.push({key:"taylorAndTyler",title:"Taylor and Tyler",shows:e.taylorAndTyler})}return n.length>0&&i.push({key:"other",title:l("Other"),shows:n}),i})(t,l,r).map(e=>{let{key:t,title:l,shows:r}=e;return(0,a.jsx)(x,{shows:r,title:l},"".concat(s).concat(t))})}var p=l(45151),f=!0;function v(e){let{activeShowsByLocale:t,archivedShowsByLocale:l,locale:c}=e,{t:d}=(0,i.Bd)("common"),[o,h]=(0,r.useState)(!1),u=Object.values(l||{}).some(e=>e.length>0),x=Object.values(null!=l?l:{}).reduce((e,t)=>e+t.length,0);return(0,a.jsx)(p.A,{useTranslation:i.Bd,hideBreadcrumb:!0,maxWidthClass:"",children:(0,a.jsxs)("div",{className:"w-full bg-white",children:[(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[(0,a.jsx)("h1",{className:"text-3xl font-medium text-gray-900 font-header uppercase mb-8 text-center",children:d("Scripture Central Channels")}),(0,a.jsx)(m,{showsByLocale:t,locale:c,t:d,keyPrefix:"active-"}),u&&(0,a.jsx)("div",{className:"mt-4 flex justify-center",children:(0,a.jsxs)("button",{type:"button",onClick:()=>h(e=>!e),"aria-expanded":o,"aria-controls":"archived-channels-section",className:"inline-flex items-center gap-2 rounded-full border-2 border-primaryBlue px-6 py-3 text-sm font-medium text-primaryBlue transition-colors hover:bg-primaryBlue hover:text-white",children:[o?d("Hide Archived Channels"):d("Show Archived Channels",{count:x}),o?(0,a.jsx)(s.A,{className:"h-5 w-5","aria-hidden":"true"}):(0,a.jsx)(n.A,{className:"h-5 w-5","aria-hidden":"true"})]})})]}),u&&o&&(0,a.jsx)("section",{id:"archived-channels-section","aria-labelledby":"archived-channels-heading",className:"w-full bg-gray-50 py-12",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsx)("h2",{id:"archived-channels-heading",className:"text-3xl font-medium text-gray-900 font-header uppercase mb-8 text-center",children:d("Archived Channels")}),(0,a.jsx)(m,{showsByLocale:l,locale:c,t:d,keyPrefix:"archived-"})]})})]})})}},97711:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var a=l(14232);let r=a.forwardRef(function(e,t){let{title:l,titleId:r,...s}=e;return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":r},s),l?a.createElement("title",{id:r},l):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"}))})}},e=>{var t=t=>e(e.s=t);e.O(0,[8805,692,9018,8507,5151,636,6593,8792],()=>t(34361)),_N_E=e.O()}]);

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.