PageSourceSearch

https://h-kruse.de/_next/static/chunks/3v6bk-z264_-s.js

js h-kruse.de collected 2026-10-06 16:39:33 UTC 55,864 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1844,e=>{"use strict";e.i(47167);var t=e.i(43476),i=e.i(3303);new URL(e.i(8803).siteConfig.url).hostname,e.s(["AnalyticsBootstrap",0,function(){return(0,t.jsx)(i.default,{id:"plausible",defer:!0,"data-api":"https://plausible.klentra.de/api/event",src:"https://plausible.klentra.de/js/script.js",strategy:"afterInteractive","data-domain":"h-kruse.de"})}])},93983,e=>{"use strict";var t=e.i(43476),i=e.i(22016),r=e.i(71645),s=e.i(48148),n=e.i(72520),o=e.i(64659),a=e.i(37727),l=e.i(58249),c=e.i(48926),h=e.i(8803);function d(e){return Math.min(Math.max(e,0),1)}function u(e){return 1-(1-d(e))**4}let m={A:.72,E:.62,H:.72,I:.3,K:.68,M:.88,R:.68,S:.62,U:.72,W:.92},p=["H","A","U","K","E"],f=["K","R","U","S","E"];function g({showSubline:e=!0,compactProgress:i=0,subline:r}){let s,n=u(i/.18),o=(s=d((i-.58)/.28))<.5?8*s**4:1-(-2*s+2)**4/2,a=u((i-.8)/.2),l=[0,u((i-.42)/.3),u((i-.3)/.3),u((i-.18)/.3),u((i-.06)/.3)],c=[0,u((i-.42)/.3),u((i-.3)/.3),u((i-.18)/.3),u((i-.06)/.3)],h=i>0&&i<1;return(0,t.jsxs)("span",{className:"brand-lockup",style:{"--brand-subline-phase":n,"--brand-gap-phase":o,"--brand-settle-phase":a},children:[(0,t.jsx)("span",{className:"brand-wordmark-shell","aria-hidden":"true",children:(0,t.jsxs)("span",{className:"brand-wordmark brand-wordmark-morphing",children:[(0,t.jsx)("span",{className:"brand-word brand-word-left",children:p.map((e,i)=>{let r=l[i],s=i>0;return(0,t.jsx)("span",{className:`brand-char ${s?"brand-char-collapsible":"brand-char-anchor"}`,style:{"--char-collapse":r,"--char-w":`${m[e]??.68}em`,...s&&h?{willChange:"transform, opacity, max-width"}:{}},children:e},i)})}),(0,t.jsx)("span",{className:"brand-divider"}),(0,t.jsx)("span",{className:"brand-word brand-word-right",children:f.map((e,i)=>{let r=c[i],s=i>0;return(0,t.jsx)("span",{className:`brand-char ${s?"brand-char-collapsible":"brand-char-anchor"}`,style:{"--char-collapse":r,"--char-w":`${m[e]??.68}em`,...s&&h?{willChange:"transform, opacity, max-width"}:{}},children:e},i)})})]})}),e?(0,t.jsx)("span",{className:"brand-subline",children:r}):null]})}function v({variant:e,compactProgress:i=0}){let r=(0,s.useTranslations)("menu")("brandSubline");return"seal"===e?(0,t.jsxs)("span",{className:"inline-flex items-center gap-2.5 sm:gap-3","aria-label":"Hauke Kruse",children:[(0,t.jsxs)("span",{"aria-hidden":"true",className:"brand-monogram",children:[(0,t.jsx)("span",{className:"brand-monogram-letter brand-monogram-letter-left",children:"H"}),(0,t.jsx)("span",{className:"brand-monogram-divider"}),(0,t.jsx)("span",{className:"brand-monogram-letter brand-monogram-letter-right",children:"K"})]}),(0,t.jsx)(g,{showSubline:!1,compactProgress:i,subline:r})]}):(0,t.jsx)("span",{"aria-label":"Hauke Kruse",children:(0,t.jsx)(g,{compactProgress:i,subline:r})})}var b=e.i(57688),x=e.i(88653),w=e.i(46932),y=e.i(72328),S=e.i(78311),k=e.i(97540),N=e.i(61839);let j=[{href:"/leistungen",imageLight:"/assets/images/menu/leistungen.png",imageDark:"/assets/images/menu/leistungen-dark.png"},{href:"/team",imageLight:"/assets/images/menu/team.png",imageDark:"/assets/images/menu/team-dark.png"},{href:"/newsroom",imageLight:"/assets/images/menu/newsroom.png",imageDark:"/assets/images/menu/newsroom-dark.png"},{href:"/faq",imageLight:"/assets/images/menu/faq.png",imageDark:"/assets/images/menu/faq-dark.png"}],E=[{href:"/impressum"},{href:"/datenschutz"}];function _({open:e,onClose:n}){let o=(0,r.useRef)(null),a=(0,y.useReducedMotion)(),c=(0,S.useDeviceTier)(),d=(0,s.useTranslations)("menu"),u=(0,s.useTranslations)("header"),m=(0,s.useTranslations)("topics"),[p,f]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if("function"!=typeof window.matchMedia)return;let e=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>f(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,N.useDialogA11y)({open:e,onClose:n,containerRef:o}),(0,t.jsx)(x.AnimatePresence,{children:e&&(0,t.jsxs)(w.motion.aside,{ref:o,initial:!a&&{clipPath:"inset(0 0 100% 0)",opacity:0}
1,animate:{clipPath:"inset(0 0 0% 0)",opacity:1},exit:a?void 0:{clipPath:"inset(0 0 100% 0)",opacity:0},transition:{duration:(0,k.motionDuration)(c,.52,a),ease:[.2,.95,.3,1]},className:"fixed inset-0 z-[60] flex w-full origin-top flex-col overflow-y-auto bg-surface-0 pt-[4.9rem]",role:"dialog","aria-modal":"true","aria-labelledby":"mobile-menu-title",children:[(0,t.jsx)("h2",{id:"mobile-menu-title",className:"sr-only",children:d("mobile.title")}),(0,t.jsx)("nav",{className:"px-4 pt-4","aria-label":u("ariaNav"),children:(0,t.jsx)("div",{className:"grid grid-cols-2 gap-1.5",children:j.map((e,r)=>{let s=d(`mobile.primaryCards.${r}.label`);return(0,t.jsx)(i.default,{href:e.href,onClick:()=>{(0,l.trackEvent)("cta_click",{placement:"mobile_menu",target:e.href}),n()},className:"group relative overflow-hidden",children:(0,t.jsxs)("div",{className:"relative aspect-[4/3] w-full",children:[(0,t.jsx)(b.default,{src:p?e.imageDark:e.imageLight,alt:s,fill:!0,className:"object-cover transition-transform duration-500 group-hover:scale-105",sizes:"45vw"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/65 via-black/5 to-transparent"}),(0,t.jsx)("span",{className:"absolute bottom-0 left-0 p-3 font-heading text-[0.95rem] font-semibold leading-tight text-white",children:s})]})},e.href)})})}),(0,t.jsxs)("div",{className:"mt-6 space-y-6 px-5 pb-10",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"meta-xs mb-4 text-grey",children:d("mobile.groups.services.title")}),(0,t.jsx)("ul",{className:"space-y-3",children:h.serviceTopicLinks.map((e,r)=>(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:e.href,onClick:n,className:"block text-[1.05rem] text-ink transition-colors hover:text-grey",children:m(`groups.services.items.${r}.label`)})},e.href))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"meta-xs mb-4 text-grey",children:d("mobile.groups.legal.title")}),(0,t.jsx)("ul",{className:"space-y-3",children:E.map((e,r)=>(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:e.href,onClick:n,className:"block text-[1.05rem] text-ink transition-colors hover:text-grey",children:d(`mobile.groups.legal.items.${r}.label`)})},e.href))})]})]})]})})}let T=["services","resources","legal"];function L({open:e,contactButtonClass:r,onOpenMenu:o,onCloseMenuDelayed:a,onCloseMenu:c,onOpenDrawer:d}){let u=(0,s.useTranslations)("menu"),m=(0,s.useTranslations)("topics"),p=(0,s.useTranslations)("newsroom"),f=new Map(h.newsroomItemsWithSlugs.map(e=>[e.title,e.slug])),g=(0,h.getLatestNewsroomItems)(2).map(e=>({...e,slug:f.get(e.title)??""}));return(0,t.jsx)("div",{id:"header-themen-menu",role:"dialog","aria-label":u("megaAria"),onMouseEnter:o,onMouseLeave:a,className:`absolute top-[calc(100%+0.8rem)] left-1/2 z-[205] w-[min(92vw,74rem)] -translate-x-1/2 rounded-[0.95rem] border border-border bg-surface-overlay/98 p-3 shadow-[var(--theme-elevation-2)] backdrop-blur-sm transition-all duration-300 ${e?"pointer-events-auto translate-y-0 opacity-100":"pointer-events-none -translate-y-1 opacity-0"}`,children:(0,t.jsxs)("div",{className:"grid gap-3 lg:grid-cols-[1.45fr_0.85fr]",children:[(0,t.jsx)("div",{className:"rounded-[0.7rem] border border-border bg-surface-0/82 p-5",children:(0,t.jsxs)("div",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-[1.28fr_1fr_0.92fr_1.15fr]",children:[h.navIssueGroups.map((e,r)=>{let s=T[r];return(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[0.62rem] font-medium uppercase tracking-[0.12em] text-grey",children:m(`groups.${s}.title`)}),(0,t.jsx)("ul",{className:"mt-3 space-y-2",children:e.items.map((e,r)=>(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:e.href,className:"text-sm text-ink transition-colors hover:text-grey",onClick:()=>{c(),(0,l.trackEvent)("cta_click",{placement:"header_mega",target:e.href,group:s})},children:m(`groups.${s}.items.${r}.label`)})},e.href))})]},s)}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[0.62rem] font-medium uppercase tracking-[0.12em] text-grey",children:u("latest")}),(0,t.jsx)("ul",{className:"mt-3 space-y-2",children:g.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)(i.default,{href:e.href,className:"block transition-colors hover:text-grey",onClick:()=>{c(),(0,l.trackEvent)("cta_click",{placement:"header_mega",target:e.href,group:"Aktuelles"})},children:[(0,t.jsx)("span",{className:"text-sm text-ink",children:p(`articles.${e.slug}.title`)}),(0,t.jsx)("span",{className:"mt-1 block text-[0.66rem] uppercase tracking-[0.08em] text-grey",children:p(`articles.${e.slug}.date`)})]})},e.href))})]})]})}),(0,t.jsxs)("aside",{className:"rounded-[0.7rem] border border-[color:color-mix(in_srgb,#c9ab9b_34%,var(--color-border))] bg-[color:color-mix(in_srgb,#dcc5b8_10%,var(--theme-surface-1))] p-5",children:[(0,t.jsx)("p",{className:"text-[0.62rem] font-medium uppercase tracking-[0.12em] text-grey",children:u("aside.eyebrow")}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-ink",children:u("aside.body")}),(0,t.jsxs)("button",{type:"button",className:`mt-4 inline-flex items-center gap-2 rounded-full border px-3.5 py-2 text-[0.68rem] font-semibold uppercase tracking-[0.12em] transition-all hover:-translate-y-[1px] ${r}`,onClick:()=>{c(),(0,l.trackEvent)("cta_click",{placement:"header_mega_feature",target:"contact_drawer"}),d()},children:[u("aside.cta"),(0,t.jsx)(n.ArrowRight,{className:"h-3.5 w-3.5"})]})]})]})})}let M={closed:"border-primary/90 bg-primary text-white-smoke shadow-[0_12px_28px_-14px_rgba(16,42,48,0.82)] hover:border-primary-dark hover:bg-primary-dark hover:shadow-[0_16px_32px_-14px_rgba(16,42,48,0.9)]",open:"border-white/20 bg-primary-dark text-white-smoke shadow-[0_14px_30px_-14px_rgba(16,42,48,0.95)]",topLine:"via-white/25",divider:"bg-white/20"};e.s(["Header",0,function(){let e=(0,s.useTranslations)("header"),d=(0,s.useTranslations)("nav"),{isOpen:u,openDrawer:m,closeDrawer:p}=(0,c.useContactDrawer)(),[f,g]=(0,r.useState)(!1),b=function(e=16,t=4){let[i,s]=(0,r.useState)(!1),n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let i=()=>{let i=window.scrollY;s(r=>!r&&i>=e||(!r||!(i<=t))&&r)},r=()=>{null===n.current&&(n.current=window.requestAnimationFrame(()=>{n.current=null,i()}))};return i(),window.addEventListener("scroll",r,{passive:!0}),()=>{null!==n.current&&window.cancelAnimationFrame(n.current),window.removeEventListener("scroll",r)}},[e,t]),i}(),x=function(e=0,t=72){let[i,s]=(0,r.useState)(0),n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let i=Math.max(t-e,1),r=()=>{s(Math.min(Math.max((window.scrollY-e)/i,0),1))},o=()=>{null===n.current&&(n.current=window.requestAnimationFrame(()=>{n.current=null,r()}))};return r(),window.addEventListener("scroll",o,{passive:!0}),()=>{null!==n.current&&window.cancelAnimationFrame(n.current),window.removeEventListener("scroll",o)}},[e,t]),i}(400,680),[w,y]=(0,r.useState)(!1),S=(0,r.useRef)(null),k=h.nav,N=M,j=(0,r.useCallback)(()=>{null!==S.current&&(window.clearTimeout(S.current),S.current=null)},[]),E=(0,r.useCallback)(()=>{j(),y(!0)},[j]),T=(0,r.useCallback)(()=>{j(),S.current=window.setTimeout(()=>{y(!1)},170)},[j]),C=(0,r.useCallback)(()=>{j(),y(!1)},[j]);return(0,r.useEffect)(()=>{let e=e=>{"Escape"===e.key&&C()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e),j()}},[j,C]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("header",{className:`fixed inset-x-0 top-0 z-[500] border-b bg-surface-overlay/95 backdrop-blur-sm transition-shadow duration-500 ease-[
1cubic-bezier(0.22,1,0.36,1)] ${b?"border-border shadow-[var(--theme-header-shadow)]":"border-border"}`,children:(0,t.jsxs)("div",{className:"site-max grid h-[4.9rem] grid-cols-[minmax(0,1fr)_auto] items-center gap-3 sm:gap-5 md:grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2.5 pl-1 sm:gap-3 sm:pl-1.5",children:[(0,t.jsx)("button",{type:"button",className:"mobile-tap-target inline-flex h-11 w-11 items-center justify-center rounded-[0.45rem] border border-transparent text-ink transition-colors hover:border-border hover:bg-surface-0/72 md:hidden",onClick:()=>{g(e=>{let t=!e;return t&&u&&p(),t})},"aria-label":f?"Menü schließen":"Menü öffnen","aria-expanded":f,children:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",children:[(0,t.jsx)("line",{x1:"2",y1:"6.5",x2:"18",y2:"6.5",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",style:{transformOrigin:"10px 6.5px",transform:f?"translateY(3.5px) rotate(45deg)":"none",transition:"transform 0.35s cubic-bezier(0.22,1,0.36,1)"}}),(0,t.jsx)("line",{x1:"2",y1:"13.5",x2:"18",y2:"13.5",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",style:{transformOrigin:"10px 13.5px",transform:f?"translateY(-3.5px) rotate(-45deg)":"none",transition:"transform 0.35s cubic-bezier(0.22,1,0.36,1)"}})]})}),(0,t.jsx)(i.default,{href:"/",className:"leading-none",children:(0,t.jsx)(v,{variant:"subline",compactProgress:f?0:x})})]}),(0,t.jsx)("div",{className:"hidden justify-center md:flex",children:(0,t.jsxs)("div",{className:"relative",onMouseLeave:T,onBlurCapture:e=>{let t=e.relatedTarget;e.currentTarget.contains(t)||C()},children:[(0,t.jsxs)("nav",{className:"flex items-center gap-1","aria-label":e("ariaNav"),children:[k.map(e=>(0,t.jsx)(i.default,{href:e.href,className:"inline-flex h-10 items-center rounded-[0.4rem] px-3 text-[0.67rem] font-medium uppercase tracking-[0.12em] text-grey transition-colors hover:bg-surface-0/72 hover:text-ink",onClick:()=>{C(),(0,l.trackEvent)("cta_click",{placement:"header_nav",target:e.href})},onMouseEnter:C,children:d(e.key)},e.href)),(0,t.jsxs)("button",{type:"button",className:`inline-flex h-10 items-center gap-1 rounded-[0.4rem] px-3 text-[0.67rem] font-medium uppercase tracking-[0.12em] transition-colors ${w?"bg-surface-0 text-ink":"text-grey hover:bg-surface-0/72 hover:text-ink"}`,onClick:()=>{w?C():E()},onMouseEnter:E,onFocus:E,"aria-haspopup":"dialog","aria-expanded":w,"aria-controls":"header-themen-menu",children:[e("topics"),(0,t.jsx)(o.ChevronDown,{className:`h-3.5 w-3.5 transition-transform duration-200 ${w?"rotate-180":""}`})]})]}),(0,t.jsx)(L,{open:w,contactButtonClass:N.closed,onOpenMenu:E,onCloseMenuDelayed:T,onCloseMenu:C,onOpenDrawer:m})]})}),(0,t.jsx)("div",{className:"flex items-center justify-end",children:(0,t.jsxs)("button",{type:"button",className:`mobile-tap-target group relative inline-flex h-11 items-center justify-center gap-2 overflow-hidden rounded-[0.42rem] border px-3.5 text-[0.75rem] font-semibold uppercase tracking-[0.08em] transition-[background-color,border-color,box-shadow,color,transform] duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/25 focus-visible:ring-offset-2 focus-visible:ring-offset-surface-0 sm:h-12 sm:gap-2.5 sm:px-5 sm:text-[0.78rem] sm:tracking-[0.1em] ${u?N.open:N.closed}`,onClick:()=>{if(u){(0,l.trackEvent)("cta_click",{placement:"header",target:"contact_drawer_close"}),p();return}f&&g(!1),(0,l.trackEvent)("cta_click",{placement:"header",target:"contact_drawer"}),m()},"aria-label":e(u?"ariaContactClose":"ariaContactOpen"),children:[(0,t.jsxs)("span",{className:"relative inline-flex h-4 w-[5.8rem] items-center overflow-hidden sm:hidden",children:[(0,t.jsx)("span",{className:`absolute left-0 transition-all duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] ${u?"-translate-y-4 opacity-0":"translate-y-0 opacity-100"}`,children:e("contact")}),(0,t.jsx)("span",{className:`absolute left-0 transition-all duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] ${u?"translate-y-0 opacity-100":"translate-y-4 opacity-0"}`,children:e("close")})]}),(0,t.jsxs)("span",{className:"hidden sm:contents",children:[(0,t.jsx)("span",{className:`pointer-events-none absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent ${N.topLine} to-transparent`,"aria-hidden":"true"}),(0,t.jsx)("span",{className:`h-1.5 w-1.5 rounded-full transition-all duration-300 ${u?"scale-125 bg-accent shadow-[0_0_0_3px_rgba(233,171,0,0.28)]":"bg-
1accent/90 ring-1 ring-accent/25"}`,"aria-hidden":"true"}),(0,t.jsx)("span",{className:`h-4 w-px ${N.divider}`,"aria-hidden":"true"}),(0,t.jsxs)("span",{className:"relative inline-flex h-4 w-[6.3rem] items-center overflow-hidden",children:[(0,t.jsx)("span",{className:`absolute left-0 transition-all duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] ${u?"-translate-y-4 opacity-0":"translate-y-0 opacity-100"}`,"aria-hidden":u,children:e("contact")}),(0,t.jsx)("span",{className:`absolute left-0 transition-all duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] ${u?"translate-y-0 opacity-100":"translate-y-4 opacity-0"}`,"aria-hidden":!u,children:e("close")})]}),(0,t.jsxs)("span",{className:"relative inline-flex h-3.5 w-3.5 items-center justify-center overflow-hidden",children:[(0,t.jsx)(n.ArrowRight,{className:`absolute h-3.5 w-3.5 transform-gpu transition-[opacity,transform] duration-[480ms] ease-[cubic-bezier(0.22,1,0.36,1)] ${u?"scale-[0.78] opacity-0":"scale-100 opacity-100 group-hover:scale-[1.03]"}`,"aria-hidden":u}),(0,t.jsx)(a.X,{className:`absolute h-3.5 w-3.5 transform-gpu transition-[opacity,transform] duration-[480ms] ease-[cubic-bezier(0.22,1,0.36,1)] ${u?"scale-100 opacity-100":"scale-[0.78] opacity-0"}`,"aria-hidden":!u})]})]})]})})]})}),(0,t.jsx)(_,{open:f,onClose:()=>g(!1)})]})}],93983)},87564,e=>{"use strict";var t=e.i(43476),i=e.i(61745),r=e.i(48148);let s=(0,e.i(75254).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);var n=e.i(56904),o=e.i(60889);let a={de:"DE",en:"EN"};e.s(["LanguageSwitcher",0,function({className:e=""}){let l=(0,i.useLocale)(),c=(0,n.usePathname)(),h=(0,r.useTranslations)("header");return(0,t.jsxs)("div",{role:"group","aria-label":h("switchLanguage"),className:`inline-flex items-center gap-1.5 text-[0.68rem] font-medium uppercase tracking-[0.08em] ${e}`,children:[(0,t.jsx)(s,{className:"h-3.5 w-3.5 text-grey/60","aria-hidden":"true"}),o.routing.locales.map((e,i)=>{let r=e===l;return(0,t.jsxs)("span",{className:"inline-flex items-center",children:[i>0&&(0,t.jsx)("span",{className:"mx-1 text-grey/40","aria-hidden":"true",children:"·"}),(0,t.jsx)(n.Link,{href:c,locale:e,"aria-current":r?"true":void 0,className:`transition-colors ${r?"text-ink":"text-grey/70 hover:text-ink"}`,children:a[e]??e.toUpperCase()})]},e)})]})}],87564)},6922,e=>{"use strict";var t=e.i(71645);function i(e){return e instanceof Element&&("IMG"===e.tagName||null!==e.closest("img"))}e.s(["ImageProtection",0,function(){return(0,t.useEffect)(()=>{let e=e=>{e.querySelectorAll("img").forEach(e=>{e.setAttribute("draggable","false")})},t=e=>{i(e.target)&&e.preventDefault()},r=e=>{i(e.target)&&e.preventDefault()};e(document);let s=new MutationObserver(t=>{for(let i of t)for(let t of i.addedNodes)if(t instanceof Element){if("IMG"===t.tagName){t.setAttribute("draggable","false");continue}e(t)}});return s.observe(document.body,{childList:!0,subtree:!0}),document.addEventListener("contextmenu",t,!0),document.addEventListener("dragstart",r,!0),()=>{s.disconnect(),document.removeEventListener("contextmenu",t,!0),document.removeEventListener("dragstart",r,!0)}},[]),null}])},38982,e=>{"use strict";var t=e.i(43476),i=e.i(71645),r=e.i(43531),s=e.i(43432);let n=(0,e.i(75254).default)("phone-off",[["path",{d:"M10.1 13.9a14 14 0 0 0 3.732 2.668 1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 18 18 0 0 1-12.728-5.272",key:"1wngk7"}],["path",{d:"M22 2 2 22",key:"y4kqgn"}],["path",{d:"M4.76 13.582A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 .244.473",key:"10hv5p"}]]);var o=e.i(37727),a=e.i(47163);let l='a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])',c=0,h=0,d=null,u="phone-outage:open";e.s(["PhoneOutageFab",0,function(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{},[]),null},"PhoneOutageNotice",0,()=>{let[e,m]=(0,i.useState)(!1),[p,f]=(0,i.useState)(!1),[g,v]=(0,i.useState)(""),[b,x]=(0,i.useState)(""),[w,y]=(0,i.useState)("idle"),[S,k]=(0,i.useState)(""),[N,j]=(0,i.useState)(0),[E,_]=(0,i.useState)(!1),T=(0,i.useRef)(null),L=(0,i.useRef)(0),M=(0,i.useRef)(null),C=(0,i.useRef)(null);(0,i.useEffect)(()=>{},[]),(0,i.useEffect)(()=>{},[]),(0,i.useEffect)(()=>{let e=()=>{y("idle"),k(""),L.current=0,j(0),_(!1),m(!0),window.requestAnimationFrame(()=>f(!0))};return window.addEventListener(u,e),()=>window.removeEventListener(u,e)}
1,[]);let z=(0,i.useCallback)(()=>{try{window.sessionStorage.setItem("phone-outage-notice-dismissed","1")}catch{}f(!1),window.setTimeout(()=>m(!1),320),window.dispatchEvent(new Event("phone-outage:close"))},[]),R=()=>{null!==T.current&&(T.current=null,_(!1),L.current>110?(L.current=0,j(window.innerHeight),window.setTimeout(z,320)):(L.current=0,j(0)))};!function({open:e,containerRef:t,onClose:r,initialFocusRef:s,lockBodyScroll:n=!0,scrollLockActive:o,restoreFocus:a=!0,closeOnEscape:u=!0}){let m=(0,i.useRef)(null),p=o??(n&&e);(0,i.useLayoutEffect)(()=>{if(p)return!function(){if((c+=1)>1)return;let{body:e,documentElement:t}=document,i=window.innerWidth-t.clientWidth;h=window.scrollY,d={overflow:e.style.overflow,position:e.style.position,top:e.style.top,left:e.style.left,right:e.style.right,width:e.style.width,paddingRight:e.style.paddingRight},e.style.overflow="hidden",e.style.position="fixed",e.style.top=`-${h}px`,e.style.left="0",e.style.right="0",e.style.width="100%",i>0&&(e.style.paddingRight=`${i}px`)}(),()=>{!function(){if(0===c||(c-=1)>0)return;let{body:e,documentElement:t}=document,i=h,r=t.style.scrollBehavior,s=e.style.scrollBehavior;t.style.scrollBehavior="auto",e.style.scrollBehavior="auto",d?(e.style.overflow=d.overflow,e.style.position=d.position,e.style.top=d.top,e.style.left=d.left,e.style.right=d.right,e.style.width=d.width,e.style.paddingRight=d.paddingRight):(e.style.overflow="",e.style.position="",e.style.top="",e.style.left="",e.style.right="",e.style.width="",e.style.paddingRight=""),d=null,window.scrollTo({top:i,left:0,behavior:"auto"}),window.requestAnimationFrame(()=>{t.style.scrollBehavior=r,e.style.scrollBehavior=s})}()}},[p]),(0,i.useEffect)(()=>{if(!e)return;a&&document.activeElement instanceof HTMLElement&&(m.current=document.activeElement);let i=window.requestAnimationFrame(()=>{let e=s?.current;if(e)return void e.focus();let i=t.current?.querySelectorAll(l);i?.[0]?.focus()}),n=e=>{if(u&&"Escape"===e.key){e.preventDefault(),r();return}if("Tab"!==e.key)return;let i=t.current;if(!i)return;let s=Array.from(i.querySelectorAll(l)).filter(e=>null!==e.offsetParent);if(0===s.length)return void e.preventDefault();let n=s[0],o=s[s.length-1],a=document.activeElement;e.shiftKey&&a===n?(e.preventDefault(),o.focus()):e.shiftKey||a!==o||(e.preventDefault(),n.focus())};return document.addEventListener("keydown",n),()=>{window.cancelAnimationFrame(i),document.removeEventListener("keydown",n),a&&m.current?.focus({preventScroll:!0})}},[u,t,s,r,e,a])}({open:e,containerRef:M,onClose:z,initialFocusRef:C});let O=async e=>{if(e.preventDefault(),"sending"===w)return;let t=g.trim(),i=b.trim(),r=i.replace(/\D/g,"");if(t.length<2){y("error"),k("Bitte geben Sie Ihren Namen ein.");return}if(r.length<5){y("error"),k("Bitte geben Sie eine gültige Telefonnummer ein.");return}y("sending"),k("");let s=t.split(/\s+/),n=s[0],o=s.length>1?s.slice(1).join(" "):"(Rückruf)",a=new FormData;a.append("firstName",n),a.append("lastName",o),a.append("phone",i),a.append("valuationPurpose","Rückrufwunsch (Telefonstörung)"),a.append("message","Bitte um Rückruf. Diese Anfrage wurde über den Hinweis zur aktuellen telefonischen Nichterreichbarkeit auf der Website gesendet."),a.append("website","");try{let e=await fetch("/api/contact",{method:"POST",body:a}),t=await e.json();if(!e.ok||!t.success){y("error"),k(t.message||"Beim Senden ist ein Fehler aufgetreten.");return}y("success")}catch{y("error"),k("Verbindung fehlgeschlagen. Bitte versuchen Sie es später erneut oder schreiben Sie uns per E-Mail.")}};return e?(0,t.jsxs)("div",{className:(0,a.cn)("fixed inset-0 z-[210] flex items-end justify-center p-0 sm:items-center sm:p-4","transition-opacity duration-300 ease-out",p?"opacity-100":"opacity-0"),children:[(0,t.jsx)("button",{type:"button","aria-label":"Hinweis schließen",onClick:z,className:"absolute inset-0 cursor-default bg-[var(--theme-primary-dark)]/45 backdrop-blur-[3px]"}),(0,t.jsxs)("div",{ref:M,role:"dialog","aria-modal":"true","aria-labelledby":"phone-outage-title","aria-describedby":"phone-outage-desc",onPointerDown:e=>{if(!window.matchMedia("(min-width: 640px)").matches&&!e.target.closest("input, textarea, button, a")){T.current=e.clientY,_(!0);try{e.currentTarget.setPointerCapture?.(e.pointerId)}catch{}}},onPointerMove:e=>{if(null===T.current)return;let t=e.clientY-T.current,i=t>0?t:0;
1L.current=i,j(i)},onPointerUp:R,onPointerCancel:R,style:E||N?{transform:`translateY(${N}px)`,transition:E?"none":void 0}:void 0,className:(0,a.cn)("relative w-full max-w-none touch-none overflow-hidden rounded-t-2xl border border-[var(--color-border)]","sm:max-w-[26rem] sm:touch-auto sm:rounded-2xl","bg-[var(--color-surface-floating)] shadow-[var(--theme-elevation-2)]","transition-all duration-[320ms] ease-[cubic-bezier(0.22,1,0.36,1)]",p?"translate-y-0 scale-100 opacity-100":"translate-y-full opacity-0 sm:translate-y-4 sm:scale-[0.98]"),children:[(0,t.jsx)("div",{className:"h-1 w-full bg-[var(--color-accent)]","aria-hidden":"true"}),(0,t.jsx)("div",{className:"flex justify-center pt-2.5 sm:hidden","aria-hidden":"true",children:(0,t.jsx)("span",{className:"h-1.5 w-10 rounded-full bg-[color-mix(in_srgb,var(--color-grey)_38%,transparent)]"})}),(0,t.jsx)("button",{type:"button",onClick:z,"aria-label":"Schließen",className:"mobile-tap-target absolute right-2.5 top-3.5 inline-flex h-9 w-9 items-center justify-center rounded-full text-[var(--color-grey)] transition-colors hover:bg-[var(--color-mist)] hover:text-[var(--color-ink)]",children:(0,t.jsx)(o.X,{className:"h-4.5 w-4.5",strokeWidth:1.75})}),(0,t.jsx)("div",{className:"px-6 pb-[calc(1.5rem+env(safe-area-inset-bottom))] pt-5 sm:px-7 sm:pb-7",children:"success"===w?(0,t.jsxs)("div",{className:"py-2 text-center",children:[(0,t.jsx)("span",{className:"mx-auto mb-4 inline-flex h-12 w-12 items-center justify-center rounded-full bg-[color-mix(in_srgb,var(--color-accent)_22%,transparent)]",children:(0,t.jsx)(r.Check,{className:"h-6 w-6 text-[var(--color-ink)]",strokeWidth:2})}),(0,t.jsx)("h2",{id:"phone-outage-title",className:"type-heading text-[1.35rem] text-[var(--color-ink)]",children:"Vielen Dank!"}),(0,t.jsx)("p",{className:"mt-2 body-sm text-[var(--color-grey)]",children:"Wir haben Ihre Rückrufbitte erhalten und melden uns schnellstmöglich bei Ihnen."}),(0,t.jsx)("button",{type:"button",onClick:z,className:"mobile-tap-target mt-5 inline-flex h-11 w-full items-center justify-center rounded-[0.4rem] bg-[var(--color-primary)] px-5 text-[0.68rem] font-medium uppercase tracking-[0.12em] text-[var(--color-white-smoke)] transition-colors hover:bg-[var(--color-primary-dark)]",children:"Schließen"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-start gap-3.5",children:[(0,t.jsx)("span",{className:"mt-0.5 inline-flex h-11 w-11 flex-shrink-0 items-center justify-center rounded-full bg-[color-mix(in_srgb,var(--color-accent)_22%,transparent)]",children:(0,t.jsx)(n,{className:"h-[1.35rem] w-[1.35rem] text-[var(--color-ink)]",strokeWidth:1.75})}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"eyebrow text-[var(--color-grey)]",children:"Hinweis"}),(0,t.jsx)("h2",{id:"phone-outage-title",className:"type-heading mt-1 text-[1.3rem] leading-tight text-[var(--color-ink)]",children:"Vorübergehend andere Rufnummer"})]})]}),(0,t.jsx)("p",{id:"phone-outage-desc",className:"mt-3.5 body-sm text-[var(--color-grey)]",children:"Aufgrund technischer Störungen ist unsere reguläre Rufnummer aktuell nicht erreichbar. Übergangsweise erreichen Sie uns unter dieser Nummer:"}),(0,t.jsxs)("a",{href:"tel:+494057309100","data-phone-outage-dial":"",style:{color:"var(--color-white-smoke)"},className:"mobile-tap-target mt-4 inline-flex h-12 w-full items-center justify-center gap-2.5 rounded-[0.4rem] bg-[var(--color-primary)] px-5 transition-colors hover:bg-[var(--color-primary-dark)]",children:[(0,t.jsx)(s.Phone,{className:"h-4 w-4 flex-shrink-0",strokeWidth:2,"aria-hidden":"true"}),(0,t.jsx)("span",{className:"text-[1.05rem] font-medium tracking-wide tabular-nums",children:"040 5730 9100"})]}),(0,t.jsx)("p",{className:"mt-4 body-sm text-[var(--color-grey)]",children:"Oder lassen Sie sich zurückrufen – hinterlassen Sie uns einfach Ihre Nummer:"}),(0,t.jsxs)("form",{onSubmit:O,className:"mt-3.5 space-y-3",noValidate:!0,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"phone-outage-name",className:"meta-xs mb-1.5 block text-[var(--color-grey)]",children:"Name"}),(0,t.jsx)("input",{ref:C,id:"phone-outage-name",type:"text",name:"name",autoComplete:"name",value:g,onChange:e=>{v(e.target.value),"error"===w&&y("idle")},placeholder:"Ihr Name",className:"w-full rounded-lg border border-[var(--color-border)] bg-[var(--color-surface-0)] px-4 py-3 text-sm text-[var(--color-ink)] transition-colors placeholder:text-[var(--color-grey)]/70 focus:border-[var(--color-ink)] focus:outline-none focus:ring-2 focus:ring-[var(--color-ink)]/10"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"phone-outage-phone",className:"meta-xs mb-1.5 block text-[var(--color-grey)]",children:"Telefonnummer"}),(0,t.jsx)("input",{id:"phone-outage-phone",type:"tel",name:"phone",inputMode:"tel",autoComplete:"tel",value:b,onChange:e=>{x(e.target.value),"error"===w&&y("idle")},placeholder:"z. B. 0170 1234567",className:"w-full rounded-lg border border-[var(--color-border)] bg-[var(--color-surface-0)] px-4 py-3 text-sm text-[var(--color-ink)] transition-colors placeholder:text-[var(--color-grey)]/70 focus:border-[var(--color-ink)] focus:outline-none focus:ring-2 focus:ring-[var(--color-ink)]/10"})]}),"error"===w&&S?(0,t.jsx)("p",{className:"body-sm text-[#c0392b]",role:"alert",children:S}):null,(0,t.jsx)("button",{type:"submit",disabled:"sending"===w,className:"mobile-tap-target inl
1ine-flex h-11 w-full items-center justify-center rounded-[0.4rem] border border-[var(--color-border)] bg-transparent px-5 text-[0.68rem] font-medium uppercase tracking-[0.12em] text-[var(--color-ink)] transition-colors hover:border-[color-mix(in_srgb,var(--color-primary)_40%,var(--color-border))] hover:bg-[var(--color-mist)] disabled:cursor-not-allowed disabled:opacity-60",children:"sending"===w?"Wird gesendet …":"Rückruf anfordern"})]}),(0,t.jsx)("button",{type:"button",onClick:z,className:"mt-3 block w-full text-center text-[0.8rem] text-[var(--color-grey)] underline-offset-4 transition-colors hover:text-[var(--color-ink)] hover:underline",children:"Später erinnern"})]})})]})]}):null},"openPhoneOutageNotice",0,function(){window.dispatchEvent(new Event(u))}],38982)},4073,e=>{"use strict";var t=e.i(43476),i=e.i(46932),r=e.i(10542),s=e.i(91994),n=e.i(72328);e.s(["ScrollProgress",0,function(){let e=(0,n.useReducedMotion)(),{scrollYProgress:o}=(0,r.useScroll)(),a=(0,s.useSpring)(o,{stiffness:120,damping:30});return e?null:(0,t.jsx)(i.motion.div,{style:{scaleX:a,transformOrigin:"left"},className:"fixed inset-x-0 top-0 z-[100] h-[2px] bg-accent"})}])},1162,e=>{"use strict";var t="1.3.24";function i(e,t,i){return Math.max(e,Math.min(t,i))}var r=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(e){if(!this.isRunning)return;let t=!1;if(this.duration&&this.easing){this.currentTime+=e;let r=i(0,this.currentTime/this.duration,1),s=(t=r>=1)?1:this.easing(r);this.value=this.from+(this.to-this.from)*s}else if(this.lerp){var r,s,n,o;this.value=(r=this.value,s=this.to,n=60*this.lerp,(1-(o=1-Math.exp(-n*e)))*r+o*s),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,t=!0)}else this.value=this.to,t=!0;t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:i,duration:r,easing:s,onStart:n,onUpdate:o}){this.from=this.value=e,this.to=t,this.lerp=i,this.duration=r,this.easing=s,this.currentTime=0,this.isRunning=!0,n?.(),this.onUpdate=o}},s=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(e,t,{autoResize:i=!0,debounce:r=250}={}){this.wrapper=e,this.content=t,i&&(this.debouncedResize=function(e,t){let i;return function(...r){clearTimeout(i),i=setTimeout(()=>{i=void 0,e.apply(this,r)},t)}}(this.resize,r),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},n=class{events={};emit(e,...t){let i=this.events[e]||[];for(let e=0,r=i.length;e<r;e++)i[e]?.(...t)}on(e,t){return this.events[e]?this.events[e].push(t):this.events[e]=[t],()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}off(e,t){this.events[e]=this.events[e]?.filter(e=>t!==e)}destroy(){this.events={}}};let o=100/6,a={passive:!1};function l(e,t){return 1===e?o:2===e?t:1}var c=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new n;constructor(e,t={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=t,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,a),this.element.addEventListener("touchstart",this.onTouchStart,a),this.element.addEventListener("touchmove",this.onTouchMove,a),this.element.addEventListener("touchend",this.onTouchEnd,a)}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,a),this.element.removeEventListener("touchstart",this.onTouchStart,a),this.element.removeEventListener("touchmove",this.onTouchMove,a),this.element.removeEventListener("touchend",this.onTouchEnd,a)}onTouchStart=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e,r=-(t-this.touchStart.x)*this.options.touchMultiplier,s=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:r,y:s},this.emitter.emit("scroll",{deltaX:r,deltaY:s,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:i,deltaMode:r}=e,s=l(r,this.window.width),n=l(r,this.window.height);
1t*=s,i*=n,t*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:i,event:e})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}};let h=e=>Math.min(1,1.001-2**(-10*e));var d=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;_isDraggingSelection=!1;isTouching;isIos;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new r;emitter=new n;dimensions;virtualScroll;constructor({wrapper:e=window,content:i=document.documentElement,eventsTarget:r=e,smoothWheel:n=!0,syncTouch:o=!1,syncTouchLerp:a=.075,touchInertiaExponent:l=1.7,duration:d,easing:u,lerp:m=.1,infinite:p=!1,orientation:f="vertical",gestureOrientation:g="horizontal"===f?"both":"vertical",touchMultiplier:v=1,wheelMultiplier:b=1,autoResize:x=!0,prevent:w,virtualScroll:y,overscroll:S=!0,autoRaf:k=!1,anchors:N=!1,autoToggle:j=!1,allowNestedScroll:E=!1,__experimental__naiveDimensions:_=!1,naiveDimensions:T=_,stopInertiaOnNavigate:L=!1}={}){window.lenisVersion=t,window.lenis||(window.lenis={}),window.lenis.version=t,"horizontal"===f&&(window.lenis.horizontal=!0),!0===o&&(window.lenis.touch=!0),this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),e&&e!==document.documentElement||(e=window),"number"==typeof d&&"function"!=typeof u?u=h:"function"==typeof u&&"number"!=typeof d&&(d=1),this.options={wrapper:e,content:i,eventsTarget:r,smoothWheel:n,syncTouch:o,syncTouchLerp:a,touchInertiaExponent:l,duration:d,easing:u,lerp:m,infinite:p,gestureOrientation:g,orientation:f,touchMultiplier:v,wheelMultiplier:b,autoResize:x,prevent:w,virtualScroll:y,overscroll:S,autoRaf:k,anchors:N,autoToggle:j,allowNestedScroll:E,naiveDimensions:T,stopInertiaOnNavigate:L},this.dimensions=new s(e,i,{autoResize:x}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new c(r,{touchMultiplier:v,wheelMultiplier:b}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}onScrollEnd=e=>{e instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||e.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let e=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[e]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=e=>{e.propertyName?.includes("overflow")&&e.target===this.rootElement&&this.checkOverflow()};setScroll(e){this.isHorizontal?this.options.wrapper.scrollTo({left:e,behavior:"instant"}):this.options.wrapper.scrollTo({top:e,behavior:"instant"})}onClick=e=>{let t=e.composedPath().filter(e=>e instanceof HTMLAnchorElement&&e.href).map(e=>new URL(e.href)),i=new URL(window.location.href);if(this.options.anchors){let e=t.find(e=>i.host===e.host&&i.pathname===e.pathname&&e.hash);if(e){let t="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,i=`#${e.hash.split("#")[1]}`;this.scrollTo(i,t);return}}if(this.options.stopInertiaOnNavigate&&t.some(e=>i.host===e.host&&i.pathname!==e.pathname))return void this.reset()};onPointerDown=e=>{1===e.button&&this.reset()};isTouchOnSelectionHandle(e){let t=window.getSelection();if(!t||t.isCollapsed||0===t.rangeCount)return!1;let i=e.targetTouches[0]??e.changedTouches[0];if(!i)return!1;let r=t.getRangeAt(0).getClientRects();if(0===r.length)return!1;let s=r[0],n=r[r.length-1],o=40>=Math.hypot(i.clientX-s.left,i.clientY-s.top),a=40>=Math.hypot(i.clientX-n.right,i.clientY-n.bottom);return o||a}onVirtualScroll=e=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(e))return;let{deltaX:t,deltaY:i,event:r}=e;if(this.emitter.emit("virtual-scroll",{deltaX:t,deltaY:i,event:r}),r.ctrlKey||r.lenisStopPropagation)return;let s=r.type.includes("touch"),n=r.type.includes("wheel");if(s&&this.isIos&&("touchstart"===r.type&&(this._isDraggingSelection=this.isTouchOnSelectionHandle(r)),this._isDraggingSelection)){"touchend"===r.type&&(this._isDraggingSelection=!1);return}this.isTouching="touchstart"===r.type||"touchmove"===r.type;let o=0===t&&0===i;if(this.options.syncTouch&&s&&"touchstart"===r.type&&o&&!this.isStopped&&!this.isLocked)return void this.reset();let a="vertical"===this.options.gestureOrientation&&0===i||"horizontal"===this.options.gestureOrientation&&0===t;if(o||a)return;let l=r.composedPath();l=l.slice(0,l.indexOf(this.rootElement));let c=this.options.prevent,h=Math.abs(t)>=Math.abs(i)?"horizontal":"vertical";if(l.find(e=>e instanceof HTMLElement&&("function"==typeof c&&c?.(e)||e.hasAttribute?.("data-lenis-prevent")||"vertical"===h&&e.hasAttribute?.("data-lenis-prevent-vertical")||"horizontal"===h&&e.hasAttribute?.("data-lenis-prevent-horizontal")||s&&e.hasAttribute?.("data-lenis-prevent-touch")||n&&e.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(e,{deltaX:t,deltaY:i}
1))))return;if(this.isStopped||this.isLocked){r.cancelable&&r.preventDefault();return}if(!(this.options.syncTouch&&s||this.options.smoothWheel&&n)){this.isScrolling="native",this.animate.stop(),r.lenisStopPropagation=!0;return}let d=i;"both"===this.options.gestureOrientation?d=Math.abs(i)>Math.abs(t)?i:t:"horizontal"===this.options.gestureOrientation&&(d=t),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&i>0||this.animatedScroll===this.limit&&i<0))&&(r.lenisStopPropagation=!0),r.cancelable&&r.preventDefault();let u=s&&this.options.syncTouch,m=s&&"touchend"===r.type;m&&(d=Math.sign(d)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+d,{programmatic:!1,...u?{lerp:m?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-e,this.direction=Math.sign(this.animatedScroll-e),this.isStopped||(this.isScrolling="native"),this.emit(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.removeProperty("overflow");this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.setProperty("overflow","clip");this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=e=>{let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(e,{offset:t=0,immediate:r=!1,lock:s=!1,programmatic:n=!0,lerp:o=n?this.options.lerp:void 0,duration:a=n?this.options.duration:void 0,easing:l=n?this.options.easing:void 0,onStart:c,onComplete:d,force:u=!1,userData:m}={}){if((this.isStopped||this.isLocked)&&!u)return;let p=e,f=t;if("string"==typeof p&&["top","left","start","#"].includes(p))p=0;else if("string"==typeof p&&["bottom","right","end"].includes(p))p=this.limit;else{let e=null;if("string"==typeof p?(e=document.querySelector(p))||("#top"===p?p=0:console.warn("Lenis: Target not found",p)):p instanceof HTMLElement&&p?.nodeType&&(e=p),e){if(this.options.wrapper!==window){let e=this.rootElement.getBoundingClientRect();f-=this.isHorizontal?e.left:e.top}let t=e.getBoundingClientRect(),i=getComputedStyle(e),r=this.isHorizontal?Number.parseFloat(i.scrollMarginLeft):Number.parseFloat(i.scrollMarginTop),s=getComputedStyle(this.rootElement),n=this.isHorizontal?Number.parseFloat(s.scrollPaddingLeft):Number.parseFloat(s.scrollPaddingTop);p=(this.isHorizontal?t.left:t.top)+this.animatedScroll-(Number.isNaN(r)?0:r)-(Number.isNaN(n)?0:n)}}if("number"==typeof p){if(p+=f,this.options.infinite){if(n){this.targetScroll=this.animatedScroll=this.scroll;let e=p-this.animatedScroll;e>this.limit/2?p-=this.limit:e<-this.limit/2&&(p+=this.limit)}}else p=i(0,p,this.limit);if(p===this.targetScroll){c?.(this),d?.(this);return}if(this.userData=m??{},r){this.animatedScroll=this.targetScroll=p,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),d?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}n||(this.targetScroll=p),"number"==typeof a&&"function"!=typeof l?l=h:"function"==typeof l&&"number"!=typeof a&&(a=1),this.animate.fromTo(this.animatedScroll,p,{duration:a,easing:l,lerp:o,onStart:()=>{s&&(this.isLocked=!0),this.isScrolling="smooth",c?.(this)},onUpdate:(e,t)=>
1{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),n&&(this.targetScroll=e),t||this.emit(),t&&(this.reset(),this.emit(),d?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(e,{deltaX:t,deltaY:i}){let r,s,n,o,a,l,c,h,d,u,m,p,f,g,v,b,x=Date.now();e._lenis||(e._lenis={});let w=e._lenis;if(x-(w.time??0)>2e3){w.time=Date.now();let t=window.getComputedStyle(e);if(w.computedStyle=t,r=["auto","overlay","scroll"].includes(t.overflowX),s=["auto","overlay","scroll"].includes(t.overflowY),a=["auto"].includes(t.overscrollBehaviorX),l=["auto"].includes(t.overscrollBehaviorY),w.hasOverflowX=r,w.hasOverflowY=s,!(r||s))return!1;c=e.scrollWidth,h=e.scrollHeight,d=e.clientWidth,u=e.clientHeight,n=c>d,o=h>u,w.isScrollableX=n,w.isScrollableY=o,w.scrollWidth=c,w.scrollHeight=h,w.clientWidth=d,w.clientHeight=u,w.hasOverscrollBehaviorX=a,w.hasOverscrollBehaviorY=l}else n=w.isScrollableX,o=w.isScrollableY,r=w.hasOverflowX,s=w.hasOverflowY,c=w.scrollWidth,h=w.scrollHeight,d=w.clientWidth,u=w.clientHeight,a=w.hasOverscrollBehaviorX,l=w.hasOverscrollBehaviorY;if(!(r&&n||s&&o))return!1;let y=Math.abs(t)>=Math.abs(i)?"horizontal":"vertical";if("horizontal"===y)m=Math.round(e.scrollLeft),p=c-d,f=t,g=r,v=n,b=a;else{if("vertical"!==y)return!1;m=Math.round(e.scrollTop),p=h-u,f=i,g=s,v=o,b=l}return!b&&(m>=p||m<=0)||(f>0?m<p:m>0)&&g&&v}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let e=this.options.wrapper;return this.isHorizontal?e.scrollX??e.scrollLeft:e.scrollY??e.scrollTop}get scroll(){var e;return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get className(){let e="lenis";return this.options.autoToggle&&(e+=" lenis-autoToggle"),this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),"smooth"===this.isScrolling&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(e=>{this.rootElement.classList.add(e)})}cleanUpClassName(){for(let e of Array.from(this.rootElement.classList))("lenis"===e||e.startsWith("lenis-"))&&this.rootElement.classList.remove(e)}},u=e.i(71645);e.s(["SmoothScrollProvider",0,function(){return(0,u.useEffect)(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=new d({smoothWheel:!0,wheelMultiplier:.92,syncTouch:!1,touchMultiplier:1,lerp:.09,autoRaf:!1,anchors:{offset:-88,duration:1.02}}),t=()=>{document.body.classList.contains("contact-drawer-open")?e.stop():e.start()},i=new MutationObserver(t);i.observe(document.body,{attributes:!0,attributeFilter:["class"]}),t();let r=0,s=t=>{e.raf(t),r=window.requestAnimationFrame(s)};return r=window.requestAnimationFrame(s),()=>{i.disconnect(),window.cancelAnimationFrame(r),e.destroy()}},[]),null}],1162)},75696,e=>{"use strict";var t=e.i(61745),i=e.i(43476);e.s(["default",0,function({locale:e,...r}){if(!e)throw Error(void 0);return(0,i.jsx)(t.IntlProvider,{locale:e,...r})}])},8341,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return o},requestIdleCallback:function(){return n}};for(var s in r)Object.defineProperty(i,s,{enumerable:!0,get:r[s]});let n="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},o="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
1dule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},19083,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={ESCAPE_REGEX:function(){return o},htmlEscapeAttributeString:function(){return h},htmlEscapeJsonString:function(){return c}};for(var s in r)Object.defineProperty(i,s,{enumerable:!0,get:r[s]});let n={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},o=/[&><\u2028\u2029]/g,a={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},l=/[&"'<>]/g;function c(e){return e.replace(o,e=>n[e])}function h(e){return e.replace(l,e=>a[e])}},79520,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return w},handleClientScriptLoad:function(){return v},initScriptLoader:function(){return b}};for(var s in r)Object.defineProperty(i,s,{enumerable:!0,get:r[s]});let n=e.r(55682),o=e.r(90809),a=e.r(43476),l=n._(e.r(74080)),c=o._(e.r(71645)),h=e.r(42732),d=e.r(22737),u=e.r(8341),m=e.r(19083),p=new Map,f=new Set,g=e=>{let{src:t,id:i,onLoad:r=()=>{},onReady:s=null,dangerouslySetInnerHTML:n,children:o="",strategy:a="afterInteractive",onError:c,stylesheets:h}=e,u=i||t;if(u&&f.has(u))return;if(p.has(t)){f.add(u),p.get(t).then(r,c);return}let m=()=>{s&&s(),f.add(u)},g=document.createElement("script"),v=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),r&&r.call(this,t),m()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});n?(g.innerHTML=n.__html||"",m()):o?(g.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",m()):t&&(g.src=t,p.set(t,v)),(0,d.setAttributesFromProps)(g,e),"worker"===a&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",a),h&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let i=document.createElement("link");i.type="text/css",i.rel="stylesheet",i.href=e,t.appendChild(i)})}})(h),document.body.appendChild(g)};function v(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>g(e))}):g(e)}function b(e){e.forEach(v),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function x(e){let{id:t,src:i="",onLoad:r=()=>{},onReady:s=null,strategy:n="afterInteractive",onError:o,stylesheets:d,...p}=e,{updateScripts:v,scripts:b,getIsSsr:x,appDir:w,nonce:y}=(0,c.useContext)(h.HeadManagerContext);y=p.nonce||y;let S=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||i;S.current||(s&&e&&f.has(e)&&s(),S.current=!0)},[s,t,i]);let k=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!k.current){if("afterInteractive"===n)g(e);else"lazyOnload"===n&&("complete"===document.readyState?(0,u.requestIdleCallback)(()=>g(e)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>g(e))}));k.current=!0}},[e,n]),("beforeInteractive"===n||"worker"===n)&&(v?(b[n]=(b[n]||[]).concat([{id:t,src:i,onLoad:r,onReady:s,onError:o,...p,nonce:y}]),v(b)):x&&x()?f.add(t||i):x&&!x()&&g({...e,nonce:y})),w){if(d&&d.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===n)if(!i)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:y,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([0,{...p,id:t}]))})`}});else return l.default.preload(i,p.integrity?{as:"script",integrity:p.integrity,nonce:y,crossOrigin:p.crossOrigin}:{as:"script",nonce:y,crossOrigin:p.crossOrigin}),(0,a.jsx)("script",{nonce:y,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([i,{...p,id:t}]))})`}});"afterInteractive"===n&&i&&l.default.preload(i,p.integrity?{as:"script",integrity:p.integrity,nonce:y,crossOrigin:p.crossOrigin}:{as:"script",nonce:y,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(x,"__nextScript",{value:!0});let w=x;("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
1dule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},3303,(e,t,i)=>{t.exports=e.r(79520)}]);

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.