'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-1141a245.js');

function getLabelForStatus(status) {
  switch (status) {
    case 'requested':
      return 'Requested';
    case 'active':
      return 'Active';
    case 'rejected':
    default:
      return 'Rejected';
  }
}
function getTintForStatus(status) {
  switch (status) {
    case 'active':
      return 'primary';
    case 'rejected':
      return 'danger';
  }
}
const MentornityPairCardStatus = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  render() {
    const status = this.item.subscription.status;
    return (index.h(index.Host, null, index.h("dvn-button", { scale: "small", shape: "rounded", tagMode: true, tint: getTintForStatus(status), view: "ghost" }, getLabelForStatus(status))));
  }
};

exports.mentornity_pair_card_status = MentornityPairCardStatus;
