(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 Video24 = /** @class */ (function () {
        function Video24(elementRef) {
            this.elementRef = elementRef;
        }
        Video24.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;
                Video24.titleIdCounter++;
                title.setAttribute("id", "video24-" + Video24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "video24-" + Video24.titleIdCounter);
            }
        };
        Video24.titleIdCounter = 0;
        Video24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-video24",
                        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=\"M21 26H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h17a2 2 0 0 1 2 2v4.06l5.42-3.87A1 1 0 0 1 30 9v14a1 1 0 0 1-1.58.81L23 19.94V24a2 2 0 0 1-2 2zM4 8v16h17v-6a1 1 0 0 1 1.58-.81L28 21.06V10.94l-5.42 3.87A1 1 0 0 1 21 14V8z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Video24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Video24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Video24;
    }());
    var Video24Module = /** @class */ (function () {
        function Video24Module() {
        }
        Video24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Video24
                        ],
                        exports: [
                            Video24
                        ]
                    },] },
        ];
        return Video24Module;
    }());

    exports.Video24 = Video24;
    exports.Video24Module = Video24Module;

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

})));
