(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 VisualRecognition20 = /** @class */ (function () {
        function VisualRecognition20(elementRef) {
            this.elementRef = elementRef;
        }
        VisualRecognition20.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 20,
                height: 20,
                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;
                VisualRecognition20.titleIdCounter++;
                title.setAttribute("id", "visual-recognition20-" + VisualRecognition20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "visual-recognition20-" + VisualRecognition20.titleIdCounter);
            }
        };
        VisualRecognition20.titleIdCounter = 0;
        VisualRecognition20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-visual-recognition20",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><circle cx=\"23\" cy=\"12\" r=\"2\"></circle><path d=\"M28 5H16.24A8 8 0 1 0 6 16.92V27a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2zM4 10a6 6 0 0 1 11.19-3H8v2h7.91a6.64 6.64 0 0 1 .09 1 6.64 6.64 0 0 1-.09 1H10v2h5.19A6 6 0 0 1 4 10zm24 17H8l5-5 1.59 1.59a2 2 0 0 0 2.82 0L23 18l5 5zm0-6.83l-3.59-3.59a2 2 0 0 0-2.82 0L16 22.17l-1.59-1.59a2 2 0 0 0-2.82 0L8 24.17v-6.43a8.24 8.24 0 0 0 2 .26 8 8 0 0 0 8-8 7.9 7.9 0 0 0-.59-3H28z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        VisualRecognition20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        VisualRecognition20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return VisualRecognition20;
    }());
    var VisualRecognition20Module = /** @class */ (function () {
        function VisualRecognition20Module() {
        }
        VisualRecognition20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            VisualRecognition20
                        ],
                        exports: [
                            VisualRecognition20
                        ]
                    },] },
        ];
        return VisualRecognition20Module;
    }());

    exports.VisualRecognition20 = VisualRecognition20;
    exports.VisualRecognition20Module = VisualRecognition20Module;

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

})));
