X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=priv%2Fstatic%2Fpacks%2Ffeatures%2Fgetting_started.js;h=5b3f3471dff9f04c120f95a014e5daab23eecfc3;hb=e8493431bfc16977e43715bf8bdb09ac46580028;hp=61d3be6ab701ff94abe0acc1acbe8de7b5d35ac7;hpb=925fb2f8717c1d7aa9be03be96fcaaed54a9f839;p=akkoma
diff --git a/priv/static/packs/features/getting_started.js b/priv/static/packs/features/getting_started.js
index 61d3be6ab..5b3f3471d 100644
--- a/priv/static/packs/features/getting_started.js
+++ b/priv/static/packs/features/getting_started.js
@@ -1,2 +1,2 @@
-webpackJsonp([21],{150:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var i=n(2),o=n.n(i),a=n(1),s=n.n(a),r=n(3),u=n.n(r),l=n(4),c=n.n(l),d=n(0),f=n.n(d),g=n(10),m=n.n(g),h=function(e){function t(){var n,i,o;s()(this,t);for(var a=arguments.length,r=Array(a),l=0;l=t?t+"+":e},j=(i=Object(M.connect)(I,R))(o=Object(_.g)((s=a=function(e){function t(){return c()(this,t),f()(this,e.apply(this,arguments))}return m()(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.myAccount,n=e.fetchFollowRequests;t.get("locked")&&n()},t.prototype.render=function(){var e=this.props,t=e.intl,n=e.myAccount,i=e.columns,o=e.multiColumn,a=e.unreadFollowRequests,s=e.unreadNotifications,r=[];return o&&(i.find(function(e){return"HOME"===e.get("id")})||r.push(u()(p.a,{icon:"home",text:t.formatMessage(F.home_timeline),to:"/timelines/home"},"0")),i.find(function(e){return"NOTIFICATIONS"===e.get("id")})||r.push(u()(p.a,{icon:"bell",text:t.formatMessage(F.notifications),badge:S(s),to:"/notifications"},"1")),i.find(function(e){return"COMMUNITY"===e.get("id")})||r.push(u()(p.a,{icon:"users",text:t.formatMessage(F.community_timeline),to:"/timelines/public/local"},"2")),i.find(function(e){return"PUBLIC"===e.get("id")})||r.push(u()(p.a,{icon:"globe",text:t.formatMessage(F.public_timeline),to:"/timelines/public"},"3"))),r.push(u()(p.a,{icon:"star",text:t.formatMessage(F.favourites),to:"/favourites"},"4")),n.get("locked")&&r.push(u()(p.a,{icon:"users",text:t.formatMessage(F.follow_requests),badge:S(a,40),to:"/follow_requests"},"6")),o&&r.push(u()(p.a,{icon:"question",text:t.formatMessage(F.keyboard_shortcuts),to:"/keyboard-shortcuts"},"7")),u()(b.a,{icon:"asterisk",heading:t.formatMessage(F.heading),hideHeadingOnMobile:!0},void 0,u()("div",{className:"getting-started__wrapper"},void 0,u()(v.a,{text:t.formatMessage(F.navigation_subheading)}),r,u()(v.a,{text:t.formatMessage(F.settings_subheading)}),u()(p.a,{icon:"ban",text:t.formatMessage(F.blocks),to:"/blocks"}),u()(p.a,{icon:"cog",text:t.formatMessage(F.preferences),href:"/user-settings"}),u()(p.a,{icon:"sign-out",text:t.formatMessage(F.sign_out),href:"/auth/sign_out",method:"delete"})),u()("div",{className:"static-content getting-started"},void 0,u()("p",{},void 0,u()("a",{href:"https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/FAQ.md",rel:"noopener",target:"_blank"},void 0,u()(_.b,{id:"getting_started.faq",defaultMessage:"FAQ"}))," ⢠",u()("a",{href:"https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/User-guide.md",rel:"noopener",target:"_blank"},void 0,u()(_.b,{id:"getting_started.userguide",defaultMessage:"User Guide"}))," ⢠",u()("a",{href:"https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/Apps.md",rel:"noopener",target:"_blank"},void 0,u()(_.b,{id:"getting_started.appsshort",defaultMessage:"Apps"}))," ⢠",u()("a",{href:"https://pleroma.social"},void 0,u()(_.b,{id:"getting_started.pleroma",defaultMessage:"Pleroma"})))))},t}(A.a),a.propTypes={intl:k.a.object.isRequired,myAccount:w.a.map.isRequired,columns:w.a.list,multiColumn:k.a.bool,fetchFollowRequests:k.a.func.isRequired,unreadFollowRequests:k.a.number,unreadNotifications:k.a.number},o=s))||o)||o},965:function(e,t,n){"use strict";var i=n(2),o=n.n(i),a=n(0),s=(n.n(a),n(45)),r=function(e){var t=e.icon,n=e.text,i=e.to,a=e.href,r=e.method,u=e.badge,l=void 0!==u?o()("span",{className:"column-link__badge"},void 0,u):null;return a?o()("a",{href:a,className:"column-link","data-method":r},void 0,o()("i",{className:"fa fa-fw fa-"+t+" column-link__icon"}),n,l):o()(s.b,{to:i,className:"column-link"},void 0,o()("i",{className:"fa fa-fw fa-"+t+" column-link__icon"}),n,l)};t.a=r},966:function(e,t,n){"use strict";var i=n(2),o=n.n(i),a=n(0),s=(n.n(a),function(e){var t=e.text;return o()("div",{className:"column-subheading"},void 0,t)});t.a=s}});
+(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{762:function(e,t,a){"use strict";a.d(t,"a",(function(){return j}));var i,o,s=a(0),n=a(2),r=a(7),c=a(1),u=a(13),d=a(3),l=a.n(d),b=a(6),g=a(316),f=a(20),m=a(711),p=a(47),v=Object(b.f)({logoutMessage:{id:"confirmations.logout.message",defaultMessage:"Are you sure you want to log out?"},logoutConfirm:{id:"confirmations.logout.confirm",defaultMessage:"Log out"}}),j=(i=Object(u.connect)(null,(function(e,t){var a=t.intl;return{onLogout:function(){e(Object(p.d)("CONFIRM",{message:a.formatMessage(v.logoutMessage),confirm:a.formatMessage(v.logoutConfirm),onConfirm:function(){return Object(m.a)()}}))}}})),Object(b.g)(o=i(o=function(e){function t(){for(var t,a=arguments.length,i=new Array(a),o=0;o=1190?this.context.router.history.replace("/timelines/home"):t()},a.render=function(){var e,t,a=this.props,i=a.intl,o=a.myAccount,s=a.multiColumn,r=a.unreadFollowRequests,c=[],g=1,f=s?0:60;return s?(c.push(Object(n.a)(l.a,{text:i.formatMessage(q.discover)},g++),Object(n.a)(d.a,{icon:"users",text:i.formatMessage(q.community_timeline),to:"/timelines/public/local"},g++),Object(n.a)(d.a,{icon:"globe",text:i.formatMessage(q.public_timeline),to:"/timelines/public"},g++)),f+=130,O.o&&(c.push(Object(n.a)(d.a,{icon:"address-book",text:i.formatMessage(q.profile_directory),to:"/directory"},g++)),f+=48),c.push(Object(n.a)(l.a,{text:i.formatMessage(q.personal)},g++)),f+=34):O.o&&(c.push(Object(n.a)(d.a,{icon:"address-book",text:i.formatMessage(q.profile_directory),to:"/directory"},g++)),f+=48),c.push(Object(n.a)(d.a,{icon:"envelope",text:i.formatMessage(q.direct),to:"/timelines/direct"},g++),Object(n.a)(d.a,{icon:"bookmark",text:i.formatMessage(q.bookmarks),to:"/bookmarks"},g++),Object(n.a)(d.a,{icon:"star",text:i.formatMessage(q.favourites),to:"/favourites"},g++),Object(n.a)(d.a,{icon:"list-ul",text:i.formatMessage(q.lists),to:"/lists"},g++)),f+=192,(o.get("locked")||r>0)&&(c.push(Object(n.a)(d.a,{icon:"user-plus",text:i.formatMessage(q.follow_requests),badge:(e=r,t=40,0===e?void 0:t&&e>=t?t+"+":e),to:"/follow_requests"},g++)),f+=48),s||(c.push(Object(n.a)(l.a,{text:i.formatMessage(q.settings_subheading)},g++),Object(n.a)(d.a,{icon:"gears",text:i.formatMessage(q.preferences),href:"/settings/preferences"},g++)),f+=82),Object(n.a)(u.a,{bindToDocument:!s,label:i.formatMessage(q.menu)},void 0,s&&Object(n.a)("div",{className:"column-header__wrapper"},void 0,Object(n.a)("h1",{className:"column-header"},void 0,Object(n.a)("button",{},void 0,Object(n.a)(y.a,{id:"bars",className:"column-header__icon",fixedWidth:!0}),Object(n.a)(b.b,{id:"getting_started.heading",defaultMessage:"Getting started"})))),Object(n.a)("div",{className:"getting-started"},void 0,Object(n.a)("div",{className:"getting-started__wrapper",style:{height:f}},void 0,!s&&Object(n.a)(M.a,{account:o}),c),!s&&Object(n.a)("div",{className:"flex-spacer"}),Object(n.a)(k.a,{withHotkeys:s})),s&&O.s&&Object(n.a)(w.a,{}))},t}(j.a),Object(c.a)(o,"contextTypes",{router:m.a.object.isRequired}),Object(c.a)(o,"propTypes",{intl:m.a.object.isRequired,myAccount:v.a.map.isRequired,columns:v.a.list,multiColumn:m.a.bool,fetchFollowRequests:m.a.func.isRequired,unreadFollowRequests:m.a.number,unreadNotifications:m.a.number}),i=s))||i)||i},839:function(e,t,a){"use strict";var i=a(13),o=a(264),s=a(0),n=a(7),r=a(1),c=(a(3),a(18)),u=a(5),d=a.n(u),l=a(14),b=a.n(l),g=a(744),f=a(6),m=function(e){function t(){return e.apply(this,arguments)||this}Object(n.a)(t,e);var a=t.prototype;return a.componentDidMount=function(){var e=this;this.props.fetchTrends(),this.refreshInterval=setInterval((function(){return e.props.fetchTrends()}),9e5)},a.componentWillUnmount=function(){this.refreshInterval&&clearInterval(this.refreshInterval)},a.render=function(){var e=this.props.trends;return!e||e.isEmpty()?null:Object(s.a)("div",{className:"getting-started__trends"},void 0,Object(s.a)("h4",{},void 0,Object(s.a)(f.b,{id:"trends.trending_now",defaultMessage:"Trending now"})),e.take(3).map((function(e){return Object(s.a)(g.a,{hashtag:e},e.get("name"))})))},t}(c.a);Object(r.a)(m,"defaultProps",{loading:!1}),Object(r.a)(m,"propTypes",{trends:b.a.list,fetchTrends:d.a.func.isRequired});t.a=Object(i.connect)((function(e){return{trends:e.getIn(["trends","items"])}}),(function(e){return{fetchTrends:function(){return e(Object(o.d)())}}}))(m)}}]);
//# sourceMappingURL=getting_started.js.map
\ No newline at end of file