PageSourceSearch

https://askimam.co.za/assets/Fatwas-1MVNuI5X.js

js askimam.co.za collected 2026-09-25 11:53:40 UTC 2,109 bytes, 1 lines download raw bytes

1import{F as p,j as a,U as u,V as h,T as N,L as x,R as j}from"./index-jo7IEzPK.js";import{I as k,R as v}from"./latest-fatwa-QL3Ep-r6.js";/* empty css              */import{L as C}from"./logo-50x51-D41hawWZ.js";import{g as f}from"./groupBy-BLNwVwGn.js";const R=o=>{const{isLoading:l,fatwas:s,isAdvanceSearchForm:r,currentPage:c,heading:m,handlePageClick:d}=o,g=s?Math.ceil(s.count/p):0,i=s?f(s.results,e=>new Intl.DateTimeFormat("en-US",{year:"numeric",month:"long",day:"numeric"}).format(new Date(e.answer.answer_modified))):{},t=Object.keys(i).length;return a.jsxs("div",{id:"fatwas-list",className:"fatwas-list",children:[a.jsx(u,{children:a.jsx(h,{md:12,children:a.jsxs("h2",{className:"category-heading heading",children:[a.jsx("img",{src:k,className:"latest-fatwas-image",alt:"Not available"}),m]})})}),l?r?"":a.jsx("div",{className:"loader",children:a.jsx(N,{color:"inherit"})}):a.jsxs("div",{className:"questions-holder",children:[t>0?Object.keys(i).map(e=>a.jsxs("div",{className:"panel",children:[a.jsxs("div",{className:"panel-header",children:[a.jsx("div",{className:"image-holder",children:a.jsx("img",{className:"logo-image",src:C,alt:"AskImam"})}),e]}),a.jsx("div",{className:"panel-content",children:a.jsx("ul",{className:"questions",children:i[e].map(n=>a.jsx("li",{className:"question",children:a.jsx(x,{className:"question_link",to:j.questionDetail(n.old_id),children:n.answer.question.title})},n.id))})})]},e)):!l&&a.jsx("div",{className:"result-not-found",children:r?"No question found. Please refine your search criteria.":"No fatawas are found."}),t>0?a.jsx("div",{className:"pagination-wrapper",children:a.jsx(v,{pageCount:g,pageRangeDisplayed:8,marginPagesDisplayed:3,forcePage:c-1,onPageChange:d,previousLabel:"<",nextLabel:">",breakLabel:"...",containerClassName:"pages",pageClassName:"page",previousClassName:"page previous",nextClassName:"page next",breakClassName:"page break",pageLinkClassName:"page-link",activeLinkClassName:"active",previousLinkClassName:"page-link previous",nextLinkClassName:"page-link next",breakLinkClassName:"page-link break"})}):""]})]})};export{R as F};

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.