5 lines
14 KiB
JavaScript
5 lines
14 KiB
JavaScript
;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="61585caf-b0b2-9810-b3d9-29714ac65c41")}catch(e){}}();
|
|
module.exports=[44180,a=>{"use strict";var b=a.i(998511),c=a.i(892858),d=a.i(122490);function e({companyInfo:a}){return(0,b.jsxs)("footer",{className:"bg-neutral-dark text-neutral-light py-16",children:[(0,b.jsxs)("div",{className:"container grid grid-cols-1 md:grid-cols-4 gap-12",children:[(0,b.jsxs)("div",{className:"col-span-1 md:col-span-2",children:[(0,b.jsx)(c.default,{href:"/",className:"relative block h-14 w-56 mb-6",children:(0,b.jsx)(d.default,{src:"/assets/logo-white.png",alt:"E-TIB Gruppe",fill:!0,className:"object-contain object-left"})}),(0,b.jsx)("p",{className:"text-text-light max-w-sm mb-6",children:"Die Experten für Kabeltiefbau, Horizontalspülbohrungen, komplexe Querungen und umfassende Infrastrukturprojekte."}),a&&(0,b.jsxs)("div",{className:"text-text-light text-sm space-y-2 mt-6 border-t border-white/10 pt-6 max-w-xs",children:[(0,b.jsx)("p",{className:"whitespace-pre-line",children:a.address}),(0,b.jsxs)("p",{children:["Email: ",(0,b.jsx)("a",{href:`mailto:${a.contactEmail}`,className:"hover:text-white",children:a.contactEmail})]}),(0,b.jsxs)("p",{children:["Tel: ",(0,b.jsx)("a",{href:`tel:${a.contactPhone.replace(/\\s+/g,"")}`,className:"hover:text-white",children:a.contactPhone})]})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("h4",{className:"font-heading font-semibold text-lg mb-4",children:"Unternehmen"}),(0,b.jsxs)("ul",{className:"space-y-2",children:[(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:"/kompetenzen",className:"text-text-light hover:text-primary-light transition-colors",children:"Kompetenzen"})}),(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:"/ueber-uns",className:"text-text-light hover:text-primary-light transition-colors",children:"Über uns"})}),(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:"/karriere",className:"text-text-light hover:text-primary-light transition-colors",children:"Karriere / Jobs"})}),(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:"/kontakt",className:"text-text-light hover:text-primary-light transition-colors",children:"Kontakt"})})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("h4",{className:"font-heading font-semibold text-lg mb-4",children:"Rechtliches"}),(0,b.jsxs)("ul",{className:"space-y-2",children:[(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:"/impressum",className:"text-text-light hover:text-primary-light transition-colors",children:"Impressum"})}),(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:"/datenschutz",className:"text-text-light hover:text-primary-light transition-colors",children:"Datenschutz"})}),(0,b.jsx)("li",{children:(0,b.jsx)("button",{className:"text-text-light hover:text-primary-light transition-colors",children:"Cookie-Einstellungen"})})]})]})]}),(0,b.jsx)("div",{className:"container mt-12 pt-8 border-t border-neutral-dark/40 border-t-white/10 text-center text-text-light text-sm",children:(0,b.jsxs)("p",{children:["© ",new Date().getFullYear()," E-TIB GmbH. Alle Rechte vorbehalten."]})})]})}a.s(["Footer",()=>e])},19575,a=>{"use strict";a.s(["Header",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call Header() from the server but Header 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]/components/layout/Header.tsx <module evaluation>","Header")},625244,a=>{"use strict";a.s(["Header",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call Header() from the server but Header 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]/components/layout/Header.tsx","Header")},399508,a=>{"use strict";a.i(19575);var b=a.i(625244);a.n(b)},196461,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/SkipLink.tsx <module evaluation> from the server, but it's 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]/components/SkipLink.tsx <module evaluation>","default")},566663,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/SkipLink.tsx from the server, but it's 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]/components/SkipLink.tsx","default")},61060,a=>{"use strict";a.i(196461);var b=a.i(566663);a.n(b)},340835,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/CMSConnectivityNotice.tsx <module evaluation> from the server, but it's 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]/components/CMSConnectivityNotice.tsx <module evaluation>","default")},218501,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/CMSConnectivityNotice.tsx from the server, but it's 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]/components/CMSConnectivityNotice.tsx","default")},372906,a=>{"use strict";a.i(340835);var b=a.i(218501);a.n(b)},205543,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/analytics/AnalyticsShell.tsx <module evaluation> from the server, but it's 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]/components/analytics/AnalyticsShell.tsx <module evaluation>","default")},292727,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/analytics/AnalyticsShell.tsx from the server, but it's 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]/components/analytics/AnalyticsShell.tsx","default")},287274,a=>{"use strict";a.i(205543);var b=a.i(292727);a.n(b)},624317,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/node_modules/.pnpm/next-intl@4.9.0_@swc+helpers@0.5.20_next@16.1.6_@babel+core@7.29.0_@opentelemetry+api@1_5cb25dbd0384afd6e865a90a66b8b329/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js <module evaluation> from the server, but it's 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]/node_modules/.pnpm/next-intl@4.9.0_@swc+helpers@0.5.20_next@16.1.6_@babel+core@7.29.0_@opentelemetry+api@1_5cb25dbd0384afd6e865a90a66b8b329/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js <module evaluation>","default")},963034,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/node_modules/.pnpm/next-intl@4.9.0_@swc+helpers@0.5.20_next@16.1.6_@babel+core@7.29.0_@opentelemetry+api@1_5cb25dbd0384afd6e865a90a66b8b329/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js from the server, but it's 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]/node_modules/.pnpm/next-intl@4.9.0_@swc+helpers@0.5.20_next@16.1.6_@babel+core@7.29.0_@opentelemetry+api@1_5cb25dbd0384afd6e865a90a66b8b329/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js","default")},60009,a=>{"use strict";a.i(624317);var b=a.i(963034);a.n(b)},632455,a=>{"use strict";var b=a.i(783505),c=a.i(146319);let d=(0,b.cache)(async function(a){var b=await (0,c.default)(a);if(!b.messages)throw Error("No messages found. Have you configured them correctly? See https://next-intl.dev/docs/configuration#messages");return b.messages});async function e(a){return d(a?.locale)}a.s(["default",()=>e])},966681,a=>{"use strict";var b=a.i(783505),c=a.i(146319);let d=(0,b.cache)(async function(a){return(await (0,c.default)(a)).now}),e=(0,b.cache)(async function(){return(await (0,c.default)()).formats});var f=a.i(60009),g=a.i(998511);let h=(0,b.cache)(async function(a){return(await (0,c.default)(a)).timeZone});async function i(a){return h(a?.locale)}var j=a.i(632455);let k=(0,b.cache)(async function(){return(await (0,c.default)()).locale});async function l({formats:a,locale:b,messages:c,now:h,timeZone:l,...m}){return(0,g.jsx)(f.default,{formats:void 0===a?await e():a,locale:b??await k(),messages:void 0===c?await (0,j.default)():c,now:h??await d(),timeZone:l??await i(),...m})}a.s(["NextIntlClientProvider",()=>l],966681)},298605,a=>{"use strict";var b=a.i(632455);a.s(["getMessages",()=>b.default])},332501,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/FeedbackClientWrapper.tsx <module evaluation> from the server, but it's 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]/components/FeedbackClientWrapper.tsx <module evaluation>","default")},679583,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/FeedbackClientWrapper.tsx from the server, but it's 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]/components/FeedbackClientWrapper.tsx","default")},318249,a=>{"use strict";a.i(332501);var b=a.i(679583);a.n(b)},793183,a=>{a.v({className:"inter_2fe1ab3d-module__-T-KAq__className",variable:"inter_2fe1ab3d-module__-T-KAq__variable"})},254269,a=>{"use strict";var b=a.i(793183);let c={className:b.default.className,style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"}};null!=b.default.variable&&(c.variable=b.default.variable),a.s(["default",0,c])},627641,a=>a.a(async(b,c)=>{try{var d=a.i(998511),e=a.i(44180),f=a.i(399508),g=a.i(206417),h=a.i(61060),i=a.i(372906),j=a.i(287274),k=a.i(966681),l=a.i(298605),m=a.i(630035),n=(a.i(318249),a.i(838742)),o=a.i(254269),p=a.i(488582),q=a.i(273824),r=b([q]);async function s(a){let{locale:b}=await a.params,c=process.env.CI?"http://etib.localhost":m.SITE_URL;return{title:{template:"%s | E-TIB",default:"E-TIB | Die Experten für Kabeltiefbau"},description:"Ihr Partner für Kabelleitungstiefbau, Horizontalspülbohrungen, Planung und Vermessung in Guben und überregional.",metadataBase:new URL(c),manifest:"/manifest.webmanifest",alternates:{canonical:`${c}/${b}`,languages:{de:`${c}/de`,en:`${c}/en`}},icons:{icon:[{url:"/favicon.ico",sizes:"any"},{url:"/assets/logo.png",type:"image/png"}],apple:[{url:"/assets/logo.png",sizes:"180x180",type:"image/png"}]}}}async function t(b){let{locale:c}=await b.params,{children:m}=b,r=("string"==typeof c?c:"").trim(),s=["en","de"].includes(r)?r:"en";(0,n.setRequestLocale)(s);let t={};try{t=await (0,l.getMessages)()}catch{t={}}let u=await (0,p.getPayload)({config:q.default}),v=await u.findGlobal({slug:"settings",locale:s}).catch(()=>null),w=v?.mainNav&&v.mainNav.length>0?v.mainNav.map(a=>({label:a.label,url:a.url})):[{label:"Kompetenzen",url:`/${s}/kompetenzen`},{label:"Über uns",url:`/${s}/ueber-uns`},{label:"Karriere & Messen",url:`/${s}/karriere`}],x={contactEmail:v?.contactEmail||"info@e-tib.com",contactPhone:v?.contactPhone||"+49 15207230518",address:v?.address||"Gewerbestraße 22\\n03172 Guben"},y={};for(let a of["Footer","Navigation","Contact","Products","Team","Home","Error","StandardPage","Brochure"])t[a]&&(y[a]=t[a]);let{getServerAppServices:z}=await a.A(631626),A=z();try{let{headers:b}=await a.A(274184),c=await b();"true"===process.env.NEXT_PUBLIC_CI||"setServerContext"in A.analytics&&A.analytics.setServerContext({userAgent:c.get("user-agent")||void 0,language:c.get("accept-language")?.split(",")[0]||void 0,referrer:c.get("referer")||void 0,ip:c.get("x-forwarded-for")?.split(",")[0]||void 0})}catch{process.env.CI||console.warn("[Layout] Static generation detected or headers unavailable, skipping server-side analytics context")}return(0,d.jsxs)("html",{lang:s,className:`scroll-smooth overflow-x-hidden ${o.default.variable}`,"data-scroll-behavior":"smooth",children:[(0,d.jsxs)("head",{children:[(0,d.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,d.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,d.jsx)("link",{rel:"preconnect",href:"https://img.infra.mintel.me"})]}),(0,d.jsx)("body",{className:"flex flex-col min-h-screen font-sans selection:bg-accent selection:text-primary-dark antialiased overflow-x-hidden",children:(0,d.jsxs)(k.NextIntlClientProvider,{messages:y,locale:s,children:[(0,d.jsx)(h.default,{}),(0,d.jsx)(f.Header,{navLinks:w}),(0,d.jsx)("main",{id:"main-content",className:"flex-grow animate-fade-in overflow-visible",tabIndex:-1,children:m}),(0,d.jsx)(e.Footer,{companyInfo:x}),(0,d.jsx)(g.default,{}),(0,d.jsx)(i.default,{}),(0,d.jsx)(j.default,{}),!1]})})]})}[q]=r.then?(await r)():r,a.s(["default",()=>t,"generateMetadata",()=>s,"viewport",0,{width:"device-width",initialScale:1,maximumScale:5,userScalable:!0,viewportFit:"cover",themeColor:"#117c61"}]),c()}catch(a){c(a)}},!1)];
|
|
|
|
//# debugId=61585caf-b0b2-9810-b3d9-29714ac65c41
|
|
//# sourceMappingURL=%5Broot-of-the-server%5D__b67d1ec7._.js.map
|