import{r as t,h as s,H as e}from"./p-4c596c7f.js";import{B as i}from"./p-33de3866.js";import{b as c}from"./p-cb2be791.js";import{L as a}from"./p-04332d54.js";import"./p-7c87fba4.js";import"./p-b9dddc6c.js";import"./p-c57ee67c.js";import"./p-f93c5ab8.js";import"./p-1d7a7076.js";import"./p-7c679dda.js";const n=class{constructor(s){t(this,s),this.setHeadingLevel=()=>{this.headingLevel=c.isTouch?"h5":"h3"},this.color="white",this.headline=void 0,this.href=void 0,this.target="_self",this.tracking={},this.headingLevel=void 0}breakpointListener(t){this.setHeadingLevel()}connectedCallback(){this.setHeadingLevel()}render(){const t=i.block("nav").element("menu").element("list");return s(e,{class:Object.assign(Object.assign({},t.class()),t.modifier(`context-${this.color}`).class())},s("bal-card",{class:Object.assign({},t.element("card").class()),flat:!0,color:"grey"===this.color||"yellow"===this.color||"red"===this.color||"purple"===this.color||"green"===this.color?this.color:""},s("bal-card-content",null,this.href?s("a",Object.assign({href:this.href,target:this.target},this.tracking),s("bal-heading",{class:Object.assign({},t.element("card").element("heading").class()),level:this.headingLevel,space:"none"},this.headline)):s("bal-heading",{class:Object.assign({},t.element("card").element("heading").class()),level:this.headingLevel,space:"none"},this.headline),s("slot",{name:"links"}))))}};!function(t,s,e,i){var c,a=arguments.length,n=a<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,s,e,i);else for(var r=t.length-1;r>=0;r--)(c=t[r])&&(n=(a<3?c(n):a>3?c(s,e,n):c(s,e))||n);a>3&&n&&Object.defineProperty(s,e,n)}([a()],n.prototype,"breakpointListener",null);const r=class{constructor(s){t(this,s),this.href=void 0,this.tracking={},this.target="_self"}render(){const t=i.block("nav").element("menu").element("list").element("item");return s(e,{class:Object.assign({},t.class())},s("a",Object.assign({class:Object.assign({},t.element("link").class()),href:this.href,target:this.target},this.tracking),s("slot",null)))}};export{n as bal_navigation_menu_list,r as bal_navigation_menu_list_item}