pleroma/priv/static/packs/features/getting_started.js

2 lines
8.3 KiB
JavaScript
Raw Normal View History

2018-06-02 14:11:38 +00:00
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=functio
//# sourceMappingURL=getting_started.js.map