module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},96736,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},26298,a=>{a.v("/_next/static/media/favicon.2vob68tjqpejf.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},92214,a=>{"use strict";let b={src:a.i(26298).default,width:256,height:256};a.s(["default",0,b])},95258,a=>{"use strict";a.s(["PageAnimationWrapper",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call PageAnimationWrapper() from the server but PageAnimationWrapper is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/apps/web/src/components/home/PageAnimationWrapper.tsx <module evaluation>","PageAnimationWrapper")},66410,a=>{"use strict";a.s(["PageAnimationWrapper",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call PageAnimationWrapper() from the server but PageAnimationWrapper is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/apps/web/src/components/home/PageAnimationWrapper.tsx","PageAnimationWrapper")},9408,a=>{"use strict";a.i(95258);var b=a.i(66410);a.n(b)},28086,a=>{"use strict";var b=a.i(7997),c=a.i(32776);a.i(70396);var d=a.i(73727),e=a.i(99716),f=a.i(9408),g=a.i(62825),h=a.i(84808),i=a.i(87296),j=a.i(31689);async function k({params:a}){let{slug:b,locale:c}=await a;try{let a=await (0,j.fetchPageNodeChain)(b,c);if(a){let b=await (0,j.fetchGlobalSettings)(c);return{title:`${a.title} ${b?.titleSuffix??""}`.trim()}}return{title:"Not found"}}catch{return{title:"Not found"}}}function l(){return(0,b.jsx)("main",{className:"flex min-h-screen items-center justify-center bg-(--surface) text-(--ink)",children:(0,b.jsx)("p",{className:"text-lg text-(--ink-muted)",children:"Content unavailable. Please ensure the CMS is running."})})}async function m(a,b){let c;try{c=await (0,j.fetchPageNodeChain)(a,b)}catch(a){if(a instanceof j.StrapiFetchError&&404===a.status)return{kind:"not-found"};return{kind:"error",cause:a}}if(!c)return{kind:"not-found"};let d=(0,h.normalizePagePayload)(c),e=await (0,j.fetchGlobalSettings)(b);return e&&(d.brand=e.siteName??"",d.logo=e.logo?{src:e.logo.url.startsWith("http")?e.logo.url:`${process.env.STRAPI_URL??"http://localhost:1337"}${e.logo.url}`,alt:e.logo.alternativeText??void 0,width:e.logoWidth??"3.2rem",height:e.logoHeight??"auto"}:void 0,d.topLinks=(e.footerTopLinks??[]).map(a=>({label:a.label,href:a.href,variant:a.variant})),d.navItems=(e.footerNavItems??[]).map(a=>({label:a.label,href:a.href,variant:a.variant})),d.whatsappNumber=e.whatsappNumber??"",d.whatsappCountryCode=e.whatsappCountryCode??"+62",d.inquiryTypeOptions=e.inquiryTypeOptions??[],d.strapiUrl=process.env.STRAPI_URL??"http://localhost:1337"),{kind:"ok",config:d,globalFooter:e?(0,i.toGlobalFooterData)(e):{brand:"",topLinks:[],navItems:[],socials:[]}}}async function n({params:a}){let{slug:h,locale:i}=await a,j=await (0,c.getTranslations)({locale:i,namespace:"HomePage"}),k=await m(h,i);if("not-found"===k.kind&&(0,d.notFound)(),"error"===k.kind)return console.error(`Failed to fetch page "${h.join("/")}" from Strapi:`,k.cause),(0,b.jsx)(l,{});let o=k.config.footerBlocks.length>0;return(0,b.jsxs)("main",{className:"bg-(--surface) text-(--ink)",children:[(0,b.jsx)(f.PageAnimationWrapper,{variant:"fade",children:(0,e.renderHomeSections)({config:k.config,t:j,locale:i})}),o?k.config.footerBlocks.map((a,c)=>(0,b.jsx)(g.FooterSection,{footerData:{brand:a.brand,topLinks:a.topLinks,navItems:a.navItems,socials:a.socials,addresses:k.globalFooter.addresses,ctaHref:a.ctaHref||k.globalFooter.ctaHref,ctaLabel:a.ctaLabel||k.globalFooter.ctaLabel,ctaHide:a.ctaHide??k.globalFooter.ctaHide},t:j},`footer-${c}`)):(0,b.jsx)(g.FooterSection,{footerData:k.globalFooter,t:j})]})}a.s(["default",0,n,"dynamic",0,"force-dynamic","generateMetadata",0,k,"generateStaticParams",0,function(){return[]}])},33706,a=>{a.n(a.i(28086))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__0bcbfj5._.js.map