(function (global, factory) {
    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@carbon/icon-helpers')) :
    typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@carbon/icon-helpers'], factory) :
    (factory((global.CarbonIconsAngular = {}),global.ng.Core,global.CarbonIconHelpers));
}(this, (function (exports,core,iconHelpers) { 'use strict';

    var Awake16 = /** @class */ (function () {
        function Awake16(elementRef) {
            this.elementRef = elementRef;
        }
        Awake16.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 16,
                height: 16,
                viewBox: "0 0 16 16",
                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;
                Awake16.titleIdCounter++;
                title.setAttribute("id", "awake16-" + Awake16.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "awake16-" + Awake16.titleIdCounter);
            }
        };
        Awake16.titleIdCounter = 0;
        Awake16.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-awake16",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M7.5 1h1v2.5h-1zm3.304 3.454l1.768-1.768.707.707-1.768 1.768zM12.5 7.5H15v1h-2.5zm-1.662 4.01l.707-.706 1.768 1.767-.707.707zM7.5 12.5h1V15h-1zm-4.778.11l1.768-1.77.707.707-1.768 1.768zM1 7.5h2.5v1H1zm1.688-4.07l.707-.706L5.163 4.49l-.707.707zM8 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0-1C6.3 5 5 6.3 5 8s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Awake16.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Awake16.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Awake16;
    }());
    var Awake16Module = /** @class */ (function () {
        function Awake16Module() {
        }
        Awake16Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Awake16
                        ],
                        exports: [
                            Awake16
                        ]
                    },] },
        ];
        return Awake16Module;
    }());

    exports.Awake16 = Awake16;
    exports.Awake16Module = Awake16Module;

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

})));
