1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="251b6f72-b322-4a63-8842-924ec9e63d1a",e._sentryDebugIdIdentifier="sentry-dbid-251b6f72-b322-4a63-8842-924ec9e63d1a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4733],{30776:(e,a,t)=>{"use strict";t.d(a,{m:()=>u});var i=t(66284),s=t(14232),r=t(89099),n=t(18125),o=t(35149),l=t(2380),h=t(47493),d=t(69174),c=t(51348),m=t(37876);function p(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);a&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,i)}return t}function u(e){let{options:a,currentSort:t,onSortChange:u,basePath:g,defaultSort:j,label:f="Sort items",className:b="",variant:y="default",analyticsCategory:x}=e,w=(0,r.useRouter)(),{0:v,1:k}=(0,s.useState)(!1),P=(0,s.useRef)(null),O=a.find(e=>e.value===t)||a[0];return(0,s.useEffect)(()=>{let e=e=>{P.current&&!P.current.contains(e.target)&&k(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,m.jsxs)("div",{className:`relative ${b}`,ref:P,children:[(0,m.jsxs)("button",{type:"button",onClick:()=>k(!v),className:"minimal"===y?"flex items-center gap-2 px-4 py-2 border border-black/20 rounded-lg text-sm font-medium text-slate-700 hover:bg-slate-50 transition-colors":"flex items-center gap-2 px-4 py-2 border border-grey-300 rounded-lg hover:border-grey-400 transition-colors bg-white","aria-label":f,"aria-expanded":v,"aria-haspopup":"listbox",children:["default"===y?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(d.EY,{as:"span",fontSize:"text-sm",color:"text-black/75",children:"Sort by:"}),(0,m.jsx)(d.EY,{as:"span",fontSize:"text-sm",weight:"font-semibold",color:"text-grey-900",children:O.label})]}):(0,m.jsxs)("span",{children:["Sort by: ",O.label]}),(0,m.jsx)(n.g,{icon:o.Jt,className:(0,c.x)("text-base text-black/75 font-black transition-transform",v?"rotate-180":"")})]}),v&&(0,m.jsx)("div",{className:"absolute right-0 mt-2 w-40 bg-white border border-grey-200 rounded-lg shadow-lg z-10",role:"listbox",children:a.map(e=>(0,m.jsx)("button",{type:"button",onClick:()=>(e=>{if(k(!1),x&&(0,l.$s)(x,"sort",e),u)return void u(e);if(g){let a=function(e){for(var a=1;a<arguments.length;a++){var t=null!=arguments[a]?arguments[a]:{};a%2?p(Object(t),!0).forEach(function(a){(0,i.A)(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}({},(0,h.j4)(w.query));j&&e===j?delete a.sort:a.sort=e,delete a.page,w.push({pathname:g,query:a},void 0,{shallow:!1})}})(e.value),className:(0,c.x)("w-full px-4 py-2 text-left hover:bg-grey-50 transition-colors first:rounded-t-lg last:rounded-b-lg",e.value===t?"bg-grey-50":""),role:"option","aria-selected":e.value===t,children:(0,m.jsx)(d.EY,{as:"span",fontSize:"text-sm",weight:e.value===t?"font-semibold":"font-normal",color:e.value===t?"text-grey-900":"text-grey-700",children:e.label})},e.value))})]})}},76511:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/series/[slug]",function(){return t(79782)}])},79782:(e,a,t)=>{"use strict";t.r(a),t.d(a,{__N_SSG:()=>J,default:()=>X});var i=t(14232),s=t(77328),r=t.n(s),n=t(54587),o=t.n(n),l=t(18125),h=t(24519),d=t.n(h),c=t(2380),m=t(57279),p=t(26581),u=t(37876);let g=e=>{let{pageUrl:a,name:t,description:i,image:s,episodes:n,inLanguage:o="en"}=e;if(!a||!t)return(0,u.jsx)(u.Fragment,{});let l=`${t} is a free educational video series from Yaqeen Institute`+(n.length>0?`, comprising ${n.length} ${1===n.length?"episode":"episodes"} `:" ")+"on Islamic research, theology, and education.",h=(null==i?void 0:i.trim())||l,d={"@context":p.WX,"@type":"Course","@id":`${a}#course`,name:t,description:h,url:a,inLanguage:o,isAccessibleForFree:!0,provider:{"@type":p.Pk["@type"],"@id":p.Pk["@id"],name:p.Pk.name,url:p.Pk.url},hasCourseInstance:{"@type":"CourseInstance",courseMode:"Online",instructor:{"@type":p.Pk["@type"],"@id":p.Pk["@id"],name:p.Pk.name}},offers:{"@type":"Offer",category:"Free",price:"0",priceCurrency:"USD",availability:"https://schema.org/InStock"}};if(s&&(d.image=s),n.length>0){let e=n.flatMap(e=>{let a=(0,m.YV)(e.uploadDate);return a&&e.thumbnailUrl?[{"@type":"VideoObject",name:e.name,url:e.url,uploadDate:a,thumbnailUrl:e.thumbnailUrl}]:[]});e.length>0&&(d.hasPart=e)}return(0,u.jsx)(r(),{children:(0,u.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(d,null,2).replace(/</g,"\\u003c")}})})};var j=t(55916),f=t(66284);function b(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);a&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,i)}return t}function y(e){for(var a=1;a<arguments.length;a++){var t=null!=arguments[a]?arguments[a]:{};
1a%2?b(Object(t),!0).forEach(function(a){(0,f.A)(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}let x=e=>({"@id":`${e}/#org`}),w=(e,a)=>{let t=a.descriptionOverride||e.seriesDescription;return y(y(y(y({"@context":"https://schema.org","@type":a.type,"@id":`${e.pageUrl}#series`,name:e.seriesName,headline:e.seriesName,description:t,url:e.pageUrl,inLanguage:"en",publisher:x(e.baseUrl),copyrightHolder:x(e.baseUrl)},e.seriesImage&&{image:e.seriesImage}),a.numberOfEpisodes&&"VideoSeries"===a.type&&{numberOfEpisodes:a.numberOfEpisodes}),{},{audience:{"@type":"Audience",audienceType:a.audience??"Muslims, students of Islam, and the general educated public"}},a.keywords&&a.keywords.length>0&&{keywords:a.keywords.join(", ")}),{},{mainEntityOfPage:{"@id":`${e.pageUrl}#webpage`},speakable:{"@type":"SpeakableSpecification",cssSelector:["h1","h2"]}})},v=(e,a,t)=>({"@context":"https://schema.org","@type":"ItemList","@id":`${e.pageUrl}#episodes`,name:`${e.seriesName} â episodes`,description:`Ordered list of episodes in the â${e.seriesName}â series.`,numberOfItems:a.length,itemListOrder:"https://schema.org/ItemListOrderAscending",isPartOf:{"@id":`${e.pageUrl}#series`},itemListElement:a.map((a,i)=>{let s=a.watchSeriesSlug??t,r=a.slug?`${e.baseUrl}/watch/series/${s}/${a.slug}`:void 0;return y(y(y({"@type":"ListItem",position:i+1,name:a.name},a.description&&{description:a.description}),r&&{url:r}),r&&{item:{"@id":`${r}#video`}})})}),k="A ten-episode Dhul Hijjah series tracing the Hajj of the Prophet Muhammad ï·º through the eyes of his companions â from his early life in Makkah and longing for Madinah, through the conquest of Makkah and the Farewell Pilgrimage, to the Day of Arafah and the deeds that match the reward of Hajj.",P=["Hajj","Farewell Pilgrimage","Hajjat al-Wada'","Day of Arafah","Prophet Muhammad","seerah","Makkah","Madinah","Dhul Hijjah","Yaqeen Institute","companions of the Prophet"],O=[{name:"Episode 1: Growing up in Makkah",slug:"growing-up-in-makkah-his-hajj-story-ep-1"},{name:"Episode 2: Falling In Love With Madinah",slug:"falling-in-love-with-madinah-his-hajj-story-ep-2"},{name:"Episode 3: A Dream Before Umrah",slug:"a-dream-before-umrah-his-hajj-story-ep-3"},{name:"Episode 4: The Day Of The Conquest",slug:"the-day-of-the-conquest-his-hajj-story-ep-4"},{name:"Episode 5: Forever An Ansari",slug:"forever-an-ansari-his-hajj-story-ep-5"},{name:"Episode 6: Under The Leadership Of Abu Bakr (ra)",slug:"under-the-leadership-of-abu-bakr-ra-his-hajj-story-ep-6"},{name:"Episode 7: The Farewell Hajj",slug:"the-farewell-hajj-his-hajj-story-ep-7"},{name:"Episode 8: The Day of Arafah",slug:"the-day-of-arafah-his-hajj-story-ep-8"},{name:"Episode 9: Amongst the People",slug:"amongst-the-people-his-hajj-story-ep-9"},{name:"Episode 10: 5 Deeds That Equal the Reward of Hajj",slug:"5-deeds-that-equal-the-reward-of-hajj-his-hajj-story-ep-10"}],D="A six-part educational primer on the fifth pillar of Islam â answering the foundational what / why / when / where / who of Hajj. Designed for newcomers, students, and anyone seeking a clear, plain-language introduction to the annual pilgrimage to Mecca.",E=["Hajj","pilgrimage to Mecca","fifth pillar of Islam","introduction to Hajj","Ka'bah","Mecca","Dhul Hijjah","Islamic basics","Yaqeen Institute","pillar 5"],H=[{name:"Pillar 5: Introduction to Hajj (Pilgrimage)",slug:"pillar-5-introduction-to-hajj-pilgrimage",description:"Series opener â what to expect from this six-part primer on Hajj."},{name:"Pillar 5: What is Hajj (Pilgrimage)?",slug:"pillar-5-what-is-hajj-pilgrimage",description:"A concise definition of Hajj and its place as the fifth pillar of Islam."},{name:"Pillar 5: Why do Muslims Perform Hajj (Pilgrimage)?",slug:"pillar-5-why-do-muslims-perform-hajj-pilgrimage",description:"The theological and historical reasons Muslims perform Hajj â submission to Allah's command and re-enacting the legacy of Prophet Ibrahim."},{name:"Pillar 5: When do Muslims Go On Hajj (Pilgrimage)?",slug:"pillar-5-when-do-muslims-go-hajj-pilgrimage",description:"The timing of Hajj in the Islamic lunar calendar â the first ten days of Dhul Hijjah."},{name:"Pillar 5: Where do Muslims Perform Hajj (Pilgrimage)?",slug:"pillar-5-where-do-muslims-perform-hajj-pilgrimage",description:"The geography of Hajj â Mecca, the Ka'bah, Arafat, Muzdalifah, and Mina."},{name:"Pillar 5: Who Can Perform Hajj (Pilgrimage)?",slug:"pillar-5-who-can-perform-hajj-pilgrimage",description:"The conditions and obligations of Hajj â who is required to perform it and the criteria of c
1apability (istitaâah)."}],T="Personal Hajj reflections from members of the Yaqeen team â sixteen short episodes recalling formative moments from the pilgrimage, from a passing face in Tawaf to the parting of an ocean of pilgrims at Arafah.",$=["Hajj","Hajj reflections","pilgrimage stories","Ka'bah","Mecca","Arafah","Tawaf","Sa'i","Yaqeen Institute","Dhul Hijjah","Muslim travel narrative"],S=[{name:"A Passing Face",slug:"a-passing-face-myhajjstory"},{name:"A Seed of Inspiration",slug:"a-seed-of-inspiration-myhajjstory"},{name:"The Pinnacle of Hajj",slug:"the-pinnacle-of-hajj-myhajjstory"},{name:"The 7 Hour Walk",slug:"the-7-hour-walk-myhajjstory"},{name:"Time Will Pass",slug:"time-will-pass-myhajjstory"},{name:"Raindrops and White Tile",slug:"raindrops-and-white-tile-myhajjstory"},{name:"A Sea of Humanity",slug:"a-sea-of-humanity-myhajjstory"},{name:"The Girl With No Arms",slug:"the-girl-with-no-arms-myhajjstory"},{name:"Du'as For Our Children",slug:"duas-for-our-children-myhajjstory"},{name:"The Farewell Effect",slug:"the-farewell-effect-myhajjstory"},{name:"A Tug of the Shoulder",slug:"episode-6-a-tug-of-the-shoulder-my-hajj-story"},{name:"Greeting the Prophet ï·º",slug:"greeting-the-prophet-myhajjstory"},{name:"For Allah, Not People",slug:"for-allah-not-people-myhajjstory"},{name:"Unscripted Du'as",slug:"unscripted-duas-myhajjstory"},{name:"The Parting of an Ocean",slug:"the-parting-of-an-ocean-myhajjstory"},{name:"A Taxi Cab Ride",slug:"a-taxi-cab-ride-myhajjstory"}],N="A ten-episode walkthrough of why the first ten days of Dhul Hijjah are the most spiritually concentrated season of the Islamic year â covering the sacred months, the best deeds, the days Allah swears by, the parallel with the ten days of Musa (Moses), the sunnah of fasting, the preferred forms of dhikr, the meaning of the Eid sacrifice, and the wonders of the Day of 'Arafah.",U=["Dhul Hijjah","first 10 days","virtues of Dhul Hijjah","Eid al-Adha","Day of Arafah","Yawm Arafah","fasting","dhikr","qurbani","sacrifice","sacred months","Yaqeen Institute"],A=[{name:"Episode 1: The Sacred Months",slug:"episode-1-the-sacred-months-virtues-of-dhul-hijjah",description:"The four sacred months in Islam and the place of Dhul Hijjah among them."},{name:"Episode 2: The Best Good Deeds",slug:"episode-2-the-best-good-deeds-virtues-of-dhul-hijjah",description:"The hadith of the Prophet ï·º on the deeds most beloved to Allah during the first ten days of Dhul Hijjah."},{name:"Episode 3: The Days Allah Swears By",slug:"episode-3-the-days-allah-swears-by-virtues-of-dhul-hijjah",description:"The opening oath of Surah al-Fajr (Qurâan 89:1â2) and what it tells us about the first ten nights of Dhul Hijjah."},{name:"Episode 4: The 10 Days of Moses",slug:"episode-4-the-10-days-of-moses-virtues-of-dhul-hijjah",description:"The ten days of seclusion of Prophet Musa (Moses) in the Qurâan, and their parallel with these ten days."},{name:"Episode 5: Fasting the First 9 Days",slug:"episode-5-fasting-the-first-9-days-virtues-of-dhul-hijjah",description:"The recommendation (sunnah) to fast on each of the first nine days, with emphasis on the Day of Arafah."},{name:"Episode 6: The Preferred Forms of Remembrance",slug:"episode-6-the-preferred-forms-of-remembrance-virtues-of-dhul-hijjah",description:"Takbir, tahmid, tahlil, and tasbih â the dhikr most emphasised during these days."},{name:"Episode 7: The Sacrifice",slug:"episode-7-the-sacrifice-virtues-of-dhul-hijjah",description:"The meaning, rulings, and spiritual weight of qurbani (udhiya) on Eid al-Adha."},{name:"Episode 8: 3 Years of Fasting",slug:"episode-8-3-years-of-fasting-virtues-of-dhul-hijjah",description:"The reward of fasting on Arafah â expiation for the sins of the year past and the year to come."},{name:"Episode 9: The Wonders of 'Arafah",slug:"episode-9-the-wonders-of-arafah-virtues-of-dhul-hijjah",description:"The unique virtues of the Day of 'Arafah â the day Allah frees more people from the Fire than any other."},{name:"Episode 10: âAnd in That Let Them Rejoiceâ",slug:"episode-10-and-in-that-let-them-rejoice-virtues-of-dhul-hijjah",description:"Closing reflection on Qur'an 10:58 and the spiritual joy that should mark these days."}],I={"my-hajj-story":e=>[w(e,{type:"VideoSeries",keywords:$,numberOfEpisodes:S.length,descriptionOverride:e.seriesDescription||T}),v(e,S,"my-hajj-story"),{"@context":"https://schema.org","@type":"DefinedTermSet","@id":`${e.pageUrl}#concepts`,name:`Concepts in â${e.seriesName}â`,description:"Wikidata-anchored Islamic concepts referenced throughout the series â the rites of Hajj and the figures and places that anchor them.",mainEntityOfPage:{"@i
1d":`${e.pageUrl}#series`},hasDefinedTerm:(0,j.Zo)("hajj","ibrahim","hagar","ismail","kaaba","mecca","arafah","qurbani","tawaf","sai","jamarat","dhulHijjah")},{"@context":"https://schema.org","@type":"WebPage","@id":`${e.pageUrl}#webpage`,url:e.pageUrl,name:e.seriesName,description:e.seriesDescription||T,inLanguage:"en",isPartOf:{"@id":`${e.baseUrl}/#website`},mainEntity:{"@id":`${e.pageUrl}#series`},about:(0,j.Zo)("hajj","ibrahim","kaaba","mecca"),mentions:[(0,j.JC)(e.baseUrl),...(0,j.Zo)("hajj","ibrahim","hagar","ismail","kaaba","mecca","arafah","qurbani","tawaf","sai","jamarat","dhulHijjah")]}],"virtues-of-dhul-hijjah":e=>[w(e,{type:"VideoSeries",keywords:U,numberOfEpisodes:A.length,descriptionOverride:e.seriesDescription||N}),v(e,A,"virtues-of-dhul-hijjah"),{"@context":"https://schema.org","@type":"DefinedTermSet","@id":`${e.pageUrl}#concepts`,name:`Concepts in â${e.seriesName}â`,description:"Wikidata-anchored Islamic concepts referenced across the ten episodes â the month of Dhul Hijjah, its rites, and its central days.",mainEntityOfPage:{"@id":`${e.pageUrl}#series`},hasDefinedTerm:(0,j.Zo)("dhulHijjah","hajj","arafah","eidAlAdha","qurbani","dhikr","dua","saumDhulHijjah","ibrahim","kaaba","mecca")},{"@context":"https://schema.org","@type":"WebPage","@id":`${e.pageUrl}#webpage`,url:e.pageUrl,name:e.seriesName,description:e.seriesDescription||N,inLanguage:"en",isPartOf:{"@id":`${e.baseUrl}/#website`},mainEntity:{"@id":`${e.pageUrl}#series`},about:(0,j.Zo)("dhulHijjah","arafah","eidAlAdha","qurbani"),mentions:[(0,j.JC)(e.baseUrl),(0,j.nM)(e.baseUrl),(0,j.St)(e.baseUrl),...(0,j.Zo)("dhulHijjah","hajj","arafah","eidAlAdha","qurbani","dhikr","dua","saumDhulHijjah","ibrahim","kaaba","mecca")]}],"intro-to-hajj":e=>[w(e,{type:"VideoSeries",keywords:E,numberOfEpisodes:H.length,descriptionOverride:e.seriesDescription||D,audience:"Newcomers to Islam, students, and anyone seeking a primer on Hajj"}),v(e,H,"intro-to-hajj"),{"@context":"https://schema.org","@type":"DefinedTermSet","@id":`${e.pageUrl}#concepts`,name:`Concepts in â${e.seriesName}â`,description:"Wikidata-anchored Islamic concepts that ground each episode â the rites of Hajj, the figure of Prophet Ibrahim, and the geography of Mecca.",mainEntityOfPage:{"@id":`${e.pageUrl}#series`},hasDefinedTerm:(0,j.Zo)("hajj","ibrahim","kaaba","mecca","arafah","qurbani","tawaf","sai","jamarat","dhulHijjah")},{"@context":"https://schema.org","@type":"WebPage","@id":`${e.pageUrl}#webpage`,url:e.pageUrl,name:e.seriesName,description:e.seriesDescription||D,inLanguage:"en",isPartOf:{"@id":`${e.baseUrl}/#website`},mainEntity:{"@id":`${e.pageUrl}#series`},about:(0,j.Zo)("hajj","kaaba","mecca","dhulHijjah"),mentions:[(0,j.JC)(e.baseUrl),...(0,j.Zo)("hajj","ibrahim","kaaba","mecca","arafah","qurbani","tawaf","sai","jamarat","dhulHijjah")]}],"his-hajj-story-a-dhul-hijjah-series":e=>[w(e,{type:"VideoSeries",keywords:P,numberOfEpisodes:O.length,descriptionOverride:e.seriesDescription||k}),v(e,O,"his-hajj-story-a-dhul-hijjah-series"),{"@context":"https://schema.org","@type":"DefinedTermSet","@id":`${e.pageUrl}#concepts`,name:`Concepts in â${e.seriesName}â`,description:"Wikidata-anchored Islamic concepts referenced across the series â the Hajj of the Prophet ï·º and the geography and rites that anchored it.",mainEntityOfPage:{"@id":`${e.pageUrl}#series`},hasDefinedTerm:(0,j.Zo)("hajj","arafah","kaaba","mecca","ibrahim","tawaf","sai","jamarat","qurbani","dhulHijjah")},{"@context":"https://schema.org","@type":"WebPage","@id":`${e.pageUrl}#webpage`,url:e.pageUrl,name:e.seriesName,description:e.seriesDescription||k,inLanguage:"en",isPartOf:{"@id":`${e.baseUrl}/#website`},mainEntity:{"@id":`${e.pageUrl}#series`},about:(0,j.Zo)("hajj","arafah","kaaba","mecca"),mentions:[(0,j.JC)(e.baseUrl),(0,j.nM)(e.baseUrl),...(0,j.Zo)("hajj","arafah","kaaba","mecca","ibrahim","tawaf","sai","jamarat","qurbani","dhulHijjah")]}]};var C=t(56128);let M=e=>{let{slug:a,baseUrl:t,pageUrl:i,seriesName:s,seriesDescription:n,seriesImage:o}=e;if(!a)return null;let l=((e,a)=>{if(!e)return[];let t=I[e];return t?t(a):[]})(a,{baseUrl:t,pageUrl:i,seriesName:s,seriesDescription:n,seriesImage:o});return 0===l.length?null:(0,u.jsx)(r(),{children:l.map((e,a)=>(0,u.jsx)(C.a,{data:e},`series-structured-data-${a}`))})};var _=t(30776),q=t(82454),W=t(69174),F=t(67579),L=t(65350),Y=t(23001),Z=t(86400),z=t(55850),R=t(61300);let V=e=>{let{item:a,showCategory:t=!0}=e;return(0,u.jsxs)(W.qh,{href:a.link,prefetch:!1,className:"group block",onClick:()=>(0,c.$s)("series_content","click",`${a.type}: ${a.title}`),children:[(0,u.jsxs)("div",{className:"relative aspect-w-16 aspect-h-9 rounded overflow-hidden bg-slate-200",children:[a.thumbnail?(0,u.jsx)(o(),{loader:Z.R2,src:a.thumbnail,alt:a.title,layout:"fill",objectFit:"cover"}):(0,u.jsx)("div",{className:"absolute inset-0 bg-slate-300"}),(0,u.jsx)("div",{className:"absolute top-2 left-2",children:(0,u.jsx)("span",{className:"inline-block px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide text-white bg-endeavour-500 rounded",children:"paper"===a.type?"Paper":"Infographic"})})]}),t&&a.category&&(0,u.jsx)("p",{className:"mt-2 text-xs font-medium text-endeavour-500 uppercase tracking-wide",children:a.category}),(0,u.jsx)("h3",{className:"mt-1 text-sm font-bold text-slate-900 line-clamp-2 group-hover:text-endeavour-500 transition-colors leading-4",children:a.title})]})},G=e=>{let{title:a,items:t,itemsPerPage:s=20,renderCard:r}=e,{0:n,1:o}=(0,i.useState)(1),{0:l,1:h}=(0,i.useState)("latest"),d=(0,i.useMemo)(()=>{let e=[...t].sort((e,a)=>{let t=new Date(e.date||0).getTime(),i=new Date(a.date||0).getTime();return"latest"===l?i-t:t-i}),a=(n-1)*s;return e.slice(a,a+s)},[t,n,l,s]);return 0===t.length?null:(0,u.jsxs)("section",{className:"mt-12 xl:mt-16",children:[(0,u.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[(0,u.jsx)("h2",{className:"text-lg xl:text-3xl font-semibold text-endeavour-500 leading-7 xl:leading-9 whitespace-nowrap",children:a}),(0,u.jsx)("div",{className:"flex-1 h-0.5 bg-carrot-500"}),t.length>1&&(0,u.jsx)(_.m,{options:[{value:"latest",label:"Latest"},{value:"oldest",label:"Oldest"}],currentSort:l,onSortChange:e=>{h(e),o(1)},variant:"minimal",label:`Sort ${a.toLowerCase()}`,analyticsCategory:"series_detail"})]}),(0,u.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 ga
1p-4 xl:gap-6",children:d.map(e=>(0,u.jsx)("div",{children:r(e)},e.id))}),t.length>s&&(0,u.jsx)("div",{className:"mt-8",children:(0,u.jsx)(q.P,{currentPage:n,totalCount:t.length,pageSize:s,analyticsCategory:"series_detail",onPageChange:e=>{o(e),window.scrollTo({top:0,behavior:"smooth"})}})})]})};var J=!0;let X=e=>{var a,t,s;let{series:n,videos:o,papers:h,infographics:m}=e,{0:p,1:j}=(0,i.useState)(1),{0:f,1:b}=(0,i.useState)("latest"),y=R.i4,x=`${y}/series/${n.slug}`,w=[...o,...h,...m].map((e,a)=>({position:a+1,name:e.title,url:e.link,type:e.type})),v={title:d().decode(n.name||""),description:n.description||`Explore the ${n.name} series from Yaqeen Institute.`,breadcrumbs:[{name:"Home",url:y},{name:d().decode(n.name||""),url:x}],webPage:{pageType:"CollectionPage",speakable:!0},relatedContent:w.length>0?w:void 0,relatedContentListName:`${d().decode(n.name||"")} â all episodes`,jsonApiUrl:`${y}/api/v1/webmcp/series?slug=${n.slug}`},k=(0,i.useMemo)(()=>{let e=[...o].sort((e,a)=>{let t=new Date(e.date||0).getTime(),i=new Date(a.date||0).getTime();return"latest"===f?i-t:t-i}),a=(p-1)*20;return e.slice(a,a+20)},[o,p,f]),P=o.map(e=>({name:d().decode(e.title||""),url:e.link.startsWith("http")?e.link:`${y}${e.link}`,uploadDate:e.date,thumbnailUrl:e.thumbnail})),O=(null==(a=o[0])?void 0:a.thumbnail)||(null==(t=h[0])?void 0:t.thumbnail)||(null==(s=m[0])?void 0:s.thumbnail)||void 0;return(0,u.jsxs)(F.MainWebLayout,{metatag:v,children:[(0,u.jsx)(r(),{children:(0,u.jsx)("link",{rel:"alternate",type:"text/markdown",href:`${y}/series/${n.slug}.md`,title:`${d().decode(n.name||"")} â series overview (Markdown)`})}),(0,u.jsx)(g,{pageUrl:x,name:d().decode(n.name||""),description:(0,z.QZ)(d().decode((0,z.Xu)(n.description||""))),image:O,episodes:P}),(0,u.jsx)(M,{slug:n.slug,baseUrl:y,pageUrl:x,seriesName:d().decode(n.name||""),seriesDescription:(0,z.Xu)(n.description||"")}),(0,u.jsxs)("div",{className:"container mx-auto px-4 lg:px-6 max-w-[1280px] py-8",children:[(0,u.jsxs)("header",{className:"mb-8",children:[(0,u.jsxs)("div",{className:"flex items-center gap-4 mb-4",children:[(0,u.jsx)("h1",{className:"text-2xl xl:text-4xl font-bold text-endeavour-500 leading-tight whitespace-nowrap",children:d().decode(n.name||"")}),(0,u.jsx)("div",{className:"flex-1 h-0.5 bg-carrot-500"}),o.length>1&&(0,u.jsx)(_.m,{options:[{value:"latest",label:"Latest"},{value:"oldest",label:"Oldest"}],currentSort:f,onSortChange:e=>{b(e),j(1)},variant:"minimal",label:"Sort videos",analyticsCategory:"series_detail"})]}),n.description&&(0,u.jsx)(W.EY,{fontFamily:"font-source-serif-pro",fontSize:"text-base xl:text-lg",color:"text-slate-700",className:"max-w-3xl leading-relaxed mb-6",children:(0,u.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,Y.qQ)((0,z.Xu)(n.description))}})}),(0,u.jsxs)("div",{className:"flex flex-wrap gap-3",children:[n.book_url&&(0,u.jsxs)(W.qh,{href:n.book_url,className:"inline-flex items-center gap-2 px-5 py-2.5 bg-carrot-500 hover:bg-carrot-600 text-white font-semibold rounded-lg transition-colors",onClick:()=>(0,c.$s)("series_ebook","click","item_name: Download eBook"),children:[(0,u.jsx)(l.g,{icon:"book",className:"text-sm"}),"Download e-book"]}),n.archive_url&&(0,u.jsxs)(W.qh,{href:n.archive_url,className:"inline-flex items-center gap-2 px-5 py-2.5 bg-white hover:bg-slate-50 text-slate-800 font-semibold rounded-lg border border-slate-300 transition-colors",onClick:()=>(0,c.$s)("series_archive","click","item_name: See Archives"),children:[(0,u.jsx)(l.g,{icon:"archive",className:"text-sm"}),"See archived papers"]})]})]}),o.length>0&&(0,u.jsxs)("section",{children:[(0,u.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4 xl:gap-6",children:k.map(e=>(0,u.jsx)("div",{children:(0,u.jsx)(L.pK,{id:e.id,title:e.title,slug:e.slug,thumbnail:e.thumbnail,seriesSlug:n.slug})},e.id))}),o.length>20&&(0,u.jsx)("div",{className:"mt-8",children:(0,u.jsx)(q.P,{currentPage:p,totalCount:o.length,pageSize:20,analyticsCategory:"series_detail",onPageChange:e=>{j(e),window.scrollTo({top:0,behavior:"smooth"})}})})]}),h.length>0&&(0,u.jsx)(G,{title:"Papers",items:h,renderCard:e=>(0,u.jsx)(V,{item:e})}),m.length>0&&(0,u.jsx)(G,{title:"Infographics",items:m,renderCard:e=>(0,u.jsx)(V,{item:e})}),(0,u.jsx)("div",{className:"mt-12 xl:mt-16",children:(0,u.jsx)(L.r_,{})})]})]})}}},e=>{e.O(0,[5123,1510,2697,4740,1502,4587,2682,6241,5542,3822,5807,3971,1520,5350,636,6593,8792],()=>e(e.s=76511)),_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.