(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 Camera24 = /** @class */ (function () {
        function Camera24(elementRef) {
            this.elementRef = elementRef;
        }
        Camera24.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;
                Camera24.titleIdCounter++;
                title.setAttribute("id", "camera24-" + Camera24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "camera24-" + Camera24.titleIdCounter);
            }
        };
        Camera24.titleIdCounter = 0;
        Camera24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-camera24",
                        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=\"M29 26H3a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h6.46l1.71-2.55A1 1 0 0 1 12 4h8a1 1 0 0 1 .83.45L22.54 7H29a1 1 0 0 1 1 1v17a1 1 0 0 1-1 1zM4 24h24V9h-6a1 1 0 0 1-.83-.45L19.46 6h-6.92l-1.71 2.55A1 1 0 0 1 10 9H4z\"></path><path d=\"M16 22a6 6 0 1 1 6-6 6 6 0 0 1-6 6zm0-10a4 4 0 1 0 4 4 4 4 0 0 0-4-4z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Camera24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Camera24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Camera24;
    }());
    var Camera24Module = /** @class */ (function () {
        function Camera24Module() {
        }
        Camera24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Camera24
                        ],
                        exports: [
                            Camera24
                        ]
                    },] },
        ];
        return Camera24Module;
    }());

    exports.Camera24 = Camera24;
    exports.Camera24Module = Camera24Module;

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

})));
