"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["47063"],{158122:function(e,n,r){r.r(n),r.d(n,{GenericAsrBtnEventsPlugin:()=>l});var s=r(698127),t=r(706790),a=r(801766);class l{onKeyDown(){var e,n;null===(n=a.J.getState().asrBtnController)||void 0===n||null===(e=n.stopAsr)||void 0===e||e.call(n)}onMessageSendingEnd(){var e,n;null===(n=a.J.getState().asrBtnController)||void 0===n||null===(e=n.stopAsr)||void 0===e||e.call(n)}onMessageSendingBefore(e,n){if(e.skillType||e.guidance.activeSkillType)return n;var{hasUsedAsr:r}=a.J.getState();return r?n.map(e=>(0,t._)((0,s._)({},e),{reportParams:(0,t._)((0,s._)({},e.reportParams),{scene:"input_sug_prompts"===e.reportParams.scene?e.reportParams.scene:"speak"})})):n}}}}]);
//# sourceMappingURL=47063.js.map