import{r as registerInstance,h,H as Host}from"./index-4d3658f6.js";import{B as BEM}from"./bem-8c7d2eb0.js";var NavigationMain=function(){function t(t){registerInstance(this,t);this.ariaLabelMain=""}t.prototype.render=function(){var t=BEM.block("nav").element("main");return h(Host,{class:Object.assign({},t.class())},h("nav",{role:"navigation","aria-label":this.ariaLabelMain},h("slot",{name:"main-head"})),h("slot",{name:"main-body"}))};return t}();var NavigationMainBody=function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){var t=BEM.block("nav").element("main").element("body");return h(Host,{class:Object.assign({},t.class())},h("slot",null))};return t}();var NavigationMainHead=function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){var t=BEM.block("nav").element("main").element("head");return h(Host,{class:Object.assign({},t.class())},h("slot",null))};return t}();var NavigationMenu=function(){function t(t){registerInstance(this,t);this.linkHref=undefined;this.linkName=undefined;this.target="_self";this.elements=[];this.tracking={}}t.prototype.render=function(){var t=BEM.block("nav").element("menu");return h(Host,{class:Object.assign({},t.class())},this.linkHref&&this.linkName&&h("div",{class:Object.assign({},t.element("link").class())},h("a",Object.assign({href:this.linkHref,target:this.target},this.tracking),this.linkName," ",this.linkName?"➞":"")),this.elements&&h("div",{style:{overflow:"hidden"}},h("div",{class:Object.assign({"columns is-multiline":true},t.element("wrapper").class())},this.elements.some((function(t){return t.color==="white"}))&&h("div",{class:{"bal-nav__menu__white-list__wrapper column is-full is-6-desktop is-two-thirds-widescreen":true}},h("div",{class:Object.assign({},t.element("white-list").class())},this.elements.filter((function(t){return t.color==="white"})).map((function(t){var n;return t&&h("bal-navigation-menu-list",{headline:t.label,href:t.link,target:t.target,tracking:t.trackingData},h("div",{slot:"links"},(n=t.subLevels)===null||n===void 0?void 0:n.map((function(t){return h("bal-navigation-menu-list-item",{href:t.link,target:t.target,tracking:t.trackingData},t.label)}))))})))),this.elements.some((function(t){return t.color==="grey"||t.color==="yellow"||t.color==="red"||t.color==="purple"||t.color==="green"}))&&h("div",{class:Object.assign({"column is-full is-6-desktop is-one-third-widescreen":true},t.element("grey-list").class())},this.elements.filter((function(t){return t.color==="grey"||t.color==="yellow"||t.color==="red"||t.color==="purple"||t.color==="green"})).map((function(t){var n;return h("bal-navigation-menu-list",{headline:t.label,href:t.link,color:t.color,target:t.target,tracking:t.trackingData},h("div",{slot:"links"},(n=t.subLevels)===null||n===void 0?void 0:n.map((function(t){return h("bal-navigation-menu-list-item",{href:t.link,target:t.target,tracking:t.trackingData},t.label)}))))}))))))};return t}();var NavigationMeta=function(){function t(t){registerInstance(this,t);this.ariaLabelMeta=""}t.prototype.render=function(){var t=BEM.block("nav").element("meta");return h(Host,{class:Object.assign({},t.class())},h("nav",{class:"container",role:"navigation","aria-label":this.ariaLabelMeta},h("slot",null)))};return t}();var NavigationMetaEnd=function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){var t=BEM.block("nav").element("meta").element("end");return h(Host,{class:Object.assign({},t.class())},h("slot",null))};return t}();var NavigationMetaStart=function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){var t=BEM.block("nav").element("meta").element("start");return h(Host,{class:Object.assign({},t.class())},h("slot",null))};return t}();export{NavigationMain as bal_navigation_main,NavigationMainBody as bal_navigation_main_body,NavigationMainHead as bal_navigation_main_head,NavigationMenu as bal_navigation_menu,NavigationMeta as bal_navigation_meta,NavigationMetaEnd as bal_navigation_meta_end,NavigationMetaStart as bal_navigation_meta_start};