-webpackJsonp([27],{153:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var i=n(2),a=n.n(i),o=n(1),s=n.n(o),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),b=function(e){function t(){var n,i,a;s()(this,t);for(var o=arguments.length,r=Array(o),l=0;l<o;l++)r[l]=arguments[l];return n=i=u()(this,e.call.apply(e,[this].concat(r))),i.handleClick=function(){i.props.onClick()},a=n,u()(i,a)}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.icon,n=e.type,i=e.active,o=e.columnHeaderId,s="";return t&&(s=a()("i",{className:"fa fa-fw fa-"+t+" column-header__icon"})),a()("h1",{className:m()("column-header",{active:i}),id:o||null},void 0,a()("button",{onClick:this.handleClick},void 0,s,n))},t}(f.a.PureComponent)},283:function(e,t,n){"use strict";n.d(t,"a",function(){return _});var i=n(2),a=n.n(i),o=n(1),s=n.n(o),r=n(3),u=n.n(r),l=n(4),c=n.n(l),d=n(32),f=n.n(d),g=n(0),m=n.n(g),b=n(153),h=n(90),p=n(43),_=function(e){function t(){var n,i,a;s()(this,t);for(var o=arguments.length,r=Array(o),l=0;l<o;l++)r[l]=arguments[l];return n=i=u()(this,e.call.apply(e,[this].concat(r))),i.handleHeaderClick=function(){var e=i.node.querySelector(".scrollable");e&&(i._interruptScrollAnimation=Object(h.b)(e))},i.handleScroll=f()(function(){void 0!==i._interruptScrollAnimation&&i._interruptScrollAnimation()},200),i.setRef=function(e){i.node=e},a=n,u()(i,a)}return c()(t,e),t.prototype.scrollTop=function(){var e=this.node.querySelector(".scrollable");e&&(this._interruptScrollAnimation=Object(h.b)(e))},t.prototype.render=function(){var e=this.props,t=e.heading,n=e.icon,i=e.children,o=e.active,s=e.hideHeadingOnMobile,r=t&&(!s||s&&!Object(p.b)(window.innerWidth)),u=r&&t.replace(/ /g,"-"),l=r&&a()(b.a,{icon:n,active:o,type:t,onClick:this.handleHeaderClick,columnHeaderId:u});return m.a.createElement("div",{ref:this.setRef,role:"region","aria-labelledby":u,className:"column",onScroll:this.handleScroll},l,i)},t}(m.a.PureComponent)},834:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"default",function(){return S});var i,a,o,s,r=n(2),u=n.n(r),l=n(1),c=n.n(l),d=n(3),f=n.n(d),g=n(4),m=n.n(g),b=n(0),h=(n.n(b),n(283)),p=n(910),_=n(911),v=n(7),M=n(9),k=n(5),y=n.n(k),q=n(14),w=n.n(q),N=n(12),P=n.n(N),x=n(13),C=n(22),O=n(337),R=n(8),A=(n.n(R),Object(v.f)({heading:{id:"getting_started.heading",defaultMessage:"Getting started"},home_timeline:{id:"tabs_bar.home",defaultMessage:"Home"},notifications:{id:"tabs_bar.notifications",defaultMessage:"Notifications"},public_timeline:{id:"navigation_bar.public_timeline",defaultMessage:"Federated timeline"},navigation_subheading:{id:"column_subheading.navigation",defaultMessage:"Navigation"},settings_subheading:{id:"column_subheading.settings",defaultMessage:"Settings"},community_timeline:{id:"navigation_bar.community_timeline",defaultMessage:"Local timeline"},direct:{id:"navigation_bar.direct",defaultMessage:"Direct messages"},preferences:{id:"navigation_bar.preferences",defaultMessage:"Preferences"},follow_requests:{id:"navigation_bar.follow_requests",defaultMessage:"Follow requests"},sign_out:{id:"navigation_bar.logout",defaultMessage:"Logout"},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"},pins:{id:"navigation_bar.pins",defaultMessage:"Pinned toots"},lists:{id:"navigation_bar.lists",defaultMessage:"Lists"},keyboard_shortcuts:{id:"navigation_bar.keyboard_shortcuts",defaultMessage:"Keyboard shortcuts"}})),I=function(e){return{myAccount:e.getIn(["accounts",x.g]),columns:e.getIn(["settings","columns"]),unreadFollowRequests:e.getIn(["user_lists","follow_requests","items"],Object(R.List)()).size,unreadNotifications:e.getIn(["notifications","unread"]),customPanelEnabled:e.getIn(["custom_panel","enabled"]),customPanel:e.getIn(["custom_panel","panel"])}},j=function(e){return{fetchFollowRequests:function(){return e(Object(C.v)())},fetchPanel:function(){return e(Object(O.c)())},fetchPleromaConfig:function(){return e(Object(O.d)())}}},F=function(e,t){return 0===e?void 0:t&&e>=t?t+"+":e},S=(i=Object(M.connect)(I,j))(a=Object(v.g)((s=o=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,i=e.fetchPleromaConfig,a=e.fetchPanel;t.get("locked")&&n(),i(),a()},t.prototype.render=function(){var e=this.props,t=e.intl,n=e.myAccount,i=e.columns,a=e.multiColumn,o=e.unreadFollowRequests,s=e.unreadNotifications,r=e.customPanelEnabled,l=e.customPanel,c=[];a&&(i.find(function(e){return"HOME"===e.get("id")})||c.push(u()(p.a,{icon:"home",text:t.formatMessage(A.home_timeline),to:"/timelines/home"},"0")),i.find(function(e){return"NOTIFICATIONS"===e.get("id")})||c.push(u()(p.a,{icon:"bell",text:t.formatMessage(A.notifications),badge:F(s),to:"/notifications"},"1")),i.find(function(e){return"COMMUNITY"===e.get("id")})||c.push(u()(p.a,{icon:"users",text:t.formatMessage(A.community_timeline),to:"/timelines/public/local"},"2")),i.find(function(e){return"PUBLIC"===e.get("id")})||c.push(u()(p.a,{icon:"globe",text:t.formatMessage(A.public_timeline),to:"/timelines/public"},"3"))),a&&i.find(function(e){return"DIRECT"===e.get("id")})||c.push(u()(p.a,{icon:"envelope",text:t.formatMessage(A.direct),to:"/timelines/direct"},"4")),c.push(u()(p.a,{icon:"star",text:t.formatMessage(A.favourites),to:"/favourites"},"5"),u()(p.a,{icon:"bars",text:t.formatMessage(A.lists),to:"/lists"},"6")),n.get("locked")&&c.push(u()(p.a,{icon:"users",text:t.formatMessage(A.follow_requests),badge:F(o,40),to:"/follow_requests"},"7")),a&&c.push(u()(p.a,{icon:"question",text:t.formatMessage(A.keyboard_shortcuts),to:"/keyboard-shortcuts"},"8")),c.push(u()(p.a,{icon:"book",text:t.formatMessage(A.info),href:"/about/more"},"9"));var d=r?u()("div",{dangerouslySetInnerHTML:{__html:l},style:{marginLeft:-12,marginRight:-12}}):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()(v.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()(v.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()(v.b,{id:"getting_started.appsshort",defaultMessage:"Apps"}))," • ",u()("a",{href:"https://pleroma.social"},void 0,u()(v.b,{id:"getting_started.pleroma",defaultMessage:"Pleroma"})));return u()(h.a,{icon:"asterisk",heading:t.formatMessage(A.heading),hideHeadingOnMobile:!0},void 0,u()("div",{className:"getting-started__wrapper"},void 0,u()(_.a,{text:t.formatMessage(A.navigation_subheading)}),c,u()(_.a,{text:t.formatMessage(A.settings_subheading)}),u()(p.a,{icon:"ban",text:t.formatMessage(A.blocks),to:"/blocks"}),u()(p.a,{icon:"cog",text:t.formatMessage(A.preferences),href:"/user-settings"}),u()(p.a,{icon:"sign-out",text:t.formatMessage(A.sign_out),href:"/auth/sign_out",method:"delete"})),u()("div",{className:"static-content getting-started"},void 0,d))},t}(P.a),o.propTypes={intl:y.a.object.isRequired,myAccount:w.a.map.isRequired,columns:w.a.list,multiColumn:y.a.bool,fetchFollowRequests:y.a.func.isRequired,fetchPanel:y.a.func.isRequired,fetchPleromaConfig:y.a.func.isRequired,unreadFollowRequests:y.a.number,unreadNotifications:y.a.number,customPanelEnabled:y.a.bool,customPanel:y.a.string.isRequired},a=s))||a)||a},910:function(e,t,n){"use strict";var i=n(2),a=n.n(i),o=n(0),s=(n.n(o),n(44)),r=function(e){var t=e.icon,n=e.text,i=e.to,o=e.href,r=e.method,u=e.badge,l=void 0!==u?a()("span",{className:"column-link__badge"},void 0,u):null;return o?a()("a",{href:o,className:"column-link","data-method":r},void 0,a()("i",{className:"fa fa-fw fa-"+t+" column-link__icon"}),n,l):a()(s.b,{to:i,className:"column-link"},void 0,a()("i",{className:"fa fa-fw fa-"+t+" column-link__icon"}),n,l)};t.a=r},911:function(e,t,n){"use strict";var i=n(2),a=n.n(i),o=n(0),s=(n.n(o),function(e){var t=e.text;return a()("div",{className:"column-subheading"},void 0,t)});t.a=s}});
+(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{675:function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return P});var s,i,o,b=a(0),n=a(2),r=a(6),c=a(1),f=(a(3),a(626)),m=a(988),h=a(989),_=a(7),l=a(21),u=a(5),d=a.n(u),g=a(26),p=a.n(g),v=a(25),j=a(24),O=a(27),M=a(183),w=a(4),y=a(358),k=a(992),x=a(30),q=Object(_.f)({home_timeline:{id:"tabs_bar.home",defaultMessage:"Home"},notifications:{id:"tabs_bar.notifications",defaultMessage:"Notifications"},public_timeline:{id:"navigation_bar.public_timeline",defaultMessage:"Federated timeline"},settings_subheading:{id:"column_subheading.settings",defaultMessage:"Settings"},community_timeline:{id:"navigation_bar.community_timeline",defaultMessage:"Local timeline"},direct:{id:"navigation_bar.direct",defaultMessage:"Direct messages"},preferences:{id:"navigation_bar.preferences",defaultMessage:"Preferences"},follow_requests:{id:"navigation_bar.follow_requests",defaultMessage:"Follow requests"},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"},pins:{id:"navigation_bar.pins",defaultMessage:"Pinned toots"},lists:{id:"navigation_bar.lists",defaultMessage:"Lists"},discover:{id:"navigation_bar.discover",defaultMessage:"Discover"},personal:{id:"navigation_bar.personal",defaultMessage:"Personal"},security:{id:"navigation_bar.security",defaultMessage:"Security"},menu:{id:"getting_started.heading",defaultMessage:"Getting started"},profile_directory:{id:"getting_started.directory",defaultMessage:"Profile directory"},switch_to_glitch:{id:"navigation_bar.switch_to_glitch",defaultMessage:"Switch to Glitch Flavour"}}),P=Object(l.connect)(function(e){return{myAccount:e.getIn(["accounts",j.k]),unreadFollowRequests:e.getIn(["user_lists","follow_requests","items"],Object(w.List)()).size,customPanelEnabled:e.getIn(["custom_panel","enabled"]),customPanel:e.getIn(["custom_panel","panel"])}},function(e){return{fetchFollowRequests:function(){return e(Object(O.B)())},fetchPanel:function(){return e(Object(M.c)())},fetchPleromaConfig:function(){return e(Object(M.d)())},switchFlavour:function(){return e(Object(M.e)())}}})(s=Object(_.g)((o=i=function(i){function e(){for(var t,e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];return t=i.call.apply(i,[this].concat(a))||this,Object(c.a)(Object(n.a)(t),"switch_flavour_glitch",function(e){t.props.switchFlavour("glitch")}),t}Object(r.a)(e,i);var t=e.prototype;return t.componentDidMount=function(){var e=this.props,t=e.myAccount,a=e.fetchFollowRequests,s=e.fetchPleromaConfig,i=e.fetchPanel;t.get("locked")&&a(),s(),i()},t.render=function(){var e,t,a=this.props,s=a.intl,i=a.myAccount,o=a.multiColumn,n=a.unreadFollowRequests,r=a.customPanelEnabled,c=a.customPanel,l=[],u=1,d=o?0:60;o?(l.push(Object(b.a)(h.a,{text:s.formatMessage(q.discover)},u++),Object(b.a)(m.a,{icon:"users",text:s.formatMessage(q.community_timeline),to:"/timelines/public/local"},u++),Object(b.a)(m.a,{icon:"globe",text:s.formatMessage(q.public_timeline),to:"/timelines/public"},u++)),d+=130,j.l&&(l.push(Object(b.a)(m.a,{icon:"address-book",text:s.formatMessage(q.profile_directory),href:"/explore"},u++)),d+=48),l.push(Object(b.a)(h.a,{text:s.formatMessage(q.personal)},u++)),d+=34):j.l&&(l.push(Object(b.a)(m.a,{icon:"address-book",text:s.formatMessage(q.profile_directory),href:"/explore"},u++)),d+=48),l.push(Object(b.a)(m.a,{icon:"envelope",text:s.formatMessage(q.direct),to:"/timelines/direct"},u++),Object(b.a)(m.a,{icon:"star",text:s.formatMessage(q.favourites),to:"/favourites"},u++),Object(b.a)(m.a,{icon:"list-ul",text:s.formatMessage(q.lists),to:"/lists"},u++),Object(b.a)("a",{href:"#",onClick:this.switch_flavour_glitch,className:"column-link",tabIndex:"0"},u++,Object(b.a)("i",{className:"fa fa-fw fa-exchange column-link__icon"}),s.formatMessage(q.switch_to_glitch))),d+=144,i.get("locked")&&(l.push(Object(b.a)(m.a,{icon:"users",text:s.formatMessage(q.follow_requests),badge:(e=n,t=40,0===e?void 0:t&&t<=e?t+"+":e),to:"/follow_requests"},u++)),d+=48),o||(l.push(Object(b.a)(h.a,{text:s.formatMessage(q.settings_subheading)},u++),Object(b.a)(m.a,{icon:"gears",text:s.formatMessage(q.preferences),href:"/user-settings"},u++)),d+=82);var g=r?Object(b.a)("div",{className:"getting-started getting-started__panel scrollable",dangerouslySetInnerHTML:{__html:c}}):null;return Object(b.a)(f.a,{label:s.formatMessage(q.menu)},void 0,o&&Object(b.a)("div",{className:"column-header__wrapper"},void 0,Object(b.a)("h1",{className:"column-header"},void 0,Object(b.a)("button",{},void 0,Object(b.a)(x.a,{id:"bars",className:"column-header__icon",fixedWidth:!0}),Object(b.a)(_.b,{id:"getting_started.heading",defaultMessage:"Getting started"})))),Object(b.a)("div",{className:"getting-started"},void 0,Object(b.a)("div",{className:"getting-started__wrapper scrollable",style:{height:d}},void 0,!o&&Object(b.a)(k.a,{account:i}),l),!o&&Object(b.a)("div",{className:"flex-spacer"}),g,!o&&Object(b.a)("div",{className:"flex-spacer"}),Object(b.a)("div",{className:"getting-started__footer scrollable"},void 0,Object(b.a)("ul",{},void 0,j.h&&Object(b.a)("li",{},void 0,Object(b.a)("a",{href:"/invites",target:"_blank"},void 0,Object(b.a)(_.b,{id:"getting_started.invite",defaultMessage:"Invite people"}))," · "),o&&Object(b.a)("li",{},void 0,Object(b.a)(y.a,{to:"/keyboard-shortcuts"},void 0,Object(b.a)(_.b,{id:"navigation_bar.keyboard_shortcuts",defaultMessage:"Hotkeys"}))," · "),Object(b.a)("li",{},void 0,Object(b.a)("a",{href:"/auth/sign_out","data-method":"delete"},void 0,Object(b.a)(_.b,{id:"navigation_bar.logout",defaultMessage:"Logout"})))),Object(b.a)("p",{},void 0,Object(b.a)(_.b,{id:"getting_started.mastofe_notice",defaultMessage:"Mastofe is a libre distribution of the frontend from {glitchsoc}, a friendly fork of {mastodon}. You can contribute or report issues at {mastofe}.",values:{mastofe:Object(b.a)("a",{href:"https://git.pleroma.social/pleroma/mastofe",rel:"noopener",target:"_blank"},void 0,"Mastofe"),glitchsoc:Object(b.a)("a",{href:"https://github.com/glitch-soc/mastodon",rel:"noopener",target:"_blank"},void 0,"glitch-soc"),mastodon:Object(b.a)("a",{href:"https://github.com/tootsuite/mastodon",rel:"noopener",target:"_blank"},void 0,"Mastodon"),pleroma:Object(b.a)("a",{href:"https://pleroma.social",rel:"noopener",target:"_blank"},void 0,"Pleroma")}}),Object(b.a)(_.b,{id:"getting_started.vanilla_support_warning",defaultMessage:"Please be warned that the vanilla flavour isn’t as supported as the glitch one, expect bugs related to the API"})))))},e}(v.a),Object(c.a)(i,"propTypes",{intl:d.a.object.isRequired,myAccount:p.a.map.isRequired,columns:p.a.list,multiColumn:d.a.bool,fetchFollowRequests:d.a.func.isRequired,fetchPanel:d.a.func.isRequired,fetchPleromaConfig:d.a.func.isRequired,switchFlavour:d.a.func.isRequired,unreadFollowRequests:d.a.number,unreadNotifications:d.a.number,customPanelEnabled:d.a.bool,customPanel:d.a.string.isRequired}),s=o))||s)||s}}]);
//# sourceMappingURL=getting_started.js.map
\ No newline at end of file