import{r as e,c as t,h as i,H as n}from"./p-cb5076d4.js";const a=class{constructor(i){e(this,i),this.action=t(this,"action",7)}render(){var e;const{item:t}=this;return i(n,{class:"d-flex flex-column"},(null===(e=t.availabilities)||void 0===e?void 0:e.length)>0?i("dvn-card",{leaned:!0,selectable:!0,selected:!0,overrideStyle:{flex:1},tint:"primary",elevation:0,cornerRadius:10,onClick:()=>{this.action.emit({type:"navigation",direction:"forward",name:"schedule-meeting",params:{item:t}})}},i("div",{class:"d-flex justify-content-between align-items-center text-primary"},i("span",null,"Get Meeting"),i("dvn-icon",{iconName:"uil uil-calendar-alt",scale:"large"}))):i("dvn-card",{leaned:!0,overrideStyle:{flex:1},elevation:0,cornerRadius:10,outlined:!0},i("div",{style:{lineHeight:"27px"}},"User has no availability")),i("div",{class:"d-flex justify-content-center pt-2"},i("dvn-button",{onClick:()=>{this.action.emit({type:"navigation",direction:"forward",name:"view-details",params:{item:t}})},leaned:!0,view:"flat"},"View Details")))}};export{a as mentornity_schedule_meeting_button_on_card}