1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[305],{90638:function(e,t,i){"use strict";var n,l=i(67294);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}t.Z=e=>{let{title:t,titleId:i,...s}=e;return l.createElement("svg",r({width:185,height:16,viewBox:"0 0 185 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},s),t?l.createElement("title",{id:i},t):null,n||(n=l.createElement("path",{d:"m9.734 15.759-6.006-6.72H3.65v6.72H0V.172h3.65v6.453h.054L9.519.218h4.24l-6.978 7.45 7.408 8.09H9.734ZM16.837 8.142a7.336 7.336 0 0 0 .717 3.298 7.56 7.56 0 0 0 2.128 2.663c1.55 1.227 3.698 1.893 6.299 1.893a9.83 9.83 0 0 0 6.65-2.316 7.602 7.602 0 0 0 1.863-2.606 7.408 7.408 0 0 0 .606-3.118 7.412 7.412 0 0 0-.533-2.986 7.59 7.59 0 0 0-1.692-2.547C31.265.901 28.85.003 25.951.003A9.645 9.645 0 0 0 19.39 2.32a7.8 7.8 0 0 0-1.908 2.647 7.596 7.596 0 0 0-.639 3.17l-.006.006Zm14.35-.128c0 3.41-2.224 5.371-5.23 5.371-3.006 0-5.279-1.962-5.279-5.37 0-3.41 2.225-5.366 5.279-5.366 3.053 0 5.23 2.008 5.23 5.365ZM50.696 7.928h-.805v-5.03h.805c2.147 0 3.191 1.088 3.191 2.477 0 1.615-.99 2.582-3.167 2.582l-.024-.03Zm-5.248.029c-2.172 0-3.162-.967-3.162-2.582-.03-1.418 1.014-2.477 3.161-2.477h.77v5.059h-.77ZM51.041.172h-5.964c-3.925 0-6.501 1.725-6.501 5.041 0 2.014 1.717 5.157 6.978 5.157h.662v5.371h3.674v-5.354h.668c5.26 0 6.972-3.142 6.972-5.157 0-3.333-2.6-5.058-6.489-5.058ZM63.459 15.759V.172h10.92l-.966 2.645h-6.28v3.646h6.304v2.674h-6.304v3.97h7.217v2.652H63.459ZM95.352 15.689V7.152c0-.579 0-1.123.053-1.661h-.053c-.318.563-.68 1.103-1.08 1.615l-3.232 4.387h-1.67L85.79 6.99a10.51 10.51 0 0 1-1.115-1.5h-.054V15.69h-3.579V.235h3.334l4.581 5.788c.507.654.907 1.158 1.276 1.737.35-.637.749-1.246 1.193-1.824l4.175-5.7h3.34v15.453h-3.59ZM120.42 15.689 113.323.166h-2.756l-6.865 15.523h3.579l1.616-3.774h5.935l1.693 3.774h3.895Zm-6.704-6.367h-3.787l1.932-4.902c.108.498 1.825 4.902 1.825 4.902M137.298 15.689v-6.47h-8.076v6.47h-3.632V.235h3.632v6.217h8.076V.235h3.632V15.69h-3.632ZM148.511 15.689V.235h3.608v7.872c0 .66 0 1.667-.06 2.396h.06c.471-.637.954-1.244 1.64-2.02l7.324-8.248h3.657V15.69h-3.579V7.221c0-.7 0-1.638.06-2.159h-.06c-.531.683-1.002 1.291-1.67 2.044l-7.599 8.583h-3.381ZM175.678 15.689c2.648-4.011 3.703-5.747 4.342-5.956h1.348v5.956H185V.235h-5.082c-4.664 0-6.358 2.038-6.358 4.434 0 2.014 1.569 3.374 3.179 4.005-.871.44-2.564 3.045-5.189 6.986l4.128.029Zm4.175-12.78h1.532v4.48h-1.532a2.578 2.578 0 0 1-1.008-.118 2.52 2.52 0 0 1-.876-.496 2.431 2.431 0 0 1-.602-.793 2.37 2.37 0 0 1-.228-.96c0-1.198.972-2.124 2.696-2.124",fill:"#EC4C41"})))}},41535:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=i(38754),l=i(85893),r=n._(i(67294)),s=n._(i(66484)),o={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:i}=e;return{statusCode:t&&t.statusCode?t.statusCode:i?i.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 r.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,i=this.props.title||o[e]||"An unexpected error has occurred";return(0,l.jsxs)("div",{style:c.error,children:[(0,l.jsx)(s.default,{children:(0,l.jsx)("title",{children:e?e+": "+i:"Application error: a client-side exception has occurred"})}),(0,l.jsxs)("div",{style:c.desc,children:[(0,l.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)}}":"")}}
1),e?(0,l.jsx)("h1",{className:"next-error-h1",style:c.h1,children:e}):null,(0,l.jsx)("div",{style:c.wrap,children:(0,l.jsxs)("h2",{style:c.h2,children:[this.props.title||e?i:(0,l.jsx)(l.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)},95788:function(e,t,i){"use strict";i.d(t,{Z:function(){return U}});var n,l=i(67294),r=i(87379);let s=r.ZP.div.withConfig({displayName:"styles__MenuTitle",componentId:"sc-1d39lm7-0"})(["font-family:'Suisse Intl';font-weight:500;font-size:18px;color:#212121;text-align:center;line-height:24px;padding-bottom:24px;position:fixed;background:white;z-index:1111;height:57px;margin-top:60px;width:100%;"]),o=r.ZP.div.withConfig({displayName:"styles__Toolbar",componentId:"sc-1d39lm7-1"})(["white-space:nowrap;display:flex;align-items:center;position:sticky;z-index:9;top:",";display:flex;height:52px;background:#ffffff;"],e=>e.theme.ui.mobileAppsAlert.isOpen&&e.theme.ui.mobileAppsAlert.height?`${e.theme.ui.mobileAppsAlert.height+58}px`:"115px"),a=r.ZP.div.withConfig({displayName:"styles__LogoWrapper",componentId:"sc-1d39lm7-2"})(["position:fixed;background:white;z-index:1111;height:65px;width:100%;display:flex;align-items:center;justify-content:center;"]);var c=i(68697),d=i(89757),h=i(50555),p=i(12267),u=i(2489),g=i(27272),m=i(86071);let f=(0,g.hg)("OPEN_SEARCH",async(e,t)=>{let{createModal:i}=e,{getState:n}=t;i(m.Z)}),x=r.ZP.div.withConfig({displayName:"styles__SearchBarContainer",componentId:"sc-1opyfxn-0"})(["margin-left:18px;width:fit-content;white-space:nowrap;display:flex;align-items:center;z-index:9;height:60px;"]),y=r.ZP.div.withConfig({displayName:"styles__SearchButton",componentId:"sc-1opyfxn-1"})(["width:24px;height:24px;"]);function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}var j=e=>{let{title:t,titleId:i,...r}=e;return l.createElement("svg",v({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},r),t?l.createElement("title",{id:i},t):null,n||(n=l.createElement("path",{d:"M10 4a6 6 0 1 0 0 12 6 6 0 0 0 0-12Zm-8 6a8 8 0 1 1 14.32 4.906l5.387 5.387a1 1 0 0 1-1.414 1.414l-5.387-5.387A8 8 0 0 1 2 10Z",fill:"#212121"})))},b=i(85893),w=(0,l.memo)(function(){let e=(0,d.I0)(),{createModal:t}=(0,u.ZP)(),i=(0,l.useCallback)(()=>{e(f({createModal:t}))},[e,t]);return(0,b.jsx)(x,{children:(0,b.jsx)(y,{onClick:i,children:(0,b.jsx)(j,{})})})}),_=i(56323);let C=r.ZP.div.withConfig({displayName:"styles__CategoryBlocksWrapper",componentId:"sc-10ogz9p-0"})(["padding:120px 20px 0;margin-top:0;"]);r.ZP.div.withConfig({displayName:"styles__CategoryBlock",componentId:"sc-10ogz9p-1"})(["display:flex;background:",";flex-direction:column;"],e=>(e.primary,e.theme.colors.white)),r.ZP.div.withConfig({displayName:"styles__CategoryInfo",componentId:"sc-10ogz9p-2"})(["position:relative;padding:4px 0 0;"]),r.ZP.div.withConfig({displayName:"styles__CategoryInfoContent",componentId:"sc-10ogz9p-3"})(["& > h2{font-size:18px;line-height:22px;font-weight:500;}& > div{margin-top:4px;font-size:13px;line-height:18px;font-weight:400;color:#a8a8a8;}"]),r.ZP.div.withConfig({displayName:"styles__ProductList",componentId:"sc-10ogz9p-4"})(["margin:20px 0;padding:0;display:grid;grid-column-gap:7px;grid-row-gap:20px;grid-template-columns:1fr 1fr;"]);let Z=r.ZP.div.withConfig({displayName:"styles__CategoryBlockWrapper",componentId:"sc-td4s5m-0"})(["display:flex;background:",";flex-direction:column;"],e=>(e.primary,e.theme.colors.white)),I=r.ZP.div.withConfig({displayName:"styles__CategoryInfo",componentId:"sc-td4s5m-1"})(["position:relative;padding:4px 0 0;"]),P=r.ZP.div.withConfig({displayName:"styles__CategoryInfoContent",componentId:"sc-td4s5m-2"})(["& > h2{font-size:18px;line-height:22px;font-weight:500;}& > div{margin-top:4px;font-size:13px;line-height:18px;font-weight:400;color:#a8a8a8;}"]),N=r.ZP.div.withConfig({displayName:"styles__ProductList",componentId:"sc-td4s5m-3"})(["margin:20px 0;padding:0;display:grid;grid-column-gap:7px;grid-row-gap:20px;grid-template-columns:1fr 1fr;"]),k=r.ZP.div.withConfig({displayName:"styles__BreakfastHours",componentId:"sc-td4s5m-4"})(["font-family:'Suisse Intl';color:#A8A8A8;font-weight:400;font-size:14px;line-height:18px;"]);var A=i(74791),M=i(16931),E=i(89755),z=i.n(E),S=i(389),V=(0,l.memo)(e=>{let{product:t,closeSearchModal:i,restaurant:n}=e,r=(0,d.I0)(),{createModal:s}=(0,u.ZP)(),o=(0,l.useCallback)(async()=>{r((0,M.F)({createModal:s,product:t,closeSearchModal:i,restaurant:n}))},[t,n]),a=(0,l.useMemo)(()=>new Intl.NumberFormat("ru",{style:"currency",currency:"RUB",minimumFractionDigits:0,maximumFractionDigits:0,useGrouping:!0}).format(t.price/100),[t.price]),c=(0,l.useMemo)(()=>
1{if(!t?.weight?.length)return null;let[e]=(0,S.UU)(t?.weight);return e>0?t?.weight:null},[t?.weight]);return(0,b.jsx)(A.ZG,{className:`analytics-product-${t.id}`,children:(0,b.jsxs)("div",{children:[(0,b.jsxs)(A.o3,{onClick:o,children:[(0,b.jsx)(z(),{width:312,height:236,src:t?.images?.[0]?.thumbnails?.[1]?.url||t?.images?.[0]?.thumbnails?.[0]?.url,alt:t.title,placeholder:"blur",blurDataURL:"/static/images/background-product.jpg"}),!!t?.labels?.[0]&&(0,b.jsx)(A.Vb,{children:(0,b.jsx)("div",{children:t?.labels[0]})})]}),(0,b.jsxs)(A.ww,{children:[(0,b.jsx)(A.tc,{onClick:o,children:t.title}),(0,b.jsxs)(A.Rz,{children:[(0,b.jsxs)("div",{children:[c&&(0,b.jsxs)(A.W,{children:[c," / "]}),(0,b.jsx)(A.jF,{children:a})]}),(0,b.jsx)("div",{children:t?.["loyalty-extra-bonus-percent"]&&(0,b.jsx)(A.cc,{children:t["loyalty-extra-bonus-percent"]})})]})]}),(t.labels?.[1]||t.labels?.[2])&&(0,b.jsxs)(A.TY,{children:[t.labels?.[1]&&(0,b.jsx)(A.jy,{children:t.labels[1]}),t.labels?.[2]&&(0,b.jsx)(A.jy,{children:t.labels[2]})]})]})},t.id+t.title)}),O=(0,l.memo)(function(e){let{category:t,cartItems:i,isAuth:n,categoryIndex:r,blockNumber:s,setBlockNumber:o,restaurant:a}=e;return(0,l.useEffect)(()=>{setTimeout(()=>{o(s+1)},0)},[]),(0,b.jsxs)(Z,{id:"#cat-"+t.id,primary:!(r%2),mobile:!0,small:!0,className:"analytics-category-block",children:[(0,b.jsx)(I,{children:(0,b.jsxs)(P,{children:[(0,b.jsx)("h2",{children:t.title}),!!t["short-description"]&&(0,b.jsx)("div",{children:t["short-description"]}),"УÑÑо в \xabÐоÑемании\xbb"==t.title?(0,b.jsx)(k,{children:"Ðжедневно Ñ 5 до 12 ÑаÑов"}):null]})}),(0,b.jsx)(N,{children:t.products.map((e,t)=>e.isVisible&&(0,b.jsx)(V,{type:"storefront",product:e,position:t+1,cartType:"default",cartItems:i,isAuth:n,restaurant:a},e.id+e.title))})]},t.id+t.title)}),B=(0,l.memo)(function(e){let{categories:t,cartItems:i,isAuth:n,restaurant:r}=e,{0:s,1:o}=(0,l.useState)(1);return(0,b.jsx)(C,{children:t.map((e,t)=>e.isVisible&&t<s&&(0,b.jsx)(O,{category:e,cartItems:i,isAuth:n,categoryIndex:t,setBlockNumber:o,blockNumber:s,restaurant:r},e.id+e.title))})}),H=i(83710),F=i(90638);let T=(0,c.P1)([e=>e.cart?.items],e=>e.filter(e=>"default"===e.type)||[]),R=(0,c.P1)(e=>e.profile,e=>e),L=(0,c.P1)(e=>e.filtersBar,e=>e);var U=function(e){let{restaurantQr:t,categories:i,deliverySettings:n}=e,{0:r,1:c}=(0,l.useState)(i),u=(0,d.v9)(T),{isAuth:g}=(0,d.v9)(R),m=(0,d.v9)(L);return(0,l.useEffect)(()=>{c((0,h.RB)(i,m))},[m]),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(a,{children:(0,b.jsx)(F.Z,{})}),(0,b.jsxs)(s,{children:["ÐÐµÐ½Ñ ÑеÑÑоÑана ÐоÑÐµÐ¼Ð°Ð½Ð¸Ñ \xab",t?.title,"\xbb"]}),(0,b.jsxs)(o,{children:[(0,b.jsx)(p.Z,{}),(0,b.jsx)(w,{}),(0,b.jsx)(_.Z,{categories:r})]}),(0,b.jsx)(B,{categories:r,cartItems:u,isAuth:g,restaurant:t}),(0,b.jsx)(H.Z,{})]})}},98007:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return p}});var n=i(67294),l=i(9008),r=i.n(l),s=i(86896),o=i(95788),a=i(89757),c=i(12918),d=i.n(c),h=i(85893),p=!0;t.default=(0,n.memo)(function(e){let{restaurant:t,categories:i,deliverySettings:l,errorCode:c}=e,p=(0,s.Z)();(0,a.I0)();let u=(0,n.useMemo)(()=>p.formatMessage({id:"3avm/y",defaultMessage:[{type:0,value:"ÐÑÑлайн менÑ"}]}),[p]);return c?(0,h.jsx)(d(),{statusCode:c}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(r(),{children:[(0,h.jsx)("title",{children:u}),(0,h.jsx)("meta",{name:"title",content:u},"title")]}),(0,h.jsx)(o.Z,{deliverySettings:l,restaurantQr:t,categories:i})]})})},9369:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/restaurants/[slug]/qrmenu",function(){return i(98007)}])},12918:function(e,t,i){e.exports=i(41535)}},function(e){e.O(0,[9755,3903,2888,9774,179],function(){return e(e.s=9369)}),_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.