(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 BrightnessContrast24 = /** @class */ (function () {
        function BrightnessContrast24(elementRef) {
            this.elementRef = elementRef;
        }
        BrightnessContrast24.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.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;
                BrightnessContrast24.titleIdCounter++;
                title.setAttribute("id", "brightness-contrast24-" + BrightnessContrast24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "brightness-contrast24-" + BrightnessContrast24.titleIdCounter);
            }
        };
        BrightnessContrast24.titleIdCounter = 0;
        BrightnessContrast24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-brightness-contrast24",
                        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=\"M15 2h2v3h-2zm12 13h3v2h-3zM15 27h2v3h-2zM2 15h3v2H2zm3.45-8.117L6.864 5.47l2.122 2.12L7.57 9.004zM23 7.581l2.12-2.121 1.414 1.414-2.121 2.122zm.002 16.835l1.414-1.414 2.122 2.122-1.414 1.414zM5.47 25.13L7.59 23 9 24.42l-2.12 2.12-1.41-1.41zM16 8a8 8 0 1 0 8 8 8 8 0 0 0-8-8zm0 14a6 6 0 0 1 0-12z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        BrightnessContrast24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        BrightnessContrast24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return BrightnessContrast24;
    }());
    var BrightnessContrast24Module = /** @class */ (function () {
        function BrightnessContrast24Module() {
        }
        BrightnessContrast24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            BrightnessContrast24
                        ],
                        exports: [
                            BrightnessContrast24
                        ]
                    },] },
        ];
        return BrightnessContrast24Module;
    }());

    exports.BrightnessContrast24 = BrightnessContrast24;
    exports.BrightnessContrast24Module = BrightnessContrast24Module;

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

})));
