import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
import { B as BEM } from './bem.js';

const NavbarMenuEnd = /*@__PURE__*/ proxyCustomElement(class NavbarMenuEnd extends HTMLElement {
    constructor(registerHost) {
        super();
        if (registerHost !== false) {
            this.__registerHost();
        }
        /**
         * @internal
         * Defines the type of navbar. App is used for almost every web applications
         * like the portal app. For our sales funnel we recommend to use the simple navbar.
         * Meta and main are used for the website.
         */
        this.interface = 'app';
    }
    render() {
        const menuEndEl = BEM.block('navbar').element('menu').element('end');
        return (h(Host, { key: '704fe4c50701625f0160aa39a79a5fc3e2f9debb', class: Object.assign(Object.assign({}, menuEndEl.class()), menuEndEl.modifier(`context-${this.interface}`).class()) }, h("slot", { key: '05737e744803b4b62906ab835d555d1c9cc6cf98' })));
    }
}, [260, "bal-navbar-menu-end", {
        "interface": [1]
    }]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["bal-navbar-menu-end"];
    components.forEach(tagName => { switch (tagName) {
        case "bal-navbar-menu-end":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, NavbarMenuEnd);
            }
            break;
    } });
}

const BalNavbarMenuEnd = NavbarMenuEnd;
const defineCustomElement = defineCustomElement$1;

export { BalNavbarMenuEnd, defineCustomElement };
