PageSourceSearch

https://atomicpoet.org/packs/js/features/remote_timeline-e65494baba8bf89870b8.chunk.js

js atomicpoet.org collected 2026-10-04 02:44:06 UTC 3,012 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkmangane_fe=self.webpackChunkmangane_fe||[]).push([[64],{1158:function(e,n,t){t.r(n);var i=t(1855),o=t(0),a=t(1841),r=t(1842),s=t(1871),u=t(48),c=t(25),d=t(27),l=t(3),f=t(60),m=t(93),h=t(525),p=(0,a.vU)({title:{id:"remote_timeline.filter_message",defaultMessage:"You are viewing the timeline of {instance}."}});n.default=function(e){var n=e.params,t=(0,r.Z)(),a=(0,l.TL)(),v=null==n?void 0:n.instance,g=(0,l.rV)(),Z=(0,o.useRef)(null),_="remote",M=!!g.getIn(["remote","other","onlyMedia"]),T=function(){Z.current&&Z.current()};return(0,o.useEffect)((function(){if(T(),a((0,c.aT)(v,{onlyMedia:M,maxId:void 0})),!(0,f.tq)(window.innerWidth))return Z.current=a((0,u.$O)(v,{onlyMedia:M})),function(){T(),Z.current=null}}),[M]),(0,i.Z)("div",{className:"pt-3"},void 0,(0,i.Z)(d.Z,{label:v,heading:t.formatMessage(p.title,{instance:v}),transparent:!0,withHeader:!1},void 0,v&&(0,i.Z)(h.Z,{host:v}),(0,i.Z)(m.Z,{scrollKey:"".concat(_,"_").concat(v,"_timeline"),timelineId:"".concat(_).concat(M?":media":"",":").concat(v),onLoadMore:function(e){a((0,c.aT)(v,{maxId:e,onlyMedia:M}))},emptyMessage:(0,i.Z)(s.Z,{id:"empty_column.remote",defaultMessage:"There is nothing here! Manually follow users from {instance} to fill it up.",values:{instance:v}}),divideType:"space"})))}},1210:function(e,n,t){t.r(n),t.d(n,{default:function(){return f}});var i=t(1855),o=(t(7),t(1841)),a=t(1842),r=t(16),s=function(e){return(0,r.Gw)(e).getIn(["remote_timeline","pinnedHosts"])},u=t(2),c=t(3),d=(0,t(9).Go)(),l=(0,o.vU)({pinHost:{id:"remote_instance.pin_host",defaultMessage:"Pin {host}"},unpinHost:{id:"remote_instance.unpin_host",defaultMessage:"Unpin {host}"}}),f=function(e){var n=e.host,o=(0,a.Z)(),f=(0,c.TL)(),m=(0,c.rV)(),h=(0,c.CG)((function(e){return d(e,n)})),p=m.getIn(["remote_timeline","pinnedHosts"]).includes(n);return h?(0,i.Z)(u.$L,{title:h.get("host"),onActionClick:function(){f(p?function(e){return function(n,t){var i=t(),o=s(i);return n((0,r.oz)(["remote_timeline","pinnedHosts"],o.remove(e)))}}(n):function(e){return function(n,t){var i=t(),o=s(i);return n((0,r.oz)(["remote_timeline","pinnedHosts"],o.add(e)))}}(n))},actionIcon:t(p?553:554),actionTitle:o.formatMessage(p?l.unpinHost:l.pinHost,{host:n})}):null}},994:function(e,n,t){t.r(n);var i=t(1855),o=t(1841),a=t(1842),r=t(1871),s=t(1857),u=t(2),c=t(134),d=t(940),l=t(3),f=(0,t(9).Go)(),m=(0,o.vU)({editFederation:{id:"remote_instance.edit_federation",defaultMessage:"Edit federation"}});n.default=function(e){var n=e.host,o=(0,a.Z)(),h=(0,l.TL)(),p=(0,l.Tr)(),v=(0,l.CG)((function(e){return f(e,n)})),g=[{text:o.formatMessage(m.editFederation),action:function(){h((0,s.h7)("EDIT_FEDERATION",{host:n}))},icon:t(534)}];return(0,i.Z)(u.$L,{title:(0,i.Z)(r.Z,{id:"remote_instance.federation_panel.heading",defaultMessage:"Federation Restrictions"}),action:null!=p&&p.admin?(0,i.Z)(c.Z,{items:g,src:t(286)}):void 0},void 0,(0,i.Z)(d.Z,{remoteInstance:v}))}}}]);
2//# sourceMappingURL=remote_timeline-e65494baba8bf89870b8.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.