import{r as e,h as r,H as t}from"./p-DBTJNfo7.js";import{n as o}from"./p-BxrRWYts.js";const i=class{constructor(r){e(this,r),this.disabled=!1,this.showChevron=!1}render(){return r(t,{key:"4341b1cd34952fdd2dc40bc3c4b7eb909646d880"},this.renderCommandText(),this.renderBadge(),this.renderChevron())}renderCommandText(){if(this.hotkey){const e=o(this.hotkey);if(e)return r("limel-hotkey",{value:e,disabled:this.disabled})}if(this.commandText)return r("span",{class:"command-text"},this.commandText)}renderBadge(){if(void 0!==this.badge)return r("limel-badge",{label:String(this.badge)})}renderChevron(){if(this.showChevron)return r("div",{class:"chevron","aria-hidden":"true"})}};i.style='@charset "UTF-8";:host(limel-menu-item-meta){order:4;transform:translateX(0.5rem);display:inline-flex;align-items:center;gap:0.5rem;max-width:50%}*{box-sizing:border-box}limel-badge{--badge-background-color:var(       --notification-badge-background-color,       rgb(var(--color-red-default))   );--badge-text-color:var(       --notification-badge-text-color,       rgb(var(--color-white))   )}.command-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;opacity:0.7;font-size:var(--limel-theme-default-small-font-size)}.chevron{flex-shrink:0;border-color:transparent;border-left-color:var(--limel-theme-text-secondary-on-background-color);border-width:0.25rem 0 0.25rem 0.375rem;border-style:solid}';export{i as limel_menu_item_meta}