PageSourceSearch

https://itle-bistro.ru/_next/static/chunks/pages/order-status/[orderId]-3b0eb6259f5c8715.js

js itle-bistro.ru collected 2026-10-07 22:31:34 UTC 15,670 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[965],{10044:e=>{e.exports={top:"OrderStatus_top__HK1CZ",topContent:"OrderStatus_topContent__icitV",heroImg:"OrderStatus_heroImg__5UoQC",hero:"OrderStatus_hero__S6gHo",heroText:"OrderStatus_heroText__LFm_2",heroMainText:"OrderStatus_heroMainText__JQpmn",heroTitle:"OrderStatus_heroTitle__yC4Uf",heroSubtitle:"OrderStatus_heroSubtitle__Xr8AK",address:"OrderStatus_address__RGOHV",addressTerm:"OrderStatus_addressTerm__AjTpY",addressDef:"OrderStatus_addressDef__FhG__",noteDef:"OrderStatus_noteDef__UXNdo",cancelIcon:"OrderStatus_cancelIcon__MsNWb",cancelButton:"OrderStatus_cancelButton___CcH2",phoneSection:"OrderStatus_phoneSection__j30TU",phoneSectionText:"OrderStatus_phoneSectionText__uLP74",phoneSectionIcon:"OrderStatus_phoneSectionIcon__Imt1L",phoneSectionPhone:"OrderStatus_phoneSectionPhone__pAwD6"}},32568:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/order-status/[orderId]",function(){return r(82404)}])},47920:(e,t)=>{"use strict";t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");var r={},i=e.length;if(i<2)return r;var n=t&&t.decode||d,s=0,a=0,u=0;do{if(-1===(a=e.indexOf("=",s)))break;if(-1===(u=e.indexOf(";",s)))u=i;else if(a>u){s=e.lastIndexOf(";",a-1)+1;continue}var h=c(e,s,a),p=l(e,a,h),m=e.slice(h,p);if(!o.call(r,m)){var f=c(e,a+1,u),_=l(e,u,f);34===e.charCodeAt(f)&&34===e.charCodeAt(_-1)&&(f++,_--);var v=e.slice(f,_);r[m]=function(e,t){try{return t(e)}catch(t){return e}}(v,n)}s=u+1}while(s<i);return r},t.serialize=function(e,t,o){var c=o&&o.encode||encodeURIComponent;if("function"!=typeof c)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var l=c(t);if(!n.test(l))throw TypeError("argument val is invalid");var d=e+"="+l;if(!o)return d;if(null!=o.maxAge){var u=Math.floor(o.maxAge);if(!isFinite(u))throw TypeError("option maxAge is invalid");d+="; Max-Age="+u}if(o.domain){if(!s.test(o.domain))throw TypeError("option domain is invalid");d+="; Domain="+o.domain}if(o.path){if(!a.test(o.path))throw TypeError("option path is invalid");d+="; Path="+o.path}if(o.expires){var h,p=o.expires;if(h=p,"[object Date]"!==r.call(h)||isNaN(p.valueOf()))throw TypeError("option expires is invali
1d");d+="; Expires="+p.toUTCString()}if(o.httpOnly&&(d+="; HttpOnly"),o.secure&&(d+="; Secure"),o.partitioned&&(d+="; Partitioned"),o.priority)switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":d+="; Priority=Low";break;case"medium":d+="; Priority=Medium";break;case"high":d+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":d+="; SameSite=Strict";break;case"lax":d+="; SameSite=Lax";break;case"none":d+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return d};var r=Object.prototype.toString,o=Object.prototype.hasOwnProperty,i=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,n=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,s=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,a=/^[\u0020-\u003A\u003D-\u007E]*$/;function c(e,t,r){do{var o=e.charCodeAt(t);if(32!==o&&9!==o)return t}while(++t<r);return r}function l(e,t,r){for(;t>r;){var o=e.charCodeAt(--t);if(32!==o&&9!==o)return t+1}return r}
1function d(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}},57162:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)0>t.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(r[o[i]]=e[o[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.hasCookie=t.deleteCookie=t.setCookie=t.getCookie=t.getCookies=void 0;var n=r(47920),s=function(){return"u">typeof window},a=function(e){return!!e&&"getAll"in e&&"set"in e&&"function"==typeof e.getAll&&"function"==typeof e.set},c=function(e){return!!(null==e?void 0:e.req)&&"cookies"in e.req&&a(null==e?void 0:e.req.cookies)||!!(null==e?void 0:e.res)&&"cookies"in e.res&&a(null==e?void 0:e.res.cookies)||!!(null==e?void 0:e.cookies)&&a(e.cookies())},l=function(e){var t={};return e.getAll().forEach(function(e){var r=e.name,o=e.value;t[r]=o}),t},d=function(e){try{if("string"==typeof e)return e;return JSON.stringify(e)}catch(t){return e}};t.getCookies=function(e){if(c(e)){if(null==e?void 0:e.req)return l(e.req.cookies);if(null==e?void 0:e.cookies)return l(e.cookies())}if(e&&(t=e.req),!s())return t&&t.cookies?t.cookies:t&&t.headers.cookie?(0,n.parse)(t.headers.cookie):{};for(var t,r={},o=document.cookie?document.cookie.split("; "):[],i=0,a=o.length;i<a;i++){var d=o[i].split("="),u=d.slice(1).join("=");r[d[0]]=u}return r},t.getCookie=function(e,r){var o=(0,t.getCookies)(r)[e];if(void 0!==o)return o?o.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent):o},t.setCookie=function(e,t,r){if(c(r)){var a,l,u,h=r.req,p=r.res,m=r.cookies,f=i(r,["req","res","cookies"]),_=o({name:e,value:d(t)},f);h&&h.cookies.set(_),p&&p.cookies.set(_),m&&m().set(_);return}if(r){var h=r.req,p=r.res,v=i(r,["req","res"]);l=h,u=p,a=v}var g=(0,n.serialize)(e,d(t),o({path:"/"},a));if(s())document.cookie=g;else if(u&&l){var x=u.getHeader("Set-Cookie");if(Array.isArray(x)||(x=x?[String(x)]:[]),u.setHeader("Set-Cookie",x.concat(g)),l&&l.cookies){var w=l.cookies;""===t?delete w[e]:w[e]=d(t)}if(l&&l.headers&&l.headers.cookie){var w=(0,n.parse)(l.headers.cookie);""===t?delete w[e]:w[e]=d(t),l.headers.cookie=Object.entries(w).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}},t.deleteCookie=function(e,r){return(0,t.setCookie)(e,"",o(o({},r),{maxAge:-1}))},t.hasCookie=function(e,r){return!!e&&(0,t.getCookies)(r).hasOwnProperty(e)}},82404:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>R,default:()=>D});var o,i,n,s,a,c=r(89142),l=r(94070),d=r(41629),u=r(9849),h=r.n(u),p=r(57669),m=r.n(p);r(10223),r(57162),r(6779);var f=r(65878);r(80348);var _=r(75875);r(24375);var v=r(24924),g=r(63759),x=r(22643),w=r(6756);r(38206);var y=r(48669),b=r(29200),j=r(19286),k=r.n(j),S=r(10044),O=r.n(S);function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(null,arguments)}let C=function(e){return l.createElement("svg",E({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o||(o=l.createElement("path",{d:"m18.953 13.65-2.012-1.648c-1.311-1.074-3.346-.972-4.542.224l-.08.08c-.2.2-.527.199-.725 0L7.707 8.42a.511.511 0 0 1 0-.723l-.011.01.01-.01c1.19-1.2 1.303-3.245.261-4.562L6.336 1.071C5.286-.255 3.463-.358 2.268.838l-.3.3C-.156 3.26-.656 7.089.937 9.635c0 0 .937 2.175 4.102 5.34 3.165 3.164 5.34 4.102 5.34 4.102 2.569 1.554 6.372 1.094 8.495-1.03l.286-.285c1.197-1.197 1.103-3.038-.207-4.111Zm-1.239 2.667-.285.285c-1.458 1.458-4.227 1.793-5.992.726l-.12-.073-.129-.055c-.158-.069-.554-.283-1.153-.685-1.064-.714-2.26-1.696-3.55-2.986-1.29-1.29-2.272-2.486-2.986-3.55-.402-.6-.617-.996-.685-1.154l-.062-.143-.082-.132c-1.073-1.714-.727-4.496.744-5.967l.3-.3c.332-.332.73-.31 1.018.056l1.632 2.063c.403.51.35 1.395-.114 1.86-.988.999-.983 2.609.011 3.603l3.888 3.888a2.559 2.559 0 0 0 3.616-.002l.08-.08c.453-.453 1.303-.495 1.8-.087l2.012 1.648c.376.308.398.744.057 1.085Z",fill:"currentColor"})))};function N(){return(N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(null,arguments)}let P=function(e){return l.createElement("svg",N({viewBox:"0 0 51 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=l.createElement("g",{clipPath:"url(#success-check_svg__a)",fill:"#6A893E"}
1,l.createElement("path",{d:"M25.5 0C11.429-.01.046 11.131-.003 24.965-.055 38.753 11.39 49.985 25.49 50c14.073 0 25.455-11.134 25.505-24.966C51.048 11.238 39.612.008 25.5 0Zm-.07 45.016C14.123 44.908 5.004 35.92 5.084 24.948c.078-11.07 9.251-20.017 20.453-19.969 11.303.056 20.51 9.134 20.382 20.095-.131 11.105-9.319 20.047-20.484 19.942h-.005Z"}),l.createElement("path",{d:"M15.435 24.281c.387-.016.773.05 1.13.195.358.144.68.363.944.64 1.026 1.012 2.073 2.005 3.077 3.034.319.322.478.335.81 0 4.016-3.961 8.044-7.915 12.083-11.86 1.07-1.046 2.488-1.166 3.55-.313.263.21.48.47.64.764a2.465 2.465 0 0 1-.308 2.793c-.284.325-.608.625-.917.922l-13.36 13.092c-1.412 1.383-2.787 1.381-4.197 0-1.69-1.659-3.397-3.3-5.066-4.979-1.423-1.432-.836-3.675 1.075-4.206a3.59 3.59 0 0 1 .54-.082Z"}))),n||(n=l.createElement("defs",null,l.createElement("clipPath",{id:"success-check_svg__a"},l.createElement("path",{fill:"#fff",d:"M0 0h51v50H0z"})))))};function T(){return(T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(null,arguments)}let A=function(e){return l.createElement("svg",T({width:50,height:50,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=l.createElement("g",{clipPath:"url(#times-circle_svg__a)",fill:"#9B3D30"},l.createElement("path",{d:"M24.975.002C11.113.072-.059 11.296 0 25.091c.06 13.724 11.348 24.968 25.005 24.91a25.035 25.035 0 0 0 23.143-15.56 25.016 25.016 0 0 0 1.86-9.616C49.952 11.164 38.63-.067 24.974.002Zm.113 45.453c-11.436-.04-20.601-9.187-20.534-20.506.066-11.32 9.256-20.435 20.552-20.387 11.32.048 20.39 9.25 20.345 20.64-.044 11.09-9.29 20.286-20.363 20.253Z"}),l.createElement("path",{d:"M31.89 34.058a2.455 2.455 0 0 1-1.838-.79c-1.563-1.575-3.144-3.133-4.697-4.717-.284-.284-.426-.284-.7 0a391.724 391.724 0 0 1-4.818 4.821c-1.3 1.272-3.356.763-3.836-.937-.249-.895.008-1.672.67-2.328 1.588-1.577 3.157-3.17 4.754-4.736.293-.284.307-.44 0-.736a373.727 373.727 0 0 1-4.786-4.778c-1.303-1.33-.722-3.425 1.053-3.85.87-.208 1.6.079 2.222.701 1.554 1.562 3.125 3.1 4.66 4.679.355.365.532.307.852-.02a491.334 491.334 0 0 1 4.701-4.712c.641-.637 1.408-.872 2.29-.612a2.158 2.158 0 0 1 1.58 1.705c.187.852-.096 1.562-.71 2.173-1.584 1.58-3.155 3.17-4.754 4.736-.284.284-.27.426.009.698 1.61 1.58 3.205 3.174 4.785 4.78 1.308 1.337.746 3.41-1.029 3.858a4.04 4.04 0 0 1-.408.065Z"}))),a||(a=l.createElement("defs",null,l.createElement("clipPath",{id:"times-circle_svg__a"},l.createElement("path",{fill:"#fff",d:"M0 0h50v50H0z"})))))},I=(0,d.PA)(({recommendedProducts:e})=>{let t=(0,p.useRouter)(),{localities:r}=(0,_.Pj)(),o=(0,_.iS)(),{orders:i}=(0,_.h)(t.query.orderId),n=(0,l.useMemo)(()=>{let e=t.query.orderId;return i?.find(t=>t.id===e)??null},[i,t.query.orderId]);if(null===n)return m().push(b.R.HOME),null;let s=null!==n?n.restaurant_id:null,a=s?(0,f.xg)(r,s):o,d=a?.support_phone_number??y.G.href,u=n.status===w.nq.CANCELED,j=u?"/images/order-canceled.svg":n.type===w.RA.DELIVERY?"/images/checkout-success.svg":"/images/order-pickup.svg";return(0,c.jsxs)(v.PE,{orderStep:w.xH.PROCESSING,recommendedProducts:e,title:"Ваш заказ оформлен в Бистро",children:[(0,c.jsx)(v.wn,{children:(0,c.jsx)("div",{className:O().top,children:(0,c.jsxs)("div",{className:O().topContent,children:[(0,c.jsxs)("div",{className:O().hero,children:[(0,c.jsxs)("div",{className:O().heroText,children:[!u&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:O().heroMainText,children:[(0,c.jsx)("div",{className:O().cancelIcon,children:(0,c.jsx)(P,{alt:"",height:50,width:50})}),(0,c.jsx)(v.o5,{className:O().heroTitle,color:"black",weight:"bold",children:n.type===w.RA.DELIVERY?"Спасибо! Собираем заказ и вылетаем!":"Ваш заказ принят!"})]}),(0,c.jsx)(v.o5,{className:O().heroSubtitle,color:"black",weight:"bold",children:n.type===w.RA.DELIVERY?null!==n.scheduled_time&&n.scheduled_time.length?"Мы привезём вам нашу вкусную еду.":"Совсем скоро мы привезём вам нашу вкусную еду.":null!==n.scheduled_time&&n.scheduled_time.length?"Ваш заказ будет готов к выдаче: "+(0,f.wm)(new Date(n.scheduled_time))+" в "+(0,f.Sr)(new Date(n.scheduled_time)):"Ваш заказ будет готов к выдаче как можно скорее."})]}),u&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:O().heroMainText,children:[(0,c.jsx)("div",{className:O().cancelIcon,children:(0,c.jsx)(A,{alt:"",height:50,width:50})}
1),(0,c.jsx)(v.o5,{className:O().heroTitle,color:"black",weight:"bold",children:"Ваш заказ отменен."})]}),n.payment_method===w.EI.CARD_ONLINE&&(0,c.jsx)(v.o5,{className:O().heroSubtitle,color:"black",weight:"bold",children:"Вы отменили заказ. Деньги вернутся на карту."})]}),(0,c.jsxs)("div",{className:O().address,children:[(0,c.jsxs)("div",{children:[(0,c.jsx)(v.o5,{className:O().addressTerm,color:"black",weight:"bold",children:"Адрес:"}),n.type===w.RA.DELIVERY&&null!==n.address&&(0,c.jsx)(v.o5,{className:O().addressDef,color:"black",children:[n.address.locality,n.address.street,n.address.house].join(", ")}),n.type===w.RA.PICKUP&&(0,c.jsx)(v.o5,{className:O().addressDef,color:"black",children:n.restaurant.address})]}),n.type===w.RA.DELIVERY&&(0,c.jsxs)("div",{children:[(0,c.jsx)(v.o5,{className:O().addressTerm,color:"black",weight:"bold",children:"Время доставки:"}),(0,c.jsx)(v.o5,{className:O().addressDef,color:"black",children:null!==n.scheduled_time&&n.scheduled_time.length?(0,f.wm)(new Date(n.scheduled_time))+" в "+(0,f.Sr)(new Date(n.scheduled_time)):"Как можно скорее"})]}),n.customer_note&&(0,c.jsxs)("div",{children:[(0,c.jsx)(v.o5,{className:O().addressTerm,color:"black",weight:"bold",children:"Комментарий:"}),(0,c.jsx)(v.o5,{className:O().noteDef,color:"black",children:n.customer_note})]})]})]}),(0,c.jsx)("div",{className:O().heroImg,children:(0,c.jsx)(h(),{alt:"",className:O().heroImg,height:228,src:j,width:305})})]}),(0,c.jsxs)(v.wn,{title:"Есть вопросы?",children:[(0,c.jsxs)("div",{className:O().phoneSection,children:[(0,c.jsx)(v.o5,{className:O().phoneSectionText,color:"brown",children:"Звоните по телефону:"}),(0,c.jsxs)("a",{className:"d-flex align-items-center",href:"tel:+78435006035",children:[(0,c.jsx)(C,{className:O().phoneSectionIcon}),(0,c.jsx)(v.o5,{className:O().phoneSectionPhone,color:"secondary",weight:"bold",children:d})]})]}),(0,c.jsx)(v.o5,{className:O().phoneSectionText,color:"brown",children:"Сейчас мы не перезваниваем"})]})]})})}),null!==n.items&&(0,c.jsx)(v.wn,{bordered:!0,title:"Состав заказа",children:(0,c.jsx)("ul",{className:k().cardItemsList,children:n.items.map(e=>(0,c.jsx)(g.m,{item:e,summaryMode:!0},e.id))})}),(0,c.jsx)(v.wn,{className:O().totalsSection,children:(0,c.jsx)("div",{className:"container d-flex align-items-center px-md-0",children:(0,c.jsx)(x.R,{bonus_received:n?.bonus_received,bonus_used:n?.bonus_used,deliveryZone:n.delivery_zone,page:"result",promocode:n?.promocode,subtotalPrice:n.subtotal_price,totalPrice:n.total_price,productsCount:n.items?n.items.length:0})})})]})});b.R.HOME;let D=I;var R=!0}},e=>{e.O(0,[799,445,636,593,792],()=>e(e.s=32568)),_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.