(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 View24 = /** @class */ (function () {
        function View24(elementRef) {
            this.elementRef = elementRef;
        }
        View24.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;
                View24.titleIdCounter++;
                title.setAttribute("id", "view24-" + View24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "view24-" + View24.titleIdCounter);
            }
        };
        View24.titleIdCounter = 0;
        View24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-view24",
                        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=\"M30.94 15.66A16.69 16.69 0 0 0 16 5 16.69 16.69 0 0 0 1.06 15.66a1 1 0 0 0 0 .68A16.69 16.69 0 0 0 16 27a16.69 16.69 0 0 0 14.94-10.66 1 1 0 0 0 0-.68zM16 25c-5.3 0-10.9-3.93-12.93-9C5.1 10.93 10.7 7 16 7s10.9 3.93 12.93 9C26.9 21.07 21.3 25 16 25z\"></path><path d=\"M16 10a6 6 0 1 0 6 6 6 6 0 0 0-6-6zm0 10a4 4 0 1 1 4-4 4 4 0 0 1-4 4z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        View24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        View24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return View24;
    }());
    var View24Module = /** @class */ (function () {
        function View24Module() {
        }
        View24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            View24
                        ],
                        exports: [
                            View24
                        ]
                    },] },
        ];
        return View24Module;
    }());

    exports.View24 = View24;
    exports.View24Module = View24Module;

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

})));
