1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5934],{97249:function(e,t,r){"use strict";var n,o=r(67294);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}t.Z=e=>{let{title:t,titleId:r,...l}=e;return o.createElement("svg",i({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":r},l),t?o.createElement("title",{id:r},t):null,n||(n=o.createElement("path",{d:"M9.99 0C15.52 0 20 4.48 20 10S15.52 20 9.99 20C4.47 20 0 15.52 0 10S4.47 0 9.99 0ZM10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8Zm1 11v2H9v-2h2Zm0-8v6H9V5h2Z",fill:"#EC4C41"})))}},41535:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(38754),o=r(85893),i=n._(r(67294)),l=n._(r(66484)),s={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function a(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let c={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class d extends i.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||s[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:c.error,children:[(0,o.jsx)(l.default,{children:(0,o.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:c.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:c.h1,children:e}):null,(0,o.jsx)("div",{style:c.wrap,children:(0,o.jsxs)("h2",{style:c.h2,children:[this.props.title||e?r:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}d.displayName="ErrorPage",d.getInitialProps=a,d.origGetInitialProps=a,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25290:function(e,t,r){"use strict";r.d(t,{Z:function(){return E}});var n=r(8307),o=r(67294),i=r(87379);let l=i.ZP.nav.withConfig({displayName:"styled__StyledNavBarBreadcrumbs",componentId:"sc-yjs8kw-0"})(["height:50px;display:flex;align-items:center;flex-direction:row;overflow:hidden;padding-left:4px;& > ol{padding:0;display:flex;justify-content:center;align-items:center;flex-direction:row;height:100%;}& > ol > li:last-child a{color:#212121;}"]),s=i.ZP.button.withConfig({displayName:"styled__StyledButtonMenu",componentId:"sc-a5mxcn-0"})(["display:flex;flex-direction:row;align-items:center;justify-content:center;flex-shrink:0;color:",";padding:5px;height:32px;width:32px;border-radius:4px;font-size:14px;font-weight:600;line-height:20px;background-color:unset;margin:0px;overflow:hidden;cursor:pointer;border:1px solid #d1d1d1;border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;& > span{flex-shrink:0;align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;}& > span > svg:nth-child(1){display:flex;}& > span > svg:nth-child(2){display:none;}&:hover > span > svg:nth-child(1){display:none;}&:hover > span > svg:nth-child(2){display:flex;}
1&:active > span > svg:nth-child(1){display:none;}&:active > span > svg:nth-child(2){display:flex;}&:hover{background-color:",";}&:active{background-color:",";}&:focus-visible{box-sizing:border-box;outline:#FFFFFF 1px solid;outline-offset:-1px;}"],e=>e.color,e=>e.activeElementBackground,e=>e.pressedElementBackground);var a=r(85893),c=function(){return(0,a.jsx)("svg",{fill:"currentColor","aria-hidden":"true",width:"1em",height:"1em",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M6.25 10a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm5 0a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM15 11.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z",fill:"currentColor"})})},d=function(){return(0,a.jsx)("svg",{fill:"currentColor","aria-hidden":"true",width:"1em",height:"1em",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M6.75 10a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0Zm5 0a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0ZM15 11.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5Z",fill:"currentColor"})})};let p=i.ZP.li.withConfig({displayName:"styled__StyledNavBarBreadcrumbItem",componentId:"sc-1hfy8lc-0"})(["display:flex;list-style-type:none;align-items:center;margin:0px;padding:0px;box-sizing:border-box;text-align:-webkit-match-parent;unicode-bidi:isolate;&:last-of-type a{cursor:default;}"]),u=i.ZP.a.withConfig({displayName:"styled__StyledAnchor",componentId:"sc-1hfy8lc-1"})(['display:flex;flex-direction:row;align-items:center;background-color:unset;border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;border-radius:4px;font-family:"Suisse Intl";font-size:14px;font-style:normal;font-weight:400;line-height:18px;text-decoration:none;height:32px;line-height:20px;gap:16px;padding:0;min-width:unset;color:',";cursor:pointer;text-wrap:nowrap;&:hover{background-color:",";}&:active{background-color:",";}& > span:last-child{color:inherit;color:inherit;line-height:inherit;font-weight:inherit;font-size:inherit;font-family:inherit;text-align:center;max-width:",";overflow:hidden;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}&:focus-visible{box-sizing:border-box;outline:#FFFFFF 1px solid;outline-offset:-1px;}"],e=>e.color,e=>e.activeElementBackground,e=>e.pressedElementBackground,e=>Number.isFinite(e.truncationWidth)?e.truncationWidth+"px":e.truncationWidth??"unset"),f="#A0A1A4",h="",g="",x="",m="",b="";var y=function(e){let{normalIconPackage:t,normalIconCode:r,activeIconPackage:n,activeIconCode:i,text:l,href:s,target:c,truncationWidth:d}=e,y=(0,o.useRef)(),{0:v,1:w}=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=y.current;e?.scrollWidth>e?.offsetWidth&&w(!0)},[d]),(0,a.jsx)(p,{truncationWidth:d,children:(0,a.jsx)(u,{truncationWidth:d,color:f,activeElementBackground:h,pressedElementBackground:g,fontFamily:x,fontSize:m,fontWeight:b,href:s,target:c,children:(0,a.jsx)("span",{ref:y,title:v?l:void 0,children:l})})})},v=function(e){let{onExpandClick:t}=e;return(0,a.jsx)(s,{color:y?.components?.navigationBar?.color,activeElementBackground:y?.components?.navigationBar?.activeElementBackground,pressedElementBackground:y?.components?.navigationBar?.pressedElementBackground,onClick:t,children:(0,a.jsxs)("span",{children:[(0,a.jsx)(c,{}),(0,a.jsx)(d,{})]})})};let w=i.ZP.li.withConfig({displayName:"styled__StyledArrow",componentId:"sc-qg0lht-0"})(["display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:400px;line-height:20px;color:",";padding-left:6px;padding-right:6px;"],e=>e.color);var j=function(){return(0,a.jsx)(w,{children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,a.jsx)("path",{d:"M5.21967 12.7908C4.92678 12.5118 4.92678 12.0596 5.21967 11.7806L9.18934 8L5.21967 4.21936C4.92678 3.94042 4.92678 3.48816 5.21967 3.20921C5.51256 2.93026 5.98744 2.93026 6.28033 3.20921L10.7803 7.49492C11.0732 7.77387 11.0732 8.22613 10.7803 8.50508L6.28033 12.7908C5.98744 13.0697 5.51256 13.0697 5.21967 12.7908Z",fill:"#A0A1A4"})})})};function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?_(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function k(e){let t=e?.items?.length||0;return 1>Number(e?.maxDisplayedItems)?t:e?.maxDisplayedItems??t}function C(e){let t=e?.items?.length||0,r=k(e),n=e?.overflowIndex??-1;return r===t?-1:n}var E=function(e){let t=(0,o.useCallback)((t,r)=>{e?.onItemClick?.(t,r)},[e]),r=(0,o.useCallback)(t=>{e?.onExpandClick?.(t)},[e]),n=(0,o.useMemo)(()=>{let n=e?.items?.flatMap?.((n,i)=>{let l=C(e),s=function(e){let t=e?.items?.length||0,r=k(e);return -1===C(e)?-1:t-r+2}(e);return i===l?[a.jsx(v,{onExpandClick:r},`${n?.text}-${n?.href}-button-ellipsis`),a.jsx(j,{},`${n?.text}-${n?.href}-arrow`)]:i>l&&i<s?[]:[o.createElement(y,O(O({},n),{},{onItemClick:t,key:`${n?.text}-${n?.href}`})),a.jsx(j,{},`${n?.text}-${n?.href}-arrow`)]})||[];return n.pop(),n},[e,t,r]);return(0,a.jsx)(l,{"aria-label":"breadcrumb-with-tootip",showCurrentPage:e?.showCurrentPage,className:e?.className,children:(0,a.jsx)("ol",{role:"list",children:n})})}},17980:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return O},default:function(){return k}});var n=r(8307),o=r(4730),i=r(9008),l=r.n(i),s=r(12918),a=r.n(s),c=r(67294);let d=r(87379).ZP.div.withConfig({displayName:"styles__MenuWrapper",componentId:"sc-6faxql-0"})(["max-width:calc(1204px + 40 * 2px);padding:0 40px;margin:0 auto;"]);var p=r(25290),u=r(33712),f=r(28873),h=r(97249),g=r(14270),x=r(71705),m=r(85893),b=(0,c.memo)(function(){let e=(0,c.useMemo)(()=>[{text:"ÐлавнаÑ",href:"/"},{text:"ÐенÑ",href:"/menu"}],[]);return(0,m.jsxs)(d,{children:[(0,m.jsx)(p.Z,{items:e,className:"breadcrumbs"}),(0,m.jsx)(u.Z,{}),(0,m.jsx)(f.Z,{}),(0,m.jsx)(g.F,{position:"top-right",autoClose:5e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0,theme:"light",closeButton:x.eh,toastClassName:e=>x.EE[e?.type||"default"]+" styled-toast-container relative cursor-pointer",icon:e=>{let{type:t,theme:r}=e;return"error"===t?(0,m.jsx)(h.Z,{}):null}})]})}),y=r(85518),v=r(89757),w=r(74832);let j=["deliverySettings","categories","categorySlug","favorites","settingsData","filtersData","menuItems","errorCode","hasToolbar","hasDeliveryBar"];function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var O=!0,k=function(e){let{deliverySettings:t,categories:r,categorySlug:i,favorites:s,settingsData:d,filtersData:p,menuItems:u,errorCode:f,hasToolbar:h,hasDeliveryBar:g}=e,x=(0,o.Z)(e,j),O=(0,v.I0)(),k="ÐÐµÐ½Ñ \xabÐоÑеманиÑ\xbb: блÑда, коÑе и деÑеÑÑÑ Ñ Ð´Ð¾ÑÑавкой";return((0,c.useEffect)(()=>{if(null!==d){let e=JSON.parse(d?.find(e=>e?.key==="alert")?.value);if(e){let t=parseInt(localStorage.getItem("alertDate")??"0");e?.bgColor;let r=e?.enabled&&e?.updatedAt>=t;O((0,w.K0)({isOpen:r,content:e?.content,height:56}))}let t={enabled:!0,content:"Ð ÑвÑзи Ñ Ð¿Ð»Ð¾Ñ
ой погодой можем доÑÑавлÑÑÑ Ð·Ð°ÐºÐ°Ð·Ñ Ð´Ð¾Ð»ÑÑе обÑÑного",updatedAt:3};Object.keys(t).length&&(parseInt(localStorage.getItem("alertWeatherDate")??"0"),t?.enabled&&t?.updatedAt)}},[]),(0,c.useEffect)(()=>{r&&console.log("GET 0 ",r)},[]),f)?(0,m.jsx)(a(),{statusCode:f}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(l(),{children:[(0,m.jsx)("title",{children:k}),(0,m.jsx)("meta",{name:"title",content:k},"title"),(0,m.jsx)("meta",{name:"description",content:"ÐÐµÐ½Ñ \xabÐоÑемании\xbb: авÑоÑÑкие блÑда, specialty-коÑе и деÑеÑÑÑ. ÐаказаÑÑ Ñ Ð´Ð¾ÑÑавкой по ÐоÑкве на ÑайÑе."},"description"),y.G6&&(0,m.jsx)("meta",{name:"apple-itunes-app",content:"app-id=1532106207"}),i&&(0,m.jsx)("meta",{name:"robots",content:"noindex, nofollow"},"robots"),(0,m.jsx)("link",{rel:"canonical",href:"https://coffeemania.ru/"})]}),(0,m.jsx)(b,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?_(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},x))]})}},28873:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(47041),o=r(39332),i=r(67294);function l(){let e=(0,o.usePathname)(),t=(0,o.useRouter)();return(0,i.useEffect)(()=>{let e=e=>{let r=e.target,o=r.closest('[class*="CartIconWrapper"]'),i=r.closest('a[href*="/menu"]'),l=r.closest('[class*="StyledNavBarBreadcrumbItem"]');if(o&&(e.preventDefault(),e.stopPropagation(),t.push("/cart")),i&&l){e.preventDefault(),e.stopPropagation();let r="/menu",o=(0,n.getCookie)("cartType")??"default";r=`/${"preorder"===o?"cookery_preorder":"menu"}`,t.push(r)}};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}},[e,t]),null}},14270:function(e,t,r){"use strict";r.d(t,{F:function(){return i}});var n=r(87379),o=r(2947);let i=(0,n.ZP)(o.Ix).withConfig({displayName:"styles__StyledToastContainer",componentId:"sc-15t54qo-0"})(["&&&.Toastify__toast-container{top:130px;gap:10px;}.styled-toast-container{display:flex;align-items:center;width:368px;height:max-content;border-radius:12px;opacity:1;background-color:white;padding:16px;box-shadow:0px 5px 18px 0px #0000001f;overflow:hidden;cursor:pointer;}.msg-text{color:#212121;font-family:Suisse Intl;font-weight:400;font-style:Regular;font-size:14px;line-height:18px;letter-spacing:0%;white-space:pre;}.msg-close{position:absolute;right:16px;top:50%;transform:translateY(-50%);cursor:pointer;}.Toastify__progress-bar--wrp{height:4px;border-bottom-left-radius:12px;border-bottom-right-radius:12px;}.Toastify__progress-bar--bg{background-color:#ec4c41;}.Toastify__progress-bar{opacity:1;}.Toastify__toast{}.Toastify__toast-body{}.Toastify__progress-bar{}.Toastify__close-button--light{}"])},93023:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/menu",function(){return r(17980)}])},12918:function(e,t,r){e.exports=r(41535)}},function(e){e.O(0,[5518,2888,9774,179],function(){return e(e.s=93023)}),_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.