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

1 line
6.4 KiB
Plaintext

{"version":3,"sources":["webpack:///app/javascript/seagate/sources/git/hacktivis.me/git/mastofe/app/javascript/flavours/glitch/features/getting_started_misc/index.js"],"names":["messages","defineMessages","_defineMessages","heading","id","defaultMessage","subheading","favourites","blocks","domain_blocks","mutes","info","show_me_around","pins","keyboard_shortcuts","featured_users","gettingStartedMisc","connect","injectIntl","e","_this","props","dispatch","openModal","render","intl","this","Object","_babel_runtime_helpers_esm_jsx__WEBPACK_IMPORTED_MODULE_0__","flavours_glitch_features_ui_components_column__WEBPACK_IMPORTED_MODULE_6__","icon","formatMessage","flavours_glitch_components_column_back_button_slim__WEBPACK_IMPORTED_MODULE_7__","className","flavours_glitch_features_ui_components_column_subheading__WEBPACK_IMPORTED_MODULE_11__","text","flavours_glitch_features_ui_components_column_link__WEBPACK_IMPORTED_MODULE_10__","to","onClick","openFeaturedAccountsModal","href","openOnboardingModal","ImmutablePureComponent","PropTypes","object","isRequired","func"],"mappings":"0QAWMA,EAAWC,cAAcC,EAAA,CAC7BC,QAAO,CAAAC,GAAA,iBAAAC,eAAA,QACPC,WAAU,CAAAF,GAAA,oBAAAC,eAAA,yBACVE,WAAU,CAAAH,GAAA,4BAAAC,eAAA,cACVG,OAAM,CAAAJ,GAAA,wBAAAC,eAAA,iBACNI,cAAa,CAAAL,GAAA,+BAAAC,eAAA,kBACbK,MAAK,CAAAN,GAAA,uBAAAC,eAAA,eACLM,KAAI,CAAAP,GAAA,sBAAAC,eAAA,wBACJO,eAAc,CAAAR,GAAA,6BAAAC,eAAA,kBACdQ,KAAI,CAAAT,GAAA,sBAAAC,eAAA,kBATyB,MAAAD,GAAA,sBAAAC,eAAA,wBAAAH,EAW7BY,mBAX6B,CAAAV,GAAA,oCAAAC,eAAA,sBAAAH,EAY7Ba,eAZ6B,CAAAX,GAAA,gCAAAC,eAAA,kBAAAH,IAiBVc,EAFpBC,s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AWK,KAAMV,EAAKM,cAAc/B,EAASc,oBAAqBuB,GAAG,uBAAlF,SAChBV,OAAAC,EAAA,EAAAD,CAACS,EAAA,EAAD,CAAwBN,KAAK,OAAOK,KAAMV,EAAKM,cAAc/B,EAASW,MAAO6B,KAAK,eAAlE,SAChBb,OAAAC,EAAA,EAAAD,CAACS,EAAA,EAAD,CAAwBN,KAAK,eAAeK,KAAMV,EAAKM,cAAc/B,EAASY,gBAAiB0B,QAASZ,KAAKe,qBAA7F,eAlCsBC,+BAE3B,CACjBjB,KAAMkB,IAAUC,OAAOC,WACvBvB,SAAUqB,IAAUG,KAAKD","file":"flavours/glitch/async/getting_started_misc.js","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Column from 'flavours/glitch/features/ui/components/column';\nimport ColumnBackButtonSlim from 'flavours/glitch/components/column_back_button_slim';\nimport { defineMessages, injectIntl } from 'react-intl';\nimport ImmutablePureComponent from 'react-immutable-pure-component';\nimport ColumnLink from 'flavours/glitch/features/ui/components/column_link';\nimport ColumnSubheading from 'flavours/glitch/features/ui/components/column_subheading';\nimport { openModal } from 'flavours/glitch/actions/modal';\nimport { connect } from 'react-redux';\n\nconst messages = defineMessages({\n heading: { id: 'column.heading', defaultMessage: 'Misc' },\n subheading: { id: 'column.subheading', defaultMessage: 'Miscellaneous options' },\n favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favourites' },\n blocks: { id: 'navigation_bar.blocks', defaultMessage: 'Blocked users' },\n domain_blocks: { id: 'navigation_bar.domain_blocks', defaultMessage: 'Hidden domains' },\n mutes: { id: 'navigation_bar.mutes', defaultMessage: 'Muted users' },\n info: { id: 'navigation_bar.info', defaultMessage: 'Extended information' },\n show_me_around: { id: 'getting_started.onboarding', defaultMessage: 'Show me around' },\n pins: { id: 'navigation_bar.pins', defaultMessage: 'Pinned toots' },\n info: { id: 'navigation_bar.info', defaultMessage: 'Extended information' },\n keyboard_shortcuts: { id: 'navigation_bar.keyboard_shortcuts', defaultMessage: 'Keyboard shortcuts' },\n featured_users: { id: 'navigation_bar.featured_users', defaultMessage: 'Featured users' },\n});\n\n@connect()\n@injectIntl\nexport default class gettingStartedMisc extends ImmutablePureComponent {\n\n static propTypes = {\n intl: PropTypes.object.isRequired,\n dispatch: PropTypes.func.isRequired,\n };\n\n openOnboardingModal = (e) => {\n this.props.dispatch(openModal('ONBOARDING'));\n }\n\n openFeaturedAccountsModal = (e) => {\n this.props.dispatch(openModal('PINNED_ACCOUNTS_EDITOR'));\n }\n\n render () {\n const { intl } = this.props;\n\n let i = 1;\n\n return (\n <Column icon='ellipsis-h' heading={intl.formatMessage(messages.heading)}>\n <ColumnBackButtonSlim />\n\n <div className='scrollable'>\n <ColumnSubheading text={intl.formatMessage(messages.subheading)} />\n <ColumnLink key='{i++}' icon='star' text={intl.formatMessage(messages.favourites)} to='/favourites' />\n <ColumnLink key='{i++}' icon='thumb-tack' text={intl.formatMessage(messages.pins)} to='/pinned' />\n <ColumnLink key='{i++}' icon='users' text={intl.formatMessage(messages.featured_users)} onClick={this.openFeaturedAccountsModal} />\n <ColumnLink key='{i++}' icon='volume-off' text={intl.formatMessage(messages.mutes)} to='/mutes' />\n <ColumnLink key='{i++}' icon='ban' text={intl.formatMessage(messages.blocks)} to='/blocks' />\n <ColumnLink key='{i++}' icon='minus-circle' text={intl.formatMessage(messages.domain_blocks)} to='/domain_blocks' />\n <ColumnLink key='{i++}' icon='question' text={intl.formatMessage(messages.keyboard_shortcuts)} to='/keyboard-shortcuts' />\n <ColumnLink key='{i++}' icon='book' text={intl.formatMessage(messages.info)} href='/about/more' />\n <ColumnLink key='{i++}' icon='hand-o-right' text={intl.formatMessage(messages.show_me_around)} onClick={this.openOnboardingModal} />\n </div>\n </Column>\n );\n }\n\n}\n"],"sourceRoot":""}