import{dw as c,f as i,e as t,T as o,dx as T,c3 as d,bG as l,co as C,dy as E}from"./app-k0jcl5PQ.js";const D="classification-latest-releases",L=["preview","dashboardId","skipPrompt"];function O(n,p,e,r){return{classification:a=>l.getAppLink(a,n||{},r),videoType:(a,s)=>d.getAppLink(a,{...s,context:E.Widget,includeContext:p==null?void 0:p.isAuthenticated},e),series:a=>T.getSeriesAppLink(a,{},e),playlist:a=>({application:t.PLAYLISTS,action:i.Playlists.PLAYLIST,args:[e,a.id,o.slugify(a.name)]}),latestReleases:()=>({application:t.CONTENT_UPDATES,action:i.ContentUpdates.CONTENT_UPDATES,args:[e]}),allTopics:()=>({application:t.SUBJECT,action:i.Subjects.PRESENTATION_TOPICS,args:[e]}),classificationLatestReleases:a=>a.id===D?{application:t.CONTENT_UPDATES,action:i.ContentUpdates.CONTENT_UPDATES,args:[e]}:{application:t.CONTENT_UPDATES,action:i.ContentUpdates.CLASSIFICATION_UPDATE,args:[e,a.id,o.slugify(a.name)]},classificationDirectory:a=>{const s=a;return{application:t.SUBJECT,action:i.Subjects.CLASSIFICATION_TOPICS,args:[e,s.id,o.slugify(s.name)],params:C.omit(n,L)}},widgetVideoList:(a,s)=>({application:t.DASHBOARD,action:i.Dashboard.DASHBOARD,args:[e,a,o.slugify(s)]}),watchHistory:()=>({application:t.WATCH_HISTORY,action:i.WatchHistory.HOME}),company:a=>({application:t.MOVIES_AND_TV,action:i.MoviesAndTv.COMPANY_DASHBOARD,args:[e,a.id,o.slugify(a.name)]}),discover:a=>({application:t.DASHBOARD,action:i.Dashboard.HOME,args:[a]}),calendar:()=>({application:t.CALENDAR,action:i.Calendar.CALENDAR,args:[e]}),calendarMonth:(a,s)=>{const A={application:t.CALENDAR,action:i.Calendar.CALENDAR_MONTH,args:[e,a.toLowerCase()]};return s&&(A.params={year:s}),A},partner:c.getPartnerDashboardAppLink,partnerHome:c.getPartnerHomeAppLink,livestream:()=>null,widgetWizard:()=>null}}function S(n){return{forYou:{application:t.DASHBOARD,action:i.Dashboard.HOME,args:[n]},whatsNew:{application:t.CONTENT_UPDATES,action:i.ContentUpdates.CONTENT_UPDATES,args:[n]},calendar:{application:t.CALENDAR,action:i.Calendar.CALENDAR,args:[n]}}}export{O as a,S as g};
//# sourceMappingURL=GDVjZpAj.chunk.js.map
