Files
e-tib.com/.next/server/chunks/ssr/[root-of-the-server]__bc75933a._.js
2026-05-07 13:56:26 +02:00

5 lines
19 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]="e0fb04b0-3486-c58d-20f4-5dd7ff6c594f")}catch(e){}}();
module.exports=[77553,a=>{"use strict";a.s(["LanguageSwitcher",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call LanguageSwitcher() from the server but LanguageSwitcher 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/LanguageSwitcher.tsx <module evaluation>","LanguageSwitcher")},168713,a=>{"use strict";a.s(["LanguageSwitcher",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call LanguageSwitcher() from the server but LanguageSwitcher 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/LanguageSwitcher.tsx","LanguageSwitcher")},940273,a=>{"use strict";a.i(77553);var b=a.i(168713);a.n(b)},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)},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)},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"})},627641,a=>{"use strict";var b=a.i(998511),c=a.i(892858),d=a.i(122490),e=a.i(146319),f=a.i(783505),g=f["use".trim()];let h=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),i=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var j={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let k=(0,f.forwardRef)(({color:a="currentColor",size:b=24,strokeWidth:c=2,absoluteStrokeWidth:d,className:e="",children:g,iconNode:i,...k},l)=>(0,f.createElement)("svg",{ref:l,...j,width:b,height:b,stroke:a,strokeWidth:d?24*Number(c)/Number(b):c,className:h("lucide",e),...!g&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...i.map(([a,b])=>(0,f.createElement)(a,b)),...Array.isArray(g)?g:[g]])),l=(a,b)=>{let c=(0,f.forwardRef)(({className:c,...d},e)=>(0,f.createElement)(k,{ref:e,iconNode:b,className:h(`lucide-${i(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,c),...d}));return c.displayName=i(a),c},m=l("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),n=l("leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]),o=l("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]),p=l("accessibility",[["circle",{cx:"16",cy:"4",r:"1",key:"1grugj"}],["path",{d:"m18 19 1-7-6 1",key:"r0i19z"}],["path",{d:"m5 8 3-3 5.5 3-2.36 3.5",key:"9ptxx2"}],["path",{d:"M4.24 14.5a5 5 0 0 0 6.88 6",key:"10kmtu"}],["path",{d:"M13.76 17.5a5 5 0 0 0-6.88-6",key:"2qq6rc"}]]),q=l("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);var r=a.i(940273);function s({companyInfo:a}){let f=function(a){var b=(0,e.default)();try{return g(b)}catch(b){throw b instanceof TypeError&&b.message.includes("Cannot read properties of null (reading 'use')")?Error(`\`${a}\` is not callable within an async component. Please refer to https://next-intl.dev/docs/environments/server-client-components#async-components`,{cause:b}):b}}("useLocale").locale;return(0,b.jsxs)("footer",{className:"bg-neutral-dark text-neutral-light py-16 relative overflow-hidden",children:[(0,b.jsx)("div",{className:"absolute top-0 left-0 w-full h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),(0,b.jsxs)("div",{className:"container grid grid-cols-1 md:grid-cols-4 lg:grid-cols-12 gap-12 lg:gap-8 mb-12",children:[(0,b.jsxs)("div",{className:"col-span-1 md:col-span-2 lg:col-span-4 space-y-6",children:[(0,b.jsx)(c.default,{href:`/${f}`,className:"relative block h-14 w-48 mb-6 group",children:(0,b.jsx)(d.default,{src:"/assets/logo-white.png",alt:"E-TIB Gruppe",fill:!0,className:"object-contain object-left transition-transform duration-500 group-hover:scale-105"})}),(0,b.jsx)("p",{className:"text-white/60 text-base leading-relaxed max-w-sm",children:"de"===f?"Die Experten für Kabeltiefbau, Horizontalspülbohrungen und umfassende Infrastrukturprojekte. Qualität und Zuverlässigkeit aus Guben.":"Experts in cable construction, horizontal directional drilling, and comprehensive infrastructure projects. Quality and reliability from Guben."}),a&&(0,b.jsxs)("div",{className:"text-white/70 text-sm space-y-3 mt-8 border-t border-white/10 pt-6 max-w-xs",children:[(0,b.jsx)("p",{className:"whitespace-pre-line font-medium",children:a.address}),(0,b.jsxs)("p",{children:["Email: ",(0,b.jsx)("a",{href:`mailto:${a.contactEmail}`,className:"hover:text-primary transition-colors",children:a.contactEmail})]}),(0,b.jsxs)("p",{children:["Tel: ",(0,b.jsx)("a",{href:`tel:${a.contactPhone.replace(/\s+/g,"")}`,className:"hover:text-primary transition-colors",children:a.contactPhone})]})]})]}),(0,b.jsxs)("div",{className:"col-span-1 lg:col-span-3 lg:col-start-6",children:[(0,b.jsx)("h4",{className:"font-heading font-bold uppercase tracking-widest text-xs mb-6 text-white/40",children:"de"===f?"Unternehmen":"Company"}),(0,b.jsxs)("ul",{className:"space-y-4",children:[(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:`/${f}/kompetenzen`,className:"text-white/70 hover:text-white hover:translate-x-1 inline-block transition-all",children:"de"===f?"Kompetenzen":"Competencies"})}),(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:`/${f}/ueber-uns`,className:"text-white/70 hover:text-white hover:translate-x-1 inline-block transition-all",children:"de"===f?"Über uns":"About us"})}),(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:`/${f}/karriere`,className:"text-white/70 hover:text-white hover:translate-x-1 inline-block transition-all",children:"de"===f?"Karriere":"Career"})}),(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:`/${f}/messen`,className:"text-white/70 hover:text-white hover:translate-x-1 inline-block transition-all",children:"de"===f?"Messen & Events":"Fairs & Events"})}),(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:`/${f}/${"de"===f?"kontakt":"contact"}`,className:"text-white/70 hover:text-white hover:translate-x-1 inline-block transition-all",children:"de"===f?"Kontakt":"Contact"})})]})]}),(0,b.jsxs)("div",{className:"col-span-1 lg:col-span-3",children:[(0,b.jsx)("h4",{className:"font-heading font-bold uppercase tracking-widest text-xs mb-6 text-white/40",children:"de"===f?"Rechtliches":"Legal"}),(0,b.jsxs)("ul",{className:"space-y-4",children:[(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:`/${f}/impressum`,className:"text-white/70 hover:text-white hover:translate-x-1 inline-block transition-all",children:"de"===f?"Impressum":"Imprint"})}),(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:`/${f}/datenschutz`,className:"text-white/70 hover:text-white hover:translate-x-1 inline-block transition-all",children:"de"===f?"Datenschutz":"Privacy Policy"})}),(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:`/${f}/${"de"===f?"agb":"terms"}`,className:"text-white/70 hover:text-white hover:translate-x-1 inline-block transition-all",children:"de"===f?"AGB":"Terms"})})]})]})]}),(0,b.jsxs)("div",{className:"container",children:[(0,b.jsxs)("div",{className:"pt-8 border-t border-white/10 flex flex-col md:flex-row justify-between items-center gap-6 text-white/50 text-sm",children:[(0,b.jsxs)("p",{children:["© ",new Date().getFullYear()," E-TIB GmbH. ","de"===f?"Alle Rechte vorbehalten.":"All rights reserved."]}),(0,b.jsx)("div",{className:"flex items-center gap-4",children:(0,b.jsx)(r.LanguageSwitcher,{isSolidMode:!1})})]}),(0,b.jsxs)("div",{className:"pt-8 mt-8 border-t border-white/5 flex flex-col md:flex-row justify-between items-center gap-6 text-white/30 text-xs",children:[(0,b.jsx)("div",{children:(0,b.jsx)("a",{href:"https://mintel.me",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white/60 transition-colors",children:"Website developed by Mintel"})}),(0,b.jsxs)("div",{className:"flex flex-wrap justify-center gap-x-6 gap-y-3",children:[(0,b.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,b.jsx)(m,{className:"w-3.5 h-3.5"}),(0,b.jsx)("span",{children:"SSL Secured"})]}),(0,b.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,b.jsx)(n,{className:"w-3.5 h-3.5"}),(0,b.jsx)("span",{children:"Green Hosting"})]}),(0,b.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,b.jsx)(o,{className:"w-3.5 h-3.5"}),(0,b.jsx)("span",{children:"DSGVO Compliant"})]}),(0,b.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,b.jsx)(p,{className:"w-3.5 h-3.5"}),(0,b.jsx)("span",{children:"WCAG"})]}),(0,b.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,b.jsx)(q,{className:"w-3.5 h-3.5"}),(0,b.jsx)("span",{children:"PageSpeed 90+"})]})]})]})]})]})}var t=a.i(399508),u=a.i(206417),v=a.i(61060),w=a.i(287274);let x=(0,f.cache)(async function(a){return(await (0,e.default)(a)).now}),y=(0,f.cache)(async function(){return(await (0,e.default)()).formats});var z=a.i(60009);let A=(0,f.cache)(async function(a){return(await (0,e.default)(a)).timeZone});async function B(a){return A(a?.locale)}let C=(0,f.cache)(async function(a){var b=await (0,e.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 D(a){return C(a?.locale)}let E=(0,f.cache)(async function(){return(await (0,e.default)()).locale});async function F({formats:a,locale:c,messages:d,now:e,timeZone:f,...g}){return(0,b.jsx)(z.default,{formats:void 0===a?await y():a,locale:c??await E(),messages:void 0===d?await D():d,now:e??await x(),timeZone:f??await B(),...g})}var G=a.i(630035),H=(a.i(318249),a.i(838742)),I=a.i(793183);let J={className:I.default.className,style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"}};null!=I.default.variable&&(J.variable=I.default.variable);var K=a.i(596957);async function L(a){let{locale:b}=await a.params,c=process.env.CI?"http://etib.localhost":G.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 M(c){let{locale:d}=await c.params,{children:e}=c,f=("string"==typeof d?d:"").trim(),g=["en","de"].includes(f)?f:"en";(0,H.setRequestLocale)(g);let h={};try{h=await D()}catch(a){console.error("[Layout] Failed to load messages:",a),h={}}let i=[{label:"de"===g?"Kompetenzen":"Competencies",url:`/${g}/${await (0,K.mapFileSlugToTranslated)("kompetenzen",g)}`},{label:"de"===g?"Über uns":"About Us",url:`/${g}/${await (0,K.mapFileSlugToTranslated)("ueber-uns",g)}`},{label:"de"===g?"Karriere":"Careers",url:`/${g}/${await (0,K.mapFileSlugToTranslated)("karriere",g)}`},{label:"de"===g?"Messen":"Events",url:`/${g}/${await (0,K.mapFileSlugToTranslated)("messen",g)}`}],j={};for(let a of["Footer","Navigation","Contact","Products","Team","Home","Error","StandardPage","Brochure"])h[a]&&(j[a]=h[a]);let{getServerAppServices:k}=await a.A(631626),l=k();try{let{headers:b}=await a.A(274184),c=await b();"true"===process.env.NEXT_PUBLIC_CI||"setServerContext"in l.analytics&&l.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,b.jsxs)("html",{lang:g,className:`scroll-smooth overflow-x-hidden ${J.variable}`,"data-scroll-behavior":"smooth",children:[(0,b.jsxs)("head",{children:[(0,b.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,b.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,b.jsx)("link",{rel:"preconnect",href:"https://img.infra.mintel.me"})]}),(0,b.jsx)("body",{className:"flex flex-col min-h-screen font-sans antialiased overflow-x-hidden selection:bg-primary/90 selection:text-white",children:(0,b.jsxs)(F,{messages:j,locale:g,children:[(0,b.jsx)(v.default,{}),(0,b.jsx)(t.Header,{navLinks:i}),(0,b.jsx)("main",{id:"main-content",className:"flex-grow animate-fade-in overflow-visible",tabIndex:-1,children:e}),(0,b.jsx)(s,{companyInfo:{contactEmail:"info@e-tib.com",contactPhone:"+49 15207230518",address:"Gewerbestraße 22\n03172 Guben"}}),(0,b.jsx)(u.default,{}),(0,b.jsx)(w.default,{}),!1]})})]})}a.s(["default",()=>M,"generateMetadata",()=>L,"viewport",0,{width:"device-width",initialScale:1,maximumScale:5,userScalable:!0,viewportFit:"cover",themeColor:"#117c61"}],627641)}];
//# debugId=e0fb04b0-3486-c58d-20f4-5dd7ff6c594f
//# sourceMappingURL=%5Broot-of-the-server%5D__bc75933a._.js.map