honkoma/priv/static/packs/flavours/glitch/async/getting_started_misc.js

2 lines
3.2 KiB
JavaScript
Raw Normal View History

(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}}]);
2018-09-16 21:17:34 +00:00
//# sourceMappingURL=getting_started_misc.js.map