1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,96877,e=>{"use strict";var t=e.i(55500),r=e.i(59384),n=e.i(57408);let l={font:"normal",contrast:!1,grayscale:!1};function a(e){let t=document.documentElement;t.classList.toggle("a11y-font-lg","lg"===e.font),t.classList.toggle("a11y-font-xl","xl"===e.font),t.classList.toggle("a11y-contrast",e.contrast),t.classList.toggle("a11y-grayscale",e.grayscale)}function s(){let[e,s]=(0,n.useState)(!1),[i,o]=(0,n.useState)(l),u=(0,r.useT)();(0,n.useEffect)(()=>{try{let e=window.localStorage.getItem("a11y-settings");if(e){let t={...l,...JSON.parse(e)};o(t),a(t)}}catch{}},[]);let c=e=>{let t={...i,...e};o(t),a(t),window.localStorage.setItem("a11y-settings",JSON.stringify(t))},d=e=>`rounded-md border px-3 py-1.5 text-sm transition-colors ${e?"border-orange-500 bg-orange-600 text-white":"border-neutral-600 text-neutral-300 hover:border-orange-500 hover:text-white"}`;return(0,t.jsxs)("div",{className:"fixed bottom-4 right-4 z-50 flex flex-col items-end gap-2",children:[e?(0,t.jsxs)("div",{className:"w-64 rounded-xl border border-neutral-600 bg-neutral-800 p-4 shadow-xl",children:[(0,t.jsx)("p",{className:"mb-2 text-sm font-semibold text-white",children:u("Barrierefreiheit","Accessibility")}),(0,t.jsx)("p",{className:"mb-1 text-xs text-neutral-400",children:u("SchriftgröÃe","Font size")}),(0,t.jsxs)("div",{className:"mb-3 flex gap-2",children:[(0,t.jsx)("button",{onClick:()=>c({font:"normal"}),className:d("normal"===i.font),children:"A"}),(0,t.jsx)("button",{onClick:()=>c({font:"lg"}),className:d("lg"===i.font),children:"A+"}),(0,t.jsx)("button",{onClick:()=>c({font:"xl"}),className:d("xl"===i.font),children:"A++"})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)("button",{onClick:()=>c({contrast:!i.contrast}),className:d(i.contrast),children:[u("Hoher Kontrast","High contrast")," ",i.contrast?"â":""]}),(0,t.jsxs)("button",{onClick:()=>c({grayscale:!i.grayscale}),className:d(i.grayscale),children:[u("Graustufen","Grayscale")," ",i.grayscale?"â":""]})]})]}):null,(0,t.jsx)("button",{onClick:()=>s(!e),"aria-label":u("Einstellungen zur Barrierefreiheit öffnen","Open accessibility settings"),"aria-expanded":e,className:"flex h-12 w-12 items-center justify-center rounded-full border border-neutral-500 bg-neutral-800/95 text-neutral-300 shadow-lg backdrop-blur-sm transition-colors hover:border-orange-500 hover:text-white",children:(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:"h-5 w-5","aria-hidden":!0,children:[(0,t.jsx)("circle",{cx:"12",cy:"4.5",r:"2"}),(0,t.jsx)("path",{d:"M4.5 8.5c5 1.2 10 1.2 15 0M12 9.5v4.5l-3 7M12 14l3 7"})]})})]})}e.s(["default",()=>s])},22524,e=>{"use strict";var t=e.i(55500),r=e.i(59384),n=e.i(15168),l=e.i(57408);function a(e,r,l){let a,s=[],i=/\[([^\]]+)\]\(([^)\s]+)\)/g,o=0,u=0;for(;null!==(a=i.exec(e));){a.index>o&&s.push(e.slice(o,a.index));let c=function(e){let t=e.trim();if(t.startsWith("/"))return t;let r=t.match(/^https?:\/\/(?:www\.)?gastro-nik\.com(\/[^\s]*)?$/i);return r?r[1]||"/":/^https?:\/\//i.test(t)?t:null}(a[2]);if(c){let e=/^https?:\/\//i.test(c);s.push(e?(0,t.jsx)("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"font-semibold text-orange-400 underline underline-offset-2",children:a[1]},`${r}l${u}`):(0,t.jsx)(n.default,{href:c,onClick:l,className:"font-semibold text-orange-400 underline underline-offset-2",children:a[1]},`${r}l${u}`))}else s.push(a[1]);o=i.lastIndex,u++}return o<e.length&&s.push(e.slice(o)),s}let s=["Kühlschrank für kleine Küche gesucht","Welcher Pizzaofen für 4 Pizzen?","Spülmaschine mit 400 V"],i=["Looking for a refrigerator for a small kitchen","Which pizza oven for 4 pizzas?","Dishwasher with 400 V"];function o(){let e=(0,r.useT)(),n=(0,r.usePfad)(),o=(0,r.useSprache)(),[u,c]=(0,l.useState)(!1),[d,h]=(0,l.useState)(!1),[f,m]=(0,l.useState)(""),[p,x]=(0,l.useState)(!1),[g,v]=(0,l.useState)([]),b=(0,l.useRef)(null);(0,l.useEffect)(()=>{b.current?.scrollTo({top:b.current.scrollHeight})},[g,p,u]);let w="chat-verlauf";(0,l.useEffect)(()=>{try{let e=sessionStorage.getItem(w);if(!e)return;let t=JSON.parse(e);Array.isArray(t.nachrichten)&&t.nachrichten.length&&(v(t.nachrichten),t.offen&&c(!0))}catch{}},[]),(0,l.useEffect)(()=>
1{if(g.length)try{sessionStorage.setItem(w,JSON.stringify({nachrichten:g,offen:u}))}catch{}},[g,u]),(0,l.useEffect)(()=>{if(sessionStorage.getItem("chat-hinweis-gezeigt"))return;let e=setTimeout(()=>{sessionStorage.getItem("chat-hinweis-gezeigt")||(sessionStorage.setItem("chat-hinweis-gezeigt","1"),h(!0))},6e4);return()=>clearTimeout(e)},[]),(0,l.useEffect)(()=>{u&&h(!1)},[u]);let j=async e=>{let t=e.trim();if(!t||p)return;let r=[...g,{role:"user",content:t}];v(r),m(""),x(!0);try{let e=await fetch("/api/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:r,sprache:o})}),t=await e.json();v([...r,{role:"assistant",content:t.antwort??"â¦"}])}catch{v([...r,{role:"assistant",content:"Entschuldigung, gerade klappt die Verbindung nicht. Rufen Sie uns gern an: +49 6724 2069393 (MoâFr 9:00â17:00 Uhr)."}])}finally{x(!1)}};return(0,t.jsxs)(t.Fragment,{children:[d&&!u?(0,t.jsxs)("div",{className:"fixed bottom-16 right-16 z-50 flex max-w-[260px] animate-fadeIn items-start gap-2 rounded-2xl rounded-br-sm border border-neutral-600 bg-neutral-800 p-3 shadow-2xl",children:[(0,t.jsxs)("button",{onClick:()=>c(!0),className:"text-left text-sm leading-snug text-neutral-200",children:["ð"," ",e("Kann ich Ihnen bei der Produktauswahl helfen? Fragen Sie mich einfach â ich kenne alle technischen Daten.","Can I help you choose the right product? Just ask â I know all the technical specs.")]}),(0,t.jsx)("button",{onClick:()=>h(!1),"aria-label":e("Hinweis schlieÃen","Close hint"),className:"flex-none text-neutral-500 hover:text-white",children:"â"})]}):null,(0,t.jsx)("button",{onClick:()=>c(!u),"aria-label":e("Produktberater-Chat öffnen","Open product advisor chat"),className:"fixed bottom-16 right-4 z-50 flex h-11 w-11 items-center justify-center rounded-full border border-neutral-500 bg-neutral-800/95 text-white shadow-lg backdrop-blur-sm transition-colors hover:border-orange-500",children:(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:"h-5 w-5","aria-hidden":!0,children:[(0,t.jsx)("path",{d:"M21 12a8 8 0 0 1-8 8H5l-2 2V12a8 8 0 0 1 8-8h2a8 8 0 0 1 8 8z"}),(0,t.jsx)("path",{d:"M8.5 11h.01M12 11h.01M15.5 11h.01"})]})}),u?(0,t.jsxs)("div",{className:"fixed bottom-32 right-4 z-50 flex h-[480px] w-[calc(100vw-2rem)] max-w-sm flex-col overflow-hidden rounded-2xl border border-neutral-600 bg-neutral-900 shadow-2xl",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between border-b border-neutral-700 bg-neutral-800 px-4 py-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-semibold text-white",children:e("Produktberater","Product advisor")}),(0,t.jsxs)("p",{className:"text-xs text-neutral-400",children:[e("KI-Assistent (Anthropic) · kann Fehler machen · ","AI assistant (Anthropic) · may make mistakes · "),(0,t.jsx)("a",{href:n("/datenschutz"),target:"_blank",rel:"noopener",className:"underline underline-offset-2 hover:text-white",children:e("Datenschutz","Privacy")})]})]}),(0,t.jsx)("button",{onClick:()=>c(!1),"aria-label":e("Chat schlieÃen","Close chat"),className:"text-neutral-400 hover:text-white",children:"â"})]}),(0,t.jsx)("div",{ref:b,className:"flex-1 overflow-y-auto overscroll-contain p-3",children:0===g.length?(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("p",{className:"rounded-xl bg-neutral-800 p-3 text-sm text-neutral-200",children:e("Guten Tag! Ich helfe Ihnen bei der Produktauswahl â von der Kühltechnik bis zum Pizzaofen, inklusive technischer Daten. Was suchen Sie?","Hello! I can help you choose the right product â from refrigeration to pizza ovens, including technical specs. What are you looking for?")}),("en"===e("de","en")?i:s).map(e=>(0,t.jsx)("button",{onClick:()=>j(e),className:"rounded-full border border-neutral-600 px-3 py-1.5 text-left text-xs text-neutral-300 transition-colors hover:border-orange-500 hover:text-white",children:e},e))]}):(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[g.map((e,r)=>(0,t.jsx)("p",{className:"user"===e.role?"ml-8 self-end whitespace-pre-wrap rounded-xl bg-orange-600 p-3 text-sm text-white":"mr-8 self-start whitespace-pre-wrap rounded-xl bg-neutral-800 p-3 text-sm text-neutral-200",children:function(e,r){let n,l=e.replace(/^\s{0,3}#{1,6}\s+(.+?)\s*$/gm,"**$1**"),s=[],i=/\*\*([\s\S]+?)\*\*/g,o=0,u=0;for(;null!==(n=i.exec(l));)n.index>o&&s.push(...a(l.slice(o,n.index),`v${u}`,r)),s.push((0,t.jsx)("strong",{children:a(n[1],`b${u}`,r)},`b${u}`)),o=i.lastIndex,u++;return o<l.length&&s.push(...a(l.slice(o),"e",r)),s}(e.content,()=>c(!1))},r)),p?(0,t.jsx)("p",{className:"mr-8 self-start rounded-xl bg-neutral-800 p-3 text-sm text-neutral-400",children:e("Einen Moment â¦","One moment â¦")}):null]})}),(0,t.jsxs)("form",{onSubmit:e=>{e.preventDefault(),j(f)},className:"flex gap-2 border-t border-neutral-700 p-3",children:[(0,t.jsx)("input",{value:f,onChange:e=>m(e.target.value),placeholder:e("Ihre Frage â¦","Your question â¦"),className:"min-w-0 flex-1 rounded-full border border-neutral-600 bg-neutral-800 px-4 py-2 text-sm text-white placeholder:text-neutral-500 focus:border-orange-500 focus:outline-none"}),(0,t.jsx)("button",{type:"submit",disabled:p||!f.trim(),className:"rounded-full bg-orange-600 px-4 py-2 text-sm font-semibold text-white transition disabled:opacity-40",children:e("Senden","Send")})]})]}):null]})}e.s(["default",()=>o])},13409,e=>{"use strict";var t=e.i(55500),r=e.i(59384),n=e.i(15168),l=e.i(57408);function a(){let[e,a]=(0,l.useState)(!1),s=(0,r.useT)(),i=(0,r.usePfad)();(0,l.useEffect)(()=>{window.localStorage.getItem("cookie-consent")||a(!0);let e=()=>a(!0);return window.addEventListener("cookie-einstellungen-oeffnen",e),()=>window.removeEventListener("cookie-einstellungen-oeffnen",e)},[]);let o=e=>{window.localStorage.setItem("cookie-consent",JSON.stringify({wahl:e,zeitpunkt:new Date().toISOString()})),window.dispatchEvent(new Event("cookie-consent-changed")),a(!1)};return e?(0,t.jsxs)("div",{role:"dialog","aria-label":s("Cookie-Einwilligung","Cookie consent"),className:"fixed inset-x-0 bottom-0 z-[70] border-t-2 border-orange-500 bg-neutral-800 p-4 shadow-2xl md:inset-x-auto md:bottom-4 md:left-1/2 md:max-w-xl md:-translate-x-1/2 md:rounded-2xl md:border-2",children:[(0,t.jsx)("h2",{className:"text-base font-semibold text-white",children:"ðª Cookies"}),(0,t.jsxs)("p",{className:"mt-2 text-sm leading-relaxed text-neutral-300",children:[s("Wir verwenden technisch notwendige Cookies, um unseren Shop zuverlässig zu betreiben (Warenkorb, Login/Kundenkonto, Einstellungen). Optionale Cookies helfen uns, das Angebot zu verbessern. Details in unserer","We use technically necessary cookies to run our shop reliably (cart, login/account, settings). Optional cookies help us improve our services. Details in our")," ",(0,t.jsx)(n.default,{href:i("/datenschutz"),className:"text-orange-400 underline underline-offset-4",children:s("Datenschutzerklärung","privacy policy")}),"."]}),(0,t.jsxs)("div",{className:"mt-4 flex flex-col gap-2 sm:flex-row",children:[(0,t.jsx)("button",{onClick:()=>o("alle"),className:"rounded-full bg-orange-600 px-6 py-2.5 text-sm font-medium text-white transition hover:opacity-90",children:s("Alle akzeptieren","Accept all")}),(0,t.jsx)("button",{onClick:()=>o("notwendige"),className:"rounded-full border border-neutral-500 px-6 py-2.5 text-sm font-medium text-neutral-300 transition hover:border-orange-500 hover:text-white",children:s("Nur notwendige Cookies","Only necessary cookies")})]})]}):null}e.s(["default",()=>a])},41117,e=>{"use strict";var t=e.i(55500),r=e.i(59384);function n(){let e=(0,r.useT)();return(0,t.jsx)("button",{onClick:()=>window.dispatchEvent(new Event("cookie-einstellungen-oeffnen")),className:"text-sm text-neutral-400 underline-offset-4 transition-colors hover:text-orange-500 hover:underline",children:e("Cookie-Einstellungen","Cookie settings")})}function l(){let e=(0,r.useT)();return(0,t.jsx)("button",{onClick:()=>window.dispatchEvent(new Event("cookie-einstellungen-oeffnen")),"aria-label":e("Cookie-Einstellungen öffnen","Open cookie settings"),title:e("Cookie-Einstellungen","Cookie settings"),className:"fixed bottom-4 right-20 z-50 flex h-12 w-12 items-center justify-center rounded-full border border-neutral-500 bg-neutral-800/95 text-neutral-300 shadow-lg backdrop-blur-sm transition-colors hover:border-orange-500 hover:text-white",children:(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",className:"h-5 w-5","aria-hidden":!0,
1children:[(0,t.jsx)("path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-4 4 4 0 0 1-5-4z"}),(0,t.jsx)("path",{d:"M8.5 9.5h.01M11 13h.01M8 16h.01M14 16.5h.01",strokeWidth:2.4})]})})}e.s(["CookieFloatingButton",()=>l,"default",()=>n])},63334,e=>{"use strict";var t=e.i(55500),r=e.i(59384),n=e.i(57408);let l="gast-hinweis-gesehen";function a(){let[e,a]=(0,n.useState)(!1),[s,i]=(0,n.useState)(!1),o=(0,r.useT)();return((0,n.useEffect)(()=>{try{let e=window.localStorage.getItem(l);if(e&&Date.now()-Number(e)<2592e6)return}catch{}let e=setTimeout(()=>{a(!0),requestAnimationFrame(()=>requestAnimationFrame(()=>i(!0)))},6e3);return()=>clearTimeout(e)},[]),e)?(0,t.jsxs)("aside",{role:"dialog","aria-label":o("Gutschein-Hinweis","Voucher notice"),className:"fixed right-0 top-36 z-50 w-[min(22rem,calc(100vw-2rem))] overflow-hidden rounded-l-2xl border-l-4 border-[#f97316] bg-[#171717] text-white shadow-2xl transition-transform duration-500 ease-out",style:{transform:s?"translateX(0)":"translateX(110%)"},children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("img",{src:"/gast-willkommen.jpg",alt:"",width:704,height:352,className:"block w-full object-cover"}),(0,t.jsx)("span",{className:"absolute bottom-1.5 left-2 rounded-full bg-black/45 px-2 py-0.5 text-[10px] text-neutral-300",children:o("KI-generiert","AI-generated")})]}),(0,t.jsx)("button",{onClick:()=>{i(!1),setTimeout(()=>a(!1),400);try{window.localStorage.setItem(l,String(Date.now()))}catch{}},"aria-label":o("Hinweis schlieÃen","Close notice"),className:"absolute right-2 top-2 h-8 w-8 rounded-full bg-black/50 text-xl leading-none text-white hover:bg-black/75",children:"Ã"}),(0,t.jsxs)("div",{className:"p-5 pt-4",children:[(0,t.jsx)("p",{className:"text-base font-bold text-[#f97316]",children:o("Bei uns sind Sie Gast, nicht Kunde.","With us, you are a guest â not a customer.")}),(0,t.jsxs)("p",{className:"mt-2 text-sm leading-relaxed",children:[o("Für uns sind Sie nicht irgendein Kunde â bei uns sind Sie ein gern gesehener Gast. Deshalb erhalten Sie nach Ihrer ersten Bestellung automatisch einen persönlichen","To us you are not just another customer â you are a welcome guest. That is why you automatically receive a personal")," ",(0,t.jsx)("span",{className:"whitespace-nowrap text-xl font-extrabold text-[#f97316]",children:o("5 %-Gutschein","5 % voucher")})," ",o("für Ihre zweite Bestellung.","for your second order.")]}),(0,t.jsx)("p",{className:"mt-3 text-xs text-neutral-400",children:o("Ab 500 ⬠netto Bestellwert, 90 Tage gültig, ausgenommen Serviceleistungen.","Valid on orders over â¬500 net, for 90 days, excluding services.")})]})]}):null}e.s(["default",()=>a])},43316,e=>{"use strict";var t=e.i(30976),r=e.i(57408);let n="G-154Q83PL7L",l="ga4-gtag";function a(){let[e,a]=(0,r.useState)(!1),s=(0,r.useRef)(!1),i=(0,t.usePathname)();return(0,r.useEffect)(()=>{let e=()=>{(function(){try{let e=window.localStorage.getItem("cookie-consent");if(!e)return!1;return JSON.parse(e)?.wahl==="alle"}catch{return!1}})()&&a(!0)};return e(),window.addEventListener("cookie-consent-changed",e),window.addEventListener("storage",e),()=>{window.removeEventListener("cookie-consent-changed",e),window.removeEventListener("storage",e)}},[]),(0,r.useEffect)(()=>{if(!e||document.getElementById(l))return;window.dataLayer=window.dataLayer??[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("consent","default",{ad_storage:"granted",ad_user_data:"granted",ad_personalization:"granted",analytics_storage:"granted"}),window.gtag("config",n,{send_page_view:!1});let t=document.createElement("script");t.id=l,t.async=!0,t.src=`https://www.googletagmanager.com/gtag/js?id=${n}`,document.head.appendChild(t),s.current=!0},[e]),(0,r.useEffect)(()=>{s.current&&window.gtag&&window.gtag("event","page_view",{page_path:i,page_location:window.location.href,page_title:document.title})},[i,e]),null}e.s(["default",()=>a])},59452,e=>{"use strict";var t=e.i(57408);let r="visable-website-leads";function n(){let[e,n]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=()=>{(function(){try{let e=window.localStorage.getItem("cookie-consent");if(!e)return!1;return JSON.parse(e)?.wahl==="alle"}catch{return!1}})()&&n(!0)};return e(),window.addEventListener("cookie-consent-changed",e),window.addEventListener("storage",e),()=>{window.removeEventListener("cookie-consent-changed",e),window.removeEventListener("storage",e)}},[]),(0,t.useEffect)(()=>
1{if(!e||document.getElementById(r))return;let t=document.createElement("script");t.id=r,t.async=!0,t.type="text/javascript",t.src="https://www.visableleads.com/v1/cp/9b49313c26ae96b5add578143c709777",document.body.appendChild(t)},[e]),null}e.s(["default",()=>n])},2291,e=>{"use strict";var t=e.i(55500),r=e.i(59384);function n(){let e=(0,r.useT)(),n=e("Hallo Gastro-Nik, ich habe eine Frage.","Hello Gastro-Nik, I have a question.");return(0,t.jsx)("a",{href:`https://wa.me/491704103534?text=${encodeURIComponent(n)}`,target:"_blank",rel:"noopener noreferrer","aria-label":e("Per WhatsApp chatten","Chat on WhatsApp"),title:e("Per WhatsApp chatten","Chat on WhatsApp"),className:"fixed bottom-28 right-4 z-50 flex h-11 w-11 items-center justify-center rounded-full bg-[#25D366] shadow-lg transition-transform hover:scale-105",children:(0,t.jsx)("svg",{viewBox:"15.5 7.9 24.6 24.6",className:"h-6 w-6","aria-hidden":"true",focusable:"false",children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",d:"M27.7462 8.9474c2.9024.014 5.7034 1.1536 7.7986 3.1621 2.1456 2.057 3.3822 4.8152 3.4903 7.7856.1056 2.9007-.9071 5.7501-2.8279 7.9262-2.1067 2.3867-5.0371 3.7574-8.2021 3.8483a11.3615 11.3615 0 0 1-.325.0046c-1.7054 0-3.3949-.3845-4.9252-1.1209l-5.9481 1.323a.0874.0874 0 0 1-.1033-.0974l1.0048-6.0144c-.8575-1.5668-1.3361-3.3321-1.3877-5.1278-.087-3.0341 1.0127-5.9203 3.0966-8.1273 2.1606-2.2882 5.1111-3.562 8.2727-3.562h.0563Zm-.0633 1.9717a9.576 9.576 0 0 0-.2728.0039c-5.1765.1485-9.2671 4.4807-9.1186 9.6572.0454 1.5806.4907 3.1322 1.2878 4.4869l.173.2936-.7445 4.0812 4.0387-.9533.305.1587c1.3307.6924 2.8218 1.0553 4.3283 1.0553.0895 0 .1792-.0013.2687-.0039 5.1766-.1484 9.2672-4.4806 9.1187-9.6571-.1459-5.0851-4.3294-9.1225-9.3843-9.1225Zm-3.9285 3.9024c.1899.0059.3802.0113.5462.0235.2029.0146.4275.031.6265.5128.2362.5721.747 2.0004.8139 2.1453.0669.1449.1093.313.0084.5007-.1009.1873-.1521.3049-.2995.467-.1477.1623-.3111.3628-.4431.4867-.1474.1379-.3006.2879-.143.5785.1575.2907.701 1.2424 1.5255 2.0249 1.0596 1.0056 1.9093 1.3374 2.2468 1.4948.1218.0569.223.0839.3114.0839.1214 0 .2185-.0509.3112-.1448.1776-.18.712-.8036.937-1.0905.1177-.1501.2243-.2033.34-.2033.0926 0 .1911.0341.3061.08.2584.1032 1.639.8366 1.9198.9881.2808.1514.4686.2287.5363.3497.0676.1216.05.6927-.2081 1.3517-.2581.6591-1.4419 1.2661-1.9662 1.2975-.1535.0093-.3045.0307-.501.0307-.4751 0-1.2159-.1251-2.8986-.8498-2.8631-1.2329-4.6017-4.2625-4.7385-4.4571-.1365-.1949-1.1167-1.5831-1.0736-2.9873.0431-1.404.801-2.0718 1.0712-2.3493.259-.2661.5558-.334.7474-.334l.0239.0003Z"})})})}e.s(["default",()=>n])},68390,e=>{"use strict";var t=e.i(55500),r=e.i(15168),n=e.i(30976),l=e.i(57408),a=e.i(50449);function s(){let e=(0,n.usePathname)(),s="/en"===e||e.startsWith("/en/"),i=(e,t)=>s?t:e,[o,u]=(0,l.useState)([]);if((0,l.useEffect)(()=>{let e=()=>u((0,a.vergleichHandles)());return e(),window.addEventListener(a.VERGLEICH_EVENT,e),()=>window.removeEventListener(a.VERGLEICH_EVENT,e)},[]),!o.length||e.includes("/produktvergleich"))return null;let c=`${s?"/en":""}/produktvergleich?p=${o.map(encodeURIComponent).join(",")}`;return(0,t.jsx)("div",{className:"fixed inset-x-0 bottom-[4.5rem] z-40 flex justify-center px-4 sm:bottom-4",children:(0,t.jsxs)("div",{className:"flex items-center gap-2 rounded-full border border-neutral-600 bg-neutral-900/95 py-2 pl-3 pr-2 shadow-xl backdrop-blur sm:gap-3 sm:pl-4",children:[(0,t.jsxs)("span",{className:"text-sm text-neutral-300",children:[(0,t.jsxs)("span",{className:"hidden sm:inline",children:[i("Vergleich","Compare")," "]}),(0,t.jsxs)("span",{className:"font-semibold text-white",children:[o.length,"/",a.VERGLEICH_MAX]})]}),(0,t.jsx)(r.default,{href:c,prefetch:!1,className:`rounded-full px-4 py-1.5 text-sm font-medium text-white transition ${o.length>=2?"bg-orange-600 hover:opacity-90":"pointer-events-none bg-neutral-700 text-neutral-400"}`,"aria-disabled":o.length<2,children:o.length>=2?i("Vergleichen","Compare now"):i("noch 1 Produkt wählen","select 1 more product")}),(0,t.jsx)("button",{type:"button",onClick:a.vergleichLeeren,title:i("Vergleich leeren","Clear comparison"),className:"rounded-full p-2 text-neutral-400 transition hover:text-white",children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",className:"h-4 w-4","aria-hidden":!0,
1children:(0,t.jsx)("path",{d:"M6 6l12 12M18 6L6 18"})})})]})})}e.s(["default",()=>s])},82170,e=>{"use strict";var t=e.i(55500),r=e.i(59384),n=e.i(15168);function l(){let e=(0,r.useT)(),l=(0,r.usePfad)();return(0,t.jsx)(n.default,{href:l("/widerruf-erklaeren"),className:"fixed bottom-4 left-4 z-50 rounded-full border border-neutral-500 bg-neutral-800/95 px-4 py-2 text-xs font-medium text-white shadow-lg backdrop-blur-sm transition-colors hover:border-orange-500",children:e("Vertrag widerrufen","Cancel contract")})}e.s(["default",()=>l])},47560,e=>{"use strict";var t=e.i(55500),r=e.i(57408),n=e.i(59384),l=e.i(30874);function a(){let{setType:e}=(0,l.useCustomerType)(),a=(0,n.useT)(),[s,i]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{let e=window.localStorage.getItem("customer-type"),t=window.localStorage.getItem("kundentyp-gefragt");if(e||t)return;let r=window.setInterval(()=>{window.localStorage.getItem("cookie-consent")&&(window.clearInterval(r),window.setTimeout(()=>i(!0),600))},800);return()=>window.clearInterval(r)},[]),(0,r.useEffect)(()=>{if(!s)return;let e=e=>{"Escape"===e.key&&u()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[s]),!s)return null;let o=t=>{e(t),window.localStorage.setItem("kundentyp-gefragt","1"),i(!1)},u=()=>{window.localStorage.setItem("kundentyp-gefragt","1"),i(!1)};return(0,t.jsx)("div",{role:"dialog","aria-modal":"true","aria-label":a("Kundentyp wählen","Choose customer type"),className:"fixed inset-0 z-[90] flex items-center justify-center bg-black/70 p-4 backdrop-blur-sm",onClick:u,children:(0,t.jsxs)("div",{className:"w-full max-w-2xl rounded-2xl border border-neutral-700 bg-neutral-900 p-6 shadow-2xl sm:p-8",onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,t.jsx)("h2",{className:"text-xl font-bold text-white sm:text-2xl",children:a("Wie kaufen Sie bei uns ein?","How do you shop with us?")}),(0,t.jsx)("button",{"aria-label":a("SchlieÃen","Close"),onClick:u,className:"rounded-full p-1 text-neutral-400 transition-colors hover:bg-neutral-700 hover:text-white",children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",className:"h-6 w-6",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:(0,t.jsx)("path",{d:"M6 6l12 12M18 6L6 18"})})})]}),(0,t.jsx)("p",{className:"mt-2 text-sm text-neutral-400",children:a("Wir zeigen Ihnen die Preise passend an â Sie können jederzeit oben umschalten.","We will show prices accordingly â you can switch at the top at any time.")}),(0,t.jsxs)("div",{className:"mt-6 grid gap-3 sm:grid-cols-2",children:[(0,t.jsxs)("button",{onClick:()=>o("b2b"),className:"group rounded-xl border-2 border-orange-600 bg-orange-600/10 p-4 text-left transition-colors hover:bg-orange-600",children:[(0,t.jsx)("span",{className:"block text-lg font-bold text-orange-400 group-hover:text-white",children:a("Geschäftskunde (B2B)","Business customer (B2B)")}),(0,t.jsx)("span",{className:"block text-sm text-neutral-300 group-hover:text-orange-100",children:a("Gastronomie, Hotellerie, Gewerbe â Preise netto zzgl. MwSt.","Catering, hotels, trade â net prices excl. VAT.")})]}),(0,t.jsxs)("button",{onClick:()=>o("b2c"),className:"group rounded-xl border-2 border-neutral-600 p-4 text-left transition-colors hover:border-neutral-400 hover:bg-neutral-800",children:[(0,t.jsx)("span",{className:"block text-lg font-bold text-white",children:a("Privatkunde","Private customer")}),(0,t.jsx)("span",{className:"block text-sm text-neutral-300",children:a("Preise inkl. 19 % MwSt.","Prices incl. 19% VAT.")})]})]})]})})}e.s(["default",()=>a])},82379,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DISALLOWED_FORM_PROPS:function(){return a},checkFormActionUrl:function(){return i},createFormSubmitDestinationUrl:function(){return s},hasReactClientActionAttributes:function(){return h},hasUnsupportedSubmitterAttributes:function(){return d},isSupportedFormEncType:function(){return o},isSupportedFormMethod:function(){return u},isSupportedFormTarget:function(){return c}};for(var l in n)Object.defineProperty(r,l,{enumerable:!0,get:n[l]});let a=["method","encType","target"];function s(e,t){let r;try{let t=window.location.href;r=new URL(e,t)}catch(t){throw Object.defineProperty(Error(`Cannot parse form action "${e}" as a URL`,{cause:t}
1),"__NEXT_ERROR_CODE",{value:"E152",enumerable:!1,configurable:!0})}for(let[e,n]of(r.searchParams.size&&(r.search=""),new FormData(t)))"string"!=typeof n&&(n=n.name),r.searchParams.append(e,n);return r}function i(e,t){let r,n="action"===t?"an `action`":"a `formAction`";try{r=new URL(e,"http://n")}catch(t){console.error(`<Form> received ${n} that cannot be parsed as a URL: "${e}".`);return}r.searchParams.size&&console.warn(`<Form> received ${n} that contains search params: "${e}". This is not supported, and they will be ignored. If you need to pass in additional search params, use an \`<input type="hidden" />\` instead.`)}let o=e=>"application/x-www-form-urlencoded"===e,u=e=>"get"===e,c=e=>"_self"===e;function d(e){let t=e.getAttribute("formEncType");if(null!==t&&!o(t))return!0;let r=e.getAttribute("formMethod");if(null!==r&&!u(r))return!0;let n=e.getAttribute("formTarget");return!(null===n||c(n))}function h(e){let t=e.getAttribute("formAction");return t&&/\s*javascript:/i.test(t)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},16120,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return d}});let n=e.r(55500),l=e.r(57408),a=e.r(33623),s=e.r(50775),i=e.r(99001),o=e.r(82379),u=e.r(53142),c=e.r(90217);function d({replace:e,scroll:t,prefetch:r,ref:d,...h}){let f=(0,l.useContext)(i.AppRouterContext),m=h.action,p="string"==typeof m;for(let e of o.DISALLOWED_FORM_PROPS)e in h&&delete h[e];let x=!!f&&p&&null===(!1===r||null===r?r:null),g=(0,l.useCallback)(e=>(x&&null!==f&&(0,u.mountFormInstance)(e,m,f,c.FetchStrategy.PPR),()=>{(0,u.unmountPrefetchableInstance)(e)}),[x,m,f]),v=(0,s.useMergedRef)(g,d??null);if(!p)return(0,n.jsx)("form",{...h,ref:v});let b=(0,a.addBasePath)(m);return(0,n.jsx)("form",{...h,ref:v,action:b,onSubmit:r=>(function(e,{actionHref:t,onSubmit:r,replace:n,scroll:l,router:a}){if("function"==typeof r&&(r(e),e.defaultPrevented)||!a)return;let s=e.currentTarget,i=e.nativeEvent.submitter,u=t;if(i){if((0,o.hasUnsupportedSubmitterAttributes)(i)||(0,o.hasReactClientActionAttributes)(i))return;let e=i.getAttribute("formAction");null!==e&&(u=e)}let c=(0,o.createFormSubmitDestinationUrl)(u,s);e.preventDefault();let d=c.href;a[n?"replace":"push"](d,{scroll:l})})(r,{router:f,actionHref:b,replace:e,scroll:t,onSubmit:h.onSubmit})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},89287,e=>{"use strict";let t,r,n,l,a,s,i,o,u,c,d,h,f,m,p,x;var g,v,b=e.i(55500),w=e.i(59384),j=e.i(7284),k=e.i(57408),y=((t=y||{}).Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t),E=Object.defineProperty,N=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?E(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,r};let C=new class{constructor(){N(this,"current",this.detect()),N(this,"handoffState","pending"),N(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},M=(e,t)=>{C.isServer?(0,k.useEffect)(e,t):(0,k.useLayoutEffect)(e,t)};function S(e){let t=(0,k.useRef)(e);return M(()=>{t.current=e},[e]),t}function P(e,t,r,n){let l=S(r);(0,k.useEffect)(()=>{function r(e){l.current(e)}return(e=null!=e?e:window).addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)},[e,t,n])}class L extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}function T(e,t){let r=e(),n=new Set;return{getSnapshot:()=>r,subscribe:e=>(n.add(e),()=>n.delete(e)),dispatch(e,...l){let a=t[e].call(r,...l);
1a&&(r=a,n.forEach(e=>e()))}}}function A(e){return(0,k.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}let F=new L(()=>T(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let r=this.slice();return r.splice(t,1),r}}));function O(e,t){let r=F.get(t),n=(0,k.useId)(),l=A(r);if(M(()=>{if(e)return r.dispatch("ADD",n),()=>r.dispatch("REMOVE",n)},[r,e]),!e)return!1;let a=l.indexOf(n),s=l.length;return -1===a&&(a=s,s+=1),a===s-1}let R=function(e){let t=S(e);return k.default.useCallback((...e)=>t.current(...e),[t])};function I(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function z(){let e=[],t={addEventListener:(e,r,n,l)=>(e.addEventListener(r,n,l),t.add(()=>e.removeEventListener(r,n,l))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(r))},nextFrame:(...e)=>t.requestAnimationFrame(()=>t.requestAnimationFrame(...e)),setTimeout(...e){let r=setTimeout(...e);return t.add(()=>clearTimeout(r))},microTask(...e){let r={current:!0};return I(()=>{r.current&&e[0]()}),t.add(()=>{r.current=!1})},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add(()=>{Object.assign(e.style,{[t]:n})})},group(e){let t=z();return e(t),this.add(()=>t.dispose())},add:t=>(e.includes(t)||e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function D(e){return C.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let H=new Map,B=new Map;function W(e){var t;let r=null!=(t=B.get(e))?t:0;return B.set(e,r+1),0!==r||(H.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>(function(e){var t;let r=null!=(t=B.get(e))?t:1;if(1===r?B.delete(e):B.set(e,r-1),1!==r)return;let n=H.get(e);n&&(null===n["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n["aria-hidden"]),e.inert=n.inert,H.delete(e))})(e)}function $(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,$),n}let _=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),V=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var K=((r=K||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r[r.AutoFocus=64]="AutoFocus",r),U=((n=U||{})[n.Error=0]="Error",n[n.Overflow=1]="Overflow",n[n.Success=2]="Success",n[n.Underflow=3]="Underflow",n),G=((l=G||{})[l.Previous=-1]="Previous",l[l.Next=1]="Next",l),q=((a=q||{})[a.Strict=0]="Strict",a[a.Loose=1]="Loose",a),Y=((s=Y||{})[s.Keyboard=0]="Keyboard",s[s.Mouse=1]="Mouse",s);function X(e){null==e||e.focus({preventScroll:!0})}function J(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:l=[]}={}){var a,s,i;let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?r?function(e,t=e=>e){return e.slice().sort((e,r)=>{let n=t(e),l=t(r);if(null===n||null===l)return 0;let a=n.compareDocumentPosition(l);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(V)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(_)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e);l.length>0&&u.length>1&&(u=u.filter(e=>!l.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),n=null!=n?n:o.activeElement;let c=(()=>
1{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(n))-1;if(4&t)return Math.max(0,u.indexOf(n))+1;if(8&t)return u.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=32&t?{preventScroll:!0}:{},f=0,m=u.length,p;do{if(f>=m||f+m<=0)return 0;let e=d+f;if(16&t)e=(e+m)%m;else{if(e<0)return 3;if(e>=m)return 1}null==(p=u[e])||p.focus(h),f+=c}while(p!==o.activeElement)return 6&t&&null!=(i=null==(s=null==(a=p)?void 0:a.matches)?void 0:s.call(a,"textarea,input"))&&i&&p.select(),2}function Z(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Q(e,t,r,n){let l=S(r);(0,k.useEffect)(()=>{if(e)return document.addEventListener(t,r,n),()=>document.removeEventListener(t,r,n);function r(e){l.current(e)}},[e,t,n])}function ee(e,t,r,n){let l=S(r);(0,k.useEffect)(()=>{if(e)return window.addEventListener(t,r,n),()=>window.removeEventListener(t,r,n);function r(e){l.current(e)}},[e,t,n])}function et(...e){return(0,k.useMemo)(()=>D(...e),[...e])}function er(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));var en=((i=en||{})[i.None=0]="None",i[i.RenderStrategy=1]="RenderStrategy",i[i.Static=2]="Static",i),el=((o=el||{})[o.Unmount=0]="Unmount",o[o.Hidden=1]="Hidden",o);function ea(){let e,t,r=(e=(0,k.useRef)([]),t=(0,k.useCallback)(t=>{for(let r of e.current)null!=r&&("function"==typeof r?r(t):r.current=t)},[]),(...r)=>{if(!r.every(e=>null==e))return e.current=r,t});return(0,k.useCallback)(e=>(function({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:l,visible:a=!0,name:s,mergeRefs:i}){i=null!=i?i:ei;let o=eo(t,e);if(a)return es(o,r,n,s,i);let u=null!=l?l:0;if(2&u){let{static:e=!1,...t}=o;if(e)return es(t,r,n,s,i)}if(1&u){let{unmount:e=!0,...t}=o;return $(+!e,{0:()=>null,1:()=>es({...t,hidden:!0,style:{display:"none"}},r,n,s,i)})}return es(o,r,n,s,i)})({mergeRefs:r,...e}),[r])}function es(e,t={},r,n,l){let{as:a=r,children:s,refName:i="ref",...o}=ed(e,["unmount","static"]),u=void 0!==e.ref?{[i]:e.ref}:{},c="function"==typeof s?s(t):s;"className"in o&&o.className&&"function"==typeof o.className&&(o.className=o.className(t)),o["aria-labelledby"]&&o["aria-labelledby"]===o.id&&(o["aria-labelledby"]=void 0);let d={};if(t){let e=!1,r=[];for(let[n,l]of Object.entries(t))"boolean"==typeof l&&(e=!0),!0===l&&r.push(n.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e)for(let e of(d["data-headlessui-state"]=r.join(" "),r))d[`data-${e}`]=""}if(a===k.Fragment&&(Object.keys(ec(o)).length>0||Object.keys(ec(d)).length>0))if(!(0,k.isValidElement)(c)||Array.isArray(c)&&c.length>1){if(Object.keys(ec(o)).length>0)throw Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(ec(o)).concat(Object.keys(ec(d))).map(e=>` - ${e}`).join(` 2`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` 3`)].join(` 4`))}else{var h;let e=c.props,t=null==e?void 0:e.className,r="function"==typeof t?(...e)=>er(t(...e),o.className):er(t,o.className),n=eo(c.props,ec(ed(o,["ref"])));for(let e in d)e in n&&delete d[e];return(0,k.cloneElement)(c,Object.assign({},n,d,u,{ref:l((h=c,k.default.version.split(".")[0]>="19"?h.props.ref:h.ref),u.ref)},r?{className:r}:{}))}return(0,k.createElement)(a,Object.assign({},ed(o,["ref"]),a!==k.Fragment&&u,a!==k.Fragment&&d),c)}function ei(...e){return e.every(e=>null==e)?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}function eo(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])for(let e in r)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(r[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in r)Object.assign(t,{[e](t,...n){for(let l of r[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;l(t,...n)}}});return t}function eu(e){var t;return Object.assign((0,k.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function ec(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function ed(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}var eh=((u=eh||{})[u.None=1]="None",u[u.Focusable=2]="Focusable",u[u.Hidden=4]="Hidden",u);let ef=eu(function(e,t){var r;let{features:n=1,...l}=e,a={ref:t,"aria-hidden":(2&n)==2||(null!=(r=l["aria-hidden"])?r:void 0),hidden:(4&n)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&n)==4&&(2&n)!=2&&{display:"none"}}};return ea()({ourProps:a,theirProps:l,slot:{},defaultTag:"span",name:"Hidden"})}),em=(0,k.createContext)(null);function ep({children:e,node:t}){let[r,n]=(0,k.useState)(null),l=ex(null!=t?t:r);return k.default.createElement(em.Provider,{value:l}
4,e,null===l&&k.default.createElement(ef,{features:eh.Hidden,ref:e=>{var t,r;if(e){for(let l of null!=(r=null==(t=D(e))?void 0:t.querySelectorAll("html > *, body > *"))?r:[])if(l!==document.body&&l!==document.head&&l instanceof HTMLElement&&null!=l&&l.contains(e)){n(l);break}}}}))}function ex(e=null){var t;return null!=(t=(0,k.useContext)(em))?t:e}let eg=T(()=>new Map,{PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:z(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n,l={doc:e,d:t,meta:function(e){let t={};for(let r of e)Object.assign(t,r(t));return t}(r)},a=[Z()?{before({doc:e,d:t,meta:r}){function n(e){return r.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.microTask(()=>{var r;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let r=z();r.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>r.dispose()))}let l=null!=(r=window.scrollY)?r:window.pageYOffset,a=null;t.addEventListener(e,"click",t=>{if(t.target instanceof HTMLElement)try{let r=t.target.closest("a");if(!r)return;let{hash:l}=new URL(r.href),s=e.querySelector(l);s&&!n(s)&&(a=s)}catch{}},!0),t.addEventListener(e,"touchstart",e=>{if(e.target instanceof HTMLElement)if(n(e.target)){let r=e.target;for(;r.parentElement&&n(r.parentElement);)r=r.parentElement;t.style(r,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")}),t.addEventListener(e,"touchmove",e=>{if(e.target instanceof HTMLElement&&"INPUT"!==e.target.tagName)if(n(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()},{passive:!1}),t.add(()=>{var e;l!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,l),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{},{before({doc:e}){var t;let r=e.documentElement;n=Math.max(0,(null!=(t=e.defaultView)?t:window).innerWidth-r.clientWidth)},after({doc:e,d:t}){let r=e.documentElement,l=Math.max(0,r.clientWidth-r.offsetWidth),a=Math.max(0,n-l);t.style(r,"paddingRight",`${a}px`)}},{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];a.forEach(({before:e})=>null==e?void 0:e(l)),a.forEach(({after:e})=>null==e?void 0:e(l))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});function ev(){let e,t=(e="undefined"==typeof document,"useSyncExternalStore"in k&&(0,k.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[r,n]=k.useState(C.isHandoffComplete);return r&&!1===C.isHandoffComplete&&n(!1),k.useEffect(()=>{!0!==r&&n(!0)},[r]),k.useEffect(()=>C.handoff(),[]),!t&&r}eg.subscribe(()=>{let e=eg.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&eg.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&eg.dispatch("TEARDOWN",r)}});let eb=Symbol();function ew(...e){let t=(0,k.useRef)(e);(0,k.useEffect)(()=>{t.current=e},[e]);let r=R(e=>{for(let r of t.current)null!=r&&("function"==typeof r?r(e):r.current=e)});return e.every(e=>null==e||(null==e?void 0:e[eb]))?void 0:r}let ej=(0,k.createContext)(()=>{});function ek({value:e,children:t}){return k.default.createElement(ej.Provider,{value:e},t)}let ey=(0,k.createContext)(null);ey.displayName="OpenClosedContext";var eE=((c=eE||{})[c.Open=1]="Open",c[c.Closed=2]="Closed",c[c.Closing=4]="Closing",c[c.Opening=8]="Opening",c);function eN(){return(0,k.useContext)(ey)}function eC({value:e,children:t}){return k.default.createElement(ey.Provider,{value:e},t)}function eM({children:e}){return k.default.createElement(ey.Provider,{value:null},e)}let eS=(0,k.createContext)(!1);function eP(e){return k.default.createElement(eS.Provider,{value:e.force},e.children)}let eL=(0,k.createContext)(void 0),eT=(0,k.createContext)(null);eT.displayName="DescriptionContext";let eA=Object.assign(eu(function(e,t){let r=(0,k.useId)(),n=(0,k.useContext)(eL),{id:l=`headlessui-description-${r}`,...a}=e,s=function e(){let t=(0,k.useContext)(eT);if(null===t){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),i=ew(t);M(()=>s.register(l),[l,s.register]);let o=n||!1,u=(0,k.useMemo)(()=>({...s.slot,disabled:o}),[s.slot,o]),c={ref:i,...s.props,id:l};return ea()({ourProps:c,theirProps:a,slot:u,defaultTag:"p",name:s.name||"Description"})}),{});function eF(){let[e]=(0,k.useState)(z);return(0,k.useEffect)(()=>()=>
4e.dispose(),[e]),e}function eO(){let e=(0,k.useRef)(!1);return M(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function eR(e){let t=R(e),r=(0,k.useRef)(!1);(0,k.useEffect)(()=>(r.current=!1,()=>{r.current=!0,I(()=>{r.current&&t()})}),[t])}var eI=((d=eI||{})[d.Forwards=0]="Forwards",d[d.Backwards=1]="Backwards",d);function ez(e,t){let r=(0,k.useRef)([]),n=R(e);(0,k.useEffect)(()=>{let e=[...r.current];for(let[l,a]of t.entries())if(r.current[l]!==a){let l=n(t,e);return r.current=t,l}},[n,...t])}let eD=[];function eH(){"loading"!==document.readyState&&((()=>{function e(e){if(!(e.target instanceof HTMLElement)||e.target===document.body||eD[0]===e.target)return;let t=e.target;t=t.closest(_),eD.unshift(null!=t?t:e.target),(eD=eD.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",eH))}function eB(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",eH),eH());var eW=((h=eW||{})[h.None=0]="None",h[h.InitialFocus=1]="InitialFocus",h[h.TabLock=2]="TabLock",h[h.FocusLock=4]="FocusLock",h[h.RestoreFocus=8]="RestoreFocus",h[h.AutoFocus=16]="AutoFocus",h);let e$=Object.assign(eu(function(e,t){let r,n=(0,k.useRef)(null),l=ew(n,t),{initialFocus:a,initialFocusFallback:s,containers:i,features:o=15,...u}=e;ev()||(o=0);let c=et(n);!function(e,{ownerDocument:t}){let r=!!(8&e),n=function(e=!0){let t=(0,k.useRef)(eD.slice());return ez(([e],[r])=>{!0===r&&!1===e&&I(()=>{t.current.splice(0)}),!1===r&&!0===e&&(t.current=eD.slice())},[e,eD,t]),R(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(r);ez(()=>{r||(null==t?void 0:t.activeElement)===(null==t?void 0:t.body)&&X(n())},[r]),eR(()=>{r&&X(n())})}(o,{ownerDocument:c});let d=function(e,{ownerDocument:t,container:r,initialFocus:n,initialFocusFallback:l}){let a=(0,k.useRef)(null),s=O(!!(1&e),"focus-trap#initial-focus"),i=eO();return ez(()=>{if(0===e)return;if(!s){null!=l&&l.current&&X(l.current);return}let o=r.current;o&&I(()=>{if(!i.current)return;let r=null==t?void 0:t.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===r){a.current=r;return}}else if(o.contains(r)){a.current=r;return}
4if(null!=n&&n.current)X(n.current);else{if(16&e){if(J(o,K.First|K.AutoFocus)!==U.Error)return}else if(J(o,K.First)!==U.Error)return;if(null!=l&&l.current&&(X(l.current),(null==t?void 0:t.activeElement)===l.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}a.current=null==t?void 0:t.activeElement})},[l,s,e]),a}(o,{ownerDocument:c,container:n,initialFocus:a,initialFocusFallback:s});!function(e,{ownerDocument:t,container:r,containers:n,previousActiveElement:l}){let a=eO(),s=!!(4&e);P(null==t?void 0:t.defaultView,"focus",e=>{if(!s||!a.current)return;let t=eB(n);r.current instanceof HTMLElement&&t.add(r.current);let i=l.current;if(!i)return;let o=e.target;o&&o instanceof HTMLElement?e_(t,o)?(l.current=o,X(o)):(e.preventDefault(),e.stopPropagation(),X(i)):X(l.current)},!0)}(o,{ownerDocument:c,container:n,containers:i,previousActiveElement:d});let h=(r=(0,k.useRef)(0),ee(!0,"keydown",e=>{"Tab"===e.key&&(r.current=+!!e.shiftKey)},!0),r),f=R(e=>{let t=n.current;t&&$(h.current,{[eI.Forwards]:()=>{J(t,K.First,{skipElements:[e.relatedTarget,s]})},[eI.Backwards]:()=>{J(t,K.Last,{skipElements:[e.relatedTarget,s]})}})}),m=O(!!(2&o),"focus-trap#tab-lock"),p=eF(),x=(0,k.useRef)(!1),g=ea();return k.default.createElement(k.default.Fragment,null,m&&k.default.createElement(ef,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:eh.Focusable}),g({ourProps:{ref:l,onKeyDown(e){"Tab"==e.key&&(x.current=!0,p.requestAnimationFrame(()=>{x.current=!1}))},onBlur(e){if(!(4&o))return;let t=eB(i);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(e_(t,r)||(x.current?J(n.current,$(h.current,{[eI.Forwards]:()=>K.Next,[eI.Backwards]:()=>K.Previous})|K.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&X(e.target)))}},theirProps:u,defaultTag:"div",name:"FocusTrap"}),m&&k.default.createElement(ef,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:eh.Focusable}))}),{features:eW});function e_(e,t){for(let r of e)if(r.contains(t))return!0;return!1}var eV=e.i(25449);let eK=k.Fragment,eU=eu(function(e,t){let r=(0,k.useRef)(null),n=ew(function(e,t=!0){return Object.assign(e,{[eb]:t})}(e=>{r.current=e}),t),l=et(r),a=function(e){let t=(0,k.useContext)(eS),r=(0,k.useContext)(eq),n=et(e),[l,a]=(0,k.useState)(()=>{var e;if(!t&&null!==r)return null!=(e=r.current)?e:null;if(C.isServer)return null;let l=null==n?void 0:n.getElementById("headlessui-portal-root");if(l)return l;if(null===n)return null;let a=n.createElement("div");return a.setAttribute("id","headlessui-portal-root"),n.body.appendChild(a)});return(0,k.useEffect)(()=>{null!==l&&(null!=n&&n.body.contains(l)||null==n||n.body.appendChild(l))},[l,n]),(0,k.useEffect)(()=>{t||null!==r&&a(r.current)},[r,a,t]),l}(r),[s]=(0,k.useState)(()=>{var e;return C.isServer?null:null!=(e=null==l?void 0:l.createElement("div"))?e:null}),i=(0,k.useContext)(eY),o=ev();M(()=>{!a||!s||a.contains(s)||(s.setAttribute("data-headlessui-portal",""),a.appendChild(s))},[a,s]),M(()=>{if(s&&i)return i.register(s)},[i,s]),eR(()=>{var e;a&&s&&(s instanceof Node&&a.contains(s)&&a.removeChild(s),a.childNodes.length<=0&&(null==(e=a.parentElement)||e.removeChild(a)))});let u=ea();return o&&a&&s?(0,eV.createPortal)(u({ourProps:{ref:n},theirProps:e,slot:{},defaultTag:eK,name:"Portal"}),s):null}),eG=k.Fragment,eq=(0,k.createContext)(null),eY=(0,k.createContext)(null),eX=eu(function(e,t){let r=ew(t),{enabled:n=!0,...l}=e,a=ea();return n?k.default.createElement(eU,{...l,ref:r}):a({ourProps:{ref:r},theirProps:l,slot:{},defaultTag:eK,name:"Portal"})}),eJ=eu(function(e,t){let{target:r,...n}=e,l={ref:ew(t)},a=ea();return k.default.createElement(eq.Provider,{value:r},a({ourProps:l,theirProps:n,defaultTag:eG,name:"Popover.Group"}))}),eZ=Object.assign(eX,{Group:eJ});var eQ=e.i(54105);void 0!==eQ.default&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&(null==(g=null==eQ.default?void 0:eQ.default.env)?void 0:g.NODE_ENV)==="test"&&void 0===(null==(v=null==Element?void 0:Element.prototype)?void 0:v.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(` 5`)),[]});var e0=((f=e0||{})[f.None=0]="None",f[f.Closed=1]="Closed",f[f.Enter=2]="Enter",f[f.Leave=4]="Leave",f);function e1(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:e8)!==k.Fragment||1===k.default.Children.count(e.children)}let e2=(0,k.createContext)(null);e2.displayName="TransitionContext";var e5=((m=e5||{}).Visible="visible",m.Hidden="hidden",m);let e4=(0,k.createContext)(null);function e3(e){return"children"in e?e3(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function e6(e,t){let r=S(e),n=(0,k.useRef)([]),l=eO(),a=eF(),s=R((e,t=el.Hidden)=>{let s=n.current.findIndex(({el:t})=>t===e);-1!==s&&($(t,{[el.Unmount](){n.current.splice(s,1)},[el.Hidden](){n.current[s].state="hidden"}}),a.microTask(()=>{var e;!e3(n)&&l.current&&(null==(e=r.current)||e.call(r))}))}),i=R(e=>{let t=n.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):n.current.push({el:e,state:"visible"}),()=>s(e,el.Unmount)}),o=(0,k.useRef)([]),u=(0,k.useRef)(Promise.resolve()),c=(0,k.useRef)({enter:[],leave:[]}
5),d=R((e,r,n)=>{o.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=>{o.current.push(e)})]),null==t||t.chains.current[r].push([e,new Promise(e=>{Promise.all(c.current[r].map(([e,t])=>t)).then(()=>e())})]),"enter"===r?u.current=u.current.then(()=>null==t?void 0:t.wait.current).then(()=>n(r)):n(r)}),h=R((e,t,r)=>{Promise.all(c.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=o.current.shift())||e()}).then(()=>r(t))});return(0,k.useMemo)(()=>({children:n,register:i,unregister:s,onStart:d,onStop:h,wait:u,chains:c}),[i,s,n,d,h,c,u])}e4.displayName="NestingContext";let e8=k.Fragment,e7=en.RenderStrategy,e9=eu(function(e,t){let{show:r,appear:n=!1,unmount:l=!0,...a}=e,s=(0,k.useRef)(null),i=ew(...e1(e)?[s,t]:null===t?[]:[t]);ev();let o=eN();if(void 0===r&&null!==o&&(r=(o&eE.Open)===eE.Open),void 0===r)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,c]=(0,k.useState)(r?"visible":"hidden"),d=e6(()=>{r||c("hidden")}),[h,f]=(0,k.useState)(!0),m=(0,k.useRef)([r]);M(()=>{!1!==h&&m.current[m.current.length-1]!==r&&(m.current.push(r),f(!1))},[m,r]);let p=(0,k.useMemo)(()=>({show:r,appear:n,initial:h}),[r,n,h]);M(()=>{r?c("visible"):e3(d)||null===s.current||c("hidden")},[r,d]);let x={unmount:l},g=R(()=>{var t;h&&f(!1),null==(t=e.beforeEnter)||t.call(e)}),v=R(()=>{var t;h&&f(!1),null==(t=e.beforeLeave)||t.call(e)}),b=ea();return k.default.createElement(e4.Provider,{value:d},k.default.createElement(e2.Provider,{value:p},b({ourProps:{...x,as:k.Fragment,children:k.default.createElement(te,{ref:i,...x,...a,beforeEnter:g,beforeLeave:v})},theirProps:{},defaultTag:k.Fragment,features:e7,visible:"visible"===u,name:"Transition"})))}),te=eu(function(e,t){var r,n;let{transition:l=!0,beforeEnter:a,afterEnter:s,beforeLeave:i,afterLeave:o,enter:u,enterFrom:c,enterTo:d,entered:h,leave:f,leaveFrom:m,leaveTo:p,...x}=e,[g,v]=(0,k.useState)(null),b=(0,k.useRef)(null),w=e1(e),j=ew(...w?[b,t,v]:null===t?[]:[t]),y=null==(r=x.unmount)||r?el.Unmount:el.Hidden,{show:E,appear:N,initial:C}=function(){let e=(0,k.useContext)(e2);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[S,P]=(0,k.useState)(E?"visible":"hidden"),L=function(){let e=(0,k.useContext)(e4);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:T,unregister:A}=L;M(()=>T(b),[T,b]),M(()=>{if(y===el.Hidden&&b.current)return E&&"visible"!==S?void P("visible"):$(S,{hidden:()=>A(b),visible:()=>T(b)})},[S,b,T,A,E,y]);let F=ev();M(()=>{if(w&&F&&"visible"===S&&null===b.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[b,S,F,w]);let O=C&&!N,I=N&&E&&C,D=(0,k.useRef)(!1),H=e6(()=>{D.current||(P("hidden"),A(b))},L),B=R(e=>{D.current=!0,H.onStart(b,e?"enter":"leave",e=>{"enter"===e?null==a||a():"leave"===e&&(null==i||i())})}),W=R(e=>{let t=e?"enter":"leave";D.current=!1,H.onStop(b,t,e=>{"enter"===e?null==s||s():"leave"===e&&(null==o||o())}),"leave"!==t||e3(H)||(P("hidden"),A(b))});(0,k.useEffect)(()=>{w&&l||(B(E),W(E))},[E,w,l]);let[,_]=function(e,t,r,n){let[l,a]=(0,k.useState)(r),{hasFlag:s,addFlag:i,removeFlag:o}=function(e=0){let[t,r]=(0,k.useState)(e),n=(0,k.useCallback)(e=>r(e),[t]),l=(0,k.useCallback)(e=>r(t=>t|e),[t]),a=(0,k.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:n,addFlag:l,hasFlag:a,removeFlag:(0,k.useCallback)(e=>r(t=>t&~e),[r]),toggleFlag:(0,k.useCallback)(e=>r(t=>t^e),[r])}}(e&&l?3:0),u=(0,k.useRef)(!1),c=(0,k.useRef)(!1);return M(()=>{var l;if(e){if(r&&a(!0),!t){r&&i(3);return}return null==(l=null==n?void 0:n.start)||l.call(n,r),function(e,{prepare:t,run:r,done:n,inFlight:l}){let a=z();return function(e,{inFlight:t,prepare:r}){if(null!=t&&t.current)return r();let n=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=n}(e,{prepare:t,inFlight:l}),a.nextFrame(()=>{r(),a.requestAnimationFrame(()=>{a.add(function(e,t){var r,n;let l=z();if(!e)return l.dispose;let a=!1;l.add(()=>{a=!0});let s=null!=(n=null==(r=e.getAnimations)?void 0:r.call(e).filter(e=>e instanceof CSSTransition))?n:[];return 0===s.length?t():Promise.allSettled(s.map(e=>e.finished)).then(()=>{a||t()}),l.dispose}(e,n))})}),a.dispose}(t,{inFlight:u,prepare(){c.current?c.current=!1:c.current=u.current,u.current=!0,
5c.current||(r?(i(3),o(4)):(i(4),o(2)))},run(){c.current?r?(o(3),i(4)):(o(4),i(3)):r?o(1):i(1)},done(){var e;c.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(u.current=!1,o(7),r||a(!1),null==(e=null==n?void 0:n.end)||e.call(n,r))}})}},[e,r,t,eF()]),e?[l,{closed:s(1),enter:s(2),leave:s(4),transition:s(2)||s(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}(!(!l||!w||!F||O),g,E,{start:B,end:W}),V=ec({ref:j,className:(null==(n=er(x.className,I&&u,I&&c,_.enter&&u,_.enter&&_.closed&&c,_.enter&&!_.closed&&d,_.leave&&f,_.leave&&!_.closed&&m,_.leave&&_.closed&&p,!_.transition&&E&&h))?void 0:n.trim())||void 0,...function(e){let t={};for(let r in e)!0===e[r]&&(t[`data-${r}`]="");return t}(_)}),K=0;"visible"===S&&(K|=eE.Open),"hidden"===S&&(K|=eE.Closed),_.enter&&(K|=eE.Opening),_.leave&&(K|=eE.Closing);let U=ea();return k.default.createElement(e4.Provider,{value:H},k.default.createElement(eC,{value:K},U({ourProps:V,theirProps:x,defaultTag:e8,features:e7,visible:"visible"===S,name:"Transition.Child"})))}),tt=eu(function(e,t){let r=null!==(0,k.useContext)(e2),n=null!==eN();return k.default.createElement(k.default.Fragment,null,!r&&n?k.default.createElement(e9,{ref:t,...e}):k.default.createElement(te,{ref:t,...e}))}),tr=Object.assign(e9,{Child:tt,Root:e9});var tn=((p=tn||{})[p.Open=0]="Open",p[p.Closed=1]="Closed",p),tl=((x=tl||{})[x.SetTitleId=0]="SetTitleId",x);let ta={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},ts=(0,k.createContext)(null);function ti(e){let t=(0,k.useContext)(ts);if(null===t){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ti),t}return t}function to(e,t){return $(t.type,ta,e,t)}ts.displayName="DialogContext";let tu=eu(function(e,t){let r,n,l,a,s,i,o,u,c,d,h,f=(0,k.useId)(),{id:m=`headlessui-dialog-${f}`,open:p,onClose:x,initialFocus:g,role:v="dialog",autoFocus:b=!0,__demoMode:w=!1,unmount:j=!1,...E}=e,N=(0,k.useRef)(!1);v="dialog"===v||"alertdialog"===v?v:(N.current||(N.current=!0,console.warn(`Invalid role [${v}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let C=eN();void 0===p&&null!==C&&(p=(C&eE.Open)===eE.Open);let L=(0,k.useRef)(null),T=ew(L,t),F=et(L),I=+!p,[H,B]=(0,k.useReducer)(to,{titleId:null,descriptionId:null,panelRef:(0,k.createRef)()}),V=R(()=>x(!1)),K=R(e=>B({type:0,id:e})),U=!!ev()&&0===I,[G,Y]=(r=(0,k.useContext)(eY),n=(0,k.useRef)([]),l=R(e=>(n.current.push(e),r&&r.register(e),()=>a(e))),a=R(e=>{let t=n.current.indexOf(e);-1!==t&&n.current.splice(t,1),r&&r.unregister(e)}),s=(0,k.useMemo)(()=>({register:l,unregister:a,portals:n}),[l,a,n]),[n,(0,k.useMemo)(()=>function({children:e}){return k.default.createElement(eY.Provider,{value:s},e)},[s])]),X=ex(),{resolveContainers:J}=function({defaultContainers:e=[],portals:t,mainTreeNode:r}={}){let n=et(r),l=R(()=>{var l,a;let s=[];for(let t of e)null!==t&&(t instanceof HTMLElement?s.push(t):"current"in t&&t.current instanceof HTMLElement&&s.push(t.current));if(null!=t&&t.current)for(let e of t.current)s.push(e);for(let e of null!=(l=null==n?void 0:n.querySelectorAll("html > *, body > *"))?l:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(r&&(e.contains(r)||e.contains(null==(a=null==r?void 0:r.getRootNode())?void 0:a.host))||s.some(t=>e.contains(t))||s.push(e));return s});
5return{resolveContainers:l,contains:R(e=>l().some(t=>t.contains(e)))}}({mainTreeNode:X,portals:G,defaultContainers:[{get current(){var er;return null!=(er=H.panelRef.current)?er:L.current}}]}),en=null!==C&&(C&eE.Closing)===eE.Closing;(function(e,{allowed:t,disallowed:r}={}){let n=O(e,"inert-others");M(()=>{var e,l;if(!n)return;let a=z();for(let t of null!=(e=null==r?void 0:r())?e:[])t&&a.add(W(t));let s=null!=(l=null==t?void 0:t())?l:[];for(let e of s){if(!e)continue;let t=D(e);if(!t)continue;let r=e.parentElement;for(;r&&r!==t.body;){for(let e of r.children)s.some(t=>e.contains(t))||a.add(W(e));r=r.parentElement}}return a.dispose},[n,t,r])})(!w&&!en&&U,{allowed:R(()=>{var e,t;return[null!=(t=null==(e=L.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:R(()=>{var e;return[null!=(e=null==X?void 0:X.closest("body > *:not(#headlessui-portal-root)"))?e:null]})}),i=O(U,"outside-click"),o=S(e=>{e.preventDefault(),V()}),u=(0,k.useCallback)(function(e,t){if(e.defaultPrevented)return;let r=t(e);if(null!==r&&r.getRootNode().contains(r)&&r.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(J))if(null!==t&&(t.contains(r)||e.composed&&e.composedPath().includes(t)))return;return function(e,t=0){var r;return e!==(null==(r=D(e))?void 0:r.body)&&$(t,{0:()=>e.matches(_),1(){let t=e;for(;null!==t;){if(t.matches(_))return!0;t=t.parentElement}return!1}})}(r,q.Loose)||-1===r.tabIndex||e.preventDefault(),o.current(e,r)}},[o,J]),c=(0,k.useRef)(null),Q(i,"pointerdown",e=>{var t,r;c.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target},!0),Q(i,"mousedown",e=>{var t,r;c.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target},!0),Q(i,"click",e=>{Z()||/Android/gi.test(window.navigator.userAgent)||c.current&&(u(e,()=>c.current),c.current=null)},!0),d=(0,k.useRef)({x:0,y:0}),Q(i,"touchstart",e=>{d.current.x=e.touches[0].clientX,d.current.y=e.touches[0].clientY},!0),Q(i,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-d.current.x)>=30||Math.abs(t.y-d.current.y)>=30))return u(e,()=>e.target instanceof HTMLElement?e.target:null)},!0),ee(i,"blur",e=>u(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0),function(e,t="undefined"!=typeof document?document.defaultView:null,r){let n=O(e,"escape");P(t,"keydown",e=>{n&&(e.defaultPrevented||e.key===y.Escape&&r(e))})}(U,null==F?void 0:F.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),V()}),function(e,t,r=()=>[document.body]){!function(e,t,r=()=>({containers:[]})){let n=A(eg),l=t?n.get(t):void 0;l&&l.count,M(()=>{if(!(!t||!e))return eg.dispatch("PUSH",t,r),()=>eg.dispatch("POP",t,r)},[e,t])}(O(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],r]}})}(!w&&!en&&U,F,J),h=S(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&V()}),(0,k.useEffect)(()=>{if(!U)return;let e=null===L?null:L instanceof HTMLElement?L:L.current;if(!e)return;let t=z();if("undefined"!=typeof ResizeObserver){let r=new ResizeObserver(()=>h.current(e));r.observe(e),t.add(()=>r.disconnect())}if("undefined"!=typeof IntersectionObserver){let r=new IntersectionObserver(()=>h.current(e));r.observe(e),t.add(()=>r.disconnect())}return()=>t.dispose()},[L,h,U]);let[el,es]=function(){let[e,t]=(0,k.useState)([]);return[e.length>0?e.join(" "):void 0,(0,k.useMemo)(()=>function(e){let r=R(e=>(t(t=>[...t,e]),()=>t(t=>{let r=t.slice(),n=r.indexOf(e);return -1!==n&&r.splice(n,1),r}))),n=(0,k.useMemo)(()=>({register:r,slot:e.slot,name:e.name,props:e.props,value:e.value}),[r,e.slot,e.name,e.props,e.value]);return k.default.createElement(eT.Provider,{value:n},e.children)},[t])]}(),ei=(0,k.useMemo)(()=>[{dialogState:I,close:V,setTitleId:K,unmount:j},H],[I,H,V,K,j]),eo=(0,k.useMemo)(()=>({open:0===I}),[I]),eu={ref:T,id:m,role:v,tabIndex:-1,"aria-modal":w?void 0:0===I||void 0,"aria-labelledby":H.titleId,"aria-describedby":el,unmount:j},ec=!function(){var e;let[t]=(0,k.useState)(()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[r,n]=(0,k.useState)(null!=(e=null==t?void 0:t.matches)&&e);return M(()=>
5{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){n(e.matches)}},[t]),r}(),ed=eW.None;U&&!w&&(ed|=eW.RestoreFocus,ed|=eW.TabLock,b&&(ed|=eW.AutoFocus),ec&&(ed|=eW.InitialFocus));let eh=ea();return k.default.createElement(eM,null,k.default.createElement(eP,{force:!0},k.default.createElement(eZ,null,k.default.createElement(ts.Provider,{value:ei},k.default.createElement(eJ,{target:L},k.default.createElement(eP,{force:!1},k.default.createElement(es,{slot:eo},k.default.createElement(Y,null,k.default.createElement(e$,{initialFocus:g,initialFocusFallback:L,containers:J,features:ed},k.default.createElement(ek,{value:V},eh({ourProps:eu,theirProps:E,slot:eo,defaultTag:tc,features:td,visible:0===I,name:"Dialog"})))))))))))}),tc="div",td=en.RenderStrategy|en.Static,th=Object.assign(eu(function(e,t){let{transition:r=!1,open:n,...l}=e,a=eN(),s=e.hasOwnProperty("open")||null!==a,i=e.hasOwnProperty("onClose");if(!s&&!i)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!s)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!i)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!a&&"boolean"!=typeof e.open)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if("function"!=typeof e.onClose)throw Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(void 0!==n||r)&&!l.static?k.default.createElement(ep,null,k.default.createElement(tr,{show:n,transition:r,unmount:l.unmount},k.default.createElement(tu,{ref:t,...l}))):k.default.createElement(ep,null,k.default.createElement(tu,{ref:t,open:n,...l}))}),{Panel:eu(function(e,t){let r=(0,k.useId)(),{id:n=`headlessui-dialog-panel-${r}`,transition:l=!1,...a}=e,[{dialogState:s,unmount:i},o]=ti("Dialog.Panel"),u=ew(t,o.panelRef),c=(0,k.useMemo)(()=>({open:0===s}),[s]),d=R(e=>{e.stopPropagation()}),h=l?tt:k.Fragment,f=ea();return k.default.createElement(h,{...l?{unmount:i}:{}},f({ourProps:{ref:u,id:n,onClick:d},theirProps:a,slot:c,defaultTag:"div",name:"Dialog.Panel"}))}),Title:(eu(function(e,t){let{transition:r=!1,...n}=e,[{dialogState:l,unmount:a}]=ti("Dialog.Backdrop"),s=(0,k.useMemo)(()=>({open:0===l}),[l]),i=r?tt:k.Fragment,o=ea();return k.default.createElement(i,{...r?{unmount:a}:{}},o({ourProps:{ref:t,"aria-hidden":!0},theirProps:n,slot:s,defaultTag:"div",name:"Dialog.Backdrop"}))}),eu(function(e,t){let r=(0,k.useId)(),{id:n=`headlessui-dialog-title-${r}`,...l}=e,[{dialogState:a,setTitleId:s}]=ti("Dialog.Title"),i=ew(t);(0,k.useEffect)(()=>(s(n),()=>s(null)),[n,s]);let o=(0,k.useMemo)(()=>({open:0===a}),[a]);return ea()({ourProps:{ref:i,id:n},theirProps:l,slot:o,defaultTag:"h2",name:"Dialog.Title"})})),Description:eA});var tf=e.i(26137),tm=e.i(66174),tp=(0,tm.createServerReference)("000836b1ea15825bb2bed03a5c4a524ec3e72a93ba",tm.callServer,void 0,tm.findSourceMapURL,"createCartAndSetCookie"),tx=e.i(37036),tg=e.i(96611),tv=e.i(1075);function tb({className:e,quantity:t}){return(0,b.jsxs)("div",{className:"relative flex h-11 w-11 items-center justify-center rounded-md border border-neutral-200 text-black transition-colors group-hover:border-orange-500 dark:border-neutral-700 dark:text-white",children:[(0,b.jsx)(tv.ShoppingCartIcon,{className:(0,j.default)("h-4 transition-transform ease-in-out group-hover:scale-110",e)}),t?(0,b.jsx)("div",{className:"absolute right-0 top-0 -mr-2 -mt-2 h-4 w-4 rounded-sm bg-blue-600 text-[11px] font-medium text-white",children:t}):null]})}function tw(){let{cart:e}=(0,tg.useCart)(),t=(0,w.useT)();return(0,b.jsx)("button",{"aria-label":t("Warenkorb öffnen","Open cart"),className:"group",onClick:()=>window.dispatchEvent(new Event("warenkorb-oeffnen")),children:(0,b.jsx)(tb,{quantity:e?.totalQuantity})})}function tj(){let{cart:e,cartGeladen:t,aktualisiereCart:r}=(0,tg.useCart)(),n=(0,w.useT)(),[l,a]=(0,k.useState)(!1),s=()=>a(!1);return(0,k.useEffect)(()=>{t&&!e&&tp().then(r)},[e,t,r]),(0,k.useEffect)(()=>{let e=()=>a(!0);return window.addEventListener("warenkorb-oeffnen",e),()=>window.removeEventListener("warenkorb-oeffnen",e)},[]),(0,b.jsx)(b.Fragment,{children:(0,b.jsx)(tr,{show:l,children:(0,b.jsxs)(th,{onClose:s,className:"relative z-50",children:[(0,b.jsx)(tr.Child,{as:k.Fragment,enter:"transition-all ease-in-out duration-300",enterFrom:"opacity-0 backdrop-blur-none",enterTo:"opacity-100 backdrop-blur-[.5px]",leave:"transition-all ease-in-out duration-200",leaveFrom:"opacity-100 backdrop-blur-[.5px]",leaveTo:"opacity-0 backdrop-blur-none",children:(0,b.jsx)("div",{className:"fixed inset-0 bg-black/30","aria-hidden":"true"})}),(0,b.jsx)(tr.Child,{as:k.Fragment,enter:"transition-all ease-in-out duration-300",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-all ease-in-out duration-200",leaveFrom:"translate-x-0",leaveTo:"translate-x-full",children:(0,b.jsxs)(th.Panel,{className:"fixed bottom-0 right-0 top-0 flex h-full w-full flex-col border-l border-neutral-700 bg-neutral-900/95 p-6 text-white backdrop-blur-xl md:w-[390px]",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsx)("p",{className:"text-lg font-semibold",children:n("Mein Warenkorb","My Cart")}),(0,b.jsx)("button",{"aria-label":"Close cart",onClick:s,children:(0,b.jsx)(tk,{})})]}),(0,b.jsx)(tx.CartBody,{variant:"modal",onNavigate:s})]})})]})})})}function tk({className:e}){return(0,b.jsx)("div",{className:"relative flex h-11 w-11 items-center justify-center rounded-md border border-neutral-200 text-black transition-colors dark:border-neutral-700 dark:text-white",children:(0,b.jsx)(tf.XMarkIcon,{className:(0,j.default)("h-6 transition-all ease-in-out hover:scale-110",e)})})}var ty=e.i(29956);function tE(){return new Date().toISOString().slice(0,10)<=ty.default.bis}ty.default.artikel.map(e=>[e.artnr.toUpperCase(),e]);var tN=e.i(30874);function tC(){let{type:e,setType:t}=(0,tN.useCustomerType)(),r=(0,w.useT)(),n=e=>(0,j.default)("rounded-full px-3 py-1.5 text-xs font-medium transition-colors",e?"bg-orange-600 text-white":"text-neutral-400 hover:text-white");return(0,b.jsxs)("div",{className:"flex flex-none items-center rounded-full border border-neutral-600 bg-neutral-800 p-0.5",children:[(0,b.jsx)("button",{onClick:()=>t("b2c"),className:n("b2c"===e),"aria-pressed":"b2c"===e,children:r("Privatkunde","Private customer")}),(0,b.jsx)("button",{onClick:()=>
5t("b2b"),className:n("b2b"===e),"aria-pressed":"b2b"===e,children:r("Geschäftskunde","Business customer")})]})}function tM(){let{type:e}=(0,tN.useCustomerType)(),t=(0,w.useT)();return(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)(tC,{}),(0,b.jsx)("span",{suppressHydrationWarning:!0,className:"text-xs text-neutral-300",children:"b2b"===e?t("Alle Preise zzgl. MwSt.","All prices excl. VAT"):t("Alle Preise inkl. MwSt.","All prices incl. VAT")})]})}var tS=e.i(30976);function tP({className:e}){return(0,b.jsxs)("svg",{viewBox:"0 0 5 3",className:e,"aria-hidden":!0,children:[(0,b.jsx)("rect",{width:"5",height:"1",fill:"#000"}),(0,b.jsx)("rect",{y:"1",width:"5",height:"1",fill:"#DD0000"}),(0,b.jsx)("rect",{y:"2",width:"5",height:"1",fill:"#FFCE00"})]})}function tL({className:e}){return(0,b.jsxs)("svg",{viewBox:"0 0 60 36",className:e,"aria-hidden":!0,children:[(0,b.jsx)("rect",{width:"60",height:"36",fill:"#012169"}),(0,b.jsx)("path",{d:"M0 0l60 36M60 0L0 36",stroke:"#fff",strokeWidth:"7"}),(0,b.jsx)("path",{d:"M0 0l60 36M60 0L0 36",stroke:"#C8102E",strokeWidth:"3"}),(0,b.jsx)("path",{d:"M30 0v36M0 18h60",stroke:"#fff",strokeWidth:"12"}),(0,b.jsx)("path",{d:"M30 0v36M0 18h60",stroke:"#C8102E",strokeWidth:"7"})]})}function tT(){let e,t=(0,w.useSprache)(),r=(0,tS.usePathname)(),[n,l]=(0,k.useState)(!1),a=(0,k.useRef)(null);(0,k.useEffect)(()=>{if(!n)return;let e=e=>{a.current&&!a.current.contains(e.target)&&l(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[n]);let s="en"===t?r.replace(/^\/en(\/|$)/,"/")||"/":r,i="en"===t?r:`/en${"/"===r?"":r}`;return(0,b.jsxs)("div",{ref:a,className:"relative",children:[(0,b.jsxs)("button",{type:"button",onClick:()=>l(e=>!e),"aria-expanded":n,"aria-haspopup":"true","aria-label":"en"===t?"Select language":"Sprache wählen",className:"flex h-11 items-center gap-1.5 rounded-md border border-neutral-200 px-2.5 text-neutral-300 transition-colors hover:border-orange-500 hover:text-white dark:border-neutral-700",children:[(e="h-4 w-6 rounded-[2px]","de"===t?(0,b.jsx)(tP,{className:e}):(0,b.jsx)(tL,{className:e})),(0,b.jsx)("span",{className:"text-xs",children:"â¾"})]}),(0,b.jsxs)("ul",{className:(0,j.default)("absolute right-0 top-full z-40 mt-1 min-w-36 rounded-lg border border-neutral-700 bg-neutral-800 p-1.5 shadow-xl",n?"visible opacity-100":"invisible opacity-0"),children:[(0,b.jsx)("li",{children:(0,b.jsxs)("a",{href:s,className:(0,j.default)("flex items-center gap-2 rounded-md px-3 py-2 text-sm hover:bg-neutral-700","de"===t?"text-white":"text-neutral-300"),children:[(0,b.jsx)(tP,{className:"h-3.5 w-5 rounded-[2px]"})," Deutsch"]})}),(0,b.jsx)("li",{children:(0,b.jsxs)("a",{href:i,className:(0,j.default)("flex items-center gap-2 rounded-md px-3 py-2 text-sm hover:bg-neutral-700","en"===t?"text-white":"text-neutral-300"),children:[(0,b.jsx)(tL,{className:"h-3.5 w-5 rounded-[2px]"})," English"]})})]})]})}var tA=e.i(84988),tF=e.i(35280),tO=e.i(15168),tR=e.i(75055),tI=e.i(82676);function tz({name:e}){let t={viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:"h-4 w-4 flex-none","aria-hidden":!0};return e.includes("Kühltechnik")?(0,b.jsxs)("svg",{...t,children:[(0,b.jsx)("path",{d:"M12 3v18M4.2 7.5l15.6 9M19.8 7.5l-15.6 9"}),(0,b.jsx)("path",{d:"M9.9 4.4L12 6l2.1-1.6M9.9 19.6L12 18l2.1 1.6"}),(0,b.jsx)("path",{d:"M3.2 9.3l3.3-.5-.5-3.1M20.8 9.3l-3.3-.5.5-3.1"}),(0,b.jsx)("path",{d:"M3.2 14.7l3.3.5-.5 3.1M20.8 14.7l-3.3.5.5 3.1"})]}):e.includes("Gartechnik")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z"})}):e.includes("Spültechnik")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z"})}):e.includes("Edelstahlmöbel")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M3 8h18M5 8v9M19 8v9M5 13h14"})}):e.includes("Warmhaltetechnik")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M4 17h16M6 17a6 6 0 0 1 12 0M12 11V9"})}):e.includes("Kontakt")?(0,b.jsxs)("svg",{...t,children:[(0,b.jsx)("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}),(0,b.jsx)("path",{d:"m22 7-10 6L2 7"})]}):e.includes("Marken")?(0,b.jsxs)("svg",{...t,children:[(0,b.jsx)("path",{d:"M12.586 2.586A2 2 0 0 0 11.
5172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z"}),(0,b.jsx)("circle",{cx:"7.5",cy:"7.5",r:"0.5"})]}):e.includes("Ratgeber")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2zM22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z"})}):e.includes("Partner")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM2 21v-1a6 6 0 0 1 12 0v1M16 3.5a4 4 0 0 1 0 7.5M22 21v-1a6 6 0 0 0-4-5.5"})}):e.includes("Blog")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M4 4h13a2 2 0 0 1 2 2v12a2 2 0 0 0 2 2H6a2 2 0 0 1-2-2zM19 20a2 2 0 0 0 2-2V9M8 8h6M8 12h6M8 16h4"})}):e.includes("Produkte")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M4 4h7v7H4zM13 4h7v7h-7zM4 13h7v7H4zM13 13h7v7h-7z"})}):e.includes("Kaffee")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M5 8h11v4a4 4 0 0 1-4 4H9a4 4 0 0 1-4-4zM16 9h2a2 2 0 1 1 0 4h-2M8 3v2M11 3v2M14 3v2"})}):e.includes("Backtechnik")?(0,b.jsxs)("svg",{...t,children:[(0,b.jsx)("path",{d:"M4 16C4 9 9 4 17 4c-1 4-1 7 1 10-5 3-9 3-14 3z"}),(0,b.jsx)("path",{d:"M8 14l1.5-1M12 11l1.5-1"})]}):e.includes("Fleisch")?(0,b.jsxs)("svg",{...t,children:[(0,b.jsx)("path",{d:"M3.5 10c0-3.3 3.8-6 8.5-6s8.5 2.7 8.5 6-3.8 6-8.5 6-8.5-2.7-8.5-6z"}),(0,b.jsx)("path",{d:"M12 5v8M9.5 9h5"})]}):e.includes("GN-Behälter")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M4 9h16v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zM4 9l2-4h12l2 4"})}):e.includes("Kleingeräte")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M8 3h8l-1 9H9zM10 12v5M14 12v5M9 17h6v2a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1z"})}):e.includes("Vorbereitung")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M3 20h12a2 2 0 0 0 2-2V7H5a2 2 0 0 0-2 2zM14 8l7-5M16 10l5-4"})}):e.includes("Snack")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M5 9h14l-1.3 9H6.3zM6.5 9l.5-4 2 .8L9.5 4l2 2 2-1.2.5 1.2 2-.8.5 3"})}):e.includes("Küchenzubehör")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M6 3v6a2 2 0 0 0 4 0V3M8 9v12M16 3c-1.5 0-2 4 0 6v12"})}):e.includes("Thermik")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M14 14V5a2 2 0 1 0-4 0v9a4 4 0 1 0 4 0zM12 9v5"})}):e.includes("Transport")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M21 8l-9-5-9 5v8l9 5 9-5zM3 8l9 5 9-5M12 13v9"})}):e.includes("Hygiene")?(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M10 8h4a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2zM10 8V5h3V3M6 5h3M5 7h2"})}):e.includes("Lüftung")?(0,b.jsxs)("svg",{...t,children:[(0,b.jsx)("circle",{cx:"12",cy:"12",r:"1.5"}),(0,b.jsx)("path",{d:"M12 10.5c0-3.5 1-5.5 2.5-5.5s1.5 3.5-.5 6M13.5 12c3.5 0 5.5 1 5.5 2.5s-3.5 1.5-6-.5M12 13.5c0 3.5-1 5.5-2.5 5.5s-1.5-3.5.5-6M10.5 12c-3.5 0-5.5-1-5.5-2.5s3.5-1.5 6 .5"})]}):null}function tD({category:e,subcategories:t}){let[r,n]=(0,k.useState)(!1),l=(0,k.useRef)(null),a=!!t?.length,s=(0,w.usePfad)(),i=(0,w.useT)(),o="en"===(0,w.useSprache)(),u=e=>o?(0,tI.kategorieTitelEn)(e):e.title;return((0,k.useEffect)(()=>{if(!r)return;let e=e=>{l.current&&!l.current.contains(e.target)&&n(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[r]),a)?(0,b.jsxs)("li",{ref:l,className:"group relative",children:[(0,b.jsxs)("div",{className:"flex items-center gap-1",children:[(0,b.jsxs)(tO.default,{prefetch:!1,href:s((0,tR.collectionUrl)(e.handle)),className:"flex items-center gap-1.5 text-neutral-300 group-hover:text-white",children:[(0,b.jsx)(tz,{name:e.title}),u(e)]}),(0,b.jsx)("button",{type:"button",onClick:()=>n(e=>!e),"aria-expanded":r,"aria-haspopup":"true","aria-label":`${i("Unterkategorien von","Subcategories of")} ${u(e)}`,className:"text-xs text-neutral-500 group-hover:text-neutral-300",children:"â¾"})]}),(0,b.jsx)("ul",{className:(0,j.default)("absolute left-0 top-full z-40 min-w-60 rounded-lg border border-neutral-700 bg-neutral-800 p-2 shadow-xl transition-all",r?"visible opacity-100":"invisible opacity-0 group-hover:visible group-hover:opacity-100"),children:t.map(e=>(0,b.jsx)("li",{children:(0,b.jsx)(tO.default,{prefetch:!1,href:s((0,tR.collectionUrl)(e.handle)),onClick:()=>n(!1),className:"block rounded-md px-3 py-2 text-sm text-neutral-300 hover:bg-neutral-700 hover:text-white",children:u(e)})},e.handle))})]}):(0,b.jsx)("li",{children:(0,b.jsxs)(tO.default,{prefetch:!1,href:s((0,tR.collectionUrl)(e.handle)),className:"flex items-center gap-1.5 text-neutral-300 hover:text-white",children:[(0,b.jsx)(tz,{name:e.title}),u(e)]})})}let tH=k.forwardRef(function({title:e,titleId:t,...r},n){return k.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?k.createElement("title",{id:t},e):null,k.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}),tB={Kontakt:"Contact",Partner:"Partners",GroÃküchenplanung:"Kitchen Planning","Ãber uns":"About us"};function tW({menu:e}){let t=(0,tS.usePathname)(),r=(0,tS.useSearchParams)(),[n,l]=(0,k.useState)(!1),[a,s]=(0,k.useState)(!1),[i,o]=(0,k.useState)(!1),u=(0,w.useT)(),c=(0,w.usePfad)(),d="en"===(0,w.useSprache)(),h=[...[{title:"Bartscher",path:"/hersteller/bartscher"},{title:"KBS Gastrotechnik",path:"/hersteller/kbs-gastrotechnik"},{title:"Saro",path:"/hersteller/saro"},{title:"VITO",path:"/hersteller/vito"},{title:"Liebherr",path:"/hersteller/liebherr"},{title:"Virtus",path:"/hersteller/virtus"},{title:"Frucosol",path:"/hersteller/frucosol"},{title:"Chromonorm",path:"/hersteller/chromonorm"},{title:"Manitowoc",path:"/hersteller/manitowoc"},{title:"A&S Gastro",path:"/hersteller/a-s-gastro"},{title:"Maxima",path:"/hersteller/maxima"},{title:"Flottwerk",path:"/hersteller/flottwerk"},{title:"Combisteel",path:"/hersteller/combisteel"},{title:"Carpigiani",path:"/carpigiani"}].sort((e,t)=>
5e.title.localeCompare(t.title,"de")),{title:u("Alle Marken im Ãberblick","All brands at a glance"),path:"/marken"}],f=()=>l(!1),m=e.filter(e=>!e.path.startsWith("/search")&&!e.path.startsWith("/kategorie")&&!e.path.startsWith("/collections")&&!e.path.startsWith("/hersteller/"));(0,k.useEffect)(()=>{let e=()=>{window.innerWidth>768&&l(!1)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[n]),(0,k.useEffect)(()=>{l(!1)},[t,r]);let p=d?t.replace(/^\/en(\/|$)/,"/")||"/":t,x=d?t:`/en${"/"===t?"":t}`,g="border-b border-neutral-700/60 py-3 text-xl text-white transition-colors hover:text-orange-400",v="flex w-full items-center justify-between border-b border-neutral-700/60 py-3 text-xl text-white transition-colors hover:text-orange-400",j="block border-b border-neutral-700/40 py-2.5 pl-8 text-lg text-white transition-colors hover:text-orange-400";return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("button",{onClick:()=>l(!0),"aria-label":u("Menü öffnen","Open menu"),className:"flex h-11 w-11 items-center justify-center rounded-md border border-neutral-200 text-black transition-colors md:hidden dark:border-neutral-700 dark:text-white",children:(0,b.jsx)(tH,{className:"h-4"})}),(0,b.jsx)(tr,{show:n,children:(0,b.jsxs)(th,{onClose:f,className:"relative z-50",children:[(0,b.jsx)(tr.Child,{as:k.Fragment,enter:"transition-all ease-in-out duration-300",enterFrom:"opacity-0 backdrop-blur-none",enterTo:"opacity-100 backdrop-blur-[.5px]",leave:"transition-all ease-in-out duration-200",leaveFrom:"opacity-100 backdrop-blur-[.5px]",leaveTo:"opacity-0 backdrop-blur-none",children:(0,b.jsx)("div",{className:"fixed inset-0 bg-black/30","aria-hidden":"true"})}),(0,b.jsx)(tr.Child,{as:k.Fragment,enter:"transition-all ease-in-out duration-300",enterFrom:"translate-x-[-100%]",enterTo:"translate-x-0",leave:"transition-all ease-in-out duration-200",leaveFrom:"translate-x-0",leaveTo:"translate-x-[-100%]",children:(0,b.jsx)(th.Panel,{className:"fixed bottom-0 left-0 right-0 top-0 flex h-full w-full flex-col overflow-y-auto overscroll-contain bg-neutral-900 pb-6",children:(0,b.jsxs)("div",{className:"p-4",children:[(0,b.jsx)("button",{className:"mb-4 flex h-11 w-11 items-center justify-center rounded-md border border-neutral-600 text-white transition-colors hover:border-orange-500",onClick:f,"aria-label":u("Menü schlieÃen","Close menu"),children:(0,b.jsx)(tf.XMarkIcon,{className:"h-6"})}),(0,b.jsxs)("ul",{className:"flex w-full flex-col",children:[(0,b.jsxs)("li",{children:[(0,b.jsxs)("button",{type:"button",onClick:()=>s(!a),"aria-expanded":a,className:v,children:[(0,b.jsxs)("span",{className:"flex items-center gap-3",children:[(0,b.jsx)(tz,{name:"Produkte"}),u("Produkte","Products")]}),(0,b.jsx)("span",{className:"text-neutral-400",children:a?"â¾":"â¸"})]}),a?(0,b.jsxs)("ul",{children:[(0,b.jsx)("li",{children:(0,b.jsx)(tO.default,{prefetch:!1,href:c("/search"),onClick:f,className:`${j} text-orange-400`,children:u("Alle Produkte","All Products")})}),tA.mainCategories.map(e=>(0,b.jsx)("li",{children:(0,b.jsx)(tO.default,{prefetch:!1,href:c(`/search/${e.handle}`),onClick:f,className:j,children:d?(0,tI.kategorieTitelEn)(e):e.title})},e.handle)),(0,b.jsx)("li",{children:(0,b.jsx)(tO.default,{prefetch:!1,href:c("/carpigiani"),onClick:f,className:j,children:d?"Ice cream & açaÃ":"Eismaschinen & AçaÃ"})}),tE()?(0,b.jsx)("li",{children:(0,b.jsx)(tO.default,{prefetch:!1,href:c("/sonderposten"),onClick:f,className:`${j} font-semibold text-orange-400`,children:d?"Clearance":"Sonderposten"})}):null]}):null]}),(0,b.jsxs)("li",{children:[(0,b.jsxs)("button",{type:"button",onClick:()=>o(!i),"aria-expanded":i,className:v,children:[(0,b.jsxs)("span",{className:"flex items-center gap-3",children:[(0,b.jsx)(tz,{name:"Marken"}),u("Marken","Brands")]}),(0,b.jsx)("span",{className:"text-neutral-400",children:i?"â¾":"â¸"})]}),i?(0,b.jsx)("ul",{children:h.map(e=>(0,b.jsx)("li",{children:(0,b.jsx)(tO.default,{prefetch:!1,href:c(e.path),onClick:f,className:j,children:e.title})},e.title))}):null]}),(0,b.jsx)("li",{className:g,children:(0,b.jsxs)(tO.default,{prefetch:!1,href:c("/ratgeber"),onClick:f,className:"flex items-center gap-3",children:[(0,b.jsx)(tz,{name:"Ratgeber"}),u("Ratgeber","Guides")]})}),(0,b.jsx)("li",{className:g,children:(0,b.jsxs)(tO.default,{prefetch:!1,href:c("/partnerfirmen"),onClick:f,className:"flex items-center gap-3",children:[(0,b.jsx)(tz,{name:"Partner"}),u("Partner","Partners")]})}),m.map(e=>(0,b.jsx)("li",{className:g,children:(0,b.jsxs)(tO.default,{prefetch:!1,href:c(e.path),onClick:f,className:"flex items-center gap-3",children:[(0,b.jsx)(tz,{name:e.title}),u(e.title,tB[e.title]??e.title)]})}
5,e.title)),(0,b.jsx)("li",{className:g,children:(0,b.jsxs)(tO.default,{prefetch:!1,href:c("/konto/merkliste"),onClick:f,className:"flex items-center gap-3",children:[(0,b.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:"h-6 w-6 flex-none","aria-hidden":!0,children:(0,b.jsx)("path",{d:"M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z"})}),u("Merkliste","Wishlist")]})}),(0,b.jsx)("li",{className:g,children:(0,b.jsxs)(tO.default,{prefetch:!1,href:c("/konto"),onClick:f,className:"flex items-center gap-3",children:[(0,b.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:"h-6 w-6 flex-none","aria-hidden":!0,children:[(0,b.jsx)("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),(0,b.jsx)("circle",{cx:"12",cy:"7",r:"4"})]}),u("Mein Konto","My account")]})})]}),(0,b.jsxs)("div",{className:"mt-6 border-t border-neutral-700 pt-4",children:[(0,b.jsx)("p",{className:"mb-2 text-sm uppercase tracking-wide text-neutral-500",children:d?"Language":"Sprache"}),(0,b.jsxs)("div",{className:"flex gap-3",children:[(0,b.jsxs)("a",{href:p,onClick:f,hrefLang:"de",className:`flex flex-1 items-center justify-center gap-2 rounded-lg border py-3 text-base transition-colors ${d?"border-neutral-600 text-neutral-300 hover:border-orange-500 hover:text-white":"border-orange-500 font-medium text-white"}`,children:[(0,b.jsx)(tP,{className:"h-4 w-6 rounded-[2px]"})," Deutsch"]}),(0,b.jsxs)("a",{href:x,onClick:f,hrefLang:"en",className:`flex flex-1 items-center justify-center gap-2 rounded-lg border py-3 text-base transition-colors ${d?"border-orange-500 font-medium text-white":"border-neutral-600 text-neutral-300 hover:border-orange-500 hover:text-white"}`,children:[(0,b.jsx)(tL,{className:"h-4 w-6 rounded-[2px]"})," English"]})]})]})]})})})]})})]})}function t$({label:e,items:t}){let[r,n]=(0,k.useState)(!1),l=(0,k.useRef)(null),a=(0,w.usePfad)();return(0,k.useEffect)(()=>{if(!r)return;let e=e=>{l.current&&!l.current.contains(e.target)&&n(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[r]),(0,b.jsxs)("li",{ref:l,className:"group relative",children:[(0,b.jsxs)("button",{type:"button",onClick:()=>n(!r),"aria-expanded":r,"aria-haspopup":"true",className:"flex items-center gap-1.5 text-neutral-300 group-hover:text-white",children:[(0,b.jsx)(tz,{name:e}),e," â¾"]}),(0,b.jsx)("ul",{className:(0,j.default)("absolute left-1/2 top-full z-40 min-w-56 -translate-x-1/2 rounded-lg border border-neutral-700 bg-neutral-800 p-2 shadow-xl transition-all",r?"visible opacity-100":"invisible opacity-0 group-hover:visible group-hover:opacity-100"),children:t.map(e=>(0,b.jsx)("li",{children:(0,b.jsx)(tO.default,{prefetch:!1,href:e.path.startsWith("/")?a(e.path):e.path,onClick:()=>n(!1),className:"block rounded-md px-3 py-2 text-sm text-neutral-300 hover:bg-neutral-700 hover:text-white",children:e.title})},e.title))})]})}let t_=k.forwardRef(function({title:e,titleId:t,...r},n){return k.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?k.createElement("title",{id:t},e):null,k.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))});var tV=e.i(82970),tK=e.i(16120);let tU=["Pizzaofen","Kühlschrank","Spülmaschine","Fritteuse","Kombidämpfer","Arbeitstisch","Chafing Dish","Bartscher","KBS","Saro"],tG=["Pizzaofen","Kühlschrank","Chafing Dish","Bartscher","KBS","Saro","VITO"];function tq(){let e=(0,tS.useSearchParams)(),t=(0,tS.useRouter)(),[r,n]=(0,k.useState)(!1),[l,a]=(0,k.useState)(e?.get("q")||""),[s,i]=(0,k.useState)([]),[o,u]=(0,k.useState)([]),[c,d]=(0,k.useState)(!1),h=(0,k.useRef)(0),f=(0,k.useRef)(null),m=(0,w.useT)(),p=(0,w.usePfad)(),x="en"===m("de","en");(0,k.useEffect)(()=>{let e=l.trim();if(e.length<2){i([]),u([]),d(!1);return}d(!0);let t=window.setTimeout(async()=>{let t=++h.current;try{let r=await fetch(`/api/suche?q=${encodeURIComponent(e)}${x?"&en=1":""}`),n=await r.json();t===h.current&&(i(n.treffer??[]),u(n.seiten??[]),d(!1))}catch{t===h.current&&d(!1)}},250);return()=>window.clearTimeout(t)},[l,x]);let g=e=>{t.push(e),n(!1),document.activeElement?.blur()},v=l.trim().length>=2;return(0,b.jsxs)(tK.default,{action:p("/search"),onSubmit:()=>{n(!1),f.current?.blur()},className:"w-max-[550px] relative w-full lg:w-80 xl:w-full",children:[(0,b.jsx)("input",{ref:f,type:"text",name:"q",placeholder:m("Produkte suchen...","Search products..."),autoComplete:"off",defaultValue:e?.get("q")||"",onChange:e=>a(e.target.value),onFocus:()=>n(!0),onBlur:()=>n(!1),className:"text-md w-full rounded-lg border-2 border-neutral-500 bg-neutral-800 py-2 pl-4 pr-11 text-white transition-colors placeholder:text-neutral-400 hover:border-orange-500 focus:border-orange-500 focus:outline-none md:text-sm"},e?.get("q")),(0,b.jsx)("div",{className:"absolute right-0 top-0 mr-2 flex h-full items-center",children:l?(0,b.jsx)("button",{type:"button",onMouseDown:e=>{e.preventDefault(),f.current&&(f.current.value=""),a(""),i([]),u([]),f.current?.focus()},"aria-label":m("Eingabe löschen","Clear input"),title:m("Eingabe löschen","Clear input"),className:"flex h-7 w-7 items-center justify-center rounded-full text-neutral-400 transition-colors hover:bg-neutral-700 hover:text-white",children:(0,b.jsx)(tf.XMarkIcon,{className:"h-5"})}):(0,b.jsx)("span",{className:"pr-1 text-neutral-400",children:(0,b.jsx)(t_,{className:"h-4"})})}),r?(0,b.jsx)("div",{className:"absolute left-0 right-0 top-full z-40 mt-1 overflow-hidden rounded-lg border border-neutral-600 bg-neutral-800 shadow-xl",children:v?(0,b.jsx)(b.Fragment,{children:s.length>0||o.length>0?(0,b.jsxs)("ul",{className:"max-h-[60vh] overflow-y-auto overscroll-contain py-1",children:[o.length>0?(0,b.jsx)("li",{children:(0,b.jsx)("p",{className:"px-3 pb-1 pt-2 text-xs font-semibold uppercase tracking-wide text-neutral-400",children:m("Seiten","Pages")})}):null,o.map(e=>(0,b.jsx)("li",{children:(0,b.jsxs)("button",{type:"button",onMouseDown:t=>{t.preventDefault(),g(p(e.pfad))},className:"flex w-full items-center gap-3 px-3 py-2 text-left hover:bg-neutral-700",children:[(0,b.jsx)("span",{className:"flex h-11 w-11 flex-none items-center justify-center rounded-md bg-neutral-700 text-orange-400",children:(0,b.jsx)(t_,{className:"h-5"})}),(0,b.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,b.jsx)("span",{className:"line-clamp-2 text-sm text-neutral-200",children:e.titel}),(0,b.jsx)("span",{className:"block truncate text-xs text-neutral-400",children:e.hinweis}
5)]})]})},e.pfad)),o.length>0&&s.length>0?(0,b.jsx)("li",{children:(0,b.jsx)("p",{className:"px-3 pb-1 pt-2 text-xs font-semibold uppercase tracking-wide text-neutral-400",children:m("Produkte","Products")})}):null,s.map(e=>(0,b.jsx)("li",{children:(0,b.jsxs)("button",{type:"button",onMouseDown:t=>{t.preventDefault(),g(p(`/produkte/${e.handle}`))},className:"flex w-full items-center gap-3 px-3 py-2 text-left hover:bg-neutral-700",children:[(0,b.jsx)("span",{className:"flex h-11 w-11 flex-none items-center justify-center overflow-hidden rounded-md bg-white",children:e.bild?(0,b.jsx)(tF.default,{src:e.bild,alt:e.title,width:44,height:44,className:"h-full w-full object-contain"}):null}),(0,b.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,b.jsx)("span",{className:"line-clamp-2 text-sm text-neutral-200",children:e.title}),(0,b.jsx)(tV.default,{className:"text-xs text-orange-400",amount:e.preis,currencyCode:e.waehrung})]})]})},e.handle)),(0,b.jsx)("li",{children:(0,b.jsx)("button",{type:"button",onMouseDown:e=>{e.preventDefault(),g(p(`/search?q=${encodeURIComponent(l.trim())}`))},className:"w-full px-3 py-2.5 text-center text-sm font-medium text-orange-400 hover:bg-neutral-700",children:m(`Alle Treffer f\xfcr â${l.trim()}" anzeigen â`,`Show all results for "${l.trim()}" â`)})})]}):(0,b.jsx)("p",{className:"px-4 py-4 text-sm text-neutral-400",children:c?m("Suche läuft â¦","Searching â¦"):m(`Keine Treffer f\xfcr â${l.trim()}".`,`No results for "${l.trim()}".`)})}):(0,b.jsxs)("div",{className:"p-3",children:[(0,b.jsx)("p",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-neutral-400",children:m("Beliebte Suchbegriffe","Popular search terms")}),(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:("en"===m("de","en")?tG:tU).map(e=>(0,b.jsx)("button",{type:"button",onMouseDown:t=>{t.preventDefault(),g(p(`/search?q=${encodeURIComponent(e)}`))},className:"rounded-full border border-neutral-600 px-3 py-1 text-sm text-neutral-300 transition-colors hover:border-orange-500 hover:text-white",children:e},e))})]})}):null]})}function tY(){let e=(0,w.useT)();return(0,b.jsxs)("form",{className:"w-max-[550px] relative w-full lg:w-80 xl:w-full",children:[(0,b.jsx)("input",{placeholder:e("Produkte suchen...","Search products..."),className:"w-full rounded-lg border-2 border-neutral-500 bg-neutral-800 px-4 py-2 text-sm text-white transition-colors placeholder:text-neutral-400 hover:border-orange-500"}),(0,b.jsx)("div",{className:"absolute right-0 top-0 mr-3 flex h-full items-center",children:(0,b.jsx)(t_,{className:"h-4"})})]})}let tX={viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:"h-5 w-5 transition-transform group-hover:scale-110","aria-hidden":!0};function tJ(){return(0,b.jsx)("svg",{...tX,children:(0,b.jsx)("path",{d:"M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z"})})}function tZ(){return(0,b.jsxs)("svg",{...tX,children:[(0,b.jsx)("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),(0,b.jsx)("circle",{cx:"12",cy:"7",r:"4"})]})}function tQ({art:e}){let t={viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:"h-4 w-4 flex-none","aria-hidden":!0};switch(e){case"versand":return(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M1 6h13v11H1zM14 10h4l4 4v3h-8zM6.5 20a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6zM17.5 20a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6z"})});case"b2b":return(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M4 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16M20 21V11a2 2 0 0 0-2-2h-2M2 21h20M8 7h2M8 11h2M8 15h2"})});case"erfahrung":return(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M6 13a4 4 0 1 1 1-7.9 5 5 0 0 1 9.9 0A4 4 0 1 1 18 13v6H6zM6 16.5h12"})});case"garantie":return(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M12 2l8 3v6c0 5-3.5 9-8 11-4.5-2-8-6-8-11V5zM8.5 12l2.5 2.5 4.5-4.5"})});case"produkte":return(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M21 8l-9-5-9 5v8l9 5 9-5zM3 8l9 5 9-5M12 13v9"})});case"lieferzeit":return(0,b.jsxs)("svg",{...t,children:[(0,b.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,b.jsx)("path",{d:"M12 7v5l3.5 2"})]});case"beratung":return(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z"})});case"marken":return(0,b.jsx)("svg",{...t,children:(0,b.jsx)("path",{d:"M12 3l2.7 5.6 6.1.8-4.5 4.3 1.1 6.1L12 17l-5.4 2.8 1.1-6.1L3.2 9.4l6.1-.8z"})});default:return null}}let t0={Kontakt:"Contact",Partner:"Partners",GroÃküchenplanung:"Kitchen Planning","Ãber uns":"About us"};function t1({menu:e}){let t=(0,w.useT)(),r=(0,w.usePfad)(),n=[{art:"versand",text:t("Kostenfreier Versand ab 299,00 ⬠netto innerhalb Deutschlands","Free shipping on orders over â¬299.00 net within Germany")},{art:"b2b",text:t("B2B & B2C â Preise wahlweise inkl. oder zzgl. MwSt.","B2B & B2C â prices incl. or excl. VAT, your choice")},{art:"erfahrung",text:t("Vom Experten mit über 20 Jahren Erfahrung","From experts with over 20 years of experience")},{art:"garantie",text:t("Herstellergarantie auf alle Produkte","Manufacturer's warranty on all products")},{art:"produkte",text:t("Ãber 22.000 Produkte von Markenherstellern","Over 22,000 products from brand manufacturers")},{art:"lieferzeit",text:t("Lieferzeit 2â3 Werktage nach Zahlungseingang","Delivery in 2â3 working days after receipt of payment")},{art:"beratung",text:t("Persönliche Beratung: +49 6724 2069393","Personal advice: +49 6724 2069393")},{art:"marken",text:"A&S Gastro · Bartscher · Chromonorm · Combisteel · Flottwerk · Frucosol · KBS · Liebherr · Manitowoc · Ma
5xima · Saro · Virtus · VITO"}],l=[...[{title:"Bartscher",path:"/hersteller/bartscher"},{title:"KBS Gastrotechnik",path:"/hersteller/kbs-gastrotechnik"},{title:"Saro",path:"/hersteller/saro"},{title:"VITO",path:"/hersteller/vito"},{title:"Liebherr",path:"/hersteller/liebherr"},{title:"Virtus",path:"/hersteller/virtus"},{title:"Frucosol",path:"/hersteller/frucosol"},{title:"Chromonorm",path:"/hersteller/chromonorm"},{title:"Manitowoc",path:"/hersteller/manitowoc"},{title:"A&S Gastro",path:"/hersteller/a-s-gastro"},{title:"Maxima",path:"/hersteller/maxima"},{title:"Flottwerk",path:"/hersteller/flottwerk"},{title:"Combisteel",path:"/hersteller/combisteel"},{title:"Carpigiani",path:"/carpigiani"}].sort((e,t)=>e.title.localeCompare(t.title,"de")),{title:t("Alle Marken im Ãberblick â","All brands at a glance â"),path:"/marken"}],a=[{title:t("Kaufberatung","Buying advice"),path:"/ratgeber#kaufberatung"},{title:t("Ausstattung","Equipment"),path:"/ratgeber#ausstattung"},{title:t("Praxiswissen","Practical knowledge"),path:"/ratgeber#praxiswissen"},{title:t("Vergleiche","Comparisons"),path:"/ratgeber#vergleiche"},{title:t("Alle Ratgeber â","All guides â"),path:"/ratgeber"}],s=e.filter(e=>!e.path.startsWith("/search")&&!e.path.startsWith("/kategorie")&&!e.path.startsWith("/hersteller/"));return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("nav",{className:"sticky top-0 z-30 border-b border-neutral-700 bg-neutral-50 dark:bg-neutral-900",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-2 px-4 py-2 lg:px-6",children:[(0,b.jsx)("div",{className:"w-11 flex-none md:hidden",children:(0,b.jsx)(k.Suspense,{fallback:null,children:(0,b.jsx)(tW,{menu:e})})}),(0,b.jsx)("div",{className:"flex min-w-0 flex-1 items-center justify-center md:flex-none md:justify-start",children:(0,b.jsx)(tO.default,{prefetch:!1,href:r("/"),className:"inline-flex",children:(0,b.jsx)(tF.default,{src:"/logo.png",alt:"Gastro-Nik",width:1278,height:550,priority:!0,sizes:"(min-width: 768px) 198px, 186px",className:"h-20 w-auto max-w-full object-contain drop-shadow-[0_2px_6px_rgba(0,0,0,0.55)] md:h-[85px]"})})}),(0,b.jsx)("div",{className:"flex w-11 flex-none justify-end md:hidden",children:(0,b.jsx)(tw,{})}),(0,b.jsx)("div",{className:"order-last min-w-0 basis-full md:order-none md:basis-auto md:flex md:flex-1 md:justify-center",children:(0,b.jsx)("div",{className:"w-full md:max-w-2xl",children:(0,b.jsx)(k.Suspense,{fallback:(0,b.jsx)(tY,{}),children:(0,b.jsx)(tq,{})})})}),(0,b.jsxs)("div",{className:"hidden flex-none items-center gap-2 md:flex",children:[(0,b.jsx)(tM,{}),(0,b.jsx)(tO.default,{prefetch:!1,href:r("/konto/merkliste"),"aria-label":t("Merkliste","Wishlist"),title:t("Merkliste","Wishlist"),className:"group flex h-11 w-11 items-center justify-center rounded-md border border-neutral-200 text-neutral-300 transition-colors hover:border-orange-500 hover:text-white dark:border-neutral-700",children:(0,b.jsx)(tJ,{})}),(0,b.jsx)(tO.default,{prefetch:!1,href:r("/konto"),"aria-label":t("Mein Konto","My account"),title:t("Mein Konto","My account"),className:"group flex h-11 w-11 items-center justify-center rounded-md border border-neutral-200 text-neutral-300 transition-colors hover:border-orange-500 hover:text-white dark:border-neutral-700",children:(0,b.jsx)(tZ,{})}),(0,b.jsx)(tT,{}),(0,b.jsx)(tw,{})]})]}),(0,b.jsx)("div",{className:"flex justify-center border-t border-neutral-700 py-2 md:hidden",children:(0,b.jsx)(tM,{})}),(0,b.jsx)(tj,{}),(0,b.jsx)("div",{className:"hidden border-b border-neutral-700 bg-neutral-800/40 px-4 py-2.5 md:block lg:px-6",children:(0,b.jsxs)("div",{className:"mx-auto flex max-w-(--breakpoint-2xl) items-start gap-x-6",children:[(0,b.jsxs)(tO.default,{prefetch:!1,href:r("/produkte"),className:"flex flex-none items-center gap-1.5 py-1 text-[15px] font-semibold text-orange-400 hover:text-orange-300",children:[(0,b.jsx)(tz,{name:"Alle Produkte"}),t("Alle Produkte","All Products")]}),(0,b.jsx)("div",{className:"flex flex-1 flex-col",children:(0,b.jsxs)("ul",{className:"flex flex-wrap items-center gap-x-3 gap-y-1.5 text-[15px] font-medium lg:gap-x-4",children:[tA.mainCategories.map(e=>(0,b.jsx)(tD,{category:e,subcategories:tA.categoryTaxonomy[e.handle]?.subcategories},e.handle)),(0,b.jsx)("li",{children:(0,b.jsxs)(tO.default,{prefetch:!1,href:r("/carpigiani"),className:"flex items-center gap-1.5 whitespace-nowrap font-medium transition-colors hover:text-orange-400",children:[(0,b.jsx)("svg",{...tX,className:"h-4 w-4",children:(0,b.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 3.75a3 3 0 1 1 6 0v.75a3 3 0 0 1-1.2 2.4L15 21l-3 1.5L9 21l1.2-14.1A3 3 0 0 1 9 4.5v-.75Z"})}
5),t("Eismaschinen & AçaÃ","Ice cream & açaÃ")]})}),tE()?(0,b.jsx)("li",{children:(0,b.jsxs)(tO.default,{prefetch:!1,href:r("/sonderposten"),className:"flex items-center gap-1.5 whitespace-nowrap font-semibold text-orange-400 transition-colors hover:text-orange-400",children:[(0,b.jsxs)("svg",{...tX,className:"h-4 w-4",children:[(0,b.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.1 18.1 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"}),(0,b.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6h.008v.008H6V6Z"})]}),t("Sonderposten","Clearance")]})}):null]})}),(0,b.jsxs)("div",{className:"flex flex-none flex-col items-end gap-y-2 text-sm text-neutral-300",children:[(0,b.jsxs)("ul",{className:"flex items-center gap-x-4",children:[s.map(e=>{let n;return(0,b.jsx)("li",{children:(0,b.jsxs)(tO.default,{prefetch:!1,href:r(e.path),className:"flex items-center gap-1.5 hover:text-white",children:[(0,b.jsx)(tz,{name:e.title}),t(n=e.title,t0[n]??n)]})},e.title)}),(0,b.jsx)("li",{children:(0,b.jsxs)(tO.default,{prefetch:!1,href:r("/partnerfirmen"),className:"flex items-center gap-1.5 hover:text-white",children:[(0,b.jsx)(tz,{name:"Partner"}),t("Partner","Partners")]})})]}),(0,b.jsxs)("ul",{className:"flex items-center gap-x-4",children:[(0,b.jsx)(t$,{label:t("Marken","Brands"),items:l}),(0,b.jsx)(t$,{label:t("Ratgeber","Guides"),items:a})]})]})]})})]}),(0,b.jsx)("div",{className:"hidden overflow-hidden border-b border-neutral-700 bg-neutral-800/40 md:block",children:(0,b.jsx)("div",{className:"marquee-track flex w-max items-center whitespace-nowrap py-1.5 text-sm text-neutral-300",children:[...n,...n].map((e,t)=>(0,b.jsxs)("span",{className:"flex items-center",children:[(0,b.jsxs)("span",{className:"flex items-center gap-2 px-5",children:[(0,b.jsx)(tQ,{art:e.art}),e.text]}),(0,b.jsx)("span",{className:"text-orange-500",children:"â¢"})]},t))})})]})}e.s(["default",()=>t1],89287)}]);
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.