1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{3044:function(e,t,n){Promise.resolve().then(n.t.bind(n,3975,23)),Promise.resolve().then(n.t.bind(n,5269,23)),Promise.resolve().then(n.bind(n,9522)),Promise.resolve().then(n.bind(n,3322)),Promise.resolve().then(n.bind(n,204)),Promise.resolve().then(n.t.bind(n,2972,23))},9522:function(e,t,n){"use strict";n.d(t,{default:function(){return c}});var s=n(7437),a=n(5775),r=n.n(a),l=n(2265);let o=()=>(0,s.jsxs)("section",{className:"relative w-full min-h-screen flex flex-col justify-center items-center bg-blue-700",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-blue-900/50"}),(0,s.jsx)("div",{className:"container relative z-10 text-center px-4 sm:px-6 lg:px-8 flex flex-col justify-center items-center h-full mt-16",children:(0,s.jsx)("div",{className:"max-w-3xl mx-auto",children:(0,s.jsxs)("div",{className:"animate-pulse space-y-8",children:[(0,s.jsx)("div",{className:"h-6 w-64 bg-white/20 rounded-full mx-auto"}),(0,s.jsx)("div",{className:"h-16 bg-white/20 rounded-lg"}),(0,s.jsx)("div",{className:"h-16 bg-white/20 rounded-lg"}),(0,s.jsx)("div",{className:"h-24 bg-white/10 rounded-lg max-w-2xl mx-auto"}),(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[(0,s.jsx)("div",{className:"h-12 w-40 bg-amber-600/50 rounded-lg mx-auto"}),(0,s.jsx)("div",{className:"h-12 w-40 bg-white/20 rounded-lg mx-auto"}),(0,s.jsx)("div",{className:"h-12 w-40 bg-white/20 rounded-lg mx-auto"})]})]})})})]}),i=r()(()=>n.e(707).then(n.bind(n,5707)),{loadableGenerated:{webpack:()=>[5707]},ssr:!1,loading:o});function c(){return(0,s.jsx)(l.Suspense,{fallback:(0,s.jsx)(o,{}),children:(0,s.jsx)(i,{})})}},3322:function(e,t,n){"use strict";n.d(t,{default:function(){return d}});var s=n(7437),a=n(2265),r=n(7648),l=n(2489),o=n(8293),i=n(1047),c=n(9376);function d(){let[e,t]=(0,a.useState)(!1),[n,d]=(0,a.useState)(!1),u=(0,c.usePathname)(),m="/"===u,f=[{name:"About Us",href:"/about"},{name:"Programs & Trainings",href:"/programs"},{name:"Learn with Us",href:"/learn"},{name:"Contact",href:"/contact"}];return(0,a.useEffect)(()=>{let e=()=>{window.scrollY>50?d(!0):d(!1)};if(m)return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)};d(!0)},[m]),(0,a.useEffect)(()=>{let n=n=>{let s=document.getElementById("mobile-menu");e&&s&&!s.contains(n.target)&&!n.target.closest('button[aria-label="Toggle menu"]')&&t(!1)};return e&&document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e]),(0,a.useEffect)(()=>{t(!1)},[u]),(0,s.jsx)("header",{className:"fixed top-0 left-0 right-0 z-50 w-full transition-all duration-500 py-4 ".concat(n||!m||e?"bg-white border-b border-gray-100":"bg-transparent"),children:(0,s.jsxs)("div",{className:"container max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 relative",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)(r.default,{href:"/",className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"relative h-10 w-10 flex items-center justify-center",children:(0,s.jsx)("img",{src:"/stoic-flower-logo-new.png",alt:"The Stoic Mastermind Foundation Logo",width:40,height:40,className:"object-contain"})}),(0,s.jsx)("span",{className:"text-sm md:text-base font-bold transition-colors duration-300 ".concat(n||!m||e?"text-gray-900":"text-white"),style:{textShadow:n||!m||e?"none":"0px 1px 3px rgba(0,0,0,0.5)"},children:"The Stoic Mastermind Foundation"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-6",children:[(0,s.jsx)("nav",{className:"hidden md:flex gap-8",children:f.map(t=>(0,s.jsx)(r.default,{href:t.href,className:"text-sm transition-colors hover:text-amber-400 ".concat(n||!m||e?"text-gray-800":"text-white"),style:{textShadow:n||!m||e?"none":"0px 1px 3px rgba(0,0,0,0.5)",fontWeight:u===t.href?"700":"500"},children:t.name},t.name))}),(0,s.jsx)("a",{href:"https://givebutter.com/rpH6bm",target:"_blank",rel:"noopener noreferrer",className:"hidden md:inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium px-6 py-2 transition-all duration-300 bg-amber-600 text-white hover:bg-amber-700 shadow-sm hover:shadow-md",children:"Donate"}),(0,s.jsxs)("button",{"aria-label":"Toggle menu",className:"md:hidden p-2 rounded-md ".concat(n||!m||e?"text-gray-800":"text-white"),onClick:()=>t(!e),children:[e?(0,s.jsx)(l.Z,{className:"h-6 w-6"}):(0,s.jsx)(o.Z,{className:"h-6 w-6"}),(0,s.jsx)("span",{className:"sr-only",children:"Toggle menu"})]})]})]}
1),e&&(0,s.jsx)("div",{id:"mobile-menu",className:"fixed top-[60px] left-0 right-0 bottom-0 bg-white z-50 md:hidden overflow-auto",children:(0,s.jsxs)("div",{className:"px-4 py-6 space-y-4 border-t border-gray-100",children:[f.map(e=>(0,s.jsx)(r.default,{href:e.href,className:"block text-base text-gray-700 transition-colors hover:text-amber-600 py-2",style:{fontWeight:u===e.href?"700":"500"},onClick:()=>t(!1),children:e.name},e.name)),(0,s.jsxs)("div",{className:"pt-4 flex flex-col gap-3",children:[(0,s.jsxs)("a",{href:"/contact",onClick:()=>t(!1),className:"inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium px-4 py-2 bg-white border-2 border-amber-600 text-amber-600 hover:bg-amber-50 transition-all duration-300 shadow-sm hover:shadow-md",children:["Book a Session ",(0,s.jsx)(i.Z,{className:"ml-2 h-4 w-4"})]}),(0,s.jsx)("a",{href:"https://givebutter.com/rpH6bm",target:"_blank",rel:"noopener noreferrer",onClick:()=>t(!1),className:"inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium px-4 py-2 bg-amber-600 text-white hover:bg-amber-700 transition-all duration-300 shadow-sm hover:shadow-md",children:"Donate"})]})]})})]})})}},204:function(e,t,n){"use strict";n.d(t,{default:function(){return r}});var s=n(7437),a=n(2265);function r(e){let{src:t,alt:n,className:r="",fallbackColor:l="#e5e7eb",isBackground:o=!1}=e,[i,c]=(0,a.useState)(t),[d,u]=(0,a.useState)(!0),[m,f]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{let e=new Image,n=[t,"/".concat(t),"../".concat(t),"../../".concat(t),"./images/".concat(t),"/images/".concat(t),"../images/".concat(t)],s=0,a=()=>{s<n.length?(e.src=n[s],s++):(u(!1),f(!0),console.error("Failed to load image after trying multiple paths: ".concat(t)))};return e.onload=()=>{c(e.src),u(!1),f(!1)},e.onerror=()=>{a()},a(),()=>{e.onload=null,e.onerror=null}},[t]),o)?(0,s.jsxs)("div",{className:"".concat(r),style:{backgroundColor:d||m?l:"transparent",backgroundImage:d||m?"none":"url(".concat(i,")"),backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",position:"relative",width:"100%",height:"100%"},children:[d&&(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-gray-200 animate-pulse",children:(0,s.jsx)("span",{className:"sr-only",children:"Loading..."})}),!d&&m&&(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",style:{backgroundColor:l},children:(0,s.jsxs)("div",{className:"text-center p-4",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-10 w-10 mx-auto text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"})}),(0,s.jsx)("p",{className:"mt-2 text-sm text-gray-500",children:n})]})})]}):(0,s.jsxs)("div",{className:"relative ".concat(r),style:{backgroundColor:d||m?l:"transparent",position:"relative",overflow:"hidden"},children:[d&&(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-gray-200 animate-pulse",children:(0,s.jsx)("span",{className:"sr-only",children:"Loading..."})}),!d&&m&&(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-gray-100",children:(0,s.jsxs)("div",{className:"text-center p-4",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-10 w-10 mx-auto text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"})}),(0,s.jsx)("p",{className:"mt-2 text-sm text-gray-500",children:n})]})}),!m&&(0,s.jsx)("img",{src:i||"/placeholder.svg",alt:n,className:"w-full h-full object-cover ".concat(d?"opacity-0":"opacity-100"),onError:()=>{f(!0)}})]})}},5775:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});let s=n(7043);n(7437),n(2265);let a=s._(n(5602));function r(e,t){var n;let s={loading:e=>{let{error:t,isLoading:n,pastDelay:s}=e;return null}};"function"==typeof e&&(s.loader=e);let r={...s,...t};return(0,a.default)({...r,modules:null==(n=r.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1523:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return a}});let s=n(8993);function a(e){let{reason:t,children:n}=e;if("undefined"==typeof window)throw new s.BailoutToCSRError(t);return n}},5602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let s=n(7437),a=n(2265),r=n(1523),l=n(49);function o(e){return{default:e&&"default"in e?e.default:e}}let i={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},c=function(e){let t={...i,...e},n=(0,a.lazy)(()=>t.loader().then(o)),c=t.loading;function d(e){let o=c?(0,s.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,i=t.ssr?(0,s.jsxs)(s.Fragment,{children:["undefined"==typeof window?(0,s.jsx)(l.PreloadCss,{moduleIds:t.modules}):null,(0,s.jsx)(n,{...e})]}):(0,s.jsx)(r.BailoutToCSR,{reason:"next/dynamic",children:(0,s.jsx)(n,{...e})});return(0,s.jsx)(a.Suspense,{fallback:o,children:i})}return d.displayName="LoadableComponent",d}},49:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return r}});let s=n(7437),a=n(544);function r(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let n=(0,a.getExpectedRequestStore)("next/dynamic css"),r=[];if(n.reactLoadableManifest&&t){let e=n.reactLoadableManifest;for(let n of t){if(!e[n])continue;let t=e[n].files.filter(e=>e.endsWith(".css"));r.push(...t)}}return 0===r.length?null:(0,s.jsx)(s.Fragment,{children:r.map(e=>(0,s.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:n.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},3975:function(){},5269:function(){}},function(e){e.O(0,[338,221,971,117,744],function(){return e(e.s=3044)}),_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.