PageSourceSearch

https://assunnahfoundation.org/assets/notice-TI20daRr.js

js assunnahfoundation.org collected 2026-09-25 08:29:09 UTC 5,215 bytes, 1 lines download raw bytes

1import{j as t}from"./react-BU3su7BP.js";import{H as g}from"./react-helmet-async-CxTF5nhj.js";import{A as i}from"./minimal-shared-BDpPetgq.js";import{u as h,p as j,S as f}from"./index-BcY6SX9v.js";import"./dayjs-C0jsZlnm.js";import"./i18next-eIvHBe7F.js";import{g as u,a as y,f as b,u as v,b as N,c as C}from"./notice-v2-utils-eU2foyj3.js";import{E as c}from"./empty-content-CkRY4LTv.js";import{P as D}from"./page-hero-section-Ch7vnNZy.js";import{N as P}from"./notice-page-skeleton-CTLPRbXY.js";import{L as S}from"./react-router-BLEQzm6R.js";import{aP as B,aQ as E,a6 as l,B as n,a1 as a,b7 as L,a7 as w,az as W}from"./@mui-DspygAlw.js";import"./@babel-C2fqQjBV.js";import"./react-fast-compare-BjqBWfA7.js";import"./invariant-Ck2i3M0N.js";import"./shallowequal-BP6PiT5P.js";import"./react-dom-D-QM9b7d.js";import"./scheduler-CKyTKYc2.js";import"./@reduxjs-BweXJMe7.js";import"./vite-plugin-node-polyfills-CYF0W5wK.js";import"./redux-DITMfSWq.js";import"./immer-fBqQtvEc.js";import"./redux-thunk-ClJT1hhx.js";import"./reselect-C27TLnWV.js";import"./react-redux-C77i5dRF.js";import"./use-sync-external-store-BOPefxAl.js";import"./react-i18next-ChnIRB5_.js";import"./html-parse-stringify-CViunKNb.js";import"./void-elements-DC73x7Eh.js";import"./jspdf-IlcJJ3jo.js";import"./fflate-EnPhvkmS.js";import"./i18next-resources-to-backend-arTw0fVe.js";import"./i18next-browser-languagedetector-Dt8Tv9E6.js";import"./@emotion-Cp6PG5eu.js";import"./hoist-non-react-statics-C-Qo8PK8.js";import"./stylis-plugin-rtl-CiEqRonW.js";import"./cssjanus-DkrhauWU.js";import"./stylis-rGeRoUga.js";import"./@iconify-3LfOW6q9.js";import"./simplebar-react-C3Wv6XQm.js";import"./simplebar-core-D7BIyjrD.js";import"./lodash-es-CFyX8awX.js";import"./sonner-DJY-O5qq.js";import"./nprogress-CdFFo20s.js";import"./framer-motion-CdthMXDu.js";import"./motion-utils-DE6r4X8g.js";import"./motion-dom-BVB6UL9O.js";import"./es-toolkit-CJprFUba.js";import"./react-gtm-module-D0nP_goI.js";import"./react-hook-form-BSlBtQgT.js";import"./@hookform-ByvioQYj.js";import"./heic2any-BgHhD884.js";import"./zod-C0Zyji-8.js";import"./cookie--_YQFYBD.js";import"./clsx-B-dksMZM.js";import"./react-transition-group-Dzv6FcHJ.js";import"./dom-helpers-D0mFdbeO.js";import"./prop-types-D2Yzhk1w.js";import"./@popperjs-BQBsAJpH.js";const z=({notice:r})=>{var p;const{currentLang:e}=h(),s=e.value,m=s==="bn"?r.titleBn:r.titleEn,x=s==="bn"?r.descriptionBn:r.descriptionEn;return t.jsx(S,{to:j.notice.details(r.slug),children:t.jsx(B,{sx:{borderRadius:i(12),boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.1)",overflow:"hidden",position:"relative",transition:"all 0.3s ease",cursor:"pointer","&:hover":{boxShadow:"0px 4px 12px rgba(0, 0, 0, 0.15)",transform:"translateY(-2px)"}},children:t.jsx(E,{sx:{p:i(32)},children:t.jsxs(l,{container:!0,spacing:{xs:i(30),md:i(0)},children:[t.jsx(l,{size:{xs:12,lg:1.5},sx:{display:"flex",justifyContent:"start",alignItems:"start"},children:t.jsxs(n,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:i(4),justifyContent:"flex-start"},children:[t.jsx(a,{variant:"caption",sx:{color:"primary.main",textTransform:"uppercase"},children:u(r.publishedDate,e.value)}),t.jsx(a,{variant:"h4",children:y(r.publishedDate,e.value)})]})}),t.jsx(l,{size:{xs:12,lg:10.5},flexGrow:1,children:t.jsxs(n,{sx:{height:"100%",display:"flex",flexDirection:"column",textAlign:"left"},children:[t.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:i(4)},children:[t.jsx(a,{variant:"body2",sx:{color:"text.secondary",fontWeight:500,textAlign:"left"},children:b(r.publishedDate,e.value)}),t.jsx(L,{label:(p=r==null?void 0:r.categories)==null?void 0:p[`name${e.value==="en"?"En":"Bn"}`],size:"medium",variant:"soft",color:"primary",sx:o=>({...o.typography.body2,fontWeight:700})})]}),t.jsx(a,{variant:"h4",sx:{color:"primary.main",mb:i(28)},children:m}),t.jsx(a,{variant:"body1",sx:{color:"text.secondary",flex:1},children:x})]})})]})})})})},A=({monthName:r})=>t.jsxs(n,{sx:{display:"flex",alignItems:"flex-end",mb:i(45),gap:i(12)},children:[t.jsx(a,{variant:"body2",sx:{fontWeight:600,color:"text.secondary"},children:r}),t.jsx(w,{sx:{flex:1,mb:i(6),borderBottomWidth:1,borderColor:"divider"}})]}),F=()=>{const{t:r,currentLang:e}=h("notice"),{data:s,isLoading:m,isError:x}=v({pagination:{pageIndex:1,itemsPerPage:100}}),p=(s==null?void 0:s.data)||[];return t.jsxs(n,{component:"section",children:[t.jsx(D,{title:r("pageTitle"),description:r("pageDescription")}),t.jsx(f,{children:t.jsxs(W,{maxWidth:"lg",children:[m&&t.jsx(P,{monthCount:2,cardsPerMonth:2}),x&&!m&&t.jsx(c,{title:r("errorLoadingNotices"),description:r("errorLoadingNoticesSubtext")}),!m&&!x&&t.jsx(t.Fragment,{children:p.length>0?t.jsx(t.Fragment,{children:N(p).map(o=>t.jsxs(n,{sx:{mb:{xs:i(32),md:i(64)}},children:[t.jsx(A,{monthName:C(o.month,o.year,e.value)}),t.jsx(l,{container:!0,spacing:3,children:o.notices.map(d=>t.jsx(l,{size:{xs:12},children:t.jsx(z,{notice:d})},d._id))})]},`${o.year}-${o.month}`))}):t.jsx(c,{title:r("noNoticesFound"),description:r("noNoticesSubtext")})})]})})]})},I={title:"Notice | As-Sunnah Foundation"},Vt=()=>t.jsxs("div",{children:[t.jsx(g,{children:t.jsx("title",{children:I.title})}),t.jsx(F,{})]});
1export{Vt as default};

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.