PageSourceSearch

https://www.olx.pl/app/static/js/olxeuweb.chat.chat-context-wrapper.7a25333bd.chunk.js

js olx.pl collected 2026-10-01 09:08:38 UTC 2,829 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1501],{416386:(n,e,t)=>{t.r(e),t.d(e,{ChatListsContextWrapper:()=>f});var r=t(14254),u=t(729136),o=t.n(u),i=t(419942),s=t(948247),c=t(63589),a=t(402620),v=t(61412),d=(t(842401),t(65042),t(395026),t(388183),t(585109),t(762454),t(482230),t(916987),t(969446),t(969178),t(375429),t(643980),t(116870),t(544858),function(n,e,t){var u=!1,o=n.map(function(n){var o=e[t(n)];return void 0===o||"pending"===o||(0,v.D)(n.respondent)||n.respondent.isRemoved?n:(u=!0,(0,r.b)((0,r.b)({},n),{respondent:(0,r.b)((0,r.b)({},n.respondent),null===o?{isRemoved:!0}:(0,r.b)((0,r.b)({},o),{isRemoved:!1}))}))});return u?o:n}),f=function(n){var e=n.children,t=(0,a.Ie)().usersProvider,v=(0,u.useState)({}),f=v[0],l=v[1],b=(0,u.useState)({}),p=b[0],_=b[1],h=(0,s.El)(),C=(0,u.useCallback)(function(n){l(function(e){return(0,r.b)((0,r.b)({},e),n(e))})},[]),E=(0,u.useCallback)(function(){return(0,r._)(void 0,void 0,void 0,function(){var n;return(0,r.a)(this,function(e){switch(e.label){case 0:return[4,h()];case 1:return n=e.sent(),C(function(){return{counters:n}}),[2]}})})},[h,C]);(0,c.ru)(null,null,function(n){C(function(e){var t=e.events;return{events:(0,r.e)((0,r.e)([],null!=t?t:[],!0),[n],!1)}})}),(0,u.useEffect)(function(){(0,r._)(void 0,void 0,void 0,function(){var n,e,u;return(0,r.a)(this,function(o){switch(o.label){case 0:return f.conversations?(i=f.conversations,s=Object.keys(p),c=function(n){return String(n.respondent.uuid)},a=i.reduce(function(n,e){var t=c(e);return n[t]=t,n},{}
1),s.forEach(function(n){return delete a[n]}),(n=Object.keys(a)).length?(_(function(e){return(0,r.b)((0,r.b)({},e),n.reduce(function(n,e){return n[e]="pending",n},{}))}),[4,t.apply(void 0,n)]):(C(function(n){var e=n.conversations;return{conversations:e&&d(e,p,function(n){return String(n.respondent.uuid)})}}),[2])):[2];case 1:return e=o.sent(),u=e.reduce(function(n,e){return n[String(e.uuid)]=e,n},{}),n.forEach(function(n){u[n]||(u[n]=null)}),_(function(n){return(0,r.b)((0,r.b)({},n),u)}),C(function(n){var e=n.conversations;return{conversations:e&&d(e,u,function(n){return String(n.respondent.uuid)})}}),[2]}var i,s,c,a})})},[f.conversations]);var S=(0,u.useCallback)(function(){C(function(){return{conversations:void 0,listType:void 0}})},[C]),g=(0,u.useCallback)(function(n){C(function(e){var t=n(e.conversations);return{conversations:d(t||[],p,function(n){return String(n.respondent.uuid)})}})},[p,C]),D=(0,u.useMemo)(function(){return{state:f,actions:{fetchCounters:E,resetConversations:S,updateState:C,updateConversations:g}}},[f,E,S,C,g]);return o().createElement(i.EX.Provider,{value:D},e)}},61412:(n,e,t)=>{t.d(e,{D:()=>r});var r=function(n){return void 0!==n.isOnline}}}]);
2//# sourceMappingURL=olxeuweb.chat.chat-context-wrapper.7a25333bd.chunk.js.map

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.