define(["require","exports","tslib","react","classnames","comments2/components/comment_editor/components/interactive_editor_container","comments2/components/comment_avatar","comments2/components/comment_editor/components/draft_component","comments2/components/comment_editor/components/active_macro_chrome_component","comments2/components/comment_editor/components/post_component","prop-types","comments2/components/comment_editor/components/focus_container_component","comments2/components/comment_editor/components/comment_editor_tagline"],(function(e,t,n,o,c,r,m,a,s,i,p,l,d){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o=n.__importStar(o),c=n.__importDefault(c),p=n.__importStar(p);var _=(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.annotation,n=e.tagline,p=e.forceCancelEnabled,_=e.postSignalComponent,u=e.author,E=e.renderBare,f=e.className,C=e.stickerPacks,v=o.createElement(r.InteractiveEditorContainer,Object.assign({},this.props),o.createElement(l.FocusContainerComponent,null,o.createElement("div",{className:"sc-comment-editor-inner"},o.createElement(m.CommentAvatar,{user:u}),o.createElement("div",{className:"sc-comment-editor-interaction-container"},o.createElement(a.DraftComponent,{ref:this.props.setDraftRef,annotation:t,shouldFocus:this.props.shouldFocus,a11yEditorLabel:this.props.a11yEditorLabel}),o.createElement(s.ActiveMacroChromeComponent,{scrollClassName:"sc-comment-editor-interaction-container"}))),o.createElement(i.PostComponent,{forceCancelEnabled:p,signalComponent:_,stickerPacks:C})),o.createElement(d.CommentEditorTagline,null,n));if(E)return v;var h=c.default(f,["sc-comment-editor"]);return o.createElement("div",{className:h},v)},t})(r.InteractiveEditorContainer);t.CommentEditor=_,_.contextTypes={container:p.object,scope:p.object,localization:p.object}})); //# sourceMappingURL=comment_editor.min.js-vflM_4t2l.map