import{r as o,h as t,H as r}from"./p-xvTBZcD2.js";import{t as l}from"./p-Cdx3I2X8.js";const e={note:"info",important:"exclamation_mark",tip:"idea",caution:"high_priority",warning:"error"};function a(o,t="note"){var r;return o||(null!==(r=e[t])&&void 0!==r?r:e.note)}const c=class{constructor(t){o(this,t),this.type="note",this.language="en"}render(){return t(r,{key:"9af3d9dc95f93714f7f334695d64f7f02b8b52e2"},t("div",{key:"014e90ead94b3c88f33dcb40de1a56d6b85c4c9b",class:"side",role:"presentation"},t("limel-icon",{key:"042773fb922877be2b6ef77c276a4b24c48517e2",name:a(this.icon,this.type)})),t("div",{key:"b211a6f7eb0d2680ef96adbbb5b4646c44e8d147",class:"main"},t("h1",{key:"7e4f4d05a54cc719b51144a21b28cfc1b1024a52",class:"heading"},function(o,t="note",r="en"){if(o)return o;const e=`callout.${t}`;try{return l.get(e,r)}catch(o){return l.get(e,"en")}}(this.heading,this.type,this.language)),t("slot",{key:"d1f333b26662b75cd403e3048229e6926e4279ed"})))}};c.style=':host(limel-callout){display:flex;border-radius:0.5rem;overflow:hidden;--limel-callout-tint-color:var(       --callout-color,       rgb(var(--color-contrast-100))   );color:var(--callout-text-color, rgb(var(--contrast-1100)));font-size:var(--limel-theme-default-font-size)}:host([type=note]){--limel-callout-tint-color:var(       --callout-color,       rgb(var(--color-gray-default))   )}:host([type=important]){--limel-callout-tint-color:var(       --callout-color,       rgb(var(--color-sky-default))   )}:host([type=tip]){--limel-callout-tint-color:var(       --callout-color,       rgb(var(--color-green-default))   )}:host([type=caution]){--limel-callout-tint-color:var(       --callout-color,       rgb(var(--color-orange-light))   )}:host([type=warning]){--limel-callout-tint-color:var(       --callout-color,       rgb(var(--color-red-dark))   )}.side{padding:0.25rem;position:relative}.side:before{content:"";position:absolute;inset:0;opacity:0.2;background-color:var(--limel-callout-tint-color)}.side limel-icon{width:1.5rem;color:var(--limel-callout-tint-color);margin-top:0.0625rem}.main{display:flex;flex:1;flex-direction:column;gap:0.5rem;padding:0.25rem 0.5rem 0.5rem 0.5rem;background-color:var(--callout-background-color, rgb(var(--contrast-300)))}.heading{margin:0;font-size:1rem;font-weight:600}';export{c as limel_callout}