1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,185438,e=>{"use strict";var t=e.i(843476),r=e.i(919056);e.s(["TrendDot",0,({classProps:e})=>(0,t.jsx)("div",{className:(0,r.twMerge)("inline-block h-full w-2.5",e?.root),children:(0,t.jsx)("div",{className:(0,r.twMerge)("h-1.5 w-1.5 bg-primary dark:bg-white",e?.dot)})})])},325272,661922,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(174080),s=e.i(854056),l=e.i(424210),i=e.i(192791),o=e.i(255446),a=e.i(751831);let u={root:"bg-white p-3 md:p-0 z-50 fixed inset-0",menuRoot:"bg-gradient-t-b from-gray-off-white/0 to-white p-5 justify-between scrollbar-none pt-5",menuHeader:"pt-0 px-0 grid grid-cols-[1fr,auto,1fr]",menuButtonContainer:"w-full",menuButton:"p-0 w-full h-full justify-start font-medium",buttonText:"text-white pl-3 uppercase text-sm hidden md:inline-block",animation:"bg-white z-50",menuIcon:"text-white",closeIcon:"text-black",closeButton:"border rounded-full border-black h-6 w-6 p-1"},c={root:"bg-gray fixed top-0 left-0 right-0 h-full",closeButton:"",buttonText:"",menuIcon:"w-6 h-6 text-black",closeIcon:"w-3 h-3 text-black",menuHeader:"w-full p-5 flex justify-between items-center",menuButtonContainer:"",menuButton:"",leftSlotContainer:"flex justify-start",menuRoot:"w-full h-full flex flex-col justify-center items-center overflow-y-auto",animation:"fixed top-0 left-0 h-full bg-gray",transitionRoot:"z-50"},d="flex h-8 items-center justify-center p-2";e.s(["BurgerMenu",0,({classProps:e,isVisible:m,setIsVisible:p,buttonText:f,ariaLabelOpen:h,ariaLabelClose:v,headerMiddleSlot:g,headerRightSlot:x,menuBottomSlot:w,menuMiddleSlot:b,menuLeftSlot:y,menuTopSlot:j})=>{let k=(0,o.composeStyles)(c,(0,o.composeStyles)(u,e)),[E,N]=(0,r.useState)(null);(0,r.useEffect)(()=>{let e=document.querySelector("#portal");if(e)return void N(e);let t=new MutationObserver(()=>{let e=document.querySelector("#portal");e&&(N(e),t.disconnect())});return t.observe(document.body,{childList:!0,subtree:!0}),()=>t.disconnect()},[]);let S=(0,t.jsx)(s.Transition,{show:m,children:(0,t.jsxs)("div",{className:k.transitionRoot,children:[(0,t.jsx)(s.TransitionChild,{enter:"transition ease-in-out duration-200 transform",enterFrom:"-translate-y-full",enterTo:"translate-y-0",children:(0,t.jsx)("div",{className:(0,a.twMerge)(k.animation,"w-1/3")})}),(0,t.jsx)(s.TransitionChild,{enter:"transition ease-in-out duration-200 delay-200 transform",enterFrom:"-translate-y-full",enterTo:"translate-y-0",children:(0,t.jsx)("div",{className:(0,a.twMerge)(k.animation,"w-2/3")})}),(0,t.jsx)(s.TransitionChild,{enter:"transition ease-in-out duration-200 delay-[400ms] transform",enterFrom:"-translate-y-full",enterTo:"translate-y-0",children:(0,t.jsx)("div",{className:(0,a.twMerge)(k.animation,"w-full")})}),(0,t.jsx)(s.TransitionChild,{enter:"transition ease-in-out duration-[600ms] delay-500 transform",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition ease-in-out duration-[600ms]",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,t.jsx)("div",{className:k.root,children:(0,t.jsxs)("div",{className:k.menuRoot,children:[(0,t.jsxs)("div",{className:k.menuHeader,children:[(0,t.jsx)("div",{className:k.menuButtonContainer,children:(0,t.jsx)("button",{type:"button",onClick:()=>p(!1),className:(0,a.twMerge)(d,k.closeButton),"aria-label":v||"Menü schlieÃen",children:(0,t.jsx)(i.IconClose,{classProps:{root:k.closeIcon}})})}),g,x]}),j,b,w]})})})]})});return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:k.leftSlotContainer,children:[(0,t.jsxs)("button",{type:"button",onClick:()=>p(!0),className:(0,a.twMerge)(d,k.menuButton),"aria-label":h||f||"Menü öffnen",children:[(0,t.jsx)(l.IconBurgerMenu,{classProps:{root:k.menuIcon}}),f&&(0,t.jsx)("span",{className:k.buttonText,children:f})]}),y]}),E&&(0,n.createPortal)(S,E)]})}],325272);var m=e.i(513593),p=e.i(641387),f=e.i(477487),h=e.i(332213),v=e.i(39839),g=e=>!e?.startsWith("/"),x=e=>g(e)?"_blank":"",w=e=>g(e)?"noopener noreferrer":"",b=({link:e,classProps:t,renderLink:n,index:s,withDropdown:l,showChevron:i})=>{let{width:o=0}=(0,v.useWindowSize)({initializeWithValue:!1}),a=e?.slug||e?.url||"",[u,c]=(0,r.useState)(!1),[d,g]=(0,r.useState)(null),[b,y]=(0,r.useState)(null),j=`dropdown-${s}`,k=(0,r.useRef)(null),E=(0,r.useRef)([]),N=(0,r.useRef)([]),S=(0,r.useRef)(null);(0,r.useEffect)(()=>{e?.children&&(E.current=Array(e.children.length).fill(null),N.current=Array(e.children.length).fill(null))},[e?.children]);let C=(0,f.a)({dropdownIcon:"ml-1 transition-transform",dropdown:"absolute top-full left-0 bg-white shadow-lg z-50 min-w-[200px] py-2 transform origin-top transition-all duration-200 ease-out opacity-100 scale-100",dropdownItem:"text-black px-4 py-2 hover:bg-gray block w-full text-left",subDropdown:"absolute top-0 left-full bg-white shadow-lg z-50 min-w-[200px] py-2 transform origin-top-left transition-all duration-200 ease-out opacity-100 scale-100"},t),M=e=>{"Escape"===e.key&&(e.preventDefault(),g(null),null!==d&&E.current[d]?.focus())};return n?n(e||{},s):e?.children&&e.children.length>0&&l&&o>=992?r.default.createElement("div",{className:"relative",onMouseEnter:()=>{S.current&&(clearTimeout(S.current),S.current=null),c(!0)},onMouseLeave:()=>{S.current=setTimeout(()=>{c(!1),g(null),y(null)},300)}},r.default.createElement("a",{ref:k,href:a,className:(0,h.a)("flex items-center cursor-pointer w-full h-full",C.link),onClick:()=>{c(!u)},onKeyDown:t=>{"Enter"===t.key||" "===t.key?e?.children?.length&&c(!u):"Escape"===t.key&&u?(t.preventDefault(),c(!1),k.current?.focus()):"ArrowDown"===t.key&&u&&e?.children&&(t.preventDefault(),null===b&&E.current[0]&&(E.current[0]?.focu
1s(),y(0)))},"aria-expanded":u,"aria-haspopup":"true",tabIndex:0},e?.title,i&&r.default.createElement("span",{className:"menu-indicator","aria-hidden":"true"},r.default.createElement(m.a,{classProps:{root:(0,h.a)(C.dropdownIcon,u?"transform rotate-180":"")}}))),r.default.createElement("ul",{className:(0,h.a)(C.dropdown,u?"opacity-100 scale-100":"opacity-0 scale-95 pointer-events-none"),id:j},e.children.map((t,n)=>{let l=`subdropdown-${s}-${n}`,i=!!t?.children?.length;return r.default.createElement("li",{key:n,className:"relative",onMouseEnter:()=>i?g(n):null,onMouseLeave:()=>g(null)},r.default.createElement("a",{ref:e=>{E.current[n]=e},href:t?.slug||t?.url||"",className:(0,h.a)(C.dropdownItem,i?"flex justify-between items-center":""),onClick:()=>{i&&g(d===n?null:n)},onKeyDown:t=>((t,r)=>{let n=!!e?.children?.[r]?.children?.length;if("ArrowDown"===t.key){if(t.preventDefault(),r<(e?.children?.length||0)-1){let e=r+1;E.current[e]?.focus(),y(e)}}else if("ArrowUp"===t.key)if(t.preventDefault(),r>0){let e=r-1;E.current[e]?.focus(),y(e)}else k.current?.focus(),y(null);else"ArrowRight"===t.key&&n?(t.preventDefault(),g(r),setTimeout(()=>{let e=N.current[r]?.querySelector("a");e&&e.focus()},100)):"ArrowLeft"===t.key&&null!==d?(t.preventDefault(),g(null)):"Escape"===t.key?(t.preventDefault(),null!==d?g(null):(c(!1),k.current?.focus())):("Enter"===t.key||" "===t.key)&&n&&g(d===r?null:r)})(t,n),"aria-haspopup":i?"true":void 0,"aria-expanded":i&&d===n?"true":void 0,target:x(t?.slug||t?.url||""),rel:w(t?.slug||t?.url||""),tabIndex:u?0:-1},t?.title,i&&r.default.createElement("span",{className:"submenu-indicator","aria-hidden":"true"},r.default.createElement(m.a,{classProps:{root:"transform -rotate-90 w-4 h-4"}}))),i&&r.default.createElement("ul",{className:(0,h.a)(C.subDropdown,d===n&&t?.children?"opacity-100 scale-100":"opacity-0 scale-90 pointer-events-none"),id:l,ref:e=>{N.current[n]=e}},t?.children?.map((e,t)=>r.default.createElement("li",{key:t},r.default.createElement("a",{href:e?.slug||e?.url||"",target:x(e?.slug||e?.url||""),rel:w(e?.slug||e?.url||""),className:C.dropdownItem,tabIndex:d===n?0:-1,onKeyDown:M},e?.title)))))}))):r.default.createElement(p.a,{noLink:!e||!!e.only_title,href:a,target:x(a),rel:w(a),classProps:{root:C.link}},e?.title)},y=e=>{let{classProps:t,items:n,title:s,withHeading:l}=e,i=r.Children.toArray(e.children),o=(0,f.a)({root:"flex flex-wrap relative overflow-x-scroll",heading:"",list:"",listItem:"select-none"},t);return r.default.createElement("nav",{className:o.root,"aria-label":s||"Navigation"},l&&r.default.createElement("h3",{className:o.heading},s),n&&n.length>0&&r.default.createElement("ul",{className:o.list},n.map((t,n)=>r.default.createElement("li",{className:(0,h.a)(o.listItem,t?.parameter),key:n},r.default.createElement(b,{...e,link:t,index:n}))),r.Children.map(i,(e,t)=>r.default.createElement("li",{className:o.listItem,key:t},e))))},j=e.i(862528),k=e.i(742661);e.s(["Navigation",0,({items:e,classProps:r,withDropdown:n})=>{let s={...(0,o.composeStyles)(j.default,r),root:"w-full flex flex-nowrap justify-start items-center m-auto flex-shrink-0 relative border-inner gap-4 py-2 sm:overflow-visible",dropdownIcon:"w-4 h-4 ml-1",dropdown:`${k.default.itemWrapper} overflow-hidden divide-y divide-gray/10`,dropdownItem:`${k.default.item} hover:text-secondary hover:bg-transparent headerNavigationDropdown`,subDropdown:`${k.default.itemWrapper} overflow-hidden`,listItem:`${k.default.button} border-r border-navy last:border-none px-2`,link:`${k.default.buttonLabel} headerNavigationTop`};return(0,t.jsx)(y,{classProps:s,items:e,withHeading:!1,withDropdown:n,showChevron:!1})}],661922)},449422,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=({classProps:e})=>r.default.createElement("svg",{className:e?.root,width:"20",height:"15",viewBox:"0 0 20 15",xmlns:"http://www.w3.org/2000/svg"},r.default.createElement("path",{fill:"currentColor",d:"M-0.000338875 8.4512L15.7409 8.4512L10.0287 13.5885L11.5547 14.9609L19.8721 7.48061L11.5547 0.000290217L10.0287 1.3727L15.7409 6.51003L-0.000338687 6.51003L-0.000338875 8.4512Z"})),s=e.i(288708),l=e.i(255446),i=e.i(118435);e.s(["SubscriptionAd",0,({element:e,classProps:r,showArrow:o})=>{let a=(0,l.composeStyles)({root:"relative w-full h-full text-white",titleWrapper:"flex justify-between items-center",title:"label-base relative z-10",contentWrapper:"relative md:absolute grid md:inset-0 md:top-6 items-end min-h-article-image-small md:min-h-0",imageWrapper:"absolute inset-0",image:"h-full w-full object-contain",imageGradient:"absolute inset-0 bg-gradient-to-b from-primary/0 to-primary/70",teaserWrapper:"relative max-w-xs text-white",teaser:"heading-3 px-3"},r);return(0,t.jsxs)(i.Link,{href:e?.link??"",classProps:{root:a.root},children:[(0,t.jsxs)("div",{className:a.titleWrapper,children:[(0,t.jsx)("div",{className:a.title,children:e?.title}),o&&(0,t.jsx)(n,{})]}),(0,t.jsxs)("div",{className:a.contentWrapper,children:[e?.asset?.url&&(0,t.jsxs)("div",{className:a.imageWrapper,children:[(0,t.jsx)(s.Image,{src:e?.asset.url,alt:e?.asset.alt??"",copyright:e?.asset?.copyright_text??"",focus:e?.asset?.focal_point,imageMode:"contain",className:a.image,fill:!0,sizes:"(min-width: 768px) 500px, 100vw",fetchPriority:"high"}),(0,t.jsx)("div",{className:a.imageGradient})]}),(0,t.jsx)("div",{className:a.teaserWrapper,children:(0,t.jsx)("div",{className:a.teaser,dangerouslySetInnerHTML:{__html:e?.teaser??""}})})]})]})}],449422)},354708,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(770703),s=e.i(428120),l=e.i(288708),i=e.i(364755),o=e.i(255446),a=e.i(317168),u=e.i(526732),c=e.i(919056),d=e.i(118435),m=e.i(185438),p=e.i(325272),f=e.i(661922),h=e.i(449422);let v=({classProps:e})=>(0,t.jsxs)("svg",{className:e?.root,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M11.6797 15.12L14.2397 12.56L11.6797 10",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M4 12.5596H14.17",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M12 4.5C16.42 4.5 20 7.5 20 12.5C20 17.5 16.42 20.5 12 20.5",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),g=({classProps:e})=>(0,t.jsxs)("svg",{className:e?.root,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M6.56 10L4 12.56L6.56 15.12",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M14.2397 12.5604L4.0697 12.5604",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M12 4.5C16.42 4.5 20 7.5 20 12.5C20 17.5 16.42 20.5 12 20.5",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),x=({classProps:e,color:r="currentColor"})=>(0,t.jsxs)("svg",{className:e?.root,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("circle",{cx:"12",cy:"9",r:"3",stroke:r,strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M17.9691 20C17.81 17.1085 16.9247 15 11.9999 15C7.07521 15 6.18991 17.1085 6.03076 20",stroke:r,strokeWidth:"1.5",strokeLinecap:"round"})]});var w=e.i(32235),b=e.i(261792);let y={root:"bg-navy max-w-screen sticky transition-all duration-100 z-30 pt-3 md:pt-0 text-white",slots:"pb-3 pl-5 pr-2 md:px-5 grid grid-cols-[1fr,auto,1fr]",navWrapper:"bg-gray-off-white pt-5 mt-6 !text-navy"},j=(0,n.default)(()=>e.A(390314).then(e=>e.Search),{loadableGenerated:{modules:[285217]},ssr:!1}),k=()=>(0,t.jsx)(d.Link,{href:"/",classProps:{root:"headerLogo"},children:(0,t.jsx)(l.Image,{src:"/assets/logos/yachtrevue-logo-long.png",alt:"Yachtrevue Logo",width:"200",height:"52",className:"h-8 scale-75 sm:scale-100",copyright:"",priority:!0})}),E=()=>(0,t.jsx)("div",{className:"hidden md:block",children:(0,t.jsx)(j,{searchAsOverlay:!0})}),N=()=>{let{status:e,data:n}=(0,u.useSession)(),s=n?.user;return(0,a.usePayOrGo)({hasPermission:s?.permissions?.includes(w.PAY_OR_GO_SETTINGS.permission),alertMessage:w.PAY_OR_GO_SETTINGS.alertMessage}),(0,r.useEffect)(()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"loginStatus changed",loginStatus:"authenticated"===e?"eingeloggt":"nicht eingeloggt"})},[e]),(0,t.jsxs)("div",{className:"flex w-full items-center justify-end",children:[(0,t.jsx)("div",{className:"gap-3 md:flex",children:(0,t.jsx)(d.Link,{href:"/abo",classProps:{root:"text-sm font-medium text-white headerAbo"},children:"ABO"})}),(0,t.jsx)("div",{className:"mx-3 h-6 w-px justify-self-center bg-white md:mx-5 md:block"}),(0,t.jsx)(E,{}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"ml-5 hidden h-6
1w-px bg-white md:block"}),(0,t.jsxs)("div",{className:"group relative inline-block outline-none",children:[(0,t.jsx)("button",{tabIndex:0,role:"button",type:"button","aria-haspopup":"menu",className:"ml-0 md:ml-5",id:"profile-menu-button","aria-label":"authenticated"===e?"Profil-Menü öffnen":"Anmelde-Menü öffnen",children:(0,t.jsx)(x,{classProps:{root:"text-white flex-shrink-0 inline-block w-7 h-7"},color:"authenticated"===e?"#F3BD44":"currentColor"})}),(0,t.jsx)("div",{tabIndex:0,className:"invisible absolute bottom-auto end-0 top-full z-10 origin-top scale-95 pt-2 opacity-0 transition duration-100 ease-out group-hover:visible group-hover:scale-100 group-hover:opacity-100",children:(0,t.jsx)("div",{className:"bg-white p-5 backdrop-blur-sm",children:"loading"===e?(0,t.jsx)(i.Spinner,{classProps:{root:"mx-auto text-black"}}):"authenticated"===e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.Link,{href:"/settings",classProps:{root:"text-sm"},children:(0,t.jsx)("button",{className:"flex flex-nowrap items-center text-sm text-black hover:text-secondary",children:(0,t.jsx)("span",{className:"mb-6",children:"Mein Profil"})})}),(0,t.jsxs)("button",{onClick:()=>(0,u.signOut)(),className:"flex flex-nowrap items-center text-sm text-black hover:text-secondary",children:[(0,t.jsx)(g,{classProps:{root:"w-6 h-6"}}),(0,t.jsx)("span",{className:"ml-2",children:"Logout"})]})]}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("button",{onClick:()=>(0,u.signIn)(),className:"flex flex-nowrap items-center text-sm text-black hover:text-secondary",children:[(0,t.jsx)(v,{classProps:{root:"w-6 h-6"}}),(0,t.jsx)("span",{className:"ml-2 min-w-max",children:"Login"})]})})})})]})]})]})},S=({items:e})=>{let n=(0,r.useContext)(b.default),{globals:s}=n,l=e||n?.navigations?.header?.items;return(0,t.jsx)(p.BurgerMenu,{isVisible:n?.menuOverlay?.visible??!1,setIsVisible:e=>n?.menuOverlay?.setVisible(e),classProps:{root:"",menuHeader:"pt-0 md:pt-3 px-0",menuButton:"w-auto h-full justify-start text-white",buttonText:"text-white pl-3 uppercase text-sm hidden md:inline-block",menuRoot:"scrollbar-none"},headerMiddleSlot:(0,t.jsx)(k,{}),headerRightSlot:(0,t.jsx)(N,{}),buttonText:"Menü",menuMiddleSlot:(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("div",{className:"md:hidden",children:(0,t.jsx)(j,{simple:!0})}),(0,t.jsxs)("div",{className:"mt-10 grid w-full gap-5 px-6 md:grid-cols-3 md:gap-10 md:px-14 lg:grid-cols-4 lg:gap-20 lg:px-28",children:[l?.map(e=>(0,t.jsxs)("div",{className:"group",children:[(0,t.jsxs)(d.Link,{href:e?.slug||e?.url||"",classProps:{root:"heading-3 slide-in-underline after:bottom-0 mb-4 flex items-baseline w-full cursor-pointer whitespace-nowrap border-b border-gray/20 pb-3 uppercase text-black transition-colors duration-300 after:mt-3 group-hover:text-secondary burgerMenuMainLink"},children:[(0,t.jsx)(m.TrendDot,{classProps:{root:"h-4 inline-grid items-end mr-2",dot:"bg-black group-hover:bg-secondary transition-colors duration-300"}}),e?.title]}),(0,t.jsx)("ul",{children:e?.children?.map(e=>(0,t.jsx)("li",{className:"mb-1 cursor-pointer text-black/70 transition-colors duration-300 hover:text-black",children:(0,t.jsx)(d.Link,{href:e?.slug||e?.url||"",classProps:{root:"burgerMenuLink"},children:e?.title})},e?.id))})]},e?.id)),s?.subscription_ad&&(0,t.jsx)(h.SubscriptionAd,{element:s.subscription_ad,classProps:{root:"h-60 w-60 border border-white p-3 grid grid-rows-[auto,1fr] group",title:"text-2xl font-special text-black slide-in-underline no-underline",contentWrapper:"grid items-end",imageWrapper:"bottom-5 w-full h-48 group-hover:-translate-y-1 transition-transform duration-300",image:"h-48 w-48",teaser:"text-lg font-special text-black uppercase mb-7"},showArrow:!0})]})]}),menuBottomSlot:(0,t.jsx)("div",{className:"mt-10 flex w-full flex-wrap items-center justify-center",children:n?.navigations?.extra?.items?.map(e=>(0,t.jsx)(d.Link,{href:e?.slug||e?.url||"",classProps:{root:"cursor-pointer pb-2 pr-4 text-xs text-black/60 transition-colors duration-300 hover:text-black"},children:e?.title},e?.id))})})};e.s(["Header",0,({showProgress:e=!0,classProps:n})=>{let[l,i]=(0,r.useState)(!0),a=(0,r.useContext)(b.default),{data:d,status:m}=(0,u.useSession)(),p=()=>{i(!(document.body.scrollTop>0||document.documentElement.scrollTop>0))};(0,r.useEffect)(()=>(p(),window.addEventListener("scroll",p),()=>window.removeEventListener("scroll",p)),[]);let h=a?.navigations?.header?.items;return"authenticated"===m&&d?.user?.permissions?.includes("yachtrevue:e-paper")&&h&&(h=h.map(e=>e?.url==="/epaper"||e?.url?.endsWith("/epaper")?{...e,url:"https://epaper.yachtrevue.at"}:e)),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.Header,{classProps:(0,o.composeStyles)(y,{root:(0,c.twMerge)(l?"md:pt-8":"md:pt-3","-mt-8")},{root:n?.root??""}),progressBarProps:{classProps:{progress:"bg-secondary"}},leftSlot:(0,t.jsx)(S,{items:h}),middleSlot:(0,t.jsx)(k,{}),rightSlot:(0,t.jsx)(N,{}),showProgress:e}
1),(0,t.jsx)("div",{className:(0,c.twMerge)(y?.navWrapper,"relative z-20",n?.navWrapper),children:(0,t.jsx)(f.Navigation,{classProps:{root:(0,c.twMerge)("pb-6 pt-8",n?.nav)},items:h||[],withDropdown:!0})})]})}],354708)},854056,553521,e=>{"use strict";let t;var r=e.i(271645),n=e.i(746725),s=e.i(914189),l=e.i(835696);function i(){let e=(0,r.useRef)(!1);return(0,l.useIsoMorphicEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}e.s(["useIsMounted",0,i],553521);var o=e.i(941444),a=e.i(80758);function u(){let e,t=(e="u"<typeof document,"useSyncExternalStore"in r&&(0,r.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[n,s]=r.useState(a.env.isHandoffComplete);return n&&!1===a.env.isHandoffComplete&&s(!1),r.useEffect(()=>{!0!==n&&s(!0)},[n]),r.useEffect(()=>a.env.handoff(),[]),!t&&n}var c=e.i(294316),d=e.i(83733),m=e.i(233137),p=e.i(732607),f=e.i(397701),h=e.i(700020);function v(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||!(0,h.isFragment)(null!=(t=e.as)?t:j)||1===r.default.Children.count(e.children)}let g=(0,r.createContext)(null);g.displayName="TransitionContext";var x=((t=x||{}).Visible="visible",t.Hidden="hidden",t);let w=(0,r.createContext)(null);function b(e){return"children"in e?b(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function y(e,t){let l=(0,o.useLatestValue)(e),a=(0,r.useRef)([]),u=i(),c=(0,n.useDisposables)(),d=(0,s.useEvent)((e,t=h.RenderStrategy.Hidden)=>{let r=a.current.findIndex(({el:t})=>t===e);-1!==r&&((0,f.match)(t,{[h.RenderStrategy.Unmount](){a.current.splice(r,1)},[h.RenderStrategy.Hidden](){a.current[r].state="hidden"}}),c.microTask(()=>{var e;!b(a)&&u.current&&(null==(e=l.current)||e.call(l))}))}),m=(0,s.useEvent)(e=>{let t=a.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>d(e,h.RenderStrategy.Unmount)}),p=(0,r.useRef)([]),v=(0,r.useRef)(Promise.resolve()),g=(0,r.useRef)({enter:[],leave:[]}),x=(0,s.useEvent)((e,r,n)=>{p.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter(([t])=>t!==e)),null==t||t.chains.current[r].push([e,new Promise(e=>{p.current.push(e)})]),null==t||t.chains.current[r].push([e,new Promise(e=>{Promise.all(g.current[r].map(([e,t])=>t)).then(()=>e())}
1)]),"enter"===r?v.current=v.current.then(()=>null==t?void 0:t.wait.current).then(()=>n(r)):n(r)}),w=(0,s.useEvent)((e,t,r)=>{Promise.all(g.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=p.current.shift())||e()}).then(()=>r(t))});return(0,r.useMemo)(()=>({children:a,register:m,unregister:d,onStart:x,onStop:w,wait:v,chains:g}),[m,d,a,x,w,g,v])}w.displayName="NestingContext";let j=r.Fragment,k=h.RenderFeatures.RenderStrategy,E=(0,h.forwardRefWithAs)(function(e,t){let{show:n,appear:i=!1,unmount:o=!0,...a}=e,d=(0,r.useRef)(null),p=v(e),f=(0,c.useSyncRefs)(...p?[d,t]:null===t?[]:[t]);u();let x=(0,m.useOpenClosed)();if(void 0===n&&null!==x&&(n=(x&m.State.Open)===m.State.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[j,E]=(0,r.useState)(n?"visible":"hidden"),S=y(()=>{n||E("hidden")}),[C,M]=(0,r.useState)(!0),L=(0,r.useRef)([n]);(0,l.useIsoMorphicEffect)(()=>{!1!==C&&L.current[L.current.length-1]!==n&&(L.current.push(n),M(!1))},[L,n]);let T=(0,r.useMemo)(()=>({show:n,appear:i,initial:C}),[n,i,C]);(0,l.useIsoMorphicEffect)(()=>{n?E("visible"):b(S)||null===d.current||E("hidden")},[n,S]);let P={unmount:o},I=(0,s.useEvent)(()=>{var t;C&&M(!1),null==(t=e.beforeEnter)||t.call(e)}),R=(0,s.useEvent)(()=>{var t;C&&M(!1),null==(t=e.beforeLeave)||t.call(e)}),W=(0,h.useRender)();return r.default.createElement(w.Provider,{value:S},r.default.createElement(g.Provider,{value:T},W({ourProps:{...P,as:r.Fragment,children:r.default.createElement(N,{ref:f,...P,...a,beforeEnter:I,beforeLeave:R})},theirProps:{},defaultTag:r.Fragment,features:k,visible:"visible"===j,name:"Transition"})))}),N=(0,h.forwardRefWithAs)(function(e,t){var n,i;let{transition:o=!0,beforeEnter:a,afterEnter:x,beforeLeave:E,afterLeave:N,enter:S,enterFrom:C,enterTo:M,entered:L,leave:T,leaveFrom:P,leaveTo:I,...R}=e,[W,O]=(0,r.useState)(null),D=(0,r.useRef)(null),H=v(e),A=(0,c.useSyncRefs)(...H?[D,t,O]:null===t?[]:[t]),B=null==(n=R.unmount)||n?h.RenderStrategy.Unmount:h.RenderStrategy.Hidden,{show:F,appear:z,initial:_}=function(){let e=(0,r.useContext)(g);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[$,V]=(0,r.useState)(F?"visible":"hidden"),G=function(){let e=(0,r.useContext)(w);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:U,unregister:K}=G;(0,l.useIsoMorphicEffect)(()=>U(D),[U,D]),(0,l.useIsoMorphicEffect)(()=>{if(B===h.RenderStrategy.Hidden&&D.current)return F&&"visible"!==$?void V("visible"):(0,f.match)($,{hidden:()=>K(D),visible:()=>U(D)})},[$,D,U,K,F,B]);let Z=u();(0,l.useIsoMorphicEffect)(()=>{if(H&&Z&&"visible"===$&&null===D.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[D,$,Z,H]);let q=_&&!z,Y=z&&F&&_,J=(0,r.useRef)(!1),Q=y(()=>{J.current||(V("hidden"),K(D))},G),X=(0,s.useEvent)(e=>{J.current=!0,Q.onStart(D,e?"enter":"leave",e=>{"enter"===e?null==a||a():"leave"===e&&(null==E||E())})}),ee=(0,s.useEvent)(e=>{let t=e?"enter":"leave";J.current=!1,Q.onStop(D,t,e=>{"enter"===e?null==x||x():"leave"===e&&(null==N||N())}),"leave"!==t||b(Q)||(V("hidden"),K(D))});(0,r.useEffect)(()=>{H&&o||(X(F),ee(F))},[F,H,o]);let et=!(!o||!H||!Z||q),[,er]=(0,d.useTransition)(et,W,F,{start:X,end:ee}),en=(0,h.compact)({ref:A,className:(null==(i=(0,p.classNames)(R.className,Y&&S,Y&&C,er.enter&&S,er.enter&&er.closed&&C,er.enter&&!er.closed&&M,er.leave&&T,er.leave&&!er.closed&&P,er.leave&&er.closed&&I,!er.transition&&F&&L))?void 0:i.trim())||void 0,...(0,d.transitionDataAttributes)(er)}),es=0;"visible"===$&&(es|=m.State.Open),"hidden"===$&&(es|=m.State.Closed),F&&"hidden"===$&&(es|=m.State.Opening),F||"visible"!==$||(es|=m.State.Closing);let el=(0,h.useRender)();return r.default.createElement(w.Provider,{value:Q},r.default.createElement(m.OpenClosedProvider,{value:es},el({ourProps:en,theirProps:R,defaultTag:j,features:k,visible:"visible"===$,name:"Transition.Child"})))}),S=(0,h.forwardRefWithAs)(function(e,t){let n=null!==(0,r.useContext)(g),s=null!==(0,m.useOpenClosed)();return r.default.createElement(r.default.Fragment,null,!n&&s?r.default.createElement(E,{ref:t,...e}):r.default.createElement(N,{ref:t,...e}))}),C=Object.assign(E,{Child:S,Root:E});e.s(["Transition",0,C,"TransitionChild",0,S],854056)},404134,e=>{"use strict";
1var t=(0,e.i(768834).create)()((e,t)=>({images:[],addCopyright:r=>{let{images:n}=t();if(!r)return n;let s=n.findIndex(e=>e.copyright===r);if(-1!==s){let t=[...n];return t[s].count+=1,e({images:t})}return e({images:[...n,{copyright:r,count:1}]})},resetImageStore:()=>e({images:[]})}));e.s(["a",0,t])},788836,e=>{"use strict";var t=e.i(404134);e.s(["useImageStore",()=>t.a])},255446,e=>{"use strict";var t=e.i(477487);e.s(["composeStyles",()=>t.a])},428120,e=>{"use strict";var t=e.i(477487),r=e.i(332213),n=e.i(271645),s=({useCustomScrollInput:e,scrollableHeight:s=0,scrollTop:l=0,overScroll:i=0,classProps:o})=>{let[a,u]=(0,n.useState)(0),c=()=>{let e=(document.documentElement.scrollHeight??document.body.scrollHeight)-document.documentElement.clientHeight;u((document.documentElement.scrollTop??document.body.scrollTop)/e*100*(1+Math.min(100,Math.max(0,i))/100))};(0,n.useEffect)(()=>(e||(window.addEventListener("scroll",c),window.addEventListener("resize",c)),()=>{e||(window.removeEventListener("scroll",c),window.removeEventListener("resize",c))}),[e]),(0,n.useEffect)(()=>{u(l/s*100)},[l,s]);let d=(0,t.a)({root:"w-full bg-none",progress:"bg-gray-dark h-1"},o);return n.default.createElement("div",{className:(0,r.a)(d.root,!a||a<=.1?"hidden":""),"aria-hidden":!0},n.default.createElement("div",{className:d.progress,style:{width:`${a}%`}}))};e.s(["Header",0,({classProps:e,leftSlot:r,middleSlot:l,rightSlot:i,showProgress:o,progressBarProps:a})=>{let u=(0,t.a)({root:"fixed top-0 inset-x-0",slots:"flex items-center justify-between"},e);return n.default.createElement("header",{className:u.root},n.default.createElement("div",{className:u.slots},r&&r,l&&l,i&&i),o&&n.default.createElement(s,{...a}))}],428120)},751831,e=>{"use strict";var t=e.i(332213);e.s(["twMerge",()=>t.a])},636415,e=>{"use strict";var t=e.i(271645),r=({iconSize:e,classProps:r})=>t.default.createElement("svg",{className:r?.root,width:e||"24px",height:e||"24px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-testid":"iconSpinner-01"},t.default.createElement("g",null,t.default.createElement("path",{d:"M23 12C23 13.9561 22.4784 15.8768 21.4889 17.5642C20.4995 19.2516 19.078 20.6446 17.3709 21.5997C15.6638 22.5547 13.733 23.0374 11.7773 22.9977C9.82158 22.9581 7.91183 22.3978 6.24483 21.3743C4.57783 20.3509 3.21389 18.9015 2.29356 17.1754C1.37324 15.4494 0.929823 13.5091 1.00902 11.5546C1.08822 9.60015 1.68716 7.70214 2.74413 6.0562C3.80109 4.41026 5.27784 3.07594 7.02218 2.19076",stroke:"currentColor",strokeWidth:"2"}))),n=e.i(477487);e.s(["a",0,({iconSize:e="24px",classProps:s})=>{let l=(0,n.a)({root:"origin-center animate-spin"},s);return t.default.createElement(r,{iconSize:e,classProps:{root:l.root}})}],636415)},364755,e=>{"use strict";var t=e.i(636415);e.s(["Spinner",()=>t.a])},317168,e=>{"use strict";var t=e.i(56640);e.s(["usePayOrGo",()=>t.b])},529256,e=>{"use strict";var t=e.i(271645);e.s(["a",0,({classProps:e})=>t.default.createElement("svg",{width:"24",height:"11",className:e?.root,viewBox:"0 0 24 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},t.default.createElement("path",{d:"M0 0H24V1.375H0V0Z",fill:"currentColor"}),t.default.createElement("path",{d:"M0 4.8125H24V6.1875H0V4.8125Z",fill:"currentColor"}),t.default.createElement("path",{d:"M0 9.625H24V11H0V9.625Z",fill:"currentColor"}))])},424210,192791,e=>{"use strict";var t=e.i(529256);e.s(["IconBurgerMenu",()=>t.a],424210);var r=e.i(906799);e.s(["IconClose",()=>r.a],192791)},78333,(e,t,r)=>{var n=0/0,s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt,u=e.g&&e.g.Object===Object&&e.g,c="object"==typeof self&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),m=Object.prototype.toString,p=Math.max,f=Math.min,h=function(){return d.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==m.call(t))return n;if(v(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=v(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var u=i.test(e);return u||o.test(e)?a(e.slice(2),u?2:8):l.test(e)?n:+e}t.exports=function(e,t,r){var n,s,l,i,o,a,u=0,c=!1,d=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function x(t){var r=n,l=s;return n=s=void 0,u=t,i=e.apply(l,r)}function w(e){var r=e-a,n=e-u;return void 0===a||r>=t||r<0||d&&n>=l}function b(){var e,r,n,s=h();if(w(s))return y(s);o=setTimeout(b,(e=s-a,r=s-u,n=t-e,d?f(n,l-r):n))}function y(e){return(o=void 0,m&&n)?x(e):(n=s=void 0,i)}function j(){var e,r=h(),l=w(r);if(n=arguments,s=this,a=r,l){if(void 0===o)return u=e=a,o=setTimeout(b,t),c?x(e):i;if(d)return o=setTimeout(b,t),x(a)}return void 0===o&&(o=setTimeout(b,t)),i}return t=g(t)||0,v(r)&&(c=!!r.leading,l=(d="maxWait"in r)?p(g(r.maxWait)||0,t):l,m="trailing"in r?!!r.trailing:m),j.cancel=function(){void 0!==o&&clearTimeout(o),u=0,n=a=s=o=void 0},j.flush=function(){return void 0===o?i:y(h())},j}}]);
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.