'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-9a9efa1c.js');

const pnProfileModalCustomernumberCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}.pn-profile-modal-customernumber-button{display:block;border:0;margin:0;background:#fff;cursor:pointer;appearance:none;border:0;outline:0;padding:0.8rem;font-weight:400;font-size:1.4rem;border-radius:0.8rem;line-height:1.4;transition:background 0.15s ease;text-align:left;width:100%}.pn-profile-modal-customernumber-button:hover,.pn-profile-modal-customernumber-button:focus,.pn-profile-modal-customernumber-button:active{background:#effbff}";
const PnProfileModalCustomernumberStyle0 = pnProfileModalCustomernumberCss;

const PnProfileModalCustomernumber = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
        this.urlSelected = index.createEvent(this, "urlSelected", 7);
        this.url = null;
        this.customernumber = null;
        this.selected = false;
    }
    get hostElement() { return index.getElement(this); }
    urlSelected;
    onCustomerNumberClick() {
        this.selected = true;
        this.urlSelected.emit(this.url);
    }
    render() {
        return (index.h(index.Host, { key: '4a4afc42fa28df38d32383f21a5c31fadf142b8d' }, index.h("button", { key: 'a85111c17b58ce65b509107dfc3b42614d5002e1', class: "pn-profile-modal-customernumber-button", onClick: this.onCustomerNumberClick.bind(this) }, index.h("slot", { key: '1435a3dc7dc509dc89e949742a8eabe2a66472e6' }))));
    }
};
PnProfileModalCustomernumber.style = PnProfileModalCustomernumberStyle0;

exports.pn_profile_modal_customernumber = PnProfileModalCustomernumber;

//# sourceMappingURL=pn-profile-modal-customernumber.cjs.entry.js.map