Files
e-tib.com/.next/static/chunks/5dced52d81a603a9.js
2026-05-07 14:00:03 +02:00

12 lines
24 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]="d063168c-9fa7-d981-0aa9-85bf2170da65")}catch(e){}}();
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,209157,e=>{"use strict";function t(e,t){let i=t&&t.cache?t.cache:a,s=t&&t.serializer?t.serializer:o;return(t&&t.strategy?t.strategy:function(e,t){var o,i;let a=1===e.length?r:n;return o=t.cache.create(),i=t.serializer,a.bind(this,e,o,i)})(e,{cache:i,serializer:s})}function r(e,t,r,n){let o=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),i=t.get(o);return void 0===i&&(i=e.call(this,n),t.set(o,i)),i}function n(e,t,r){let n=Array.prototype.slice.call(arguments,3),o=r(n),i=t.get(o);return void 0===i&&(i=e.apply(this,n),t.set(o,i)),i}let o=function(){return JSON.stringify(arguments)};class i{cache;constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}}let a={create:function(){return new i}};e.s(["memoize",()=>t,"strategies",0,{variadic:function(e,t){var r,o;return r=t.cache.create(),o=t.serializer,n.bind(this,e,r,o)},monadic:function(e,t){var n,o;return n=t.cache.create(),o=t.serializer,r.bind(this,e,n,o)}}])},801296,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function i(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},462307,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(744066)._(e.r(801296)),a=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(i.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${o}${c}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},97872,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return j},MissingStaticPage:function(){return v},NormalizeError:function(){return b},PageNotFoundError:function(){return y},SP:function(){return m},ST:function(){return x},WEB_VITALS:function(){return i},execOnce:function(){return a},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return f},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return w}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>s.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,x=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class b extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class j extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}},171064,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=e.r(97872),o=e.r(33905);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},7284,e=>{"use strict";function t(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}(e))&&(n&&(n+=" "),n+=t);return n}e.s(["clsx",()=>t])},437698,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},391736,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(907358);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=i(e,n)),t&&(o.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},676525,e=>{"use strict";var t=e.i(452797),r=e.i(184868),n=e.i(111023);let o={primary:"bg-primary text-white shadow-md hover:shadow-primary/30 hover:shadow-2xl",secondary:"bg-secondary text-white shadow-md hover:shadow-secondary/30 hover:shadow-2xl",accent:"bg-accent text-primary-dark shadow-md hover:shadow-accent/30 hover:shadow-2xl",saturated:"bg-saturated text-white shadow-md hover:shadow-primary/30 hover:shadow-2xl",outline:"border-2 border-primary bg-transparent text-primary hover:text-white hover:shadow-primary/20 hover:shadow-xl",ghost:"text-primary hover:shadow-lg",white:"bg-white text-primary shadow-md hover:shadow-primary/30 hover:shadow-2xl hover:text-white",destructive:"bg-destructive text-destructive-foreground shadow-md hover:shadow-destructive/30 hover:shadow-2xl"},i={sm:"h-9 px-4 text-sm md:text-base",md:"h-11 px-6 text-base md:text-lg",lg:"h-14 px-5 md:px-8 text-base md:text-lg",xl:"h-16 px-6 md:px-10 text-lg md:text-xl"},a={primary:"bg-primary-dark",secondary:"bg-secondary-light",accent:"bg-accent-dark",saturated:"bg-primary",outline:"bg-primary",ghost:"bg-primary-light/10",white:"bg-primary-light",destructive:"bg-destructive/90"};function s({variant:e="primary"}){return(0,t.jsx)("span",{className:(0,n.cn)("absolute inset-0 translate-y-[101%] group-hover/btn:translate-y-0 transition-transform duration-500 ease-out",a[e])})}function l({className:e,variant:a="primary",size:l="md",href:u,...c}){let d=function(e="primary",t="md",r){return(0,n.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-full font-semibold transition-all duration-500 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none active:scale-95 hover:-translate-y-1 hover:scale-[1.02] relative overflow-hidden group/btn isolate",o[e],i[t],r)}(a,l,e),f=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:(0,n.cn)("relative z-10 flex items-center justify-center gap-2 transition-colors duration-500","white"===a?"group-hover/btn:text-primary-dark":""),children:c.children}),(0,t.jsx)(s,{variant:a})]});return u?(0,t.jsx)(r.default,{href:u,className:d,children:f}):(0,t.jsx)("button",{className:d,...c,children:f})}e.s(["Button",()=>l])},818127,(e,t,r)=>{"use strict";function n(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return n}})},50239,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return o}});let n=e.r(880813);function o({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new n.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},445929,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return l}});let n=e.r(452797),o=e.r(910353),i=e.r(306648),a=e.r(818127),s=e.r(954633);function l({moduleIds:e}){if("u">typeof window)return null;let t=i.workAsyncStorage.getStore();if(void 0===t)return null;let r=[];if(t.reactLoadableManifest&&e){let n=t.reactLoadableManifest;for(let t of e){if(!n[t])continue;let e=n[t].files;r.push(...e)}}if(0===r.length)return null;let l=(0,s.getDeploymentIdQueryOrEmptyString)();return(0,n.jsx)(n.Fragment,{children:r.map(e=>{let r=`${t.assetPrefix}/_next/${(0,a.encodeURIPath)(e)}${l}`;return e.endsWith(".css")?(0,n.jsx)("link",{precedence:"dynamic",href:r,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,o.preload)(r,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},768337,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return u}});let n=e.r(452797),o=e.r(907358),i=e.r(50239),a=e.r(445929);function s(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(s(()=>null)),loading:null,ssr:!0},u=function(e){let t={...l,...e},r=(0,o.lazy)(()=>t.loader().then(s)),u=t.loading;function c(e){let s=u?(0,n.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,c=l?o.Suspense:o.Fragment,d=t.ssr?(0,n.jsxs)(n.Fragment,{children:["u"<typeof window?(0,n.jsx)(a.PreloadChunks,{moduleIds:t.modules}):null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(c,{...l?{fallback:s}:{},children:d})}return c.displayName="LoadableComponent",c}},902498,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});let n=e.r(481258)._(e.r(768337));function o(e,t){let r={};"function"==typeof e&&(r.loader=e);let o={...r,...t};return(0,n.default)({...o,modules:o.loadableGenerated?.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},140802,e=>{"use strict";e.i(653782);var t=e.i(452797),r=e.i(907358),n=e.i(807464),o=e.i(134174),i=e.i(736986),a=e.i(370338),s=e.i(250438),l=r,u=e.i(753942);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class d extends l.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,s.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,s.isHTMLElement)(e)&&e.offsetWidth||0,n=(0,s.isHTMLElement)(e)&&e.offsetHeight||0,o=getComputedStyle(t),i=this.props.sizeRef.current;i.height=parseFloat(o.height),i.width=parseFloat(o.width),i.top=t.offsetTop,i.left=t.offsetLeft,i.right=r-i.width-i.left,i.bottom=n-i.height-i.top}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:e,isPresent:n,anchorX:o,anchorY:i,root:a,pop:s}){let f=(0,l.useId)(),h=(0,l.useRef)(null),p=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:m}=(0,l.useContext)(u.MotionConfigContext),x=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=c(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():c(e[t],null)}}}}(...e),e)}(h,e.props?.ref??e?.ref);return(0,l.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:l,right:u,bottom:c}=p.current;if(n||!1===s||!h.current||!e||!t)return;let d="left"===o?`left: ${l}`:`right: ${u}`,x="bottom"===i?`bottom: ${c}`:`top: ${r}`;h.current.dataset.motionPopId=f;let g=document.createElement("style");m&&(g.nonce=m);let b=a??document.head;return b.appendChild(g),g.sheet&&g.sheet.insertRule(`
[data-motion-pop-id="${f}"] {
position: absolute !important;
width: ${e}px !important;
height: ${t}px !important;
${d}px !important;
${x}px !important;
}
`),()=>{h.current?.removeAttribute("data-motion-pop-id"),b.contains(g)&&b.removeChild(g)}},[n]),(0,t.jsx)(d,{isPresent:n,childRef:h,sizeRef:p,pop:s,children:!1===s?e:l.cloneElement(e,{ref:x})})}let h=({children:e,initial:n,isPresent:i,onExitComplete:s,custom:l,presenceAffectsLayout:u,mode:c,anchorX:d,anchorY:h,root:m})=>{let x=(0,o.useConstant)(p),g=(0,r.useId)(),b=!0,y=(0,r.useMemo)(()=>(b=!1,{id:g,initial:n,isPresent:i,custom:l,onExitComplete:e=>{for(let t of(x.set(e,!0),x.values()))if(!t)return;s&&s()},register:e=>(x.set(e,!1),()=>x.delete(e))}),[i,x,s]);return u&&b&&(y={...y}),(0,r.useMemo)(()=>{x.forEach((e,t)=>x.set(t,!1))},[i]),r.useEffect(()=>{i||x.size||!s||s()},[i]),e=(0,t.jsx)(f,{pop:"popLayout"===c,isPresent:i,anchorX:d,anchorY:h,root:m,children:e}),(0,t.jsx)(a.PresenceContext.Provider,{value:y,children:e})};function p(){return new Map}var m=e.i(718015);let x=e=>e.key||"";function g(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}let b=({children:e,custom:a,initial:s=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:d=!1,anchorX:f="left",anchorY:p="top",root:b})=>{let[y,v]=(0,m.usePresence)(d),j=(0,r.useMemo)(()=>g(e),[e]),w=d&&!y?[]:j.map(x),P=(0,r.useRef)(!0),E=(0,r.useRef)(j),k=(0,o.useConstant)(()=>new Map),N=(0,r.useRef)(new Set),[O,C]=(0,r.useState)(j),[$,_]=(0,r.useState)(j);(0,i.useIsomorphicLayoutEffect)(()=>{P.current=!1,E.current=j;for(let e=0;e<$.length;e++){let t=x($[e]);w.includes(t)?(k.delete(t),N.current.delete(t)):!0!==k.get(t)&&k.set(t,!1)}},[$,w.length,w.join("-")]);let S=[];if(j!==O){let e=[...j];for(let t=0;t<$.length;t++){let r=$[t],n=x(r);w.includes(n)||(e.splice(t,0,r),S.push(r))}return"wait"===c&&S.length&&(e=S),_(g(e)),C(j),null}let{forceRender:L}=(0,r.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:$.map(e=>{let r=x(e),n=(!d||!!y)&&(j===$||w.includes(r));return(0,t.jsx)(h,{isPresent:n,initial:(!P.current||!!s)&&void 0,custom:a,presenceAffectsLayout:u,mode:c,root:b,onExitComplete:n?void 0:()=>{if(N.current.has(r)||!k.has(r))return;N.current.add(r),k.set(r,!0);let e=!0;k.forEach(t=>{t||(e=!1)}),e&&(L?.(),_(E.current),d&&v?.(),l&&l())},anchorX:f,anchorY:p,children:e},r)})})};e.s(["AnimatePresence",()=>b],140802)},287564,e=>{"use strict";var t=e.i(452797),r=e.i(184868),n=e.i(976819);function o({mobile:e=!1,isSolidMode:o=!1}){let i=(0,n.usePathname)()||"/",a=i.startsWith("/en")?"en":"de",s=e=>{let t=i.replace(/^\/(en|de)/,"");return`/${e}${""===t?"":t}`},l=[{code:"de",label:"DE",fullLabel:"Deutsch",flag:"🇩🇪"},{code:"en",label:"EN",fullLabel:"English",flag:"🇬🇧"}];return e?(0,t.jsx)("div",{className:"flex flex-col gap-3",children:l.map(e=>(0,t.jsxs)(r.default,{href:s(e.code),className:`flex items-center gap-3 px-5 py-3 rounded-xl text-lg font-semibold transition-all duration-300 ${a===e.code?"bg-primary/10 text-primary border border-primary/20":"text-text-secondary hover:bg-neutral-50 border border-transparent"}`,children:[(0,t.jsx)("span",{className:"text-2xl","aria-hidden":"true",children:e.flag}),(0,t.jsx)("span",{children:e.fullLabel}),a===e.code&&(0,t.jsx)("svg",{className:"w-5 h-5 ml-auto text-primary",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"20 6 9 17 4 12"})})]},e.code))}):(0,t.jsx)("div",{className:`flex items-center rounded-full p-0.5 border ${o?"bg-neutral-100 border-neutral-200":"bg-white/10 backdrop-blur-sm border-white/10"} transition-colors duration-300`,children:l.map(e=>{let n=a===e.code,i="";return i=n?"bg-white text-primary shadow-sm":o?"text-text-secondary hover:text-primary":"text-white/70 hover:text-white",(0,t.jsxs)(r.default,{href:s(e.code),className:`flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-bold uppercase tracking-wider transition-all duration-300 ${i}`,"aria-label":`Switch to ${e.fullLabel}`,children:[(0,t.jsx)("span",{className:"text-sm","aria-hidden":"true",children:e.flag}),(0,t.jsx)("span",{children:e.label})]},e.code)})})}e.s(["LanguageSwitcher",()=>o])},993983,e=>{"use strict";var t=e.i(452797),r=e.i(907358),n=e.i(184868),o=e.i(663067),i=e.i(976819),a=e.i(112086),s=e.i(140802),l=e.i(287564),u=e.i(676525);function c({navLinks:e}){let[c,d]=r.useState(!1),[f,h]=r.useState(!1),[p,m]=r.useState(!1),x=(0,i.usePathname)()||"/",g=x.startsWith("/en")?"en":"de";r.useEffect(()=>{let e=()=>{d(window.scrollY>20)};window.addEventListener("scroll",e);let t=()=>{m("true"===document.body.getAttribute("data-force-solid-header"))};t();let r=new MutationObserver(t);return r.observe(document.body,{attributes:!0,attributeFilter:["data-force-solid-header"]}),t(),()=>{window.removeEventListener("scroll",e),r.disconnect()}},[x]),r.useEffect(()=>{h(!1)},[x]);let b=c||p;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ease-in-out ${b?"bg-neutral-light/90 backdrop-blur-md shadow-sm py-4":"bg-transparent py-6"}`,children:(0,t.jsxs)("div",{className:"container flex items-center justify-between",children:[(0,t.jsx)(n.default,{href:`/${g}`,className:"relative flex items-center h-12 w-48 z-50",children:(0,t.jsx)(o.default,{src:b||f?"/assets/logo.png":"/assets/logo-white.png",alt:"E-TIB Gruppe",fill:!0,className:"object-contain object-left",priority:!0,sizes:"192px"})}),(0,t.jsxs)("nav",{className:"hidden md:flex items-center gap-10",children:[e&&e.length>0&&e.map(e=>{let r=e.url.startsWith("/")&&!e.url.match(/^\/(en|de)/)?`/${g}${e.url}`:e.url;return(0,t.jsx)(n.default,{href:r,className:`font-semibold text-sm uppercase tracking-widest transition-all duration-300 ${b?"text-text-primary hover:text-primary":"text-neutral-light hover:text-primary-light"}`,children:e.label},e.url)}),(0,t.jsx)("div",{className:`h-4 w-px mx-2 transition-colors duration-300 ${b?"bg-neutral-300":"bg-white/20"}`}),(0,t.jsx)(l.LanguageSwitcher,{isSolidMode:b}),(0,t.jsx)(u.Button,{href:`/${g}/${"de"===g?"kontakt":"contact"}`,variant:"primary",className:"px-8",children:"de"===g?"Kontakt":"Contact"})]}),(0,t.jsx)("button",{className:"md:hidden z-50 text-primary p-2",onClick:()=>h(!f),"aria-label":"Toggle menu",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:b||f?"currentColor":"white",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:f?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,t.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("line",{x1:"3",x2:"21",y1:"6",y2:"6"}),(0,t.jsx)("line",{x1:"3",x2:"21",y1:"12",y2:"12"}),(0,t.jsx)("line",{x1:"3",x2:"21",y1:"18",y2:"18"})]})})})]})}),(0,t.jsx)(s.AnimatePresence,{children:f&&(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.2},className:"fixed inset-0 z-40 bg-white md:hidden pt-32 pb-8 px-6 overflow-y-auto",children:(0,t.jsxs)("nav",{className:"flex flex-col gap-6",children:[e&&e.length>0&&e.map(e=>{let r=e.url.startsWith("/")&&!e.url.match(/^\/(en|de)/)?`/${g}${e.url}`:e.url;return(0,t.jsx)(n.default,{href:r,className:"text-2xl font-heading font-bold text-neutral-dark border-b border-neutral-100 pb-4",children:e.label},e.url)}),(0,t.jsx)(n.default,{href:`/${g}/${"de"===g?"kontakt":"contact"}`,className:"text-2xl font-heading font-bold text-primary border-b border-neutral-100 pb-4",children:"de"===g?"Kontakt":"Contact"}),(0,t.jsxs)("div",{className:"mt-8 pt-6",children:[(0,t.jsx)("p",{className:"text-text-secondary text-sm font-bold uppercase tracking-widest mb-4",children:"Sprache wählen"}),(0,t.jsx)(l.LanguageSwitcher,{mobile:!0})]})]})})})]})}e.s(["Header",()=>c])},814508,e=>{"use strict";var t=e.i(452797),r=e.i(190422);function n(){let e=(0,r.useTranslations)("Navigation");return(0,t.jsx)("a",{href:"#main-content",className:"fixed -top-full left-4 z-[100] px-6 py-3 bg-white text-primary-dark font-bold rounded-lg shadow-xl outline-none ring-2 ring-accent transition-all duration-300 focus:top-4",children:e("skipToContent")})}e.s(["default",()=>n])},531518,e=>{"use strict";var t=e.i(653782),r=e.i(452797),n=e.i(902498),o=e.i(907358);let i=(0,n.default)(()=>e.A(348814),{loadableGenerated:{modules:[565071]},ssr:!1}),a=(0,n.default)(()=>e.A(740018),{loadableGenerated:{modules:[248785]},ssr:!1}),s=(0,n.default)(()=>e.A(225514),{loadableGenerated:{modules:[950648]},ssr:!1});function l(){let[e,n]=(0,o.useState)(!1);return((0,o.useEffect)(()=>{if("true"!==t.default.env.NEXT_PUBLIC_CI)if("requestIdleCallback"in window)window.requestIdleCallback(()=>n(!0),{timeout:3e3});else{let e=setTimeout(()=>n(!0),2500);return()=>clearTimeout(e)}},[]),e)?(0,r.jsxs)(o.Suspense,{fallback:null,children:[(0,r.jsx)(i,{}),(0,r.jsx)(a,{}),(0,r.jsx)(s,{})]}):null}e.s(["default",()=>l])},600023,e=>{"use strict";var t=e.i(883647),r=e.i(452797);function n({locale:e,...n}){if(!e)throw Error(void 0);return(0,r.jsx)(t.IntlProvider,{locale:e,...n})}e.s(["default",()=>n])},689647,e=>{"use strict";var t=e.i(452797);let r=(0,e.i(902498).default)(()=>e.A(262386).then(e=>e.FeedbackOverlay),{loadableGenerated:{modules:[566137]},ssr:!1});function n({feedbackEnabled:e}){return e?(0,t.jsx)(r,{}):null}e.s(["default",()=>n])},348814,e=>{e.v(t=>Promise.all(["static/chunks/fdf84fd199216566.js","static/chunks/0ff158dd58fe47c8.js"].map(t=>e.l(t))).then(()=>t(565071)))},740018,e=>{e.v(t=>Promise.all(["static/chunks/2f9e45ecb224d02b.js","static/chunks/0ff158dd58fe47c8.js"].map(t=>e.l(t))).then(()=>t(248785)))},225514,e=>{e.v(t=>Promise.all(["static/chunks/fd2d3a68c2dda793.js","static/chunks/0ff158dd58fe47c8.js"].map(t=>e.l(t))).then(()=>t(950648)))},262386,e=>{e.v(t=>Promise.all(["static/chunks/9c4a690cd48e1298.js","static/chunks/c9e4534297dc4d54.js"].map(t=>e.l(t))).then(()=>t(566137)))}]);
//# debugId=d063168c-9fa7-d981-0aa9-85bf2170da65