Update Alpine install guide (#49)
[akkoma] / priv / static / packs / flavours / glitch / async / account_timeline.js
index 7c33d6c9c7998739564ed789f982070589ed75e4..80863af8da3ddd3ef25b1f3bf0bbfa833e20c567 100644 (file)
@@ -1,2 +1,2 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[44],{657:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return S});var s,i,c,o=a(0),n=a(3),p=a(7),r=a(1),d=a(2),u=a.n(d),h=a(24),l=a(27),b=a.n(l),m=a(5),j=a.n(m),O=a(22),I=a(34),f=a(896),w=a(271),R=a(624),g=a(908),L=a(912),M=a(4),v=a(25),y=a(6),k=a(264),S=Object(h.connect)(function(t,e){var a=e.params.accountId,s=e.withReplies,i=void 0!==s&&s,c=i?a+":with_replies":a;return{statusIds:t.getIn(["timelines","account:"+c,"items"],Object(M.List)()),featuredStatusIds:i?Object(M.List)():t.getIn(["timelines","account:"+a+":pinned","items"],Object(M.List)()),isLoading:t.getIn(["timelines","account:"+c,"isLoading"]),hasMore:t.getIn(["timelines","account:"+c,"hasMore"])}})((c=i=function(i){function t(){for(var e,t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return e=i.call.apply(i,[this].concat(a))||this,Object(r.a)(Object(n.a)(e),"handleHeaderClick",function(){e.column.scrollTop()}),Object(r.a)(Object(n.a)(e),"handleLoadMore",function(t){e.props.dispatch(Object(I.p)(e.props.params.accountId,{maxId:t,withReplies:e.props.withReplies}))}),Object(r.a)(Object(n.a)(e),"setRef",function(t){e.column=t}),e}Object(p.a)(t,i);var e=t.prototype;return e.componentWillMount=function(){var t=this.props,e=t.params.accountId,a=t.withReplies;this.props.dispatch(Object(O.F)(e)),this.props.dispatch(Object(k.d)(e)),a||this.props.dispatch(Object(I.n)(e)),this.props.dispatch(Object(I.p)(e,{withReplies:a}))},e.componentWillReceiveProps=function(t){(t.params.accountId!==this.props.params.accountId&&t.params.accountId||t.withReplies!==this.props.withReplies)&&(this.props.dispatch(Object(O.F)(t.params.accountId)),this.props.dispatch(Object(k.d)(t.params.accountId)),t.withReplies||this.props.dispatch(Object(I.n)(t.params.accountId)),this.props.dispatch(Object(I.p)(t.params.accountId,{withReplies:t.params.withReplies})))},e.render=function(){var t=this.props,e=t.statusIds,a=t.featuredStatusIds,s=t.isLoading,i=t.hasMore;return!e&&s?Object(o.a)(R.a,{},void 0,Object(o.a)(w.a,{})):u.a.createElement(R.a,{ref:this.setRef,name:"account"},Object(o.a)(g.a,{onClick:this.handleHeaderClick}),Object(o.a)(f.a,{prepend:Object(o.a)(L.a,{accountId:this.props.params.accountId}),alwaysPrepend:!0,scrollKey:"account_timeline",statusIds:e,featuredStatusIds:a,isLoading:s,hasMore:i,onLoadMore:this.handleLoadMore,emptyMessage:Object(o.a)(y.b,{id:"empty_column.account_timeline",defaultMessage:"No toots here!"})}))},t}(v.a),Object(r.a)(i,"propTypes",{params:j.a.object.isRequired,dispatch:j.a.func.isRequired,statusIds:b.a.list,featuredStatusIds:b.a.list,isLoading:j.a.bool,hasMore:j.a.bool,withReplies:j.a.bool}),s=c))||s}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[51],{795:function(t,e,a){"use strict";a.r(e),a.d(e,"default",(function(){return A}));var s,c,i,o=a(0),n=a(2),p=(a(9),a(6),a(8)),r=a(1),u=a(3),d=a.n(u),l=a(15),h=a(16),m=a.n(h),b=a(5),j=a.n(b),O=a(24),I=a(34),f=a(1064),w=a(305),R=a(756),g=a(1079),v=a(1083),L=a(1153),M=a(4),y=a(21),C=a(7),k=a(290),q=a(1056);var A=Object(l.connect)((function(t,e){var a=e.params.accountId,s=e.withReplies,c=void 0!==s&&s,i=c?a+":with_replies":a;return{isAccount:!!t.getIn(["accounts",a]),statusIds:t.getIn(["timelines","account:"+i,"items"],Object(M.List)()),featuredStatusIds:c?Object(M.List)():t.getIn(["timelines","account:"+a+":pinned","items"],Object(M.List)()),isLoading:t.getIn(["timelines","account:"+i,"isLoading"]),hasMore:t.getIn(["timelines","account:"+i,"hasMore"])}}))((i=c=function(t){Object(p.a)(a,t);var e;e=a;function a(){for(var e,a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];return e=t.call.apply(t,[this].concat(s))||this,Object(r.a)(Object(n.a)(e),"handleHeaderClick",(function(){e.column.scrollTop()})),Object(r.a)(Object(n.a)(e),"handleLoadMore",(function(t){e.props.dispatch(Object(I.q)(e.props.params.accountId,{maxId:t,withReplies:e.props.withReplies}))})),Object(r.a)(Object(n.a)(e),"setRef",(function(t){e.column=t})),e}var s=a.prototype;return s.componentWillMount=function(){var t=this.props,e=t.params.accountId,a=t.withReplies;this.props.dispatch(Object(O.F)(e)),this.props.dispatch(Object(k.d)(e)),a||this.props.dispatch(Object(I.o)(e)),this.props.dispatch(Object(I.q)(e,{withReplies:a}))},s.componentWillReceiveProps=function(t){(t.params.accountId!==this.props.params.accountId&&t.params.accountId||t.withReplies!==this.props.withReplies)&&(this.props.dispatch(Object(O.F)(t.params.accountId)),this.props.dispatch(Object(k.d)(t.params.accountId)),t.withReplies||this.props.dispatch(Object(I.o)(t.params.accountId)),this.props.dispatch(Object(I.q)(t.params.accountId,{withReplies:t.params.withReplies})))},s.render=function(){var t=this.props,e=t.statusIds,a=t.featuredStatusIds,s=t.isLoading,c=t.hasMore,i=t.isAccount,n=t.multiColumn;return i?!e&&s?Object(o.a)(R.a,{},void 0,Object(o.a)(w.a,{})):d.a.createElement(R.a,{ref:this.setRef,name:"account"},Object(o.a)(g.a,{onClick:this.handleHeaderClick,multiColumn:n}),Object(o.a)(f.a,{prepend:Object(o.a)(v.a,{accountId:this.props.params.accountId}),alwaysPrepend:!0,scrollKey:"account_timeline",statusIds:e,featuredStatusIds:a,isLoading:s,hasMore:c,onLoadMore:this.handleLoadMore,emptyMessage:Object(o.a)(C.b,{id:"empty_column.account_timeline",defaultMessage:"No toots here!"}),bindToDocument:!n,timelineId:"account"})):Object(o.a)(R.a,{},void 0,Object(o.a)(L.a,{multiColumn:n}),Object(o.a)(q.a,{}))},a}(y.a),Object(r.a)(c,"propTypes",{params:j.a.object.isRequired,dispatch:j.a.func.isRequired,statusIds:m.a.list,featuredStatusIds:m.a.list,isLoading:j.a.bool,hasMore:j.a.bool,withReplies:j.a.bool,isAccount:j.a.bool,multiColumn:j.a.bool}),s=i))||s}}]);
 //# sourceMappingURL=account_timeline.js.map
\ No newline at end of file