"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["28826"],{782686:function(e,t,r){r.r(t),r.d(t,{CIAsisstantMessageLifeCyclePlugin:()=>a});var i=r(276415),l=r(754751),n=r(766945),s=r(869230);class a{processMessageBefore(e,t){if(null===(r=t[0].extraExt)||void 0===r?void 0:r.input_skill)return t;var r,s=e=>{if((0,i.ah)(e)){var t,r=(0,n.lm)(e.file_name||"");return(0,n.Be)(r)||(0,n.dC)(r)}return!!(0,i.gg)(e)&&!!(null===(t=e.nestedItems)||void 0===t?void 0:t.every(e=>{var t=(0,n.lm)(e.fileName||"");return(0,n.Be)(t)||(0,n.dC)(t)}))};return t.map(e=>(s(e)&&(e.extraExt||(e.extraExt={}),e.extraExt.input_skill=JSON.stringify({skill_id:String(l.SkillType.CodeInterpreter),skill_type:l.SkillType.CodeInterpreter})),e))}constructor(){this.pluginIdentifier=s.H}}}}]);
//# sourceMappingURL=28826.js.map