PageSourceSearch

https://www.swd-ag.de/_next/static/chunks/1qdzw2bfn0bed.js

js swd-ag.de collected 2026-09-24 17:40:18 UTC 25,725 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,734005,e=>{e.v({"alert-header-bar--error":"AlertHeaderBar-module-scss-module__3d_O5G__alert-header-bar--error","alert-header-bar--info":"AlertHeaderBar-module-scss-module__3d_O5G__alert-header-bar--info","alert-header-bar--success":"AlertHeaderBar-module-scss-module__3d_O5G__alert-header-bar--success","alert-header-bar--warning":"AlertHeaderBar-module-scss-module__3d_O5G__alert-header-bar--warning"})},460151,e=>{"use strict";var t=e.i(843476),a=e.i(916275),l=e.i(734005),n=e.i(725060),o=e.i(343794);let r=e.i(271645).default.forwardRef(({props:e},r)=>{let i=e.severity?e.severity:"info";return(0,t.jsx)(t.Fragment,{children:e.show&&(0,t.jsx)("div",{ref:r,className:(0,o.default)(l.default["alert-header-bar"],l.default["alert-header-bar--"+i]),children:(0,t.jsx)("div",{className:"grid-wrapper",children:(0,t.jsx)(a.Alert,{severity:i,variant:"standard",icon:!1,flush:!0,children:(0,t.jsx)(n.RichText,{text:e.text})})})})})});r.displayName="AlertHeaderBar",e.s(["default",0,r])},953325,e=>{e.v({linkButton:"LinkButton-module-scss-module__OMNLaq__linkButton"})},708968,916694,e=>{"use strict";var t,a,l,n,o,r,i,s,d,u=e.i(843476),c=e.i(770703),m=e.i(271645);let v=(0,c.default)(()=>e.A(956730),{loadableGenerated:{modules:[595217]},ssr:!1});e.s(["default",0,e=>(0,u.jsx)(v,{...e})],708968),e.i(875602);var h=e.i(623593);e.i(316367);var g=e.i(459537);function f(){return(f=Object.assign.bind()).apply(null,arguments)}function _(){return(_=Object.assign.bind()).apply(null,arguments)}function p(){return(p=Object.assign.bind()).apply(null,arguments)}function b(){return(b=Object.assign.bind()).apply(null,arguments)}function x(){return(x=Object.assign.bind()).apply(null,arguments)}function N(){return(N=Object.assign.bind()).apply(null,arguments)}function B(){return(B=Object.assign.bind()).apply(null,arguments)}function j(){return(j=Object.assign.bind()).apply(null,arguments)}function w(){return(w=Object.assign.bind()).apply(null,arguments)}var T=e.i(343794),k=e.i(953325);let y={DashboardCustomize:(0,u.jsx)(g.SvgIcon,{component:function(e){return m.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor",viewBox:"0 -960 960 960"},e),t||(t=m.createElement("path",{d:"M120-840h320v320H120zm80 80v160zm320-80h320v320H520zm80 80v160zM120-440h320v320H120zm80 80v160zm440-80h80v120h120v80H720v120h-80v-120H520v-80h120zm-40-320v160h160v-160zm-400 0v160h160v-160zm0 400v160h160v-160z"})))},inheritViewBox:!0,"aria-hidden":!0}),ReceiptLong:(0,u.jsx)(g.SvgIcon,{component:function(e){return m.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor",viewBox:"0 -960 960 960"},e),s||(s=m.createElement("path",{d:"M240-80q-50 0-85-35t-35-85v-120h120v-560l60 60 60-60 60 60 60-60 60 60 60-60 60 60 60-60 60 60 60-60v680q0 50-35 85t-85 35zm480-80q17 0 28.5-11.5T760-200v-560H320v440h360v120q0 17 11.5 28.5T720-160M360-600v-80h240v80zm0 120v-80h240v80zm320-120q-17 0-28.5-11.5T640-640t11.5-28.5T680-680t28.5 11.5T720-640t-11.5 28.5T680-600m0 120q-17 0-28.5-11.5T640-520t11.5-28.5T680-560t28.5 11.5T720-520t-11.5 28.5T680-480M240-160h360v-80H200v40q0 17 11.5 28.5T240-160m-40 0v-80z"})))},inheritViewBox:!0,"aria-hidden":!0}),ElectricMeter:(0,u.jsx)(g.SvgIcon,{component:function(e){return m.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor",viewBox:"0 -960 960 960"},e),a||(a=m.createElement("path",{d:"M360-82v-100q-106-37-173-129.5T120-522q0-75 28.5-140.5t77-114 114-77T479-882t140 28.5 115 77 77.5 114T840-522q0 118-67.5 209.5T600-183v101h-80v-82q-10 2-20 2h-21q-10 0-19.5-.5T440-164v82zm120-158q116 0 198-82t82-198-82-198-198-82-198 82-82 198 82 198 198 82M320-600h320v-80H320zm130 320 120-120-50-50 50-50-60-60-120 120 50 50-50 50zm30-240"})))},inheritViewBox:!0,"aria-hidden":!0}),EventRepeat:(0,u.jsx)(g.SvgIcon,{component:function(e){return m.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor",viewBox:"0 -960 960 960"},e),n||(n=m.createElement("path",{d:"M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v240h-80v-80H200v400h280v80zM760 0q-73 0-127.5-45.5T564-160h62q13 44 49.5 72T760-60q58 0 99-41t41-99-41-99-99-41q-29 0-54 10.5T662-300h58v60H560v-160h60v57q27-26 63-41.5t77-15.5q83 0 141.5 58.5T960-200 901.5-58.5 760 0M200-640h560v-80H200zm0 0v-80z"})))},inheritViewBox:!0,"aria-hidden":!0}),LibraryBooks:(0,u.jsx)(g.SvgIcon,{component:function(e){return m.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"
1currentColor",viewBox:"0 -960 960 960"},e),i||(i=m.createElement("path",{d:"M400-400h160v-80H400zm0-120h320v-80H400zm0-120h320v-80H400zm-80 400q-33 0-56.5-23.5T240-320v-480q0-33 23.5-56.5T320-880h480q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240zm0-80h480v-480H320zM160-80q-33 0-56.5-23.5T80-160v-560h80v560h560v80zm160-720v480z"})))},inheritViewBox:!0,"aria-hidden":!0}),InsertChart:(0,u.jsx)(g.SvgIcon,{component:function(e){return m.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor",viewBox:"0 -960 960 960"},e),r||(r=m.createElement("path",{d:"M280-280h80v-280h-80zm160 0h80v-400h-80zm160 0h80v-160h-80zM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120zm0-80h560v-560H200zm0-560v560z"})))},inheritViewBox:!0,"aria-hidden":!0}),EuroSymbol:(0,u.jsx)(g.SvgIcon,{component:function(e){return m.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor",viewBox:"0 -960 960 960"},e),l||(l=m.createElement("path",{d:"M600-120q-118 0-210-67T260-360H120v-80h122q-2-11-2-20v-40q0-9 2-20H120v-80h140q38-106 130-173t210-67q69 0 130.5 24T840-748l-70 70q-35-29-78.5-45.5T600-740q-75 0-136.5 38.5T370-600h230v80H344q-2 11-3 20t-1 20 1 20 3 20h256v80H370q32 63 93.5 101.5T600-220q48 0 92.5-16.5T770-282l70 70q-48 44-109.5 68T600-120"})))},inheritViewBox:!0,"aria-hidden":!0}),Gift:(0,u.jsx)(g.SvgIcon,{component:function(e){return m.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor",viewBox:"0 -960 960 960"},e),o||(o=m.createElement("path",{d:"M160-80v-440H80v-240h208q-5-9-6.5-19t-1.5-21q0-50 35-85t85-35q23 0 43 8.5t37 23.5q17-16 37-24t43-8q50 0 85 35t35 85q0 11-2 20.5t-6 19.5h208v240h-80v440zm400-760q-17 0-28.5 11.5T520-800t11.5 28.5T560-760t28.5-11.5T600-800t-11.5-28.5T560-840m-200 40q0 17 11.5 28.5T400-760t28.5-11.5T440-800t-11.5-28.5T400-840t-28.5 11.5T360-800M160-680v80h280v-80zm280 520v-360H240v360zm80 0h200v-360H520zm280-440v-80H520v80z"})))},inheritViewBox:!0,"aria-hidden":!0}),ArrowForward:(0,u.jsx)(g.SvgIcon,{component:function(e){return m.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},e),d||(d=m.createElement("path",{d:"m15 5-1.41 1.41L18.17 11H2v2h16.17l-4.59 4.59L15 19l7-7z"})))},inheritViewBox:!0,"aria-hidden":!0})};function M(e){if("string"!=typeof e)return null;switch(e){case"DashboardCustomize":return y.DashboardCustomize;case"ReceiptLong":return y.ReceiptLong;case"ElectricMeter":return y.ElectricMeter;case"EventRepeat":return y.EventRepeat;case"LibraryBooks":return y.LibraryBooks;case"InsertChart":return y.InsertChart;case"EuroSymbol":return y.EuroSymbol;case"Gift":return y.Gift;case"ArrowForward":return y.ArrowForward;default:return null}}e.s(["default",0,({children:e,icon:t,iconPosition:a="left",className:l,href:n,forceIcon:o=!1,...r})=>(0,u.jsxs)(h.Button,{variant:"ctaFull","data-testid":"link-button-component",className:(0,T.default)(k.default.linkButton,l),href:n,...r,"data-theme":"dark",children:[(n||o)&&"left"===a&&M(t),e,(n||o)&&"right"===a&&M(t)]})],916694)},297387,e=>{e.v({active:"MainNavBarDesktop-module-scss-module__hWs5oa__active",btnLevel2:"MainNavBarDesktop-module-scss-module__hWs5oa__btnLevel2",btnNav:"MainNavBarDesktop-module-scss-module__hWs5oa__btnNav",level1:"MainNavBarDesktop-module-scss-module__hWs5oa__level1",level2:"MainNavBarDesktop-module-scss-module__hWs5oa__level2",level3:"MainNavBarDesktop-module-scss-module__hWs5oa__level3",mainNavBarDesktop:"MainNavBarDesktop-module-scss-module__hWs5oa__mainNavBarDesktop",navContainer:"MainNavBarDesktop-module-scss-module__hWs5oa__navContainer",navWrapper:"MainNavBarDesktop-module-scss-module__hWs5oa__navWrapper",searchBarWrapper:"MainNavBarDesktop-module-scss-module__hWs5oa__searchBarWrapper",searchButtonWrapper:"MainNavBarDesktop-module-scss-module__hWs5oa__searchButtonWrapper",teaser:"MainNavBarDesktop-module-scss-module__hWs5oa__teaser",toolbar:"MainNavBarDesktop-module-scss-module__hWs5oa__toolbar"})},210825,e=>{e.v({inner:"MainNavBarMobile-module-scss-module__Hoa7PW__inner",loginButton:"MainNavBarMobile-module-scss-module__Hoa7PW__loginButton",mainNavBarMobileHeader:"MainNavBarMobile-module-scss-module__Hoa7PW__mainNavBarMobileHeader",navWrapper:"MainNavBarMobile-module-scss-module__Hoa7PW__navWrapper",toolbar:"MainNavBarMobile-module-scss-module__Hoa7PW__toolbar"})},38843,e=>{e.v({desktopOnly:"MenuButton-module-scss-module__62OHKa__desktopOnly","menu-button":"MenuButton-module-scss-module__62OHKa__menu-button",mobileOnly:"MenuButton-module-scss-module__62OHKa__mobileOnly"})},250326,e=>{"use strict";var t,a=e.i(843476);e.i(875602);var l=e.i(623593);e.i(249635);var n=e.i(928928);e.i(316367);var o=e.i(459537),r=e.i(271645);function i(){return(i=Object.assign.bind()).apply(null,arguments)}let s=function(e){return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),t||(t=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 4.017a.68.68 0 0 1 .677-.684h10.646a.68.68 0 0 1 .677.684.68.68 0 0 1-.677.684H2.677A.68.68 0 0 1 2 4.017m0 3.65a.68.68 0 0 1 .677-.685h10.646a.68.68 0 0 1 .677.684.68.68 0 0 1-.677.685H2.677A.68.68 0 0 1 2 7.666m0 3.649a.68.68 0 0 1 .677-.685h10.646a.68.68 0 0 1 .677.684.68.68 0 0 1-.677.685H2.677A.68.68 0 0 1 2 11.316",clipRule:"evenodd"})))};var d=e.i(343794),u=e.i(322831),c=e.i(38843);e.s(["default",0,e=>{let{t}=(0,u.useTranslation)(),{"data-testid":r,...i}=e,{open:m,light:v,className:h,variant:g,startIcon:f,endIcon:_,label:p,link:b,href:x,loading:N,arrow:B,suppressArrowIcon:j,ariaLabel:w,fullWidth:T,"data-theme":k,size:y,type:M,form:H,target:I,children:S,...L}=i,q=(0,d.default)(c.default["menu-button"],{open:m},{light:v},h??void 0);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:c.default.mobileOnly,children:(0,a.jsx)(n.IconButton,{...L,"aria-label":"Hauptmenü "+(m?"schließen":"öffnen"),className:q,"data-testid":r,"data-theme":"dark",children:(0,a.jsx)(s,{})})}),(0,a.jsx)("div",{className:c.default.desktopOnly,children:(0,a.jsx)(l.Button,{variant:"ctaFull",className:q,"aria-label":"Hauptmenü "+(m?"schließen":"öffnen"),startIcon:(0,a.jsx)(o.SvgIcon,{component:s}),...i,"data-theme":"dark",children:t("menuText")})})]})}],250326)},770583,e=>{e.v({NavButton:"TopNavBar-module-scss-module__d96R2G__NavButton",active:"TopNavBar-module-scss-module__d96R2G__active",inner:"TopNavBar-module-scss-module__d96R2G__inner",topNavBar:"TopNavBar-module-scss-module__d96R2G__topNavBar"})},717792,e=>{"use strict";var t,a,l=e.i(843476),n=e.i(460151),o=e.i(271645);let r=({props:e,setHeight:t})=>(0,l.jsx)(n.default,{ref:t,props:e});r.displayName="ClientAlertHeaderBar",e.i(875602);var i=e.i(623593);e.i(249635);var s=e.i(928928),d=e.i(611601),u=e.i(708968);e.i(316367);var c=e.i(459537),m=e.i(647262);function v(e,t,a=!0,l){(0,o.useEffect)(()=>
1{if(!a)return;let n=a=>{let n=e.current,o=a.target;if(!(!o||!n||n.contains(o))){if(l){let e=document.querySelector(l);if(e?.contains(o))return}t()}};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[e,t,a,l])}var h=e.i(324018),g=e.i(8356),f=e.i(834942),_=e.i(121294);function p(){return(p=Object.assign.bind()).apply(null,arguments)}let b=function(e){return o.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},e),t||(t=o.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M7.35 18.5C8.66 17.56 10.26 17 12 17s3.34.56 4.65 1.5c-1.31.94-2.91 1.5-4.65 1.5s-3.34-.56-4.65-1.5m10.79-1.38a9.95 9.95 0 0 0-12.28 0A7.96 7.96 0 0 1 4 12c0-4.42 3.58-8 8-8s8 3.58 8 8c0 1.95-.7 3.73-1.86 5.12"})),a||(a=o.createElement("path",{d:"M12 6c-1.93 0-3.5 1.57-3.5 3.5S10.07 13 12 13s3.5-1.57 3.5-3.5S13.93 6 12 6m0 5c-.83 0-1.5-.67-1.5-1.5S11.17 8 12 8s1.5.67 1.5 1.5S12.83 11 12 11"})))};var x=e.i(863798),N=e.i(882122);e.i(854680);var B=e.i(156882),j=e.i(916694),w=e.i(725060),T=e.i(208232),k=e.i(638466),y=e.i(399126),M=e.i(557105),H=e.i(480631),I=e.i(353753),S=e.i(343794),L=e.i(322831),q=e.i(708322);let W=({open:e,close:t})=>{let{t:a}=(0,L.useTranslation)(),n=(0,M.useSettings)(),o=(0,_.useUserStore)(e=>({name:e.name,email:e.email,businessPartnerNumber:e.businessPartnerNumber,logout:e.logout})),r=o?.name?.firstname,d=o?.name?.lastname,u=o?.businessPartnerNumber,c=n?.portal_navigation_menu,m=n?.additional_links,v=n?.additional_text,h=!!(0,T.richtextToString)(v);return(0,l.jsx)(I.Dialog.Root,{modal:!1,onOpenChange:e=>!e&&t(),open:e,children:(0,l.jsx)(I.Dialog.Portal,{children:(0,l.jsx)(I.Dialog.Popup,{className:q.default.loggedInFlyout,"data-logged-in-flyout":"",children:(0,l.jsxs)("div",{className:q.default.inner,children:[(0,l.jsx)("div",{className:q.default.modalHeader,children:(0,l.jsx)(s.IconButton,{className:q.default.closeButton,"aria-label":a("Navigation Kundenportal schließen"),onClick:t,children:(0,l.jsx)(g.default,{"aria-hidden":!0})})}),(0,l.jsx)(B.Divider,{className:(0,S.default)(q.default.divider,q.default.main)}),(0,l.jsxs)("div",{className:q.default.card,children:[(0,l.jsxs)(x.default,{className:q.default.headline,tag:N.HeadlineTag.H5,children:[(0,l.jsx)(b,{"aria-hidden":!0}),a("Kundenportal")]}),(0,l.jsx)(B.Divider,{className:q.default.divider}),(0,l.jsx)("nav",{children:(0,l.jsxs)("ul",{children:[c&&c.length>0&&c.map((e,t)=>(0,l.jsx)("li",{children:(0,l.jsx)(j.default,{"data-testid":"loggedIn-link-button"+Number(t+1),href:(0,y.linkToString)(e.portal_link)||void 0,icon:e.icon||void 0,children:e.link_text})},t)),(0,l.jsx)(B.Divider,{className:q.default.divider}),m&&m.length>0&&m.map((e,t)=>(0,l.jsx)(j.default,{"data-testid":"loggedIn-additional-link-button"+Number(t+1),href:(0,y.linkToString)(e.link)||void 0,icon:e.icon||void 0,children:e.link_text},`portal-nav-item-${t}`))]})})]}),(0,l.jsxs)("div",{className:q.default.card,children:[(0,l.jsx)(x.default,{className:(0,S.default)(q.default.headline,q.default.userName),tag:N.HeadlineTag.H5,children:`${r??""} ${d??""}`}),(0,l.jsxs)("div",{className:q.default.userInfo,children:[(0,l.jsx)("label",{children:a("loggedInFlyout.emailLabel")}),(0,l.jsx)("div",{className:q.default.bold,children:o?.email}),(0,l.jsx)("label",{children:a("loggedInFlyout.customerNumberLabel")}),(0,l.jsx)("div",{className:q.default.bold,children:u})]}),(0,l.jsx)("div",{className:q.default.logout,children:(0,l.jsxs)(i.Button,{variant:"ctaFull","data-theme":"light",className:q.default.logoutButton,onClick:()=>{(0,k.markPendingLogoutPopup)(),o?.logout(),window.open((0,f.buildSelfServicePath)("/logout"),"_self")},"data-testid":"logout-button",children:[(0,l.jsx)(H.default,{}),a("loggedInFlyout.logoutButton")]})})]}),h&&(0,l.jsx)(w.RichText,{text:v,className:q.default.additionalText})]})})})})};var z=e.i(848797);let E=()=>{let{t:e}=(0,L.useTranslation)(),{loggedIn:t,loggingIn:a}=(0,_.useUserStore)(e=>({loggedIn:e.loggedIn,loggingIn:e.loggingIn})),[n,r]=(0,o.useState)(!1),d=(0,o.useRef)(null),u=()=>{r(!1)};v(d,u,n,"[data-logged-in-flyout]");let m=()=>{r(!n)},h=(0,f.getSelfServiceLoginLink)(),g=(0,l.jsxs)("div",{ref:d,className:(0,S.default)(z.default.loggedInContainer),children:[(0,l.jsx)(i.Button,{"data-testid":"desktop-account-flyout-toggle-button-logged-in",variant:"ctaFull",loading:a,"data-theme":"dark",className:z.default.desktopButton,onClick:()=>{m()},startIcon:(0,l.jsx)(c.SvgIcon,{component:b}),children:e("navigation.loggedInButtonLabel")}),(0,l.jsx)(s.IconButton,{"data-testid":"mobile-account-flyout-toggle-button-logged-in",loading:a,"aria-label":"Abmelden vom Kundenportal",className:(0,S.default)(z.default.mobileButton),"data-theme":"dark",onClick:()=>{m()},children:(0,l.jsx)(c.SvgIcon,{component:b})}),(0,l.jsx)(W,{open:n,close:()=>u()})]}),p=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.Button,{"data-testid":"desktop-account-flyout-toggle-button-logged-out",variant:"ctaFull","data-theme":"dark",loading:a,className:z.default.desktopButton,startIcon:(0,l.jsx)(c.SvgIcon,{component:b}),onClick:()=>{h&&window.location.assign(h)},children:e("navigation.loggedOutButtonLabel")}),(0,l.jsx)(s.IconButton,{"data-testid":"mobile-account-flyout-toggle-button-logged-out",loading:a,"aria-label":"Gehe zum Kundenportal",className:z.default.mobileButton,"data-theme":"dark",onClick:()=>{h&&window.location.assign(h)},children:(0,l.jsx)(c.SvgIcon,{component:b})})]});return t?g:p};var C=e.i(770703),F=e.i(618566),O=e.i(378637),P=e.i(297387);let A=(0,C.default)(()=>e.A(580367).then(e=>({default:e.AnchorNavigationDesktop})),{loadableGenerated:{modules:[504632]},ssr:!1}),D=(0,C.default)(()=>e.A(239268),{loadableGenerated:{modules:[946068]},ssr:!1}),R=({props:e,setHeight:t})=>{let[a,n]=(0,o.useState)(e.menu[0]?.id),[r,f]=(0,o.useState)(),[_,p]=(0,o.useState)(!1),b=(0,o.useRef)(null),x=e.currentNavPath?.level1?.id,N=e.currentNavPath?.level2?.id,B=e.currentNavPath?.level3?.id,j=(0,F.usePathname)(),{t:w}=(0,L.useTranslation)();function T(e){f(e.id)}function k(){n(void 0),f(void 0)}return v(b,k,!!a),(0,o.useEffect)(()=>{k()},[j]),(0,l.jsxs)("div",{className:(0,S.default)("grid-wrapper",P.default.navWrapper),children:[(0,l.jsxs)("header",{ref:t,className:P.default.mainNavBarDesktop,children:[(0,l.jsx)(d.default,{}),(0,l.jsx)("nav",{ref:b,className:P.default.navContainer,"data-testid":"desktop-main-navigation","aria-label":w("Primär"),children:e.menu.map(t=>(0,l.jsx)("ul",{"data-testid":"desktop-main-navigation-level1-list",className:(0,S.default)(P.default.level1,{[P.default.active]:t.id===e.currentNavPath?.level0?.id}),children:t.sub_menu?.map((e,t)=>{let o=e.id===a||e.id===x;return(0,l.jsxs)("li",{"data-testid":"desktop-main-navigation-level1-item"+Number(t+1),children:[(0,l.jsx)(i.Button,{"data-testid":"desktop-main-navigation-level1-item"+Number(t+1)+"-button",className:(0,S.default)(P.default.btnNav,P.default.btnLevel1,{[P.default.active]:o}),variant:o?"ctaFull":"text","data-theme":o?"light":void 0,href:(0,m.getMenuHref)(e),onClick:(0,m.getMenuHref)(e)?void 0:()=>{e.id===a?k():e.sub_menu&&(n(e.id),p(!1),f(e.id===x?N:e.sub_menu[0]?.url?void 0:e.sub_menu[0]?.id))},children:e.label}),(0,l.jsx)(D,{linkLvl1:e,activeLvl1:a,activeLvl2:r,initialLevel3:B,handleClickLvl2:T})]},e.id)})},t.id))}),(0,l.jsxs)("div",{className:P.default.toolbar,children:[(0,l.jsxs)("div",{className:P.default.searchButtonWrapper,children:[(0,l.jsx)(s.IconButton,{"aria-label":w("Suche öffnen"),onClick:function(e){e.currentTarget&&setTimeout(()=>{_||k(),p(!_)})},"data-testid":"searchiconbutton",children:(0,l.jsx)(c.SvgIcon,{component:_?g.default:h.default})}),_&&(0,l.jsx)("div",{className:P.default.searchBarWrapper,children:(0,l.jsx)(u.default,{isMobile:!1,closeFlyout:()=>{k(),p(!1)}})})]}),(0,l.jsx)(O.default,{continueOrder:!0}),(0,l.jsx)(E,{})]})]}),(0,l.jsx)(A,{visibility:!_&&!r})]})};R.displayName="MainNavBarDesktop";var G=e.i(250326),K=e.i(210825);let V=(0,C.default)(()=>e.A(700632).then(e=>({default:e.AnchorNavigationMobile})),{loadableGenerated:{modules:[410886]},ssr:!1}),$=(0,C.default)(()=>e.A(99906),{loadableGenerated:{modules:[930534]},ssr:!1}),U=({props:e,setHeight:t})=>{let[a,n]=(0,o.useState)(!1),r=(0,o.useRef)(null),i=(0,F.usePathname)();return(0,o.useEffect)(()=>{n(!1)},[i]),v(r,()=>n(!1),a,"[data-mobile-nav-flyout]"),(0,l.jsxs)("div",{className:(0,S.default)("grid-wrapper",K.default.navWrapper),children:[(0,l.jsx)("header",{ref:t,className:(0,S.default)(K.default.mainNavBarMobileHeader),children:(0,l.jsxs)("nav",{ref:r,className:(0,S.default)(K.default.inner,"grid-wrapper"),children:[(0,l.jsx)(d.default,{}),(0,l.jsxs)("div",{className:K.default.toolbar,children:[(0,l.jsx)(O.default,{continueOrder:!0}),(0,l.jsx)(E,{}),(0,l.jsx)(G.default,{onClick:()=>void n(!a),open:a,"data-testid":"mobile-main-navigation-menu-button"}),a&&(0,l.jsx)($,{menu:e.menu,currentNavPath:e.currentNavPath,flyoutOpen:a,setFlyoutOpen:n})]})]})}),(0,l.jsx)(V,{})]})};U.displayName="MainNavBarMobile";var J=e.i(770583);let Q=({props:e,setHeight:t})=>(0,l.jsx)("div",{ref:t,className:J.default.topNavBar,"data-testid":"top-navbar-container",children:(0,l.jsx)("div",{className:(0,S.default)("grid-wrapper",J.default.inner),children:e.menu.map((t,a)=>(0,l.jsx)(i.Button,{variant:"ctaFull","data-testid":"top-navbar-menu-button"+Number(a+1),className:(0,S.default)({[J.default.active]:t.id===e.currentNavPath?.level0?.id},J.default.NavButton),href:(0,y.linkToString)(t.url),children:t.label},t.id))})});Q.displayName="TopNavBar",e.s(["default",0,({blok:e})=>{let t=function(){let[e,t]=(0,o.useState)(null),[a,l]=(0,o.useState)(null),[n,r]=(0,o.useState)(null),[i,s]=(0,o.useState)(null);return(0,o.useLayoutEffect)(()=>{let t=()=>{let t=Math.max(0,...[e,a,n,i].map(e=>e?.getBoundingClientRect().bottom||0));document.documentElement.style.setProperty("--header-height",`${t}px`)},l=new ResizeObserver(t),o=new MutationObserver(t),r={childList:!0,subtree:!0,attributes:!0};
1return[e,a,n,i].forEach(e=>{e&&(l.observe(e),o.observe(e,r))}),window.addEventListener("resize",t),window.addEventListener("scroll",t),t(),()=>{l.disconnect(),o.disconnect(),window.removeEventListener("resize",t),window.removeEventListener("scroll",t)}},[e,a,n,i]),{alert:t,topNav:l,mobileNav:r,desktopNav:s}}(),a=(0,F.usePathname)(),n=(0,m.convertNavStructure)(e.nav_menu),i=(0,o.useMemo)(()=>(0,m.getNavPathWithCustomerTypeFallback)(n,a),[n,a]),s=(0,o.useMemo)(()=>({show:e.alert_show,severity:e.alert_severity,text:e.alert_text}),[e.alert_show,e.alert_severity,e.alert_text]),d=(0,o.useMemo)(()=>({logo:e.logo,logoLink:e.logo_link,menu:n,currentNavPath:i}),[e.logo,e.logo_link,n,i]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r,{setHeight:t.alert,props:s}),(0,l.jsx)(Q,{setHeight:t.topNav,props:d}),(0,l.jsx)(U,{setHeight:t.mobileNav,props:d}),(0,l.jsx)(R,{setHeight:t.desktopNav,props:d})]})}],717792)},647262,e=>{"use strict";var t=e.i(843476),a=e.i(725060),l=e.i(271645),n=e.i(389797),o=e.i(399126),r=e.i(699085);function i(e){let t=e?.replace(/^\//,"");return t?.replace(/\/$/,"")||""}e.s(["convertNavStructure",0,function(e){return e.map(e=>({id:e._uid,label:e.label,url:(0,o.linkToString)(e.link||void 0),sub_menu:e.sub_menu.map(e=>({id:e._uid,label:(0,t.jsx)(t.Fragment,{children:(0,n.default)(e.label,"%%shy%%",(e,a)=>(0,t.jsx)(l.Fragment,{children:"­"},a))}),url:(0,o.linkToString)(e.link)||void 0,teaser:(0,r.resolveStory)(e.teaser)?.content,sub_menu:e.sub_menu?.map(e=>({id:e._uid,label:(0,t.jsx)(a.RichText,{text:e.label,ignoreParagraphs:!0}),url:(0,o.linkToString)(e.link)||void 0,sub_menu:e.sub_menu?.map(e=>({id:e._uid,label:(0,t.jsx)(a.RichText,{text:e.label,ignoreParagraphs:!0}),url:(0,o.linkToString)(e.link)}))}))}))}))},"getMenuHref",0,function(e){return(0,o.linkToString)(e.url)||void 0},"getNavPathWithCustomerTypeFallback",0,function(e,t){let a=function(e,t){if(t){let a=i(t);for(let t of e){if(i(t.url)===a)return{level0:t};if(t.sub_menu)for(let e of t.sub_menu){if(i(e.url)===a)return{level0:t,level1:e};if(e.sub_menu)for(let l of e.sub_menu){if(i(l.url)===a)return{level0:t,level1:e,level2:l};if(l.sub_menu){for(let n of l.sub_menu)if(i(n.url)===a)return{level0:t,level1:e,level2:l,level3:n}}}}}}}(e,t);if(!a){for(let a of["/gk/","/pk/"])if(t.startsWith(a)){let t=e.find(e=>e.url&&e.url.startsWith(a));if(t)return{level0:t}}}return a??{level0:e[0]}},"trimSlashes",0,i])},8356,e=>{"use strict";var t,a=e.i(271645);function l(){return(l=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},e),t||(t=a.createElement("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})))}])},708322,e=>{e.v({additionalText:"LoggedInFlyout-module-scss-module__xa3oTW__additionalText",bold:"LoggedInFlyout-module-scss-module__xa3oTW__bold",card:"LoggedInFlyout-module-scss-module__xa3oTW__card",closeButton:"LoggedInFlyout-module-scss-module__xa3oTW__closeButton",divider:"LoggedInFlyout-module-scss-module__xa3oTW__divider",headline:"LoggedInFlyout-module-scss-module__xa3oTW__headline",inner:"LoggedInFlyout-module-scss-module__xa3oTW__inner",loggedInFlyout:"LoggedInFlyout-module-scss-module__xa3oTW__loggedInFlyout",logout:"LoggedInFlyout-module-scss-module__xa3oTW__logout",logoutButton:"LoggedInFlyout-module-scss-module__xa3oTW__logoutButton",main:"LoggedInFlyout-module-scss-module__xa3oTW__main",modalHeader:"LoggedInFlyout-module-scss-module__xa3oTW__modalHeader",userInfo:"LoggedInFlyout-module-scss-module__xa3oTW__userInfo",userName:"LoggedInFlyout-module-scss-module__xa3oTW__userName"})},848797,e=>{e.v({desktopButton:"LoginButton-module-scss-module__-JAHpa__desktopButton",loggedInContainer:"LoginButton-module-scss-module__-JAHpa__loggedInContainer",mobileButton:"LoginButton-module-scss-module__-JAHpa__mobileButton"})}]);
2
3//# sourceMappingURL=2dhmp2gkzvrbi.js.map

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.