import { NgModule, Component, ElementRef, Input } from "@angular/core";
import { getAttributes } from "@carbon/icon-helpers";
var BluetoothOff24 = /** @class */ (function () {
    function BluetoothOff24(elementRef) {
        this.elementRef = elementRef;
    }
    BluetoothOff24.prototype.ngAfterViewInit = function () {
        var svg = this.elementRef.nativeElement.querySelector("svg");
        var attributes = getAttributes({
            width: 24,
            height: 24,
            viewBox: "0 0 32 32",
            title: this.title,
            "aria-label": this.ariaLabel,
            "aria-labelledby": this.ariaLabelledby,
            "aria-hidden": this.ariaHidden,
            focusable: this.focusable
        });
        var attrKeys = Object.keys(attributes);
        for (var i = 0; i < attrKeys.length; i++) {
            var key = attrKeys[i];
            var value = attributes[key];
            if (key === "title") {
                continue;
            }
            if (value) {
                svg.setAttribute(key, value);
            }
        }
        if (attributes.title) {
            var title = document.createElement("title");
            title.textContent = attributes.title;
            BluetoothOff24.titleIdCounter++;
            title.setAttribute("id", "bluetooth-off24-" + BluetoothOff24.titleIdCounter);
            svg.appendChild(title);
            svg.setAttribute("aria-labelledby", "bluetooth-off24-" + BluetoothOff24.titleIdCounter);
        }
    };
    BluetoothOff24.titleIdCounter = 0;
    BluetoothOff24.decorators = [
        { type: Component, args: [{
                    selector: "ibm-icon-bluetooth-off24",
                    template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M28 26.59L5.41 4 4 5.41 14.59 16 7 23.59 8.41 25 15 18.41V29a1 1 0 0 0 .58.91A1.06 1.06 0 0 0 16 30a1 1 0 0 0 .65-.24l6.3-5.4L26.59 28zm-11 .24v-8.42l4.53 4.53zm0-14.08V5.17l4.53 3.89-4.11 4.11 1.41 1.41 4.88-4.87A1 1 0 0 0 24 9a1 1 0 0 0-.35-.72l-7-6a1 1 0 0 0-1.07-.15A1 1 0 0 0 15 3v7.75z\"></path></svg>"
                },] },
    ];
    /** @nocollapse */
    BluetoothOff24.ctorParameters = function () { return [
        { type: ElementRef }
    ]; };
    BluetoothOff24.propDecorators = {
        ariaLabel: [{ type: Input }],
        ariaLabelledby: [{ type: Input }],
        ariaHidden: [{ type: Input }],
        title: [{ type: Input }],
        focusable: [{ type: Input }]
    };
    return BluetoothOff24;
}());
export { BluetoothOff24 };
var BluetoothOff24Module = /** @class */ (function () {
    function BluetoothOff24Module() {
    }
    BluetoothOff24Module.decorators = [
        { type: NgModule, args: [{
                    declarations: [
                        BluetoothOff24
                    ],
                    exports: [
                        BluetoothOff24
                    ]
                },] },
    ];
    return BluetoothOff24Module;
}());
export { BluetoothOff24Module };
//# sourceMappingURL=24.js.map