import{cu as n,de as m,r as u,ao as i,ba as k}from"./app-k0jcl5PQ.js";import{c as r}from"./BhYYYlpK.chunk.js";v.defaultProps={clampLevel:1};function v(e){var t,l;const{canNavigate:a}=n.getCanBeConsumed(e.video),c=n.getTitle(e.video),d={...e.analyticsData,id:(t=e.video)==null?void 0:t.id,name:(l=e.video)==null?void 0:l.name},o={...e.analyticsOptions,actionType:u.Click,descriptor:m.Title};function s(){return e.titleSize?e.titleSize:e.size==="md"?"h4":"h5"}return i.jsx(k,{className:e.linkClassName,appLink:a?e.appLink:null,onClick:a?e.onClickAppLink:null,analyticsOptions:o,analyticsData:d,children:i.jsx("div",{className:`clamp-${e.clampLevel} align-middle`,title:e.video.name??"",children:i.jsx(r,{video:e.video,title:c,yearGroups:e.yearGroups,lockSize:e.size,titleSize:s(),className:e.titleClassName,showNewVideoIndicator:e.showNewVideoIndicator,showPadlock:e.showPadlock})})})}export{v as V};
//# sourceMappingURL=BRhv_AHY.chunk.js.map
