1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2386],{22386:function(e,o,n){"use strict";n.r(o);var t=n(5447),r=n(99728),i=n(8014),l=n(24596),u=n.n(l),s=n(111),a=n(55531),c=n(72665),d=n(34105),v=n(64186),f=n(2291),h=n(45509),g=n(65682),p=n(40665),w=n(62590),m=n(56168),R=n(89963),N=n(17800),_=n(92717),H=n(58601),M=n.n(H),b=n(19278),I=n(31698),S=u().bind(M());o.default=(0,m.memo)((0,a.Z)((function(e){var o,n,l,u,a,H,M,Z,x,O=e.groupId,j=e.tabTitle,C=e.isGroupManager,F=(0,p.S)("common").t,T=(0,w.y)(),D=T.events,E=T.locale,q=(0,b.vv)(O,(0,_.QM)(j),void 0,null===E||void 0===E?void 0:E.toUpperCase()),A=q.data,Y=q.fetchNextPage,k=q.isFetching,P=q.isLoading,G=(0,R.e)().getPostsVM,Q=(0,g.t)({response:A,vmConverter:G}).viewModel,U=(0,b.hp)(O,(0,_.QM)(j),null===E||void 0===E?void 0:E.toUpperCase()).data,W=(0,g.t)({response:U,vmConverter:G}).viewModel,y=(0,N.Z)().cacheSlice,L=y.loadCacheData(),V=(0,m.useRef)(!1),z=(0,m.useRef)(null),B=(0,m.useRef)(0),J=(0,f.q)({init:Q||[],initRowsHeight:j===s.ZHq.INFORMATION?null===L||void 0===L||null===(o=L.tabs)||void 0===o||null===(n=o.information)||void 0===n?void 0:n.rowsHeight:void 0}),K=J.rows,X=J.cache,$=J.getRowHeight,ee=J.windowScroller,oe=J.updateWindowScrollerHandler,ne=J.getPosition,te=J.saveRowsHeight,re=J.clearRowHeight;(0,m.useEffect)((function(){P&&(V.current=!0)}),[P]),(0,m.useEffect)((function(){0===K.filter((function(e){return!e.isDeleted})).length&&(null===ee||void 0===ee||ee.updatePosition())}),[null===L||void 0===L?void 0:L.tabs,ee]),(0,m.useEffect)((function(){var e=function(){var e=$
1(),o=ne(),n=o.windowScroll,t=o.virtualScroll;y.saveCacheData({tabs:j===s.ZHq.INFORMATION?{information:{rowsHeight:e,scrollY:n,virtualScrollY:t,scrollDiffThreshold:B.current}}:void 0})};return D.on("routeChangeStart",e),function(){D.off("routeChangeStart",e)}}),[D]),(0,m.useEffect)((function(){var e=new IntersectionObserver((function(e){e.forEach((function(e){var o,n=e.isIntersecting;B.current=n&&(null===(o=z.current)||void 0===o?void 0:o.offsetHeight)||0}))}),{root:null,threshold:.5});return z.current&&e.observe(z.current),function(){z.current&&e.unobserve(z.current)}}),[z.current]);var ie=(0,m.useMemo)((function(){return null===W||void 0===W?void 0:W.map((function(e){return(0,i.jsx)("div",{className:S("ch_post_wrap"),children:(0,i.jsx)(h.default,{data:e,measure:function(){return null===ee||void 0===ee?void 0:ee.updatePosition()}})},e.id)}))}),[null===W||void 0===W?void 0:W.length]),le=(0,m.useRef)(new Set);return(0,i.jsx)(i.Fragment,{children:0===K.filter((function(e){return!e.isDeleted})).length?(0,i.jsx)(I.Z,{}):(0,i.jsxs)(i.Fragment,{children:[ie,(0,i.jsxs)("div",{className:S("ch_post_wrap"),children:[(0,i.jsx)(v.Z,{data:K,cache:X,loadMoreRows:function(){return Y()},onWindowScrollMounted:oe,className:"channel_feed_list",onRowRendered:te,clearRowHeight:re,scrollY:V.current?0:j===s.ZHq.INFORMATION?null===L||void 0===L||null===(l=L.tabs)||void 0===l||null===(u=l.information)||void 0===u?void 0:u.scrollY:0,virtualScrollY:V.current?0:j===s.ZHq.INFORMATION?null===L||void 0===L||null===(a=L.tabs)||void 0===a||null===(H=a.information)||void 0===H?void 0:H.virtualScrollY:0,scrollDiffThreshold:j===s.ZHq.INFORMATION&&(null===L||void 0===L||null===(M=L.tabs)||void 0===M||null===(Z=M.information)||void 0===Z?void 0:Z.scrollDiffThreshold)?null===(x=z.current)||void 0===x?void 0:x.offsetHeight:0,measuredRef:le,children:function(e){return(0,i.jsx)(h.default,(0,r.Z)((0,t.Z)({},e),{isGroupManager:C,measuredRef:le}))}}),k?(0,i.jsx)(d.Z,{}):(null===K||void 0===K?void 0:K.length)>0&&(0,i.jsx)(c.Z,{title:F("checkAllFeed"),ref:z})]})]})})})))},58601:function(e){e.exports={ch_post_wrap:"GroupFeed_ch_post_wrap__HNgNh"}}}]);
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.