(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 LogoSnapchat24 = /** @class */ (function () {
        function LogoSnapchat24(elementRef) {
            this.elementRef = elementRef;
        }
        LogoSnapchat24.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;
                LogoSnapchat24.titleIdCounter++;
                title.setAttribute("id", "logo-snapchat24-" + LogoSnapchat24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "logo-snapchat24-" + LogoSnapchat24.titleIdCounter);
            }
        };
        LogoSnapchat24.titleIdCounter = 0;
        LogoSnapchat24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-logo-snapchat24",
                        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=\"M30 8.56a8.44 8.44 0 0 0-.13-1.5 6.13 6.13 0 0 0-.57-1.74 6.13 6.13 0 0 0-1.2-1.56 5.88 5.88 0 0 0-2.54-1.45A10.66 10.66 0 0 0 22.87 2H9.13c-.51 0-1 0-1.54.07a7.73 7.73 0 0 0-1.65.37A5.89 5.89 0 0 0 3.76 3.9 5.78 5.78 0 0 0 2.3 6.45 10 10 0 0 0 2 9.12v13.77a16.2 16.2 0 0 0 .13 1.86 6.46 6.46 0 0 0 .57 1.89 6 6 0 0 0 1.68 2 5.45 5.45 0 0 0 1.69.92 9 9 0 0 0 2.77.4h14.57a9.59 9.59 0 0 0 1.68-.18 5.74 5.74 0 0 0 2.81-1.36 5.85 5.85 0 0 0 1.86-3.1 11.25 11.25 0 0 0 .24-2.43V8.56zm-3.75 13c-.18.42-1.08.77-2.61 1-.15 0-.21.26-.29.64a4.05 4.05 0 0 1-.12.47.28.28 0 0 1-.3.23 2.15 2.15 0 0 1-.44-.06 5.3 5.3 0 0 0-2-.05 3.94 3.94 0 0 0-1.57.81 4.56 4.56 0 0 1-2.76 1.08h-.26a4.56 4.56 0 0 1-2.76-1.08 4 4 0 0 0-1.58-.81 5.92 5.92 0 0 0-.82-.07 6 6 0 0 0-1.15.13 2.07 2.07 0 0 1-.44.06.3.3 0 0 1-.33-.23 4.15 4.15 0 0 1-.11-.48c-.09-.38-.15-.61-.29-.63-1.53-.24-2.44-.59-2.62-1a.31.31 0 0 1 0-.13.24.24 0 0 1 .2-.26 5.35 5.35 0 0 0 3.22-1.91 7.37 7.37 0 0 0 1.1-1.71 1.08 1.08 0 0 0 .11-.92c-.2-.47-.85-.67-1.29-.81l-.29-.1c-.38-.15-1-.47-.93-.91a.85.85 0 0 1 .84-.55.66.66 0 0 1 .25 0 2.58 2.58 0 0 0 1 .28.89.89 0 0 0 .6-.19v-.61a10.24 10.24 0 0 1 .19-4.15 5.38 5.38 0 0 1 5-3.22h.41a5.38 5.38 0 0 1 5 3.22 10.61 10.61 0 0 1 .25 4.14v.61a.82.82 0 0 0 .54.18 2.55 2.55 0 0 0 1-.27.84.84 0 0 1 .32-.06.9.9 0 0 1 .37.07.68.68 0 0 1 .51.56c0 .21-.16.53-.94.84l-.29.1c-.43.14-1.09.34-1.28.81a1.11 1.11 0 0 0 .1.92c.05.13 1.37 3.13 4.31 3.62a.26.26 0 0 1 .21.26.65.65 0 0 1-.09.14z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        LogoSnapchat24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        LogoSnapchat24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return LogoSnapchat24;
    }());
    var LogoSnapchat24Module = /** @class */ (function () {
        function LogoSnapchat24Module() {
        }
        LogoSnapchat24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            LogoSnapchat24
                        ],
                        exports: [
                            LogoSnapchat24
                        ]
                    },] },
        ];
        return LogoSnapchat24Module;
    }());

    exports.LogoSnapchat24 = LogoSnapchat24;
    exports.LogoSnapchat24Module = LogoSnapchat24Module;

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

})));
