Update Alpine install guide (#49)
[akkoma] / priv / static / packs / features / reblogs.js
index fcd19996906d13083be04c2c5b05e4c87d98ffcd..857ed6a60a650fc829fdb4c08f771423b18eefed 100644 (file)
@@ -1,2 +1,2 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{728:function(t,s,e){"use strict";e.r(s),e.d(s,"default",function(){return v});var a,o,n,r=e(0),c=e(7),u=e(1),i=(e(3),e(12)),p=e(19),d=e(5),l=e.n(d),b=e(18),h=e.n(b),m=e(294),f=e(66),j=e(6),O=e(966),I=e(663),w=e(666),y=e(964),v=Object(i.connect)(function(t,s){return{accountIds:t.getIn(["user_lists","reblogged_by",s.params.statusId])}})((n=o=function(t){function s(){return t.apply(this,arguments)||this}Object(c.a)(s,t);var e=s.prototype;return e.componentWillMount=function(){this.props.accountIds||this.props.dispatch(Object(f.m)(this.props.params.statusId))},e.componentWillReceiveProps=function(t){t.params.statusId!==this.props.params.statusId&&t.params.statusId&&this.props.dispatch(Object(f.m)(t.params.statusId))},e.render=function(){var t=this.props,s=t.shouldUpdateScroll,e=t.accountIds,a=t.multiColumn;if(!e)return Object(r.a)(I.a,{},void 0,Object(r.a)(m.a,{}));var o=Object(r.a)(j.b,{id:"status.reblogs.empty",defaultMessage:"No one has boosted this toot yet. When someone does, they will show up here."});return Object(r.a)(I.a,{},void 0,Object(r.a)(w.a,{multiColumn:a}),Object(r.a)(y.a,{scrollKey:"reblogs",shouldUpdateScroll:s,emptyMessage:o,bindToDocument:!a},void 0,e.map(function(t){return Object(r.a)(O.a,{id:t,withNote:!1},t)})))},s}(p.a),Object(u.a)(o,"propTypes",{params:l.a.object.isRequired,dispatch:l.a.func.isRequired,shouldUpdateScroll:l.a.func,accountIds:h.a.list,multiColumn:l.a.bool}),a=n))||a}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{822:function(t,e,a){"use strict";a.r(e),a.d(e,"default",(function(){return M}));var s,o,r,n=a(0),c=a(2),i=(a(9),a(6),a(8)),u=a(1),p=(a(3),a(15)),d=a(21),l=a(5),h=a.n(l),b=a(16),f=a.n(b),m=a(306),j=a(46),O=a(7),g=a(1053),v=a(757),I=a(1049),w=a(27),y=a(759);var R=Object(O.f)({refresh:{id:"refresh",defaultMessage:"Refresh"}}),M=Object(p.connect)((function(t,e){return{accountIds:t.getIn(["user_lists","reblogged_by",e.params.statusId])}}))(s=Object(O.g)((r=o=function(t){Object(i.a)(a,t);var e;e=a;function a(){for(var e,a=arguments.length,s=new Array(a),o=0;o<a;o++)s[o]=arguments[o];return e=t.call.apply(t,[this].concat(s))||this,Object(u.a)(Object(c.a)(e),"handleRefresh",(function(){e.props.dispatch(Object(j.r)(e.props.params.statusId))})),e}var s=a.prototype;return s.componentWillMount=function(){this.props.accountIds||this.props.dispatch(Object(j.r)(this.props.params.statusId))},s.componentWillReceiveProps=function(t){t.params.statusId!==this.props.params.statusId&&t.params.statusId&&this.props.dispatch(Object(j.r)(t.params.statusId))},s.render=function(){var t=this.props,e=t.intl,a=t.shouldUpdateScroll,s=t.accountIds,o=t.multiColumn;if(!s)return Object(n.a)(v.a,{},void 0,Object(n.a)(m.a,{}));var r=Object(n.a)(O.b,{id:"status.reblogs.empty",defaultMessage:"No one has boosted this toot yet. When someone does, they will show up here."});return(Object(n.a)(v.a,{bindToDocument:!o},void 0,Object(n.a)(y.a,{showBackButton:!0,multiColumn:o,extraButton:Object(n.a)("button",{className:"column-header__button",title:e.formatMessage(R.refresh),"aria-label":e.formatMessage(R.refresh),onClick:this.handleRefresh},void 0,Object(n.a)(w.a,{id:"refresh"}))}),Object(n.a)(I.a,{scrollKey:"reblogs",shouldUpdateScroll:a,emptyMessage:r,bindToDocument:!o},void 0,s.map((function(t){return Object(n.a)(g.a,{id:t,withNote:!1},t)})))))},a}(d.a),Object(u.a)(o,"propTypes",{params:h.a.object.isRequired,dispatch:h.a.func.isRequired,shouldUpdateScroll:h.a.func,accountIds:f.a.list,multiColumn:h.a.bool,intl:h.a.object.isRequired}),s=r))||s)||s}}]);
 //# sourceMappingURL=reblogs.js.map
\ No newline at end of file