(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 Connect24 = /** @class */ (function () {
        function Connect24(elementRef) {
            this.elementRef = elementRef;
        }
        Connect24.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;
                Connect24.titleIdCounter++;
                title.setAttribute("id", "connect24-" + Connect24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "connect24-" + Connect24.titleIdCounter);
            }
        };
        Connect24.titleIdCounter = 0;
        Connect24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-connect24",
                        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=\"M23 16.01a7 7 0 0 0-4.18 1.39l-4.22-4.22A6.86 6.86 0 0 0 16 9.01a7 7 0 1 0-2.81 5.59l4.21 4.22a7 7 0 1 0 5.6-2.81zm-19-7a5 5 0 1 1 5 5 5 5 0 0 1-5-5z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Connect24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Connect24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Connect24;
    }());
    var Connect24Module = /** @class */ (function () {
        function Connect24Module() {
        }
        Connect24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Connect24
                        ],
                        exports: [
                            Connect24
                        ]
                    },] },
        ];
        return Connect24Module;
    }());

    exports.Connect24 = Connect24;
    exports.Connect24Module = Connect24Module;

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

})));
