import { ChangeDetectionStrategy, Component } from '@angular/core';
import { LoaderInlineBaseComponent } from '@ironsource/fusion-ui/components/loader-inline/common/base';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "./components/loading-icon.component";
function LoaderInlineComponent_div_0_span_2_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "span", 3);
    i0.ɵɵtext(1);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext(2);
    i0.ɵɵadvance();
    i0.ɵɵtextInterpolate(ctx_r1.text);
} }
const _c0 = a0 => [a0];
function LoaderInlineComponent_div_0_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 1);
    i0.ɵɵelement(1, "fusion-loading-icon");
    i0.ɵɵtemplate(2, LoaderInlineComponent_div_0_span_2_Template, 2, 1, "span", 2);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r0 = i0.ɵɵnextContext();
    i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0, ctx_r0.color));
    i0.ɵɵadvance(2);
    i0.ɵɵproperty("ngIf", ctx_r0.text);
} }
export class LoaderInlineComponent extends LoaderInlineBaseComponent {
    static { this.ɵfac = /*@__PURE__*/ (() => { let ɵLoaderInlineComponent_BaseFactory; return function LoaderInlineComponent_Factory(t) { return (ɵLoaderInlineComponent_BaseFactory || (ɵLoaderInlineComponent_BaseFactory = i0.ɵɵgetInheritedFactory(LoaderInlineComponent)))(t || LoaderInlineComponent); }; })(); }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LoaderInlineComponent, selectors: [["fusion-loader-inline"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "loader-inline", 3, "ngClass", 4, "ngIf"], [1, "loader-inline", 3, "ngClass"], ["class", "loader-txt", 4, "ngIf"], [1, "loader-txt"]], template: function LoaderInlineComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵtemplate(0, LoaderInlineComponent_div_0_Template, 3, 4, "div", 0);
        } if (rf & 2) {
            i0.ɵɵproperty("ngIf", ctx.status);
        } }, dependencies: [i1.NgClass, i1.NgIf, i2.LoadingIconComponent], styles: ["[_nghost-%COMP%]   .loader-inline[_ngcontent-%COMP%]   .loader-txt[_ngcontent-%COMP%]{font-size:12px;font-family:HelveticaNeue,helvetica,sans-serif;font-weight:400;letter-spacing:.04px}[_nghost-%COMP%]   .loader-inline[_ngcontent-%COMP%]{display:inline-flex;margin-left:5px;align-items:center;height:16px;color:var(--fu-light-900, #7b838c)}[_nghost-%COMP%]   .loader-inline.blue[_ngcontent-%COMP%]{color:var(--fu-primary-500, #3083ff)}[_nghost-%COMP%]   .loader-inline.white[_ngcontent-%COMP%]{color:var(--fu-white, #ffffff)}[_nghost-%COMP%]   .loader-inline[_ngcontent-%COMP%]   .loader-txt[_ngcontent-%COMP%]{padding-left:14px}"], changeDetection: 0 }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoaderInlineComponent, [{
        type: Component,
        args: [{ selector: 'fusion-loader-inline', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"status\" class=\"loader-inline\" [ngClass]=\"[color]\">\n    <fusion-loading-icon></fusion-loading-icon>\n    <span *ngIf=\"text\" class=\"loader-txt\">{{ text }}</span>\n</div>\n", styles: [":host .loader-inline .loader-txt{font-size:12px;font-family:HelveticaNeue,helvetica,sans-serif;font-weight:400;letter-spacing:.04px}:host .loader-inline{display:inline-flex;margin-left:5px;align-items:center;height:16px;color:var(--fu-light-900, #7b838c)}:host .loader-inline.blue{color:var(--fu-primary-500, #3083ff)}:host .loader-inline.white{color:var(--fu-white, #ffffff)}:host .loader-inline .loader-txt{padding-left:14px}\n"] }]
    }], null, null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoaderInlineComponent, { className: "LoaderInlineComponent", filePath: "loader-inline.component.ts", l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