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

1 line
7.1 KiB
Plaintext

{"version":3,"sources":["webpack:///app/javascript/builds/pleroma/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","switch_to_vanilla","gettingStartedMisc","connect","injectIntl","e","_this","props","dispatch","openModal","switchFlavour","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","switch_flavour_vanilla","ImmutablePureComponent","PropTypes","object","isRequired","func"],"mappings":"mRAYMA,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,EAa7Bc,kBAb6B,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AAcjC,EAASS,eAAgB8B,GAAG,kBAAjF,SAChBV,OAAAC,EAAA,EAAAD,CAACS,EAAA,EAAD,CAAwBN,KAAK,WAAWK,KAAMV,EAAKM,cAAcjC,EAASc,oBAAqByB,GAAG,uBAAlF,SAChBV,OAAAC,EAAA,EAAAD,CAACS,EAAA,EAAD,CAAwBN,KAAK,OAAOK,KAAMV,EAAKM,cAAcjC,EAASW,MAAO+B,KAAK,eAAlE,SAChBb,OAAAC,EAAA,EAAAD,CAACS,EAAA,EAAD,CAAwBN,KAAK,eAAeK,KAAMV,EAAKM,cAAcjC,EAASY,gBAAiB4B,QAASZ,KAAKe,qBAA7F,SAChBd,OAAAC,EAAA,EAAAD,CAACS,EAAA,EAAD,CAAwBN,KAAK,WAAWK,KAAMV,EAAKM,cAAcjC,EAASgB,mBAAoBwB,QAASZ,KAAKgB,wBAA5F,eAxCsBC,+BAE3B,CACjBlB,KAAMmB,IAAUC,OAAOC,WACvBzB,SAAUuB,IAAUG,KAAKD,WACzBvB,cAAeqB,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';\nimport { switchFlavour } from 'mastodon/actions/pleroma';\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 switch_to_vanilla: { id: 'navigation_bar.switch_to_vanilla', defaultMessage: 'Switch to Vanilla Flavour' },\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 switchFlavour: 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 switch_flavour_vanilla = (e) => {\n this.props.dispatch(switchFlavour('vanilla'));\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 <ColumnLink key='{i++}' icon='exchange' text={intl.formatMessage(messages.switch_to_vanilla)} onClick={this.switch_flavour_vanilla} />\n </div>\n </Column>\n );\n }\n\n}\n"],"sourceRoot":""}