1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5435],{3402:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/noticeboard",function(){return n(6388)}])},6388:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return noticeboard}});var o=n(5893),i=n(9008),s=n.n(i),a=n(7258),c=n(2422),l=n(1555),r=n(682),_=n(4051),d=n(7651),N=n.n(d),k=n(7294),m=n(7066),h=n(1664),x=n.n(h),Notice=()=>{let[e,t]=(0,k.useState)(!0),[n,i]=(0,k.useState)([]),s="".concat("https://plankton-app-scdik.ondigitalocean.app/","e846ed/api/noticeBoard/web"),getNotices=async()=>{try{let e=await m.Z.get(s);i(e.data),t(!1)}catch(e){t(!1)}};return(0,k.useEffect)(()=>{getNotices()},[]),(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(r.Z,{children:[(0,o.jsx)(_.Z,{className:"mt-4 mt-md-3",children:(0,o.jsx)(l.Z,{children:(0,o.jsx)("div",{className:"text-center",children:(0,o.jsx)("span",{className:N().heading,children:"Notice Board"})})})}),(0,o.jsxs)("div",{className:N().noticeContainer,children:[!e&&(null==n?void 0:n.map(e=>{let{_id:t,createdAt:n,detail:i,title:s,noticeType:a}=e;return(0,o.jsx)(NotificationCard,{route:"/noticeboard/".concat(t),title:s,time:n,type:null==a?void 0:a.toLowerCase()},t)})),e&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(NotificationSkeleton,{}),(0,o.jsx)(NotificationSkeleton,{}),(0,o.jsx)(NotificationSkeleton,{}),(0,o.jsx)(NotificationSkeleton,{}),(0,o.jsx)(NotificationSkeleton,{})]})]})]})})};let NotificationCard=e=>{let{title:t,time:n,route:i="/notice/test",type:s=null}=e;return(0,o.jsx)(x(),{href:i,style:{textDecoration:"none"},className:"".concat(N().notificationContainer," ").concat(null===N()||void 0===N()?void 0:N()["normal"==s?"greenContainer":"moderate"==s?"yellowContainer":"urgent"==s?"redContainer":""]),children:(0,o.jsxs)("div",{className:N().notificationCard,children:[(0,o.jsx)("div",{className:N().dot}),(0,o.jsxs)("div",{className:N().content,children:[(0,o.jsx)("h3",{className:N().title,children:t}),(0,o.jsx)("span",{className:N().time,children:n})]}),(0,o.jsx)("span",{className:N().arrow,children:"âº"})]})})},NotificationSkeleton=()=>(0,o.jsxs)("div",{className:N().skeletonCard,children:[(0,o.jsx)("div",{className:N().skeletonDot}),(0,o.jsxs)("div",{className:N().skeletonContent,children:[(0,o.jsx)("div",{className:N().skeletonLine,style:{width:"70%"}}),(0,o.jsx)("div",{className:N().skeletonLine,style:{width:"50%"}}),(0,o.jsx)("div",{className:N().skeletonLine,style:{width:"30%"}})]}),(0,o.jsx)("div",{className:N().skeletonArrow})]});var noticeboard=()=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(s(),{children:[(0,o.jsx)("title",{children:"RGC Notice Board Updates :: RGC"}),(0,o.jsx)("meta",{name:"description",content:"Find Realtime Notice Updates and alerts from Ranchi Gymkhana Club."}),(0,o.jsx)("link",{rel:"canonical",href:"https://www.ranchigymkhanaclub.com/"})]}),(0,o.jsx)(c.Z,{}),(0,o.jsx)(Notice,{}),(0,o.jsx)(a.Z,{})]})},7651:function(e){e.exports={heading:"Notice_heading__vLq0n",redContainer:"Notice_redContainer__NpidT",yellowContainer:"Notice_yellowContainer__E8hm8",greenContainer:"Notice_greenContainer__Y7OQi",noticeContainer:"Notice_noticeContainer__1i_MP",notificationCard:"Notice_notificationCard__sfPz1",notificationContainer:"Notice_notificationContainer__mGw3h",pdfButton:"Notice_pdfButton__TjLq8",dot:"Notice_dot__KR8fo",content:"Notice_content__v1MY8",title:"Notice_title__Pndx2",time:"Notice_time__pBoGv",arrow:"Notice_arrow__fgVBy",skeletonCard:"Notice_skeletonCard__iKIb_",skeletonDot:"Notice_skeletonDot__VhDyO",shimmer:"Notice_shimmer__Mah2n",skeletonContent:"Notice_skeletonContent__HsvlF",skeletonLine:"Notice_skeletonLine__Du4AW",skeletonArrow:"Notice_skeletonArrow__lkvYL",skeletonWrapper:"Notice_skeletonWrapper__BhGfl",skeletonHeader:"Notice_skeletonHeader__QsQfi",skeletonBar:"Notice_skeletonBar__UVu08",pulse:"Notice_pulse__NKEj2",skeletonBody:"Notice_skeletonBody__sJNQp",skeletonShort:"Notice_skeletonShort__oi470",skeletonImage:"Notice_skeletonImage__g6Wn3",skeletonFooter:"Notice_skeletonFooter__Jomuv",skeletonSmall:"Notice_skeletonSmall__5_w8s"}},9008:function(e,t,n){e.exports=n(9201)}},function(e){e.O(0,[2013,4617,7670,5721,9774,2888,179],function(){return e(e.s=3402)}),_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.