PageSourceSearch

https://sushi-darom.com/_next/static/chunks/pages/[tenant]/[subdom…/DeliveryTime-e6edc399be62b140.js

js sushi-darom.com collected 2026-10-04 02:56:23 UTC 5,922 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4153f87e-8d7d-48cc-8c8d-2e78d98f7f92",e._sentryDebugIdIdentifier="sentry-dbid-4153f87e-8d7d-48cc-8c8d-2e78d98f7f92")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6038],{86183:function(e,t,n){"use strict";n.d(t,{D9:function(){return c},_n:function(){return l},b1:function(){return d},dc:function(){return f},dr:function(){return a}});var r=n(89426),u=n(74706);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let l="0000-00-00 00:00:00";function c(e,t){return o({city_id:e,date_preorder:t.datePreorder||l},t.isPriority?{is_priority:"0"}:{})}function a(e,t){var n,r;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o(o({city_id:e,comment:null!==(n=t.comment)&&void 0!==n?n:"",no_call:(0,u.AQ)(t.doNotCall),payment_method:t.paymentMethod,change_sum:(0,u.EK)(t.paymentMethod)&&null!==(r=t.changeSum)&&void 0!==r?r:""},void 0!==i.utmTags?{utm_tags:i.utmTags}:{}),i.isPriority?{is_priority:"0"}:{})}function d(e){var t;return{city_id:e.cityId,delivery_method:e.deliveryMethod,place_filial_id:null!==(t=e.placeFilialId)&&void 0!==t?t:"",date_preorder:e.datePreorder||l}}function f(e){var t;let n=null!==(t=e.comment)&&void 0!==t?t:"";return!e.addressText||e.addressFias||e.addressId||e.yaUri?n:"Требует уточнения: ".concat(e.addressText,"\n").concat(n)}},58032:function(e,t,n){"use strict";n.d(t,{Gm:function(){return p},Hm:function(){return s},Xq:function(){return y},al:function(){return o},kj:function(){return d},m3:function(){return h},mN:function(){return f},pA:function(){return _},xb:function(){return m},zT:function(){return b}});var r=n(86183),u=n(74706),i=n(40878);let o=7,l=e=>{if(!e&&"0"!==e)return null;let t=Number(e);return Number.isFinite(t)?t:null},c=e=>{let t=Math.abs(e)%100,n=t%10;return t>10&&t<20?"дней":n>1&&n<5?"дня":1===n?"день":"дней"},a=e=>{if("number"!=typeof e||e<=0)return null;let t=Math.floor(e);return"".concat(t," ").concat(c(t))},d=e=>{let t=a(e);return t?"При онлайн-оплате выбранная дата недоступна. Можно выбрать время не дальше чем за ".concat(t,"."):null},f=e=>{let t=a(e);return t?"При онлайн-оплате предзаказ можно оформить только на ближайшие ".concat(t,". Выбирайте доступные даты."):null};function s(e,t){let n=(null!=e?e:[]).find(e=>e.eng_name===t),r=l(null==n?void 0:n.max_preorder_days);return r&&r>0?r:null}function m(e){var t;return null!==(t=s(e,u.nc))&&void 0!==t?t:o}function y(e){let{currentUtc:t,timezone:n,limitDays:r}=e;if(!t||!n||!r||r<=0)return null;let u=(0,i.CC)(t,n);return(0,i.i8)(u.year,u.month,u.day,0,0,0,n)+864e5*r}let p=(e,t)=>{if(!e||e===r._n||!t)return null;let[n,u]=e.split(" ");if(!n||!u)return null;let[o,l,c]=n.split("-").map(e=>Number(e)),[a=0,d=0,f=0]=u.split(":").map(e=>Number(e));return[o,l,c].some(e=>Number.isNaN(e))?null:(0,i.i8)(o,l,c,a,d,f,t)},b=e=>{let{preorderDate:t,timezone:n,limitUtc:r}=e;if(!r)return!1;let u=p(t,n);return null!==u&&u>=r},h=e=>{let{options:t,timezone:n,limitUtc:u}=e;return u&&n?t.filter(e=>{if(!e.value||"0"===e.value||e.value===r._n)return!0;let t=p(e.value,n);return null!==t&&t<u}):t},_=e=>{let{options:t,limitUtc:n}=e;return n?t.filter(e=>{let t=Number(e.value);return!Number.isFinite(t)||t<n}):t}},40878:function(e,t,n){"use strict";n.d(t,{A$:function(){return f},CC:function(){return c},c6:function(){return u},i8:function(){return a},tF:function(){return d}});let r=e=>String(e).padStart(2,"0");function u(e,t){let n=null==e?void 0:e.trim();return n?n:(null==t?void 0:t.trim())||"Europe/Moscow"}let i=/^(?:UTC|GMT)?([+-])(\d{1,2}):?(\d{2})$/;function o(e){let t=i.exec(e.trim());return t?("-"===t[1]?-1:1)*(60*Number(t[2])+Number(t[3])):null}let l=new Map;function c(e,t){let n;let r=o(t);if(null!==r){let t=new Date(e+6e4*r);return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:t.getUTCHours(),minute:t.getUTCMinutes(),second:t.getUTCSeconds()}}let u=((n=l.get(t))||(n=new Intl.DateTimeFormat("en-GB",{timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}),l.set(t,n)),n).formatToParts(new Date(e)),i=e=>{var t,n;return Number(null!==(t=null===(n=u.find(t=>t.type===e))||void 0===n?void 0:n.value)&&void 0!==t?t:0)},c=i("hour");return 24===c&&(c=0),{year:i("year"),month:i("month"),day:i("day"),hour:c,minute:i("minute"),second:i("second")}}function a(e,t,n,r,u,i,l){let a=Date.UTC(e,t-1,n,r,u,i),d=o(l);if(null!==d)return a-6e4*d;let f=c(a,l);return a-(Date.UTC(f.year,f.month-1,f.day,f.hour,f.minute,f.second)-a)}function d(e,t){let n=c(e,t);return"".concat(r(n.hour),":").concat(r(n.minute))}function f(e,t){let n=c(e,t);return"".concat(n.year,"-").concat(r(n.month),"-").concat(r(n.day)," ").concat(r(n.hour),":").concat(r(n.minute),":").concat(r(n.second))}},24280:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[tenant]/[subdomain]/cart/order/u
1i/OrderInfo/DeliveryTime/DeliveryTime",function(){return n(47921)}])}},function(e){e.O(0,[7921,2888,9774,179],function(){return e(e.s=24280)}),_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.