import { ChangeDetectionStrategy, Component } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FlagBaseComponent } from './flag-base.component';
import * as i0 from "@angular/core";
export class FlagComponent extends FlagBaseComponent {
    static { this.ɵfac = /*@__PURE__*/ (() => { let ɵFlagComponent_BaseFactory; return function FlagComponent_Factory(t) { return (ɵFlagComponent_BaseFactory || (ɵFlagComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FlagComponent)))(t || FlagComponent); }; })(); }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FlagComponent, selectors: [["fusion-flag"]], standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 2, vars: 3, consts: [["focusable", "false", "aria-hidden", "true", "viewBox", "0 0 24 24", 1, "fu-flag"]], template: function FlagComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵnamespaceSVG();
            i0.ɵɵelementStart(0, "svg", 0);
            i0.ɵɵelement(1, "image");
            i0.ɵɵelementEnd();
        } if (rf & 2) {
            i0.ɵɵstyleProp("border-radius", ctx.borderRadius);
            i0.ɵɵadvance();
            i0.ɵɵattribute("href", ctx.flagUrl);
        } }, dependencies: [CommonModule], styles: ["[_nghost-%COMP%]{margin:0;padding:0;-webkit-user-select:none;user-select:none;display:inline-block}[_nghost-%COMP%]   svg.fu-flag[_ngcontent-%COMP%]{fill:currentcolor;flex-shrink:0;transition:fill .2s cubic-bezier(.4,0,.2,1) 0ms}[_nghost-%COMP%]   svg.fu-flag[_ngcontent-%COMP%]   image[_ngcontent-%COMP%]{width:100%;height:auto}"], changeDetection: 0 }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FlagComponent, [{
        type: Component,
        args: [{ selector: 'fusion-flag', standalone: true, imports: [CommonModule], template: `
        <svg class="fu-flag" focusable="false" aria-hidden="true" viewBox="0 0 24 24" [style.border-radius]="borderRadius">
            <image [attr.href]="flagUrl"></image>
        </svg>
    `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{margin:0;padding:0;-webkit-user-select:none;user-select:none;display:inline-block}:host svg.fu-flag{fill:currentcolor;flex-shrink:0;transition:fill .2s cubic-bezier(.4,0,.2,1) 0ms}:host svg.fu-flag image{width:100%;height:auto}\n"] }]
    }], null, null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FlagComponent, { className: "FlagComponent", filePath: "flag.component.ts", lineNumber: 17 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxhZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mdXNpb24tdWkvY29tcG9uZW50cy9mbGFnL3Y0L2ZsYWcuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLHVCQUF1QixDQUFDOztBQWN4RCxNQUFNLE9BQU8sYUFBYyxTQUFRLGlCQUFpQjt3TkFBdkMsYUFBYSxTQUFiLGFBQWE7b0VBQWIsYUFBYTtZQVBsQixtQkFBbUg7WUFBbkgsOEJBQW1IO1lBQy9HLHdCQUFxQztZQUN6QyxpQkFBTTs7WUFGd0UsaURBQW9DO1lBQ3ZHLGNBQXFCO1lBQXJCLG1DQUFxQjs0QkFIMUIsWUFBWTs7aUZBU2IsYUFBYTtjQVp6QixTQUFTOzJCQUNJLGFBQWEsY0FDWCxJQUFJLFdBQ1AsQ0FBQyxZQUFZLENBQUMsWUFDYjs7OztLQUlULG1CQUVnQix1QkFBdUIsQ0FBQyxNQUFNOztrRk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