Merge branch 'update-mastofe/glitch-soc-2019-06-26' into 'develop'
Update mastofe to bundle-2019-06-26 See merge request pleroma/pleroma!1341
This commit is contained in:
commit
cfb5be3ced
336 changed files with 350 additions and 335 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{824:function(e,t){window.addEventListener("message",function(e){var t=e.data||{};function n(){window.parent.postMessage({type:"setHeight",id:t.id,height:document.getElementsByTagName("html")[0].scrollHeight},"*")}window.parent&&"setHeight"===t.type&&(["interactive","complete"].includes(document.readyState)?n():document.addEventListener("DOMContentLoaded",n))})}},[[824,0]]]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{828:function(e,t){window.addEventListener("message",function(e){var t=e.data||{};function n(){window.parent.postMessage({type:"setHeight",id:t.id,height:document.getElementsByTagName("html")[0].scrollHeight},"*")}window.parent&&"setHeight"===t.type&&(["interactive","complete"].includes(document.readyState)?n():document.addEventListener("DOMContentLoaded",n))})}},[[828,0]]]);
|
||||
//# sourceMappingURL=embed.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{825:function(n,o,w){"use strict";w.r(o);w(826)},826:function(n,o,w){}},[[825,0]]]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{829:function(n,o,w){"use strict";w.r(o);w(830)},830:function(n,o,w){}},[[829,0]]]);
|
||||
//# sourceMappingURL=mailer.js.map
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{671:function(n,r,i){"use strict";i.r(r);var o=i(911);i.d(r,"Picker",function(){return o.a});var c=i(893);i.d(r,"Emoji",function(){return c.a})}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{672:function(n,r,i){"use strict";i.r(r);var o=i(915);i.d(r,"Picker",function(){return o.a});var c=i(899);i.d(r,"Emoji",function(){return c.a})}}]);
|
||||
//# sourceMappingURL=emoji_picker.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{711:function(a,e,t){"use strict";t.r(e);var r=t(0),n=t(3),o=t(7),s=t(1),c=(t(2),t(24)),i=t(27),l=t.n(i),d=t(5),p=t.n(d),u=t(26),b=t(35),h=t(272),m=t(625),O=t(628),j=t(25),f=t(199),v=t(378),g=t(23),I=t(30),y=function(c){function a(){for(var a,e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return a=c.call.apply(c,[this].concat(t))||this,Object(s.a)(Object(n.a)(a),"state",{visible:"hide_all"!==g.f&&!a.props.media.getIn(["status","sensitive"])||"show_all"===g.f}),Object(s.a)(Object(n.a)(a),"handleClick",function(){return!a.state.visible&&(a.setState({visible:!0}),!0)}),a}return Object(o.a)(a,c),a.prototype.render=function(){var a,e,t=this.props.media,o=this.state.visible,c=t.get("status"),n=100*(t.getIn(["meta","focus","x"])/2+.5),s=100*(t.getIn(["meta","focus","y"])/-2+.5),i={};return"gifv"===t.get("type")&&(a=Object(r.a)("span",{className:"media-gallery__gifv__label"},void 0,"GIF")),o?(i.backgroundImage="url("+t.get("preview_url")+")",i.backgroundPosition=n+"% "+s+"%"):e=Object(r.a)("span",{className:"account-gallery__item__icons"},void 0,Object(r.a)(I.a,{id:"eye-slash"})),Object(r.a)("div",{className:"account-gallery__item"},void 0,Object(r.a)(v.a,{to:"/statuses/"+c.get("id"),href:c.get("url"),style:i,onInterceptClick:this.handleClick},void 0,e,a))},a}(j.a);Object(s.a)(y,"propTypes",{media:l.a.map.isRequired});var _,L,M,w=t(913),S=t(426),k=t(981);t.d(e,"default",function(){return x});var T=function(c){function a(){for(var a,e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return a=c.call.apply(c,[this].concat(t))||this,Object(s.a)(Object(n.a)(a),"handleLoadMore",function(){a.props.onLoadMore(a.props.maxId)}),a}return Object(o.a)(a,c),a.prototype.render=function(){return Object(r.a)(k.a,{disabled:this.props.disabled,onClick:this.handleLoadMore})},a}(j.a);Object(s.a)(T,"propTypes",{shouldUpdateScroll:p.a.func,maxId:p.a.string,onLoadMore:p.a.func.isRequired});var x=Object(c.connect)(function(a,e){return{medias:Object(f.a)(a,e.params.accountId),isLoading:a.getIn(["timelines","account:"+e.params.accountId+":media","isLoading"]),hasMore:a.getIn(["timelines","account:"+e.params.accountId+":media","hasMore"])}})((M=L=function(c){function a(){for(var o,a=arguments.length,e=new Array(a),t=0;t<a;t++)e[t]=arguments[t];return o=c.call.apply(c,[this].concat(e))||this,Object(s.a)(Object(n.a)(o),"handleScrollToBottom",function(){o.props.hasMore&&o.handleLoadMore(0<o.props.medias.size?o.props.medias.last().getIn(["status","id"]):void 0)}),Object(s.a)(Object(n.a)(o),"handleScroll",function(a){var e=a.target,t=e.scrollTop;e.scrollHeight-t-e.clientHeight<150&&!o.props.isLoading&&o.handleScrollToBottom()}),Object(s.a)(Object(n.a)(o),"handleLoadMore",function(a){o.props.dispatch(Object(b.o)(o.props.params.accountId,{maxId:a}))}),Object(s.a)(Object(n.a)(o),"handleLoadOlder",function(a){a.preventDefault(),o.handleScrollToBottom()}),o}Object(o.a)(a,c);var e=a.prototype;return e.componentDidMount=function(){this.props.dispatch(Object(u.A)(this.props.params.accountId)),this.props.dispatch(Object(b.o)(this.props.params.accountId))},e.componentWillReceiveProps=function(a){a.params.accountId!==this.props.params.accountId&&a.params.accountId&&(this.props.dispatch(Object(u.A)(a.params.accountId)),this.props.dispatch(Object(b.o)(this.props.params.accountId)))},e.render=function(){var t=this,a=this.props,o=a.medias,e=a.shouldUpdateScroll,c=a.isLoading,n=a.hasMore,s=null;return!o&&c?Object(r.a)(m.a,{},void 0,Object(r.a)(h.a,{})):(!n||c&&0===o.size||(s=Object(r.a)(k.a,{visible:!c,onClick:this.handleLoadOlder})),Object(r.a)(m.a,{},void 0,Object(r.a)(O.a,{}),Object(r.a)(S.a,{scrollKey:"account_gallery",shouldUpdateScroll:e},void 0,Object(r.a)("div",{className:"scrollable scrollable--flex",onScroll:this.handleScroll},void 0,Object(r.a)(w.a,{accountId:this.props.params.accountId}),Object(r.a)("div",{role:"feed",className:"account-gallery__container"},void 0,o.map(function(a,e){return null===a?Object(r.a)(T,{maxId:0<e?o.getIn(e-1,"id"):null,onLoadMore:t.handleLoadMore},"more:"+o.getIn(e+1,"id")):Object(r.a)(y,{media:a},a.get("id"))}),s),c&&0===o.size&&Object(r.a)("div",{className:"scrollable__append"},void 0,Object(r.a)(h.a,{}))))))},a}(j.a),Object(s.a)(L,"propTypes",{params:p.a.object.isRequired,dispatch:p.a.func.isRequired,medias:l.a.list.isRequired,isLoading:p.a.bool,hasMore:p.a.bool}),_=M))||_}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{713:function(a,e,t){"use strict";t.r(e);var r=t(0),n=t(2),o=t(6),s=t(1),c=(t(3),t(21)),i=t(26),l=t.n(i),d=t(5),p=t.n(d),u=t(27),b=t(35),h=t(272),m=t(626),O=t(629),j=t(25),f=t(200),v=t(379),g=t(24),I=t(30),y=function(c){function a(){for(var a,e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return a=c.call.apply(c,[this].concat(t))||this,Object(s.a)(Object(n.a)(a),"state",{visible:"hide_all"!==g.f&&!a.props.media.getIn(["status","sensitive"])||"show_all"===g.f}),Object(s.a)(Object(n.a)(a),"handleClick",function(){return!a.state.visible&&(a.setState({visible:!0}),!0)}),a}return Object(o.a)(a,c),a.prototype.render=function(){var a,e,t=this.props.media,o=this.state.visible,c=t.get("status"),n=100*(t.getIn(["meta","focus","x"])/2+.5),s=100*(t.getIn(["meta","focus","y"])/-2+.5),i={};return"gifv"===t.get("type")&&(a=Object(r.a)("span",{className:"media-gallery__gifv__label"},void 0,"GIF")),o?(i.backgroundImage="url("+t.get("preview_url")+")",i.backgroundPosition=n+"% "+s+"%"):e=Object(r.a)("span",{className:"account-gallery__item__icons"},void 0,Object(r.a)(I.a,{id:"eye-slash"})),Object(r.a)("div",{className:"account-gallery__item"},void 0,Object(r.a)(v.a,{to:"/statuses/"+c.get("id"),href:c.get("url"),style:i,onInterceptClick:this.handleClick},void 0,e,a))},a}(j.a);Object(s.a)(y,"propTypes",{media:l.a.map.isRequired});var _,L,M,w=t(917),S=t(427),k=t(985),A=t(897);t.d(e,"default",function(){return x});var T=function(c){function a(){for(var a,e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return a=c.call.apply(c,[this].concat(t))||this,Object(s.a)(Object(n.a)(a),"handleLoadMore",function(){a.props.onLoadMore(a.props.maxId)}),a}return Object(o.a)(a,c),a.prototype.render=function(){return Object(r.a)(k.a,{disabled:this.props.disabled,onClick:this.handleLoadMore})},a}(j.a);Object(s.a)(T,"propTypes",{shouldUpdateScroll:p.a.func,maxId:p.a.string,onLoadMore:p.a.func.isRequired});var x=Object(c.connect)(function(a,e){return{isAccount:!!a.getIn(["accounts",e.params.accountId]),medias:Object(f.a)(a,e.params.accountId),isLoading:a.getIn(["timelines","account:"+e.params.accountId+":media","isLoading"]),hasMore:a.getIn(["timelines","account:"+e.params.accountId+":media","hasMore"])}})((M=L=function(c){function a(){for(var o,a=arguments.length,e=new Array(a),t=0;t<a;t++)e[t]=arguments[t];return o=c.call.apply(c,[this].concat(e))||this,Object(s.a)(Object(n.a)(o),"handleScrollToBottom",function(){o.props.hasMore&&o.handleLoadMore(0<o.props.medias.size?o.props.medias.last().getIn(["status","id"]):void 0)}),Object(s.a)(Object(n.a)(o),"handleScroll",function(a){var e=a.target,t=e.scrollTop;e.scrollHeight-t-e.clientHeight<150&&!o.props.isLoading&&o.handleScrollToBottom()}),Object(s.a)(Object(n.a)(o),"handleLoadMore",function(a){o.props.dispatch(Object(b.o)(o.props.params.accountId,{maxId:a}))}),Object(s.a)(Object(n.a)(o),"handleLoadOlder",function(a){a.preventDefault(),o.handleScrollToBottom()}),o}Object(o.a)(a,c);var e=a.prototype;return e.componentDidMount=function(){this.props.dispatch(Object(u.A)(this.props.params.accountId)),this.props.dispatch(Object(b.o)(this.props.params.accountId))},e.componentWillReceiveProps=function(a){a.params.accountId!==this.props.params.accountId&&a.params.accountId&&(this.props.dispatch(Object(u.A)(a.params.accountId)),this.props.dispatch(Object(b.o)(this.props.params.accountId)))},e.render=function(){var t=this,a=this.props,o=a.medias,e=a.shouldUpdateScroll,c=a.isLoading,n=a.hasMore;if(!a.isAccount)return Object(r.a)(m.a,{},void 0,Object(r.a)(A.a,{}));var s=null;return!o&&c?Object(r.a)(m.a,{},void 0,Object(r.a)(h.a,{})):(!n||c&&0===o.size||(s=Object(r.a)(k.a,{visible:!c,onClick:this.handleLoadOlder})),Object(r.a)(m.a,{},void 0,Object(r.a)(O.a,{}),Object(r.a)(S.a,{scrollKey:"account_gallery",shouldUpdateScroll:e},void 0,Object(r.a)("div",{className:"scrollable scrollable--flex",onScroll:this.handleScroll},void 0,Object(r.a)(w.a,{accountId:this.props.params.accountId}),Object(r.a)("div",{role:"feed",className:"account-gallery__container"},void 0,o.map(function(a,e){return null===a?Object(r.a)(T,{maxId:0<e?o.getIn(e-1,"id"):null,onLoadMore:t.handleLoadMore},"more:"+o.getIn(e+1,"id")):Object(r.a)(y,{media:a},a.get("id"))}),s),c&&0===o.size&&Object(r.a)("div",{className:"scrollable__append"},void 0,Object(r.a)(h.a,{}))))))},a}(j.a),Object(s.a)(L,"propTypes",{params:p.a.object.isRequired,dispatch:p.a.func.isRequired,medias:l.a.list.isRequired,isLoading:p.a.bool,hasMore:p.a.bool,isAccount:p.a.bool}),_=M))||_}}]);
|
||||
//# sourceMappingURL=account_gallery.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{677:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return k});var s,o,i,n=a(0),c=a(3),p=a(7),r=a(1),d=(a(2),a(24)),u=a(27),l=a.n(u),h=a(5),b=a.n(h),m=a(26),I=a(35),j=a(909),O=a(272),f=a(625),w=a(913),g=a(628),R=a(4),y=a(25),M=a(6),v=a(265),L=Object(R.List)(),k=Object(d.connect)(function(t,e){var a=e.params.accountId,s=e.withReplies,o=void 0!==s&&s,i=o?a+":with_replies":a;return{statusIds:t.getIn(["timelines","account:"+i,"items"],L),featuredStatusIds:o?Object(R.List)():t.getIn(["timelines","account:"+a+":pinned","items"],L),isLoading:t.getIn(["timelines","account:"+i,"isLoading"]),hasMore:t.getIn(["timelines","account:"+i,"hasMore"]),blockedBy:t.getIn(["relationships",a,"blocked_by"],!1)}})((i=o=function(o){function t(){for(var e,t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return e=o.call.apply(o,[this].concat(a))||this,Object(r.a)(Object(c.a)(e),"handleLoadMore",function(t){e.props.dispatch(Object(I.p)(e.props.params.accountId,{maxId:t,withReplies:e.props.withReplies}))}),e}Object(p.a)(t,o);var e=t.prototype;return e.componentWillMount=function(){var t=this.props,e=t.params.accountId,a=t.withReplies;this.props.dispatch(Object(m.A)(e)),this.props.dispatch(Object(v.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(m.A)(t.params.accountId)),this.props.dispatch(Object(v.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.shouldUpdateScroll,a=t.statusIds,s=t.featuredStatusIds,o=t.isLoading,i=t.hasMore,c=t.blockedBy;if(!a&&o)return Object(n.a)(f.a,{},void 0,Object(n.a)(O.a,{}));var p=c?Object(n.a)(M.b,{id:"empty_column.account_timeline_blocked",defaultMessage:"You are blocked"}):Object(n.a)(M.b,{id:"empty_column.account_timeline",defaultMessage:"No toots here!"});return Object(n.a)(f.a,{},void 0,Object(n.a)(g.a,{}),Object(n.a)(j.a,{prepend:Object(n.a)(w.a,{accountId:this.props.params.accountId}),alwaysPrepend:!0,scrollKey:"account_timeline",statusIds:c?L:a,featuredStatusIds:s,isLoading:o,hasMore:i,onLoadMore:this.handleLoadMore,shouldUpdateScroll:e,emptyMessage:p}))},t}(y.a),Object(r.a)(o,"propTypes",{params:b.a.object.isRequired,dispatch:b.a.func.isRequired,shouldUpdateScroll:b.a.func,statusIds:l.a.list,featuredStatusIds:l.a.list,isLoading:b.a.bool,hasMore:b.a.bool,withReplies:b.a.bool,blockedBy:b.a.bool}),s=i))||s}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{678:function(t,a,e){"use strict";e.r(a),e.d(a,"default",function(){return _});var s,c,i,p=e(0),o=e(2),n=e(6),r=e(1),d=(e(3),e(21)),u=e(26),l=e.n(u),h=e(5),b=e.n(h),m=e(27),j=e(35),I=e(914),O=e(272),f=e(626),w=e(917),g=e(629),v=e(4),R=e(25),y=e(7),M=e(265),L=e(897),S=Object(v.List)(),_=Object(d.connect)(function(t,a){var e=a.params.accountId,s=a.withReplies,c=void 0!==s&&s,i=c?e+":with_replies":e;return{isAccount:!!t.getIn(["accounts",e]),statusIds:t.getIn(["timelines","account:"+i,"items"],S),featuredStatusIds:c?Object(v.List)():t.getIn(["timelines","account:"+e+":pinned","items"],S),isLoading:t.getIn(["timelines","account:"+i,"isLoading"]),hasMore:t.getIn(["timelines","account:"+i,"hasMore"]),blockedBy:t.getIn(["relationships",e,"blocked_by"],!1)}})((i=c=function(c){function t(){for(var a,t=arguments.length,e=new Array(t),s=0;s<t;s++)e[s]=arguments[s];return a=c.call.apply(c,[this].concat(e))||this,Object(r.a)(Object(o.a)(a),"handleLoadMore",function(t){a.props.dispatch(Object(j.p)(a.props.params.accountId,{maxId:t,withReplies:a.props.withReplies}))}),a}Object(n.a)(t,c);var a=t.prototype;return a.componentWillMount=function(){var t=this.props,a=t.params.accountId,e=t.withReplies;this.props.dispatch(Object(m.A)(a)),this.props.dispatch(Object(M.d)(a)),e||this.props.dispatch(Object(j.n)(a)),this.props.dispatch(Object(j.p)(a,{withReplies:e}))},a.componentWillReceiveProps=function(t){(t.params.accountId!==this.props.params.accountId&&t.params.accountId||t.withReplies!==this.props.withReplies)&&(this.props.dispatch(Object(m.A)(t.params.accountId)),this.props.dispatch(Object(M.d)(t.params.accountId)),t.withReplies||this.props.dispatch(Object(j.n)(t.params.accountId)),this.props.dispatch(Object(j.p)(t.params.accountId,{withReplies:t.params.withReplies})))},a.render=function(){var t=this.props,a=t.shouldUpdateScroll,e=t.statusIds,s=t.featuredStatusIds,c=t.isLoading,i=t.hasMore,o=t.blockedBy;if(!t.isAccount)return Object(p.a)(f.a,{},void 0,Object(p.a)(L.a,{}));if(!e&&c)return Object(p.a)(f.a,{},void 0,Object(p.a)(O.a,{}));var n=o?Object(p.a)(y.b,{id:"empty_column.account_unavailable",defaultMessage:"Profile unavailable"}):Object(p.a)(y.b,{id:"empty_column.account_timeline",defaultMessage:"No toots here!"});return Object(p.a)(f.a,{},void 0,Object(p.a)(g.a,{}),Object(p.a)(I.a,{prepend:Object(p.a)(w.a,{accountId:this.props.params.accountId}),alwaysPrepend:!0,scrollKey:"account_timeline",statusIds:o?S:e,featuredStatusIds:s,isLoading:c,hasMore:i,onLoadMore:this.handleLoadMore,shouldUpdateScroll:a,emptyMessage:n}))},t}(R.a),Object(r.a)(c,"propTypes",{params:b.a.object.isRequired,dispatch:b.a.func.isRequired,shouldUpdateScroll:b.a.func,statusIds:l.a.list,featuredStatusIds:l.a.list,isLoading:b.a.bool,hasMore:b.a.bool,withReplies:b.a.bool,blockedBy:b.a.bool,isAccount:b.a.bool}),s=i))||s}}]);
|
||||
//# sourceMappingURL=account_timeline.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{684:function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return q});var o,n,c,s=a(0),r=a(3),i=a(7),d=a(1),u=a(56),l=a.n(u),b=(a(2),a(24)),p=a(6),h=a(25),f=a(27),j=a.n(f),O=a(5),g=a.n(O),M=a(272),k=a(625),m=a(632),v=a(891),y=a(361),w=a(889),I=Object(p.f)({heading:{id:"column.blocks",defaultMessage:"Blocked users"}}),q=Object(b.connect)(function(e){return{accountIds:e.getIn(["user_lists","blocks","items"]),hasMore:!!e.getIn(["user_lists","blocks","next"])}})(o=Object(p.g)((c=n=function(n){function e(){for(var e,t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return e=n.call.apply(n,[this].concat(a))||this,Object(d.a)(Object(r.a)(e),"handleLoadMore",l()(function(){e.props.dispatch(Object(y.c)())},300,{leading:!0})),e}Object(i.a)(e,n);var t=e.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(y.d)())},t.render=function(){var e=this.props,t=e.intl,a=e.accountIds,o=e.shouldUpdateScroll,n=e.hasMore;if(!a)return Object(s.a)(k.a,{},void 0,Object(s.a)(M.a,{}));var c=Object(s.a)(p.b,{id:"empty_column.blocks",defaultMessage:"You haven't blocked any users yet."});return Object(s.a)(k.a,{icon:"ban",heading:t.formatMessage(I.heading)},void 0,Object(s.a)(m.a,{}),Object(s.a)(w.a,{scrollKey:"blocks",onLoadMore:this.handleLoadMore,hasMore:n,shouldUpdateScroll:o,emptyMessage:c},void 0,a.map(function(e){return Object(s.a)(v.a,{id:e},e)})))},e}(h.a),Object(d.a)(n,"propTypes",{params:g.a.object.isRequired,dispatch:g.a.func.isRequired,shouldUpdateScroll:g.a.func,accountIds:j.a.list,hasMore:g.a.bool,intl:g.a.object.isRequired}),o=c))||o)||o}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{685:function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return q});var o,n,c,s=a(0),r=a(2),i=a(6),d=a(1),u=a(56),l=a.n(u),b=(a(3),a(21)),p=a(7),h=a(25),f=a(26),j=a.n(f),O=a(5),g=a.n(O),M=a(272),k=a(626),m=a(634),v=a(895),y=a(361),w=a(893),I=Object(p.f)({heading:{id:"column.blocks",defaultMessage:"Blocked users"}}),q=Object(b.connect)(function(e){return{accountIds:e.getIn(["user_lists","blocks","items"]),hasMore:!!e.getIn(["user_lists","blocks","next"])}})(o=Object(p.g)((c=n=function(n){function e(){for(var e,t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return e=n.call.apply(n,[this].concat(a))||this,Object(d.a)(Object(r.a)(e),"handleLoadMore",l()(function(){e.props.dispatch(Object(y.c)())},300,{leading:!0})),e}Object(i.a)(e,n);var t=e.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(y.d)())},t.render=function(){var e=this.props,t=e.intl,a=e.accountIds,o=e.shouldUpdateScroll,n=e.hasMore;if(!a)return Object(s.a)(k.a,{},void 0,Object(s.a)(M.a,{}));var c=Object(s.a)(p.b,{id:"empty_column.blocks",defaultMessage:"You haven't blocked any users yet."});return Object(s.a)(k.a,{icon:"ban",heading:t.formatMessage(I.heading)},void 0,Object(s.a)(m.a,{}),Object(s.a)(w.a,{scrollKey:"blocks",onLoadMore:this.handleLoadMore,hasMore:n,shouldUpdateScroll:o,emptyMessage:c},void 0,a.map(function(e){return Object(s.a)(v.a,{id:e},e)})))},e}(h.a),Object(d.a)(n,"propTypes",{params:g.a.object.isRequired,dispatch:g.a.func.isRequired,shouldUpdateScroll:g.a.func,accountIds:j.a.list,hasMore:g.a.bool,intl:g.a.object.isRequired}),o=c))||o)||o}}]);
|
||||
//# sourceMappingURL=blocks.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{713:function(e,t,n){"use strict";n.r(t);var o,i,c,d=n(0),a=n(3),l=n(7),s=n(1),r=n(2),u=n.n(r),m=n(24),p=n(6),h=n(5),b=n.n(h),y=n(898),f=n(631),j=n(627),M=n(35),O=n(223),g=n(983),v=n(69),I=Object(m.connect)(function(e,t){var n=t.columnId,o=e.getIn(["settings","columns"]),i=o.findIndex(function(e){return e.get("uuid")===n});return{settings:n&&0<=i?o.get(i).get("params"):e.getIn(["settings","community"])}},function(n,e){var o=e.columnId;return{onChange:function(e,t){n(o?Object(O.f)(o,e,t):Object(v.c)(["community"].concat(e),t))}}})(g.a),C=n(633);n.d(t,"default",function(){return U});var w=Object(p.f)({title:{id:"column.community",defaultMessage:"Local timeline"}}),U=Object(m.connect)(function(e,t){var n=t.onlyMedia,o=t.columnId,i=o,c=e.getIn(["settings","columns"]),a=c.findIndex(function(e){return e.get("uuid")===i});return{hasUnread:0<e.getIn(["timelines","community"+(n?":media":""),"unread"]),onlyMedia:o&&0<=a?c.get(a).getIn(["params","other","onlyMedia"]):e.getIn(["settings","community","other","onlyMedia"])}})(o=Object(p.g)((c=i=function(o){function e(){for(var i,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i=o.call.apply(o,[this].concat(t))||this,Object(s.a)(Object(a.a)(i),"handlePin",function(){var e=i.props,t=e.columnId,n=e.dispatch,o=e.onlyMedia;n(t?Object(O.h)(t):Object(O.e)("COMMUNITY",{other:{onlyMedia:o}}))}),Object(s.a)(Object(a.a)(i),"handleMove",function(e){var t=i.props,n=t.columnId;(0,t.dispatch)(Object(O.g)(n,e))}),Object(s.a)(Object(a.a)(i),"handleHeaderClick",function(){i.column.scrollTop()}),Object(s.a)(Object(a.a)(i),"setRef",function(e){i.column=e}),Object(s.a)(Object(a.a)(i),"handleLoadMore",function(e){var t=i.props,n=t.dispatch,o=t.onlyMedia;n(Object(M.q)({maxId:e,onlyMedia:o}))}),i}Object(l.a)(e,o);var t=e.prototype;return t.componentDidMount=function(){var e=this.props,t=e.dispatch,n=e.onlyMedia;t(Object(M.q)({onlyMedia:n})),this.disconnect=t(Object(C.a)({onlyMedia:n}))},t.componentDidUpdate=function(e){if(e.onlyMedia!==this.props.onlyMedia){var t=this.props,n=t.dispatch,o=t.onlyMedia;this.disconnect(),n(Object(M.q)({onlyMedia:o})),this.disconnect=n(Object(C.a)({onlyMedia:o}))}},t.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},t.render=function(){var e=this.props,t=e.intl,n=e.shouldUpdateScroll,o=e.hasUnread,i=e.columnId,c=e.multiColumn,a=e.onlyMedia,l=!!i;return u.a.createElement(f.a,{ref:this.setRef,label:t.formatMessage(w.title)},Object(d.a)(j.a,{icon:"users",active:o,title:t.formatMessage(w.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:l,multiColumn:c},void 0,Object(d.a)(I,{columnId:i})),Object(d.a)(y.a,{trackScroll:!l,scrollKey:"community_timeline-"+i,timelineId:"community"+(a?":media":""),onLoadMore:this.handleLoadMore,emptyMessage:Object(d.a)(p.b,{id:"empty_column.community",defaultMessage:"The local timeline is empty. Write something publicly to get the ball rolling!"}),shouldUpdateScroll:n}))},e}(u.a.PureComponent),Object(s.a)(i,"contextTypes",{router:b.a.object}),Object(s.a)(i,"defaultProps",{onlyMedia:!1}),o=c))||o)||o}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{715:function(e,t,n){"use strict";n.r(t);var o,i,c,d=n(0),a=n(2),l=n(6),s=n(1),r=n(3),u=n.n(r),m=n(21),p=n(7),h=n(5),b=n.n(h),y=n(904),f=n(633),j=n(628),M=n(35),O=n(222),g=n(987),v=n(70),I=Object(m.connect)(function(e,t){var n=t.columnId,o=e.getIn(["settings","columns"]),i=o.findIndex(function(e){return e.get("uuid")===n});return{settings:n&&0<=i?o.get(i).get("params"):e.getIn(["settings","community"])}},function(n,e){var o=e.columnId;return{onChange:function(e,t){n(o?Object(O.f)(o,e,t):Object(v.c)(["community"].concat(e),t))}}})(g.a),C=n(635);n.d(t,"default",function(){return U});var w=Object(p.f)({title:{id:"column.community",defaultMessage:"Local timeline"}}),U=Object(m.connect)(function(e,t){var n=t.onlyMedia,o=t.columnId,i=o,c=e.getIn(["settings","columns"]),a=c.findIndex(function(e){return e.get("uuid")===i});return{hasUnread:0<e.getIn(["timelines","community"+(n?":media":""),"unread"]),onlyMedia:o&&0<=a?c.get(a).getIn(["params","other","onlyMedia"]):e.getIn(["settings","community","other","onlyMedia"])}})(o=Object(p.g)((c=i=function(o){function e(){for(var i,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i=o.call.apply(o,[this].concat(t))||this,Object(s.a)(Object(a.a)(i),"handlePin",function(){var e=i.props,t=e.columnId,n=e.dispatch,o=e.onlyMedia;n(t?Object(O.h)(t):Object(O.e)("COMMUNITY",{other:{onlyMedia:o}}))}),Object(s.a)(Object(a.a)(i),"handleMove",function(e){var t=i.props,n=t.columnId;(0,t.dispatch)(Object(O.g)(n,e))}),Object(s.a)(Object(a.a)(i),"handleHeaderClick",function(){i.column.scrollTop()}),Object(s.a)(Object(a.a)(i),"setRef",function(e){i.column=e}),Object(s.a)(Object(a.a)(i),"handleLoadMore",function(e){var t=i.props,n=t.dispatch,o=t.onlyMedia;n(Object(M.q)({maxId:e,onlyMedia:o}))}),i}Object(l.a)(e,o);var t=e.prototype;return t.componentDidMount=function(){var e=this.props,t=e.dispatch,n=e.onlyMedia;t(Object(M.q)({onlyMedia:n})),this.disconnect=t(Object(C.a)({onlyMedia:n}))},t.componentDidUpdate=function(e){if(e.onlyMedia!==this.props.onlyMedia){var t=this.props,n=t.dispatch,o=t.onlyMedia;this.disconnect(),n(Object(M.q)({onlyMedia:o})),this.disconnect=n(Object(C.a)({onlyMedia:o}))}},t.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},t.render=function(){var e=this.props,t=e.intl,n=e.shouldUpdateScroll,o=e.hasUnread,i=e.columnId,c=e.multiColumn,a=e.onlyMedia,l=!!i;return u.a.createElement(f.a,{ref:this.setRef,label:t.formatMessage(w.title)},Object(d.a)(j.a,{icon:"users",active:o,title:t.formatMessage(w.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:l,multiColumn:c},void 0,Object(d.a)(I,{columnId:i})),Object(d.a)(y.a,{trackScroll:!l,scrollKey:"community_timeline-"+i,timelineId:"community"+(a?":media":""),onLoadMore:this.handleLoadMore,emptyMessage:Object(d.a)(p.b,{id:"empty_column.community",defaultMessage:"The local timeline is empty. Write something publicly to get the ball rolling!"}),shouldUpdateScroll:n}))},e}(u.a.PureComponent),Object(s.a)(i,"contextTypes",{router:b.a.object}),Object(s.a)(i,"defaultProps",{onlyMedia:!1}),o=c))||o)||o}}]);
|
||||
//# sourceMappingURL=community_timeline.js.map
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{709:function(n,e,o){"use strict";o.r(e);var a,t,i,c,r,s,d=o(0),l=o(3),u=o(7),m=o(1),b=o(56),f=o.n(b),p=(o(2),o(24)),j=o(6),O=o(25),h=o(5),g=o.n(h),k=o(27),v=o.n(k),M=o(272),y=o(625),_=o(632),w=o(189),D=o(67),U=Object(j.f)({unblockDomain:{id:"account.unblock_domain",defaultMessage:"Unhide {domain}"}}),R=Object(j.g)((i=t=function(t){function n(){for(var n,e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o))||this,Object(m.a)(Object(l.a)(n),"handleDomainUnblock",function(){n.props.onUnblockDomain(n.props.domain)}),n}return Object(u.a)(n,t),n.prototype.render=function(){var n=this.props,e=n.domain,o=n.intl;return Object(d.a)("div",{className:"domain"},void 0,Object(d.a)("div",{className:"domain__wrapper"},void 0,Object(d.a)("span",{className:"domain__domain-name"},void 0,Object(d.a)("strong",{},void 0,e)),Object(d.a)("div",{className:"domain__buttons"},void 0,Object(d.a)(D.a,{active:!0,icon:"unlock",title:o.formatMessage(U.unblockDomain,{domain:e}),onClick:this.handleDomainUnblock}))))},n}(O.a),Object(m.a)(t,"propTypes",{domain:g.a.string,onUnblockDomain:g.a.func.isRequired,intl:g.a.object.isRequired}),a=i))||a,q=o(57),C=Object(j.f)({blockDomainConfirm:{id:"confirmations.domain_block.confirm",defaultMessage:"Hide entire domain"}}),N=Object(j.g)(Object(p.connect)(function(){return function(){return{}}},function(e,n){var o=n.intl;return{onBlockDomain:function(n){e(Object(q.d)("CONFIRM",{message:Object(d.a)(j.b,{id:"confirmations.domain_block.message",defaultMessage:"Are you really, really sure you want to block the entire {domain}? In most cases a few targeted blocks or mutes are sufficient and preferable.",values:{domain:Object(d.a)("strong",{},void 0,n)}}),confirm:o.formatMessage(C.blockDomainConfirm),onConfirm:function(){return e(Object(w.e)(n))}}))},onUnblockDomain:function(n){e(Object(w.h)(n))}}})(R)),I=o(889);o.d(e,"default",function(){return A});var S=Object(j.f)({heading:{id:"column.domain_blocks",defaultMessage:"Hidden domains"},unblockDomain:{id:"account.unblock_domain",defaultMessage:"Unhide {domain}"}}),A=Object(p.connect)(function(n){return{domains:n.getIn(["domain_lists","blocks","items"]),hasMore:!!n.getIn(["domain_lists","blocks","next"])}})(c=Object(j.g)((s=r=function(t){function n(){for(var n,e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o))||this,Object(m.a)(Object(l.a)(n),"handleLoadMore",f()(function(){n.props.dispatch(Object(w.f)())},300,{leading:!0})),n}Object(u.a)(n,t);var e=n.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(w.g)())},e.render=function(){var n=this.props,e=n.intl,o=n.domains,a=n.shouldUpdateScroll,t=n.hasMore;if(!o)return Object(d.a)(y.a,{},void 0,Object(d.a)(M.a,{}));var i=Object(d.a)(j.b,{id:"empty_column.domain_blocks",defaultMessage:"There are no hidden domains yet."});return Object(d.a)(y.a,{icon:"minus-circle",heading:e.formatMessage(S.heading)},void 0,Object(d.a)(_.a,{}),Object(d.a)(I.a,{scrollKey:"domain_blocks",onLoadMore:this.handleLoadMore,hasMore:t,shouldUpdateScroll:a,emptyMessage:i},void 0,o.map(function(n){return Object(d.a)(N,{domain:n},n)})))},n}(O.a),Object(m.a)(r,"propTypes",{params:g.a.object.isRequired,dispatch:g.a.func.isRequired,shouldUpdateScroll:g.a.func,hasMore:g.a.bool,domains:v.a.orderedSet,intl:g.a.object.isRequired}),c=s))||c)||c}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{711:function(n,e,o){"use strict";o.r(e);var a,t,i,c,r,s,d=o(0),l=o(2),u=o(6),m=o(1),b=o(56),f=o.n(b),p=(o(3),o(21)),j=o(7),O=o(25),h=o(5),g=o.n(h),k=o(26),v=o.n(k),M=o(272),y=o(626),_=o(634),w=o(187),D=o(67),U=Object(j.f)({unblockDomain:{id:"account.unblock_domain",defaultMessage:"Unhide {domain}"}}),R=Object(j.g)((i=t=function(t){function n(){for(var n,e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o))||this,Object(m.a)(Object(l.a)(n),"handleDomainUnblock",function(){n.props.onUnblockDomain(n.props.domain)}),n}return Object(u.a)(n,t),n.prototype.render=function(){var n=this.props,e=n.domain,o=n.intl;return Object(d.a)("div",{className:"domain"},void 0,Object(d.a)("div",{className:"domain__wrapper"},void 0,Object(d.a)("span",{className:"domain__domain-name"},void 0,Object(d.a)("strong",{},void 0,e)),Object(d.a)("div",{className:"domain__buttons"},void 0,Object(d.a)(D.a,{active:!0,icon:"unlock",title:o.formatMessage(U.unblockDomain,{domain:e}),onClick:this.handleDomainUnblock}))))},n}(O.a),Object(m.a)(t,"propTypes",{domain:g.a.string,onUnblockDomain:g.a.func.isRequired,intl:g.a.object.isRequired}),a=i))||a,q=o(57),C=Object(j.f)({blockDomainConfirm:{id:"confirmations.domain_block.confirm",defaultMessage:"Hide entire domain"}}),N=Object(j.g)(Object(p.connect)(function(){return function(){return{}}},function(e,n){var o=n.intl;return{onBlockDomain:function(n){e(Object(q.d)("CONFIRM",{message:Object(d.a)(j.b,{id:"confirmations.domain_block.message",defaultMessage:"Are you really, really sure you want to block the entire {domain}? In most cases a few targeted blocks or mutes are sufficient and preferable.",values:{domain:Object(d.a)("strong",{},void 0,n)}}),confirm:o.formatMessage(C.blockDomainConfirm),onConfirm:function(){return e(Object(w.e)(n))}}))},onUnblockDomain:function(n){e(Object(w.h)(n))}}})(R)),I=o(893);o.d(e,"default",function(){return A});var S=Object(j.f)({heading:{id:"column.domain_blocks",defaultMessage:"Hidden domains"},unblockDomain:{id:"account.unblock_domain",defaultMessage:"Unhide {domain}"}}),A=Object(p.connect)(function(n){return{domains:n.getIn(["domain_lists","blocks","items"]),hasMore:!!n.getIn(["domain_lists","blocks","next"])}})(c=Object(j.g)((s=r=function(t){function n(){for(var n,e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o))||this,Object(m.a)(Object(l.a)(n),"handleLoadMore",f()(function(){n.props.dispatch(Object(w.f)())},300,{leading:!0})),n}Object(u.a)(n,t);var e=n.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(w.g)())},e.render=function(){var n=this.props,e=n.intl,o=n.domains,a=n.shouldUpdateScroll,t=n.hasMore;if(!o)return Object(d.a)(y.a,{},void 0,Object(d.a)(M.a,{}));var i=Object(d.a)(j.b,{id:"empty_column.domain_blocks",defaultMessage:"There are no hidden domains yet."});return Object(d.a)(y.a,{icon:"minus-circle",heading:e.formatMessage(S.heading)},void 0,Object(d.a)(_.a,{}),Object(d.a)(I.a,{scrollKey:"domain_blocks",onLoadMore:this.handleLoadMore,hasMore:t,shouldUpdateScroll:a,emptyMessage:i},void 0,o.map(function(n){return Object(d.a)(N,{domain:n},n)})))},n}(O.a),Object(m.a)(r,"propTypes",{params:g.a.object.isRequired,dispatch:g.a.func.isRequired,shouldUpdateScroll:g.a.func,hasMore:g.a.bool,domains:v.a.orderedSet,intl:g.a.object.isRequired}),c=s))||c)||c}}]);
|
||||
//# sourceMappingURL=domain_blocks.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{683:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return C});var o,n,s,r=a(0),i=a(3),c=a(7),u=a(1),l=a(56),d=a.n(l),h=a(2),p=a.n(h),f=a(24),b=a(5),j=a.n(b),O=a(27),g=a.n(O),m=a(192),v=a(625),M=a(627),I=a(223),w=a(909),y=a(6),L=a(25),k=Object(y.f)({heading:{id:"column.favourites",defaultMessage:"Favourites"}}),C=Object(f.connect)(function(t){return{statusIds:t.getIn(["status_lists","favourites","items"]),isLoading:t.getIn(["status_lists","favourites","isLoading"],!0),hasMore:!!t.getIn(["status_lists","favourites","next"])}})(o=Object(y.g)((s=n=function(n){function t(){for(var o,t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];return o=n.call.apply(n,[this].concat(e))||this,Object(u.a)(Object(i.a)(o),"handlePin",function(){var t=o.props,e=t.columnId,a=t.dispatch;a(e?Object(I.h)(e):Object(I.e)("FAVOURITES",{}))}),Object(u.a)(Object(i.a)(o),"handleMove",function(t){var e=o.props,a=e.columnId;(0,e.dispatch)(Object(I.g)(a,t))}),Object(u.a)(Object(i.a)(o),"handleHeaderClick",function(){o.column.scrollTop()}),Object(u.a)(Object(i.a)(o),"setRef",function(t){o.column=t}),Object(u.a)(Object(i.a)(o),"handleLoadMore",d()(function(){o.props.dispatch(Object(m.g)())},300,{leading:!0})),o}Object(c.a)(t,n);var e=t.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(m.h)())},e.render=function(){var t=this.props,e=t.intl,a=t.shouldUpdateScroll,o=t.statusIds,n=t.columnId,s=t.multiColumn,i=t.hasMore,c=t.isLoading,u=!!n,l=Object(r.a)(y.b,{id:"empty_column.favourited_statuses",defaultMessage:"You don't have any favourite toots yet. When you favourite one, it will show up here."});return p.a.createElement(v.a,{ref:this.setRef,label:e.formatMessage(k.heading)},Object(r.a)(M.a,{icon:"star",title:e.formatMessage(k.heading),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:u,multiColumn:s,showBackButton:!0}),Object(r.a)(w.a,{trackScroll:!u,statusIds:o,scrollKey:"favourited_statuses-"+n,hasMore:i,isLoading:c,onLoadMore:this.handleLoadMore,shouldUpdateScroll:a,emptyMessage:l}))},t}(L.a),Object(u.a)(n,"propTypes",{dispatch:j.a.func.isRequired,shouldUpdateScroll:j.a.func,statusIds:g.a.list.isRequired,intl:j.a.object.isRequired,columnId:j.a.string,multiColumn:j.a.bool,hasMore:j.a.bool,isLoading:j.a.bool}),o=s))||o)||o}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{684:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return C});var o,n,s,r=a(0),i=a(2),c=a(6),u=a(1),l=a(56),d=a.n(l),h=a(3),p=a.n(h),f=a(21),b=a(5),j=a.n(b),O=a(26),g=a.n(O),m=a(190),v=a(626),M=a(628),I=a(222),w=a(914),y=a(7),L=a(25),k=Object(y.f)({heading:{id:"column.favourites",defaultMessage:"Favourites"}}),C=Object(f.connect)(function(t){return{statusIds:t.getIn(["status_lists","favourites","items"]),isLoading:t.getIn(["status_lists","favourites","isLoading"],!0),hasMore:!!t.getIn(["status_lists","favourites","next"])}})(o=Object(y.g)((s=n=function(n){function t(){for(var o,t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];return o=n.call.apply(n,[this].concat(e))||this,Object(u.a)(Object(i.a)(o),"handlePin",function(){var t=o.props,e=t.columnId,a=t.dispatch;a(e?Object(I.h)(e):Object(I.e)("FAVOURITES",{}))}),Object(u.a)(Object(i.a)(o),"handleMove",function(t){var e=o.props,a=e.columnId;(0,e.dispatch)(Object(I.g)(a,t))}),Object(u.a)(Object(i.a)(o),"handleHeaderClick",function(){o.column.scrollTop()}),Object(u.a)(Object(i.a)(o),"setRef",function(t){o.column=t}),Object(u.a)(Object(i.a)(o),"handleLoadMore",d()(function(){o.props.dispatch(Object(m.g)())},300,{leading:!0})),o}Object(c.a)(t,n);var e=t.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(m.h)())},e.render=function(){var t=this.props,e=t.intl,a=t.shouldUpdateScroll,o=t.statusIds,n=t.columnId,s=t.multiColumn,i=t.hasMore,c=t.isLoading,u=!!n,l=Object(r.a)(y.b,{id:"empty_column.favourited_statuses",defaultMessage:"You don't have any favourite toots yet. When you favourite one, it will show up here."});return p.a.createElement(v.a,{ref:this.setRef,label:e.formatMessage(k.heading)},Object(r.a)(M.a,{icon:"star",title:e.formatMessage(k.heading),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:u,multiColumn:s,showBackButton:!0}),Object(r.a)(w.a,{trackScroll:!u,statusIds:o,scrollKey:"favourited_statuses-"+n,hasMore:i,isLoading:c,onLoadMore:this.handleLoadMore,shouldUpdateScroll:a,emptyMessage:l}))},t}(L.a),Object(u.a)(n,"propTypes",{dispatch:j.a.func.isRequired,shouldUpdateScroll:j.a.func,statusIds:g.a.list.isRequired,intl:j.a.object.isRequired,columnId:j.a.string,multiColumn:j.a.bool,hasMore:j.a.bool,isLoading:j.a.bool}),o=s))||o)||o}}]);
|
||||
//# sourceMappingURL=favourited_statuses.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{681:function(t,a,e){"use strict";e.r(a),e.d(a,"default",function(){return y});var s,o,n,r=e(0),c=e(7),i=e(1),u=(e(2),e(24)),p=e(25),d=e(5),l=e.n(d),h=e(27),f=e.n(h),b=e(272),m=e(58),j=e(6),v=e(891),O=e(625),I=e(628),w=e(889),y=Object(u.connect)(function(t,a){return{accountIds:t.getIn(["user_lists","favourited_by",a.params.statusId])}})((n=o=function(t){function a(){return t.apply(this,arguments)||this}Object(c.a)(a,t);var e=a.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(m.l)(this.props.params.statusId))},e.componentWillReceiveProps=function(t){t.params.statusId!==this.props.params.statusId&&t.params.statusId&&this.props.dispatch(Object(m.l)(t.params.statusId))},e.render=function(){var t=this.props,a=t.shouldUpdateScroll,e=t.accountIds;if(!e)return Object(r.a)(O.a,{},void 0,Object(r.a)(b.a,{}));var s=Object(r.a)(j.b,{id:"empty_column.favourites",defaultMessage:"No one has favourited this toot yet. When someone does, they will show up here."});return Object(r.a)(O.a,{},void 0,Object(r.a)(I.a,{}),Object(r.a)(w.a,{scrollKey:"favourites",shouldUpdateScroll:a,emptyMessage:s},void 0,e.map(function(t){return Object(r.a)(v.a,{id:t,withNote:!1},t)})))},a}(p.a),Object(i.a)(o,"propTypes",{params:l.a.object.isRequired,dispatch:l.a.func.isRequired,shouldUpdateScroll:l.a.func,accountIds:f.a.list}),s=n))||s}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{682:function(t,a,e){"use strict";e.r(a),e.d(a,"default",function(){return y});var s,o,n,r=e(0),c=e(6),i=e(1),u=(e(3),e(21)),p=e(25),d=e(5),l=e.n(d),h=e(26),f=e.n(h),b=e(272),m=e(58),j=e(7),v=e(895),O=e(626),I=e(629),w=e(893),y=Object(u.connect)(function(t,a){return{accountIds:t.getIn(["user_lists","favourited_by",a.params.statusId])}})((n=o=function(t){function a(){return t.apply(this,arguments)||this}Object(c.a)(a,t);var e=a.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(m.l)(this.props.params.statusId))},e.componentWillReceiveProps=function(t){t.params.statusId!==this.props.params.statusId&&t.params.statusId&&this.props.dispatch(Object(m.l)(t.params.statusId))},e.render=function(){var t=this.props,a=t.shouldUpdateScroll,e=t.accountIds;if(!e)return Object(r.a)(O.a,{},void 0,Object(r.a)(b.a,{}));var s=Object(r.a)(j.b,{id:"empty_column.favourites",defaultMessage:"No one has favourited this toot yet. When someone does, they will show up here."});return Object(r.a)(O.a,{},void 0,Object(r.a)(I.a,{}),Object(r.a)(w.a,{scrollKey:"favourites",shouldUpdateScroll:a,emptyMessage:s},void 0,e.map(function(t){return Object(r.a)(v.a,{id:t,withNote:!1},t)})))},a}(p.a),Object(i.a)(o,"propTypes",{params:l.a.object.isRequired,dispatch:l.a.func.isRequired,shouldUpdateScroll:l.a.func,accountIds:f.a.list}),s=n))||s}}]);
|
||||
//# sourceMappingURL=favourites.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{710:function(e,t,a){"use strict";a.r(t);var o,c,n,i,r,s,u=a(0),l=a(3),d=a(7),j=a(1),p=a(56),b=a.n(p),f=(a(2),a(24)),h=a(6),O=a(25),v=a(5),_=a.n(v),m=a(27),g=a.n(m),w=a(272),M=a(625),q=a(632),y=a(199),z=a(378),R=a(193),N=a(194),I=a(67),k=Object(h.f)({authorize:{id:"follow_request.authorize",defaultMessage:"Authorize"},reject:{id:"follow_request.reject",defaultMessage:"Reject"}}),A=Object(h.g)((n=c=function(e){function t(){return e.apply(this,arguments)||this}return Object(d.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.intl,a=e.account,o=e.onAuthorize,c=e.onReject,n={__html:a.get("note_emojified")};return Object(u.a)("div",{className:"account-authorize__wrapper"},void 0,Object(u.a)("div",{className:"account-authorize"},void 0,Object(u.a)(z.a,{href:a.get("url"),to:"/accounts/"+a.get("id"),className:"detailed-status__display-name"},void 0,Object(u.a)("div",{className:"account-authorize__avatar"},void 0,Object(u.a)(R.a,{account:a,size:48})),Object(u.a)(N.a,{account:a})),Object(u.a)("div",{className:"account__header__content",dangerouslySetInnerHTML:n})),Object(u.a)("div",{className:"account--panel"},void 0,Object(u.a)("div",{className:"account--panel__button"},void 0,Object(u.a)(I.a,{title:t.formatMessage(k.authorize),icon:"check",onClick:o})),Object(u.a)("div",{className:"account--panel__button"},void 0,Object(u.a)(I.a,{title:t.formatMessage(k.reject),icon:"times",onClick:c}))))},t}(O.a),Object(j.a)(c,"propTypes",{account:g.a.map.isRequired,onAuthorize:_.a.func.isRequired,onReject:_.a.func.isRequired,intl:_.a.object.isRequired}),o=n))||o,L=a(26),S=Object(f.connect)(function(){var a=Object(y.d)();return function(e,t){return{account:a(e,t.id)}}},function(e,t){var a=t.id;return{onAuthorize:function(){e(Object(L.v)(a))},onReject:function(){e(Object(L.I)(a))}}})(A),T=a(889);a.d(t,"default",function(){return x});var U=Object(h.f)({heading:{id:"column.follow_requests",defaultMessage:"Follow requests"}}),x=Object(f.connect)(function(e){return{accountIds:e.getIn(["user_lists","follow_requests","items"]),hasMore:!!e.getIn(["user_lists","follow_requests","next"])}})(i=Object(h.g)((s=r=function(c){function e(){for(var e,t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return e=c.call.apply(c,[this].concat(a))||this,Object(j.a)(Object(l.a)(e),"handleLoadMore",b()(function(){e.props.dispatch(Object(L.x)())},300,{leading:!0})),e}Object(d.a)(e,c);var t=e.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(L.B)())},t.render=function(){var e=this.props,t=e.intl,a=e.shouldUpdateScroll,o=e.accountIds,c=e.hasMore;if(!o)return Object(u.a)(M.a,{},void 0,Object(u.a)(w.a,{}));var n=Object(u.a)(h.b,{id:"empty_column.follow_requests",defaultMessage:"You don't have any follow requests yet. When you receive one, it will show up here."});return Object(u.a)(M.a,{icon:"users",heading:t.formatMessage(U.heading)},void 0,Object(u.a)(q.a,{}),Object(u.a)(T.a,{scrollKey:"follow_requests",onLoadMore:this.handleLoadMore,hasMore:c,shouldUpdateScroll:a,emptyMessage:n},void 0,o.map(function(e){return Object(u.a)(S,{id:e},e)})))},e}(O.a),Object(j.a)(r,"propTypes",{params:_.a.object.isRequired,dispatch:_.a.func.isRequired,shouldUpdateScroll:_.a.func,hasMore:_.a.bool,accountIds:g.a.list,intl:_.a.object.isRequired}),i=s))||i)||i}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{710:function(e,t,a){"use strict";a.r(t);var o,c,n,i,r,s,u=a(0),l=a(2),d=a(6),j=a(1),p=a(56),b=a.n(p),f=(a(3),a(21)),h=a(7),O=a(25),v=a(5),_=a.n(v),m=a(26),g=a.n(m),w=a(272),M=a(626),q=a(634),y=a(200),z=a(379),R=a(194),N=a(195),I=a(67),k=Object(h.f)({authorize:{id:"follow_request.authorize",defaultMessage:"Authorize"},reject:{id:"follow_request.reject",defaultMessage:"Reject"}}),A=Object(h.g)((n=c=function(e){function t(){return e.apply(this,arguments)||this}return Object(d.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.intl,a=e.account,o=e.onAuthorize,c=e.onReject,n={__html:a.get("note_emojified")};return Object(u.a)("div",{className:"account-authorize__wrapper"},void 0,Object(u.a)("div",{className:"account-authorize"},void 0,Object(u.a)(z.a,{href:a.get("url"),to:"/accounts/"+a.get("id"),className:"detailed-status__display-name"},void 0,Object(u.a)("div",{className:"account-authorize__avatar"},void 0,Object(u.a)(R.a,{account:a,size:48})),Object(u.a)(N.a,{account:a})),Object(u.a)("div",{className:"account__header__content",dangerouslySetInnerHTML:n})),Object(u.a)("div",{className:"account--panel"},void 0,Object(u.a)("div",{className:"account--panel__button"},void 0,Object(u.a)(I.a,{title:t.formatMessage(k.authorize),icon:"check",onClick:o})),Object(u.a)("div",{className:"account--panel__button"},void 0,Object(u.a)(I.a,{title:t.formatMessage(k.reject),icon:"times",onClick:c}))))},t}(O.a),Object(j.a)(c,"propTypes",{account:g.a.map.isRequired,onAuthorize:_.a.func.isRequired,onReject:_.a.func.isRequired,intl:_.a.object.isRequired}),o=n))||o,L=a(27),S=Object(f.connect)(function(){var a=Object(y.d)();return function(e,t){return{account:a(e,t.id)}}},function(e,t){var a=t.id;return{onAuthorize:function(){e(Object(L.v)(a))},onReject:function(){e(Object(L.I)(a))}}})(A),T=a(893);a.d(t,"default",function(){return x});var U=Object(h.f)({heading:{id:"column.follow_requests",defaultMessage:"Follow requests"}}),x=Object(f.connect)(function(e){return{accountIds:e.getIn(["user_lists","follow_requests","items"]),hasMore:!!e.getIn(["user_lists","follow_requests","next"])}})(i=Object(h.g)((s=r=function(c){function e(){for(var e,t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return e=c.call.apply(c,[this].concat(a))||this,Object(j.a)(Object(l.a)(e),"handleLoadMore",b()(function(){e.props.dispatch(Object(L.x)())},300,{leading:!0})),e}Object(d.a)(e,c);var t=e.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(L.B)())},t.render=function(){var e=this.props,t=e.intl,a=e.shouldUpdateScroll,o=e.accountIds,c=e.hasMore;if(!o)return Object(u.a)(M.a,{},void 0,Object(u.a)(w.a,{}));var n=Object(u.a)(h.b,{id:"empty_column.follow_requests",defaultMessage:"You don't have any follow requests yet. When you receive one, it will show up here."});return Object(u.a)(M.a,{icon:"users",heading:t.formatMessage(U.heading)},void 0,Object(u.a)(q.a,{}),Object(u.a)(T.a,{scrollKey:"follow_requests",onLoadMore:this.handleLoadMore,hasMore:c,shouldUpdateScroll:a,emptyMessage:n},void 0,o.map(function(e){return Object(u.a)(S,{id:e},e)})))},e}(O.a),Object(j.a)(r,"propTypes",{params:_.a.object.isRequired,dispatch:_.a.func.isRequired,shouldUpdateScroll:_.a.func,hasMore:_.a.bool,accountIds:g.a.list,intl:_.a.object.isRequired}),i=s))||i)||i}}]);
|
||||
//# sourceMappingURL=follow_requests.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{678:function(a,t,o){"use strict";o.r(t),o.d(t,"default",function(){return _});var e,c,s,n=o(0),r=o(3),p=o(7),d=o(1),i=o(56),u=o.n(i),l=(o(2),o(24)),b=o(25),h=o(5),f=o.n(h),m=o(27),j=o.n(m),I=o(272),O=o(26),y=o(6),w=o(891),M=o(625),v=o(913),g=o(628),k=o(889),_=Object(l.connect)(function(a,t){return{accountIds:a.getIn(["user_lists","followers",t.params.accountId,"items"]),hasMore:!!a.getIn(["user_lists","followers",t.params.accountId,"next"]),blockedBy:a.getIn(["relationships",t.params.accountId,"blocked_by"],!1)}})((s=c=function(c){function a(){for(var a,t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return a=c.call.apply(c,[this].concat(o))||this,Object(d.a)(Object(r.a)(a),"handleLoadMore",u()(function(){a.props.dispatch(Object(O.y)(a.props.params.accountId))},300,{leading:!0})),a}Object(p.a)(a,c);var t=a.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(O.A)(this.props.params.accountId)),this.props.dispatch(Object(O.C)(this.props.params.accountId))},t.componentWillReceiveProps=function(a){a.params.accountId!==this.props.params.accountId&&a.params.accountId&&(this.props.dispatch(Object(O.A)(a.params.accountId)),this.props.dispatch(Object(O.C)(a.params.accountId)))},t.render=function(){var a=this.props,t=a.shouldUpdateScroll,o=a.accountIds,e=a.hasMore,c=a.blockedBy;if(!o)return Object(n.a)(M.a,{},void 0,Object(n.a)(I.a,{}));var s=c?Object(n.a)(y.b,{id:"empty_column.account_timeline_blocked",defaultMessage:"You are blocked"}):Object(n.a)(y.b,{id:"account.followers.empty",defaultMessage:"No one follows this user yet."});return Object(n.a)(M.a,{},void 0,Object(n.a)(g.a,{}),Object(n.a)(k.a,{scrollKey:"followers",hasMore:e,onLoadMore:this.handleLoadMore,shouldUpdateScroll:t,prepend:Object(n.a)(v.a,{accountId:this.props.params.accountId,hideTabs:!0}),alwaysPrepend:!0,emptyMessage:s},void 0,c?[]:o.map(function(a){return Object(n.a)(w.a,{id:a,withNote:!1},a)})))},a}(b.a),Object(d.a)(c,"propTypes",{params:f.a.object.isRequired,dispatch:f.a.func.isRequired,shouldUpdateScroll:f.a.func,accountIds:j.a.list,hasMore:f.a.bool,blockedBy:f.a.bool}),e=s))||e}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{679:function(a,t,o){"use strict";o.r(t),o.d(t,"default",function(){return _});var c,e,s,n=o(0),r=o(2),p=o(6),i=o(1),u=o(56),d=o.n(u),l=(o(3),o(21)),b=o(25),h=o(5),f=o.n(h),j=o(26),m=o.n(j),I=o(272),O=o(27),y=o(7),w=o(895),v=o(626),M=o(917),g=o(629),k=o(893),A=o(897),_=Object(l.connect)(function(a,t){return{isAccount:!!a.getIn(["accounts",t.params.accountId]),accountIds:a.getIn(["user_lists","followers",t.params.accountId,"items"]),hasMore:!!a.getIn(["user_lists","followers",t.params.accountId,"next"]),blockedBy:a.getIn(["relationships",t.params.accountId,"blocked_by"],!1)}})((s=e=function(e){function a(){for(var a,t=arguments.length,o=new Array(t),c=0;c<t;c++)o[c]=arguments[c];return a=e.call.apply(e,[this].concat(o))||this,Object(i.a)(Object(r.a)(a),"handleLoadMore",d()(function(){a.props.dispatch(Object(O.y)(a.props.params.accountId))},300,{leading:!0})),a}Object(p.a)(a,e);var t=a.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(O.A)(this.props.params.accountId)),this.props.dispatch(Object(O.C)(this.props.params.accountId))},t.componentWillReceiveProps=function(a){a.params.accountId!==this.props.params.accountId&&a.params.accountId&&(this.props.dispatch(Object(O.A)(a.params.accountId)),this.props.dispatch(Object(O.C)(a.params.accountId)))},t.render=function(){var a=this.props,t=a.shouldUpdateScroll,o=a.accountIds,c=a.hasMore,e=a.blockedBy;if(!a.isAccount)return Object(n.a)(v.a,{},void 0,Object(n.a)(A.a,{}));if(!o)return Object(n.a)(v.a,{},void 0,Object(n.a)(I.a,{}));var s=e?Object(n.a)(y.b,{id:"empty_column.account_unavailable",defaultMessage:"Profile unavailable"}):Object(n.a)(y.b,{id:"account.followers.empty",defaultMessage:"No one follows this user yet."});return Object(n.a)(v.a,{},void 0,Object(n.a)(g.a,{}),Object(n.a)(k.a,{scrollKey:"followers",hasMore:c,onLoadMore:this.handleLoadMore,shouldUpdateScroll:t,prepend:Object(n.a)(M.a,{accountId:this.props.params.accountId,hideTabs:!0}),alwaysPrepend:!0,emptyMessage:s},void 0,e?[]:o.map(function(a){return Object(n.a)(w.a,{id:a,withNote:!1},a)})))},a}(b.a),Object(i.a)(e,"propTypes",{params:f.a.object.isRequired,dispatch:f.a.func.isRequired,shouldUpdateScroll:f.a.func,accountIds:m.a.list,hasMore:f.a.bool,blockedBy:f.a.bool,isAccount:f.a.bool}),c=s))||c}}]);
|
||||
//# sourceMappingURL=followers.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{679:function(a,t,o){"use strict";o.r(t),o.d(t,"default",function(){return _});var e,c,n,s=o(0),r=o(3),p=o(7),i=o(1),d=o(56),u=o.n(d),l=(o(2),o(24)),b=o(25),h=o(5),f=o.n(h),m=o(27),j=o.n(m),I=o(272),O=o(26),y=o(6),w=o(891),g=o(625),M=o(913),v=o(628),k=o(889),_=Object(l.connect)(function(a,t){return{accountIds:a.getIn(["user_lists","following",t.params.accountId,"items"]),hasMore:!!a.getIn(["user_lists","following",t.params.accountId,"next"]),blockedBy:a.getIn(["relationships",t.params.accountId,"blocked_by"],!1)}})((n=c=function(c){function a(){for(var a,t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return a=c.call.apply(c,[this].concat(o))||this,Object(i.a)(Object(r.a)(a),"handleLoadMore",u()(function(){a.props.dispatch(Object(O.z)(a.props.params.accountId))},300,{leading:!0})),a}Object(p.a)(a,c);var t=a.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(O.A)(this.props.params.accountId)),this.props.dispatch(Object(O.D)(this.props.params.accountId))},t.componentWillReceiveProps=function(a){a.params.accountId!==this.props.params.accountId&&a.params.accountId&&(this.props.dispatch(Object(O.A)(a.params.accountId)),this.props.dispatch(Object(O.D)(a.params.accountId)))},t.render=function(){var a=this.props,t=a.shouldUpdateScroll,o=a.accountIds,e=a.hasMore,c=a.blockedBy;if(!o)return Object(s.a)(g.a,{},void 0,Object(s.a)(I.a,{}));var n=c?Object(s.a)(y.b,{id:"empty_column.account_timeline_blocked",defaultMessage:"You are blocked"}):Object(s.a)(y.b,{id:"account.follows.empty",defaultMessage:"This user doesn't follow anyone yet."});return Object(s.a)(g.a,{},void 0,Object(s.a)(v.a,{}),Object(s.a)(k.a,{scrollKey:"following",hasMore:e,onLoadMore:this.handleLoadMore,shouldUpdateScroll:t,prepend:Object(s.a)(M.a,{accountId:this.props.params.accountId,hideTabs:!0}),alwaysPrepend:!0,emptyMessage:n},void 0,c?[]:o.map(function(a){return Object(s.a)(w.a,{id:a,withNote:!1},a)})))},a}(b.a),Object(i.a)(c,"propTypes",{params:f.a.object.isRequired,dispatch:f.a.func.isRequired,shouldUpdateScroll:f.a.func,accountIds:j.a.list,hasMore:f.a.bool,blockedBy:f.a.bool}),e=n))||e}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{680:function(a,t,o){"use strict";o.r(t),o.d(t,"default",function(){return _});var c,e,n,s=o(0),r=o(2),p=o(6),i=o(1),u=o(56),d=o.n(u),l=(o(3),o(21)),b=o(25),h=o(5),f=o.n(h),j=o(26),m=o.n(j),I=o(272),O=o(27),y=o(7),w=o(895),g=o(626),v=o(917),M=o(629),k=o(893),A=o(897),_=Object(l.connect)(function(a,t){return{isAccount:!!a.getIn(["accounts",t.params.accountId]),accountIds:a.getIn(["user_lists","following",t.params.accountId,"items"]),hasMore:!!a.getIn(["user_lists","following",t.params.accountId,"next"]),blockedBy:a.getIn(["relationships",t.params.accountId,"blocked_by"],!1)}})((n=e=function(e){function a(){for(var a,t=arguments.length,o=new Array(t),c=0;c<t;c++)o[c]=arguments[c];return a=e.call.apply(e,[this].concat(o))||this,Object(i.a)(Object(r.a)(a),"handleLoadMore",d()(function(){a.props.dispatch(Object(O.z)(a.props.params.accountId))},300,{leading:!0})),a}Object(p.a)(a,e);var t=a.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(O.A)(this.props.params.accountId)),this.props.dispatch(Object(O.D)(this.props.params.accountId))},t.componentWillReceiveProps=function(a){a.params.accountId!==this.props.params.accountId&&a.params.accountId&&(this.props.dispatch(Object(O.A)(a.params.accountId)),this.props.dispatch(Object(O.D)(a.params.accountId)))},t.render=function(){var a=this.props,t=a.shouldUpdateScroll,o=a.accountIds,c=a.hasMore,e=a.blockedBy;if(!a.isAccount)return Object(s.a)(g.a,{},void 0,Object(s.a)(A.a,{}));if(!o)return Object(s.a)(g.a,{},void 0,Object(s.a)(I.a,{}));var n=e?Object(s.a)(y.b,{id:"empty_column.account_unavailable",defaultMessage:"Profile unavailable"}):Object(s.a)(y.b,{id:"account.follows.empty",defaultMessage:"This user doesn't follow anyone yet."});return Object(s.a)(g.a,{},void 0,Object(s.a)(M.a,{}),Object(s.a)(k.a,{scrollKey:"following",hasMore:c,onLoadMore:this.handleLoadMore,shouldUpdateScroll:t,prepend:Object(s.a)(v.a,{accountId:this.props.params.accountId,hideTabs:!0}),alwaysPrepend:!0,emptyMessage:n},void 0,e?[]:o.map(function(a){return Object(s.a)(w.a,{id:a,withNote:!1},a)})))},a}(b.a),Object(i.a)(e,"propTypes",{params:f.a.object.isRequired,dispatch:f.a.func.isRequired,shouldUpdateScroll:f.a.func,accountIds:m.a.list,hasMore:f.a.bool,blockedBy:f.a.bool,isAccount:f.a.bool}),c=n))||c}}]);
|
||||
//# sourceMappingURL=following.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{682:function(n,a,t){"use strict";t.r(a);var c=t(0),e=(t(2),t(625)),o=t(910);a.default=function(){return Object(c.a)(e.a,{},void 0,Object(c.a)(o.a,{}))}}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{683:function(n,a,t){"use strict";t.r(a);var c=t(0),e=(t(3),t(626)),o=t(897);a.default=function(){return Object(c.a)(e.a,{},void 0,Object(c.a)(o.a,{}))}}}]);
|
||||
//# sourceMappingURL=generic_not_found.js.map
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{699:function(t,e,n){"use strict";n.r(e);var i,a,c,o,s,r,d,u,l,p=n(0),f=n(7),b=n(1),v=(n(2),n(5)),j=n.n(v),O=n(27),m=n.n(O),_=n(24),R=n(25),g=n(6),I=n(31),h=n(61),N=n(48),q=Object(g.f)({remove:{id:"lists.account.remove",defaultMessage:"Remove from list"},add:{id:"lists.account.add",defaultMessage:"Add to list"}}),y=Object(_.connect)(function(t,e){var n=e.listId,i=e.added;return{list:t.get("lists").get(n),added:void 0===i?t.getIn(["listAdder","lists","items"]).includes(n):i}},function(t,e){var n=e.listId;return{onRemove:function(){return t(Object(I.J)(n))},onAdd:function(){return t(Object(I.A)(n))}}})(i=Object(g.g)((c=a=function(t){function e(){return t.apply(this,arguments)||this}return Object(f.a)(e,t),e.prototype.render=function(){var t,e=this.props,n=e.list,i=e.intl,a=e.onRemove,c=e.onAdd;return t=e.added?Object(p.a)(N.a,{icon:"times",title:i.formatMessage(q.remove),onClick:a}):Object(p.a)(N.a,{icon:"plus",title:i.formatMessage(q.add),onClick:c}),Object(p.a)("div",{className:"list"},void 0,Object(p.a)("div",{className:"list__wrapper"},void 0,Object(p.a)("div",{className:"list__display-name"},void 0,Object(p.a)("i",{className:"fa fa-fw fa-list-ul column-link__icon"}),n.get("title")),Object(p.a)("div",{className:"account__relationship"},void 0,t)))},e}(R.a),Object(b.a)(a,"propTypes",{list:m.a.map.isRequired,intl:j.a.object.isRequired,onRemove:j.a.func.isRequired,onAdd:j.a.func.isRequired,added:j.a.bool}),Object(b.a)(a,"defaultProps",{added:!1}),i=c))||i)||i,w=n(204),A=n(102),k=n(103),M=Object(_.connect)(function(){var i=Object(w.d)();return function(t,e){var n=e.accountId;return{account:i(t,n)}}})(o=Object(g.g)((r=s=function(t){function e(){return t.apply(this,arguments)||this}return Object(f.a)(e,t),e.prototype.render=function(){var t=this.props.account;return Object(p.a)("div",{className:"account"},void 0,Object(p.a)("div",{className:"account__wrapper"},void 0,Object(p.a)("div",{className:"account__display-name"},void 0,Object(p.a)("div",{className:"account__avatar-wrapper"},void 0,Object(p.a)(A.a,{account:t,size:36})),Object(p.a)(k.a,{account:t}))))},e}(R.a),Object(b.a)(s,"propTypes",{account:m.a.map.isRequired}),o=r))||o)||o,z=n(976);n.d(e,"default",function(){return J});var C=Object(h.a)([function(t){return t.get("lists")}],function(t){return t?t.toList().filter(function(t){return!!t}).sort(function(t,e){return t.get("title").localeCompare(e.get("title"))}):t}),J=Object(_.connect)(function(t){return{listIds:C(t).map(function(t){return t.get("id")})}},function(e){return{onInitialize:function(t){return e(Object(I.N)(t))},onReset:function(){return e(Object(I.L)())}}})(d=Object(g.g)((l=u=function(t){function e(){return t.apply(this,arguments)||this}Object(f.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){var t=this.props;(0,t.onInitialize)(t.accountId)},n.componentWillUnmount=function(){(0,this.props.onReset)()},n.render=function(){var t=this.props,e=t.accountId,n=t.listIds;return Object(p.a)("div",{className:"modal-root__modal list-adder"},void 0,Object(p.a)("div",{className:"list-adder__account"},void 0,Object(p.a)(M,{accountId:e})),Object(p.a)(z.a,{}),Object(p.a)("div",{className:"list-adder__lists"},void 0,n.map(function(t){return Object(p.a)(y,{listId:t},t)})))},e}(R.a),Object(b.a)(u,"propTypes",{accountId:j.a.string.isRequired,onClose:j.a.func.isRequired,intl:j.a.object.isRequired,onInitialize:j.a.func.isRequired,onReset:j.a.func.isRequired,listIds:m.a.list.isRequired}),d=l))||d)||d}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{700:function(t,e,n){"use strict";n.r(e);var i,a,c,o,s,r,d,u,l,p=n(0),f=n(6),b=n(1),v=(n(3),n(5)),j=n.n(v),O=n(26),m=n.n(O),_=n(21),R=n(25),g=n(7),I=n(31),h=n(61),N=n(48),q=Object(g.f)({remove:{id:"lists.account.remove",defaultMessage:"Remove from list"},add:{id:"lists.account.add",defaultMessage:"Add to list"}}),y=Object(_.connect)(function(t,e){var n=e.listId,i=e.added;return{list:t.get("lists").get(n),added:void 0===i?t.getIn(["listAdder","lists","items"]).includes(n):i}},function(t,e){var n=e.listId;return{onRemove:function(){return t(Object(I.J)(n))},onAdd:function(){return t(Object(I.A)(n))}}})(i=Object(g.g)((c=a=function(t){function e(){return t.apply(this,arguments)||this}return Object(f.a)(e,t),e.prototype.render=function(){var t,e=this.props,n=e.list,i=e.intl,a=e.onRemove,c=e.onAdd;return t=e.added?Object(p.a)(N.a,{icon:"times",title:i.formatMessage(q.remove),onClick:a}):Object(p.a)(N.a,{icon:"plus",title:i.formatMessage(q.add),onClick:c}),Object(p.a)("div",{className:"list"},void 0,Object(p.a)("div",{className:"list__wrapper"},void 0,Object(p.a)("div",{className:"list__display-name"},void 0,Object(p.a)("i",{className:"fa fa-fw fa-list-ul column-link__icon"}),n.get("title")),Object(p.a)("div",{className:"account__relationship"},void 0,t)))},e}(R.a),Object(b.a)(a,"propTypes",{list:m.a.map.isRequired,intl:j.a.object.isRequired,onRemove:j.a.func.isRequired,onAdd:j.a.func.isRequired,added:j.a.bool}),Object(b.a)(a,"defaultProps",{added:!1}),i=c))||i)||i,w=n(191),A=n(97),k=n(98),M=Object(_.connect)(function(){var i=Object(w.d)();return function(t,e){var n=e.accountId;return{account:i(t,n)}}})(o=Object(g.g)((r=s=function(t){function e(){return t.apply(this,arguments)||this}return Object(f.a)(e,t),e.prototype.render=function(){var t=this.props.account;return Object(p.a)("div",{className:"account"},void 0,Object(p.a)("div",{className:"account__wrapper"},void 0,Object(p.a)("div",{className:"account__display-name"},void 0,Object(p.a)("div",{className:"account__avatar-wrapper"},void 0,Object(p.a)(A.a,{account:t,size:36})),Object(p.a)(k.a,{account:t}))))},e}(R.a),Object(b.a)(s,"propTypes",{account:m.a.map.isRequired}),o=r))||o)||o,z=n(980);n.d(e,"default",function(){return J});var C=Object(h.a)([function(t){return t.get("lists")}],function(t){return t?t.toList().filter(function(t){return!!t}).sort(function(t,e){return t.get("title").localeCompare(e.get("title"))}):t}),J=Object(_.connect)(function(t){return{listIds:C(t).map(function(t){return t.get("id")})}},function(e){return{onInitialize:function(t){return e(Object(I.N)(t))},onReset:function(){return e(Object(I.L)())}}})(d=Object(g.g)((l=u=function(t){function e(){return t.apply(this,arguments)||this}Object(f.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){var t=this.props;(0,t.onInitialize)(t.accountId)},n.componentWillUnmount=function(){(0,this.props.onReset)()},n.render=function(){var t=this.props,e=t.accountId,n=t.listIds;return Object(p.a)("div",{className:"modal-root__modal list-adder"},void 0,Object(p.a)("div",{className:"list-adder__account"},void 0,Object(p.a)(M,{accountId:e})),Object(p.a)(z.a,{}),Object(p.a)("div",{className:"list-adder__lists"},void 0,n.map(function(t){return Object(p.a)(y,{listId:t},t)})))},e}(R.a),Object(b.a)(u,"propTypes",{accountId:j.a.string.isRequired,onClose:j.a.func.isRequired,intl:j.a.object.isRequired,onInitialize:j.a.func.isRequired,onReset:j.a.func.isRequired,listIds:m.a.list.isRequired}),d=l))||d)||d}}]);
|
||||
//# sourceMappingURL=list_adder.js.map
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{707:function(e,t,n){"use strict";n.r(t);var o,i,c=n(0),a=n(3),s=n(7),l=n(1),r=n(2),u=n.n(r),h=n(24),d=n(35),p=n(898),m=n(631),b=n(627),f=n(223),g=n(6),O=n(930),j=Object(g.g)(o=function(e){function t(){return e.apply(this,arguments)||this}return Object(s.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.settings,n=e.onChange;return Object(c.a)("div",{},void 0,Object(c.a)("span",{className:"column-settings__section"},void 0,Object(c.a)(g.b,{id:"home.column_settings.basic",defaultMessage:"Basic"})),Object(c.a)("div",{className:"column-settings__row"},void 0,Object(c.a)(O.a,{prefix:"home_timeline",settings:t,settingPath:["shows","reblog"],onChange:n,label:Object(c.a)(g.b,{id:"home.column_settings.show_reblogs",defaultMessage:"Show boosts"})})),Object(c.a)("div",{className:"column-settings__row"},void 0,Object(c.a)(O.a,{prefix:"home_timeline",settings:t,settingPath:["shows","reply"],onChange:n,label:Object(c.a)(g.b,{id:"home.column_settings.show_replies",defaultMessage:"Show replies"})})))},t}(u.a.PureComponent))||o,v=n(69),_=Object(h.connect)(function(e){return{settings:e.getIn(["settings","home"])}},function(n){return{onChange:function(e,t){n(Object(v.c)(["home"].concat(e),t))},onSave:function(){n(Object(v.d)())}}})(j),M=n(358);n.d(t,"default",function(){return P});var w=Object(g.f)({title:{id:"column.home",defaultMessage:"Home"}}),P=Object(h.connect)(function(e){return{hasUnread:0<e.getIn(["timelines","home","unread"]),isPartial:e.getIn(["timelines","home","isPartial"])}})(i=Object(g.g)(i=function(i){function e(){for(var o,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o=i.call.apply(i,[this].concat(t))||this,Object(l.a)(Object(a.a)(o),"handlePin",function(){var e=o.props,t=e.columnId,n=e.dispatch;n(t?Object(f.h)(t):Object(f.e)("HOME",{}))}),Object(l.a)(Object(a.a)(o),"handleMove",function(e){var t=o.props,n=t.columnId;(0,t.dispatch)(Object(f.g)(n,e))}),Object(l.a)(Object(a.a)(o),"handleHeaderClick",function(){o.column.scrollTop()}),Object(l.a)(Object(a.a)(o),"setRef",function(e){o.column=e}),Object(l.a)(Object(a.a)(o),"handleLoadMore",function(e){o.props.dispatch(Object(d.s)({maxId:e}))}),o}Object(s.a)(e,i);var t=e.prototype;return t.componentDidMount=function(){this._checkIfReloadNeeded(!1,this.props.isPartial)},t.componentDidUpdate=function(e){this._checkIfReloadNeeded(e.isPartial,this.props.isPartial)},t.componentWillUnmount=function(){this._stopPolling()},t._checkIfReloadNeeded=function(e,t){var n=this.props.dispatch;e!==t&&(!e&&t?this.polling=setInterval(function(){n(Object(d.s)())},3e3):e&&!t&&this._stopPolling())},t._stopPolling=function(){this.polling&&(clearInterval(this.polling),this.polling=null)},t.render=function(){var e=this.props,t=e.intl,n=e.shouldUpdateScroll,o=e.hasUnread,i=e.columnId,a=e.multiColumn,s=!!i;return u.a.createElement(m.a,{ref:this.setRef,label:t.formatMessage(w.title)},Object(c.a)(b.a,{icon:"home",active:o,title:t.formatMessage(w.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:s,multiColumn:a},void 0,Object(c.a)(_,{})),Object(c.a)(p.a,{trackScroll:!s,scrollKey:"home_timeline-"+i,onLoadMore:this.handleLoadMore,timelineId:"home",emptyMessage:Object(c.a)(g.b,{id:"empty_column.home",defaultMessage:"Your home timeline is empty! Visit {public} or use search to get started and meet other users.",values:{public:Object(c.a)(M.a,{to:"/timelines/public"},void 0,Object(c.a)(g.b,{id:"empty_column.home.public_timeline",defaultMessage:"the public timeline"}))}}),shouldUpdateScroll:n}))},e}(u.a.PureComponent))||i)||i}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{702:function(e,t,n){"use strict";n.r(t);var o,i,c=n(0),a=n(2),s=n(6),l=n(1),r=n(3),u=n.n(r),h=n(21),d=n(35),p=n(904),m=n(633),b=n(628),f=n(222),g=n(7),O=n(933),j=Object(g.g)(o=function(e){function t(){return e.apply(this,arguments)||this}return Object(s.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.settings,n=e.onChange;return Object(c.a)("div",{},void 0,Object(c.a)("span",{className:"column-settings__section"},void 0,Object(c.a)(g.b,{id:"home.column_settings.basic",defaultMessage:"Basic"})),Object(c.a)("div",{className:"column-settings__row"},void 0,Object(c.a)(O.a,{prefix:"home_timeline",settings:t,settingPath:["shows","reblog"],onChange:n,label:Object(c.a)(g.b,{id:"home.column_settings.show_reblogs",defaultMessage:"Show boosts"})})),Object(c.a)("div",{className:"column-settings__row"},void 0,Object(c.a)(O.a,{prefix:"home_timeline",settings:t,settingPath:["shows","reply"],onChange:n,label:Object(c.a)(g.b,{id:"home.column_settings.show_replies",defaultMessage:"Show replies"})})))},t}(u.a.PureComponent))||o,v=n(70),_=Object(h.connect)(function(e){return{settings:e.getIn(["settings","home"])}},function(n){return{onChange:function(e,t){n(Object(v.c)(["home"].concat(e),t))},onSave:function(){n(Object(v.d)())}}})(j),M=n(358);n.d(t,"default",function(){return P});var w=Object(g.f)({title:{id:"column.home",defaultMessage:"Home"}}),P=Object(h.connect)(function(e){return{hasUnread:0<e.getIn(["timelines","home","unread"]),isPartial:e.getIn(["timelines","home","isPartial"])}})(i=Object(g.g)(i=function(i){function e(){for(var o,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o=i.call.apply(i,[this].concat(t))||this,Object(l.a)(Object(a.a)(o),"handlePin",function(){var e=o.props,t=e.columnId,n=e.dispatch;n(t?Object(f.h)(t):Object(f.e)("HOME",{}))}),Object(l.a)(Object(a.a)(o),"handleMove",function(e){var t=o.props,n=t.columnId;(0,t.dispatch)(Object(f.g)(n,e))}),Object(l.a)(Object(a.a)(o),"handleHeaderClick",function(){o.column.scrollTop()}),Object(l.a)(Object(a.a)(o),"setRef",function(e){o.column=e}),Object(l.a)(Object(a.a)(o),"handleLoadMore",function(e){o.props.dispatch(Object(d.s)({maxId:e}))}),o}Object(s.a)(e,i);var t=e.prototype;return t.componentDidMount=function(){this._checkIfReloadNeeded(!1,this.props.isPartial)},t.componentDidUpdate=function(e){this._checkIfReloadNeeded(e.isPartial,this.props.isPartial)},t.componentWillUnmount=function(){this._stopPolling()},t._checkIfReloadNeeded=function(e,t){var n=this.props.dispatch;e!==t&&(!e&&t?this.polling=setInterval(function(){n(Object(d.s)())},3e3):e&&!t&&this._stopPolling())},t._stopPolling=function(){this.polling&&(clearInterval(this.polling),this.polling=null)},t.render=function(){var e=this.props,t=e.intl,n=e.shouldUpdateScroll,o=e.hasUnread,i=e.columnId,a=e.multiColumn,s=!!i;return u.a.createElement(m.a,{ref:this.setRef,label:t.formatMessage(w.title)},Object(c.a)(b.a,{icon:"home",active:o,title:t.formatMessage(w.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:s,multiColumn:a},void 0,Object(c.a)(_,{})),Object(c.a)(p.a,{trackScroll:!s,scrollKey:"home_timeline-"+i,onLoadMore:this.handleLoadMore,timelineId:"home",emptyMessage:Object(c.a)(g.b,{id:"empty_column.home",defaultMessage:"Your home timeline is empty! Visit {public} or use search to get started and meet other users.",values:{public:Object(c.a)(M.a,{to:"/timelines/public"},void 0,Object(c.a)(g.b,{id:"empty_column.home.public_timeline",defaultMessage:"the public timeline"}))}}),shouldUpdateScroll:n}))},e}(u.a.PureComponent))||i)||i}}]);
|
||||
//# sourceMappingURL=home_timeline.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{704:function(t,e,n){"use strict";n.r(e);var i,a,c,o,s,r,d,u,l,p=n(0),b=n(7),f=n(1),v=(n(2),n(5)),j=n.n(v),O=n(27),m=n.n(O),_=n(24),R=n(25),g=n(6),I=n(32),h=n(61),N=n(67),q=n(30),y=Object(g.f)({remove:{id:"lists.account.remove",defaultMessage:"Remove from list"},add:{id:"lists.account.add",defaultMessage:"Add to list"}}),w=Object(_.connect)(function(t,e){var n=e.listId,i=e.added;return{list:t.get("lists").get(n),added:void 0===i?t.getIn(["listAdder","lists","items"]).includes(n):i}},function(t,e){var n=e.listId;return{onRemove:function(){return t(Object(I.J)(n))},onAdd:function(){return t(Object(I.A)(n))}}})(i=Object(g.g)((c=a=function(t){function e(){return t.apply(this,arguments)||this}return Object(b.a)(e,t),e.prototype.render=function(){var t,e=this.props,n=e.list,i=e.intl,a=e.onRemove,c=e.onAdd;return t=e.added?Object(p.a)(N.a,{icon:"times",title:i.formatMessage(y.remove),onClick:a}):Object(p.a)(N.a,{icon:"plus",title:i.formatMessage(y.add),onClick:c}),Object(p.a)("div",{className:"list"},void 0,Object(p.a)("div",{className:"list__wrapper"},void 0,Object(p.a)("div",{className:"list__display-name"},void 0,Object(p.a)(q.a,{id:"list-ul",className:"column-link__icon",fixedWidth:!0}),n.get("title")),Object(p.a)("div",{className:"account__relationship"},void 0,t)))},e}(R.a),Object(f.a)(a,"propTypes",{list:m.a.map.isRequired,intl:j.a.object.isRequired,onRemove:j.a.func.isRequired,onAdd:j.a.func.isRequired,added:j.a.bool}),Object(f.a)(a,"defaultProps",{added:!1}),i=c))||i)||i,A=n(199),k=n(193),M=n(194),z=Object(_.connect)(function(){var i=Object(A.d)();return function(t,e){var n=e.accountId;return{account:i(t,n)}}})(o=Object(g.g)((r=s=function(t){function e(){return t.apply(this,arguments)||this}return Object(b.a)(e,t),e.prototype.render=function(){var t=this.props.account;return Object(p.a)("div",{className:"account"},void 0,Object(p.a)("div",{className:"account__wrapper"},void 0,Object(p.a)("div",{className:"account__display-name"},void 0,Object(p.a)("div",{className:"account__avatar-wrapper"},void 0,Object(p.a)(k.a,{account:t,size:36})),Object(p.a)(M.a,{account:t}))))},e}(R.a),Object(f.a)(s,"propTypes",{account:m.a.map.isRequired}),o=r))||o)||o,C=n(986);n.d(e,"default",function(){return T});var J=Object(h.a)([function(t){return t.get("lists")}],function(t){return t?t.toList().filter(function(t){return!!t}).sort(function(t,e){return t.get("title").localeCompare(e.get("title"))}):t}),T=Object(_.connect)(function(t){return{listIds:J(t).map(function(t){return t.get("id")})}},function(e){return{onInitialize:function(t){return e(Object(I.N)(t))},onReset:function(){return e(Object(I.L)())}}})(d=Object(g.g)((l=u=function(t){function e(){return t.apply(this,arguments)||this}Object(b.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){var t=this.props;(0,t.onInitialize)(t.accountId)},n.componentWillUnmount=function(){(0,this.props.onReset)()},n.render=function(){var t=this.props,e=t.accountId,n=t.listIds;return Object(p.a)("div",{className:"modal-root__modal list-adder"},void 0,Object(p.a)("div",{className:"list-adder__account"},void 0,Object(p.a)(z,{accountId:e})),Object(p.a)(C.a,{}),Object(p.a)("div",{className:"list-adder__lists"},void 0,n.map(function(t){return Object(p.a)(w,{listId:t},t)})))},e}(R.a),Object(f.a)(u,"propTypes",{accountId:j.a.string.isRequired,onClose:j.a.func.isRequired,intl:j.a.object.isRequired,onInitialize:j.a.func.isRequired,onReset:j.a.func.isRequired,listIds:m.a.list.isRequired}),d=l))||d)||d}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{709:function(t,e,n){"use strict";n.r(e);var i,a,c,o,s,r,d,u,l,p=n(0),b=n(6),f=n(1),v=(n(3),n(5)),j=n.n(v),O=n(26),m=n.n(O),_=n(21),R=n(25),g=n(7),I=n(32),h=n(61),N=n(67),q=n(30),y=Object(g.f)({remove:{id:"lists.account.remove",defaultMessage:"Remove from list"},add:{id:"lists.account.add",defaultMessage:"Add to list"}}),w=Object(_.connect)(function(t,e){var n=e.listId,i=e.added;return{list:t.get("lists").get(n),added:void 0===i?t.getIn(["listAdder","lists","items"]).includes(n):i}},function(t,e){var n=e.listId;return{onRemove:function(){return t(Object(I.J)(n))},onAdd:function(){return t(Object(I.A)(n))}}})(i=Object(g.g)((c=a=function(t){function e(){return t.apply(this,arguments)||this}return Object(b.a)(e,t),e.prototype.render=function(){var t,e=this.props,n=e.list,i=e.intl,a=e.onRemove,c=e.onAdd;return t=e.added?Object(p.a)(N.a,{icon:"times",title:i.formatMessage(y.remove),onClick:a}):Object(p.a)(N.a,{icon:"plus",title:i.formatMessage(y.add),onClick:c}),Object(p.a)("div",{className:"list"},void 0,Object(p.a)("div",{className:"list__wrapper"},void 0,Object(p.a)("div",{className:"list__display-name"},void 0,Object(p.a)(q.a,{id:"list-ul",className:"column-link__icon",fixedWidth:!0}),n.get("title")),Object(p.a)("div",{className:"account__relationship"},void 0,t)))},e}(R.a),Object(f.a)(a,"propTypes",{list:m.a.map.isRequired,intl:j.a.object.isRequired,onRemove:j.a.func.isRequired,onAdd:j.a.func.isRequired,added:j.a.bool}),Object(f.a)(a,"defaultProps",{added:!1}),i=c))||i)||i,A=n(200),k=n(194),M=n(195),z=Object(_.connect)(function(){var i=Object(A.d)();return function(t,e){var n=e.accountId;return{account:i(t,n)}}})(o=Object(g.g)((r=s=function(t){function e(){return t.apply(this,arguments)||this}return Object(b.a)(e,t),e.prototype.render=function(){var t=this.props.account;return Object(p.a)("div",{className:"account"},void 0,Object(p.a)("div",{className:"account__wrapper"},void 0,Object(p.a)("div",{className:"account__display-name"},void 0,Object(p.a)("div",{className:"account__avatar-wrapper"},void 0,Object(p.a)(k.a,{account:t,size:36})),Object(p.a)(M.a,{account:t}))))},e}(R.a),Object(f.a)(s,"propTypes",{account:m.a.map.isRequired}),o=r))||o)||o,C=n(990);n.d(e,"default",function(){return T});var J=Object(h.a)([function(t){return t.get("lists")}],function(t){return t?t.toList().filter(function(t){return!!t}).sort(function(t,e){return t.get("title").localeCompare(e.get("title"))}):t}),T=Object(_.connect)(function(t){return{listIds:J(t).map(function(t){return t.get("id")})}},function(e){return{onInitialize:function(t){return e(Object(I.N)(t))},onReset:function(){return e(Object(I.L)())}}})(d=Object(g.g)((l=u=function(t){function e(){return t.apply(this,arguments)||this}Object(b.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){var t=this.props;(0,t.onInitialize)(t.accountId)},n.componentWillUnmount=function(){(0,this.props.onReset)()},n.render=function(){var t=this.props,e=t.accountId,n=t.listIds;return Object(p.a)("div",{className:"modal-root__modal list-adder"},void 0,Object(p.a)("div",{className:"list-adder__account"},void 0,Object(p.a)(z,{accountId:e})),Object(p.a)(C.a,{}),Object(p.a)("div",{className:"list-adder__lists"},void 0,n.map(function(t){return Object(p.a)(w,{listId:t},t)})))},e}(R.a),Object(f.a)(u,"propTypes",{accountId:j.a.string.isRequired,onClose:j.a.func.isRequired,intl:j.a.object.isRequired,onInitialize:j.a.func.isRequired,onReset:j.a.func.isRequired,listIds:m.a.list.isRequired}),d=l))||d)||d}}]);
|
||||
//# sourceMappingURL=list_adder.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{672:function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return D});var n,i,s,d=a(0),c=a(3),o=a(7),l=a(1),r=a(2),p=a.n(r),b=a(24),u=a(5),h=a.n(u),m=a(898),O=a(631),j=a(628),f=a(627),v=a(223),g=a(6),M=a(633),C=a(35),I=a(32),y=a(57),k=a(910),_=a(272),w=a(30),x=Object(g.f)({deleteMessage:{id:"confirmations.delete_list.message",defaultMessage:"Are you sure you want to permanently delete this list?"},deleteConfirm:{id:"confirmations.delete_list.confirm",defaultMessage:"Delete"}}),D=Object(b.connect)(function(e,t){return{list:e.getIn(["lists",t.params.id]),hasUnread:0<e.getIn(["timelines","list:"+t.params.id,"unread"])}})(n=Object(g.g)((s=i=function(n){function e(){for(var s,e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return s=n.call.apply(n,[this].concat(t))||this,Object(l.a)(Object(c.a)(s),"handlePin",function(){var e=s.props,t=e.columnId,a=e.dispatch;t?a(Object(v.h)(t)):(a(Object(v.e)("LIST",{id:s.props.params.id})),s.context.router.history.push("/"))}),Object(l.a)(Object(c.a)(s),"handleMove",function(e){var t=s.props,a=t.columnId;(0,t.dispatch)(Object(v.g)(a,e))}),Object(l.a)(Object(c.a)(s),"handleHeaderClick",function(){s.column.scrollTop()}),Object(l.a)(Object(c.a)(s),"setRef",function(e){s.column=e}),Object(l.a)(Object(c.a)(s),"handleLoadMore",function(e){var t=s.props.params.id;s.props.dispatch(Object(C.t)(t,{maxId:e}))}),Object(l.a)(Object(c.a)(s),"handleEditClick",function(){s.props.dispatch(Object(y.d)("LIST_EDITOR",{listId:s.props.params.id}))}),Object(l.a)(Object(c.a)(s),"handleDeleteClick",function(){var e=s.props,t=e.dispatch,a=e.columnId,n=e.intl,i=s.props.params.id;t(Object(y.d)("CONFIRM",{message:n.formatMessage(x.deleteMessage),confirm:n.formatMessage(x.deleteConfirm),onConfirm:function(){t(Object(I.F)(i)),a?t(Object(v.h)(a)):s.context.router.history.push("/lists")}}))}),s}Object(o.a)(e,n);var t=e.prototype;return t.componentDidMount=function(){var e=this.props.dispatch,t=this.props.params.id;e(Object(I.G)(t)),e(Object(C.t)(t)),this.disconnect=e(Object(M.d)(t))},t.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},t.render=function(){var e=this.props,t=e.shouldUpdateScroll,a=e.hasUnread,n=e.columnId,i=e.multiColumn,s=e.list,c=this.props.params.id,o=!!n,l=s?s.get("title"):c;return void 0===s?Object(d.a)(O.a,{},void 0,Object(d.a)("div",{className:"scrollable"},void 0,Object(d.a)(_.a,{}))):!1===s?Object(d.a)(O.a,{},void 0,Object(d.a)(j.a,{}),Object(d.a)(k.a,{})):p.a.createElement(O.a,{ref:this.setRef,label:l},Object(d.a)(f.a,{icon:"list-ul",active:a,title:l,onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:o,multiColumn:i},void 0,Object(d.a)("div",{className:"column-header__links"},void 0,Object(d.a)("button",{className:"text-btn column-header__setting-btn",tabIndex:"0",onClick:this.handleEditClick},void 0,Object(d.a)(w.a,{id:"pencil"})," ",Object(d.a)(g.b,{id:"lists.edit",defaultMessage:"Edit list"})),Object(d.a)("button",{className:"text-btn column-header__setting-btn",tabIndex:"0",onClick:this.handleDeleteClick},void 0,Object(d.a)(w.a,{id:"trash"})," ",Object(d.a)(g.b,{id:"lists.delete",defaultMessage:"Delete list"}))),Object(d.a)("hr",{})),Object(d.a)(m.a,{trackScroll:!o,scrollKey:"list_timeline-"+n,timelineId:"list:"+c,onLoadMore:this.handleLoadMore,emptyMessage:Object(d.a)(g.b,{id:"empty_column.list",defaultMessage:"There is nothing in this list yet. When members of this list post new statuses, they will appear here."}),shouldUpdateScroll:t}))},e}(p.a.PureComponent),Object(l.a)(i,"contextTypes",{router:h.a.object}),n=s))||n)||n}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{673:function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return D});var n,i,s,d=a(0),c=a(2),o=a(6),l=a(1),r=a(3),p=a.n(r),b=a(21),u=a(5),h=a.n(u),m=a(904),O=a(633),j=a(629),f=a(628),v=a(222),g=a(7),M=a(635),C=a(35),I=a(32),y=a(57),k=a(897),_=a(272),w=a(30),x=Object(g.f)({deleteMessage:{id:"confirmations.delete_list.message",defaultMessage:"Are you sure you want to permanently delete this list?"},deleteConfirm:{id:"confirmations.delete_list.confirm",defaultMessage:"Delete"}}),D=Object(b.connect)(function(e,t){return{list:e.getIn(["lists",t.params.id]),hasUnread:0<e.getIn(["timelines","list:"+t.params.id,"unread"])}})(n=Object(g.g)((s=i=function(n){function e(){for(var s,e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return s=n.call.apply(n,[this].concat(t))||this,Object(l.a)(Object(c.a)(s),"handlePin",function(){var e=s.props,t=e.columnId,a=e.dispatch;t?a(Object(v.h)(t)):(a(Object(v.e)("LIST",{id:s.props.params.id})),s.context.router.history.push("/"))}),Object(l.a)(Object(c.a)(s),"handleMove",function(e){var t=s.props,a=t.columnId;(0,t.dispatch)(Object(v.g)(a,e))}),Object(l.a)(Object(c.a)(s),"handleHeaderClick",function(){s.column.scrollTop()}),Object(l.a)(Object(c.a)(s),"setRef",function(e){s.column=e}),Object(l.a)(Object(c.a)(s),"handleLoadMore",function(e){var t=s.props.params.id;s.props.dispatch(Object(C.t)(t,{maxId:e}))}),Object(l.a)(Object(c.a)(s),"handleEditClick",function(){s.props.dispatch(Object(y.d)("LIST_EDITOR",{listId:s.props.params.id}))}),Object(l.a)(Object(c.a)(s),"handleDeleteClick",function(){var e=s.props,t=e.dispatch,a=e.columnId,n=e.intl,i=s.props.params.id;t(Object(y.d)("CONFIRM",{message:n.formatMessage(x.deleteMessage),confirm:n.formatMessage(x.deleteConfirm),onConfirm:function(){t(Object(I.F)(i)),a?t(Object(v.h)(a)):s.context.router.history.push("/lists")}}))}),s}Object(o.a)(e,n);var t=e.prototype;return t.componentDidMount=function(){var e=this.props.dispatch,t=this.props.params.id;e(Object(I.G)(t)),e(Object(C.t)(t)),this.disconnect=e(Object(M.d)(t))},t.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},t.render=function(){var e=this.props,t=e.shouldUpdateScroll,a=e.hasUnread,n=e.columnId,i=e.multiColumn,s=e.list,c=this.props.params.id,o=!!n,l=s?s.get("title"):c;return void 0===s?Object(d.a)(O.a,{},void 0,Object(d.a)("div",{className:"scrollable"},void 0,Object(d.a)(_.a,{}))):!1===s?Object(d.a)(O.a,{},void 0,Object(d.a)(j.a,{}),Object(d.a)(k.a,{})):p.a.createElement(O.a,{ref:this.setRef,label:l},Object(d.a)(f.a,{icon:"list-ul",active:a,title:l,onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:o,multiColumn:i},void 0,Object(d.a)("div",{className:"column-header__links"},void 0,Object(d.a)("button",{className:"text-btn column-header__setting-btn",tabIndex:"0",onClick:this.handleEditClick},void 0,Object(d.a)(w.a,{id:"pencil"})," ",Object(d.a)(g.b,{id:"lists.edit",defaultMessage:"Edit list"})),Object(d.a)("button",{className:"text-btn column-header__setting-btn",tabIndex:"0",onClick:this.handleDeleteClick},void 0,Object(d.a)(w.a,{id:"trash"})," ",Object(d.a)(g.b,{id:"lists.delete",defaultMessage:"Delete list"}))),Object(d.a)("hr",{})),Object(d.a)(m.a,{trackScroll:!o,scrollKey:"list_timeline-"+n,timelineId:"list:"+c,onLoadMore:this.handleLoadMore,emptyMessage:Object(d.a)(g.b,{id:"empty_column.list",defaultMessage:"There is nothing in this list yet. When members of this list post new statuses, they will appear here."}),shouldUpdateScroll:t}))},e}(p.a.PureComponent),Object(l.a)(i,"contextTypes",{router:h.a.object}),n=s))||n)||n}}]);
|
||||
//# sourceMappingURL=list_timeline.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{673:function(t,e,i){"use strict";i.r(e),i.d(e,"default",function(){return x});var s,n,a,o=i(0),r=i(7),c=i(1),u=(i(2),i(24)),l=i(5),d=i.n(l),p=i(27),b=i.n(p),f=i(272),g=i(625),h=i(632),j=i(32),O=i(6),m=i(25),y=i(984),v=i(985),w=i(986),M=i(61),q=i(889),R=Object(O.f)({heading:{id:"column.lists",defaultMessage:"Lists"},subheading:{id:"lists.subheading",defaultMessage:"Your lists"}}),k=Object(M.a)([function(t){return t.get("lists")}],function(t){return t?t.toList().filter(function(t){return!!t}).sort(function(t,e){return t.get("title").localeCompare(e.get("title"))}):t}),x=Object(u.connect)(function(t){return{lists:k(t)}})(s=Object(O.g)((a=n=function(t){function e(){return t.apply(this,arguments)||this}Object(r.a)(e,t);var i=e.prototype;return i.componentWillMount=function(){this.props.dispatch(Object(j.I)())},i.render=function(){var t=this.props,e=t.intl,i=t.shouldUpdateScroll,s=t.lists;if(!s)return Object(o.a)(g.a,{},void 0,Object(o.a)(f.a,{}));var n=Object(o.a)(O.b,{id:"empty_column.lists",defaultMessage:"You don't have any lists yet. When you create one, it will show up here."});return Object(o.a)(g.a,{icon:"list-ul",heading:e.formatMessage(R.heading)},void 0,Object(o.a)(h.a,{}),Object(o.a)(w.a,{}),Object(o.a)(v.a,{text:e.formatMessage(R.subheading)}),Object(o.a)(q.a,{scrollKey:"lists",shouldUpdateScroll:i,emptyMessage:n},void 0,s.map(function(t){return Object(o.a)(y.a,{to:"/timelines/list/"+t.get("id"),icon:"list-ul",text:t.get("title")},t.get("id"))})))},e}(m.a),Object(c.a)(n,"propTypes",{params:d.a.object.isRequired,dispatch:d.a.func.isRequired,lists:b.a.list,intl:d.a.object.isRequired}),s=a))||s)||s}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{674:function(t,e,i){"use strict";i.r(e),i.d(e,"default",function(){return x});var s,n,a,o=i(0),r=i(6),c=i(1),u=(i(3),i(21)),l=i(5),d=i.n(l),p=i(26),b=i.n(p),f=i(272),g=i(626),h=i(634),j=i(32),O=i(7),m=i(25),y=i(988),v=i(989),w=i(990),M=i(61),q=i(893),R=Object(O.f)({heading:{id:"column.lists",defaultMessage:"Lists"},subheading:{id:"lists.subheading",defaultMessage:"Your lists"}}),k=Object(M.a)([function(t){return t.get("lists")}],function(t){return t?t.toList().filter(function(t){return!!t}).sort(function(t,e){return t.get("title").localeCompare(e.get("title"))}):t}),x=Object(u.connect)(function(t){return{lists:k(t)}})(s=Object(O.g)((a=n=function(t){function e(){return t.apply(this,arguments)||this}Object(r.a)(e,t);var i=e.prototype;return i.componentWillMount=function(){this.props.dispatch(Object(j.I)())},i.render=function(){var t=this.props,e=t.intl,i=t.shouldUpdateScroll,s=t.lists;if(!s)return Object(o.a)(g.a,{},void 0,Object(o.a)(f.a,{}));var n=Object(o.a)(O.b,{id:"empty_column.lists",defaultMessage:"You don't have any lists yet. When you create one, it will show up here."});return Object(o.a)(g.a,{icon:"list-ul",heading:e.formatMessage(R.heading)},void 0,Object(o.a)(h.a,{}),Object(o.a)(w.a,{}),Object(o.a)(v.a,{text:e.formatMessage(R.subheading)}),Object(o.a)(q.a,{scrollKey:"lists",shouldUpdateScroll:i,emptyMessage:n},void 0,s.map(function(t){return Object(o.a)(y.a,{to:"/timelines/list/"+t.get("id"),icon:"list-ul",text:t.get("title")},t.get("id"))})))},e}(m.a),Object(c.a)(n,"propTypes",{params:d.a.object.isRequired,dispatch:d.a.func.isRequired,lists:b.a.list,intl:d.a.object.isRequired}),s=a))||s)||s}}]);
|
||||
//# sourceMappingURL=lists.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{685:function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return L});var n,o,s,c=a(0),r=a(3),u=a(7),i=a(1),d=a(56),l=a.n(d),p=(a(2),a(24)),h=a(6),b=a(25),f=a(5),j=a.n(f),m=a(27),O=a.n(m),M=a(272),g=a(625),v=a(632),y=a(891),w=a(195),I=a(889),q=Object(h.f)({heading:{id:"column.mutes",defaultMessage:"Muted users"}}),L=Object(p.connect)(function(e){return{accountIds:e.getIn(["user_lists","mutes","items"]),hasMore:!!e.getIn(["user_lists","mutes","next"])}})(n=Object(h.g)((s=o=function(o){function e(){for(var e,t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];return e=o.call.apply(o,[this].concat(a))||this,Object(i.a)(Object(r.a)(e),"handleLoadMore",l()(function(){e.props.dispatch(Object(w.e)())},300,{leading:!0})),e}Object(u.a)(e,o);var t=e.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(w.f)())},t.render=function(){var e=this.props,t=e.intl,a=e.shouldUpdateScroll,n=e.hasMore,o=e.accountIds;if(!o)return Object(c.a)(g.a,{},void 0,Object(c.a)(M.a,{}));var s=Object(c.a)(h.b,{id:"empty_column.mutes",defaultMessage:"You haven't muted any users yet."});return Object(c.a)(g.a,{icon:"volume-off",heading:t.formatMessage(q.heading)},void 0,Object(c.a)(v.a,{}),Object(c.a)(I.a,{scrollKey:"mutes",onLoadMore:this.handleLoadMore,hasMore:n,shouldUpdateScroll:a,emptyMessage:s},void 0,o.map(function(e){return Object(c.a)(y.a,{id:e},e)})))},e}(b.a),Object(i.a)(o,"propTypes",{params:j.a.object.isRequired,dispatch:j.a.func.isRequired,shouldUpdateScroll:j.a.func,hasMore:j.a.bool,accountIds:O.a.list,intl:j.a.object.isRequired}),n=s))||n)||n}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{686:function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return L});var n,o,s,c=a(0),r=a(2),u=a(6),i=a(1),d=a(56),l=a.n(d),p=(a(3),a(21)),h=a(7),b=a(25),f=a(5),j=a.n(f),m=a(26),O=a.n(m),M=a(272),g=a(626),v=a(634),y=a(895),w=a(196),I=a(893),q=Object(h.f)({heading:{id:"column.mutes",defaultMessage:"Muted users"}}),L=Object(p.connect)(function(e){return{accountIds:e.getIn(["user_lists","mutes","items"]),hasMore:!!e.getIn(["user_lists","mutes","next"])}})(n=Object(h.g)((s=o=function(o){function e(){for(var e,t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];return e=o.call.apply(o,[this].concat(a))||this,Object(i.a)(Object(r.a)(e),"handleLoadMore",l()(function(){e.props.dispatch(Object(w.e)())},300,{leading:!0})),e}Object(u.a)(e,o);var t=e.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(w.f)())},t.render=function(){var e=this.props,t=e.intl,a=e.shouldUpdateScroll,n=e.hasMore,o=e.accountIds;if(!o)return Object(c.a)(g.a,{},void 0,Object(c.a)(M.a,{}));var s=Object(c.a)(h.b,{id:"empty_column.mutes",defaultMessage:"You haven't muted any users yet."});return Object(c.a)(g.a,{icon:"volume-off",heading:t.formatMessage(q.heading)},void 0,Object(c.a)(v.a,{}),Object(c.a)(I.a,{scrollKey:"mutes",onLoadMore:this.handleLoadMore,hasMore:n,shouldUpdateScroll:a,emptyMessage:s},void 0,o.map(function(e){return Object(c.a)(y.a,{id:e},e)})))},e}(b.a),Object(i.a)(o,"propTypes",{params:j.a.object.isRequired,dispatch:j.a.func.isRequired,shouldUpdateScroll:j.a.func,hasMore:j.a.bool,accountIds:O.a.list,intl:j.a.object.isRequired}),n=s))||n)||n}}]);
|
||||
//# sourceMappingURL=mutes.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{676:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return y});var s,a,c,o=n(0),i=n(3),r=n(7),u=n(1),l=n(2),d=n.n(l),p=n(24),h=n(5),f=n.n(h),b=n(27),j=n.n(b),O=n(393),g=n(625),m=n(632),w=n(909),M=n(6),I=n(25),R=Object(M.f)({heading:{id:"column.pins",defaultMessage:"Pinned toot"}}),y=Object(p.connect)(function(t){return{statusIds:t.getIn(["status_lists","pins","items"]),hasMore:!!t.getIn(["status_lists","pins","next"])}})(s=Object(M.g)((c=a=function(a){function t(){for(var e,t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return e=a.call.apply(a,[this].concat(n))||this,Object(u.a)(Object(i.a)(e),"handleHeaderClick",function(){e.column.scrollTop()}),Object(u.a)(Object(i.a)(e),"setRef",function(t){e.column=t}),e}Object(r.a)(t,a);var e=t.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(O.b)())},e.render=function(){var t=this.props,e=t.intl,n=t.shouldUpdateScroll,s=t.statusIds,a=t.hasMore;return d.a.createElement(g.a,{icon:"thumb-tack",heading:e.formatMessage(R.heading),ref:this.setRef},Object(o.a)(m.a,{}),Object(o.a)(w.a,{statusIds:s,scrollKey:"pinned_statuses",hasMore:a,shouldUpdateScroll:n}))},t}(I.a),Object(u.a)(a,"propTypes",{dispatch:f.a.func.isRequired,shouldUpdateScroll:f.a.func,statusIds:j.a.list.isRequired,intl:f.a.object.isRequired,hasMore:f.a.bool.isRequired}),s=c))||s)||s}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{677:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return y});var s,a,c,o=n(0),i=n(2),r=n(6),u=n(1),l=n(3),d=n.n(l),p=n(21),h=n(5),f=n.n(h),b=n(26),j=n.n(b),O=n(394),g=n(626),m=n(634),w=n(914),M=n(7),I=n(25),R=Object(M.f)({heading:{id:"column.pins",defaultMessage:"Pinned toot"}}),y=Object(p.connect)(function(t){return{statusIds:t.getIn(["status_lists","pins","items"]),hasMore:!!t.getIn(["status_lists","pins","next"])}})(s=Object(M.g)((c=a=function(a){function t(){for(var e,t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return e=a.call.apply(a,[this].concat(n))||this,Object(u.a)(Object(i.a)(e),"handleHeaderClick",function(){e.column.scrollTop()}),Object(u.a)(Object(i.a)(e),"setRef",function(t){e.column=t}),e}Object(r.a)(t,a);var e=t.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(O.b)())},e.render=function(){var t=this.props,e=t.intl,n=t.shouldUpdateScroll,s=t.statusIds,a=t.hasMore;return d.a.createElement(g.a,{icon:"thumb-tack",heading:e.formatMessage(R.heading),ref:this.setRef},Object(o.a)(m.a,{}),Object(o.a)(w.a,{statusIds:s,scrollKey:"pinned_statuses",hasMore:a,shouldUpdateScroll:n}))},t}(I.a),Object(u.a)(a,"propTypes",{dispatch:f.a.func.isRequired,shouldUpdateScroll:f.a.func,statusIds:j.a.list.isRequired,intl:f.a.object.isRequired,hasMore:f.a.bool.isRequired}),s=c))||s)||s}}]);
|
||||
//# sourceMappingURL=pinned_statuses.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{714:function(e,t,n){"use strict";n.r(t);var o,i,c,d=n(0),a=n(3),l=n(7),r=n(1),s=n(2),u=n.n(s),p=n(24),b=n(6),h=n(5),m=n.n(h),f=n(898),j=n(631),O=n(627),M=n(35),g=n(223),y=n(983),v=n(69),I=Object(p.connect)(function(e,t){var n=t.columnId,o=e.getIn(["settings","columns"]),i=o.findIndex(function(e){return e.get("uuid")===n});return{settings:n&&0<=i?o.get(i).get("params"):e.getIn(["settings","public"])}},function(n,e){var o=e.columnId;return{onChange:function(e,t){n(o?Object(g.f)(o,e,t):Object(v.c)(["public"].concat(e),t))}}})(y.a),w=n(633);n.d(t,"default",function(){return U});var C=Object(b.f)({title:{id:"column.public",defaultMessage:"Federated timeline"}}),U=Object(p.connect)(function(e,t){var n=t.onlyMedia,o=t.columnId,i=o,c=e.getIn(["settings","columns"]),a=c.findIndex(function(e){return e.get("uuid")===i});return{hasUnread:0<e.getIn(["timelines","public"+(n?":media":""),"unread"]),onlyMedia:o&&0<=a?c.get(a).getIn(["params","other","onlyMedia"]):e.getIn(["settings","public","other","onlyMedia"])}})(o=Object(b.g)((c=i=function(o){function e(){for(var i,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i=o.call.apply(o,[this].concat(t))||this,Object(r.a)(Object(a.a)(i),"handlePin",function(){var e=i.props,t=e.columnId,n=e.dispatch,o=e.onlyMedia;n(t?Object(g.h)(t):Object(g.e)("PUBLIC",{other:{onlyMedia:o}}))}),Object(r.a)(Object(a.a)(i),"handleMove",function(e){var t=i.props,n=t.columnId;(0,t.dispatch)(Object(g.g)(n,e))}),Object(r.a)(Object(a.a)(i),"handleHeaderClick",function(){i.column.scrollTop()}),Object(r.a)(Object(a.a)(i),"setRef",function(e){i.column=e}),Object(r.a)(Object(a.a)(i),"handleLoadMore",function(e){var t=i.props,n=t.dispatch,o=t.onlyMedia;n(Object(M.u)({maxId:e,onlyMedia:o}))}),i}Object(l.a)(e,o);var t=e.prototype;return t.componentDidMount=function(){var e=this.props,t=e.dispatch,n=e.onlyMedia;t(Object(M.u)({onlyMedia:n})),this.disconnect=t(Object(w.e)({onlyMedia:n}))},t.componentDidUpdate=function(e){if(e.onlyMedia!==this.props.onlyMedia){var t=this.props,n=t.dispatch,o=t.onlyMedia;this.disconnect(),n(Object(M.u)({onlyMedia:o})),this.disconnect=n(Object(w.e)({onlyMedia:o}))}},t.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},t.render=function(){var e=this.props,t=e.intl,n=e.shouldUpdateScroll,o=e.columnId,i=e.hasUnread,c=e.multiColumn,a=e.onlyMedia,l=!!o;return u.a.createElement(j.a,{ref:this.setRef,label:t.formatMessage(C.title)},Object(d.a)(O.a,{icon:"globe",active:i,title:t.formatMessage(C.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:l,multiColumn:c},void 0,Object(d.a)(I,{columnId:o})),Object(d.a)(f.a,{timelineId:"public"+(a?":media":""),onLoadMore:this.handleLoadMore,trackScroll:!l,scrollKey:"public_timeline-"+o,emptyMessage:Object(d.a)(b.b,{id:"empty_column.public",defaultMessage:"There is nothing here! Write something publicly, or manually follow users from other servers to fill it up"}),shouldUpdateScroll:n}))},e}(u.a.PureComponent),Object(r.a)(i,"contextTypes",{router:m.a.object}),Object(r.a)(i,"defaultProps",{onlyMedia:!1}),o=c))||o)||o}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{716:function(e,t,n){"use strict";n.r(t);var o,i,c,d=n(0),a=n(2),l=n(6),r=n(1),s=n(3),u=n.n(s),p=n(21),b=n(7),h=n(5),m=n.n(h),f=n(904),j=n(633),O=n(628),M=n(35),g=n(222),y=n(987),v=n(70),I=Object(p.connect)(function(e,t){var n=t.columnId,o=e.getIn(["settings","columns"]),i=o.findIndex(function(e){return e.get("uuid")===n});return{settings:n&&0<=i?o.get(i).get("params"):e.getIn(["settings","public"])}},function(n,e){var o=e.columnId;return{onChange:function(e,t){n(o?Object(g.f)(o,e,t):Object(v.c)(["public"].concat(e),t))}}})(y.a),w=n(635);n.d(t,"default",function(){return U});var C=Object(b.f)({title:{id:"column.public",defaultMessage:"Federated timeline"}}),U=Object(p.connect)(function(e,t){var n=t.onlyMedia,o=t.columnId,i=o,c=e.getIn(["settings","columns"]),a=c.findIndex(function(e){return e.get("uuid")===i});return{hasUnread:0<e.getIn(["timelines","public"+(n?":media":""),"unread"]),onlyMedia:o&&0<=a?c.get(a).getIn(["params","other","onlyMedia"]):e.getIn(["settings","public","other","onlyMedia"])}})(o=Object(b.g)((c=i=function(o){function e(){for(var i,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i=o.call.apply(o,[this].concat(t))||this,Object(r.a)(Object(a.a)(i),"handlePin",function(){var e=i.props,t=e.columnId,n=e.dispatch,o=e.onlyMedia;n(t?Object(g.h)(t):Object(g.e)("PUBLIC",{other:{onlyMedia:o}}))}),Object(r.a)(Object(a.a)(i),"handleMove",function(e){var t=i.props,n=t.columnId;(0,t.dispatch)(Object(g.g)(n,e))}),Object(r.a)(Object(a.a)(i),"handleHeaderClick",function(){i.column.scrollTop()}),Object(r.a)(Object(a.a)(i),"setRef",function(e){i.column=e}),Object(r.a)(Object(a.a)(i),"handleLoadMore",function(e){var t=i.props,n=t.dispatch,o=t.onlyMedia;n(Object(M.u)({maxId:e,onlyMedia:o}))}),i}Object(l.a)(e,o);var t=e.prototype;return t.componentDidMount=function(){var e=this.props,t=e.dispatch,n=e.onlyMedia;t(Object(M.u)({onlyMedia:n})),this.disconnect=t(Object(w.e)({onlyMedia:n}))},t.componentDidUpdate=function(e){if(e.onlyMedia!==this.props.onlyMedia){var t=this.props,n=t.dispatch,o=t.onlyMedia;this.disconnect(),n(Object(M.u)({onlyMedia:o})),this.disconnect=n(Object(w.e)({onlyMedia:o}))}},t.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},t.render=function(){var e=this.props,t=e.intl,n=e.shouldUpdateScroll,o=e.columnId,i=e.hasUnread,c=e.multiColumn,a=e.onlyMedia,l=!!o;return u.a.createElement(j.a,{ref:this.setRef,label:t.formatMessage(C.title)},Object(d.a)(O.a,{icon:"globe",active:i,title:t.formatMessage(C.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:l,multiColumn:c},void 0,Object(d.a)(I,{columnId:o})),Object(d.a)(f.a,{timelineId:"public"+(a?":media":""),onLoadMore:this.handleLoadMore,trackScroll:!l,scrollKey:"public_timeline-"+o,emptyMessage:Object(d.a)(b.b,{id:"empty_column.public",defaultMessage:"There is nothing here! Write something publicly, or manually follow users from other servers to fill it up"}),shouldUpdateScroll:n}))},e}(u.a.PureComponent),Object(r.a)(i,"contextTypes",{router:m.a.object}),Object(r.a)(i,"defaultProps",{onlyMedia:!1}),o=c))||o)||o}}]);
|
||||
//# sourceMappingURL=public_timeline.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{680: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),p=e(1),i=(e(2),e(24)),u=e(25),d=e(5),l=e.n(d),b=e(27),h=e.n(b),m=e(272),f=e(58),j=e(6),O=e(891),I=e(625),w=e(628),y=e(889),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.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;if(!e)return Object(r.a)(I.a,{},void 0,Object(r.a)(m.a,{}));var a=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,{}),Object(r.a)(y.a,{scrollKey:"reblogs",shouldUpdateScroll:s,emptyMessage:a},void 0,e.map(function(t){return Object(r.a)(O.a,{id:t,withNote:!1},t)})))},s}(u.a),Object(p.a)(o,"propTypes",{params:l.a.object.isRequired,dispatch:l.a.func.isRequired,shouldUpdateScroll:l.a.func,accountIds:h.a.list}),a=n))||a}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{681: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(6),p=e(1),i=(e(3),e(21)),u=e(25),d=e(5),l=e.n(d),b=e(26),h=e.n(b),m=e(272),f=e(58),j=e(7),O=e(895),I=e(626),w=e(629),y=e(893),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.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;if(!e)return Object(r.a)(I.a,{},void 0,Object(r.a)(m.a,{}));var a=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,{}),Object(r.a)(y.a,{scrollKey:"reblogs",shouldUpdateScroll:s,emptyMessage:a},void 0,e.map(function(t){return Object(r.a)(O.a,{id:t,withNote:!1},t)})))},s}(u.a),Object(p.a)(o,"propTypes",{params:l.a.object.isRequired,dispatch:l.a.func.isRequired,shouldUpdateScroll:l.a.func,accountIds:h.a.list}),a=n))||a}}]);
|
||||
//# sourceMappingURL=reblogs.js.map
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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([[44],{658:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return S});var s,c,i,o=a(0),n=a(2),p=a(6),r=a(1),d=a(3),u=a.n(d),h=a(21),l=a(26),b=a.n(l),m=a(5),j=a.n(m),O=a(23),I=a(34),f=a(902),w=a(271),R=a(625),g=a(913),L=a(916),M=a(4),v=a(25),y=a(7),k=a(264),A=a(896),S=Object(h.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(c){function t(){for(var e,t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return e=c.call.apply(c,[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,c);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,c=t.hasMore;return t.isAccount?!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:c,onLoadMore:this.handleLoadMore,emptyMessage:Object(o.a)(y.b,{id:"empty_column.account_timeline",defaultMessage:"No toots here!"})})):Object(o.a)(R.a,{},void 0,Object(o.a)(A.a,{}))},t}(v.a),Object(r.a)(c,"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,isAccount:j.a.bool}),s=i))||s}}]);
|
||||
//# sourceMappingURL=account_timeline.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{665:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return y});var c,o,n,s=a(0),i=a(3),l=a(7),r=a(1),d=(a(2),a(24)),u=a(27),p=a.n(u),b=a(5),h=a.n(b),j=a(271),O=a(426),f=a(624),g=a(629),v=a(600),m=a(360),k=a(6),w=a(25),S=Object(k.f)({heading:{id:"column.blocks",defaultMessage:"Blocked users"}}),y=Object(d.connect)(function(t){return{accountIds:t.getIn(["user_lists","blocks","items"])}})(c=Object(k.g)((n=o=function(o){function t(){for(var a,t=arguments.length,e=new Array(t),c=0;c<t;c++)e[c]=arguments[c];return a=o.call.apply(o,[this].concat(e))||this,Object(r.a)(Object(i.a)(a),"handleScroll",function(t){var e=t.target;e.scrollTop===e.scrollHeight-e.clientHeight&&a.props.dispatch(Object(m.c)())}),Object(r.a)(Object(i.a)(a),"shouldUpdateScroll",function(t,e){var a=e.location;return!(((t||{}).location||{}).state||{}).mastodonModalOpen&&!(a.state&&a.state.mastodonModalOpen)}),a}Object(l.a)(t,o);var e=t.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(m.d)())},e.render=function(){var t=this.props,e=t.intl,a=t.accountIds;return a?Object(s.a)(f.a,{name:"blocks",icon:"ban",heading:e.formatMessage(S.heading)},void 0,Object(s.a)(g.a,{}),Object(s.a)(O.a,{scrollKey:"blocks",shouldUpdateScroll:this.shouldUpdateScroll},void 0,Object(s.a)("div",{className:"scrollable",onScroll:this.handleScroll},void 0,a.map(function(t){return Object(s.a)(v.a,{id:t},t)})))):Object(s.a)(f.a,{},void 0,Object(s.a)(j.a,{}))},t}(w.a),Object(r.a)(o,"propTypes",{params:h.a.object.isRequired,dispatch:h.a.func.isRequired,accountIds:p.a.list,intl:h.a.object.isRequired}),c=n))||c)||c}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{666:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return y});var c,o,n,s=a(0),i=a(2),l=a(6),r=a(1),d=(a(3),a(21)),u=a(26),p=a.n(u),b=a(5),h=a.n(b),j=a(271),O=a(427),f=a(625),g=a(631),v=a(630),m=a(360),k=a(7),w=a(25),S=Object(k.f)({heading:{id:"column.blocks",defaultMessage:"Blocked users"}}),y=Object(d.connect)(function(t){return{accountIds:t.getIn(["user_lists","blocks","items"])}})(c=Object(k.g)((n=o=function(o){function t(){for(var a,t=arguments.length,e=new Array(t),c=0;c<t;c++)e[c]=arguments[c];return a=o.call.apply(o,[this].concat(e))||this,Object(r.a)(Object(i.a)(a),"handleScroll",function(t){var e=t.target;e.scrollTop===e.scrollHeight-e.clientHeight&&a.props.dispatch(Object(m.c)())}),Object(r.a)(Object(i.a)(a),"shouldUpdateScroll",function(t,e){var a=e.location;return!(((t||{}).location||{}).state||{}).mastodonModalOpen&&!(a.state&&a.state.mastodonModalOpen)}),a}Object(l.a)(t,o);var e=t.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(m.d)())},e.render=function(){var t=this.props,e=t.intl,a=t.accountIds;return a?Object(s.a)(f.a,{name:"blocks",icon:"ban",heading:e.formatMessage(S.heading)},void 0,Object(s.a)(g.a,{}),Object(s.a)(O.a,{scrollKey:"blocks",shouldUpdateScroll:this.shouldUpdateScroll},void 0,Object(s.a)("div",{className:"scrollable",onScroll:this.handleScroll},void 0,a.map(function(t){return Object(s.a)(v.a,{id:t},t)})))):Object(s.a)(f.a,{},void 0,Object(s.a)(j.a,{}))},t}(w.a),Object(r.a)(o,"propTypes",{params:h.a.object.isRequired,dispatch:h.a.func.isRequired,accountIds:p.a.list,intl:h.a.object.isRequired}),c=n))||c)||c}}]);
|
||||
//# sourceMappingURL=blocks.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{664:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return R});var n,o,s,r=a(0),i=a(3),c=a(7),l=a(1),u=a(56),d=a.n(u),b=a(2),h=a.n(b),p=a(24),m=a(5),O=a.n(m),j=a(27),k=a.n(j),f=a(191),g=a(624),M=a(626),I=a(222),v=a(896),w=a(6),L=a(25),C=Object(w.f)({heading:{id:"column.bookmarks",defaultMessage:"Bookmarks"}}),R=Object(p.connect)(function(t){return{statusIds:t.getIn(["status_lists","bookmarks","items"]),isLoading:t.getIn(["status_lists","bookmarks","isLoading"],!0),hasMore:!!t.getIn(["status_lists","bookmarks","next"])}})(n=Object(w.g)((s=o=function(o){function t(){for(var n,t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];return n=o.call.apply(o,[this].concat(e))||this,Object(l.a)(Object(i.a)(n),"handlePin",function(){var t=n.props,e=t.columnId,a=t.dispatch;a(e?Object(I.h)(e):Object(I.e)("BOOKMARKS",{}))}),Object(l.a)(Object(i.a)(n),"handleMove",function(t){var e=n.props,a=e.columnId;(0,e.dispatch)(Object(I.g)(a,t))}),Object(l.a)(Object(i.a)(n),"handleHeaderClick",function(){n.column.scrollTop()}),Object(l.a)(Object(i.a)(n),"setRef",function(t){n.column=t}),Object(l.a)(Object(i.a)(n),"handleLoadMore",d()(function(){n.props.dispatch(Object(f.g)())},300,{leading:!0})),n}Object(c.a)(t,o);var e=t.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(f.h)())},e.render=function(){var t=this.props,e=t.intl,a=t.statusIds,n=t.columnId,o=t.multiColumn,s=t.hasMore,i=t.isLoading,c=!!n;return h.a.createElement(g.a,{ref:this.setRef,name:"bookmarks"},Object(r.a)(M.a,{icon:"bookmark",title:e.formatMessage(C.heading),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:c,multiColumn:o,showBackButton:!0}),Object(r.a)(v.a,{trackScroll:!c,statusIds:a,scrollKey:"bookmarked_statuses-"+n,hasMore:s,isLoading:i,onLoadMore:this.handleLoadMore}))},t}(L.a),Object(l.a)(o,"propTypes",{dispatch:O.a.func.isRequired,statusIds:k.a.list.isRequired,intl:O.a.object.isRequired,columnId:O.a.string,multiColumn:O.a.bool,hasMore:O.a.bool,isLoading:O.a.bool}),n=s))||n)||n}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{665:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return R});var n,o,s,r=a(0),i=a(2),c=a(6),l=a(1),u=a(56),d=a.n(u),b=a(3),h=a.n(b),p=a(21),m=a(5),O=a.n(m),j=a(26),k=a.n(j),f=a(189),g=a(625),M=a(627),I=a(221),v=a(902),w=a(7),L=a(25),C=Object(w.f)({heading:{id:"column.bookmarks",defaultMessage:"Bookmarks"}}),R=Object(p.connect)(function(t){return{statusIds:t.getIn(["status_lists","bookmarks","items"]),isLoading:t.getIn(["status_lists","bookmarks","isLoading"],!0),hasMore:!!t.getIn(["status_lists","bookmarks","next"])}})(n=Object(w.g)((s=o=function(o){function t(){for(var n,t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];return n=o.call.apply(o,[this].concat(e))||this,Object(l.a)(Object(i.a)(n),"handlePin",function(){var t=n.props,e=t.columnId,a=t.dispatch;a(e?Object(I.h)(e):Object(I.e)("BOOKMARKS",{}))}),Object(l.a)(Object(i.a)(n),"handleMove",function(t){var e=n.props,a=e.columnId;(0,e.dispatch)(Object(I.g)(a,t))}),Object(l.a)(Object(i.a)(n),"handleHeaderClick",function(){n.column.scrollTop()}),Object(l.a)(Object(i.a)(n),"setRef",function(t){n.column=t}),Object(l.a)(Object(i.a)(n),"handleLoadMore",d()(function(){n.props.dispatch(Object(f.g)())},300,{leading:!0})),n}Object(c.a)(t,o);var e=t.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(f.h)())},e.render=function(){var t=this.props,e=t.intl,a=t.statusIds,n=t.columnId,o=t.multiColumn,s=t.hasMore,i=t.isLoading,c=!!n;return h.a.createElement(g.a,{ref:this.setRef,name:"bookmarks"},Object(r.a)(M.a,{icon:"bookmark",title:e.formatMessage(C.heading),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:c,multiColumn:o,showBackButton:!0}),Object(r.a)(v.a,{trackScroll:!c,statusIds:a,scrollKey:"bookmarked_statuses-"+n,hasMore:s,isLoading:i,onLoadMore:this.handleLoadMore}))},t}(L.a),Object(l.a)(o,"propTypes",{dispatch:O.a.func.isRequired,statusIds:k.a.list.isRequired,intl:O.a.object.isRequired,columnId:O.a.string,multiColumn:O.a.bool,hasMore:O.a.bool,isLoading:O.a.bool}),n=s))||n)||n}}]);
|
||||
//# sourceMappingURL=bookmarked_statuses.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{718:function(e,t,n){"use strict";n.r(t);var o,a,i,l=n(0),c=n(3),d=n(7),s=n(1),r=n(2),u=n.n(r),m=n(24),h=n(6),p=n(5),b=n.n(p),y=n(894),f=n(630),O=n(626),j=n(34),M=n(222),g=n(965),v=n(68),I=Object(m.connect)(function(e,t){var n=t.columnId,o=e.getIn(["settings","columns"]),a=o.findIndex(function(e){return e.get("uuid")===n});return{settings:n&&0<=a?o.get(a).get("params"):e.getIn(["settings","community"])}},function(n,e){var o=e.columnId;return{onChange:function(e,t){n(o?changeColumnParams(o,e,t):Object(v.c)(["community"].concat(e),t))}}})(g.a),C=n(634);n.d(t,"default",function(){return w});var U=Object(h.f)({title:{id:"column.community",defaultMessage:"Local timeline"}}),w=Object(m.connect)(function(e,t){var n=t.onlyMedia,o=t.columnId,a=o,i=e.getIn(["settings","columns"]),c=i.findIndex(function(e){return e.get("uuid")===a});return{hasUnread:0<e.getIn(["timelines","community"+(n?":media":""),"unread"]),onlyMedia:o&&0<=c?i.get(c).getIn(["params","other","onlyMedia"]):e.getIn(["settings","community","other","onlyMedia"])}})(o=Object(h.g)((i=a=function(o){function e(){for(var a,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a=o.call.apply(o,[this].concat(t))||this,Object(s.a)(Object(c.a)(a),"handlePin",function(){var e=a.props,t=e.columnId,n=e.dispatch,o=e.onlyMedia;n(t?Object(M.h)(t):Object(M.e)("COMMUNITY",{other:{onlyMedia:o}}))}),Object(s.a)(Object(c.a)(a),"handleMove",function(e){var t=a.props,n=t.columnId;(0,t.dispatch)(Object(M.g)(n,e))}),Object(s.a)(Object(c.a)(a),"handleHeaderClick",function(){a.column.scrollTop()}),Object(s.a)(Object(c.a)(a),"setRef",function(e){a.column=e}),Object(s.a)(Object(c.a)(a),"handleLoadMore",function(e){var t=a.props,n=t.dispatch,o=t.onlyMedia;n(Object(j.q)({maxId:e,onlyMedia:o}))}),Object(s.a)(Object(c.a)(a),"shouldUpdateScroll",function(e,t){var n=t.location;return!(n.state&&n.state.mastodonModalOpen)}),a}Object(d.a)(e,o);var t=e.prototype;return t.componentDidMount=function(){var e=this.props,t=e.dispatch,n=e.onlyMedia;t(Object(j.q)({onlyMedia:n})),this.disconnect=t(Object(C.a)({onlyMedia:n}))},t.componentDidUpdate=function(e){if(e.onlyMedia!==this.props.onlyMedia){var t=this.props,n=t.dispatch,o=t.onlyMedia;this.disconnect(),n(Object(j.q)({onlyMedia:o})),this.disconnect=n(Object(C.a)({onlyMedia:o}))}},t.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},t.render=function(){var e=this.props,t=e.intl,n=e.hasUnread,o=e.columnId,a=e.multiColumn,i=e.onlyMedia,c=!!o;return u.a.createElement(f.a,{ref:this.setRef,name:"local",label:t.formatMessage(U.title)},Object(l.a)(O.a,{icon:"users",active:n,title:t.formatMessage(U.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:c,multiColumn:a},void 0,Object(l.a)(I,{columnId:o})),Object(l.a)(y.a,{trackScroll:!c,scrollKey:"community_timeline-"+o,shouldUpdateScroll:this.shouldUpdateScroll,timelineId:"community"+(i?":media":""),onLoadMore:this.handleLoadMore,emptyMessage:Object(l.a)(h.b,{id:"empty_column.community",defaultMessage:"The local timeline is empty. Write something publicly to get the ball rolling!"})}))},e}(u.a.PureComponent),Object(s.a)(a,"defaultProps",{onlyMedia:!1}),Object(s.a)(a,"contextTypes",{router:b.a.object}),o=i))||o)||o}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{719:function(e,t,n){"use strict";n.r(t);var o,a,i,l=n(0),c=n(2),d=n(6),s=n(1),r=n(3),u=n.n(r),m=n(21),h=n(7),p=n(5),b=n.n(p),y=n(900),f=n(632),O=n(627),j=n(34),M=n(221),g=n(969),v=n(69),I=Object(m.connect)(function(e,t){var n=t.columnId,o=e.getIn(["settings","columns"]),a=o.findIndex(function(e){return e.get("uuid")===n});return{settings:n&&0<=a?o.get(a).get("params"):e.getIn(["settings","community"])}},function(n,e){var o=e.columnId;return{onChange:function(e,t){n(o?changeColumnParams(o,e,t):Object(v.c)(["community"].concat(e),t))}}})(g.a),C=n(636);n.d(t,"default",function(){return w});var U=Object(h.f)({title:{id:"column.community",defaultMessage:"Local timeline"}}),w=Object(m.connect)(function(e,t){var n=t.onlyMedia,o=t.columnId,a=o,i=e.getIn(["settings","columns"]),c=i.findIndex(function(e){return e.get("uuid")===a});return{hasUnread:0<e.getIn(["timelines","community"+(n?":media":""),"unread"]),onlyMedia:o&&0<=c?i.get(c).getIn(["params","other","onlyMedia"]):e.getIn(["settings","community","other","onlyMedia"])}})(o=Object(h.g)((i=a=function(o){function e(){for(var a,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a=o.call.apply(o,[this].concat(t))||this,Object(s.a)(Object(c.a)(a),"handlePin",function(){var e=a.props,t=e.columnId,n=e.dispatch,o=e.onlyMedia;n(t?Object(M.h)(t):Object(M.e)("COMMUNITY",{other:{onlyMedia:o}}))}),Object(s.a)(Object(c.a)(a),"handleMove",function(e){var t=a.props,n=t.columnId;(0,t.dispatch)(Object(M.g)(n,e))}),Object(s.a)(Object(c.a)(a),"handleHeaderClick",function(){a.column.scrollTop()}),Object(s.a)(Object(c.a)(a),"setRef",function(e){a.column=e}),Object(s.a)(Object(c.a)(a),"handleLoadMore",function(e){var t=a.props,n=t.dispatch,o=t.onlyMedia;n(Object(j.q)({maxId:e,onlyMedia:o}))}),Object(s.a)(Object(c.a)(a),"shouldUpdateScroll",function(e,t){var n=t.location;return!(n.state&&n.state.mastodonModalOpen)}),a}Object(d.a)(e,o);var t=e.prototype;return t.componentDidMount=function(){var e=this.props,t=e.dispatch,n=e.onlyMedia;t(Object(j.q)({onlyMedia:n})),this.disconnect=t(Object(C.a)({onlyMedia:n}))},t.componentDidUpdate=function(e){if(e.onlyMedia!==this.props.onlyMedia){var t=this.props,n=t.dispatch,o=t.onlyMedia;this.disconnect(),n(Object(j.q)({onlyMedia:o})),this.disconnect=n(Object(C.a)({onlyMedia:o}))}},t.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},t.render=function(){var e=this.props,t=e.intl,n=e.hasUnread,o=e.columnId,a=e.multiColumn,i=e.onlyMedia,c=!!o;return u.a.createElement(f.a,{ref:this.setRef,name:"local",label:t.formatMessage(U.title)},Object(l.a)(O.a,{icon:"users",active:n,title:t.formatMessage(U.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:c,multiColumn:a},void 0,Object(l.a)(I,{columnId:o})),Object(l.a)(y.a,{trackScroll:!c,scrollKey:"community_timeline-"+o,shouldUpdateScroll:this.shouldUpdateScroll,timelineId:"community"+(i?":media":""),onLoadMore:this.handleLoadMore,emptyMessage:Object(l.a)(h.b,{id:"empty_column.community",defaultMessage:"The local timeline is empty. Write something publicly to get the ball rolling!"})}))},e}(u.a.PureComponent),Object(s.a)(a,"defaultProps",{onlyMedia:!1}),Object(s.a)(a,"contextTypes",{router:b.a.object}),o=i))||o)||o}}]);
|
||||
//# sourceMappingURL=community_timeline.js.map
|
2
priv/static/packs/flavours/glitch/async/compose.js
Normal file
2
priv/static/packs/flavours/glitch/async/compose.js
Normal file
File diff suppressed because one or more lines are too long
1
priv/static/packs/flavours/glitch/async/compose.js.map
Normal file
1
priv/static/packs/flavours/glitch/async/compose.js.map
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{702:function(e,t,n){"use strict";n.r(t);var c,i,a=n(0),o=n(3),s=n(7),r=n(1),l=n(2),d=n.n(l),u=n(24),h=n(894),b=n(630),p=n(626),m=n(34),f=n(222),g=n(6),j=n(922),O=Object(g.f)({filter_regex:{id:"home.column_settings.filter_regex",defaultMessage:"Filter out by regular expressions"},settings:{id:"home.settings",defaultMessage:"Column settings"}}),v=Object(g.g)(c=function(e){function t(){return e.apply(this,arguments)||this}return Object(s.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.settings,n=e.onChange,c=e.intl;return Object(a.a)("div",{},void 0,Object(a.a)("span",{className:"column-settings__section"},void 0,Object(a.a)(g.b,{id:"home.column_settings.advanced",defaultMessage:"Advanced"})),Object(a.a)("div",{className:"column-settings__row"},void 0,Object(a.a)(j.a,{settings:t,settingPath:["regex","body"],onChange:n,label:c.formatMessage(O.filter_regex)})))},t}(d.a.PureComponent))||c,M=n(68),y=Object(u.connect)(function(e){return{settings:e.getIn(["settings","direct"])}},function(n){return{onChange:function(e,t){n(Object(M.c)(["direct"].concat(e),t))}}})(v),C=n(634);n.d(t,"default",function(){return w});var _=Object(g.f)({title:{id:"column.direct",defaultMessage:"Direct messages"}}),w=Object(u.connect)(function(e){return{hasUnread:0<e.getIn(["timelines","direct","unread"])}})(i=Object(g.g)(i=function(i){function e(){for(var c,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return c=i.call.apply(i,[this].concat(t))||this,Object(r.a)(Object(o.a)(c),"handlePin",function(){var e=c.props,t=e.columnId,n=e.dispatch;n(t?Object(f.h)(t):Object(f.e)("DIRECT",{}))}),Object(r.a)(Object(o.a)(c),"handleMove",function(e){var t=c.props,n=t.columnId;(0,t.dispatch)(Object(f.g)(n,e))}),Object(r.a)(Object(o.a)(c),"handleHeaderClick",function(){c.column.scrollTop()}),Object(r.a)(Object(o.a)(c),"setRef",function(e){c.column=e}),Object(r.a)(Object(o.a)(c),"handleLoadMore",function(e){c.props.dispatch(Object(m.r)({maxId:e}))}),c}Object(s.a)(e,i);var t=e.prototype;return t.componentDidMount=function(){var e=this.props.dispatch;e(Object(m.r)()),this.disconnect=e(Object(C.b)())},t.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},t.render=function(){var e=this.props,t=e.intl,n=e.hasUnread,c=e.columnId,i=e.multiColumn,o=!!c;return d.a.createElement(b.a,{ref:this.setRef,label:t.formatMessage(_.title)},Object(a.a)(p.a,{icon:"envelope",active:n,title:t.formatMessage(_.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:o,multiColumn:i},void 0,Object(a.a)(y,{})),Object(a.a)(h.a,{trackScroll:!o,scrollKey:"direct_timeline-"+c,timelineId:"direct",onLoadMore:this.handleLoadMore,emptyMessage:Object(a.a)(g.b,{id:"empty_column.direct",defaultMessage:"You don't have any direct messages yet. When you send or receive one, it will show up here."})}))},e}(d.a.PureComponent))||i)||i}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{705:function(e,t,n){"use strict";n.r(t);var c,i,a=n(0),o=n(2),s=n(6),r=n(1),l=n(3),d=n.n(l),u=n(21),h=n(900),b=n(632),p=n(627),m=n(34),f=n(221),g=n(7),j=n(926),O=Object(g.f)({filter_regex:{id:"home.column_settings.filter_regex",defaultMessage:"Filter out by regular expressions"},settings:{id:"home.settings",defaultMessage:"Column settings"}}),v=Object(g.g)(c=function(e){function t(){return e.apply(this,arguments)||this}return Object(s.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.settings,n=e.onChange,c=e.intl;return Object(a.a)("div",{},void 0,Object(a.a)("span",{className:"column-settings__section"},void 0,Object(a.a)(g.b,{id:"home.column_settings.advanced",defaultMessage:"Advanced"})),Object(a.a)("div",{className:"column-settings__row"},void 0,Object(a.a)(j.a,{settings:t,settingPath:["regex","body"],onChange:n,label:c.formatMessage(O.filter_regex)})))},t}(d.a.PureComponent))||c,M=n(69),y=Object(u.connect)(function(e){return{settings:e.getIn(["settings","direct"])}},function(n){return{onChange:function(e,t){n(Object(M.c)(["direct"].concat(e),t))}}})(v),C=n(636);n.d(t,"default",function(){return w});var _=Object(g.f)({title:{id:"column.direct",defaultMessage:"Direct messages"}}),w=Object(u.connect)(function(e){return{hasUnread:0<e.getIn(["timelines","direct","unread"])}})(i=Object(g.g)(i=function(i){function e(){for(var c,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return c=i.call.apply(i,[this].concat(t))||this,Object(r.a)(Object(o.a)(c),"handlePin",function(){var e=c.props,t=e.columnId,n=e.dispatch;n(t?Object(f.h)(t):Object(f.e)("DIRECT",{}))}),Object(r.a)(Object(o.a)(c),"handleMove",function(e){var t=c.props,n=t.columnId;(0,t.dispatch)(Object(f.g)(n,e))}),Object(r.a)(Object(o.a)(c),"handleHeaderClick",function(){c.column.scrollTop()}),Object(r.a)(Object(o.a)(c),"setRef",function(e){c.column=e}),Object(r.a)(Object(o.a)(c),"handleLoadMore",function(e){c.props.dispatch(Object(m.r)({maxId:e}))}),c}Object(s.a)(e,i);var t=e.prototype;return t.componentDidMount=function(){var e=this.props.dispatch;e(Object(m.r)()),this.disconnect=e(Object(C.b)())},t.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},t.render=function(){var e=this.props,t=e.intl,n=e.hasUnread,c=e.columnId,i=e.multiColumn,o=!!c;return d.a.createElement(b.a,{ref:this.setRef,label:t.formatMessage(_.title)},Object(a.a)(p.a,{icon:"envelope",active:n,title:t.formatMessage(_.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:o,multiColumn:i},void 0,Object(a.a)(y,{})),Object(a.a)(h.a,{trackScroll:!o,scrollKey:"direct_timeline-"+c,timelineId:"direct",onLoadMore:this.handleLoadMore,emptyMessage:Object(a.a)(g.b,{id:"empty_column.direct",defaultMessage:"You don't have any direct messages yet. When you send or receive one, it will show up here."})}))},e}(d.a.PureComponent))||i)||i}}]);
|
||||
//# sourceMappingURL=direct_timeline.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{694:function(n,e,o){"use strict";o.r(e);var a=o(0),i=o(3),c=o(7),r=o(1),t=o(56),s=o.n(t),d=(o(2),o(24)),u=o(27),l=o.n(u),b=o(5),m=o.n(b),f=o(271),p=o(624),j=o(629);var O,h,g,k,v,y,w=o(188),M=o(6),_=o(48),D=o(25),U=Object(M.f)({unblockDomain:{id:"account.unblock_domain",defaultMessage:"Unhide {domain}"}}),C=Object(M.g)((g=h=function(t){function n(){for(var n,e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o))||this,Object(r.a)(Object(i.a)(n),"handleDomainUnblock",function(){n.props.onUnblockDomain(n.props.domain)}),n}return Object(c.a)(n,t),n.prototype.render=function(){var n=this.props,e=n.domain,o=n.intl;return Object(a.a)("div",{className:"domain"},void 0,Object(a.a)("div",{className:"domain__wrapper"},void 0,Object(a.a)("span",{className:"domain__domain-name"},void 0,Object(a.a)("strong",{},void 0,e)),Object(a.a)("div",{className:"domain__buttons"},void 0,Object(a.a)(_.a,{active:!0,icon:"unlock",title:o.formatMessage(U.unblockDomain,{domain:e}),onClick:this.handleDomainUnblock}))))},n}(D.a),Object(r.a)(h,"propTypes",{domain:m.a.string,onUnblockDomain:m.a.func.isRequired,intl:m.a.object.isRequired}),O=g))||O,R=o(50),q=Object(M.f)({blockDomainConfirm:{id:"confirmations.domain_block.confirm",defaultMessage:"Hide entire domain"}}),N=Object(M.g)(Object(d.connect)(function(){return function(n,e){return function(n){if(null==n)throw new TypeError("Cannot destructure undefined")}(e),{}}},function(e,n){var o=n.intl;return{onBlockDomain:function(n){e(Object(R.d)("CONFIRM",{message:Object(a.a)(M.b,{id:"confirmations.domain_block.message",defaultMessage:"Are you really, really sure you want to block the entire {domain}? In most cases a few targeted blocks or mutes are sufficient and preferable.",values:{domain:Object(a.a)("strong",{},void 0,n)}}),confirm:o.formatMessage(q.blockDomainConfirm),onConfirm:function(){return e(Object(w.e)(n))}}))},onUnblockDomain:function(n){e(Object(w.h)(n))}}})(C)),A=o(931);o.d(e,"default",function(){return L});var I=Object(M.f)({heading:{id:"column.domain_blocks",defaultMessage:"Hidden domains"},unblockDomain:{id:"account.unblock_domain",defaultMessage:"Unhide {domain}"}}),L=Object(d.connect)(function(n){return{domains:n.getIn(["domain_lists","blocks","items"])}})(k=Object(M.g)((y=v=function(t){function n(){for(var n,e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o))||this,Object(r.a)(Object(i.a)(n),"handleLoadMore",s()(function(){n.props.dispatch(Object(w.f)())},300,{leading:!0})),n}Object(c.a)(n,t);var e=n.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(w.g)())},e.render=function(){var n=this.props,e=n.intl,o=n.domains;return o?Object(a.a)(p.a,{icon:"minus-circle",heading:e.formatMessage(I.heading)},void 0,Object(a.a)(j.a,{}),Object(a.a)(A.a,{scrollKey:"domain_blocks",onLoadMore:this.handleLoadMore},void 0,o.map(function(n){return Object(a.a)(N,{domain:n},n)}))):Object(a.a)(p.a,{},void 0,Object(a.a)(f.a,{}))},n}(D.a),Object(r.a)(v,"propTypes",{params:m.a.object.isRequired,dispatch:m.a.func.isRequired,domains:l.a.list,intl:m.a.object.isRequired}),k=y))||k)||k}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{698:function(n,e,o){"use strict";o.r(e);var a=o(0),i=o(2),c=o(6),r=o(1),t=o(56),s=o.n(t),d=(o(3),o(21)),u=o(26),l=o.n(u),b=o(5),m=o.n(b),f=o(271),p=o(625),j=o(631);var O,h,g,k,v,y,w=o(186),M=o(7),_=o(48),D=o(25),U=Object(M.f)({unblockDomain:{id:"account.unblock_domain",defaultMessage:"Unhide {domain}"}}),C=Object(M.g)((g=h=function(t){function n(){for(var n,e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o))||this,Object(r.a)(Object(i.a)(n),"handleDomainUnblock",function(){n.props.onUnblockDomain(n.props.domain)}),n}return Object(c.a)(n,t),n.prototype.render=function(){var n=this.props,e=n.domain,o=n.intl;return Object(a.a)("div",{className:"domain"},void 0,Object(a.a)("div",{className:"domain__wrapper"},void 0,Object(a.a)("span",{className:"domain__domain-name"},void 0,Object(a.a)("strong",{},void 0,e)),Object(a.a)("div",{className:"domain__buttons"},void 0,Object(a.a)(_.a,{active:!0,icon:"unlock",title:o.formatMessage(U.unblockDomain,{domain:e}),onClick:this.handleDomainUnblock}))))},n}(D.a),Object(r.a)(h,"propTypes",{domain:m.a.string,onUnblockDomain:m.a.func.isRequired,intl:m.a.object.isRequired}),O=g))||O,R=o(50),q=Object(M.f)({blockDomainConfirm:{id:"confirmations.domain_block.confirm",defaultMessage:"Hide entire domain"}}),N=Object(M.g)(Object(d.connect)(function(){return function(n,e){return function(n){if(null==n)throw new TypeError("Cannot destructure undefined")}(e),{}}},function(e,n){var o=n.intl;return{onBlockDomain:function(n){e(Object(R.d)("CONFIRM",{message:Object(a.a)(M.b,{id:"confirmations.domain_block.message",defaultMessage:"Are you really, really sure you want to block the entire {domain}? In most cases a few targeted blocks or mutes are sufficient and preferable.",values:{domain:Object(a.a)("strong",{},void 0,n)}}),confirm:o.formatMessage(q.blockDomainConfirm),onConfirm:function(){return e(Object(w.e)(n))}}))},onUnblockDomain:function(n){e(Object(w.h)(n))}}})(C)),A=o(934);o.d(e,"default",function(){return L});var I=Object(M.f)({heading:{id:"column.domain_blocks",defaultMessage:"Hidden domains"},unblockDomain:{id:"account.unblock_domain",defaultMessage:"Unhide {domain}"}}),L=Object(d.connect)(function(n){return{domains:n.getIn(["domain_lists","blocks","items"])}})(k=Object(M.g)((y=v=function(t){function n(){for(var n,e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o))||this,Object(r.a)(Object(i.a)(n),"handleLoadMore",s()(function(){n.props.dispatch(Object(w.f)())},300,{leading:!0})),n}Object(c.a)(n,t);var e=n.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(w.g)())},e.render=function(){var n=this.props,e=n.intl,o=n.domains;return o?Object(a.a)(p.a,{icon:"minus-circle",heading:e.formatMessage(I.heading)},void 0,Object(a.a)(j.a,{}),Object(a.a)(A.a,{scrollKey:"domain_blocks",onLoadMore:this.handleLoadMore},void 0,o.map(function(n){return Object(a.a)(N,{domain:n},n)}))):Object(a.a)(p.a,{},void 0,Object(a.a)(f.a,{}))},n}(D.a),Object(r.a)(v,"propTypes",{params:m.a.object.isRequired,dispatch:m.a.func.isRequired,domains:l.a.list,intl:m.a.object.isRequired}),k=y))||k)||k}}]);
|
||||
//# sourceMappingURL=domain_blocks.js.map
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[51],{669:function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return j});var i,o,n,r=a(0),s=a(3),c=a(7),d=a(1),l=a(2),b=a.n(l),m=a(5),u=a.n(m),f=a(25),h=a(6),p=a(10),j=Object(h.g)((n=o=function(o){function e(){for(var t,e=arguments.length,a=new Array(e),i=0;i<e;i++)a[i]=arguments[i];return t=o.call.apply(o,[this].concat(a))||this,Object(d.a)(Object(s.a)(t),"state",{loading:!1,oembed:null}),Object(d.a)(Object(s.a)(t),"setIframeRef",function(e){t.iframe=e}),Object(d.a)(Object(s.a)(t),"handleTextareaClick",function(e){e.target.select()}),t}Object(c.a)(e,o);var t=e.prototype;return t.componentDidMount=function(){var a=this,e=this.props.url;this.setState({loading:!0}),Object(p.a)().post("/api/web/embed",{url:e}).then(function(e){a.setState({loading:!1,oembed:e.data});var t=a.iframe.contentWindow.document;t.open(),t.write(e.data.html),t.close(),t.body.style.margin=0,a.iframe.width=t.body.scrollWidth,a.iframe.height=t.body.scrollHeight}).catch(function(e){a.props.onError(e)})},t.render=function(){var e=this.state.oembed;return Object(r.a)("div",{className:"modal-root__modal embed-modal"},void 0,Object(r.a)("h4",{},void 0,Object(r.a)(h.b,{id:"status.embed",defaultMessage:"Embed"})),Object(r.a)("div",{className:"embed-modal__container"},void 0,Object(r.a)("p",{className:"hint"},void 0,Object(r.a)(h.b,{id:"embed.instructions",defaultMessage:"Embed this status on your website by copying the code below."})),Object(r.a)("input",{type:"text",className:"embed-modal__html",readOnly:!0,value:e&&e.html||"",onClick:this.handleTextareaClick}),Object(r.a)("p",{className:"hint"},void 0,Object(r.a)(h.b,{id:"embed.preview",defaultMessage:"Here is what it will look like:"})),b.a.createElement("iframe",{className:"embed-modal__iframe",frameBorder:"0",ref:this.setIframeRef,sandbox:"allow-same-origin",title:"preview"})))},e}(f.a),Object(d.a)(o,"propTypes",{url:u.a.string.isRequired,onClose:u.a.func.isRequired,onError:u.a.func.isRequired,intl:u.a.object.isRequired}),i=n))||i}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[51],{670:function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return j});var i,o,n,r=a(0),s=a(2),c=a(6),d=a(1),l=a(3),b=a.n(l),m=a(5),u=a.n(m),f=a(25),h=a(7),p=a(10),j=Object(h.g)((n=o=function(o){function e(){for(var t,e=arguments.length,a=new Array(e),i=0;i<e;i++)a[i]=arguments[i];return t=o.call.apply(o,[this].concat(a))||this,Object(d.a)(Object(s.a)(t),"state",{loading:!1,oembed:null}),Object(d.a)(Object(s.a)(t),"setIframeRef",function(e){t.iframe=e}),Object(d.a)(Object(s.a)(t),"handleTextareaClick",function(e){e.target.select()}),t}Object(c.a)(e,o);var t=e.prototype;return t.componentDidMount=function(){var a=this,e=this.props.url;this.setState({loading:!0}),Object(p.a)().post("/api/web/embed",{url:e}).then(function(e){a.setState({loading:!1,oembed:e.data});var t=a.iframe.contentWindow.document;t.open(),t.write(e.data.html),t.close(),t.body.style.margin=0,a.iframe.width=t.body.scrollWidth,a.iframe.height=t.body.scrollHeight}).catch(function(e){a.props.onError(e)})},t.render=function(){var e=this.state.oembed;return Object(r.a)("div",{className:"modal-root__modal embed-modal"},void 0,Object(r.a)("h4",{},void 0,Object(r.a)(h.b,{id:"status.embed",defaultMessage:"Embed"})),Object(r.a)("div",{className:"embed-modal__container"},void 0,Object(r.a)("p",{className:"hint"},void 0,Object(r.a)(h.b,{id:"embed.instructions",defaultMessage:"Embed this status on your website by copying the code below."})),Object(r.a)("input",{type:"text",className:"embed-modal__html",readOnly:!0,value:e&&e.html||"",onClick:this.handleTextareaClick}),Object(r.a)("p",{className:"hint"},void 0,Object(r.a)(h.b,{id:"embed.preview",defaultMessage:"Here is what it will look like:"})),b.a.createElement("iframe",{className:"embed-modal__iframe",frameBorder:"0",ref:this.setIframeRef,sandbox:"allow-same-origin",title:"preview"})))},e}(f.a),Object(d.a)(o,"propTypes",{url:u.a.string.isRequired,onClose:u.a.func.isRequired,onError:u.a.func.isRequired,intl:u.a.object.isRequired}),i=n))||i}}]);
|
||||
//# sourceMappingURL=embed_modal.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[52],{651:function(n,r,i){"use strict";i.r(r);var o=i(911);i.d(r,"Picker",function(){return o.a});var c=i(893);i.d(r,"Emoji",function(){return c.a})}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[52],{652:function(n,r,i){"use strict";i.r(r);var o=i(915);i.d(r,"Picker",function(){return o.a});var c=i(899);i.d(r,"Emoji",function(){return c.a})}}]);
|
||||
//# sourceMappingURL=emoji_picker.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{663:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return R});var n,o,s,r=a(0),i=a(3),c=a(7),u=a(1),l=a(56),d=a.n(l),h=a(2),p=a.n(h),b=a(24),f=a(5),j=a.n(f),O=a(27),g=a.n(O),m=a(190),v=a(624),M=a(626),I=a(222),w=a(896),L=a(6),k=a(25),C=Object(L.f)({heading:{id:"column.favourites",defaultMessage:"Favourites"}}),R=Object(b.connect)(function(t){return{statusIds:t.getIn(["status_lists","favourites","items"]),isLoading:t.getIn(["status_lists","favourites","isLoading"],!0),hasMore:!!t.getIn(["status_lists","favourites","next"])}})(n=Object(L.g)((s=o=function(o){function t(){for(var n,t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];return n=o.call.apply(o,[this].concat(e))||this,Object(u.a)(Object(i.a)(n),"handlePin",function(){var t=n.props,e=t.columnId,a=t.dispatch;a(e?Object(I.h)(e):Object(I.e)("FAVOURITES",{}))}),Object(u.a)(Object(i.a)(n),"handleMove",function(t){var e=n.props,a=e.columnId;(0,e.dispatch)(Object(I.g)(a,t))}),Object(u.a)(Object(i.a)(n),"handleHeaderClick",function(){n.column.scrollTop()}),Object(u.a)(Object(i.a)(n),"setRef",function(t){n.column=t}),Object(u.a)(Object(i.a)(n),"handleLoadMore",d()(function(){n.props.dispatch(Object(m.g)())},300,{leading:!0})),n}Object(c.a)(t,o);var e=t.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(m.h)())},e.render=function(){var t=this.props,e=t.intl,a=t.statusIds,n=t.columnId,o=t.multiColumn,s=t.hasMore,i=t.isLoading,c=!!n;return p.a.createElement(v.a,{ref:this.setRef,name:"favourites",label:e.formatMessage(C.heading)},Object(r.a)(M.a,{icon:"star",title:e.formatMessage(C.heading),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:c,multiColumn:o,showBackButton:!0}),Object(r.a)(w.a,{trackScroll:!c,statusIds:a,scrollKey:"favourited_statuses-"+n,hasMore:s,isLoading:i,onLoadMore:this.handleLoadMore}))},t}(k.a),Object(u.a)(o,"propTypes",{dispatch:j.a.func.isRequired,statusIds:g.a.list.isRequired,intl:j.a.object.isRequired,columnId:j.a.string,multiColumn:j.a.bool,hasMore:j.a.bool,isLoading:j.a.bool}),n=s))||n)||n}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{664:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return R});var n,o,s,r=a(0),i=a(2),c=a(6),u=a(1),l=a(56),d=a.n(l),h=a(3),p=a.n(h),b=a(21),f=a(5),j=a.n(f),O=a(26),g=a.n(O),m=a(188),v=a(625),M=a(627),I=a(221),w=a(902),L=a(7),k=a(25),C=Object(L.f)({heading:{id:"column.favourites",defaultMessage:"Favourites"}}),R=Object(b.connect)(function(t){return{statusIds:t.getIn(["status_lists","favourites","items"]),isLoading:t.getIn(["status_lists","favourites","isLoading"],!0),hasMore:!!t.getIn(["status_lists","favourites","next"])}})(n=Object(L.g)((s=o=function(o){function t(){for(var n,t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];return n=o.call.apply(o,[this].concat(e))||this,Object(u.a)(Object(i.a)(n),"handlePin",function(){var t=n.props,e=t.columnId,a=t.dispatch;a(e?Object(I.h)(e):Object(I.e)("FAVOURITES",{}))}),Object(u.a)(Object(i.a)(n),"handleMove",function(t){var e=n.props,a=e.columnId;(0,e.dispatch)(Object(I.g)(a,t))}),Object(u.a)(Object(i.a)(n),"handleHeaderClick",function(){n.column.scrollTop()}),Object(u.a)(Object(i.a)(n),"setRef",function(t){n.column=t}),Object(u.a)(Object(i.a)(n),"handleLoadMore",d()(function(){n.props.dispatch(Object(m.g)())},300,{leading:!0})),n}Object(c.a)(t,o);var e=t.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(m.h)())},e.render=function(){var t=this.props,e=t.intl,a=t.statusIds,n=t.columnId,o=t.multiColumn,s=t.hasMore,i=t.isLoading,c=!!n;return p.a.createElement(v.a,{ref:this.setRef,name:"favourites",label:e.formatMessage(C.heading)},Object(r.a)(M.a,{icon:"star",title:e.formatMessage(C.heading),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:c,multiColumn:o,showBackButton:!0}),Object(r.a)(w.a,{trackScroll:!c,statusIds:a,scrollKey:"favourited_statuses-"+n,hasMore:s,isLoading:i,onLoadMore:this.handleLoadMore}))},t}(k.a),Object(u.a)(o,"propTypes",{dispatch:j.a.func.isRequired,statusIds:g.a.list.isRequired,intl:j.a.object.isRequired,columnId:j.a.string,multiColumn:j.a.bool,hasMore:j.a.bool,isLoading:j.a.bool}),n=s))||n)||n}}]);
|
||||
//# sourceMappingURL=favourited_statuses.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[54],{661:function(t,a,s){"use strict";s.r(a),s.d(a,"default",function(){return y});var o,e,n,c=s(0),r=s(3),i=s(7),p=s(1),u=(s(2),s(24)),d=s(5),l=s.n(d),b=s(27),h=s.n(b),O=s(271),f=s(49),j=s(426),m=s(600),v=s(624),I=s(929),w=s(25),y=Object(u.connect)(function(t,a){return{accountIds:t.getIn(["user_lists","favourited_by",a.params.statusId])}})((n=e=function(e){function t(){for(var t,a=arguments.length,s=new Array(a),o=0;o<a;o++)s[o]=arguments[o];return t=e.call.apply(e,[this].concat(s))||this,Object(p.a)(Object(r.a)(t),"shouldUpdateScroll",function(t,a){var s=a.location;return!(((t||{}).location||{}).state||{}).mastodonModalOpen&&!(s.state&&s.state.mastodonModalOpen)}),t}Object(i.a)(t,e);var a=t.prototype;return a.componentWillMount=function(){this.props.dispatch(Object(f.q)(this.props.params.statusId))},a.componentWillReceiveProps=function(t){t.params.statusId!==this.props.params.statusId&&t.params.statusId&&this.props.dispatch(Object(f.q)(t.params.statusId))},a.render=function(){var t=this.props.accountIds;return t?Object(c.a)(v.a,{},void 0,Object(c.a)(I.a,{}),Object(c.a)(j.a,{scrollKey:"favourites",shouldUpdateScroll:this.shouldUpdateScroll},void 0,Object(c.a)("div",{className:"scrollable"},void 0,t.map(function(t){return Object(c.a)(m.a,{id:t,withNote:!1},t)})))):Object(c.a)(v.a,{},void 0,Object(c.a)(O.a,{}))},t}(w.a),Object(p.a)(e,"propTypes",{params:l.a.object.isRequired,dispatch:l.a.func.isRequired,accountIds:h.a.list}),o=n))||o}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[54],{662:function(t,a,e){"use strict";e.r(a),e.d(a,"default",function(){return q});var s,o,n,c=e(0),i=e(2),r=e(6),u=e(1),d=e(3),l=e.n(d),p=e(21),b=e(5),f=e.n(b),h=e(26),j=e.n(h),O=e(271),m=e(49),v=e(427),I=e(630),w=e(625),y=e(627),g=e(7),k=e(25),R=Object(g.f)({heading:{id:"column.favourited_by",defaultMessage:"Favourited by"}}),q=Object(p.connect)(function(t,a){return{accountIds:t.getIn(["user_lists","favourited_by",a.params.statusId])}})(s=Object(g.g)((n=o=function(o){function t(){for(var a,t=arguments.length,e=new Array(t),s=0;s<t;s++)e[s]=arguments[s];return a=o.call.apply(o,[this].concat(e))||this,Object(u.a)(Object(i.a)(a),"shouldUpdateScroll",function(t,a){var e=a.location;return!(((t||{}).location||{}).state||{}).mastodonModalOpen&&!(e.state&&e.state.mastodonModalOpen)}),Object(u.a)(Object(i.a)(a),"handleHeaderClick",function(){a.column.scrollTop()}),Object(u.a)(Object(i.a)(a),"setRef",function(t){a.column=t}),a}Object(r.a)(t,o);var a=t.prototype;return a.componentWillMount=function(){this.props.dispatch(Object(m.q)(this.props.params.statusId))},a.componentWillReceiveProps=function(t){t.params.statusId!==this.props.params.statusId&&t.params.statusId&&this.props.dispatch(Object(m.q)(t.params.statusId))},a.render=function(){var t=this.props,a=t.intl,e=t.accountIds;return e?l.a.createElement(w.a,{ref:this.setRef},Object(c.a)(y.a,{icon:"star",title:a.formatMessage(R.heading),onClick:this.handleHeaderClick,showBackButton:!0}),Object(c.a)(v.a,{scrollKey:"favourites",shouldUpdateScroll:this.shouldUpdateScroll},void 0,Object(c.a)("div",{className:"scrollable"},void 0,e.map(function(t){return Object(c.a)(I.a,{id:t,withNote:!1},t)})))):Object(c.a)(w.a,{},void 0,Object(c.a)(O.a,{}))},t}(k.a),Object(u.a)(o,"propTypes",{params:f.a.object.isRequired,dispatch:f.a.func.isRequired,accountIds:j.a.list,intl:f.a.object.isRequired}),s=n))||s)||s}}]);
|
||||
//# sourceMappingURL=favourites.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[55],{701:function(e,t,a){"use strict";a.r(t);var c,o,n,i,r,s,u=a(0),l=a(3),d=a(7),j=a(1),b=(a(2),a(24)),p=a(5),f=a.n(p),O=a(27),h=a.n(O),v=a(271),m=a(426),_=a(624),g=a(629),w=a(204),q=a(318),y=a(102),z=a(103),R=a(48),M=a(6),N=a(25),S=Object(M.f)({authorize:{id:"follow_request.authorize",defaultMessage:"Authorize"},reject:{id:"follow_request.reject",defaultMessage:"Reject"}}),k=Object(M.g)((n=o=function(e){function t(){return e.apply(this,arguments)||this}return Object(d.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.intl,a=e.account,c=e.onAuthorize,o=e.onReject,n={__html:a.get("note_emojified")};return Object(u.a)("div",{className:"account-authorize__wrapper"},void 0,Object(u.a)("div",{className:"account-authorize"},void 0,Object(u.a)(q.a,{href:a.get("url"),to:"/accounts/"+a.get("id"),className:"detailed-status__display-name"},void 0,Object(u.a)("div",{className:"account-authorize__avatar"},void 0,Object(u.a)(y.a,{account:a,size:48})),Object(u.a)(z.a,{account:a})),Object(u.a)("div",{className:"account__header__content",dangerouslySetInnerHTML:n})),Object(u.a)("div",{className:"account--panel"},void 0,Object(u.a)("div",{className:"account--panel__button"},void 0,Object(u.a)(R.a,{title:t.formatMessage(S.authorize),icon:"check",onClick:c})),Object(u.a)("div",{className:"account--panel__button"},void 0,Object(u.a)(R.a,{title:t.formatMessage(S.reject),icon:"times",onClick:o}))))},t}(N.a),Object(j.a)(o,"propTypes",{account:h.a.map.isRequired,onAuthorize:f.a.func.isRequired,onReject:f.a.func.isRequired,intl:f.a.object.isRequired}),c=n))||c,A=a(22),I=Object(b.connect)(function(){var a=Object(w.d)();return function(e,t){return{account:a(e,t.id)}}},function(e,t){var a=t.id;return{onAuthorize:function(){e(Object(A.y)(a))},onReject:function(){e(Object(A.P)(a))}}})(k);a.d(t,"default",function(){return C});var T=Object(M.f)({heading:{id:"column.follow_requests",defaultMessage:"Follow requests"}}),C=Object(b.connect)(function(e){return{accountIds:e.getIn(["user_lists","follow_requests","items"])}})(i=Object(M.g)((s=r=function(o){function e(){for(var a,e=arguments.length,t=new Array(e),c=0;c<e;c++)t[c]=arguments[c];return a=o.call.apply(o,[this].concat(t))||this,Object(j.a)(Object(l.a)(a),"handleScroll",function(e){var t=e.target;t.scrollTop===t.scrollHeight-t.clientHeight&&a.props.dispatch(Object(A.C)())}),Object(j.a)(Object(l.a)(a),"shouldUpdateScroll",function(e,t){var a=t.location;return!(((e||{}).location||{}).state||{}).mastodonModalOpen&&!(a.state&&a.state.mastodonModalOpen)}),a}Object(d.a)(e,o);var t=e.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(A.G)())},t.render=function(){var e=this.props,t=e.intl,a=e.accountIds;return a?Object(u.a)(_.a,{name:"follow-requests",icon:"users",heading:t.formatMessage(T.heading)},void 0,Object(u.a)(g.a,{}),Object(u.a)(m.a,{scrollKey:"follow_requests",shouldUpdateScroll:this.shouldUpdateScroll},void 0,Object(u.a)("div",{className:"scrollable",onScroll:this.handleScroll},void 0,a.map(function(e){return Object(u.a)(I,{id:e},e)})))):Object(u.a)(_.a,{name:"follow-requests"},void 0,Object(u.a)(v.a,{}))},e}(N.a),Object(j.a)(r,"propTypes",{params:f.a.object.isRequired,dispatch:f.a.func.isRequired,accountIds:h.a.list,intl:f.a.object.isRequired}),i=s))||i)||i}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[55],{703:function(e,t,a){"use strict";a.r(t);var c,o,n,i,r,s,u=a(0),l=a(2),d=a(6),j=a(1),b=(a(3),a(21)),p=a(5),f=a.n(p),O=a(26),h=a.n(O),v=a(271),m=a(427),_=a(625),g=a(631),w=a(191),q=a(317),y=a(97),z=a(98),R=a(48),M=a(7),N=a(25),S=Object(M.f)({authorize:{id:"follow_request.authorize",defaultMessage:"Authorize"},reject:{id:"follow_request.reject",defaultMessage:"Reject"}}),k=Object(M.g)((n=o=function(e){function t(){return e.apply(this,arguments)||this}return Object(d.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.intl,a=e.account,c=e.onAuthorize,o=e.onReject,n={__html:a.get("note_emojified")};return Object(u.a)("div",{className:"account-authorize__wrapper"},void 0,Object(u.a)("div",{className:"account-authorize"},void 0,Object(u.a)(q.a,{href:a.get("url"),to:"/accounts/"+a.get("id"),className:"detailed-status__display-name"},void 0,Object(u.a)("div",{className:"account-authorize__avatar"},void 0,Object(u.a)(y.a,{account:a,size:48})),Object(u.a)(z.a,{account:a})),Object(u.a)("div",{className:"account__header__content",dangerouslySetInnerHTML:n})),Object(u.a)("div",{className:"account--panel"},void 0,Object(u.a)("div",{className:"account--panel__button"},void 0,Object(u.a)(R.a,{title:t.formatMessage(S.authorize),icon:"check",onClick:c})),Object(u.a)("div",{className:"account--panel__button"},void 0,Object(u.a)(R.a,{title:t.formatMessage(S.reject),icon:"times",onClick:o}))))},t}(N.a),Object(j.a)(o,"propTypes",{account:h.a.map.isRequired,onAuthorize:f.a.func.isRequired,onReject:f.a.func.isRequired,intl:f.a.object.isRequired}),c=n))||c,A=a(23),I=Object(b.connect)(function(){var a=Object(w.d)();return function(e,t){return{account:a(e,t.id)}}},function(e,t){var a=t.id;return{onAuthorize:function(){e(Object(A.y)(a))},onReject:function(){e(Object(A.P)(a))}}})(k);a.d(t,"default",function(){return C});var T=Object(M.f)({heading:{id:"column.follow_requests",defaultMessage:"Follow requests"}}),C=Object(b.connect)(function(e){return{accountIds:e.getIn(["user_lists","follow_requests","items"])}})(i=Object(M.g)((s=r=function(o){function e(){for(var a,e=arguments.length,t=new Array(e),c=0;c<e;c++)t[c]=arguments[c];return a=o.call.apply(o,[this].concat(t))||this,Object(j.a)(Object(l.a)(a),"handleScroll",function(e){var t=e.target;t.scrollTop===t.scrollHeight-t.clientHeight&&a.props.dispatch(Object(A.C)())}),Object(j.a)(Object(l.a)(a),"shouldUpdateScroll",function(e,t){var a=t.location;return!(((e||{}).location||{}).state||{}).mastodonModalOpen&&!(a.state&&a.state.mastodonModalOpen)}),a}Object(d.a)(e,o);var t=e.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(A.G)())},t.render=function(){var e=this.props,t=e.intl,a=e.accountIds;return a?Object(u.a)(_.a,{name:"follow-requests",icon:"users",heading:t.formatMessage(T.heading)},void 0,Object(u.a)(g.a,{}),Object(u.a)(m.a,{scrollKey:"follow_requests",shouldUpdateScroll:this.shouldUpdateScroll},void 0,Object(u.a)("div",{className:"scrollable",onScroll:this.handleScroll},void 0,a.map(function(e){return Object(u.a)(I,{id:e},e)})))):Object(u.a)(_.a,{name:"follow-requests"},void 0,Object(u.a)(v.a,{}))},e}(N.a),Object(j.a)(r,"propTypes",{params:f.a.object.isRequired,dispatch:f.a.func.isRequired,accountIds:h.a.list,intl:f.a.object.isRequired}),i=s))||i)||i}}]);
|
||||
//# sourceMappingURL=follow_requests.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[56],{658:function(a,t,c){"use strict";c.r(t),c.d(t,"default",function(){return S});var o,e,s,n=c(0),r=c(3),p=c(7),l=c(1),i=c(2),d=c.n(i),u=c(24),h=c(5),b=c.n(h),O=c(27),j=c.n(O),f=c(271),m=c(22),I=c(426),v=c(600),w=c(624),M=c(908),g=c(912),k=c(906),H=c(25),S=Object(u.connect)(function(a,t){return{accountIds:a.getIn(["user_lists","followers",t.params.accountId,"items"]),hasMore:!!a.getIn(["user_lists","followers",t.params.accountId,"next"])}})((s=e=function(e){function a(){for(var c,a=arguments.length,t=new Array(a),o=0;o<a;o++)t[o]=arguments[o];return c=e.call.apply(e,[this].concat(t))||this,Object(l.a)(Object(r.a)(c),"handleHeaderClick",function(){c.column.scrollTop()}),Object(l.a)(Object(r.a)(c),"handleScroll",function(a){var t=a.target;t.scrollTop===t.scrollHeight-t.clientHeight&&c.props.hasMore&&c.props.dispatch(Object(m.D)(c.props.params.accountId))}),Object(l.a)(Object(r.a)(c),"handleLoadMore",function(a){a.preventDefault(),c.props.dispatch(Object(m.D)(c.props.params.accountId))}),Object(l.a)(Object(r.a)(c),"shouldUpdateScroll",function(a,t){var c=t.location;return!(((a||{}).location||{}).state||{}).mastodonModalOpen&&!(c.state&&c.state.mastodonModalOpen)}),Object(l.a)(Object(r.a)(c),"setRef",function(a){c.column=a}),c}Object(p.a)(a,e);var t=a.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(m.F)(this.props.params.accountId)),this.props.dispatch(Object(m.H)(this.props.params.accountId))},t.componentWillReceiveProps=function(a){a.params.accountId!==this.props.params.accountId&&a.params.accountId&&(this.props.dispatch(Object(m.F)(a.params.accountId)),this.props.dispatch(Object(m.H)(a.params.accountId)))},t.render=function(){var a=this.props,t=a.accountIds,c=a.hasMore,o=null;return t?(c&&(o=Object(n.a)(k.a,{onClick:this.handleLoadMore})),d.a.createElement(w.a,{ref:this.setRef},Object(n.a)(M.a,{onClick:this.handleHeaderClick}),Object(n.a)(I.a,{scrollKey:"followers",shouldUpdateScroll:this.shouldUpdateScroll},void 0,Object(n.a)("div",{className:"scrollable",onScroll:this.handleScroll},void 0,Object(n.a)("div",{className:"followers"},void 0,Object(n.a)(g.a,{accountId:this.props.params.accountId,hideTabs:!0}),t.map(function(a){return Object(n.a)(v.a,{id:a,withNote:!1},a)}),o))))):Object(n.a)(w.a,{},void 0,Object(n.a)(f.a,{}))},a}(H.a),Object(l.a)(e,"propTypes",{params:b.a.object.isRequired,dispatch:b.a.func.isRequired,accountIds:j.a.list,hasMore:b.a.bool}),o=s))||o}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[56],{659:function(a,t,c){"use strict";c.r(t),c.d(t,"default",function(){return y});var o,e,s,n=c(0),r=c(2),i=c(6),p=c(1),l=c(3),d=c.n(l),u=c(21),h=c(5),b=c.n(h),O=c(26),j=c.n(O),f=c(271),m=c(23),I=c(427),v=c(630),w=c(625),M=c(913),g=c(916),k=c(912),H=c(25),S=c(896),y=Object(u.connect)(function(a,t){return{isAccount:!!a.getIn(["accounts",t.params.accountId]),accountIds:a.getIn(["user_lists","followers",t.params.accountId,"items"]),hasMore:!!a.getIn(["user_lists","followers",t.params.accountId,"next"])}})((s=e=function(e){function a(){for(var c,a=arguments.length,t=new Array(a),o=0;o<a;o++)t[o]=arguments[o];return c=e.call.apply(e,[this].concat(t))||this,Object(p.a)(Object(r.a)(c),"handleHeaderClick",function(){c.column.scrollTop()}),Object(p.a)(Object(r.a)(c),"handleScroll",function(a){var t=a.target;t.scrollTop===t.scrollHeight-t.clientHeight&&c.props.hasMore&&c.props.dispatch(Object(m.D)(c.props.params.accountId))}),Object(p.a)(Object(r.a)(c),"handleLoadMore",function(a){a.preventDefault(),c.props.dispatch(Object(m.D)(c.props.params.accountId))}),Object(p.a)(Object(r.a)(c),"shouldUpdateScroll",function(a,t){var c=t.location;return!(((a||{}).location||{}).state||{}).mastodonModalOpen&&!(c.state&&c.state.mastodonModalOpen)}),Object(p.a)(Object(r.a)(c),"setRef",function(a){c.column=a}),c}Object(i.a)(a,e);var t=a.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(m.F)(this.props.params.accountId)),this.props.dispatch(Object(m.H)(this.props.params.accountId))},t.componentWillReceiveProps=function(a){a.params.accountId!==this.props.params.accountId&&a.params.accountId&&(this.props.dispatch(Object(m.F)(a.params.accountId)),this.props.dispatch(Object(m.H)(a.params.accountId)))},t.render=function(){var a=this.props,t=a.accountIds,c=a.hasMore;if(!a.isAccount)return Object(n.a)(w.a,{},void 0,Object(n.a)(S.a,{}));var o=null;return t?(c&&(o=Object(n.a)(k.a,{onClick:this.handleLoadMore})),d.a.createElement(w.a,{ref:this.setRef},Object(n.a)(M.a,{onClick:this.handleHeaderClick}),Object(n.a)(I.a,{scrollKey:"followers",shouldUpdateScroll:this.shouldUpdateScroll},void 0,Object(n.a)("div",{className:"scrollable",onScroll:this.handleScroll},void 0,Object(n.a)("div",{className:"followers"},void 0,Object(n.a)(g.a,{accountId:this.props.params.accountId,hideTabs:!0}),t.map(function(a){return Object(n.a)(v.a,{id:a,withNote:!1},a)}),o))))):Object(n.a)(w.a,{},void 0,Object(n.a)(f.a,{}))},a}(H.a),Object(p.a)(e,"propTypes",{params:b.a.object.isRequired,dispatch:b.a.func.isRequired,accountIds:j.a.list,hasMore:b.a.bool,isAccount:b.a.bool}),o=s))||o}}]);
|
||||
//# sourceMappingURL=followers.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[57],{659:function(a,t,c){"use strict";c.r(t),c.d(t,"default",function(){return y});var o,e,n,s=c(0),r=c(3),i=c(7),p=c(1),l=c(2),d=c.n(l),u=c(24),h=c(5),b=c.n(h),O=c(27),j=c.n(O),f=c(271),m=c(22),I=c(426),v=c(600),w=c(624),g=c(908),M=c(912),k=c(906),S=c(25),y=Object(u.connect)(function(a,t){return{accountIds:a.getIn(["user_lists","following",t.params.accountId,"items"]),hasMore:!!a.getIn(["user_lists","following",t.params.accountId,"next"])}})((n=e=function(e){function a(){for(var c,a=arguments.length,t=new Array(a),o=0;o<a;o++)t[o]=arguments[o];return c=e.call.apply(e,[this].concat(t))||this,Object(p.a)(Object(r.a)(c),"handleHeaderClick",function(){c.column.scrollTop()}),Object(p.a)(Object(r.a)(c),"handleScroll",function(a){var t=a.target;t.scrollTop===t.scrollHeight-t.clientHeight&&c.props.hasMore&&c.props.dispatch(Object(m.E)(c.props.params.accountId))}),Object(p.a)(Object(r.a)(c),"handleLoadMore",function(a){a.preventDefault(),c.props.dispatch(Object(m.E)(c.props.params.accountId))}),Object(p.a)(Object(r.a)(c),"shouldUpdateScroll",function(a,t){var c=t.location;return!(((a||{}).location||{}).state||{}).mastodonModalOpen&&!(c.state&&c.state.mastodonModalOpen)}),Object(p.a)(Object(r.a)(c),"setRef",function(a){c.column=a}),c}Object(i.a)(a,e);var t=a.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(m.F)(this.props.params.accountId)),this.props.dispatch(Object(m.I)(this.props.params.accountId))},t.componentWillReceiveProps=function(a){a.params.accountId!==this.props.params.accountId&&a.params.accountId&&(this.props.dispatch(Object(m.F)(a.params.accountId)),this.props.dispatch(Object(m.I)(a.params.accountId)))},t.render=function(){var a=this.props,t=a.accountIds,c=a.hasMore,o=null;return t?(c&&(o=Object(s.a)(k.a,{onClick:this.handleLoadMore})),d.a.createElement(w.a,{ref:this.setRef},Object(s.a)(g.a,{onClick:this.handleHeaderClick}),Object(s.a)(I.a,{scrollKey:"following",shouldUpdateScroll:this.shouldUpdateScroll},void 0,Object(s.a)("div",{className:"scrollable",onScroll:this.handleScroll},void 0,Object(s.a)("div",{className:"following"},void 0,Object(s.a)(M.a,{accountId:this.props.params.accountId,hideTabs:!0}),t.map(function(a){return Object(s.a)(v.a,{id:a,withNote:!1},a)}),o))))):Object(s.a)(w.a,{},void 0,Object(s.a)(f.a,{}))},a}(S.a),Object(p.a)(e,"propTypes",{params:b.a.object.isRequired,dispatch:b.a.func.isRequired,accountIds:j.a.list,hasMore:b.a.bool}),o=n))||o}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[57],{660:function(a,t,c){"use strict";c.r(t),c.d(t,"default",function(){return R});var o,e,n,s=c(0),r=c(2),i=c(6),p=c(1),l=c(3),d=c.n(l),u=c(21),h=c(5),b=c.n(h),O=c(26),j=c.n(O),f=c(271),m=c(23),I=c(427),v=c(630),w=c(625),g=c(913),M=c(916),k=c(912),S=c(25),y=c(896),R=Object(u.connect)(function(a,t){return{isAccount:!!a.getIn(["accounts",t.params.accountId]),accountIds:a.getIn(["user_lists","following",t.params.accountId,"items"]),hasMore:!!a.getIn(["user_lists","following",t.params.accountId,"next"])}})((n=e=function(e){function a(){for(var c,a=arguments.length,t=new Array(a),o=0;o<a;o++)t[o]=arguments[o];return c=e.call.apply(e,[this].concat(t))||this,Object(p.a)(Object(r.a)(c),"handleHeaderClick",function(){c.column.scrollTop()}),Object(p.a)(Object(r.a)(c),"handleScroll",function(a){var t=a.target;t.scrollTop===t.scrollHeight-t.clientHeight&&c.props.hasMore&&c.props.dispatch(Object(m.E)(c.props.params.accountId))}),Object(p.a)(Object(r.a)(c),"handleLoadMore",function(a){a.preventDefault(),c.props.dispatch(Object(m.E)(c.props.params.accountId))}),Object(p.a)(Object(r.a)(c),"shouldUpdateScroll",function(a,t){var c=t.location;return!(((a||{}).location||{}).state||{}).mastodonModalOpen&&!(c.state&&c.state.mastodonModalOpen)}),Object(p.a)(Object(r.a)(c),"setRef",function(a){c.column=a}),c}Object(i.a)(a,e);var t=a.prototype;return t.componentWillMount=function(){this.props.dispatch(Object(m.F)(this.props.params.accountId)),this.props.dispatch(Object(m.I)(this.props.params.accountId))},t.componentWillReceiveProps=function(a){a.params.accountId!==this.props.params.accountId&&a.params.accountId&&(this.props.dispatch(Object(m.F)(a.params.accountId)),this.props.dispatch(Object(m.I)(a.params.accountId)))},t.render=function(){var a=this.props,t=a.accountIds,c=a.hasMore;if(!a.isAccount)return Object(s.a)(w.a,{},void 0,Object(s.a)(y.a,{}));var o=null;return t?(c&&(o=Object(s.a)(k.a,{onClick:this.handleLoadMore})),d.a.createElement(w.a,{ref:this.setRef},Object(s.a)(g.a,{onClick:this.handleHeaderClick}),Object(s.a)(I.a,{scrollKey:"following",shouldUpdateScroll:this.shouldUpdateScroll},void 0,Object(s.a)("div",{className:"scrollable",onScroll:this.handleScroll},void 0,Object(s.a)("div",{className:"following"},void 0,Object(s.a)(M.a,{accountId:this.props.params.accountId,hideTabs:!0}),t.map(function(a){return Object(s.a)(v.a,{id:a,withNote:!1},a)}),o))))):Object(s.a)(w.a,{},void 0,Object(s.a)(f.a,{}))},a}(S.a),Object(p.a)(e,"propTypes",{params:b.a.object.isRequired,dispatch:b.a.func.isRequired,accountIds:j.a.list,hasMore:b.a.bool,isAccount:b.a.bool}),o=n))||o}}]);
|
||||
//# sourceMappingURL=following.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{662:function(n,a,t){"use strict";t.r(a);var c=t(0),e=(t(2),t(624)),o=t(907);a.default=function(){return Object(c.a)(e.a,{},void 0,Object(c.a)(o.a,{}))}}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{663:function(n,a,t){"use strict";t.r(a);var c=t(0),e=(t(3),t(625)),o=t(896);a.default=function(){return Object(c.a)(e.a,{},void 0,Object(c.a)(o.a,{}))}}}]);
|
||||
//# sourceMappingURL=generic_not_found.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[60],{670:function(a,e,t){"use strict";t.r(e),t.d(e,"default",function(){return k});var o,i,s,n,c=t(0),r=t(3),d=t(7),u=t(1),l=(t(2),t(5)),b=t.n(l),f=t(624),g=t(629),h=t(6),_=t(25),p=t(927),O=t(928),m=t(50),v=t(24),M=t(185),j=Object(h.f)(((o={heading:{id:"column.heading",defaultMessage:"Misc"},subheading:{id:"column.subheading",defaultMessage:"Miscellaneous options"},favourites:{id:"navigation_bar.favourites",defaultMessage:"Favourites"},blocks:{id:"navigation_bar.blocks",defaultMessage:"Blocked users"},domain_blocks:{id:"navigation_bar.domain_blocks",defaultMessage:"Hidden domains"},mutes:{id:"navigation_bar.mutes",defaultMessage:"Muted users"},info:{id:"navigation_bar.info",defaultMessage:"Extended information"},show_me_around:{id:"getting_started.onboarding",defaultMessage:"Show me around"},pins:{id:"navigation_bar.pins",defaultMessage:"Pinned toots"}}).info={id:"navigation_bar.info",defaultMessage:"Extended information"},o.keyboard_shortcuts={id:"navigation_bar.keyboard_shortcuts",defaultMessage:"Keyboard shortcuts"},o.featured_users={id:"navigation_bar.featured_users",defaultMessage:"Featured users"},o.switch_to_vanilla={id:"navigation_bar.switch_to_vanilla",defaultMessage:"Switch to Vanilla Flavour"},o)),k=Object(v.connect)()(i=Object(h.g)((n=s=function(i){function a(){for(var e,a=arguments.length,t=new Array(a),o=0;o<a;o++)t[o]=arguments[o];return e=i.call.apply(i,[this].concat(t))||this,Object(u.a)(Object(r.a)(e),"openOnboardingModal",function(a){e.props.dispatch(Object(m.d)("ONBOARDING"))}),Object(u.a)(Object(r.a)(e),"openFeaturedAccountsModal",function(a){e.props.dispatch(Object(m.d)("PINNED_ACCOUNTS_EDITOR"))}),Object(u.a)(Object(r.a)(e),"switch_flavour_vanilla",function(a){e.props.dispatch(Object(M.e)("vanilla"))}),e}return Object(d.a)(a,i),a.prototype.render=function(){var a=this.props.intl;return Object(c.a)(f.a,{icon:"ellipsis-h",heading:a.formatMessage(j.heading)},void 0,Object(c.a)(g.a,{}),Object(c.a)("div",{className:"scrollable"},void 0,Object(c.a)(O.a,{text:a.formatMessage(j.subheading)}),Object(c.a)(p.a,{icon:"star",text:a.formatMessage(j.favourites),to:"/favourites"},"{i++}"),Object(c.a)(p.a,{icon:"thumb-tack",text:a.formatMessage(j.pins),to:"/pinned"},"{i++}"),Object(c.a)(p.a,{icon:"users",text:a.formatMessage(j.featured_users),onClick:this.openFeaturedAccountsModal},"{i++}"),Object(c.a)(p.a,{icon:"volume-off",text:a.formatMessage(j.mutes),to:"/mutes"},"{i++}"),Object(c.a)(p.a,{icon:"ban",text:a.formatMessage(j.blocks),to:"/blocks"},"{i++}"),Object(c.a)(p.a,{icon:"minus-circle",text:a.formatMessage(j.domain_blocks),to:"/domain_blocks"},"{i++}"),Object(c.a)(p.a,{icon:"question",text:a.formatMessage(j.keyboard_shortcuts),to:"/keyboard-shortcuts"},"{i++}"),Object(c.a)(p.a,{icon:"book",text:a.formatMessage(j.info),href:"/about/more"},"{i++}"),Object(c.a)(p.a,{icon:"hand-o-right",text:a.formatMessage(j.show_me_around),onClick:this.openOnboardingModal},"{i++}"),Object(c.a)(p.a,{icon:"exchange",text:a.formatMessage(j.switch_to_vanilla),onClick:this.switch_flavour_vanilla},"{i++}")))},a}(_.a),Object(u.a)(s,"propTypes",{intl:b.a.object.isRequired,dispatch:b.a.func.isRequired,switchFlavour:b.a.func.isRequired}),i=n))||i)||i}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[60],{671:function(a,e,t){"use strict";t.r(e),t.d(e,"default",function(){return k});var o,i,s,n,c=t(0),r=t(2),d=t(6),u=t(1),l=(t(3),t(5)),b=t.n(l),f=t(625),g=t(631),h=t(7),_=t(25),p=t(931),O=t(932),m=t(50),v=t(21),M=t(183),j=Object(h.f)(((o={heading:{id:"column.heading",defaultMessage:"Misc"},subheading:{id:"column.subheading",defaultMessage:"Miscellaneous options"},favourites:{id:"navigation_bar.favourites",defaultMessage:"Favourites"},blocks:{id:"navigation_bar.blocks",defaultMessage:"Blocked users"},domain_blocks:{id:"navigation_bar.domain_blocks",defaultMessage:"Hidden domains"},mutes:{id:"navigation_bar.mutes",defaultMessage:"Muted users"},info:{id:"navigation_bar.info",defaultMessage:"Extended information"},show_me_around:{id:"getting_started.onboarding",defaultMessage:"Show me around"},pins:{id:"navigation_bar.pins",defaultMessage:"Pinned toots"}}).info={id:"navigation_bar.info",defaultMessage:"Extended information"},o.keyboard_shortcuts={id:"navigation_bar.keyboard_shortcuts",defaultMessage:"Keyboard shortcuts"},o.featured_users={id:"navigation_bar.featured_users",defaultMessage:"Featured users"},o.switch_to_vanilla={id:"navigation_bar.switch_to_vanilla",defaultMessage:"Switch to Vanilla Flavour"},o)),k=Object(v.connect)()(i=Object(h.g)((n=s=function(i){function a(){for(var e,a=arguments.length,t=new Array(a),o=0;o<a;o++)t[o]=arguments[o];return e=i.call.apply(i,[this].concat(t))||this,Object(u.a)(Object(r.a)(e),"openOnboardingModal",function(a){e.props.dispatch(Object(m.d)("ONBOARDING"))}),Object(u.a)(Object(r.a)(e),"openFeaturedAccountsModal",function(a){e.props.dispatch(Object(m.d)("PINNED_ACCOUNTS_EDITOR"))}),Object(u.a)(Object(r.a)(e),"switch_flavour_vanilla",function(a){e.props.dispatch(Object(M.e)("vanilla"))}),e}return Object(d.a)(a,i),a.prototype.render=function(){var a=this.props.intl;return Object(c.a)(f.a,{icon:"ellipsis-h",heading:a.formatMessage(j.heading)},void 0,Object(c.a)(g.a,{}),Object(c.a)("div",{className:"scrollable"},void 0,Object(c.a)(O.a,{text:a.formatMessage(j.subheading)}),Object(c.a)(p.a,{icon:"star",text:a.formatMessage(j.favourites),to:"/favourites"},"{i++}"),Object(c.a)(p.a,{icon:"thumb-tack",text:a.formatMessage(j.pins),to:"/pinned"},"{i++}"),Object(c.a)(p.a,{icon:"users",text:a.formatMessage(j.featured_users),onClick:this.openFeaturedAccountsModal},"{i++}"),Object(c.a)(p.a,{icon:"volume-off",text:a.formatMessage(j.mutes),to:"/mutes"},"{i++}"),Object(c.a)(p.a,{icon:"ban",text:a.formatMessage(j.blocks),to:"/blocks"},"{i++}"),Object(c.a)(p.a,{icon:"minus-circle",text:a.formatMessage(j.domain_blocks),to:"/domain_blocks"},"{i++}"),Object(c.a)(p.a,{icon:"question",text:a.formatMessage(j.keyboard_shortcuts),to:"/keyboard-shortcuts"},"{i++}"),Object(c.a)(p.a,{icon:"book",text:a.formatMessage(j.info),href:"/about/more"},"{i++}"),Object(c.a)(p.a,{icon:"hand-o-right",text:a.formatMessage(j.show_me_around),onClick:this.openOnboardingModal},"{i++}"),Object(c.a)(p.a,{icon:"exchange",text:a.formatMessage(j.switch_to_vanilla),onClick:this.switch_flavour_vanilla},"{i++}")))},a}(_.a),Object(u.a)(s,"propTypes",{intl:b.a.object.isRequired,dispatch:b.a.func.isRequired,switchFlavour:b.a.func.isRequired}),i=n))||i)||i}}]);
|
||||
//# sourceMappingURL=getting_started_misc.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[62],{706:function(e,t,n){"use strict";n.r(t);var i,o,a=n(0),s=n(3),c=n(7),l=n(1),r=n(2),u=n.n(r),d=n(24),h=n(34),m=n(894),b=n(630),g=n(626),p=n(222),f=n(6),O=n(921),j=n(922),_=Object(f.f)({filter_regex:{id:"home.column_settings.filter_regex",defaultMessage:"Filter out by regular expressions"},settings:{id:"home.settings",defaultMessage:"Column settings"}}),v=Object(f.g)(i=function(e){function t(){return e.apply(this,arguments)||this}return Object(c.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.settings,n=e.onChange,i=e.intl;return Object(a.a)("div",{},void 0,Object(a.a)("span",{className:"column-settings__section"},void 0,Object(a.a)(f.b,{id:"home.column_settings.basic",defaultMessage:"Basic"})),Object(a.a)("div",{className:"column-settings__row"},void 0,Object(a.a)(O.a,{prefix:"home_timeline",settings:t,settingPath:["shows","reblog"],onChange:n,label:Object(a.a)(f.b,{id:"home.column_settings.show_reblogs",defaultMessage:"Show boosts"})})),Object(a.a)("div",{className:"column-settings__row"},void 0,Object(a.a)(O.a,{prefix:"home_timeline",settings:t,settingPath:["shows","reply"],onChange:n,label:Object(a.a)(f.b,{id:"home.column_settings.show_replies",defaultMessage:"Show replies"})})),Object(a.a)("div",{className:"column-settings__row"},void 0,Object(a.a)(O.a,{prefix:"home_timeline",settings:t,settingPath:["shows","direct"],onChange:n,label:Object(a.a)(f.b,{id:"home.column_settings.show_direct",defaultMessage:"Show DMs"})})),Object(a.a)("span",{className:"column-settings__section"},void 0,Object(a.a)(f.b,{id:"home.column_settings.advanced",defaultMessage:"Advanced"})),Object(a.a)("div",{className:"column-settings__row"},void 0,Object(a.a)(j.a,{prefix:"home_timeline",settings:t,settingPath:["regex","body"],onChange:n,label:i.formatMessage(_.filter_regex)})))},t}(u.a.PureComponent))||i,M=n(68),w=Object(d.connect)(function(e){return{settings:e.getIn(["settings","home"])}},function(n){return{onChange:function(e,t){n(Object(M.c)(["home"].concat(e),t))},onSave:function(){n(Object(M.d)())}}})(v),P=n(358);n.d(t,"default",function(){return y});var C=Object(f.f)({title:{id:"column.home",defaultMessage:"Home"}}),y=Object(d.connect)(function(e){return{hasUnread:0<e.getIn(["timelines","home","unread"]),isPartial:e.getIn(["timelines","home","isPartial"])}})(o=Object(f.g)(o=function(o){function e(){for(var i,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i=o.call.apply(o,[this].concat(t))||this,Object(l.a)(Object(s.a)(i),"handlePin",function(){var e=i.props,t=e.columnId,n=e.dispatch;n(t?Object(p.h)(t):Object(p.e)("HOME",{}))}),Object(l.a)(Object(s.a)(i),"handleMove",function(e){var t=i.props,n=t.columnId;(0,t.dispatch)(Object(p.g)(n,e))}),Object(l.a)(Object(s.a)(i),"handleHeaderClick",function(){i.column.scrollTop()}),Object(l.a)(Object(s.a)(i),"setRef",function(e){i.column=e}),Object(l.a)(Object(s.a)(i),"handleLoadMore",function(e){i.props.dispatch(Object(h.t)({maxId:e}))}),i}Object(c.a)(e,o);var t=e.prototype;return t.componentDidMount=function(){this._checkIfReloadNeeded(!1,this.props.isPartial)},t.componentDidUpdate=function(e){this._checkIfReloadNeeded(e.isPartial,this.props.isPartial)},t.componentWillUnmount=function(){this._stopPolling()},t._checkIfReloadNeeded=function(e,t){var n=this.props.dispatch;e!==t&&(!e&&t?this.polling=setInterval(function(){n(Object(h.t)())},3e3):e&&!t&&this._stopPolling())},t._stopPolling=function(){this.polling&&(clearInterval(this.polling),this.polling=null)},t.render=function(){var e=this.props,t=e.intl,n=e.hasUnread,i=e.columnId,o=e.multiColumn,s=!!i;return u.a.createElement(b.a,{ref:this.setRef,name:"home",label:t.formatMessage(C.title)},Object(a.a)(g.a,{icon:"home",active:n,title:t.formatMessage(C.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:s,multiColumn:o},void 0,Object(a.a)(w,{})),Object(a.a)(m.a,{trackScroll:!s,scrollKey:"home_timeline-"+i,onLoadMore:this.handleLoadMore,timelineId:"home",emptyMessage:Object(a.a)(f.b,{id:"empty_column.home",defaultMessage:"Your home timeline is empty! Visit {public} or use search to get started and meet other users.",values:{public:Object(a.a)(P.a,{to:"/timelines/public"},void 0,Object(a.a)(f.b,{id:"empty_column.home.public_timeline",defaultMessage:"the public timeline"}))}})}))},e}(u.a.PureComponent))||o)||o}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[62],{708:function(e,t,n){"use strict";n.r(t);var i,o,a=n(0),s=n(2),c=n(6),l=n(1),r=n(3),u=n.n(r),d=n(21),h=n(34),m=n(900),b=n(632),g=n(627),p=n(221),f=n(7),O=n(925),j=n(926),_=Object(f.f)({filter_regex:{id:"home.column_settings.filter_regex",defaultMessage:"Filter out by regular expressions"},settings:{id:"home.settings",defaultMessage:"Column settings"}}),v=Object(f.g)(i=function(e){function t(){return e.apply(this,arguments)||this}return Object(c.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.settings,n=e.onChange,i=e.intl;return Object(a.a)("div",{},void 0,Object(a.a)("span",{className:"column-settings__section"},void 0,Object(a.a)(f.b,{id:"home.column_settings.basic",defaultMessage:"Basic"})),Object(a.a)("div",{className:"column-settings__row"},void 0,Object(a.a)(O.a,{prefix:"home_timeline",settings:t,settingPath:["shows","reblog"],onChange:n,label:Object(a.a)(f.b,{id:"home.column_settings.show_reblogs",defaultMessage:"Show boosts"})})),Object(a.a)("div",{className:"column-settings__row"},void 0,Object(a.a)(O.a,{prefix:"home_timeline",settings:t,settingPath:["shows","reply"],onChange:n,label:Object(a.a)(f.b,{id:"home.column_settings.show_replies",defaultMessage:"Show replies"})})),Object(a.a)("div",{className:"column-settings__row"},void 0,Object(a.a)(O.a,{prefix:"home_timeline",settings:t,settingPath:["shows","direct"],onChange:n,label:Object(a.a)(f.b,{id:"home.column_settings.show_direct",defaultMessage:"Show DMs"})})),Object(a.a)("span",{className:"column-settings__section"},void 0,Object(a.a)(f.b,{id:"home.column_settings.advanced",defaultMessage:"Advanced"})),Object(a.a)("div",{className:"column-settings__row"},void 0,Object(a.a)(j.a,{prefix:"home_timeline",settings:t,settingPath:["regex","body"],onChange:n,label:i.formatMessage(_.filter_regex)})))},t}(u.a.PureComponent))||i,M=n(69),w=Object(d.connect)(function(e){return{settings:e.getIn(["settings","home"])}},function(n){return{onChange:function(e,t){n(Object(M.c)(["home"].concat(e),t))},onSave:function(){n(Object(M.d)())}}})(v),P=n(358);n.d(t,"default",function(){return y});var C=Object(f.f)({title:{id:"column.home",defaultMessage:"Home"}}),y=Object(d.connect)(function(e){return{hasUnread:0<e.getIn(["timelines","home","unread"]),isPartial:e.getIn(["timelines","home","isPartial"])}})(o=Object(f.g)(o=function(o){function e(){for(var i,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i=o.call.apply(o,[this].concat(t))||this,Object(l.a)(Object(s.a)(i),"handlePin",function(){var e=i.props,t=e.columnId,n=e.dispatch;n(t?Object(p.h)(t):Object(p.e)("HOME",{}))}),Object(l.a)(Object(s.a)(i),"handleMove",function(e){var t=i.props,n=t.columnId;(0,t.dispatch)(Object(p.g)(n,e))}),Object(l.a)(Object(s.a)(i),"handleHeaderClick",function(){i.column.scrollTop()}),Object(l.a)(Object(s.a)(i),"setRef",function(e){i.column=e}),Object(l.a)(Object(s.a)(i),"handleLoadMore",function(e){i.props.dispatch(Object(h.t)({maxId:e}))}),i}Object(c.a)(e,o);var t=e.prototype;return t.componentDidMount=function(){this._checkIfReloadNeeded(!1,this.props.isPartial)},t.componentDidUpdate=function(e){this._checkIfReloadNeeded(e.isPartial,this.props.isPartial)},t.componentWillUnmount=function(){this._stopPolling()},t._checkIfReloadNeeded=function(e,t){var n=this.props.dispatch;e!==t&&(!e&&t?this.polling=setInterval(function(){n(Object(h.t)())},3e3):e&&!t&&this._stopPolling())},t._stopPolling=function(){this.polling&&(clearInterval(this.polling),this.polling=null)},t.render=function(){var e=this.props,t=e.intl,n=e.hasUnread,i=e.columnId,o=e.multiColumn,s=!!i;return u.a.createElement(b.a,{ref:this.setRef,name:"home",label:t.formatMessage(C.title)},Object(a.a)(g.a,{icon:"home",active:n,title:t.formatMessage(C.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:s,multiColumn:o},void 0,Object(a.a)(w,{})),Object(a.a)(m.a,{trackScroll:!s,scrollKey:"home_timeline-"+i,onLoadMore:this.handleLoadMore,timelineId:"home",emptyMessage:Object(a.a)(f.b,{id:"empty_column.home",defaultMessage:"Your home timeline is empty! Visit {public} or use search to get started and meet other users.",values:{public:Object(a.a)(P.a,{to:"/timelines/public"},void 0,Object(a.a)(f.b,{id:"empty_column.home.public_timeline",defaultMessage:"the public timeline"}))}})}))},e}(u.a.PureComponent))||o)||o}}]);
|
||||
//# sourceMappingURL=home_timeline.js.map
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[64],{695:function(t,n,e){"use strict";e.r(n);var i,c,a,o,r=e(0),u=e(7),s=e(1),d=e(2),l=e.n(d),b=e(5),f=e.n(b),j=e(27),O=e.n(j),p=e(24),m=e(25),v=e(6),h=e(31),g=e(204),I=e(977),C=Object(v.g)(Object(p.connect)(function(){var c=Object(g.d)();return function(t,n){var e=n.accountId,i=n.added;return{account:c(t,e),added:void 0===i?t.getIn(["listEditor","accounts","items"]).includes(e):i}}},function(t,n){var e=n.accountId;return{onRemove:function(){return t(Object(h.K)(e))},onAdd:function(){return t(Object(h.B)(e))}}})(I.a)),R=e(978),_=Object(v.g)(Object(p.connect)(function(t){return{value:t.getIn(["listEditor","suggestions","value"])}},function(n){return{onSubmit:function(t){return n(Object(h.H)(t))},onClear:function(){return n(Object(h.E)())},onChange:function(t){return n(Object(h.D)(t))}}})(R.a)),w=e(3),y=e(48),k=Object(v.f)({title:{id:"lists.edit.submit",defaultMessage:"Change title"}}),q=Object(p.connect)(function(t){return{value:t.getIn(["listEditor","title"]),disabled:!t.getIn(["listEditor","isChanged"])}},function(n){return{onChange:function(t){return n(Object(h.C)(t))},onSubmit:function(){return n(Object(h.P)(!1))}}})(i=Object(v.g)(i=function(c){function t(){for(var n,t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return n=c.call.apply(c,[this].concat(e))||this,Object(s.a)(Object(w.a)(n),"handleChange",function(t){n.props.onChange(t.target.value)}),Object(s.a)(Object(w.a)(n),"handleSubmit",function(t){t.preventDefault(),n.props.onSubmit()}),Object(s.a)(Object(w.a)(n),"handleClick",function(){n.props.onSubmit()}),n}return Object(u.a)(t,c),t.prototype.render=function(){var t=this.props,n=t.value,e=t.disabled,i=t.intl.formatMessage(k.title);return Object(r.a)("form",{className:"column-inline-form",onSubmit:this.handleSubmit},void 0,Object(r.a)("input",{className:"setting-text",value:n,onChange:this.handleChange}),Object(r.a)(y.a,{disabled:e,icon:"check",title:i,onClick:this.handleClick}))},t}(l.a.PureComponent))||i)||i,E=e(105),S=e(44),N=e.n(S);e.d(n,"default",function(){return x});var x=Object(p.connect)(function(t){return{accountIds:t.getIn(["listEditor","accounts","items"]),searchAccountIds:t.getIn(["listEditor","suggestions","items"])}},function(n){return{onInitialize:function(t){return n(Object(h.O)(t))},onClear:function(){return n(Object(h.E)())},onReset:function(){return n(Object(h.M)())}}})(c=Object(v.g)((o=a=function(t){function n(){return t.apply(this,arguments)||this}Object(u.a)(n,t);var e=n.prototype;return e.componentDidMount=function(){var t=this.props;(0,t.onInitialize)(t.listId)},e.componentWillUnmount=function(){(0,this.props.onReset)()},e.render=function(){var t=this.props,n=t.accountIds,e=t.searchAccountIds,i=t.onClear,c=0<e.size;return Object(r.a)("div",{className:"modal-root__modal list-editor"},void 0,Object(r.a)(q,{}),Object(r.a)(_,{}),Object(r.a)("div",{className:"drawer__pager"},void 0,Object(r.a)("div",{className:"drawer__inner list-editor__accounts"},void 0,n.map(function(t){return Object(r.a)(C,{accountId:t,added:!0},t)})),c&&Object(r.a)("div",{role:"button",tabIndex:"-1",className:"drawer__backdrop",onClick:i}),Object(r.a)(E.a,{defaultStyle:{x:-100},style:{x:N()(c?0:-100,{stiffness:210,damping:20})}},void 0,function(t){var n=t.x;return Object(r.a)("div",{className:"drawer__inner backdrop",style:{transform:0===n?null:"translateX("+n+"%)",visibility:-100===n?"hidden":"visible"}},void 0,e.map(function(t){return Object(r.a)(C,{accountId:t},t)}))})))},n}(m.a),Object(s.a)(a,"propTypes",{listId:f.a.string.isRequired,onClose:f.a.func.isRequired,intl:f.a.object.isRequired,onInitialize:f.a.func.isRequired,onClear:f.a.func.isRequired,onReset:f.a.func.isRequired,accountIds:O.a.list.isRequired,searchAccountIds:O.a.list.isRequired}),c=o))||c)||c}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[64],{697:function(t,n,e){"use strict";e.r(n);var i,c,a,o,r=e(0),u=e(6),s=e(1),d=e(3),l=e.n(d),b=e(5),f=e.n(b),j=e(26),O=e.n(j),p=e(21),m=e(25),v=e(7),h=e(31),g=e(191),I=e(981),C=Object(v.g)(Object(p.connect)(function(){var c=Object(g.d)();return function(t,n){var e=n.accountId,i=n.added;return{account:c(t,e),added:void 0===i?t.getIn(["listEditor","accounts","items"]).includes(e):i}}},function(t,n){var e=n.accountId;return{onRemove:function(){return t(Object(h.K)(e))},onAdd:function(){return t(Object(h.B)(e))}}})(I.a)),R=e(982),_=Object(v.g)(Object(p.connect)(function(t){return{value:t.getIn(["listEditor","suggestions","value"])}},function(n){return{onSubmit:function(t){return n(Object(h.H)(t))},onClear:function(){return n(Object(h.E)())},onChange:function(t){return n(Object(h.D)(t))}}})(R.a)),w=e(2),y=e(48),k=Object(v.f)({title:{id:"lists.edit.submit",defaultMessage:"Change title"}}),q=Object(p.connect)(function(t){return{value:t.getIn(["listEditor","title"]),disabled:!t.getIn(["listEditor","isChanged"])}},function(n){return{onChange:function(t){return n(Object(h.C)(t))},onSubmit:function(){return n(Object(h.P)(!1))}}})(i=Object(v.g)(i=function(c){function t(){for(var n,t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return n=c.call.apply(c,[this].concat(e))||this,Object(s.a)(Object(w.a)(n),"handleChange",function(t){n.props.onChange(t.target.value)}),Object(s.a)(Object(w.a)(n),"handleSubmit",function(t){t.preventDefault(),n.props.onSubmit()}),Object(s.a)(Object(w.a)(n),"handleClick",function(){n.props.onSubmit()}),n}return Object(u.a)(t,c),t.prototype.render=function(){var t=this.props,n=t.value,e=t.disabled,i=t.intl.formatMessage(k.title);return Object(r.a)("form",{className:"column-inline-form",onSubmit:this.handleSubmit},void 0,Object(r.a)("input",{className:"setting-text",value:n,onChange:this.handleChange}),Object(r.a)(y.a,{disabled:e,icon:"check",title:i,onClick:this.handleClick}))},t}(l.a.PureComponent))||i)||i,E=e(192),S=e(45),N=e.n(S);e.d(n,"default",function(){return x});var x=Object(p.connect)(function(t){return{accountIds:t.getIn(["listEditor","accounts","items"]),searchAccountIds:t.getIn(["listEditor","suggestions","items"])}},function(n){return{onInitialize:function(t){return n(Object(h.O)(t))},onClear:function(){return n(Object(h.E)())},onReset:function(){return n(Object(h.M)())}}})(c=Object(v.g)((o=a=function(t){function n(){return t.apply(this,arguments)||this}Object(u.a)(n,t);var e=n.prototype;return e.componentDidMount=function(){var t=this.props;(0,t.onInitialize)(t.listId)},e.componentWillUnmount=function(){(0,this.props.onReset)()},e.render=function(){var t=this.props,n=t.accountIds,e=t.searchAccountIds,i=t.onClear,c=0<e.size;return Object(r.a)("div",{className:"modal-root__modal list-editor"},void 0,Object(r.a)(q,{}),Object(r.a)(_,{}),Object(r.a)("div",{className:"drawer__pager"},void 0,Object(r.a)("div",{className:"drawer__inner list-editor__accounts"},void 0,n.map(function(t){return Object(r.a)(C,{accountId:t,added:!0},t)})),c&&Object(r.a)("div",{role:"button",tabIndex:"-1",className:"drawer__backdrop",onClick:i}),Object(r.a)(E.a,{defaultStyle:{x:-100},style:{x:N()(c?0:-100,{stiffness:210,damping:20})}},void 0,function(t){var n=t.x;return Object(r.a)("div",{className:"drawer__inner backdrop",style:{transform:0===n?null:"translateX("+n+"%)",visibility:-100===n?"hidden":"visible"}},void 0,e.map(function(t){return Object(r.a)(C,{accountId:t},t)}))})))},n}(m.a),Object(s.a)(a,"propTypes",{listId:f.a.string.isRequired,onClose:f.a.func.isRequired,intl:f.a.object.isRequired,onInitialize:f.a.func.isRequired,onClear:f.a.func.isRequired,onReset:f.a.func.isRequired,accountIds:O.a.list.isRequired,searchAccountIds:O.a.list.isRequired}),c=o))||c)||c}}]);
|
||||
//# sourceMappingURL=list_editor.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[65],{652:function(e,t,i){"use strict";i.r(t),i.d(t,"default",function(){return N});var a,s,l,r=i(0),n=i(3),o=i(7),c=i(1),d=i(2),p=i.n(d),b=i(24),u=i(5),h=i.n(u),m=i(894),j=i(630),O=i(626),f=i(222),v=i(6),g=i(634),_=i(34),y=i(31),M=i(50),C=i(907),I=i(271),k=Object(v.f)({deleteMessage:{id:"confirmations.delete_list.message",defaultMessage:"Are you sure you want to permanently delete this list?"},deleteConfirm:{id:"confirmations.delete_list.confirm",defaultMessage:"Delete"},all_replies:{id:"lists.replies_policy.all_replies",defaultMessage:"any followed user"},no_replies:{id:"lists.replies_policy.no_replies",defaultMessage:"no one"},list_replies:{id:"lists.replies_policy.list_replies",defaultMessage:"members of the list"}}),N=Object(b.connect)(function(e,t){return{list:e.getIn(["lists",t.params.id]),hasUnread:0<e.getIn(["timelines","list:"+t.params.id,"unread"])}})(a=Object(v.g)((l=s=function(a){function e(){for(var l,e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return l=a.call.apply(a,[this].concat(t))||this,Object(c.a)(Object(n.a)(l),"handlePin",function(){var e=l.props,t=e.columnId,i=e.dispatch;t?i(Object(f.h)(t)):(i(Object(f.e)("LIST",{id:l.props.params.id})),l.context.router.history.push("/"))}),Object(c.a)(Object(n.a)(l),"handleMove",function(e){var t=l.props,i=t.columnId;(0,t.dispatch)(Object(f.g)(i,e))}),Object(c.a)(Object(n.a)(l),"handleHeaderClick",function(){l.column.scrollTop()}),Object(c.a)(Object(n.a)(l),"setRef",function(e){l.column=e}),Object(c.a)(Object(n.a)(l),"handleLoadMore",function(e){var t=l.props.params.id;l.props.dispatch(Object(_.u)(t,{maxId:e}))}),Object(c.a)(Object(n.a)(l),"handleEditClick",function(){l.props.dispatch(Object(M.d)("LIST_EDITOR",{listId:l.props.params.id}))}),Object(c.a)(Object(n.a)(l),"handleDeleteClick",function(){var e=l.props,t=e.dispatch,i=e.columnId,a=e.intl,s=l.props.params.id;t(Object(M.d)("CONFIRM",{message:a.formatMessage(k.deleteMessage),confirm:a.formatMessage(k.deleteConfirm),onConfirm:function(){t(Object(y.F)(s)),i?t(Object(f.h)(i)):l.context.router.history.push("/lists")}}))}),Object(c.a)(Object(n.a)(l),"handleRepliesPolicyChange",function(e){var t=e.target,i=l.props,a=(i.dispatch,i.list,l.props.params.id);l.props.dispatch(Object(y.Q)(a,void 0,!1,t.value))}),l}Object(o.a)(e,a);var t=e.prototype;return t.componentDidMount=function(){var e=this.props.dispatch,t=this.props.params.id;e(Object(y.G)(t)),e(Object(_.u)(t)),this.disconnect=e(Object(g.d)(t))},t.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},t.render=function(){var t=this,e=this.props,i=e.hasUnread,a=e.columnId,s=e.multiColumn,l=e.list,n=(e.intl,this.props.params.id),o=!!a,c=l?l.get("title"):n,d=l?l.get("replies_policy"):void 0;return void 0===l?Object(r.a)(j.a,{},void 0,Object(r.a)("div",{className:"scrollable"},void 0,Object(r.a)(I.a,{}))):!1===l?Object(r.a)(j.a,{},void 0,Object(r.a)("div",{className:"scrollable"},void 0,Object(r.a)(C.a,{}))):p.a.createElement(j.a,{ref:this.setRef,label:c},Object(r.a)(O.a,{icon:"list-ul",active:i,title:c,onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:o,multiColumn:s},void 0,Object(r.a)("div",{className:"column-header__links"},void 0,Object(r.a)("button",{className:"text-btn column-header__setting-btn",tabIndex:"0",onClick:this.handleEditClick},void 0,Object(r.a)("i",{className:"fa fa-pencil"})," ",Object(r.a)(v.b,{id:"lists.edit",defaultMessage:"Edit list"})),Object(r.a)("button",{className:"text-btn column-header__setting-btn",tabIndex:"0",onClick:this.handleDeleteClick},void 0,Object(r.a)("i",{className:"fa fa-trash"})," ",Object(r.a)(v.b,{id:"lists.delete",defaultMessage:"Delete list"}))),void 0!==d&&Object(r.a)("div",{},void 0,Object(r.a)("div",{className:"column-settings__row"},void 0,Object(r.a)("fieldset",{},void 0,Object(r.a)("legend",{},void 0,Object(r.a)(v.b,{id:"lists.replies_policy.title",defaultMessage:"Show replies to:"})),["no_replies","list_replies","all_replies"].map(function(e){return Object(r.a)("div",{className:"setting-radio"},void 0,Object(r.a)("input",{className:"setting-radio__input",id:["setting","radio",n,e].join("-"),type:"radio",value:e,checked:d===e,onChange:t.handleRepliesPolicyChange}),Object(r.a)("label",{className:"setting-radio__label",htmlFor:["setting","radio",n,e].join("-")},void 0,p.a.createElement(v.b,k[e])))})))),Object(r.a)("hr",{})),Object(r.a)(m.a,{trackScroll:!o,scrollKey:"list_timeline-"+a,timelineId:"list:"+n,onLoadMore:this.handleLoadMore,emptyMessage:Object(r.a)(v.b,{id:"empty_column.list",defaultMessage:"There is nothing in this list yet."})}))},e}(p.a.PureComponent),Object(c.a)(s,"contextTypes",{router:h.a.object}),a=l))||a)||a}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[65],{653:function(e,t,i){"use strict";i.r(t),i.d(t,"default",function(){return N});var a,s,l,r=i(0),n=i(2),o=i(6),c=i(1),d=i(3),p=i.n(d),b=i(21),u=i(5),h=i.n(u),m=i(900),j=i(632),O=i(627),f=i(221),v=i(7),g=i(636),_=i(34),y=i(31),M=i(50),C=i(896),I=i(271),k=Object(v.f)({deleteMessage:{id:"confirmations.delete_list.message",defaultMessage:"Are you sure you want to permanently delete this list?"},deleteConfirm:{id:"confirmations.delete_list.confirm",defaultMessage:"Delete"},all_replies:{id:"lists.replies_policy.all_replies",defaultMessage:"any followed user"},no_replies:{id:"lists.replies_policy.no_replies",defaultMessage:"no one"},list_replies:{id:"lists.replies_policy.list_replies",defaultMessage:"members of the list"}}),N=Object(b.connect)(function(e,t){return{list:e.getIn(["lists",t.params.id]),hasUnread:0<e.getIn(["timelines","list:"+t.params.id,"unread"])}})(a=Object(v.g)((l=s=function(a){function e(){for(var l,e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return l=a.call.apply(a,[this].concat(t))||this,Object(c.a)(Object(n.a)(l),"handlePin",function(){var e=l.props,t=e.columnId,i=e.dispatch;t?i(Object(f.h)(t)):(i(Object(f.e)("LIST",{id:l.props.params.id})),l.context.router.history.push("/"))}),Object(c.a)(Object(n.a)(l),"handleMove",function(e){var t=l.props,i=t.columnId;(0,t.dispatch)(Object(f.g)(i,e))}),Object(c.a)(Object(n.a)(l),"handleHeaderClick",function(){l.column.scrollTop()}),Object(c.a)(Object(n.a)(l),"setRef",function(e){l.column=e}),Object(c.a)(Object(n.a)(l),"handleLoadMore",function(e){var t=l.props.params.id;l.props.dispatch(Object(_.u)(t,{maxId:e}))}),Object(c.a)(Object(n.a)(l),"handleEditClick",function(){l.props.dispatch(Object(M.d)("LIST_EDITOR",{listId:l.props.params.id}))}),Object(c.a)(Object(n.a)(l),"handleDeleteClick",function(){var e=l.props,t=e.dispatch,i=e.columnId,a=e.intl,s=l.props.params.id;t(Object(M.d)("CONFIRM",{message:a.formatMessage(k.deleteMessage),confirm:a.formatMessage(k.deleteConfirm),onConfirm:function(){t(Object(y.F)(s)),i?t(Object(f.h)(i)):l.context.router.history.push("/lists")}}))}),Object(c.a)(Object(n.a)(l),"handleRepliesPolicyChange",function(e){var t=e.target,i=l.props,a=(i.dispatch,i.list,l.props.params.id);l.props.dispatch(Object(y.Q)(a,void 0,!1,t.value))}),l}Object(o.a)(e,a);var t=e.prototype;return t.componentDidMount=function(){var e=this.props.dispatch,t=this.props.params.id;e(Object(y.G)(t)),e(Object(_.u)(t)),this.disconnect=e(Object(g.d)(t))},t.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},t.render=function(){var t=this,e=this.props,i=e.hasUnread,a=e.columnId,s=e.multiColumn,l=e.list,n=(e.intl,this.props.params.id),o=!!a,c=l?l.get("title"):n,d=l?l.get("replies_policy"):void 0;return void 0===l?Object(r.a)(j.a,{},void 0,Object(r.a)("div",{className:"scrollable"},void 0,Object(r.a)(I.a,{}))):!1===l?Object(r.a)(j.a,{},void 0,Object(r.a)("div",{className:"scrollable"},void 0,Object(r.a)(C.a,{}))):p.a.createElement(j.a,{ref:this.setRef,label:c},Object(r.a)(O.a,{icon:"list-ul",active:i,title:c,onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:o,multiColumn:s},void 0,Object(r.a)("div",{className:"column-header__links"},void 0,Object(r.a)("button",{className:"text-btn column-header__setting-btn",tabIndex:"0",onClick:this.handleEditClick},void 0,Object(r.a)("i",{className:"fa fa-pencil"})," ",Object(r.a)(v.b,{id:"lists.edit",defaultMessage:"Edit list"})),Object(r.a)("button",{className:"text-btn column-header__setting-btn",tabIndex:"0",onClick:this.handleDeleteClick},void 0,Object(r.a)("i",{className:"fa fa-trash"})," ",Object(r.a)(v.b,{id:"lists.delete",defaultMessage:"Delete list"}))),void 0!==d&&Object(r.a)("div",{},void 0,Object(r.a)("div",{className:"column-settings__row"},void 0,Object(r.a)("fieldset",{},void 0,Object(r.a)("legend",{},void 0,Object(r.a)(v.b,{id:"lists.replies_policy.title",defaultMessage:"Show replies to:"})),["no_replies","list_replies","all_replies"].map(function(e){return Object(r.a)("div",{className:"setting-radio"},void 0,Object(r.a)("input",{className:"setting-radio__input",id:["setting","radio",n,e].join("-"),type:"radio",value:e,checked:d===e,onChange:t.handleRepliesPolicyChange}),Object(r.a)("label",{className:"setting-radio__label",htmlFor:["setting","radio",n,e].join("-")},void 0,p.a.createElement(v.b,k[e])))})))),Object(r.a)("hr",{})),Object(r.a)(m.a,{trackScroll:!o,scrollKey:"list_timeline-"+a,timelineId:"list:"+n,onLoadMore:this.handleLoadMore,emptyMessage:Object(r.a)(v.b,{id:"empty_column.list",defaultMessage:"There is nothing in this list yet."})}))},e}(p.a.PureComponent),Object(c.a)(s,"contextTypes",{router:h.a.object}),a=l))||a)||a}}]);
|
||||
//# sourceMappingURL=list_timeline.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[66],{653:function(t,e,i){"use strict";i.r(e),i.d(e,"default",function(){return k});var n,a,s,c=i(0),r=i(7),o=i(1),u=(i(2),i(24)),l=i(5),d=i.n(l),b=i(27),p=i.n(b),f=i(271),g=i(624),j=i(629),O=i(31),h=i(6),m=i(25),v=i(927),w=i(928),M=i(976),q=i(61),y=Object(h.f)({heading:{id:"column.lists",defaultMessage:"Lists"},subheading:{id:"lists.subheading",defaultMessage:"Your lists"}}),R=Object(q.a)([function(t){return t.get("lists")}],function(t){return t?t.toList().filter(function(t){return!!t}).sort(function(t,e){return t.get("title").localeCompare(e.get("title"))}):t}),k=Object(u.connect)(function(t){return{lists:R(t)}})(n=Object(h.g)((s=a=function(t){function e(){return t.apply(this,arguments)||this}Object(r.a)(e,t);var i=e.prototype;return i.componentWillMount=function(){this.props.dispatch(Object(O.I)())},i.render=function(){var t=this.props,e=t.intl,i=t.lists;return i?Object(c.a)(g.a,{icon:"bars",heading:e.formatMessage(y.heading)},void 0,Object(c.a)(j.a,{}),Object(c.a)(M.a,{}),Object(c.a)("div",{className:"scrollable"},void 0,Object(c.a)(w.a,{text:e.formatMessage(y.subheading)}),i.map(function(t){return Object(c.a)(v.a,{to:"/timelines/list/"+t.get("id"),icon:"list-ul",text:t.get("title")},t.get("id"))}))):Object(c.a)(g.a,{},void 0,Object(c.a)(f.a,{}))},e}(m.a),Object(o.a)(a,"propTypes",{params:d.a.object.isRequired,dispatch:d.a.func.isRequired,lists:p.a.list,intl:d.a.object.isRequired}),n=s))||n)||n}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[66],{654:function(t,e,i){"use strict";i.r(e),i.d(e,"default",function(){return k});var n,a,s,c=i(0),r=i(6),o=i(1),u=(i(3),i(21)),l=i(5),d=i.n(l),b=i(26),p=i.n(b),f=i(271),g=i(625),j=i(631),O=i(31),h=i(7),m=i(25),v=i(931),w=i(932),M=i(980),q=i(61),y=Object(h.f)({heading:{id:"column.lists",defaultMessage:"Lists"},subheading:{id:"lists.subheading",defaultMessage:"Your lists"}}),R=Object(q.a)([function(t){return t.get("lists")}],function(t){return t?t.toList().filter(function(t){return!!t}).sort(function(t,e){return t.get("title").localeCompare(e.get("title"))}):t}),k=Object(u.connect)(function(t){return{lists:R(t)}})(n=Object(h.g)((s=a=function(t){function e(){return t.apply(this,arguments)||this}Object(r.a)(e,t);var i=e.prototype;return i.componentWillMount=function(){this.props.dispatch(Object(O.I)())},i.render=function(){var t=this.props,e=t.intl,i=t.lists;return i?Object(c.a)(g.a,{icon:"bars",heading:e.formatMessage(y.heading)},void 0,Object(c.a)(j.a,{}),Object(c.a)(M.a,{}),Object(c.a)("div",{className:"scrollable"},void 0,Object(c.a)(w.a,{text:e.formatMessage(y.subheading)}),i.map(function(t){return Object(c.a)(v.a,{to:"/timelines/list/"+t.get("id"),icon:"list-ul",text:t.get("title")},t.get("id"))}))):Object(c.a)(g.a,{},void 0,Object(c.a)(f.a,{}))},e}(m.a),Object(o.a)(a,"propTypes",{params:d.a.object.isRequired,dispatch:d.a.func.isRequired,lists:p.a.list,intl:d.a.object.isRequired}),n=s))||n)||n}}]);
|
||||
//# sourceMappingURL=lists.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[67],{668:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return g});var o,a=n(0),c=n(3),s=n(7),u=n(1),i=n(2),r=n.n(i),l=n(24),d=n(6),f=n(362),b=n.n(f),m=n(82),j=n(50),p=n(22),O=n(136),g=Object(l.connect)(function(t){return{isSubmitting:t.getIn(["reports","new","isSubmitting"]),account:t.getIn(["mutes","new","account"]),notifications:t.getIn(["mutes","new","notifications"])}},function(n){return{onConfirm:function(t,e){n(Object(p.N)(t.get("id"),e))},onClose:function(){n(Object(j.c)())},onToggleNotifications:function(){n(Object(O.h)())}}})(o=Object(d.g)(o=function(i){function t(){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e=i.call.apply(i,[this].concat(n))||this,Object(u.a)(Object(c.a)(e),"handleClick",function(){e.props.onClose(),e.props.onConfirm(e.props.account,e.props.notifications)}),Object(u.a)(Object(c.a)(e),"handleCancel",function(){e.props.onClose()}),Object(u.a)(Object(c.a)(e),"setRef",function(t){e.button=t}),Object(u.a)(Object(c.a)(e),"toggleNotifications",function(){e.props.onToggleNotifications()}),e}Object(s.a)(t,i);var e=t.prototype;return e.componentDidMount=function(){this.button.focus()},e.render=function(){var t=this.props,e=t.account,n=t.notifications;return Object(a.a)("div",{className:"modal-root__modal mute-modal"},void 0,Object(a.a)("div",{className:"mute-modal__container"},void 0,Object(a.a)("p",{},void 0,Object(a.a)(d.b,{id:"confirmations.mute.message",defaultMessage:"Are you sure you want to mute {name}?",values:{name:Object(a.a)("strong",{},void 0,"@",e.get("acct"))}})),Object(a.a)("div",{},void 0,Object(a.a)("label",{htmlFor:"mute-modal__hide-notifications-checkbox"},void 0,Object(a.a)(d.b,{id:"mute_modal.hide_notifications",defaultMessage:"Hide notifications from this user?"})," ",Object(a.a)(b.a,{id:"mute-modal__hide-notifications-checkbox",checked:n,onChange:this.toggleNotifications})))),Object(a.a)("div",{className:"mute-modal__action-bar"},void 0,Object(a.a)(m.a,{onClick:this.handleCancel,className:"mute-modal__cancel-button"},void 0,Object(a.a)(d.b,{id:"confirmation_modal.cancel",defaultMessage:"Cancel"})),r.a.createElement(m.a,{onClick:this.handleClick,ref:this.setRef},Object(a.a)(d.b,{id:"confirmations.mute.confirm",defaultMessage:"Mute"}))))},t}(r.a.PureComponent))||o)||o}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[67],{669:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return g});var o,a=n(0),c=n(2),s=n(6),u=n(1),i=n(3),r=n.n(i),l=n(21),d=n(7),f=n(362),b=n.n(f),m=n(82),j=n(50),p=n(23),O=n(134),g=Object(l.connect)(function(t){return{isSubmitting:t.getIn(["reports","new","isSubmitting"]),account:t.getIn(["mutes","new","account"]),notifications:t.getIn(["mutes","new","notifications"])}},function(n){return{onConfirm:function(t,e){n(Object(p.N)(t.get("id"),e))},onClose:function(){n(Object(j.c)())},onToggleNotifications:function(){n(Object(O.h)())}}})(o=Object(d.g)(o=function(i){function t(){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e=i.call.apply(i,[this].concat(n))||this,Object(u.a)(Object(c.a)(e),"handleClick",function(){e.props.onClose(),e.props.onConfirm(e.props.account,e.props.notifications)}),Object(u.a)(Object(c.a)(e),"handleCancel",function(){e.props.onClose()}),Object(u.a)(Object(c.a)(e),"setRef",function(t){e.button=t}),Object(u.a)(Object(c.a)(e),"toggleNotifications",function(){e.props.onToggleNotifications()}),e}Object(s.a)(t,i);var e=t.prototype;return e.componentDidMount=function(){this.button.focus()},e.render=function(){var t=this.props,e=t.account,n=t.notifications;return Object(a.a)("div",{className:"modal-root__modal mute-modal"},void 0,Object(a.a)("div",{className:"mute-modal__container"},void 0,Object(a.a)("p",{},void 0,Object(a.a)(d.b,{id:"confirmations.mute.message",defaultMessage:"Are you sure you want to mute {name}?",values:{name:Object(a.a)("strong",{},void 0,"@",e.get("acct"))}})),Object(a.a)("div",{},void 0,Object(a.a)("label",{htmlFor:"mute-modal__hide-notifications-checkbox"},void 0,Object(a.a)(d.b,{id:"mute_modal.hide_notifications",defaultMessage:"Hide notifications from this user?"})," ",Object(a.a)(b.a,{id:"mute-modal__hide-notifications-checkbox",checked:n,onChange:this.toggleNotifications})))),Object(a.a)("div",{className:"mute-modal__action-bar"},void 0,Object(a.a)(m.a,{onClick:this.handleCancel,className:"mute-modal__cancel-button"},void 0,Object(a.a)(d.b,{id:"confirmation_modal.cancel",defaultMessage:"Cancel"})),r.a.createElement(m.a,{onClick:this.handleClick,ref:this.setRef},Object(a.a)(d.b,{id:"confirmations.mute.confirm",defaultMessage:"Mute"}))))},t}(r.a.PureComponent))||o)||o}}]);
|
||||
//# sourceMappingURL=mute_modal.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[68],{666:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return y});var c,n,o,s=a(0),i=a(3),r=a(7),l=a(1),u=(a(2),a(24)),d=a(5),p=a.n(d),b=a(27),h=a.n(b),j=a(271),O=a(426),f=a(624),m=a(629),v=a(600),g=a(136),w=a(6),M=a(25),S=Object(w.f)({heading:{id:"column.mutes",defaultMessage:"Muted users"}}),y=Object(u.connect)(function(t){return{accountIds:t.getIn(["user_lists","mutes","items"])}})(c=Object(w.g)((o=n=function(n){function t(){for(var a,t=arguments.length,e=new Array(t),c=0;c<t;c++)e[c]=arguments[c];return a=n.call.apply(n,[this].concat(e))||this,Object(l.a)(Object(i.a)(a),"handleScroll",function(t){var e=t.target;e.scrollTop===e.scrollHeight-e.clientHeight&&a.props.dispatch(Object(g.e)())}),Object(l.a)(Object(i.a)(a),"shouldUpdateScroll",function(t,e){var a=e.location;return!(((t||{}).location||{}).state||{}).mastodonModalOpen&&!(a.state&&a.state.mastodonModalOpen)}),a}Object(r.a)(t,n);var e=t.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(g.f)())},e.render=function(){var t=this.props,e=t.intl,a=t.accountIds;return a?Object(s.a)(f.a,{name:"mutes",icon:"volume-off",heading:e.formatMessage(S.heading)},void 0,Object(s.a)(m.a,{}),Object(s.a)(O.a,{scrollKey:"mutes",shouldUpdateScroll:this.shouldUpdateScroll},void 0,Object(s.a)("div",{className:"scrollable mutes",onScroll:this.handleScroll},void 0,a.map(function(t){return Object(s.a)(v.a,{id:t},t)})))):Object(s.a)(f.a,{},void 0,Object(s.a)(j.a,{}))},t}(M.a),Object(l.a)(n,"propTypes",{params:p.a.object.isRequired,dispatch:p.a.func.isRequired,accountIds:h.a.list,intl:p.a.object.isRequired}),c=o))||c)||c}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[68],{667:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return y});var c,n,o,s=a(0),i=a(2),r=a(6),l=a(1),u=(a(3),a(21)),d=a(5),p=a.n(d),b=a(26),h=a.n(b),j=a(271),O=a(427),f=a(625),m=a(631),v=a(630),g=a(134),w=a(7),M=a(25),S=Object(w.f)({heading:{id:"column.mutes",defaultMessage:"Muted users"}}),y=Object(u.connect)(function(t){return{accountIds:t.getIn(["user_lists","mutes","items"])}})(c=Object(w.g)((o=n=function(n){function t(){for(var a,t=arguments.length,e=new Array(t),c=0;c<t;c++)e[c]=arguments[c];return a=n.call.apply(n,[this].concat(e))||this,Object(l.a)(Object(i.a)(a),"handleScroll",function(t){var e=t.target;e.scrollTop===e.scrollHeight-e.clientHeight&&a.props.dispatch(Object(g.e)())}),Object(l.a)(Object(i.a)(a),"shouldUpdateScroll",function(t,e){var a=e.location;return!(((t||{}).location||{}).state||{}).mastodonModalOpen&&!(a.state&&a.state.mastodonModalOpen)}),a}Object(r.a)(t,n);var e=t.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(g.f)())},e.render=function(){var t=this.props,e=t.intl,a=t.accountIds;return a?Object(s.a)(f.a,{name:"mutes",icon:"volume-off",heading:e.formatMessage(S.heading)},void 0,Object(s.a)(m.a,{}),Object(s.a)(O.a,{scrollKey:"mutes",shouldUpdateScroll:this.shouldUpdateScroll},void 0,Object(s.a)("div",{className:"scrollable mutes",onScroll:this.handleScroll},void 0,a.map(function(t){return Object(s.a)(v.a,{id:t},t)})))):Object(s.a)(f.a,{},void 0,Object(s.a)(j.a,{}))},t}(M.a),Object(l.a)(n,"propTypes",{params:p.a.object.isRequired,dispatch:p.a.func.isRequired,accountIds:h.a.list,intl:p.a.object.isRequired}),c=o))||c)||c}}]);
|
||||
//# sourceMappingURL=mutes.js.map
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[71],{703:function(n,t,e){"use strict";e.r(t);var c,i,o,r=e(0),a=e(7),u=e(1),s=(e(2),e(5)),d=e.n(s),l=e(27),b=e.n(l),f=e(24),p=e(25),j=e(6),O=e(22),v=e(204),m=e(977),I=Object(j.g)(Object(f.connect)(function(){var i=Object(v.d)();return function(n,t){var e=t.accountId,c=t.added;return{account:i(n,e),added:void 0===c?n.getIn(["pinnedAccountsEditor","accounts","items"]).includes(e):c}}},function(n,t){var e=t.accountId;return{onRemove:function(){return n(Object(O.U)(e))},onAdd:function(){return n(Object(O.O)(e))}}})(m.a)),g=e(978),_=Object(j.g)(Object(f.connect)(function(n){return{value:n.getIn(["pinnedAccountsEditor","suggestions","value"])}},function(t){return{onSubmit:function(n){return t(Object(O.K)(n))},onClear:function(){return t(Object(O.B)())},onChange:function(n){return t(Object(O.A)(n))}}})(g.a)),h=e(105),R=e(44),w=e.n(R);e.d(t,"default",function(){return A});var A=Object(f.connect)(function(n){return{accountIds:n.getIn(["pinnedAccountsEditor","accounts","items"]),searchAccountIds:n.getIn(["pinnedAccountsEditor","suggestions","items"])}},function(n){return{onInitialize:function(){return n(Object(O.J)())},onClear:function(){return n(Object(O.B)())},onReset:function(){return n(Object(O.Q)())}}})(c=Object(j.g)((o=i=function(n){function t(){return n.apply(this,arguments)||this}Object(a.a)(t,n);var e=t.prototype;return e.componentDidMount=function(){(0,this.props.onInitialize)()},e.componentWillUnmount=function(){(0,this.props.onReset)()},e.render=function(){var n=this.props,t=n.accountIds,e=n.searchAccountIds,c=n.onClear,i=0<e.size;return Object(r.a)("div",{className:"modal-root__modal list-editor"},void 0,Object(r.a)("h4",{},void 0,Object(r.a)(j.b,{id:"endorsed_accounts_editor.endorsed_accounts",defaultMessage:"Featured accounts"})),Object(r.a)(_,{}),Object(r.a)("div",{className:"drawer__pager"},void 0,Object(r.a)("div",{className:"drawer__inner list-editor__accounts"},void 0,t.map(function(n){return Object(r.a)(I,{accountId:n,added:!0},n)})),i&&Object(r.a)("div",{role:"button",tabIndex:"-1",className:"drawer__backdrop",onClick:c}),Object(r.a)(h.a,{defaultStyle:{x:-100},style:{x:w()(i?0:-100,{stiffness:210,damping:20})}},void 0,function(n){var t=n.x;return Object(r.a)("div",{className:"drawer__inner backdrop",style:{transform:0===t?null:"translateX("+t+"%)",visibility:-100===t?"hidden":"visible"}},void 0,e.map(function(n){return Object(r.a)(I,{accountId:n},n)}))})))},t}(p.a),Object(u.a)(i,"propTypes",{onClose:d.a.func.isRequired,intl:d.a.object.isRequired,onInitialize:d.a.func.isRequired,onClear:d.a.func.isRequired,onReset:d.a.func.isRequired,title:d.a.string.isRequired,accountIds:b.a.list.isRequired,searchAccountIds:b.a.list.isRequired}),c=o))||c)||c}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[71],{706:function(n,t,e){"use strict";e.r(t);var c,i,o,r=e(0),a=e(6),u=e(1),s=(e(3),e(5)),d=e.n(s),l=e(26),b=e.n(l),f=e(21),p=e(25),j=e(7),O=e(23),v=e(191),m=e(981),I=Object(j.g)(Object(f.connect)(function(){var i=Object(v.d)();return function(n,t){var e=t.accountId,c=t.added;return{account:i(n,e),added:void 0===c?n.getIn(["pinnedAccountsEditor","accounts","items"]).includes(e):c}}},function(n,t){var e=t.accountId;return{onRemove:function(){return n(Object(O.U)(e))},onAdd:function(){return n(Object(O.O)(e))}}})(m.a)),g=e(982),_=Object(j.g)(Object(f.connect)(function(n){return{value:n.getIn(["pinnedAccountsEditor","suggestions","value"])}},function(t){return{onSubmit:function(n){return t(Object(O.K)(n))},onClear:function(){return t(Object(O.B)())},onChange:function(n){return t(Object(O.A)(n))}}})(g.a)),h=e(192),R=e(45),w=e.n(R);e.d(t,"default",function(){return A});var A=Object(f.connect)(function(n){return{accountIds:n.getIn(["pinnedAccountsEditor","accounts","items"]),searchAccountIds:n.getIn(["pinnedAccountsEditor","suggestions","items"])}},function(n){return{onInitialize:function(){return n(Object(O.J)())},onClear:function(){return n(Object(O.B)())},onReset:function(){return n(Object(O.Q)())}}})(c=Object(j.g)((o=i=function(n){function t(){return n.apply(this,arguments)||this}Object(a.a)(t,n);var e=t.prototype;return e.componentDidMount=function(){(0,this.props.onInitialize)()},e.componentWillUnmount=function(){(0,this.props.onReset)()},e.render=function(){var n=this.props,t=n.accountIds,e=n.searchAccountIds,c=n.onClear,i=0<e.size;return Object(r.a)("div",{className:"modal-root__modal list-editor"},void 0,Object(r.a)("h4",{},void 0,Object(r.a)(j.b,{id:"endorsed_accounts_editor.endorsed_accounts",defaultMessage:"Featured accounts"})),Object(r.a)(_,{}),Object(r.a)("div",{className:"drawer__pager"},void 0,Object(r.a)("div",{className:"drawer__inner list-editor__accounts"},void 0,t.map(function(n){return Object(r.a)(I,{accountId:n,added:!0},n)})),i&&Object(r.a)("div",{role:"button",tabIndex:"-1",className:"drawer__backdrop",onClick:c}),Object(r.a)(h.a,{defaultStyle:{x:-100},style:{x:w()(i?0:-100,{stiffness:210,damping:20})}},void 0,function(n){var t=n.x;return Object(r.a)("div",{className:"drawer__inner backdrop",style:{transform:0===t?null:"translateX("+t+"%)",visibility:-100===t?"hidden":"visible"}},void 0,e.map(function(n){return Object(r.a)(I,{accountId:n},n)}))})))},t}(p.a),Object(u.a)(i,"propTypes",{onClose:d.a.func.isRequired,intl:d.a.object.isRequired,onInitialize:d.a.func.isRequired,onClear:d.a.func.isRequired,onReset:d.a.func.isRequired,title:d.a.string.isRequired,accountIds:b.a.list.isRequired,searchAccountIds:b.a.list.isRequired}),c=o))||c)||c}}]);
|
||||
//# sourceMappingURL=pinned_accounts_editor.js.map
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue