text: ["^ ","~:resource-id",["~:shadow.build.npm/resource","node_modules/rc-editor-mention/lib/utils/createMention.js"],"~:js","shadow$provide.module$node_modules$rc_editor_mention$lib$utils$createMention=function(global,process,require,module,exports,shadow$shims){function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{\"default\":obj}}function mentionContentStrategy(contentBlock,callback,contentState){contentBlock.findEntityRanges(function(character){return(character=character.getEntity())&&\"mention\"===contentState.getEntity(character).getType()},callback)}function noop(){}exports.__esModule=!0;global=require(\"module$node_modules$babel_runtime$helpers$extends\");\nvar _extends3=_interopRequireDefault(global);exports[\"default\"]=function(){var config=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},callbacks={onChange:noop,onUpArrow:noop,onDownArrow:noop,getEditorState:noop,setEditorState:noop,handleReturn:noop,onBlur:noop},componentProps={callbacks:callbacks,mentionStore:_mentionStore2[\"default\"]},suggestionRegex=(0,_getRegExp2[\"default\"])(config.prefix),tag=config.tag||_MentionContent2[\"default\"],decorators=[{strategy:function(contentBlock,callback){contentBlock=\ncontentBlock.getText();for(var matchArr,start;null!==(matchArr=suggestionRegex.exec(contentBlock));)start=matchArr.index,callback(start,start+matchArr[0].length)},component:function(props){return _react2[\"default\"].createElement(_SuggestionPortal2[\"default\"],(0,_extends3[\"default\"])({},props,componentProps,{style:config.mentionStyle,suggestionRegex:(0,_getRegExp2[\"default\"])(config.prefix)}))}}];\"immutable\"!==config.mode&&decorators.unshift({strategy:mentionContentStrategy,component:function(props){return _react2[\"default\"].createElement(MentionContentComponent,\n(0,_extends3[\"default\"])({tag:tag},props,{callbacks:callbacks}))}});return{name:\"mention\",Suggestions:function(props){return _react2[\"default\"].createElement(_Suggestions3[\"default\"],(0,_extends3[\"default\"])({},props,componentProps,{store:_mentionStore2[\"default\"]}))},decorators:decorators,onChange:function(editorState){return callbacks.onChange?callbacks.onChange(editorState):editorState},callbacks:callbacks,\"export\":_exportContent2[\"default\"]}};global=require(\"module$node_modules$react$index\");\nvar _react2=_interopRequireDefault(global);global=require(\"module$node_modules$rc_editor_mention$lib$component$Suggestions_react\");var _Suggestions3=_interopRequireDefault(global);global=require(\"module$node_modules$rc_editor_mention$lib$component$SuggestionPortal_react\");var _SuggestionPortal2=_interopRequireDefault(global);global=require(\"module$node_modules$rc_editor_mention$lib$component$MentionContent_react\");var _MentionContent2=_interopRequireDefault(global);global=require(\"module$node_modules$rc_editor_mention$lib$model$mentionStore\");\nvar _mentionStore2=_interopRequireDefault(global);global=require(\"module$node_modules$rc_editor_mention$lib$utils$exportContent\");var _exportContent2=_interopRequireDefault(global);require=require(\"module$node_modules$rc_editor_mention$lib$utils$getRegExp\");var _getRegExp2=_interopRequireDefault(require),MentionContentComponent=function(props){var entityKey=props.entityKey,tag=props.tag;entityKey=props.callbacks.getEditorState().getCurrentContent().getEntity(entityKey).getData();return _react2[\"default\"].createElement(tag,\n(0,_extends3[\"default\"])({},props,{data:entityKey}))};module.exports=exports[\"default\"]}","~:source","shadow$provide[\"module$node_modules$rc_editor_mention$lib$utils$createMention\"] = function(global,process,require,module,exports,shadow$shims) {\n'use strict';\n\nexports.__esModule = true;\n\nvar _extends2 = require('babel-runtime/helpers/extends');\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nexports['default'] = createMention;\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Suggestions2 = require('../component/Suggestions.react');\n\nvar _Suggestions3 = _interopRequireDefault(_Suggestions2);\n\nvar _SuggestionPortal = require('../component/SuggestionPortal.react');\n\nvar _SuggestionPortal2 = _interopRequireDefault(_SuggestionPortal);\n\nvar _MentionContent = require('../component/MentionContent.react');\n\nvar _MentionContent2 = _interopRequireDefault(_MentionContent);\n\nvar _mentionStore = require('../model/mentionStore');\n\nvar _mentionStore2 = _interopRequireDefault(_mentionStore);\n\nvar _exportContent = require('./exportContent');\n\nvar _exportContent2 = _interopRequireDefault(_exportContent);\n\nvar _getRegExp = require('../utils/getRegExp');\n\nvar _getRegExp2 = _interopRequireDefault(_getRegExp);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction findWithRegex(regex, contentBlock, callback) {\n  // Get the text from the contentBlock\n  var text = contentBlock.getText();\n  var matchArr = void 0;\n  var start = void 0; // eslint-disable-line\n  // Go through all matches in the text and return the indizes to the callback\n  while ((matchArr = regex.exec(text)) !== null) {\n    // eslint-disable-line\n    start = matchArr.index;\n    callback(start, start + matchArr[0].length);\n  }\n}\n\nfunction mentionContentStrategy(contentBlock, callback, contentState) {\n  contentBlock.findEntityRanges(function (character) {\n    var entityKey = character.getEntity();\n    return entityKey && contentState.getEntity(entityKey).getType() === 'mention';\n  }, callback);\n}\n\nfunction noop() {}\n\nvar MentionContentComponent = function MentionContentComponent(props) {\n  var entityKey = props.entityKey,\n      tag = props.tag,\n      callbacks = props.callbacks;\n\n  var contentState = callbacks.getEditorState().getCurrentContent();\n  var data = contentState.getEntity(entityKey).getData();\n  return _react2['default'].createElement(tag, (0, _extends3['default'])({}, props, { data: data }));\n};\n\nfunction createMention() {\n  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var callbacks = {\n    onChange: noop,\n    onUpArrow: noop,\n    onDownArrow: noop,\n    getEditorState: noop,\n    setEditorState: noop,\n    handleReturn: noop,\n    onBlur: noop\n  };\n  var componentProps = {\n    callbacks: callbacks,\n    mentionStore: _mentionStore2['default']\n  };\n  var suggestionRegex = (0, _getRegExp2['default'])(config.prefix);\n\n  var tag = config.tag || _MentionContent2['default'];\n  var decorators = [{\n    strategy: function strategy(contentBlock, callback) {\n      findWithRegex(suggestionRegex, contentBlock, callback);\n    },\n    component: function component(props) {\n      return _react2['default'].createElement(_SuggestionPortal2['default'], (0, _extends3['default'])({}, props, componentProps, {\n        style: config.mentionStyle,\n        suggestionRegex: (0, _getRegExp2['default'])(config.prefix)\n      }));\n    }\n  }];\n  if (config.mode !== 'immutable') {\n    decorators.unshift({\n      strategy: mentionContentStrategy,\n      component: function component(props) {\n        return _react2['default'].createElement(MentionContentComponent, (0, _extends3['default'])({ tag: tag }, props, { callbacks: callbacks }));\n      }\n    });\n  }\n\n  return {\n    name: 'mention',\n    Suggestions: function Suggestions(props) {\n      return _react2['default'].createElement(_Suggestions3['default'], (0, _extends3['default'])({}, props, componentProps, {\n        store: _mentionStore2['default']\n      }));\n    },\n    decorators: decorators,\n    onChange: function onChange(editorState) {\n      return callbacks.onChange ? callbacks.onChange(editorState) : editorState;\n    },\n    callbacks: callbacks,\n    'export': _exportContent2['default']\n  };\n}\nmodule.exports = exports['default'];\n};","~:removed-requires",["~#set",[]],"~:actual-requires",["^5",["~$module$node_modules$rc_editor_mention$lib$component$Suggestions_react","~$module$node_modules$rc_editor_mention$lib$utils$getRegExp","~$module$node_modules$rc_editor_mention$lib$model$mentionStore","~$module$node_modules$rc_editor_mention$lib$utils$exportContent","~$module$node_modules$react$index","~$shadow.js","~$module$node_modules$rc_editor_mention$lib$component$MentionContent_react","~$module$node_modules$rc_editor_mention$lib$component$SuggestionPortal_react","~$module$node_modules$babel_runtime$helpers$extends"]],"~:properties",["^5",["mentionStore","onChange","strategy","callbacks","getEditorState","export","component","__esModule","onUpArrow","name","handleReturn","style","suggestionRegex","tag","setEditorState","onBlur","Suggestions","onDownArrow","data","default","store","decorators"]],"~:compiled-at",1532351402165,"~:source-map-json","{\n\"version\":3,\n\"file\":\"module$node_modules$rc_editor_mention$lib$utils$createMention.js\",\n\"lineCount\":7,\n\"mappings\":\"AAAAA,cAAA,8DAAA,CAAkF,QAAQ,CAACC,MAAD,CAAQC,OAAR,CAAgBC,OAAhB,CAAwBC,MAAxB,CAA+BC,OAA/B,CAAuCC,YAAvC,CAAqD,CAuC/IC,QAASA,uBAAsB,CAACC,GAAD,CAAM,CAAE,MAAOA,IAAA,EAAOA,GAAAC,WAAP,CAAwBD,GAAxB,CAA8B,CAAE,UAAWA,GAAb,CAAvC,CAerCE,QAASA,uBAAsB,CAACC,YAAD,CAAeC,QAAf,CAAyBC,YAA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AAR,CAArC,CAAtC,CAP6D,CAgEtEtE,OAAAC,QAAA,CAAiBA,OAAA,CAAQ,SAAR,CA/H8H;\",\n\"sources\":[\"node_modules/rc-editor-mention/lib/utils/createMention.js\"],\n\"sourcesContent\":[\"shadow$provide[\\\"module$node_modules$rc_editor_mention$lib$utils$createMention\\\"] = function(global,process,require,module,exports,shadow$shims) {\\n'use strict';\\n\\nexports.__esModule = true;\\n\\nvar _extends2 = require('babel-runtime/helpers/extends');\\n\\nvar _extends3 = _interopRequireDefault(_extends2);\\n\\nexports['default'] = createMention;\\n\\nvar _react = require('react');\\n\\nvar _react2 = _interopRequireDefault(_react);\\n\\nvar _Suggestions2 = require('../component/Suggestions.react');\\n\\nvar _Suggestions3 = _interopRequireDefault(_Suggestions2);\\n\\nvar _SuggestionPortal = require('../component/SuggestionPortal.react');\\n\\nvar _SuggestionPortal2 = _interopRequireDefault(_SuggestionPortal);\\n\\nvar _MentionContent = require('../component/MentionContent.react');\\n\\nvar _MentionContent2 = _interopRequireDefault(_MentionContent);\\n\\nvar _mentionStore = require('../model/mentionStore');\\n\\nvar _mentionStore2 = _interopRequireDefault(_mentionStore);\\n\\nvar _exportContent = require('./exportContent');\\n\\nvar _exportContent2 = _interopRequireDefault(_exportContent);\\n\\nvar _getRegExp = require('../utils/getRegExp');\\n\\nvar _getRegExp2 = _interopRequireDefault(_getRegExp);\\n\\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\\n\\nfunction findWithRegex(regex, contentBlock, callback) {\\n  // Get the text from the contentBlock\\n  var text = contentBlock.getText();\\n  var matchArr = void 0;\\n  var start = void 0; // eslint-disable-line\\n  // Go through all matches in the text and return the indizes to the callback\\n  while ((matchArr = regex.exec(text)) !== null) {\\n    // eslint-disable-line\\n    start = matchArr.index;\\n    callback(start, start + matchArr[0].length);\\n  }\\n}\\n\\nfunction mentionContentStrategy(contentBlock, callback, contentState) {\\n  contentBlock.findEntityRanges(function (character) {\\n    var entityKey = character.getEntity();\\n    return entityKey && contentState.getEntity(entityKey).getType() === 'mention';\\n  }, callback);\\n}\\n\\nfunction noop() {}\\n\\nvar MentionContentComponent = function MentionContentComponent(props) {\\n  var entityKey = props.entityKey,\\n      tag = props.tag,\\n      callbacks = props.callbacks;\\n\\n  var contentState = callbacks.getEditorState().getCurrentContent();\\n  var data = contentState.getEntity(entityKey).getData();\\n  return _react2['default'].createElement(tag, (0, _extends3['default'])({}, props, { data: data }));\\n};\\n\\nfunction createMention() {\\n  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\\n\\n  var callbacks = {\\n    onChange: noop,\\n    onUpArrow: noop,\\n    onDownArrow: noop,\\n    getEditorState: noop,\\n    setEditorState: noop,\\n    handleReturn: noop,\\n    onBlur: noop\\n  };\\n  var componentProps = {\\n    callbacks: callbacks,\\n    mentionStore: _mentionStore2['default']\\n  };\\n  var suggestionRegex = (0, _getRegExp2['default'])(config.prefix);\\n\\n  var tag = config.tag || _MentionContent2['default'];\\n  var decorators = [{\\n    strategy: function strategy(contentBlock, callback) {\\n      findWithRegex(suggestionRegex, contentBlock, callback);\\n    },\\n    component: function component(props) {\\n      return _react2['default'].createElement(_SuggestionPortal2['default'], (0, _extends3['default'])({}, props, componentProps, {\\n        style: config.mentionStyle,\\n        suggestionRegex: (0, _getRegExp2['default'])(config.prefix)\\n      }));\\n    }\\n  }];\\n  if (config.mode !== 'immutable') {\\n    decorators.unshift({\\n      strategy: mentionContentStrategy,\\n      component: function component(props) {\\n        return _react2['default'].createElement(MentionContentComponent, (0, _extends3['default'])({ tag: tag }, props, { callbacks: callbacks }));\\n      }\\n    });\\n  }\\n\\n  return {\\n    name: 'mention',\\n    Suggestions: function Suggestions(props) {\\n      return _react2['default'].createElement(_Suggestions3['default'], (0, _extends3['default'])({}, props, componentProps, {\\n        store: _mentionStore2['default']\\n      }));\\n    },\\n    decorators: decorators,\\n    onChange: function onChange(editorState) {\\n      return callbacks.onChange ? callbacks.onChange(editorState) : editorState;\\n    },\\n    callbacks: callbacks,\\n    'export': _exportContent2['default']\\n  };\\n}\\nmodule.exports = exports['default'];\\n};\"],\n\"names\":[\"shadow$provide\",\"global\",\"process\",\"require\",\"module\",\"exports\",\"shadow$shims\",\"_interopRequireDefault\",\"obj\",\"__esModule\",\"mentionContentStrategy\",\"contentBlock\",\"callback\",\"contentState\",\"findEntityRanges\",\"character\",\"entityKey\",\"getEntity\",\"getType\",\"noop\",\"_extends2\",\"_extends3\",\"createMention\",\"config\",\"arguments\",\"length\",\"undefined\",\"callbacks\",\"onChange\",\"onUpArrow\",\"onDownArrow\",\"getEditorState\",\"setEditorState\",\"handleReturn\",\"onBlur\",\"componentProps\",\"mentionStore\",\"_mentionStore2\",\"suggestionRegex\",\"_getRegExp2\",\"prefix\",\"tag\",\"_MentionContent2\",\"decorators\",\"strategy\",\"text\",\"getText\",\"matchArr\",\"start\",\"exec\",\"index\",\"component\",\"props\",\"_react2\",\"createElement\",\"_SuggestionPortal2\",\"style\",\"mentionStyle\",\"mode\",\"unshift\",\"MentionContentComponent\",\"name\",\"Suggestions\",\"_Suggestions3\",\"store\",\"editorState\",\"_exportContent2\",\"_react\",\"_Suggestions2\",\"_SuggestionPortal\",\"_MentionContent\",\"_mentionStore\",\"_exportContent\",\"_getRegExp\",\"data\",\"getCurrentContent\",\"getData\"]\n}\n"]