1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5369],{50569:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/component/events/template1",function(){return t(31732)}])},21339:function(e,n,t){"use strict";t.d(n,{Z:function(){return y}});var i,r=t(47568),l=t(70603),c=t(97582),o=t(85893),s=t(67294),a=t(60068),u=t.n(a),d=t(45697),v=t.n(d),h=t(41664),p=t.n(h),f=t(47079),m=t(52209),g=(i=(0,r.Z)(function(e){var n;return(0,c.__generator)(this,function(n){switch(n.label){case 0:return[4,m.Z.get("/cta/?page=".concat(e))];case 1:return[2,n.sent()]}})}),function(e){return i.apply(this,arguments)}),x=t(11163),b=t.n(x),j=function(e){var n,t,i,a,d,v,h,m,x,j,y=e.titleshow,_=void 0===y||y,k=e.page,w=e.ctaData,N=(0,l.Z)(s.useState({}),2),S=N[0],Z=N[1],T=(0,l.Z)(s.useState([]),2),E=T[0],I=T[1],L=(0,l.Z)(s.useState(!0),2),O=L[0],A=L[1],P=(j=(0,r.Z)(function(){var e,n;return(0,c.__generator)(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,g(k)];case 1:return Z(e.sent().data[0]),A(!1),[3,3];case 2:return n=e.sent(),console.log(n),[3,3];case 3:return[2]}})}),function(){return j.apply(this,arguments)});return(0,s.useEffect)(function(){w?(Z(w),A(!1)):P()},[k,w]),(0,s.useEffect)(function(){var e,n,t,i,r,l,c,o,s,a=[];(null==S?void 0:null===(e=S.link1)||void 0===e?void 0:e.title)&&a.push({title:null==S?void 0:null===(i=S.link1)||void 0===i?void 0:i.title,link:null==S?void 0:null===(r=S.link1)||void 0===r?void 0:r.cta}),(null==S?void 0:null===(n=S.link2)||void 0===n?void 0:n.title)&&a.push({title:null==S?void 0:null===(l=S.link2)||void 0===l?void 0:l.title,link:null==S?void 0:null===(c=S.link2)||void 0===c?void 0:c.cta}),(null==S?void 0:null===(t=S.link3)||void 0===t?void 0:t.title)&&a.push({title:null==S?void 0:null===(o=S.link3)||void 0===o?void 0:o.title,link:null==S?void 0:null===(s=S.link3)||void 0===s?void 0:s.cta}),I(a)},[S]),(0,o.jsx)(o.Fragment,{children:!O&&S?(0,o.jsx)("section",{className:"".concat(u().overlap_section," overflow-visible py-0"),children:(0,o.jsx)("div",{className:"container",children:(0,o.jsx)("div",{className:"wrapper_innner position-absolute rounded-3 bg-white",children:O?(0,o.jsx)(o.Fragment,{children:"Loading..."}):(0,o.jsxs)("div",{className:"row align-items-center justify-content-center",children:[_&&(0,o.jsx)("div",{className:"col-12 col-lg-4",children:(0,o.jsx)("div",{className:"content title_label",onClick:function(){var e;return b().push(null!==(d=null==S?void 0:null===(e=S.header)||void 0===e?void 0:e.cta)&&void 0!==d?d:"https://www.worldpranichealing.com/magazine/news")},style:{cursor:"pointer"},children:(0,o.jsx)(f.Z,{link:"#",buttonSize:"btn-large",value:(0,o.jsxs)(o.Fragment,{children:[null!==(v=null==S?void 0:null===(n=S.header)||void 0===n?void 0:n.title)&&void 0!==v?v:"In the News",(0,o.jsxs)("svg",{className:"arrow-icon",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",style:{margin:"0px 0px 2px 5px",verticalAlign:"middle"},children:[(0,o.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,o.jsx)("polyline",{points:"12 5 19 12 12 19"})]})]})})})}),(0,o.jsx)("div",{className:_?"col-12 col-lg-8":"col-12 col-md-12",children:(0,o.jsx)("div",{className:"content w-100",children:(0,o.jsxs)("ul",{className:"".concat(_?"justify-content-end":"justify-content-center"," align-items-center m-0 p-0"),children:[E.map(function(e,n){return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("li",{className:"fw-medium",children:(0,o.jsx)(p(),{href:"".concat(null!==(h=e.link)&&void 0!==h?h:"#"),children:null!==(m=e.title)&&void 0!==m?m:"link"+n})},n)})}),(0,o.jsx)("li",{className:"btn_li",children:(null==S?void 0:null===(t=S.button)||void 0===t?void 0:t.title)&&(0,o.jsx)(f.Z,{link:null!==(x=null==S?void 0:null===(i=S.button)||void 0===i?void 0:i.cta)&&void 0!==x?x:"#",buttonSize:"btn-small",value:null==S?void 0:null===(a=S.button)||void 0===a?void 0:a.title})})]})})})]})})})}):null})};j.propTypes={ctaData:v().object};var y=j},16596:function(e,n,t){"use strict";var i=t(47568),r=t(97582),l=t(85893),c=t(67294),o=t(35480);t(30933),t(92),t(65519);
1var s=function(e){var n=e.qrImage,t=e.scheduleLink,i=e.scheduleLabel;return void 0===n&&void 0===t?null:(0,l.jsxs)("div",{className:"banner_cta",children:[n&&(0,l.jsx)("img",{src:n,alt:"Schedule QR code",className:"banner_qr"}),void 0!==t&&(0,l.jsx)("a",{href:t||"#",target:"_blank",rel:"noopener noreferrer",className:"d-inline-block btn_custom text-decoration-none",children:void 0===i?"Schedule":i})]})},a=function(e){var n,t=e.page,a=e.image,u=e.title,d=e.subtitle,v=e.qrImage,h=e.scheduleLink,p=e.scheduleLabel,f=(0,c.useState)(!1),m=(f[0],f[1]),g=(0,c.useState)([]),x=g[0],b=g[1],j=(n=(0,i.Z)(function(){var e,n,i;return(0,r.__generator)(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),m(!0),[4,(0,o.Eg)(t)];case 1:return(e=r.sent())&&(b((null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.data:[]),m(!1)),[3,3];case 2:return i=r.sent(),m(!1),console.log(i),[3,3];case 3:return[2]}})}),function(){return n.apply(this,arguments)});return(0,c.useEffect)(function(){j()},[t]),(0,l.jsx)(l.Fragment,{children:(null==x?void 0:x.length)>0?x.map(function(e,n){return(0,l.jsx)("section",{className:"banner-inner-pages",style:{backgroundImage:'url("'.concat(e.imageUrl,'")'),backgroundSize:"cover",backgroundPosition:"center center"},children:(0,l.jsx)("div",{className:"container-fluid",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)("div",{className:"col text-center",children:[(0,l.jsx)("h1",{className:"text-white",children:null==e?void 0:e.hero_title}),d&&(0,l.jsx)("p",{className:"text-white",children:d}),(0,l.jsx)(s,{qrImage:v,scheduleLink:h,scheduleLabel:p})]})})})},n)}):(0,l.jsx)("section",{className:"banner-inner-pages",style:{backgroundImage:'url("'.concat(a,'")'),backgroundSize:"cover",backgroundPosition:"center center"},children:(0,l.jsx)("div",{className:"container-fluid",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)("div",{className:"col text-center",children:[(0,l.jsx)("h1",{className:"text-white",children:u}),d&&(0,l.jsx)("p",{className:"text-white",children:d}),(0,l.jsx)(s,{qrImage:v,scheduleLink:h,scheduleLabel:p})]})})})})})};n.Z=a},47079:function(e,n,t){"use strict";var i=t(85893);t(67294);var r=t(56924),l=t.n(r),c=t(41664),o=t.n(c),s=["btn-small","btn-medium","btn-large"],a=function(e){var n=e.value,t=e.link,r=e.buttonSize,c=s.includes(r)?r:s[0];return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"".concat(l().orange_btn),children:(0,i.jsx)("div",{className:"".concat(c," text-white d-inline-block linear_btn text-uppercase fw-medium text-decoration-none linear-gradient-custom"),style:{cursor:"pointer"},children:(0,i.jsx)(o(),{href:t,passHref:!0,children:n})})})})};n.Z=a},31732:function(e,n,t){"use strict";t.r(n);var i=t(85893),r=t(21339),l=t(16596),c=function(e){var n,t,c;return(0,i.jsxs)("main",{children:[(0,i.jsx)(l.Z,{page:"",title:null==e?void 0:e.title,image:"".concat(e.smallBanner)}),e.addCTA&&(0,i.jsx)(r.Z,{ctaData:e.addCTA}),(0,i.jsx)("section",{className:"twin-heart-content ".concat(!e.addCTA&&"pt-0"),children:(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("div",{className:"row text-center",children:(0,i.jsxs)("div",{className:"col-12 col-md-6 m-auto",style:{paddingTop:"10px"},children:[(0,i.jsxs)("p",{children:[" ",(0,i.jsx)("span",{style:{fontSize:"32px",fontWeight:"bold"},children:null===(n=e.text)||void 0===n?void 0:n.substring(0,1)})," ",null===(t=e.text)||void 0===t?void 0:t.substring(1,500)]}),(0,i.jsx)("section",{className:"banner-inner-pages",style:{backgroundImage:"url(".concat(e.img1,")"),backgroundSize:"cover",backgroundPosition:"center center"},children:(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("div",{className:"row",children:(0,i.jsx)("div",{className:"col text-center "})})})}),(0,i.jsx)("p",{className:"pt-5",children:(0,i.jsx)("p",{children:null===(c=e.text)||void 0===c?void 0:c.substring(500)})})]})})})})]})};n.default=c},35480:function(e,n,t){"use strict";t.d(n,{Eg:function(){return a},If:function(){return d},OP:function(){return u}});var i,r,l,c=t(47568),o=t(97582),s=t(52209),a=(i=(0,c.Z)(function(e){var n;return(0,o.__generator)(this,function(n){switch(n.label){case 0:return[4,s.Z.get("/banner?page=".concat(e))];case 1:return[2,n.sent()]}})}),function(e){return i.apply(this,arguments)}),u=(r=(0,c.Z)(function(e){var n;return(0,o.__generator)(this,function(n){switch(n.label){case 0:return[4,s.Z.get("/featuredblog/all?page=".concat(e))];case 1:return[2,n.sent()]}})}),function(e){return r.apply(this,arguments)}),d=(l=(0,c.Z)(function(e){var n,t,i,r;return(0,o.__generator)(this,function(r){switch(r.label){case 0:return n=e.type,t=e.title,i=e.active,[4,s.Z.get("/section/?type=".concat(n,"&title=").concat(t,"&active=").concat(i))];case 1:return[2,r.sent().data]}})}),function(e){return l.apply(this,arguments)})},52209:function(e,n,t){"use strict";var i=t(9669),r=t.n(i);r().defaults.baseURL="https://wphf-backend.fleapo.co.in/api/v1",r().interceptors.request.use(function(e){return e},function(e){return Promise.reject(e)}),r().interceptors.response.use(function(e){return null==e?void 0:e.data}),n.Z=r()},60068:function(e){e.exports={overlap_section:"labelbox_overlap_section__ZAFJ0"}},56924:function(e){e.exports={orange_btn:"orangebtn_orange_btn__cE_7J"}},65519:function(){},92:function(){},30933:function(){},11163:function(e,n,t){e.exports=t(90387)},92703:function(e,n,t){"use strict";var i=t(50414);function r(){}function l(){}l.resetWarningCache=r,e.exports=function(){function e(e,n,t,r,l,c){if(c!==i){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
1:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:l,resetWarningCache:r};return t.PropTypes=t,t}},45697:function(e,n,t){e.exports=t(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},70603:function(e,n,t){"use strict";function i(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=Array(n);t<n;t++)i[t]=e[t];return i}function r(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e,n)||function(e,n){if(e){if("string"==typeof e)return i(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}t.d(n,{Z:function(){return r}})}},function(e){e.O(0,[1664,9669,9774,2888,179],function(){return e(e.s=50569)}),_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.