1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d6912e1e-941b-4cd5-936a-ff7af97c55c2",e._sentryDebugIdIdentifier="sentry-dbid-d6912e1e-941b-4cd5-936a-ff7af97c55c2")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5124],{16138:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>i,default:()=>o});var l=r(66284),a=r(50808),n=r(37876);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,l)}return r}var i=!0;let o=e=>(0,n.jsx)(a.I,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){(0,l.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({title:"FAQs",description:"Get clear explanations for the most commonly-asked questions regarding the theological foundations, spiritual anchors, and historical contributions of Islam. Weâve broken down the tricky parts of our research into simple, direct answers so you can focus on your learning. Itâs the same deep research you rely on, made easier to understand when a question pops up.",analyticsCategory:"read_faqs_collection"},e))},45916:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/read/faqs",function(){return r(16138)}])},50808:(e,t,r)=>{"use strict";r.d(t,{I:()=>b});var l=r(14232),a=r(54587),n=r.n(a),s=r(18125),i=r(2380),o=r(31888),c=r(82454),d=r(69174),p=r(67579),g=r(14899),u=r(79601),x=r(32738),h=r(10466),f=r(37876);let m=[{label:"Listen to the research",icon:"/static/images/read/listen.svg",href:"/read/audio"},{label:"Learn through FAQs",icon:"/static/images/read/question.svg",href:"/read/faqs"},{label:"Understand through key takeaways",icon:"/static/images/read/paper-alt.svg",href:"/read/key-takeaways"}],b=e=>{let{title:t,description:r,analyticsCategory:a,posts:b,authorsMap:v,contentTypesMap:y,topicsMap:w,tagsMap:j}=e,{0:N,1:k}=(0,l.useState)(1),{0:_,1:E}=(0,l.useState)(!1),{0:O,1:S}=(0,l.useState)(!0),{0:P,1:T}=(0,l.useState)("all");(0,l.useEffect)(()=>{let e=window.matchMedia("(min-width: 1024px)"),t=e=>{let t=e.matches;S(t),O!==t&&k(1)};return t(e),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[O]);let D=O?20:14,C=(0,l.useMemo)(()=>b.map(e=>(0,h.Dk)(e,v,y,w,j)),[b,v,y,w,j]),I=(0,l.useMemo)(()=>{let e={all:C.length,paper:0,blog:0,report:0};
1return C.forEach(t=>{var r;let l=null==(r=t.contentType.find(e=>0===e.parent))?void 0:r.slug;"paper"===l?e.paper++:"post"===l||"blog"===l?e.blog++:"report"===l&&e.report++}),e},[C]),q=(0,l.useMemo)(()=>"all"===P?C:C.filter(e=>{var t;let r=null==(t=e.contentType.find(e=>0===e.parent))?void 0:t.slug;return"paper"===P?"paper"===r:"blog"===P?"post"===r||"blog"===r:"report"!==P||"report"===r}),[C,P]),z=(0,l.useMemo)(()=>{let e=(N-1)*D;return q.slice(e,e+D)},[q,N,D]);(0,l.useEffect)(()=>{if(_){let e=setTimeout(()=>E(!1),300);return()=>clearTimeout(e)}},[_]),(0,l.useEffect)(()=>{(0,i.$s)(a,"view","page")},[a]);let $={title:`${t} | Yaqeen Institute`,description:r},H=window.location.href,L=window.location.pathname,M=m.filter(e=>e.href!==L),F=(0,l.useMemo)(()=>[{value:"all",label:"All",count:I.all},{value:"paper",label:"Paper",count:I.paper},{value:"blog",label:"Blog",count:I.blog},{value:"report",label:"Reports",count:I.report}].filter(e=>"all"===e.value||e.count>0),[I]),A=F.length>2;return(0,f.jsx)(p.MainWebLayout,{metatag:$,children:(0,f.jsx)("div",{className:"bg-[#F1F5F9] min-h-screen",children:(0,f.jsx)(p.MainWebContentLayout,{padding:"px-4 lg:px-0",maxWidth:"max-w-[1024px]",children:(0,f.jsx)("div",{className:"mx-auto",children:(0,f.jsxs)("div",{className:"py-8 xl:py-10",children:[(0,f.jsx)("div",{className:"bg-white rounded-lg p-6 xl:py-9 xl:px-10 mt-2",children:(0,f.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,f.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,f.jsx)(d.DZ,{level:1,weight:"font-extrabold",fontSize:"text-3xl xl:text-[48px]",color:"text-[#155DFC]",lineHeight:"leading-none",className:"tracking-[-1.2px]",children:t}),(0,f.jsxs)(d.EY,{as:"p",weight:"font-medium",fontSize:"text-lg xl:text-2xl",color:"text-grey-900",lineHeight:"leading-8",className:"tracking-[-0.29px]",children:[q.length," ",1===q.length?"resource":"resources"]}),(0,f.jsx)("div",{className:"w-20 h-[3px] bg-carrot-500 rounded-full"})]}),(0,f.jsx)(d.EY,{as:"p",weight:"font-normal",fontSize:"text-base xl:text-lg",color:"text-grey-900",lineHeight:"leading-7",className:"tracking-[-0.22px]",children:r}),(0,f.jsx)("div",{className:"flex items-start",children:(0,f.jsx)(g.f,{btnText:(0,f.jsx)("span",{className:"flex items-center justify-center size-[38px] p-[9px] border border-slate-200 rounded bg-white hover:bg-grey-50 transition-colors",children:(0,f.jsx)(s.g,{icon:"share",className:"text-grey-900 w-4 h-4"})}),className:"",url:H,title:t})})]})}),(0,f.jsxs)("div",{className:"bg-white rounded-lg p-6 xl:py-9 xl:px-10 mt-4",children:[A&&(0,f.jsx)("div",{className:"mb-4",children:(0,f.jsx)("div",{className:"flex items-center gap-2 overflow-x-auto scrollbar-hide",children:F.map(e=>(0,f.jsxs)("button",{onClick:()=>(e=>{T(e),k(1),(0,i.$s)(a,"filter",e)})(e.value),className:`inline-flex items-center px-3 py-2 rounded-lg text-xs font-bold whitespace-nowrap transition-colors ${P===e.value?"bg-orange-400 text-white":"bg-white border border-slate-200 text-grey-900 hover:bg-grey-50"}`,children:[e.label," (",e.count,")"]},e.value))})}),_?(0,f.jsx)(o.G,{columns:{mobile:2,tablet:3,desktop:4,wide:4},gap:{mobile:"gap-4",desktop:"lg:gap-6"},children:Array.from({length:8}).map((e,t)=>(0,f.jsx)(u.y6,{},t))}):0===q.length?(0,f.jsx)("div",{className:"text-center py-12",children:(0,f.jsx)("p",{className:"text-slate-500",children:"No resources found."})}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(o.G,{columns:{mobile:2,tablet:3,desktop:4,wide:4},gap:{mobile:"gap-4",desktop:"lg:gap-6"},children:z.map(e=>{var t,r;let l=null==(t=e.authors)?void 0:t[0];return(0,f.jsx)(u.R1,{id:e.id,title:e.title,thumbnail:(null==(r=e.images)?void 0:r.desktopHorizontal)||e.thumbnail||"",topicName:(e=>{var t;let r=(0,x.mH)(e);if(r)return r.name;let l=null==(t=e.topic)?void 0:t.find(e=>0===e.parent);return l?l.name:""})(e),topicLink:(e=>{var t;let r=(0,x.mH)(e);if(r)return`/topic/${r.slug}`;let l=null==(t=e.topic)?void 0:t.find(e=>0===e.parent);return l?`/topic/${l.slug}`:""})(e),articleLink:(0,x.lr)(e),author:l?{name:l.name,slug:l.slug}:void 0,contentType:(e=>{var t;let r=null==(t=e.contentType.find(e=>0===e.parent))?void 0:t.slug;return"video"===r?"video":"infographic"===r?"infographic":"paper"===r?"paper":"other"})(e),readTime:e.readTime},e.id)})}),q.length>D&&(0,f.jsx)("div",{className:"mt-8",children:(0,f.jsx)(c.P,{currentPage:N,totalCount:q.length,pageSize:D,analyticsCategory:a,onPageChange:e=>{E(!0),k(e),window.scrollTo({top:0,behavior:"smooth"})}})})]})]}),M.length>0&&(0,f.jsxs)("div",{className:"bg-white rounded-lg px-14 py-10 mt-4 flex flex-col items-center gap-4",children:[(0,f.jsx)(d.EY,{as:"p",weight:"font-semibold",fontSize:"text-lg xl:text-2xl",color:"text-[rgba(0,0,0,0.75)]",lineHeight:"leading-8",className:"tracking-[-0.29px]",children:"Discover more ways to read"}),(0,f.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-2",children:M.map(e=>(0,f.jsxs)(d.qh,{href:e.href,onClick:()=>(0,i.$s)(a,"click",`discover: ${e.label}`),prefetch:!1,className:"inline-flex items-center gap-2 h-[38px] px-[17px] py-[9px] rounded-full border border-slate-200 bg-white text-base font-bold tracking-[-0.012em] text-grey-900 hover:bg-grey-50 transition-colors whitespace-nowrap",children:[(0,f.jsx)(n(),{src:e.icon,alt:"",width:20,height:20}),e.label]},e.href))})]}),(0,f.jsxs)("div",{className:"bg-white rounded-lg px-4 lg:px-6 py-10 xl:py-14 mt-4 flex flex-col items-center gap-4",children:[(0,f.jsx)(d.EY,{as:"p",weight:"font-semibold",fontSize:"text-lg xl:text-2xl",color:"text-[rgba(0,0,0,0.75)]",lineHeight:"leading-8",className:"tracking-[-0.29px]",children:"Explore and learn from more topics!"}),(0,f.jsx)(d.qh,{href:"/topics",onClick:()=>
1(0,i.$s)(a,"click","see_az_topics"),prefetch:!1,className:"inline-flex items-center justify-center h-12 px-[25px] py-[13px] rounded bg-orange-400 text-white text-xl font-bold tracking-[-0.24px] hover:bg-orange-500 transition-colors",children:"See A-Z Topics"})]})]})})})})})}}},e=>{e.O(0,[5123,1510,2697,4740,1502,4587,2682,6241,5542,3822,5807,3971,1520,636,6593,8792],()=>e(e.s=45916)),_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.