akkoma/priv/static/packs/flavours/glitch/async/getting_started_misc.js
2019-01-31 10:35:44 +01:00

2 lines
No EOL
2.9 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[59],{679:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return v});var o,s,i,n,r=t(1),c=t(6),d=t(0),u=t(2),b=(t(3),t(5)),f=t.n(b),g=t(639),l=t(643),m=t(7),O=t(24),p=t(916),h=t(917),M=t(44),j=t(20),_=Object(m.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)),v=Object(j.connect)()(s=Object(m.g)((n=i=function(s){function e(){for(var a,e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return a=s.call.apply(s,[this].concat(t))||this,Object(u.a)(Object(d.a)(Object(d.a)(a)),"openOnboardingModal",function(e){a.props.dispatch(Object(M.d)("ONBOARDING"))}),Object(u.a)(Object(d.a)(Object(d.a)(a)),"openFeaturedAccountsModal",function(e){a.props.dispatch(Object(M.d)("PINNED_ACCOUNTS_EDITOR"))}),a}return Object(c.a)(e,s),e.prototype.render=function(){var e=this.props.intl;return Object(r.a)(g.a,{icon:"ellipsis-h",heading:e.formatMessage(_.heading)},void 0,Object(r.a)(l.a,{}),Object(r.a)("div",{className:"scrollable"},void 0,Object(r.a)(h.a,{text:e.formatMessage(_.subheading)}),Object(r.a)(p.a,{icon:"star",text:e.formatMessage(_.favourites),to:"/favourites"},"{i++}"),Object(r.a)(p.a,{icon:"thumb-tack",text:e.formatMessage(_.pins),to:"/pinned"},"{i++}"),Object(r.a)(p.a,{icon:"users",text:e.formatMessage(_.featured_users),onClick:this.openFeaturedAccountsModal},"{i++}"),Object(r.a)(p.a,{icon:"volume-off",text:e.formatMessage(_.mutes),to:"/mutes"},"{i++}"),Object(r.a)(p.a,{icon:"ban",text:e.formatMessage(_.blocks),to:"/blocks"},"{i++}"),Object(r.a)(p.a,{icon:"minus-circle",text:e.formatMessage(_.domain_blocks),to:"/domain_blocks"},"{i++}"),Object(r.a)(p.a,{icon:"question",text:e.formatMessage(_.keyboard_shortcuts),to:"/keyboard-shortcuts"},"{i++}"),Object(r.a)(p.a,{icon:"book",text:e.formatMessage(_.info),href:"/about/more"},"{i++}"),Object(r.a)(p.a,{icon:"hand-o-right",text:e.formatMessage(_.show_me_around),onClick:this.openOnboardingModal},"{i++}")))},e}(O.a),Object(u.a)(i,"propTypes",{intl:f.a.object.isRequired,dispatch:f.a.func.isRequired}),s=n))||s)||s}}]);
//# sourceMappingURL=getting_started_misc.js.map