1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1962],{41962:function(e,t,i){"use strict";i.r(t);var l=i(85893),o=i(67294);i(41664);var n=i(72194),a=i.n(n),s=i(11163),r=i(15921);t.default=e=>{let{websiteData:t}=e;(0,s.useRouter)();let[i,n]=(0,o.useState)(!1),[d,c]=(0,o.useState)(!1),[u,m]=(0,o.useState)(!1);(0,o.useEffect)(()=>{let e=()=>{let e=window.scrollY;n(e>100)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]);let[h,p]=(0,o.useState)(!1),[f,w]=(0,o.useState)(!1),[k,_]=(0,o.useState)(),[x,F]=(0,o.useState)(),[N,g]=(0,o.useState)(),[b,j]=(0,o.useState)(),[S,v]=(0,o.useState)(),[T,C]=(0,o.useState)(),[E,I]=(0,o.useState)(),[M,V]=(0,o.useState)(),[L,O]=(0,o.useState)(),[y,B]=(0,o.useState)(),[W,A]=(0,o.useState)(),[P,R]=(0,o.useState)(),[Y,H]=(0,o.useState)(),[D,U]=(0,o.useState)(),[G,q]=(0,o.useState)(),[X,Z]=(0,o.useState)(),[J,K]=(0,o.useState)(),[Q,z]=(0,o.useState)(),[$,ee]=(0,o.useState)(),[et,ei]=(0,o.useState)(),[el,eo]=(0,o.useState)(),[en,ea]=(0,o.useState)(),[es,er]=(0,o.useState)(!1);(0,o.useEffect)(()=>{er(window.self!==window.top)},[]),(0,o.useEffect)(()=>{window.addEventListener("scroll",()=>{w(window.scrollY>50)})},[]);let{handleScrollMessage:ed,handleBodyClick:ec}=(0,r.default)();(0,o.useEffect)(()=>(window.addEventListener("message",ed),document.body.addEventListener("click",ec),()=>{window.removeEventListener("message",ed),document.body.removeEventListener("click",ec)}),[ed,ec]);let eu=()=>{let e=window.location.hash.substring(1),t=new URLSearchParams(e);_(t.get("footer-brand-logo-text-one")),F(t.get("footer-brand-logo-text-two")),g(t.get("footer-paragraph")),j(t.get("footer-email")),v(t.get("footer-social-link-1")),C(t.get("footer-social-link-2")),I(t.get("footer-social-link-3")),V(t.get("footer-social-link-4")),O(t.get("footer-heading-one")),B(t.get("footer-heading-two")),A(t.get("footer-heading-three")),R(t.get("footer-menuone-li-1")),H(t.get("footer-menuone-li-2")),U(t.get("footer-menuone-li-3")),q(t.get("footer-menuone-li-4")),Z(t.get("footer-menuone-li-5")),K(t.get("footer-menu_two-li-1")),z(t.get("footer-menu_two-li-2")),ee(t.get("footer-menu_two-li-3")),ei(t.get("footer-menu_three-li-1")),eo(t.get("footer-menu_three-li-2")),ea(t.get("footer-copyright-text"))};(0,o.useEffect)(()=>{eu()},[]),(0,o.useEffect)(()=>{let e=()=>{eu()};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[]);let em=e=>{var t;null===(t=e.templateTopics)||void 0===t||t.forEach(e=>{"common"===e.templateTopicCode?e.templateFields.forEach(e=>{console.log("field",e),"footer-brand-logo-text-one"===e.templateTopicFieldName&&_(e.fieldValue),"footer-brand-logo-text-two"===e.templateTopicFieldName&&F(e.fieldValue),"Footer-paragraph"===e.templateTopicFieldName&&g(e.fieldValue),"Footer-email"===e.templateTopicFieldName&&j(e.fieldValue),"Footer-social-link-1"===e.templateTopicFieldName&&v(e.fieldValue),"Footer-social-link-2"===e.templateTopicFieldName&&C(e.fieldValue),"Footer-social-link-3"===e.templateTopicFieldName&&I(e.fieldValue),"Footer-social-link-4"===e.templateTopicFieldName&&V(e.fieldValue),"Footer-heading-one"===e.templateTopicFieldName&&O(e.fieldValue),"Footer-heading-two"===e.templateTopicFieldName&&B(e.fieldValue),"Footer-heading-three"===e.templateTopicFieldName&&A(e.fieldValue),"Footer-MenuOne-li-1"===e.templateTopicFieldName&&R(e.fieldValue),"Footer-MenuOne-li-2"===e.templateTopicFieldName&&H(e.fieldValue),"Footer-MenuOne-li-3"===e.templateTopicFieldName&&U(e.fieldValue),"Footer-MenuOne-li-4"===e.templateTopicFieldName&&q(e.fieldValue),"Footer-MenuOne-li-5"===e.templateTopicFieldName&&Z(e.fieldValue),"Footer-Menu_two-li-1"===e.templateTopicFieldName&&K(e.fieldValue),"Footer-Menu_two-li-2"===e.templateTopicFieldName&&z(e.fieldValue),"Footer-Menu_two-li-3"===e.templateTopicFieldName&&ee(e.fieldValue),"Footer-Menu_three-li-1"===e.templateTopicFieldName&&ei(e.fieldValue),"Footer-Menu_three-li-2"===e.templateTopicFieldName&&eo(e.fieldValue),"Footer-copyright-text"===e.templateTopicFieldName&&ea(e.fieldValue)}):console.log("Not equal")})};(0,o.useEffect)(()=>{t&&em(t)},[t]),(0,o.useEffect)(()=>{let e=()=>{n(window.scrollY>0)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]);let eh=[{title:"Churches",href:"/churches"},{title:"Priests",href:"#"},{title:"Hospitals",href:"#"},{title:"Educational Institutions",href:"/"},{title:"Congregations",href:"/"}],ep=[{title:"News",href:"#"},{title:"Events",href:"#"},{title:"Gallery",href:"#"}],ef=[{title:"About us",href:"#"},{title:"Contact Us",href:"#"}],ew=[{title:"Facebook",href:"#"},{title:"Instagram",href:"#"},{title:"LinkedIn",href:"#"},{title:"Pinterest",href:"#"}];return(0,l.jsx)("footer",{className:a().footer,children:(0,l.jsxs)("div",{className:a().footerContent,children:[(0,l.jsxs)("div",{className:a().footerMain,children:[(0,l.jsxs)("div",{className:a().brandSection,children:[(0,l.jsxs)("h2",{className:a().brandTitle,id:"footer-brand-logo-text-one",children:[k||"ARCHDIOCESE OF",(0,l.jsx)("br",{}),(0,l.jsx)("span",{id:"footer-brand-logo-text-two",children:x||"GUWAHATI"})]}),(0,l.jsxs)("div",{className:a().newsletter,children:[(0,l.jsx)("h3",{className:a().linkTitle,id:"Footer-paragraph",children:N||"Subscribe to our Newsletter"}),(0,l.jsxs)("div",{className:a().inputWrapper,children:[(0,l.jsx)("input",{type:"email",placeholder:"Enter email address",className:a().emailInput}),(0,l.jsx)("button",{className:a().submitButton,children:(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M13.5 6.5L6.5 13.5M13.5 6.5H7.5M13.5 6.5V12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})]}),(0,l.jsxs)("div",{className:a().linksSection,children:[(0,l.jsxs)("div",{className:a().linkColumn,children:[(0,l.jsx)("h3",{className:a().linkTitle,id:"Footer-heading-one",children:L||"Quick links"}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:(0,l.jsx)("button",{className:a().linkItem,id:"Footer-MenuOne-li-1",onClick:()=>{!es&&P&&window.open(P,"_blank")},children:eh[0].title})}),(0,l.jsx)("li",{children:(0,l.jsx)("button",{className:a().linkItem,id:"Footer-MenuOne-li-2",onClick:()=>{!es&&Y&&window.open(Y,"_blank")},children:eh[1].title})}),(0,l.jsx)("li",{children:(0,l.jsx)("button",{className:a().linkItem,id:"Footer-MenuOne-li-3",onClick:()=>{!es&&D&&window.open(D,"_blank")},children:eh[2].title})}),(0,l.jsx)("li",{children:(0,l.jsx)("button",{className:a().linkItem,id:"Footer-MenuOne-li-4",onClick:()=>{!es&&G&&window.open(G,"_blank")},children:eh[3].title})}),(0,l.jsx)("li",{children:(0,l.jsx)("button",{className:a().linkItem,id:"Footer-MenuOne-li-5",onClick:()=>{!es&&X&&window.open(X,"_blank")},children:eh[4].title})})]})]}),(0,l.jsxs)("div",{className:a().linkColumn,children:[(0,l.jsx)("h3",{className:a().linkTitle,id:"Footer-heading-two",children:y||"News & Updates"}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:(0,l.jsx)("button",{className:a().linkItem,id:"Footer-Menu_two-li-1",onClick:()=>{!es&&J&&window.open(J,"_blank")},children:ep[0].title})}),(0,l.jsx)("li",{children:(0,l.jsx)("button",{className:a().linkItem,id:"Footer-Menu_two-li-2",onClick:()=>{!es&&Q&&window.open(Q,"_blank")},children:ep[1].title})}),(0,l.jsx)("li",{children:(0,l.jsx)("button",{className:a().linkItem,id:"Footer-Menu_two-li-3",onClick:()=>{!es&&$&&window.open($,"_blank")},children:$||ep[2].title})})]})]}),(0,l.jsxs)("div",{className:a().linkColumn,children:[(0,l.jsx)("h3",{className:a().linkTitle,id:"Footer-heading-three",children:W||"Supp
1ort"}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:(0,l.jsx)("button",{className:a().linkItem,id:"Footer-Menu_three-li-1",onClick:()=>{!es&&et&&window.open(et,"_blank")},children:ef[0].title})}),(0,l.jsx)("li",{children:(0,l.jsx)("button",{className:a().linkItem,id:"Footer-Menu_three-li-2",onClick:()=>{!es&&el&&window.open(el,"_blank")},children:ef[1].title})})]})]})]})]}),(0,l.jsxs)("div",{className:a().footerBottom,children:[(0,l.jsx)("p",{id:"Footer-copyright-text",className:a().copyRightText,children:en||"\xa9 ".concat(new Date().getFullYear()," Eloit Innovations Pvt Ltd. All right reserved.")}),(0,l.jsxs)("div",{className:a().socialLinks,children:[(0,l.jsx)("button",{className:a().linkItem,id:"Footer-social-link-1",onClick:()=>{!es&&S&&window.open(S,"_blank")},children:ew[0].title}),(0,l.jsx)("button",{className:a().linkItem,id:"Footer-social-link-2",onClick:()=>{!es&&T&&window.open(T,"_blank")},children:ew[1].title}),(0,l.jsx)("button",{className:a().linkItem,id:"Footer-social-link-3",onClick:()=>{!es&&E&&window.open(E,"_blank")},children:ew[2].title}),(0,l.jsx)("button",{className:a().linkItem,id:"Footer-social-link-4",onClick:()=>{!es&&M&&window.open(M,"_blank")},children:ew[3].title})]})]})]})})}},72194:function(e){e.exports={footer:"inner_footer__HJ0pA",footerContent:"inner_footerContent__A9PVc",footerMain:"inner_footerMain__7xSjd",brandSection:"inner_brandSection__O_8n7",brandTitle:"inner_brandTitle__mujcs",newsletter:"inner_newsletter__CX8Wc",inputWrapper:"inner_inputWrapper__LlZXe",emailInput:"inner_emailInput__vah6L",submitButton:"inner_submitButton__gPsdB",linksSection:"inner_linksSection__nY_IE",linkColumn:"inner_linkColumn__cNqFx",copyRightText:"inner_copyRightText__DYDnW",linkTitle:"inner_linkTitle__ixCMB",linkItem:"inner_linkItem__4WWxZ",footerBottom:"inner_footerBottom__GPSIN",socialLinks:"inner_socialLinks__fEAwe",url:"inner_url__4BIKd"}}}]);
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.