1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e57bc520-b709-42c8-a8d0-9d2b363e0e22",e._sentryDebugIdIdentifier="sentry-dbid-e57bc520-b709-42c8-a8d0-9d2b363e0e22")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{3015:(e,t,r)=>{"use strict";r.d(t,{ThemeProvider:()=>l});var s=r(95155),a=r(12115);let n=(0,a.createContext)(void 0),o="gopizzago_theme",l=({children:e})=>{let[t,r]=(0,a.useState)("light"),[l,i]=(0,a.useState)(!1);(0,a.useEffect)(()=>{try{let e=localStorage.getItem(o);if(e&&("light"===e||"dark"===e))r(e);else{let e=window.matchMedia("(prefers-color-scheme: dark)").matches;r(e?"dark":"light")}}catch(e){console.error("Error loading theme from localStorage:",e),r("light")}finally{i(!0)}},[]),(0,a.useEffect)(()=>{if(l&&1)try{document.documentElement.classList.remove("light","dark"),document.documentElement.classList.add(t),localStorage.setItem(o,t);let e=document.querySelector('meta[name="theme-color"]');e&&e.setAttribute("content","dark"===t?"#1f2937":"#ffffff")}catch(e){console.error("Error applying theme:",e)}},[t,l]),(0,a.useEffect)(()=>{{let e=window.matchMedia("(prefers-color-scheme: dark)"),t=e=>{localStorage.getItem(o)||r(e.matches?"dark":"light")};return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}},[]);let c=(0,a.useCallback)(e=>{r(e)},[]),d=(0,a.useCallback)(()=>{r(e=>"light"===e?"dark":"light")},[]);return(0,s.jsx)(n.Provider,{value:{theme:t,setTheme:c,toggleTheme:d,isHydrated:l},children:e})}},4235:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var s=r(12115),a=r(6162);function n(){let[e,t]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{t(navigator.userAgent.includes(a.mX))},[]),e}},16033:(e,t,r)=>{"use strict";r.d(t,{VacationProvider:()=>d,h:()=>c});var s=r(95155),a=r(12115),n=r(1e3),o=r(92646),l=r(51096);let i=(0,a.createContext)(void 0),c=()=>{let e=(0,a.useContext)(i);if(!e)throw Error("useVacation must be used within a VacationProvider");return e},d=({children:e,serverScreenshotMode:t,serverVacationMode:r})=>{let{currentShop:c}=(0,n.q)(),d=(0,a.useMemo)(()=>{let e=e=>{if(!e)return"";try{let t=new Date(e);if(isNaN(t.getTime()))return console.error("[VacationContext] Invalid date format:",e),"";return t.toLocaleDateString("de-DE",{day:"2-digit",month:"2-digit",year:"numeric"})}catch(e){return console.error("[VacationContext] Date formatting error:",e),""}};if(t||(0,o.MM)())return{isVacationMode:!1,startDate:null,endDate:null,message:null,isMaintenance:!1,isOrderingAllowed:!0,formatReopeningDate:e};let s=!!c?.maintenance,a=c?.vacationPeriods||[],n=(0,l.tx)(),i=a.find(e=>n>=e.startDate.slice(0,10)&&n<=e.endDate.slice(0,10)),d=void 0!==r?r:!!i,m=i??(d?a[0]:void 0);return{isVacationMode:d,startDate:m?.startDate||null,endDate:m?.endDate||null,message:m?.reason||null,isMaintenance:s,isOrderingAllowed:!d&&!s,formatReopeningDate:e}},[c,t,r]);return(0,s.jsx)(i.Provider,{value:d,children:e})}},23585:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var s=r(95155),a=r(12115),n=r(4235);let o=({className:e})=>(0,s.jsx)("svg",{className:e,fill:"none",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})}),l=({className:e})=>(0,s.jsx)("svg",{className:e,fill:"none",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 2L2 7v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-10-5z"})}),i=({className:e})=>(0,s.jsx)("svg",{className:e,fill:"none",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 20V10M6 20V4m12 16v-8"})}),c=()=>{let e=(0,n.Z)(),[t,r]=(0,a.useState)(!1),[c,d]=(0,a.useState)(!1),[m,u]=(0,a.useState)({necessary:!0,analytics:!1,marketing:!1,timestamp:Date.now()}),[x,h]=(0,a.useState)(()=>({primary:"#000000",primaryHover:"#333333",border:"#000000",checkbox:"#000000"}));(0,a.useEffect)(()=>{let e=()=>{let e,t,r,s,a;h((t=getComputedStyle(e=document.documentElement).getPropertyValue("--color-primary").trim()||"#000000",r=getComputedStyle(e).getPropertyValue("--color-primary-hover").trim()||"#333333",s=getComputedStyle(e).getPropertyValue("--color-secondary").trim()||"#666666",{primary:(a=e=>{if(!e||""===e)return!1;let t=e.replace("#","");return(.299*parseInt(t.substr(0,2),16)+.587*parseInt(t.substr(2,2),16)+.114*parseInt(t.substr(4,2),16))/255>.7})(t)?s:t,primaryHover:a(t)?a(s)?"#374151":s:r,border:t,checkbox:a(t)?s:t}))};e();let t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:["style"]}),()=>t.disconnect()},[]),(0,a.useEffect)(()=>{try{localStorage.getItem("cookiePreferences")||setTimeout(()=>r(!0),1e3)}catch{setTimeout(()=>r(!0),1e3)}},[]);let g=e=>{try{localStorage.setItem("cookiePreferences",JSON.stringify(e))}catch{}r(!1)};return e||!t?null:(0,s.jsx)("div",{className:"fixed bottom-4 left-1/2 -translate-x-1/2 w-[calc(100%-2rem)] max-w-xs bg-white rounded-lg shadow-xl z-[1100] animate-slideUp border border-gray-200",children:c?(0,s.jsxs)("div",{className:"p-3",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-900",children:"Einstellungen"}),(0,s.jsx)("button",{onClick:()=>r(!1),className:"p-0.5 hover:bg-gray-100 rounded transition-colors","aria-label":"Schlie\xdfen",children:(0,s.jsx)(o,{className:"w-4 h-4 text-gray-500"})})]}),(0,s.jsxs)("div",{className:"space-y-2 mb-3 max-h-48 overflow-y-auto",children:[(0,s.jsxs)("label",{className:"flex items-center justify-between p-2 bg-gray-50 rounded-lg cursor-not-allowed",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(l,{className:"w-4 h-4 text-gray-600"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs font-medium text-gray-900",children:"Notwendige"}),(0,s.jsx)("p",{className:"text-xs text-gray-500",children:"Erforderlich"})]})]}),(0,s.jsx)("input",{type:"checkbox",checked:m.necessary,disabled:!0,className:"w-4 h-4",style:{accentColor:x.checkbox}})]}),(0,s.jsxs)("label",{className:"flex items-center justify-between p-2 hover:bg-gray-50 rounded-lg transition-colors cursor-pointer",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(i,{className:"w-4 h-4 text-gray-600"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs font-medium text-gray-900",children:"Analyse"}),(0,s.jsx)("p",{className:"text-xs text-gray-500",children:"Website verbessern"})]})]}),(0,s.jsx)("input",{type:"checkbox",checked:m.analytics,onChange:e=>u({...m,analytics:e.target.checked}),className:"w-4 h-4 cursor-pointer",style:{accentColor:x.checkbox}})]}),(0,s.jsxs)("label",{className:"flex items-center justify-between p-2 hover:bg-gray-50 rounded-lg transition-colors cursor-pointer",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-sm",children:"\uD83D\uDCE2"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs font-medium text-gray-900",children:"Marketing"}),(0,s.jsx)("p",{className:"text-xs text-gray-500",children:"Personalisiert"})]})]}),(0,s.jsx)("input",{type:"checkbox",checked:m.marketing,onChange:e=>u({...m,marketing:e.target.checked}),className:"w-4 h-4 cursor-pointer",style:{accentColor:x.checkbox}})]})]}),(0,s.jsxs)("div",{className:"flex gap-1.5",children:[(0,s.jsx)("button",{onClick:()=>d(!1),className:"flex-1 py-2 px-3 border border-gray-300 hover:bg-gray-50 text-gray-700 text-xs font-medium rounded-lg transition-colors",children:"Zur\xfcck"}),(0,s.jsx)("button",{onClick:()=>{g({...m,timestamp:Date.now()})},className:"flex-1 py-2 px-3 text-white text-xs font-medium rounded-lg transition-colors",style:{backgroundColor:x.primary},onMouseEnter:e=>e.currentTarget.style.backgroundColor=x.primaryHover,onMouseLeave:e=>e.currentTarget.style.backgroundColor=x.primary,children:"Speichern"})]})]}):(0,s.jsxs)("div",{className:"p-3",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-900",children:"\uD83C\uDF6A Cookies"}),(0,s.jsx)("button",{onClick:()=>r(!1),className:"p-0.5 hover:bg-gray-100 rounded transition-colors","aria-label":"Schlie\xdfen",children:(0,s.jsx)(o,{className:"w-4 h-4 text-gray-500"})})]}),(0,s.jsx)("p",{className:"text-xs text-gray-600 mb-3",children:"Wir nutzen Cookies f\xfcr eine bessere Erfahrung."}),(0,s.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,s.jsxs)("div",{className:"flex gap-1.5",children:[(0,s.jsx)("button",{onClick:()=>{g({necessary:!0,analytics:!0,marketing:!0,timestamp:Date.now()})},className:"flex-1 py-2 px-3 text-white text-xs font-medium rounded-lg transition-colors",style:{backgroundColor:x.primary},onMouseEnter:e=>e.currentTarget.style.backgroundColor=x.primaryHover,onMouseLeave:e=>e.currentTarget.style.backgroundColor=x.primary,children:"Alle akzeptieren"}),(0,s.jsx)("button",{onClick:()=>{g({necessary:!0,analytics:!1,marketing:!1,timestamp:Date.now()})},className:"flex-1 py-2 px-3 text-white text-xs font-medium rounded-lg transition-colors",style:{backgroundColor:x.primary},onMouseEnter:e=>e.currentTarget.style.backgroundColor=x.primaryHover,onMouseLeave:e=>e.currentTarget.style.backgroundColor=x.primary,children:"Nur notwendige"})]}),(0,s.jsx)("button",{onClick:()=>{u({necessary:!0,analytics:!1,marketing:!1,timestamp:Date.now()}),d(!0)},className:"w-full py-2 px-3 border text-xs font-medium rounded-lg transition-colors hover:bg-gray-50",style:{borderColor:x.border,color:x.primary},children:"Anpassen"})]})]})})}},25637:(e,t,r)=>{"use strict";r.d(t,{TrackingProvider:()=>n});var s=r(95155),a=r(29734);function n({children:e}){return(0,a.z1)(),(0,s.jsx)(s.Fragment,{children:e})}},40327:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var s=r(95155),a=r(12115),n=r(29734);function o({target:e}){let{trackEvent:t}=(0,n.z1)();return(0,a.useEffect)(()=>{t({category:"Shop Deactivated",action:"App Page View"})},[t]),(0,s.jsx)("main",{className:"flex min-h-screen items-center justify-center bg-white px-6 py-10",children:(0,s.jsxs)("div",{className:"w-full max-w-sm text-center",children:[(0,s.jsxs)("p",{className:"mb-8 text-2xl font-bold tracking-tight text-gray-900",children:["go",(0,s.jsx)("span",{className:"text-[#e11d2a]",children:"PIZZA"}),"go",(0,s.jsx)("span",{className:"align-super text-xs text-gray-400",children:".de"})]}),(0,s.jsx)("h1",{className:"mb-3 text-xl font-semibold text-gray-900",children:"Dieser Shop wurde deaktiviert."}),(0,s.jsx)("p",{className:"mb-8 text-base text-gray-600",children:"Klicke hier, um andere Restaurants in deiner N\xe4he zu finden."}),(0,s.jsx)("a",{href:e,onClick:()=>t({category:"Shop Deactivated",action:"Platform Redirect Click"}),className:"inline-flex w-full items-center justify-center rounded-xl bg-[#16a34a] px-6 py-3.5 text-base font-semibold text-white transition-colors hover:bg-[#15803d]",children:"Andere Restaurants finden"})]})})}},59812:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,66872,23)),Promise.resolve().then(r.bind(r,23585)),Promise.resolve().then(r.bind(r,40327)),Promise.resolve().then(r.bind(r,25637)),Promise.resolve().then(r.bind(r,93892)),Promise.resolve().then(r.bind(r,31492)),Promise.resolve().then(r.bind(r,1e3)),Promise.resolve().then(r.bind(r,3015)),Promise.resolve().then(r.bind(r,16033)),Promise.resolve().then(r.t.bind(r,91651,23)),Promise.resolve().then(r.t.bind(r,61865,23))},61865:e=>{e.exports={style:{fontFamily:"'Source Serif 4', 'Source Serif 4 Fallback'"},className:"__className_6bc25c",variable:"__variable_6bc25c"}},66872:()=>{},73321:(e,t,r)=>{"use strict";var s=r(74645);r.o(s,"usePathname")&&r.d(t,{usePathname:function(){return s.usePathname}}),r.o(s,"useRouter")&&r.d(t,{useRouter:function(){return s.useRouter}}),r.o(s,"useSearchParams")&&r.d(t,{useSearchParams:function(){return s.useSearchParams}})}
1,91651:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_7748ca",variable:"__variable_7748ca"}}},e=>{e.O(0,[5525,9734,1492,9793,8441,6606,7358],()=>e(e.s=59812)),_N_E=e.O()}]);
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.