import{h as n,i as r,cw as e}from"./app-BgLa5dit.js";var t=(l=>(l[l.Submitted=0]="Submitted",l[l.Processing=1]="Processing",l[l.Completed=2]="Completed",l[l.Failed=3]="Failed",l))(t||{});const a={getWidgetAppLinks(l){return{videoType:i=>{if(!i)return null;if(e.isClip(i))return{application:r.CLIPS,action:n.Clips.EDIT_CLIP_DETAILS,args:[i.id]};if(e.isInteractive(i))return{application:r.INTERACTIVES,action:n.Interactives.EDIT_INTERACTIVE_DETAILS,args:[i.id]};if(e.isVideo(i))return{application:r.VIDEOS,action:n.Videos.EDIT_VIDEO,args:[i.id]}},classification:i=>i?{application:r.SUBJECTS,action:n.Subjects.EDIT_CLASSIFICATION,args:[i.presentationId,i.id]}:null,classificationLatestReleases:i=>i?{application:r.SUBJECTS,action:n.Subjects.EDIT_CLASSIFICATION,args:[i.presentationId,i.id]}:null,series:i=>i?{application:r.SERIES,action:n.Series.EDIT_SERIES,args:[i.id]}:null,playlist:i=>i?{application:r.PLAYLISTS,action:n.Playlists.EDIT_PLAYLIST,args:[i.id]}:null,company:i=>i?{application:r.COMPANIES,action:n.Companies.EDIT_COMPANY,args:[i.id]}:null,widgetWizard:()=>({application:r.DASHBOARD_EDITOR,action:n.DashboardEditor.WIZARD_SELECT_WIDGET,args:[l]}),discover:i=>({application:r.SUBJECTS,action:n.Subjects.PRESENTATION_CLASSIFICATIONS,args:[i]}),classificationDirectory:i=>i?{application:r.SUBJECTS,action:n.Subjects.EDIT_CLASSIFICATION_DIRECTORIES,args:[i.presentationId,i.id]}:null,allTopics:()=>null,calendar:()=>null,calendarMonth:()=>null,latestReleases:()=>null,livestream:()=>null,widgetVideoList:()=>null,resource:()=>null,watchHistory:()=>null,audience:()=>null,classificationCurriculum:()=>null,previewQuestions:()=>null,rating:()=>null,signUp:()=>null,searchSettings:()=>null,searchHome:()=>null,search:()=>null,editCurriculum:()=>null,getPreviewQuestionsAppLink:()=>null,partner:()=>null,partnerHome:()=>null}},isDashboardProcessOnGoing(l){return l===void 0?!1:l===t.Processing||l===t.Submitted}};export{a as D,t as a};
//# sourceMappingURL=CGQPfl0D.chunk.js.map
