1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{y as t}from"./initial_state-DnZ5UeDQ.js";import{t as n}from"./debounce-CXuT-gkt.js";import{l as r,m as i}from"./typed_functions-Whap35TF.js";import{l as a,n as o,t as s}from"./immutable.es-tL0E-S7u.js";import{An as c,Cn as l,Tn as u}from"./filters-B_-6iXPk.js";import{t as d}from"./status_list-DlQJtqos.js";a();var f=e(n()),p=(e=!1)=>i([(e,{type:t})=>e.getIn([`settings`,t],o()),(t,{type:n,maxItems:r})=>{let i=t.getIn([`timelines`,n,e?`pendingItems`:`items`],s());return r?i.take(r):i},e=>e.get(`statuses`)],(e,n,r)=>n.filter(n=>{if(c(n))return!0;let i=r.get(n);return i.get(`account`)===t||!(e.getIn([`shows`,`reblog`])===!1&&i.get(`reblog`)!==null||e.getIn([`shows`,`reply`])===!1&&i.get(`in_reply_to_id`)!==null&&i.get(`in_reply_to_account_id`)!==t||e.getIn([`shows`,`quote`])===!1&&i.get(`quote`)!==null)})),m=r(()=>{let e=p(),t=p(!0);return(n,{timelineId:r,initialLoadingState:i=!0,maxItems:a})=>({statusIds:e(n,{type:r,maxItems:a}),lastId:n.getIn([`timelines`,r,`items`])?.findLast(e=>!c(e)),isLoading:n.getIn([`timelines`,r,`isLoading`],i),isPartial:n.getIn([`timelines`,r,`isPartial`],!1),hasMore:n.getIn([`timelines`,r,`hasMore`]),numPending:t(n,{type:r}).size})},(e,{timelineId:t})=>({onScrollToTop:(0,f.default)(()=>{e(u(t,!0))},100),onScroll:(0,f.default)(()=>{e(u(t,!1))},100),onLoadPending:()=>e(l(t))}))(d);export{m as t}; 2//# sourceMappingURL=status_list_container-BzPEqqqJ.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.