1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1630,8942],{1761:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});let n=e=>e.filter(e=>null==e?void 0:e.pagetitle).map(e=>e.pagetitle)},11764:(e,t,l)=>{"use strict";l.d(t,{JK:()=>T,Zr:()=>h,$N:()=>g,nr:()=>v,AY:()=>u,gq:()=>p,SI:()=>D,P4:()=>C,Zf:()=>w,LL:()=>o,Kt:()=>s,$x:()=>b,En:()=>d,P$:()=>P,eh:()=>L,Bv:()=>A,C4:()=>_,Op:()=>j,J2:()=>N,MO:()=>c,a7:()=>m,h6:()=>f,HA:()=>x,GL:()=>k,cR:()=>y});var n=l(29454),i=l(98914);l(81385);let{default:r}=l(14428),a={getsinglefileDetails:async e=>r.get("wp-json/post-page/post?id=".concat(e))};function o(e,t){if(e){for(let l of e)if(l.children){for(let e of l.children)if(e.url===t)return l.children}}}function s(e,t){if(e){for(let t of e)if(t.children&&"/archives"===t.url)return t.children}}function c(e){return e.replace(/Y/g,"")}function u(e){if(e){var t=e.split(/[/.,\-|]/);return t[0]+"."+t[1]+"."+t[2]}}function d(e){if(!e)return;let t=e.split(".");return t[0]+"."+t[1]+"."+t[2]}let p=e=>e?null==e?void 0:e.replace(/@/g,"[at]").replace(/\./g,"[dot]"):"",g=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),m=e=>e?e.split(/[/.,\-|]/).reverse().join("."):"";function h(e){return e.charAt(0).toUpperCase()+e.slice(1)}let f=(e,t)=>{let l="";switch(e){case"pdf":l="This would open the pdf link in a new tab. Do you want to continue anyway?";break;case"Download":l="This would start the download. Do you want to continue anyway?";break;default:l="This would take you to an external website that opens in a new tab. Do you want to continue anyway?"}return!!window.confirm(l)||(t.preventDefault(),t.stopPropagation(),!1)},v=e=>{let t=null!=e?e:0;if(!t)return"".concat(0," KB");let l=t/1024;return l>1024?"".concat((l/1024).toFixed(2)," MB"):"".concat(l.toFixed(2)," KB")},y=(e,t,l,n)=>{if(!e)return;let i=null==e?void 0:e.push;1===t&&(i=null==e?void 0:e.replace),i({pathname:l,query:n?{page:t,persona:n}:{page:t}},void 0,{shallow:!0})},w=e=>{let t=new Date;t.setHours(0,0,0,0),console.log(e);let[l,n,i]=e.split("/").map(Number),r=new Date(i,n-1,l);return r<t&&(console.log(r,e,"formattedTargetDate"),!0)},k=(e,t)=>{let l=new DOMParser().parseFromString(e,"text/html"),n=0,i=e=>{if(n>=t)return!1;if(e.nodeType===Node.TEXT_NODE)n+e.textContent.length>t?(e.textContent=e.textContent.slice(0,t-n)+"...",n=t):n+=e.textContent.length;else if(e.nodeType===Node.ELEMENT_NODE){for(let t=0;t<e.childNodes.length;t++)if(!i(e.childNodes[t])){for(;e.childNodes.length>t+1;)e.removeChild(e.lastChild);break}}return n<t};return i(l.body),l.body.innerHTML},b=async e=>{try{var t,l;let n=await i.A.getReportDetails(e);return(null==n||null==(l=n.data)||null==(t=l.posts)?void 0:t.acf_data)||null}catch(e){return console.error("Failed to fetch ACF data:",e),null}},j=(e,t)=>{console.log(t,"ll",e);let l=null==e?void 0:e.find(e=>e.name===t||e.slug===t);return l?l.slug:null},_=(e,t)=>{if(!Array.isArray(t))return(null==t?void 0:t.slug)||null;if(!Array.isArray(e))return null;let l=0,n=null;return t.forEach(t=>{let i=e.filter(e=>e.parent===t.term_taxonomy_id).length;i>l&&(l=i,n=t.slug)}),n},x=e=>{console.log(e),n.A.set("internalPageId",e,{expires:1})},A=()=>(console.log(n.A.get("internalPageId")),n.A.get("internalPageId")),P=async e=>{try{var t,l;let n=await a.getsinglefileDetails(e.join("")),i=null==n||null==(l=n.data)||null==(t=l.posts)?void 0:t.acf_data;return console.log(i),i}catch(e){console.log(e)}},C=e=>{if(!(null==e?void 0:e.includes("Title=")))return null;let t=e.match(/Title=([^&]*)/);if(!t)return null;let l=t[1],n=l.split("-"),i=n.pop();try{let e=i.split("").reverse().join("").replace(/-/g,"+").replace(/_/g,"/"),t=e.length%4==2?"==":e.length%4==3?"=":"",r=e+t;if(atob(r).startsWith("id-")){let e=n.join(" ");return decodeURIComponent(e)}return decodeURIComponent(l.replace(/-/g," "))}catch(e){return null}};function N(e){return null==e?void 0:e.trim().toLowerCase().replace(/\s+/g," ").replace(/[.,]/g,"").replace(/\s+/g," ")}let T=e=>"string"!=typeof e?e:e.replace(/u00a0/gi," ").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"),L=e=>{if("string"!=typeof e)return"";let t=e.split("-").pop();try{let e=t.split("").reverse().join("").replace(/-/g,"+").replace(/_/g,"/"),l=e.length%4==2?"==":e.length%4==3?"=":"",n=e+l;if(!atob(n).startsWith("id-"))return null;return t}catch(e){return null}},D=e=>{if("string"!=typeof e)return null;let t=e.split("-"),l=t[t.length-1];try{let e=l.split("").reverse().join("").replace(/-/g,"+").replace(/_/g,"/");if(atob(e).startsWith("id-"))return t.slice(0,-1).join("-")}catch(e){}return null}},26333:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var n=l(14232),i=l(31777);l(16879);var r=l(11764),a=l(89099),o=l(14e3),s=l(38147);function c(){var e,t,l,c,u,d,p,g,m,h,f;let{mainManu:v}=(0,i.d4)(e=>e.menu);(0,i.wA)();
1let[y,w]=(0,n.useState)(),k=(0,a.useRouter)(),b=(0,o.usePathname)(),{childslug:j,archives:_}=k.query,{slug:x}=k.query;k.query.parentslug,k.pathname,k.pathname.replace(/\/\[.*\]/,""),(0,n.useEffect)(()=>{if(v){let e=k.asPath.split("?")[0];w((0,r.LL)(v,e))}},[k.asPath,v]);let A=(0,n.useMemo)(()=>{var e,t,l;let n=(null==k||null==(e=k.query)?void 0:e.persona)&&!(null==k||null==(t=k.query)?void 0:t.slug)?null==y||null==(l=y[0])?void 0:l.slug:k.query.slug;return null==y?void 0:y.find(e=>e.url===k.asPath||n===e.slug||b===e.url)},[y,k.asPath]),P=null;if(y&&y.length){let e=null==(u=y[0].url)||null==(c=u.replace(/[\/-]/g," "))||null==(l=c.replace(/\s+/g," "))||null==(t=l.replace(/\b\w/g,e=>e.toUpperCase()))?void 0:t.trim();console.log(y[0]),P={title:e,href:y[0].url,isLink:!1}}return(null==k||null==(e=k.query)?void 0:e.persona)?[{title:"Home",href:"/",isLink:!0},{title:null==(g=k.query)||null==(p=g.persona)||null==(d=p.replace(/-/g," "))?void 0:d.replace(/\bIt\b/gi,"IT"),href:"/persona/".concat(null==k||null==(h=k.query)||null==(m
1=h.persona)?void 0:m.toLowerCase()),isLink:!0},P||{title:(null==A?void 0:A.title)||""},{pagetitle:j?(0,s.o)(null==j?void 0:j.replace(/-/g," ")):(null==A?void 0:A.title)||""}]:[{title:"Home",href:"/",isLink:!0},{title:"true"===_&&"Archive",href:"true"===_&&"/archives?page=".concat("orders-and-notices"===x?"orders":"act-and-policies"===x?"acts-and-policies":x),isLink:!0},"true"!==_&&P||"true"!==_&&{title:(null==A?void 0:A.title)||""},j&&{title:null==A?void 0:A.title,href:null==A?void 0:A.url,isLink:!0},{pagetitle:j?(0,s.o)(null==(f=(0,r.SI)(j))?void 0:f.replace(/-/g," ")):(null==A?void 0:A.title)||""}]}},38147:(e,t,l)=>{"use strict";l.d(t,{o:()=>n});let n=e=>null==e?void 0:e.split(" ").map((e,t)=>e===e.toUpperCase()?e:0!==t&&"and"===e.toLowerCase()?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" ")},40057:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/policies",function(){return l(56068)}])},56068:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>P});var n=l(37876),i=l(14232),r=l(69636),a=l(907),o=l(31777),s=l(56442),c=l(54587),u=l.n(c),d=l(11764),p=l(985),g=l(26333),m=l(1761),h=l(89099),f=l(95744),v=l(18847),y=l.n(v),w=l(95361),k=l(56396);let b=y()(()=>Promise.all([l.e(8992),l.e(1983),l.e(5249),l.e(452),l.e(9974),l.e(6987),l.e(9002)]).then(l.bind(l,66987)),{loadableGenerated:{webpack:()=>[66987]},ssr:!1,loading:()=>(0,n.jsx)(n.Fragment,{})}),j=y()(()=>l.e(4757).then(l.bind(l,94757)),{loadableGenerated:{webpack:()=>[94757]},ssr:!1,loading:()=>(0,n.jsx)(n.Fragment,{})}),_=y()(()=>Promise.all([l.e(1983),l.e(2001),l.e(452),l.e(3102)]).then(l.bind(l,71197)),{loadableGenerated:{webpack:()=>[71197]},ssr:!1,loading:()=>(0,n.jsx)(n.Fragment,{})}),x=y()(()=>l.e(8493).then(l.bind(l,18493)),{loadableGenerated:{webpack:()=>[18493]},ssr:!1,loading:()=>(0,n.jsx)(n.Fragment,{})}),A=y()(()=>Promise.all([l.e(5249),l.e(2101)]).then(l.bind(l,92101)),{loadableGenerated:{webpack:()=>[92101]},ssr:!1,loading:()=>(0,n.jsx)(n.Fragment,{})}),P=function(){var e;let t=(0,o.wA)(),l=(0,h.useRouter)();l.pathname;let{parentslug:c,slug:v}=l.query,{WebsitePolicyBanner:y,WebsitePolicyBannerStatus:P}=(0,o.d4)(e=>e.websitePolicyBanner);(0,f.A)();let[C,N]=(0,i.useState)(null),[T,L]=(0,i.useState)(!0),{setLastModified:D}=(0,p.J)(),E=async()=>{try{let e=(await a.A.getWebPolicyApis()).data[0].acf;N(e)}catch(e){console.error(e)}finally{L(!1)}};(0,i.useEffect)(()=>{y||t((0,s.w)())},[]),(0,i.useEffect)(()=>{E()},[]);let q=async e=>{D("");try{var t;let l=(await a.A.getWebPolicyApis(e)).data;D(null==(t=l[0])?void 0:t.modified)}catch(e){console.log(e)}};(0,i.useEffect)(()=>{q("&_fields=modified"),E()},[]);let R=(0,g.A)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(b,{pageTitle:null==(e=(0,m.A)(R))?void 0:e[0],children:[(0,n.jsxs)("section",{className:"position-relative",children:[(0,n.jsx)(_,{alt:null==y?void 0:y.alt,image:(null==y?void 0:y.url)?null==y?void 0:y.url:k.nd,breadcrumbs:R,bannerLoad:null==P?void 0:P.loading}),(0,n.jsx)(j,{navList:r.wJ})]}),(0,n.jsx)("section",{className:"maincontent",role:"main",children:T?(0,n.jsx)(A,{length:1,height:400,classOne:"",classTwo:"",classThree:"d-none",heightTwo:""}):C?(0,n.jsx)("div",{className:"container mt-5",children:(0,n.jsx)("div",{className:"row",children:(0,n.jsx)("div",{className:"col-md-12",children:(0,n.jsxs)("div",{className:"aboutcontent",children:[(null==C?void 0:C.terms_of_use_content)&&(0,n.jsx)("div",{className:"policyContent",dangerouslySetInnerHTML:{__html:(0,d.JK)(null==C?void 0:C.terms_of_use_content)}}),(null==C?void 0:C.manager)&&(0,n.jsx)("p",{className:"policyManager",role:"heading",children:null==C?void 0:C.manager}),(null==C?void 0:C.manager_name)&&(0,n.jsx)("p",{className:"policyManagerName",role:"heading",children:null==C?void 0:C.manager_name}),(null==C?void 0:C.designation)&&(0,n.jsx)("small",{className:"policyManagerDesignation",role:"heading",children:null==C?void 0:C.designation}),(null==C?void 0:C.email)&&(0,n.jsxs)("div",{className:"d-flex align-items-center policyManagerEmail",children:[(0,n.jsx)(u(),{src:"/img1/Mail-outline.svg",alt:"mail",role:"img",height:10,width:10}),(0,n.jsx)(w.N_,{href:"mailto:"+(null==C?void 0:C.email),className:"text-decoration-none",title:"mailto:"+(null==C?void 0:C.email),children:(0,d.gq)(null==C?void 0:C.email)})]})]})})})}):(0,n.jsx)(x,{})})]})})}},56396:(e,t,l)=>{"use strict";l.d(t,{Y3:()=>n,YG:()=>s,bM:()=>a,kj:()=>o,nd:()=>i,t$:()=>r});let n="./images/placeholder/innerbanner.png",i="/images/placeholder/centralpush.png",r="/images/placeholder/pmquote.png",a="/images/placeholder/resources.png",o="/images/placeholder/Default_Profile_Picture.png",s="/images/placeholder/pmquote.png"},69636:(e,t,l)=>{"use strict";l.d(t,{GA:()=>i,J5:()=>a,TJ:()=>n,UB:()=>c,e5:()=>o,uZ:()=>r,wJ:()=>s});let n=[{title:"About Us",link:"/ministry"},{title:"Our Team",link:"/ministry/our-team"},{title:"Our Division",link:"/ministry/our-division"},{title:"Our Performance",link:"/ministry/our-performance"},{title:"Our Organisations",link:"/ministry/our-organisations"},{title:"Directory",link:"/ministry/directory"}],i=[{title:"Schemes and Services",link:"/offerings/Schemes"},{title:"Careers",link:"/offerings/Careers"},{title:"Tenders",link:"/offerings/tenders"},{title:"Competitions and Awards",link:"/offerings/CompetitionAwards"},{title:"International Collaborations",link:"/offerings/internationalcollab"}],r=[{title:"Reports",link:"/documents"},{title:"Acts and Policies",link:"/documents/ActPolicies"},{title:"Orders and Notices",link:"/documents/orders"},{title:"Publications",link:"/documents/Publications"}],a=[{title:"Photos",link:"/resources"},{title:"Videos",link:"/resources/videos"},{title:"Brochures",link:"/resources/Brochures"},{title:"Presentations",link:"/resources/presentations"}],o=[{title:"Directory",link:"/connect"},{title:"RTI",link:"/connect/Rti"},{title:"Grievance Redressal",link:"/connect/Grievanceredressal"},{title:"Public Consultation",link:"/connect/publicconsultation"},{title:"Parliament Questions",link:"/connect/Parliamentquestions"},{title:"Visitorâs Pass",link:"/connect/visitorpass"},{title:"Contact us",link:"/connect/contactus"}
1],s=[{title:"Terms of Use",link:"/policies"},{title:"Privacy Policy",link:"/policies/Privacypolicy"},{title:"Hyperlinking policy",link:"/policies/HyperLinkingpolicy"},{title:"Copyright policy",link:"/policies/Copyrightpolicy"}],c=[{title:"Tab 1",link:"/new-template"},{title:"Tab 2",link:"#"},{title:"Tab 3",link:"#"}]},95744:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var n=l(14232),i=l(31777);l(16879);var r=l(11764),a=l(89099);function o(){let{mainManu:e}=(0,i.d4)(e=>e.menu),[t,l]=(0,n.useState)();(0,i.wA)();let o=(0,a.useRouter)().pathname.replace(/\/\[.*\]/,"");return(0,n.useEffect)(()=>{e&&l((0,r.LL)(e,o))},[e]),(null==t?void 0:t.length)&&t.map(e=>e.slug)}},98914:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var n=l(14428),i=l(81385);let r={getReportApi:async e=>{let{parentCategorySlug:t,limit:l,page:r,query:a}=e;return"NEW"!=i.yt?n.default.get("wp-json/document/documents?type=Report&limit=".concat(l,"&page=").concat(r).concat(a?"&".concat(a):"")):n.default.get("wp-json/document/documents?document_category=".concat(t,"&limit=").concat(l,"&page=").concat(r).concat(a?"&".concat(a):""))},getReportDetailApi:async e=>{let{slugName:t}=e;return n.default.get("wp-json/post-page/documents?slug_name=".concat(t))},getBannersData:async()=>n.default.get("wp-json/wp/v2/pages?slug=our-team&acf_format=standard&_fields=acf"),getReportsCategory:async()=>n.default.get("wp-json/taxonomy/documents_category"),getReportDetails:async e=>n.default.get("wp-json/post-page/post?id=".concat(e))}}},e=>{e.O(0,[8230,8809,2951,4587,223,718,3074,5361,636,6593,8792],()=>e(e.s=40057)),_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.