PageSourceSearch

https://simplefood24.ru/_next/static/chunks/948-facf5335f7869b9c.js

js simplefood24.ru collected 2026-10-02 02:07:51 UTC 14,586 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="aa1a5905-b8e6-4a77-abd7-4ce2d0f9ecfb",e._sentryDebugIdIdentifier="sentry-dbid-aa1a5905-b8e6-4a77-abd7-4ce2d0f9ecfb")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[948],{74746:function(e,l,n){"use strict";n.d(l,{Z:function(){return j}});var r=n(59499),s=n(94184),i=n.n(s),a=n(25675),t=n.n(a),o=n(67294),c=n(41248),d=n(30536),p=n(92451),h=n(57347),u=n(61090),f=n(8752),g=n(6631),m=n.n(g),v=n(85893),x="SUBSCRIPTION_REMIND_EXP_TIME";function j(e){var l,n=e.isOnHead,s=void 0!==n&&n,a=e.contrasted,g=e.className,j=u.e8.isAuthenticated,C=h.t.subscriptionBlockHeadBg,w=h.t.subscriptionBlockFooterBg,b=h.t.appIconUrl,k=h.t.name,N=h.t.appContrastIconUrl,y=(0,o.useContext)(p.F).isDesktop,_=a?N:b(),I=(0,c.v9)(function(e){return e.profile.user}),A=(0,c.v9)(function(e){return e.establishment.subscription}),B=(0,o.useState)(!1),S=B[0],U=B[1];(0,o.useEffect)(function(){var e=f.E.getItem(x),l=!e||new Date(parseInt(e,10))<=new Date;e&&s&&(j||!l)&&(null!=I&&I.isSubscribed||!l)||U(!0)},[j,s,null==I?void 0:I.isSubscribed]);var D=y?(0,v.jsxs)("div",{className:m().logoAndName,children:[(0,v.jsx)("div",{className:m().appImage,children:(0,v.jsx)(t(),{alt:"App logo",height:58,src:_,unoptimized:!0,width:58})}),y&&a?null:(0,v.jsx)("h2",{children:k()})]}):_&&(0,v.jsx)("div",{className:m().appImage,children:(0,v.jsx)(t(),{alt:"App logo",height:58,priority:!0,src:_,unoptimized:!0,width:58})}),H=s&&(0,v.jsx)("i",{className:i()(m().close,"pe-7s-close pe-lg pe-va"),onClick:function(){var e=new Date;e.setHours(e.getHours()+2),f.E.setItem(x,(+e).toString()),U(!1)}}),T=y?(0,v.jsx)("a",{className:m().getLink,href:null==A?void 0:A.url,rel:"noopener",target:"_blank",children:(0,v.jsx)(d.J,{primary:!0,children:null==A?void 0:A.btnText})}):(0,v.jsx)("a",{className:i()(m().getLink,"ripple"),href:null==A?void 0:A.url,rel:"noopener",target:"_blank",children:null==A?void 0:A.btnText});return S&&A&&!u.$t.getBitId()?(0,v.jsxs)("div",{className:i()(m().host,void 0===g?"":g,"animate__animated animate__fadeIn",m().contentBlock,(l={},(0,r.Z)(l,m().contrasted,a),(0,r.Z)(l,m().desktopHost,y),l)),style:{backgroundColor:s?C():w()},children:[(0,v.jsxs)("div",{className:m().contentBlock,children:[H,D,(0,v.jsx)("div",{className:m().content,children:(0,v.jsx)("p",{children:A.text})})]}),T]}):null}},948:function(e,l,n){"use strict";n.d(l,{Z:function(){return B}});var r=n(94184),s=n.n(r),i=n(53756),a=n(25675),t=n.n(a),o=n(41664),c=n.n(o),d=n(67294),p=n(41248),h=n(66261),u=n(7226),f=n(32805),g=n(74746),m=n(26851),v=n(92451),x=n(57347),j=n(90116),C=n(501),w=n.n(C),b=n(86172),k=n(60067),N=n(85893),y=function(){var e=(0,p.v9)(function(e){return e.establishment.addresses}),l=(0,d.useState)([]),n=l[0],r=l[1],s=(0,d.useState)([]),i=s[0],a=s[1];return(0,d.useEffect)(function(){r([]),a([]),e.forEach(function(e){e.fullAddress.startsWith("dark")?a(function(l){return[].concat((0,j.Z)(l),[(0,k.l)(e.fullAddress)])}):r(function(l){return[].concat((0,j.Z)(l),[e.fullAddress])})})},[e]),(0,b.c)(i)?(0,N.jsx)("ul",{className:w().addresses,children:n.map(function(e,l){return(0,N.jsx)("li",{children:e},l)})}):(0,N.jsxs)("div",{children:[(0,N.jsx)("div",{className:w().h3,children:"Пиццерии с посадкой"}),(0,N.jsx)("ul",{className:w().addresses,children:n.map(function(e,l){return(0,N.jsx)("li",{children:e},l)})}),(0,N.jsx)("div",{className:w().h3,children:"Пиццерии формата dark kitchen"}),(0,N.jsx)("ul",{className:w().addresses,children:i.map(function(e,l){return(0,N.jsx)("li",{children:e},l)})})]})},_=n(61090),I=n(38586),A=n(9723);function B(){var e=x.t.footerCopyrightText,l=x.t.isShowPhoneInFooter,n=x.t.footerPhones,r=x.t.logoFooterUrlMobile,a=x.t.logoFooterSizeMobile,o=x.t.textFooterPromoInfo,j=x.t.logoFooterSizeDesktop,C=x.t.logoFooterUrlDesktop,k=x.t.socialUseTelegram,B=(0,d.useContext)(v.F),S=B.isDesktop,U=B.isMobile,D=(0,i.$G)("common").t,H=(0,u.TL)(),T=(0,p.v9)(function(e){return e.establishment.info}),F=(0,p.v9)(function(e){return e.misc.staticPages}),R=(0,p.v9)(function(e){return e.misc.hasBlog}),P=(0,d.useMemo)(function(){return F.filter(function(e){return!e.url.includes(m.Sw.oferta)})},[F]),M=(0,d.useMemo)(function(){return!(0,b.c)(null==T?void 0:T.iOSAppUrl)||!(0,b.c)(null==T?void 0:T.androidAppUrl)||!(0,b.c)(null==T?void 0:T.appGalleryAppUrl)||!(0,b.c)(null==T?void 0:T.rustoreAppUrl)},[null==T?void 0:T.iOSAppUrl,null==T?void 0:T.androidAppUrl,null==T?void 0:T.appGalleryAppUrl,null==T?void 0:T.rustoreAppUrl]),Z=function(e,l){
1U||(e.preventDefault(),H((0,f.nz)(l)),H((0,f.wO)()))},L=function(e){return e.identity.includes(m.Sw.franchise)?(0,N.jsx)("a",{href:"/information/".concat(e.url),className:"ripple",onClick:function(){return _.yD.navigationToFranchisePage()},children:e.name},e.url):(0,N.jsx)(c(),{href:(0,A.jO)(e),legacyBehavior:!0,passHref:!0,shallow:!1,children:(0,N.jsx)("a",{className:"ripple",onClick:function(){e.identity===m.Sw.delivery?_.yD.navigationToDeliveryAndPaymentPage():e.identity===m.Sw.bonusProgram?_.yD.navigationToBonusProgramPage():e.identity===m.Sw.help?_.yD.navigationToHelpPage():e.identity===m.Sw.policy&&_.yD.navigationToPolicyPage()},children:e.name})},e.url)},E=R&&(0,N.jsx)(c(),{href:"/blog",legacyBehavior:!0,passHref:!0,shallow:!1,children:(0,N.jsx)("a",{className:"ripple",onClick:function(){return _.yD.navigationToBlogPage()},children:D("blog.title")})}),z=(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)("p",{children:[e,", ",new Date().getFullYear()]}),o&&(0,N.jsx)("p",{children:o})]}),G=((null==T?void 0:T.socials.instagram)||(null==T?void 0:T.socials.vk)||(null==T?void 0:T.socials.telegram))&&(0,N.jsxs)("div",{className:w().socials,children:[(null==T?void 0:T.socials.instagram)&&(k?(0,N.jsx)("a",{"aria-label":"telegram link",className:s()(w().social,"ripple"),href:null==T?void 0:T.socials.instagram,rel:"noopener noreferrer",target:"_blank",children:(0,N.jsx)("svg",{height:"20",viewBox:"0 0 12 11",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,N.jsx)("path",{d:"m9.373 9.029 1.942-7.956a.6.6 0 0 0-.823-.689l-9.465 4.1A.596.596 0 0 0 .993 5.56l1.92.984 5.713-3.95c.061-.042.122.007.126.064L3.964 7.2a.6.6 0 0 0-.187.431v2.104c0 .602.8.825 1.116.31l1.162-1.888 2.457 1.26a.603.603 0 0 0 .86-.39h.001Z",fill:"#93809F",fillRule:"nonzero"})})}):(0,N.jsx)("a",{"aria-label":"instagram link",className:s()(w().social,"ripple"),href:null==T?void 0:T.socials.instagram,rel:"noopener noreferrer",target:"_blank",children:(0,N.jsx)("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,N.jsx)("path",{d:"M5.8 0H14.2C17.4 0 20 2.6 20 5.8V14.2C20 15.7383 19.3889 17.2135 18.3012 18.3012C17.2135 19.3889 15.7383 20 14.2 20H5.8C2.6 20 0 17.4 0 14.2V5.8C0 4.26174 0.61107 2.78649 1.69878 1.69878C2.78649 0.61107 4.26174 0 5.8 0ZM5.6 2C4.64522 2 3.72955 2.37928 3.05442 3.05442C2.37928 3.72955 2 4.64522 2 5.6V14.4C2 16.39 3.61 18 5.6 18H14.4C15.3548 18 16.2705 17.6207 16.9456 16.9456C17.6207 16.2705 18 15.3548 18 14.4V5.6C18 3.61 16.39 2 14.4 2H5.6ZM15.25 3.5C15.5815 3.5 15.8995 3.6317 16.1339 3.86612C16.3683 4.10054 16.5 4.41848 16.5 4.75C16.5 5.08152 16.3683 5.39946 16.1339 5.63388C15.8995 5.8683 15.5815 6 15.25 6C14.9185 6 14.6005 5.8683 14.3661 5.63388C14.1317 5.39946 14 5.08152 14 4.75C14 4.41848 14.1317 4.10054 14.3661 3.86612C14.6005 3.6317 14.9185 3.5 15.25 3.5ZM10 5C11.3261 5 12.5979 5.52678 13.5355 6.46447C14.4732 7.40215 15 8.67392 15 10C15 11.3261 14.4732 12.5979 13.5355 13.5355C12.5979 14.4732 11.3261 15 10 15C8.67392 15 7.40215 14.4732 6.46447 13.5355C5.52678 12.5979 5 11.3261 5 10C5 8.67392 5.52678 7.40215 6.46447 6.46447C7.40215 5.52678 8.67392 5 10 5ZM10 7C9.20435 7 8.44129 7.31607 7.87868 7.87868C7.31607 8.44129 7 9.20435 7 10C7 10.7956 7.31607 11.5587 7.87868 12.1213C8.44129 12.6839 9.20435 13 10 13C10.7956 13 11.5587 12.6839 12.1213 12.1213C12.6839 11.5587 13 10.7956 13 10C13 9.20435 12.6839 8.44129 12.1213 7.87868C11.5587 7.31607 10.7956 7 10 7Z",fill:"white"})})})),(null==T?void 0:T.socials.vk)&&(0,N.jsx)("a",{"aria-label":"vk link",className:s()(w().social,"ripple"),href:null==T?void 0:T.socials.vk,rel:"noopener noreferrer",target:"_blank",children:(0,N.jsx)("svg",{fill:"none",height:"14",viewBox:"0 0 24 14",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,N.jsx)("path",{clipRule:"evenodd",d:"M23.45 0.948C23.616 0.402 23.45 0 22.655 0H20.03C19.362 0 19.054 0.347 18.887 0.73C18.887 0.73 17.552 3.926 15.661 6.002C15.049 6.604 14.771 6.795 14.437 6.795C14.27 6.795 14.019 6.604 14.019 6.057V0.948C14.019 0.292 13.835 0 13.279 0H9.151C8.734 0 8.483 0.304 8.483 0.593C8.483 1.214 9.429 1.358 9.526 3.106V6.904C9.526 7.737 9.373 7.888 9.039 7.888C8.149 7.888 5.984 4.677 4.699 1.003C4.45 0.288 4.198 0 3.527 0H0.9C0.15 0 0 0.347 0 0.73C0 1.412 0.89 4.8 4.145 9.281C6.315 12.341 9.37 14 12.153 14C13.822 14 14.028 13.632 14.028 12.997V10.684C14.028 9.947 14.186 9.8 14.715 9.8C15.105 9.8 15.772 9.992 17.33 11.467C19.11 13.216 19.403 14 20.405 14H23.03C23.78 14 24.156 13.632 23.94 12.904C23.702 12.18 22.852 11.129 21.725 9.882C21.113 9.172 20.195 8.407 19.916 8.024C19.527 7.533 19.638 7.314 19.916 6.877C19.916 6.877 23.116 2.451 23.449 0.948H23.45Z",fill:"white",fillRule:"evenodd"})})}),!(0,b.c)(null==T?void 0:T.socials.telegram)&&(0,N.jsx)("a",{"aria-label":"telegram link",className:s()(w().social,"ripple"),href:null==T?void 0:T.socials.telegram,rel:"noopener noreferrer",target:"_blank",children:(0,N.jsx)("svg",{height:"20",viewBox:"0 0 12 11",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,N.jsx)("path",{d:"m9.373 9.029 1.942-7.956a.6.6 0 0 0-.823-.689l-9.465 4.1A.596.596 0 0 0 .993 5.56l1.92.984 5.713-3.95c.061-.042.122.007.126.064L3.964 7.2a.6.6 0 0 0-.187.431v2.104c0 .602.8.825 1.116.31l1.162-1.888 2.457 1.26a.603.603 0 0 0 .86-.39h.001Z",fill:"#93809F",fillRule:"nonzero"})})})]}),O=M&&(0,N.jsxs)("div",{className:w().apps,children:[!(0,b.c)(null==T?void 0:T.iOSAppUrl)&&(0,N.jsx)("a",{href:T.iOSAppUrl,rel:"noreferrer",target:"_blank",onClick:function(e){Z(e,T.iOSAppUrl)},children:(0,N.jsx)(t(),{alt:"app store",className:w().marketImg,height:40,src:"/appstore.svg",width:120})}),!(0,b.c)(null==T?void 0:T.androidAppUrl)&&(0,N.jsx)("a",{href:T.androidAppUrl,rel:"noreferrer",target:"_blank",onClick:function(e){Z(e,T.androidAppUrl)},children:(0,N.jsx)(t(),{alt:"google play",className:w().marketImg,height:40,src:"/googleplay.png",width:135})}),!(0,b.c)(null==T?void 0:T.rustoreAppUrl)&&(0,N.jsx)("a",{href:T.rustoreAppUrl,rel:"noreferrer",target:"_blank",onClick:function(e){Z(e,T.rustoreAppUrl)},children:(0,N.jsx)(t(),{alt:"ruStore",className:w().marketImg,height:40,src:"/ruStore.png",width:122})}),!(0,b.c)(null==T?void 0:T.appGalleryAppUrl)&&(0,N.jsx)("a",{href:T.appGalleryAppUrl,rel:"noreferrer",target:"_blank",onClick:function(e){Z(e,T.appGalleryAppUrl)},children:(0,N.jsx)(t(),{alt:"appGallery",className:w().marketImg,height:40,src:"/appGallery.png",width:135})})]}),V=U&&(0,N.jsxs)("footer",{className:w().host,children:[(0,N.jsxs)("div",{className:w().topRow,children:[(0,N.jsx)(t(),{alt:"Logo",height:a.height,src:r,unoptimized:!0,width:a.width}),n&&n.length>0?n.map(function(e){var l=e.label,n=e.phone;return(0,N.jsxs)("div",{className:w().phoneRow,children:[(0,N.jsxs)("span",{className:w().phoneLabel,children:[l,": "]}),(0,N.jsx)(c(),{href:"tel:".concat((0,I.TB)(n)),legacyBehavior:!0,passHref:!0,children:(0,N.jsx)("a",{className:s()(w().phone,"ripple"),children:n})})]},n)}):(null==T?void 0:T.phone)&&l&&(0,N.jsx)(c(),{href:"tel:".concat((0,I.TB)(null==T?void 0:T.phone)),legacyBehavior:!0,passHref:!0,children:(0,N.jsx)("a",{className:s()(w().phone,"ripple"),children:null==T?void 0:T.phone})}),(null==T?void 0:T.email)&&(0,N.jsx)(c(),{href:"mailto:".concat(null==T?void 0:T.email),legacyBehavior:!0,children:(0,N.jsx)("a",{className:s()(w().email,"ripple"),children:null==T?void 0:T.email})})]}),O,(0,N.jsxs)("div",{className:w().pages,children:[P.map(function(e){return L(e)}),E]}),G,(0,N.jsx)(y,{}),(0,N.jsx)("div",{className:w().restaurantInfo,children:z})]}),Q=S&&(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(g.Z,{}),(0,N.jsxs)("footer",{className:s()(w().host,w().desktopHost),children:[(0,N.jsxs)("div",{className:w().topRow,children:[(0,N.jsxs)("div",{children:[(0,N.jsx)(t(),{alt:"Logo",height:j.height,src:C,unoptimized:!0,width:j.width}),n&&n.length>0?n.map(function(e){var l=e.label,n=e.phone;return(0,N.jsxs)("div",{className:w().phoneRow,children:[(0,N.jsxs)("span",{className:w().phoneLabel,children:[l,": "]}),(0,N.jsx)(c(),{href:"tel:".concat((0,I.TB)(n)),legacyBehavior:!0,passHref:!0,children:(0,N.jsx)("a",{className:s()(w().phone,"ripple"),children:n})})]},n)}):(null==T?void 0:T.phone)&&l&&(0,N.jsx)(c(),{href:"tel:".concat((0,I.TB)(null==T?void 0:T.phone)),legacyBehavior:!0,passHref:!0,children:(0,N.jsx)("a",{className:s()(w().phone,"ripple"),children:null==T?void 0:T.phone})}),(null==T?void 0:T.email)&&(0,N.jsx)(c(),{href:"mailto:".concat(null==T?void 0:T.email),legacyBehavior:!0,children:(0,N.jsx)("a",{className:s()(w().email,"ripple"),children:null==T?void 0:T.email})})]}),(0,N.jsxs)("div",{children:[O,(0,N.jsxs)("div",{className:w().pages,children:[P.map(function(e){return L(e)}),E]})]}),G]}),(0,N.jsx)(y,{}),(0,N.jsxs)("div",{className:w().bottomRow,children:[(0,N.jsx)("div",{className:w().restaurantInfo,children:z}),(0,N.jsx)("button",{onClick:function(){return h.NY.scrollToTop({})},children:D("up")})]})]})]});return(0,N.jsxs)(N.Fragment,{children:[V,Q]})}},60067:function(e,l,n){"use strict";n.d(l,{l:function(){return r}});var r=function(e){return e.replace("dark ","")}},9723:function(e,l,n){"use strict";n.d(l,{jO:function(){return a}});var r=n(26851),s=n(57347),i=n(93346),a=function(e){return e.url===r.Sw.promo?"/".concat(e.url):e.url.includes(r.Sw.about)&&s.t.infoPageAboutView===i.Qm.landing?"/about":"/information/".concat(e.url)}},6631:function(e){e.exports={host:"dExV8e",contentBlock:"fMIwLs",appImage:"_148gvp",contrasted:"_8wx_eX",getLink:"cguFFn",close:"_4mdbQ3",content:"_66rMsd",desktopHost:"e-uMgl",logoA
1ndName:"_30tkkw"}},501:function(e){e.exports={host:"_7m5tIR",topRow:"duLRw0",apps:"dzt3y3",phone:"_25DIus",phoneRow:"d0wpTD",phoneLabel:"_6skegI",h3:"_4AWWrg",email:"fsjQo6",pages:"_7iDR0I",socials:"_8B2nZG",social:"DwX2d7",addresses:"_2IgLGj",restaurantInfo:"_8qBEq3",desktopHost:"ciCJzR",bottomRow:"fc7aaf"}}}]);

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.