(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 Share32 = /** @class */ (function () {
        function Share32(elementRef) {
            this.elementRef = elementRef;
        }
        Share32.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 32,
                height: 32,
                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;
                Share32.titleIdCounter++;
                title.setAttribute("id", "share32-" + Share32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "share32-" + Share32.titleIdCounter);
            }
        };
        Share32.titleIdCounter = 0;
        Share32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-share32",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M23 20a5 5 0 0 0-3.89 1.89l-7.31-4.57a4.46 4.46 0 0 0 0-2.64l7.31-4.57A5 5 0 1 0 18 7a4.79 4.79 0 0 0 .2 1.32l-7.31 4.57a5 5 0 1 0 0 6.22l7.31 4.57A4.79 4.79 0 0 0 18 25a5 5 0 1 0 5-5zm0-16a3 3 0 1 1-3 3 3 3 0 0 1 3-3zM7 19a3 3 0 1 1 3-3 3 3 0 0 1-3 3zm16 9a3 3 0 1 1 3-3 3 3 0 0 1-3 3z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Share32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Share32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Share32;
    }());
    var Share32Module = /** @class */ (function () {
        function Share32Module() {
        }
        Share32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Share32
                        ],
                        exports: [
                            Share32
                        ]
                    },] },
        ];
        return Share32Module;
    }());

    exports.Share32 = Share32;
    exports.Share32Module = Share32Module;

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

})));
