PageSourceSearch

https://prom.ua/cloud-cgi/static/catalog-ui/js/build/portal-portable/2370_7564dcbdb7116de94fe1.js

js prom.ua collected 2026-09-24 08:40:30 UTC 9,331 bytes, 1 lines download raw bytes

1"use strict";(self["__LOADABLE_LOADED_CHUNKS__"]=self["__LOADABLE_LOADED_CHUNKS__"]||[]).push([[2370],{38851:function(e,r,t){t.r(r),t.d(r,{OverlayFreeDeliveryContent:function(){return N}});var n=t(94499),i=t(53459),l=t(96339),o=t(94732),a=t(91819),s=t(40023),c=t(2258),d=t(52596),u=t(29049),m=t(99129),h=t.n(m),x=t(60192),f=t(47678),v=t(92340),y=t(51518),g=t(96147);function b(e,r){return w(e)||D(e,r)||_(e,r)||j()}function j(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(e,r){if(e){if("string"==typeof e)return p(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?p(e,r):void 0}}function p(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function D(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,i,l,o,a=[],s=!0,c=!1;try{if(l=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=l.call(t)).done)&&(a.push(n.value),a.length!==r);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=t["return"]&&(o=t["return"](),Object(o)!==o))return}finally{if(c)throw i}}return a}}function w(e){if(Array.isArray(e))return e}var A={width:20,height:20},I={width:16,height:16};function O(e){var r=b(e.split(".").map(Number),3),t=r[0],n=r[1],i=r[2];return new Date(i,n-1,t)}function L(e){return e.map(function(e){var r=e.length,t="ALL_PLATFORMS"===e[0].platform?"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e":"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438",n=e[0].expiresAt;return{countDate:"".concat(r," \u0434\u043e ").concat(n),platform:t}})}function S(e){var r=new Map;return e.forEach(function(e){var t,n="".concat(e.expiresAt,"-").concat(e.platform);r.has(n)||r.set(n,[]),null===(t=r.get(n))||void 0===t||t.push(e)}),L(Array.from(r.values()).map(function(e){return e.sort(function(e,r){return O(e.expiresAt).getTime()-O(r.expiresAt).getTime()})}))}function T(e){return e.length?{isOnlyNewFreeDelivery:e.every(function(e){return e.isNewFreeDelivery}),isOnlyLegacyFreeDelivery:e.every(function(e){return!e.isNewFreeDelivery})}:{isOnlyNewFreeDelivery:!1,isOnlyLegacyFreeDelivery:!1}}var B=function(e){var r,t=(0,n.c)(63),m=e.freeDeliveries,f=e.onClose,b=e.mobileBuyerToken;t[0]===Symbol["for"]("react.memo_cache_sentinel")?(r="\u0412\u0430\u0443, \u0442\u0435\u0431\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430",t[0]=r):r=t[0];var j,_,p=r;t[1]===Symbol["for"]("react.memo_cache_sentinel")?(j=[],t[1]=j):j=t[1],(0,i.useEffect)(C,j),t[2]!==m.freeDeliveries?(_=m.freeDeliveries.filter(G),t[2]=m.freeDeliveries,t[3]=_):_=t[3];var D,w,O,L,B,N,q,U,M,P,z,H,K,J,R,Y,$,Q,V,W,X,Z,ee=_.length,re="https://jave.adj.st?adj_t=w1vq3us&adj_campaign=overlay_after_login&adj_adgroup=free_delivery&token=".concat(b);if(t[4]!==m.freeDeliveries||t[5]!==f){var te,ne=S(m.freeDeliveries.filter(k));t[18]!==m.freeDeliveries?(te=T(m.freeDeliveries),t[18]=m.freeDeliveries,t[19]=te):te=t[19];var ie,le,oe,ae,se=te;O=se.isOnlyNewFreeDelivery,w=se.isOnlyLegacyFreeDelivery,t[20]!==f?(N=(0,g.jsx)(y.e,{title:p,onClose:f}),t[20]=f,t[21]=N):N=t[21],D=l.Box,q="black-400",U="m",M="m",P="delivery_type",z="xl",H="xs",t[22]===Symbol["for"]("react.memo_cache_sentinel")?(ie=(0,g.jsx)(o.Grid.Item,{children:(0,g.jsx)(s.Image,{"image-display":"block",width:20,height:20,alt:"\u041d\u043e\u0432\u0430\u044f \u041f\u043e\u0447\u0442\u0430",src:h()})}),t[22]=ie):ie=t[22],t[23]===Symbol["for"]("react.memo_cache_sentinel")?(le=(0,g.jsx)(o.Grid.Item,{"grid-item-width":"expand",children:(0,g.jsx)(u.Text,{"text-size":"h5",children:"\u041d\u043e\u0432\u0430\u044f \u041f\u043e\u0447\u0442\u0430"})}),t[23]=le):le=t[23],t[24]!==w?(oe=!w&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(a.Icon,{"icon-as":v.f,style:I}),"\xa0"]}),t[24]=w,t[25]=oe):oe=t[25],t[26]!==w?(ae=w?"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e":"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0434\u043b\u044f \u0442\u0435\u0431\u044f",t[26]=w,t[27]=ae):ae=t[27],t[28]!==oe||t[29]!==ae?(L=(0,g.jsxs)(o.Grid,{"grid-valign":"middle","grid-indent-x":"s",children:[ie,le,(0,g.jsx)(o.Grid.Item,{children:(0,g.jsxs)(c.J,{"label-theme":"green-50","data-qaid":"free_label",children:[oe,ae]})})]}),t[28]=oe,t[29]=ae,t[30]=L):L=t[30],B=ne.length>0&&(0,g.jsxs)(l.Box,{"box-margin-top":"m",children:[(0,g.jsx)(l.Box,{"box-margin-bottom":"xs",children:(0,g.jsx)(u.Text,{"text-weight":"bold",children:"\u0422\u0432\u043e\u0438 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438:"})}),ne.map(F)]}),t[4]=m.freeDeliveries,t[5]=f,t[6]=D,t[7]=w,t[8]=O,t[9]=L,t[10]=B,t[11]=N,t[12]=q,t[13]=U,t[14]=M,t[15]=P,t[16]=z,t[17]=H}else D=t[6],w=t[7],O=t[8],L=t[9],B=t[10],N=t[11],q=t[12],U=t[13],M=t[14],P=t[15],z=t[16],H=t[17];return t[31]!==D||t[32]!==L||t[33]!==B||t[34]!==q||t[35]!==U||t[36]!==M||t[37]!==P||t[38]!==z||t[39]!==H?(K=(0,g.jsxs)(D,{"box-border":q,"box-round":U,"box-padding":M,"data-qaid":P,"box-margin-top":z,"box-margin-bottom":H,children:[L,B]}),t[31]=D,t[32]=L,t[33]=B,t[34]=q,t[35]=U,t[36]=M,t[37]=P,t[38]=z,t[39]=H,t[40]=K):K=t[40],t[41]===Symbol["for"]("react.memo_cache_sentinel")?(J=(0,g.jsx)(o.Grid.Item,{children:(0,g.jsx)(u.Text,{children:"\u0412\u044b\u0431\u0438\u0440\u0430\u0439 \u0442\u043e\u0432\u0430\u0440\u044b \u0441 \u043f\u043e\u043c\u0435\u0442\u043a\u043e\u0439"})}),t[41]=J):J=t[41],t[42]===Symbol["for"]("react.memo_cache_sentinel")?(R=(0,g.jsx)(d.List.Item,{children:(0,g.jsxs)(o.Grid,{"grid-indent-x":"s","grid-valign":"middle","grid-wrap":"nowrap",children:[J,(0,g.jsx)(o.Grid.Item,{children:(0,g.jsx)(a.Icon,{"icon-as":v.f,style:A})})]})}),t[42]=R):R=t[42],t[43]!==w?(Y=w?(0,g.jsx)(d.List.Item,{children:"\u041d\u0430 \u0437\u0430\u043a\u0430\u0437\u044b \u0441 \u041f\u0440\u043e\u043c-\u043e\u043f\u043b\u0430\u0442\u043e\u0439"}):null,t[43]=w,t[44]=Y):Y=t[44],t[45]!==w||t[46]!==O?($=!O&&!w&&(0,g.jsx)(d.List.Item,{children:"\u041e\u043f\u043b\u0430\u0447\u0438\u0432\u0430\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e \u041f\u0440\u043e\u043c-\u043e\u043f\u043b\u0430\u0442\u043e\u0439 \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c"}),t[45]=w,t[46]=O,t[47]=$):$=t[47],t[48]!==Y||t[49]!==$?(Q=(0,g.jsx)(l.Box,{"box-margin-top":"m",children:(0,g.jsxs)(d.List,{"list-indent":"m","list-style":"disc",children:[R,Y,$]})}),t[48]=Y,t[49]=$,t[50]=Q):Q=t[50],t[51]!==ee||t[52]!==re?(V=!!ee&&(0,g.jsx)(l.Box,{"box-margin-top":"m",children:(0,g.jsx)(x.Button,{"button-as":"a","button-theme":"violet","button-width":"1-1",href:re,onClick:E,children:"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435"})}),t[51]=ee,t[52]=re,t[53]=V):V=t[53],t[54]===Symbol["for"]("react.memo_cache_sentinel")?(W="\u041f\u043e\u043d\u044f\u0442\u043d\u043e",t[54]=W):W=t[54],t[55]!==f?(X=(0,g.jsx)(l.Box,{"box-margin-top":"m",children:(0,g.jsx)(x.Button,{"button-theme":"violet-second","button-width":"1-1",onClick:f,children:W})}),t[55]=f,t[56]=X):X=t[56],t[57]!==N||t[58]!==K||t[59]!==Q||t[60]!==V||t[61]!==X?(Z=(0,g.jsxs)(g.Fragment,{children:[N,K,Q,
1V,X]}),t[57]=N,t[58]=K,t[59]=Q,t[60]=V,t[61]=X,t[62]=Z):Z=t[62],Z};function C(){(0,f.u4)("free_delivery_banner","view")}function G(e){var r=e.status,t=e.platform;return"UP_TO_DATE"===r&&"MOBILE_ONLY"===t}function k(e){return"UP_TO_DATE"===e.status}function F(e){var r=e.countDate,t=e.platform;return(0,g.jsxs)(o.Grid,{"grid-indent-y":"s",children:[(0,g.jsx)(o.Grid.Item,{"grid-item-width":"expand",children:(0,g.jsx)(u.Text,{children:r})}),(0,g.jsx)(o.Grid.Item,{children:(0,g.jsx)(u.Text,{"text-color":"green-700","text-align":"right",children:t})})]},r)}function E(){(0,f.u4)("free_delivery_banner","click")}var N=function(e){var r,t=(0,n.c)(4),i=e.data,l=e.onCloseOverlay,o=i.context,a=i.freeDeliveries,s=o.mobileBuyerToken;return t[0]!==a||t[1]!==s||t[2]!==l?(r=(0,g.jsx)(B,{freeDeliveries:a,onClose:l,mobileBuyerToken:s}),t[0]=a,t[1]=s,t[2]=l,t[3]=r):r=t[3],r}},51518:function(e,r,t){t.d(r,{e:function(){return m}});var n=t(94499),i=t(96339),l=t(94732),o=t(29049),a=t(91819),s=t(60192),c=t(2669),d=t(96147),u={width:24,height:24},m=function(e){var r,t,m,h,x=(0,n.c)(8),f=e.title,v=e.onClose;return x[0]!==f?(r=(0,d.jsx)(l.Grid.Item,{"grid-item-width":"expand",children:(0,d.jsx)(o.Text,{"text-size":"h3","text-weight":"medium","text-align":"center","data-qaid":"title",children:f})}),x[0]=f,x[1]=r):r=x[1],x[2]===Symbol["for"]("react.memo_cache_sentinel")?(t=(0,d.jsx)(a.Icon,{"icon-color":"black-900","icon-as":c.SvgClose,style:u}),x[2]=t):t=x[2],x[3]!==v?(m=(0,d.jsx)(l.Grid.Item,{children:(0,d.jsx)(s.Button,{"button-theme":"white-inherit","button-padding":"xxs",onClick:v,"data-qaid":"back_btn",children:t})}),x[3]=v,x[4]=m):m=x[4],x[5]!==r||x[6]!==m?(h=(0,d.jsx)(i.Box,{"box-margin-top":"m",children:(0,d.jsxs)(l.Grid,{"grid-wrap":"nowrap","grid-indent-x":"s",children:[r,m]})}),x[5]=r,x[6]=m,x[7]=h):h=x[7],h}}}]);

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.