1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4734],{77232:function(e,n,t){t.d(n,{Z:function(){return r}});const r=(0,t(91373).Z)("menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},74734:function(e,n,t){t.r(n),t.d(n,{default:function(){return g}});var r=t(85893),l=t(67294),s=t(41664),o=t.n(s),i=t(11163),a=t(96486),c=t(8971),u=t(77232),d=t(41352),x=t(73524),p=t(71248),m=t(93520),f=t(62461),h=t(89885),b=t(293);function g(){var e=(0,l.useContext)(h.Z),n=e.appConfig,t=e.hasSession,s=e.currentUser,g=e.isTestPassPurchased,y=e.toggleAuthModal,j=e.setIsLogin,C=e.setIsPayment,v=(0,i.useRouter)(),w=(0,l.useState)(!1),k=w[0],S=w[1];(0,l.useEffect)((function(){var e=function(){return S(!1)};return v.events.on("routeChangeComplete",e),function(){return v.events.off("routeChangeComplete",e)}}),[v.events]);var F=function(){null===j||void 0===j||j(!0),null===C||void 0===C||C(!1),null===y||void 0===y||y()},N=(0,a.some)(null===n||void 0===n?void 0:n.web_menuitems,{type:"TEST_PASS"}),E=(0,m.hb)(null===n||void 0===n?void 0:n.web_testpasscompulsory),D=N&&(!E||!s||g),_=(0,p.eK)((0,p.rT)(n,D,t),n,D),B=_.slice(0,6),A=_.slice(6),z=function(e){var n=e.as||e.href;return!!n&&("/"===n?"/"===v.asPath.split("?")[0]:e.as?v.asPath.includes(e.as):v.pathname.includes(e.href))},Z="0"!=(null===n||void 0===n?void 0:n.web_enablemenuhome)||(0,a.isEmpty)(null===n||void 0===n?void 0:n.web_landingpage)?"/":n.web_landingpage,M=(null===n||void 0===n?void 0:n.web_coursetitle)||(null===n||void 0===n?void 0:n.web_clientname)||"Swayam Shakti Healing Hub",P=function(e,n,t){return(0,r.jsx)(o(),{href:e.href,as:e.as||e.href,children:(0,r.jsx)("a",{className:n,onClick:t,children:e.label})},e.label)},L=function(e){var t=e.className;return(0,a.isEmpty)(null===n||void 0===n?void 0:n.web_logo)?(0,r.jsx)("span",{className:(0,f.cn)("truncate leading-none",t),style:{color:b.SS.ink},children:M}):(0,r.jsx)("img",{src:n.web_logo,alt:M,className:"h-11 w-auto max-w-[160px] object-contain"})};return(0,r.jsxs)("header",{className:"sticky top-0 z-50 w-full border-b bg-white",style:{borderColor:b.SS.hairline},children:[(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-[1440px] items-center justify-between gap-4 px-5 py-3 sm:px-8 lg:px-[80px] lg:py-4",children:[(0,r.jsx)("a",{href:Z,className:"flex min-w-0 shrink-0 items-center gap-3 no-underline",children:(0,r.jsx)(L,{className:"text-[24px] lg:text-[32px]"})}),(0,r.jsxs)("nav",{className:"hidden items-center gap-[17px] lg:flex",children:[B.map((function(e){return P(e,(0,f.cn)("whitespace-nowrap pb-1 text-[13px] font-medium no-underline",z(e)?"font-bold text-[#0F3525] border-b-2 border-[#0F3525]":"text-[#5F6C64]"))})),A.length>0&&(0,r.jsxs)(x.h_,{children:[(0,r.jsxs)(x.$F,{className:"flex items-center gap-1 whitespace-nowrap text-[13px] font-medium outline-none",style:{color:b.SS.navMuted},children:["More",(0,r.jsx)(c.Z,{className:"size-3"})]}),(0,r.jsx)(x.AW,{align:"end",className:"rounded-xl",children:A.map((function(e){return(0,r.jsx)(x.Xi,{asChild:!0,children:(0,r.jsx)(o(),{href:e.href,as:e.as||e.href,children:(0,r.jsx)("a",{className:(0,f.cn)("flex w-full items-center rounded-lg px-3 py-2 text-[13px] font-medium no-underline",z(e)?"text-[#0F3525]":"text-[#5F6C64] hover:text-[#0F3525]"),children:e.label})})},e.label)}))})]})]}),(0,r.jsxs)("div",{className:"flex shrink-0 items-center gap-3",children:[t?(0,r.jsx)(o(),{href:"/my-zone",children:(0,r.jsx)("a",{className:"hidden text-[13px] font-semibold no-underline sm:inline",style:{color:b.SS.navMuted},children:"My Zone"})}):(0,r.jsx)("button",{type:"button",onClick:F,className:"hidden text-[13px] font-semibold sm:inline",style:{color:b.SS.navMuted},children:"Login"}),(0,r.jsx)(o(),{href:b.BA.bookCall,children:(0,r.jsx)("a",{className:"hidden items-center rounded-[8px] px-5 py-2.5 text-[14px] font-bold text-white no-underline sm:inline-flex",style:{backgroundColor:b.SS.gold},children:"Book a Free Call"})}),(0,r.jsx)("button",{type:"button","aria-label":"Open menu",onClick:function(){return S(!0)},className:"inline-flex size-10 items-center justify-center rounded-full border lg:hidden",style:{borderColor:b.SS.hairline,color:b.SS.ink},children:(0,r.jsx)(u.Z,{className:"size-5"})})]})]}
1),k&&(0,r.jsxs)("div",{className:"fixed inset-0 z-[60] lg:hidden",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-black/40",onClick:function(){return S(!1)}}),(0,r.jsxs)("aside",{className:"absolute right-0 top-0 flex h-full w-[86%] max-w-[320px] flex-col gap-1 overflow-y-auto bg-white p-5",children:[(0,r.jsxs)("div",{className:"mb-4 flex items-center justify-between gap-2",children:[(0,r.jsx)(L,{className:"text-[22px]"}),(0,r.jsx)("button",{type:"button","aria-label":"Close menu",onClick:function(){return S(!1)},className:"inline-flex size-9 shrink-0 items-center justify-center rounded-full border",style:{borderColor:b.SS.hairline,color:b.SS.ink},children:(0,r.jsx)(d.Z,{className:"size-5"})})]}),_.map((function(e){return P(e,(0,f.cn)("rounded-lg px-3 py-2.5 text-[15px] no-underline",z(e)?"font-bold text-[#0F3525]":"font-medium text-[#5F6C64]"),(function(){return S(!1)}))})),(0,r.jsxs)("div",{className:"mt-3 flex flex-col gap-2 border-t pt-4",children:[(0,r.jsx)(o(),{href:b.BA.bookCall,children:(0,r.jsx)("a",{onClick:function(){return S(!1)},className:"flex h-11 items-center justify-center rounded-[8px] text-[14px] font-bold text-white no-underline",style:{backgroundColor:b.SS.gold},children:"Book a Free Call"})}),t?(0,r.jsx)(o(),{href:"/my-zone",children:(0,r.jsx)("a",{onClick:function(){return S(!1)},className:"flex h-11 items-center justify-center rounded-[8px] border text-[14px] font-bold no-underline",style:{borderColor:b.SS.pine,color:b.SS.pine},children:"My Zone"})}):(0,r.jsx)("button",{type:"button",onClick:function(){S(!1),F()},className:"flex h-11 items-center justify-center rounded-[8px] border text-[14px] font-bold",style:{borderColor:b.SS.pine,color:b.SS.pine},children:"Login"})]})]})]})]})}},293:function(e,n,t){t.d(n,{AP:function(){return i},BA:function(){return c},SS:function(){return s},fQ:function(){return o},ou:function(){return l},rZ:function(){return a}});var r=t(96076),l="".concat(r.rZ,"/swayamshakti"),s={forest:"#0F3E2F",forestDeep:"#004826",ink:"#0F3525",pine:"#1C503A",sage:"#2C4C3E",navMuted:"#5F6C64",magenta:"#C2185C",magentaLight:"#DE4087",magentaDeep:"#92003F",plum:"#7A1140",gold:"#D5963B",amber:"#FFBE09",amberDeep:"#D78500",butter:"#F2B139",peach:"#FBA87C",cream:"#FDF0DF",butterLight:"#FFF1D1",page:"#FAF1E3",body:"#6B5E51",hairline:"#E8E5DF",white:"#FFFFFF"},o={quote:"linear-gradient(90deg, #D53379 0%, #92003F 100%)",statsBar:"linear-gradient(90deg, #D12E74 0%, #960041 100%)",primaryCta:"linear-gradient(180deg, #DE4087 0%, #C2185C 100%)",amber:"linear-gradient(90deg, #FFBE09 0%, #D78500 100%)",ctaPanel:"linear-gradient(90deg, #D12E74 0%, #7A1140 100%)"},i={statsBar:"0px 8px 12px 0px rgba(27,44,36,0.04)",cta:"0px 4px 2px 0px rgba(0,0,0,0.25)",card:"0px 8px 24px 0px rgba(27,44,36,0.06)"},a="mx-auto w-full max-w-[1440px] px-5 sm:px-10 lg:px-[70px]",c={home:"/",about:"/#meri-kahani",courses:"/new-courses",freeCourses:"/free-courses",resources:"/#healing-resources",workshops:"/workshops",blog:"/feed",books:"/books",videos:"/featured-videos",studyMaterial:"/study-material",bookCall:"/#popular-programs",community:"/free-courses",meditations:"/free-courses",leadersCouncil:"/workshops",contact:"/#app-download",terms:"/terms",privacy:"/privacy-policy",refund:"/refund-policy"}}}]);
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.