PageSourceSearch

https://sra.gov.in/_next/static/chunks/app/page-fd3fd5c0c039ceca.js

js sra.gov.in collected 2026-10-02 08:26:03 UTC 21,150 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{4720:()=>{},35920:(e,t,a)=>{"use strict";a.d(t,{U_:()=>d,aS:()=>o,cL:()=>s,hV:()=>l,km:()=>i});var r=a(52853),n=a(48116);let l={left:0,right:0,bottom:25,position:"absolute"},i=(0,n.Ay)("div",{shouldForwardProp:e=>"space"!==e})(e=>{let{space:t,theme:a}=e;return{".slick-list":{marginInline:-t},".slick-slide":{paddingInline:t},":hover":{".slick-arrow":{opacity:1,"&.next":{right:5},"&.prev":{left:5}}},[a.breakpoints.down("md")]:{".slick-arrow":{"&.next, &.prev":{margin:0,height:40,top:"40%",transform:"translate(0, -50%)"}}}}}),o=(0,n.Ay)(r.A)(e=>{let{theme:t}=e;return{gap:6,zIndex:1,margin:0,padding:"8px 16px",display:"flex",alignItems:"center",justifyContent:"center",color:t.palette.primary.main,backgroundColor:"rgba(255, 255, 255, 0.1)",backdropFilter:"blur(8px)",borderRadius:"24px",boxShadow:"0px 2px 12px rgba(0, 0, 0, 0.15)",width:"fit-content",marginLeft:"auto",marginRight:"auto","& li":{width:15,height:15,display:"flex",cursor:"pointer",alignItems:"center",justifyContent:"center","&.slick-active span::after":{scale:"1"}},"@media (max-width:470px)":{display:"none"}}}),s=(0,n.Ay)("span",{shouldForwardProp:e=>"dotColor"!==e})(e=>{let{dotColor:t,theme:a}=e;return{width:"100%",height:"100%",cursor:"pointer",borderRadius:"50%",position:"relative",border:`1px solid ${t||a.palette.secondary.main}`,transition:"all 300ms ease-in-out","&:after":{scale:0,inset:0,width:9,height:9,content:'""',margin:"auto",borderRadius:"50%",position:"absolute",transition:"scale 500ms ease-in-out",backgroundColor:t||a.palette.secondary.main},"@media (max-width:470px)":{display:"none"}}}),d=(0,n.Ay)(r.A)(e=>{let{theme:t}=e;return{zIndex:1,width:35,height:35,padding:0,opacity:0,top:"50%",display:"flex",cursor:"pointer",position:"absolute",alignItems:"center",justifyContent:"center",transform:"translate(0, -50%)",transition:"all 0.2s ease-in-out",color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.main,boxShadow:"0px 10px 30px rgba(0, 0, 0, 0.1)"}})},54792:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var r=a(12115),n=function(){return(n=Object.assign||function(e){for(var t,a=1,r=arguments.length;a<r;a++)for(var n in t=arguments[a])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},l={default:120,mqdefault:320,hqdefault:480,sddefault:640,maxresdefault:1280},i=function(e,t,a,n){void 0===n&&(n="maxresdefault");var i=(0,r.useState)(""),o=i[0],s=i[1];return(0,r.useEffect)(function(){var r="https://img.youtube.com/".concat(t,"/").concat(e,"/").concat(n,".").concat(a),i="https://img.youtube.com/".concat(t,"/").concat(e,"/hqdefault.").concat(a),o=l[n],d=new Image;d.onload=function(){d.width<o?s(i):s(r)},d.onerror=function(){return s(i)},d.src=r},[e]),o},o=r.forwardRef(function(e,t){var a=r.useState(!1),l=a[0],o=a[1],s=r.useState(e.alwaysLoadIframe||!1),d=s[0],c=s[1],u=encodeURIComponent(e.id),h="string"==typeof e.playlistCoverId?encodeURIComponent(e.playlistCoverId):null,p=e.title,m=e.poster||"hqdefault",b=e.announce||"Watch",f=!e.alwaysLoadIframe||e.autoplay&&e.muted,g=new URLSearchParams(n(n(n(n({},e.muted?{mute:"1"}:{}),f?{autoplay:"1"}:{}),e.enableJsApi?{enablejsapi:"1"}:{}),e.playlist?{list:u}:{}));e.params&&new URLSearchParams(e.params.startsWith("&")?e.params.slice(1):e.params).forEach(function(e,t){g.append(t,e)});var w=e.noCookie?"https://www.youtube-nocookie.com":"https://www.youtube.com";w=e.cookie?"https://www.youtube.com":"https://www.youtube-nocookie.com";var x=e.playlist?"".concat(w,"/embed/videoseries?").concat(g.toString()):"".concat(w,"/embed/").concat(u,"?").concat(g.toString()),y=!e.thumbnail&&!e.playlist&&"maxresdefault"===m,Y=e.webp?"webp":"jpg",A=e.webp?"vi_webp":"vi",k=y?i(e.id,A,Y,m):null,v=e.thumbnail||k||"https://i.ytimg.com/".concat(A,"/").concat(e.playlist?h:u,"/").concat(m,".").concat(Y),D=e.activatedClass||"lyt-activated",S=e.adNetwork||!1,C=e.aspectHeight||9,F=e.aspectWidth||16,I=e.iframeClass||"",P=e.playerClass||"lty-playbtn",E=e.wrapperClass||"yt-lite",_=e.onIframeAdded||function(){},R=e.rel?"prefetch":"preload",z=e.containerElement||"article",G=e.style||{};
1return r.useEffect(function(){d&&_()},[d]),r.createElement(r.Fragment,null,r.createElement("link",{rel:R,href:v,as:"image"}),r.createElement(r.Fragment,null,l&&r.createElement(r.Fragment,null,r.createElement("link",{rel:"preconnect",href:w}),r.createElement("link",{rel:"preconnect",href:"https://www.google.com"}),S&&r.createElement(r.Fragment,null,r.createElement("link",{rel:"preconnect",href:"https://static.doubleclick.net"}),r.createElement("link",{rel:"preconnect",href:"https://googleads.g.doubleclick.net"})))),r.createElement(z,{onPointerOver:function(){l||o(!0)},onClick:function(){d||c(!0)},className:"".concat(E," ").concat(d?D:""),"data-title":p,style:n(n({backgroundImage:"url(".concat(v,")")},{"--aspect-ratio":"".concat(C/F*100,"%")}),G)},r.createElement("button",{type:"button",className:P,"aria-label":"".concat(b," ").concat(p)}),d&&r.createElement("iframe",{ref:t,className:I,title:p,width:"560",height:"315",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:x})))})},62450:(e,t,a)=>{Promise.resolve().then(a.bind(a,79769))},67569:(e,t,a)=>{"use strict";a.d(t,{FN:()=>p});var r=a(86201),n=a(12115),l=a(33567),i=a(67909);a(94960),a(4720);var o=a(35920),s=a(42147),d=a(84693);function c(e){let{onClick:t,sx:a}=e;return(0,r.Y)(o.U_,{onClick:t,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),t?.(e))},className:"slick-arrow next",right:0,sx:{...a},role:"button",tabIndex:0,"aria-label":"Next slide",children:(0,r.Y)(d.default,{fontSize:"small",color:"inherit"})})}function u(e){let{onClick:t,sx:a}=e;return(0,r.Y)(o.U_,{onClick:t,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),t?.(e))},className:"slick-arrow prev",left:0,sx:{...a},role:"button",tabIndex:0,"aria-label":"Previous slide",children:(0,r.Y)(s.A,{fontSize:"small",color:"inherit"})})}let h=(0,i.default)(()=>Promise.all([a.e(9897),a.e(4121),a.e(3120)]).then(a.bind(a,12389)),{loadableGenerated:{webpack:()=>[12389]},ssr:!1}),p=n.forwardRef((e,t)=>{let{dotColor:a,children:i,arrowStyles:s,dots:d=!1,arrows:p=!0,slidesToShow:m=7,spaceBetween:b=10,dotStyles:f={mt:1},...g}=e,w={dots:d,arrows:p,slidesToShow:m,rtl:"rtl"===(0,l.A)().direction,...(e=>({nextArrow:(0,r.Y)(c,{sx:e}),prevArrow:(0,r.Y)(u,{sx:e})}))({...s,height:"15%"}),...(e=>{let{dotColor:t,...a}=e;return{customPaging:()=>(0,r.Y)(o.cL,{dotColor:t}),appendDots:e=>(0,r.Y)(n.Fragment,{children:(0,r.Y)(o.aS,{component:"ul",...a,children:e})})}})({dotColor:a,sx:f}),...g},x=n.Children.toArray(i)[0];return(0,r.Y)(o.km,{space:b,children:h?(0,r.Y)(h,{ref:t,...w,children:i}):(0,r.Y)("div",{style:{overflow:"hidden"},children:x})})})},79769:(e,t,a)=>{"use strict";a.d(t,{default:()=>ea});var r=a(86201),n=a(12115),l=a(52853),i=a(41983),o=a(51389),s=a(67909),d=a(20063),c=a(25638),u=a(67569),h=a(89683),p=a(35920),m=a(20031),b=a(23315),f=a(70690),g=a(58800),w=a(15239);let x=(0,s.default)(()=>a.e(1678).then(a.bind(a,67975)),{loadableGenerated:{webpack:()=>[67975]},ssr:!1}),y=(0,s.default)(()=>a.e(1678).then(a.bind(a,33357)),{loadableGenerated:{webpack:()=>[33357]},ssr:!1}),Y=e=>{let{heroBanners:t}=e,a=(0,g.A)(),l=(0,m.A)(a.breakpoints.down("md")),[i,o]=(0,n.useState)(!0),s=(0,n.useRef)(null);return(0,r.Y)(h.mO,{id:"carouselBox",tabIndex:"-1",children:t&&t.length>0&&(0,r.FD)(r.FK,{children:[(0,r.Y)(u.FN,{ref:s,dots:!0,arrows:!0,arrowStyles:h.jd,slidesToShow:1,spaceBetween:0,dotColor:a.palette.primary.main,dotStyles:p.hV,autoplay:!0,autoplaySpeed:5e3,role:"region","aria-roledescription":"carousel","aria-label":"Hero banners carousel",children:t?.map((e,t)=>(0,r.Y)("div",{children:(0,r.FD)(h.HD,{style:{position:"relative"},children:[(0,r.Y)(w.default,{src:e.image_url,alt:e.text||"Slum Rehabilitation Authority Banner",fill:!0,priority:0===t,fetchPriority:0===t?"high":"auto",placeholder:"blur",blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO9dT2wAAAAASUVORK5CYII=",quality:l?70:80,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 100vw, 1920px",style:{objectFit:"contain",borderRadius:l?"0px":"10px"},loading:0===t?"eager":"lazy",unoptimized:!1}),e?.text&&(0,r.Y)("div",{style:{color:"AliceBlue",backgroundColor:"rgba(0, 0, 0, 0.5)",padding:"5px 10px",borderRadius:"5px",width:"100%",position:"absolute",bottom:l?"10px":"40px",display:"flex",justifyContent:"center",alignItems:"center",boxSizing:"border-box",zIndex:1},children:(0,r.Y)(b.A,{variant:0===t?"h1":"h2",component:0===t?"h1":"h2",style:{width:"80%",textAlign:"center",fontSize:l?"14px":0===t?"24px":"20px",fontWeight:0===t?700:600,margin:0,padding:"8px 0"},children:e.text})})]})},e._id))}),(0,r.Y)(f.A,{onClick:()=>{i?s.current.slickPause():s.current.slickPlay(),o(!i)},sx:{position:"absolute",bottom:{sm:"10px",xs:"10px",md:"20px"},right:{sm:"4px",xs:"4px",md:"90px"},zIndex:4,display:"inline-flex",alignItems:"center",gap:.5,padding:0,backgroundColor:"rgba(255, 255, 255, 0.95)",borderRadius:"50px","&:hover":{},"&:focus":{}},"aria-label":i?"Pause carousel":"Play carousel","aria-pressed":!i,children:i?(0,r.Y)(r.FK,{children:(0,r.Y)(x,{className:"icon",sx:{fontSize:{xs:24,md:32},color:"#3E3DA5",width:{xs:"24px",md:"32px"},height:{xs:"24px",md:"32px"}}})}):(0,r.Y)(r.FK,{children:(0,r.Y)(y,{className:"icon",sx:{fontSize:{xs:24,md:32},color:"#3E3DA5",width:{xs:"24px",md:"32px"},height:{xs:"24px",md:"32px"}}})})})]})})};var A=a(48116),k=a(78710),v=a(32683),D=a(53814),S=a(65042),C=a(33894),F=a(84693),I=a(42147),P=a(97947),E=a(71290);let _=(0,A.Ay)("div")(()=>({position:"absolute",right:5,top:"50%",transform:"translateY(-50%)",display:"flex",background:"rgba(255,255,255,0.7)",borderRadius:"8px"})),R=e=>{let{announcements:t}
1=e,[a,o]=(0,n.useState)(!1),[s,d]=(0,n.useState)(!0),[c,u]=(0,n.useState)("backward"),[h,p]=(0,n.useState)(0),[f,w]=(0,n.useState)(0),x=(0,n.useRef)(null),y=(0,n.useRef)(null),Y=(0,g.A)(),{language:A}=(0,S.useLanguage)(),R=(0,m.A)(Y.breakpoints.down("md")),z=(0,m.A)(Y.breakpoints.down("sm")),G=A?.alias==="en"?C.x?.announcement_section?.sra_news?.en:C.x?.announcement_section?.sra_news?.mr;(0,n.useEffect)(()=>{if(!y.current||!x.current)return;let e=requestAnimationFrame(()=>{"requestIdleCallback"in window?requestIdleCallback(()=>{y.current&&x.current&&(p(y.current.scrollWidth),w(x.current.offsetWidth))},{timeout:1e3}):setTimeout(()=>{y.current&&x.current&&(p(y.current.scrollWidth),w(x.current.offsetWidth))},100)});return()=>cancelAnimationFrame(e)},[t]);let L=e=>{u(e),d(!0)};return(0,r.Y)(r.FK,{children:t?.length>0&&(0,r.FD)(l.A,{sx:{display:"flex",alignItems:"center",borderTop:"3px solid #613AF5",borderBottom:"3px solid #613AF5",height:z?30:R?40:50,overflow:"hidden",position:"relative",marginTop:"40px",marginBottom:"40px"},children:[(0,r.Y)(l.A,{sx:{bgcolor:"#613AF5",color:"white",px:z?1.5:3,py:z?1:1.5,fontWeight:600,fontSize:z?14:R?16:20,display:"flex",alignItems:"center",clipPath:"polygon(0% 0%, 95% 0%, 95% 30%, 100% 49%, 100% 51%, 95% 70%, 95% 100%, 0% 100%)",whiteSpace:"nowrap"},children:G}),(0,r.FD)(l.A,{ref:x,sx:{flex:1,overflow:"hidden",position:"relative"},children:[a?(0,r.FD)(l.A,{sx:{display:"flex",alignItems:"center",px:2,gap:2},children:[(0,r.Y)(k.A,{variant:"text",width:z?150:250}),(0,r.Y)(k.A,{variant:"circular",width:8,height:8}),(0,r.Y)(k.A,{variant:"text",width:z?100:200})]}):(0,r.Y)(l.A,{sx:{display:"inline-flex",whiteSpace:"nowrap",gap:"12px",alignItems:"center",animation:h?`${"forward"===c?"scrollRight":"scrollLeft"} ${(h+f)/50}s linear infinite`:"none",animationPlayState:s?"running":"paused","@keyframes scrollLeft":{from:{transform:`translateX(${f}px)`},to:{transform:`translateX(-${h}px)`}},"@keyframes scrollRight":{from:{transform:`translateX(-${h}px)`},to:{transform:`translateX(${f}px)`}}},onMouseEnter:()=>d(!1),onMouseLeave:()=>d(!0),children:(0,r.Y)(l.A,{ref:y,sx:{display:"inline-flex",gap:1.5},children:t.map((e,t)=>(0,r.FD)(l.A,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,r.Y)(D.A,{style:{color:"#D84941",fontSize:16}}),(0,r.Y)(v.A,{href:e?.url||e?.website_url||e?.pdf_url,target:e?.is_open_new_tab===!1?"_self":"_blank",rel:"noopener noreferrer",underline:"none",sx:{color:"#4A4A4A",fontSize:z?12:14,"&:hover":{color:"#000",textDecoration:"underline"},fontWeight:500},children:(0,r.Y)(b.A,{variant:"body2",sx:{fontSize:z?12:14},children:A?.alias==="mr"&&e?.mr_title||e?.title})})]},t))})}),(0,r.FD)(_,{children:[(0,r.Y)(i.A,{size:"small","aria-label":"Go to Backward",role:"button",onClick:()=>L("backward"),children:(0,r.Y)(I.A,{fontSize:"small"})}),(0,r.Y)(i.A,{size:"small","aria-label":"Play/Pause",role:"button",onClick:()=>{d(e=>!e)},children:s?(0,r.Y)(P.A,{fontSize:"small"}):(0,r.Y)(E.A,{fontSize:"small"})}),(0,r.Y)(i.A,{size:"small","aria-label":"Go to Forward",role:"button",onClick:()=>L("forward"),children:(0,r.Y)(F.default,{fontSize:"small"})})]})]})]})})};var z=a(54792);function G(e){let{url:t,thumbnail:a,width:n=560,height:l=315,title:i="Video"}=e;if(!t)return null;let o=null,s=t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/);return(s&&11===s[2].length&&(o=s[2]),o)?(0,r.Y)("div",{style:{width:n,height:l,maxWidth:"100%"},role:"region","aria-label":i||"Video player",children:(0,r.Y)(z.A,{id:o,title:i,poster:a,noCookie:!0})}):null}Promise.all([a.e(7994),a.e(5345)]).then(a.t.bind(a,75345,23));let L=(0,s.default)(()=>Promise.all([a.e(1678),a.e(5408),a.e(4121),a.e(4223),a.e(5128)]).then(a.bind(a,65128)),{loadableGenerated:{webpack:()=>[65128]},ssr:!1,loading:()=>(0,r.Y)(et,{height:200})}),N=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4121),a.e(4223),a.e(700),a.e(6214)]).then(a.bind(a,46214)),{loadableGenerated:{webpack:()=>[46214]},ssr:!1,loading:()=>(0,r.Y)(et,{height:240})}),U=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4223),a.e(5125)]).then(a.bind(a,25125)),{loadableGenerated:{webpack:()=>[25125]},ssr:!1,loading:()=>(0,r.Y)(et,{height:160})}),B=(0,s.default)(()=>Promise.all([a.e(1678),a.e(5408),a.e(4121),a.e(4223),a.e(6013)]).then(a.bind(a,46013)),{loadableGenerated:{webpack:()=>[46013]},ssr:!1,loading:()=>(0,r.Y)(et,{height:200})}),H=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4121),a.e(4223),a.e(1195)]).then(a.bind(a,71195)),{loadableGenerated:{webpack:()=>[71195]},ssr:!1,loading:()=>(0,r.Y)(et,{height:120})}),O=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4223),a.e(9220)]).then(a.bind(a,49220)),{loadableGenerated:{webpack:()=>[49220]},ssr:!1,loading:()=>(0,r.Y)(et,{height:350})});(0,s.default)(()=>Promise.all([a.e(1678),a.e(974),a.e(4121),a.e(4223),a.e(5960)]).then(a.bind(a,45960)),{loadableGenerated:{webpack:()=>[45960]},ssr:!1,loading:()=>(0,r.Y)(et,{height:400})});let T=(0,s.default)(()=>Promise.all([a.e(1678),a.e(974),a.e(4121),a.e(4516)]).then(a.bind(a,84516)),{loadableGenerated:{webpack:()=>[84516]},ssr:!1,loading:()=>(0,r.Y)(et,{height:400})}),K=(0,s.default)(()=>Promise.all([a.e(1678),a.e(974),a.e(4121),a.e(4223)]).then(a.bind(a,45075)),{loadableGenerated:{webpack:()=>[45075]},ssr:!1,loading:()=>(0,r.Y)(et,{height:300})}),q=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4223),a.e(2552)]).then(a.bind(a,22552)),{loadableGenerated:{webpack:()=>[22552]},ssr:!1,loading:()=>(0,r.Y)(et,{height:400})}),V=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4121),a.e(4223),a.e(5515)]).then(a.bind(a,95515)),{loadableGenerated:{webpack:()=>[95515]},ssr:!1,loading:()=>(0,r.Y)(et,{height:220})}),W=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4121),a.e(4223)]).then(a.bind(a,33169)),{loadableGenerated:{webpack:()=>[33169]},ssr:!1,loading:()=>(0,r.Y)(et,{height:300})}),j=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4223)]).then(a.bind(a,20647)),{loadableGenerated:{webpack:()=>[20647]},ssr:!1,loading:()=>(0,r.Y)(et,{height:160})}),$=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4223)]).then(a.bind(a,81509)),{loadableGenerated:{webpack:()=>[81509]},ssr:!1,loading:()=>(0,r.Y)(et,{height:160})}),M=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4223),a.e(8036)]).then(a.bind(a,78036)),{loadableGenerated:{webpack:()=>[78036]},ssr:!1,loading:()=>(0,r.Y)(et,{height:120})}),X=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4223),a.e(2377)]).then(a.bind(a,82377)),{loadableGenerated:{webpack:()=>[82377]},ssr:!1,loading:()=>(0,r.Y)(et,{height:400})}),Q=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4223),a.e(646)]).then(a.bind(a,20646)),{loadableGenerated:{webpack:()=>[20646]},ssr:!1,loading:()=>(0,r.Y)(et,{height:200})}),J=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4223)]).then(a.bind(a,21972)),{loadableGenerated:{webpack:()=>[21972]},ssr:!1,loading:()=>(0,r.Y)(et,{height:60})}),Z=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4121),a.e(4223),a.e(7928)]).then(a.bind(a,27928)),{loadableGenerated:{webpack:()=>[27928]},ssr:!1,loading:()=>(0,r.Y)(et,{height:120})}),ee=(0,s.default)(()=>Promise.all([a.e(1678),a.e(4121),a.e(2548)]).then(a.bind(a,12548)),{loadableGenerated:{webpack:()=>[12548]},ssr:!1,loading:()=>null});function et(e){let{height:t=120}=e;return(0,r.Y)(l.A,{sx:{height:t,width:"100%",bgcolor:"#f5f5f5",borderRadius:1,my:1}})}let ea=e=>
1{let t=(0,d.useSearchParams)(),[a,s]=(0,n.useState)(null),u=[];try{Array.isArray(e?.bannerData)&&(u=e.bannerData.filter(e=>e?.banner_type==="Hero"&&Array.isArray(e?.banners)).flatMap(e=>e.banners.flatMap(e=>Array.isArray(e?.banners)?e.banners:[])))}catch(e){console.error("hero banner parsing error",e)}let[h,p]=(0,n.useState)(0),m=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=()=>{h<1&&p(1)};window.addEventListener("scroll",e,{once:!0,passive:!0}),window.addEventListener("keydown",e,{once:!0,passive:!0}),window.addEventListener("mousemove",e,{once:!0,passive:!0});let t=setTimeout(e,800);return()=>{window.removeEventListener("scroll",e),window.removeEventListener("keydown",e),window.removeEventListener("mousemove",e),clearTimeout(t)}},[h]),(0,n.useEffect)(()=>{let e;if(0===h)return;let t=(e,t)=>"requestIdleCallback"in window?requestIdleCallback(()=>p(e),{timeout:t}):setTimeout(()=>p(e),t);return 1===h?e=t(2,150):2===h?e=t(3,150):3===h&&(e=t(4,150)),()=>{"number"==typeof e&&("requestIdleCallback"in window?cancelIdleCallback(e):clearTimeout(e))}},[h]),(0,n.useEffect)(()=>{let e=t?.get("ref");e?s(e):s(null)},[t]),(0,n.useEffect)(()=>{a&&(localStorage.setItem("ref",a),c.A.triggerTapfiliateClick(a).catch(()=>{}))},[a]);let[b,f]=(0,n.useState)(!1),g=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&!b&&f(!0)},{threshold:.5});return g.current&&e.observe(g.current),()=>e.disconnect()},[b]);let w=e?.galleryHomeData?.introductionVideo?.introduction_video,x=e?.galleryHomeData?.introductionVideo?.thumbnail_image_url,y=e?.galleryHomeData?.introductionVideo?.is_show_pip,[A,k]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=setTimeout(()=>k(!0),3e3);return()=>clearTimeout(e)},[]),(0,r.FD)(l.A,{sx:{bgcolor:"white",overflowX:"hidden","@media (max-width:470px)":{bgcolor:"none"}},children:[A&&h>=4&&(0,r.Y)(ee,{}),(0,r.Y)(R,{announcements:e?.announcements}),(0,r.Y)(Y,{heroBanners:u??[]}),(0,r.Y)("div",{ref:m,id:"below-fold-sentinel"}),h>=1?(0,r.FD)(r.FK,{children:[(0,r.Y)(L,{ministerData:e?.ministerData,whatsNewData:e?.whatsNewData}),(0,r.Y)(N,{homeAboutUsData:e?.homeAboutUsData}),(0,r.Y)(U,{ceoData:e?.ceoData})]}):(0,r.FD)(l.A,{sx:{py:2},children:[(0,r.Y)(et,{height:200}),(0,r.Y)(et,{height:240}),(0,r.Y)(et,{height:160})]}),h>=2?(0,r.FD)(r.FK,{children:[(0,r.Y)(B,{latestOrdersData:e?.latestOrdersData,latestCircularData:e?.latestCircularData,newsUpdateData:e?.newsUpdateData}),(0,r.Y)(H,{}),(0,r.Y)(O,{})]}):h>=1?(0,r.FD)(l.A,{sx:{py:2},children:[(0,r.Y)(et,{height:400}),(0,r.Y)(et,{height:200}),(0,r.Y)(et,{height:120}),(0,r.Y)(et,{height:350})]}):null,h>=3?(0,r.FD)(r.FK,{children:[(0,r.Y)(T,{}),(0,r.Y)(K,{departmentsData:e?.departmentsData}),(0,r.Y)(q,{}),(0,r.Y)(l.A,{ref:g,children:(0,r.Y)(V,{galleryHomeData:e?.galleryHomeData})})]}):h>=2?(0,r.FD)(l.A,{sx:{py:2},children:[(0,r.Y)(et,{height:400}),(0,r.Y)(et,{height:300}),(0,r.Y)(et,{height:400}),(0,r.Y)(et,{height:220})]}):null,h>=4?(0,r.FD)(r.FK,{children:[(0,r.Y)(Q,{galleryHomeData:e?.galleryHomeData}),(0,r.Y)(X,{}),(0,r.Y)(j,{}),(0,r.Y)(M,{}),(0,r.Y)($,{}),(0,r.Y)(W,{isHideShareButton:!0}),(0,r.Y)(J,{}),(0,r.Y)(Z,{hyperLinkBannerData:e?.hyperLinkBannerData})]}):h>=3?(0,r.FD)(l.A,{sx:{py:2},children:[(0,r.Y)(et,{height:200}),(0,r.Y)(et,{height:400}),(0,r.Y)(et,{height:160}),(0,r.Y)(et,{height:120})]}):null,b&&y&&(0,r.FD)(l.A,{sx:{position:"fixed",bottom:16,right:16,zIndex:1e3,boxShadow:3,borderRadius:"8px",overflow:"hidden",backgroundColor:"#fff",transition:"opacity 1.5s ease"},children:[(0,r.Y)(i.A,{"aria-label":"Close video",onClick:()=>f(!1),sx:{position:"absolute",top:8,right:8,zIndex:1001,background:"rgba(0,0,0,0.5)",color:"white",width:"24px",height:"24px","&:hover":{background:"rgba(0,0,0,0.7)"}},children:(0,r.Y)(o.A,{sx:{fontSize:"16px"}})}),(0,r.Y)(G,{url:w,thumbnail:x,width:320,height:180,title:"Introduction Video"})]})]})}},94960:()=>{}},e=>{e.O(0,[9621,1678,5222,4121,4223,4623,7358],()=>e(e.s=62450)),_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.