PageSourceSearch

https://enso-five.vercel.app/_next/static/chunks/app/(site)/layout-c48848263a1f2b7c.js

js enso-five.vercel.app collected 2026-10-03 06:53:53 UTC 7,676 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6750],{23657:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});var r=l(95155),n=l(65895),a=l(20063);function s(e){let{children:t}=e,l=(0,a.usePathname)();return(0,r.jsx)(n.P.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.9,ease:"easeOut"},children:t},l)}},50176:(e,t,l)=>{"use strict";l.d(t,{Nav:()=>c});var r=l(95155),n=l(52619),a=l.n(n),s=l(12115);let i=s.forwardRef(function(e,t){let{title:l,titleId:r,...n}=e;return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":r},n),l?s.createElement("title",{id:r},l):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}),o=s.forwardRef(function(e,t){let{title:l,titleId:r,...n}=e;return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":r},n),l?s.createElement("title",{id:r},l):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}),d=[{href:"/",label:"Home"},{href:"/programs",label:"Our Programs"},{href:"/services",label:"Services"},{href:"/gallery",label:"Gallery"},{href:"/start-a-conversation",label:"Start a conversation"},{href:"/faq",label:"FAQ"},{href:"/about",label:"My Journey"}];function c(){let[e,t]=(0,s.useState)(!1),[l,n]=(0,s.useState)(!1),[c,u]=(0,s.useState)("/ENSOLOGO1.gif"),m=(0,s.useRef)(!1);return(0,s.useEffect)(()=>{let e=()=>n(window.scrollY>20);return e(),window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,s.useEffect)(()=>{if(m.current)return;m.current=!0;let e=()=>{u("/ENSOLOGO1.gif?ts=".concat(Date.now()))};e();let t=setInterval(e,1e4);return()=>clearInterval(t)},[]),(0,r.jsxs)("header",{className:"fixed inset-x-0 top-0 z-50 transition-all duration-500 ".concat(l?"bg-white/60 backdrop-blur-md shadow-sm":"bg-transparent"),children:[(0,r.jsxs)("nav",{className:"mx-auto flex max-w-7xl items-center justify-between px-6 h-[80px]",children:[(0,r.jsx)(a(),{href:"/",className:"flex items-center",children:(0,r.jsx)("img",{src:c,alt:"Enso logo",className:"h-[100px] md:h-[110px] w-auto object-contain",draggable:!1})}),(0,r.jsx)("div",{className:"hidden lg:flex gap-8",children:d.map(e=>(0,r.jsx)(a(),{href:e.href,className:"relative text-[18px] font-medium text-[#111] transition-all duration-300 hover:text-[#4A5568] after:absolute after:bottom-[-4px] after:left-0 after:h-[2px] after:w-0  after:bg-[#111] after:transition-all after:duration-300  hover:after:w-full",children:e.label},e.href))}),(0,r.jsx)("button",{className:"lg:hidden text-[#111] hover:text-[#4A5568] transition-colors",onClick:()=>t(e=>!e),"aria-label":"Menu",children:e?(0,r.jsx)(i,{className:"h-6 w-6"}):(0,r.jsx)(o,{className:"h-6 w-6"})})]}),e&&(0,r.jsx)("div",{className:"lg:hidden bg-white/90 backdrop-blur-md border-t border-gray-200",children:(0,r.jsx)("div",{className:"mx-4 mb-4 rounded-2xl p-4",children:d.map(e=>(0,r.jsx)(a(),{href:e.href,onClick:()=>t(!1),className:"block rounded-xl px-3 py-2 text-[#111] hover:bg-gray-100 transition",children:e.label},e.href))})})]})}},59576:(e,t,l)=>{Promise.resolve().then(l.bind(l,23657)),Promise.resolve().then(l.bind(l,81746)),Promise.resolve().then(l.bind(l,50176)),Promise.resolve().then(l.bind(l,67308)),Promise.resolve().then(l.bind(l,63287)),Promise.resolve().then(l.t.bind(l,52619,23)),Promise.resolve().then(l.bind(l,18720))},81746:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});var r=l(95155),n=l(12115),a=l(15239);function s(e){let{data:t,imageUrl:l}=e,[s,i]=(0,n.useState)(!1),o=(0,n.useMemo)(()=>(null==t?void 0:t._id)?"enso_interstitial_seen_".concat(t._id):"enso_interstitial_none",[null==t?void 0:t._id]);(0,n.useEffect)(()=>{if(!(null==t?void 0:t._id)||!function(e){let t=Date.now(),l=e.startAt?new Date(e.startAt).getTime():null,r=e.endAt?new Date(e.endAt).getTime():null;return(null===l||!(t<l))&&(null===r||!(t>r))}(t))return;let e=t.showFrequency||"session";(()=>{if("always"===e)return!0;
1if("session"===e)return"1"!==sessionStorage.getItem(o);let t=localStorage.getItem(o);if(!t)return!0;let l=new Date(t),r=new Date;return l.getFullYear()!==r.getFullYear()||l.getMonth()!==r.getMonth()||l.getDate()!==r.getDate()})()&&i(!0)},[t,o]);let d=()=>{if(!(null==t?void 0:t._id))return;let e=t.showFrequency||"session";"session"===e&&sessionStorage.setItem(o,"1"),"daily"===e&&localStorage.setItem(o,new Date().toISOString()),i(!1)};if((0,n.useEffect)(()=>{if(!s)return;let e=e=>{"Escape"===e.key&&d()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[s]),(0,n.useEffect)(()=>{if(!s)return;let e=document.documentElement.style.overflow;return document.documentElement.style.overflow="hidden",()=>{document.documentElement.style.overflow=e}},[s]),!(null==t?void 0:t._id)||!s)return null;let c=!!(t.ctaUrl&&t.ctaLabel),u=!!l;return(0,r.jsxs)("div",{className:"fixed inset-0 z-[9999]",children:[(0,r.jsx)("button",{"aria-label":"Close popup",onClick:d,className:"absolute inset-0 bg-black/50 backdrop-blur-md"}),(0,r.jsx)("div",{className:"absolute inset-0 flex items-center justify-center p-4 md:p-8",children:(0,r.jsxs)("div",{className:"relative w-full max-w-[980px] overflow-hidden rounded-3xl bg-white shadow-[0_20px_80px_rgba(0,0,0,0.35)]",children:[(0,r.jsx)("button",{onClick:d,"aria-label":"Close",className:"absolute right-4 top-4 z-20 grid h-10 w-10 place-items-center rounded-full bg-white/90 shadow-sm ring-1 ring-black/10 hover:bg-white",children:(0,r.jsx)("span",{className:"text-[22px] leading-none text-black/80",children:"\xd7"})}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2",children:[(0,r.jsx)("div",{className:"min-h-[240px] md:min-h-[520px] bg-white p-6 md:p-10 flex items-center justify-center",children:u?(0,r.jsx)(a.default,{src:l,alt:t.title||"Promotion",width:1400,height:900,priority:!0,className:"h-full w-full object-contain"}):(0,r.jsx)("div",{className:"absolute inset-0 grid place-items-center p-10",children:(0,r.jsxs)("div",{className:"text-center text-black/50",children:[(0,r.jsx)("div",{className:"text-sm tracking-wide uppercase",children:"Enso"}),(0,r.jsx)("div",{className:"mt-2 text-lg font-medium",children:"Update"})]})})}),(0,r.jsxs)("div",{className:"p-6 md:p-10",children:[t.subtitle&&(0,r.jsx)("div",{className:"text-xs tracking-[0.22em] uppercase text-black/45",children:t.subtitle}),t.title&&(0,r.jsx)("h3",{className:"mt-3 text-[28px] md:text-[34px] leading-tight font-semibold text-black",children:t.title}),t.description&&(0,r.jsx)("p",{className:"mt-4 text-[15px] md:text-[16px] leading-[1.75] text-black/70",children:t.description}),(0,r.jsxs)("div",{className:"mt-7 flex flex-wrap items-center gap-3",children:[c?(0,r.jsx)("a",{href:t.ctaUrl,className:"inline-flex items-center justify-center rounded-full px-6 py-3 text-[14px] font-medium bg-black text-white hover:opacity-90",children:t.ctaLabel}):null,(0,r.jsx)("button",{onClick:d,className:"inline-flex items-center justify-center rounded-full px-6 py-3 text-[14px] font-medium bg-black/5 hover:bg-black/10 text-black/80",children:"Not now"})]})]})]})]})})]})}},83294:(e,t,l)=>{"use strict";l.d(t,{Q:()=>n});var r=l(30926);let n=(0,r.createServerReference)("7fa9f72b11ad80fac7a11a2befded6e4dd7f90e25f",r.callServer,void 0,r.findSourceMapURL,"revalidateSyncTags")}},e=>{e.O(0,[5681,6161,6941,8720,2619,8441,1255,7358],()=>e(e.s=59576)),_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.