import * as i0 from '@angular/core';
import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
import * as i1 from '@angular/common';
import { CommonModule } from '@angular/common';
import * as i2 from '@ironsource/fusion-ui/components/tooltip';
import { TooltipModule } from '@ironsource/fusion-ui/components/tooltip';
import * as i3 from '@ironsource/fusion-ui/components/icon/v1';
import { IconModule } from '@ironsource/fusion-ui/components/icon/v1';
import { FlagComponent } from '@ironsource/fusion-ui/components/flag/v4';
import { GenericPipe } from '@ironsource/fusion-ui/pipes/generic';
import { DropdownTestIdModifiers } from '@ironsource/fusion-ui/entities';
import { TestIdsService } from '@ironsource/fusion-ui/services/test-ids';
export * from '@ironsource/fusion-ui/components/dropdown-select/entities';

function DropdownSelectV4Component_img_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "img", 5);
} if (rf & 2) {
    const ctx_r0 = i0.ɵɵnextContext();
    i0.ɵɵpropertyInterpolate("src", ctx_r0.imageUrl, i0.ɵɵsanitizeUrl);
} }
function DropdownSelectV4Component_fusion_flag_2_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "fusion-flag", 6);
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵproperty("countryCode", ctx_r1.country);
} }
function DropdownSelectV4Component_fusion_icon_3_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "fusion-icon", 7);
} if (rf & 2) {
    const ctx_r2 = i0.ɵɵnextContext();
    i0.ɵɵstyleProp("color", ctx_r2.iconColor);
    i0.ɵɵpropertyInterpolate("name", ctx_r2.icon);
} }
class DropdownSelectV4Component {
    constructor(injector) {
        this.injector = injector;
        this.placeholder = { value: 'Select' };
        this.isOpen = false;
        this.size = 'medium';
        this.disabled = false;
        this.validationState = null;
        this.testIdDropdownModifiers = DropdownTestIdModifiers;
        this.testIdsService = this.injector.get(TestIdsService);
    }
    static { this.ɵfac = function DropdownSelectV4Component_Factory(t) { return new (t || DropdownSelectV4Component)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DropdownSelectV4Component, selectors: [["fusion-dropdown-select"]], hostAttrs: [1, "fusion-v4"], inputs: { placeholder: "placeholder", isOpen: "isOpen", size: "size", disabled: "disabled", validationState: "validationState", imageUrl: "imageUrl", icon: "icon", iconColor: "iconColor", testId: "testId", country: "country" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 7, vars: 23, consts: [["class", "fu-dropdown-select-image", "alt", "", 3, "src", 4, "ngIf"], ["class", "fu-dropdown-select-flag", 3, "countryCode", 4, "ngIf"], ["class", "fu-dropdown-select-icon", 3, "color", "name", 4, "ngIf"], [1, "fu-placeholder-text", "truncate", 3, "fusionTooltip", "innerHTML"], ["name", "ph/caret-down", 1, "fu-arrow-icon"], ["alt", "", 1, "fu-dropdown-select-image", 3, "src"], [1, "fu-dropdown-select-flag", 3, "countryCode"], [1, "fu-dropdown-select-icon", 3, "name"]], template: function DropdownSelectV4Component_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelementStart(0, "div");
            i0.ɵɵtemplate(1, DropdownSelectV4Component_img_1_Template, 1, 1, "img", 0)(2, DropdownSelectV4Component_fusion_flag_2_Template, 1, 1, "fusion-flag", 1)(3, DropdownSelectV4Component_fusion_icon_3_Template, 1, 3, "fusion-icon", 2);
            i0.ɵɵelement(4, "div", 3);
            i0.ɵɵpipe(5, "generic");
            i0.ɵɵelement(6, "fusion-icon", 4);
            i0.ɵɵelementEnd();
        } if (rf & 2) {
            i0.ɵɵclassMapInterpolate1("fu-dropdown-select-wrapper fu-size-", ctx.size, "");
            i0.ɵɵclassProp("fu-disabled", ctx.disabled)("fu-open", ctx.isOpen)("fu-error", ctx.validationState === "error")("fu-success", ctx.validationState === "success")("fu-warning", ctx.validationState === "warning");
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.imageUrl);
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.country);
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.icon);
            i0.ɵɵadvance();
            i0.ɵɵproperty("fusionTooltip", ctx.placeholder == null ? null : ctx.placeholder.value)("innerHTML", ctx.placeholder == null ? null : ctx.placeholder.value, i0.ɵɵsanitizeHtml);
            i0.ɵɵattribute("data-testid", i0.ɵɵpipeBind3(5, 19, ctx.testIdsService.getTestAttribute.bind(ctx), ctx.testId, ctx.testIdDropdownModifiers.BUTTON_CONTENT));
        } }, dependencies: [CommonModule, i1.NgIf, TooltipModule, i2.TooltipDirective, IconModule, i3.IconComponent, FlagComponent, GenericPipe], styles: ["@import\"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap\";@keyframes _ngcontent-%COMP%_rotation{0%{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes _ngcontent-%COMP%_shineAnimation{0%{background-position:-750px 0}to{background-position:750px 0}}.font-v4-bold[_ngcontent-%COMP%], .font-v4-tab-label-2[_ngcontent-%COMP%], .font-v4-chart-2[_ngcontent-%COMP%], .font-v4-chart-1[_ngcontent-%COMP%]{font-family:Inter,sans-serif;font-weight:700;-webkit-font-smoothing:antialiased}.font-v4-semibold[_ngcontent-%COMP%], .font-v4-chip-label[_ngcontent-%COMP%], .font-v4-table-label[_ngcontent-%COMP%], .fu-mode-button[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%], .fu-mode-button-text[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%], .font-v4-button[_ngcontent-%COMP%], .font-v4-heading-6[_ngcontent-%COMP%], .font-v4-heading-5[_ngcontent-%COMP%], .font-v4-heading-4[_ngcontent-%COMP%], .font-v4-heading-3[_ngcontent-%COMP%], .font-v4-heading-2[_ngcontent-%COMP%], .font-v4-heading-1[_ngcontent-%COMP%], .font-v4-title[_ngcontent-%COMP%]{font-family:Inter,sans-serif;font-weight:600;-webkit-font-smoothing:antialiased}.font-v4-medium[_ngcontent-%COMP%], .font-v4-tab-label-1[_ngcontent-%COMP%], .font-v4-input-label[_ngcontent-%COMP%], .font-v4-overline[_ngcontent-%COMP%], .font-v4-subtitle-2[_ngcontent-%COMP%], .font-v4-subtitle-1[_ngcontent-%COMP%]{font-family:Inter,sans-serif;font-weight:500;-webkit-font-smoothing:antialiased}.font-v4-regular[_ngcontent-%COMP%], .font-v4-caption[_ngcontent-%COMP%], .font-v4-body-2[_ngcontent-%COMP%], [_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%], .font-v4-body-1[_ngcontent-%COMP%]{font-family:Inter,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased}.font-v4-title[_ngcontent-%COMP%]{font-size:2.5rem;line-height:3rem;letter-spacing:-.055rem}.font-v4-heading-1[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1.75rem;letter-spacing:-.0285rem}.font-v4-heading-2[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.01575rem}.font-v4-heading-3[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem;letter-spacing:-.011rem}.font-v4-heading-4[_ngcontent-%COMP%]{font-size:.875rem;line-height:1rem;letter-spacing:unset}.font-v4-heading-5[_ngcontent-%COMP%]{font-size:.8125rem;line-height:16px;letter-spacing:unset}.font-v4-heading-6[_ngcontent-%COMP%]{font-size:.75rem;line-height:.75rem;letter-spacing:0}[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%], .font-v4-body-1[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-v4-body-2[_ngcontent-%COMP%]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-v4-subtitle-1[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-v4-subtitle-2[_ngcontent-%COMP%]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-v4-chart-1[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1.5rem;letter-spacing:-.015rem}.font-v4-chart-2[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.25rem;letter-spacing:-.0125rem}.fu-mode-button[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%], .fu-mode-button-text[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%], .font-v4-button[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem;letter-spacing:.00875rem}.font-v4-overline[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem;letter-spacing:.045rem;text-transform:uppercase}.font-v4-caption[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.font-v4-table-label[_ngcontent-%COMP%]{font-size:.8125rem;line-height:1.25rem;letter-spacing:.00813rem}.font-v4-input-label[_ngcontent-%COMP%]{font-size:.8125rem;line-height:1rem;letter-spacing:.00813rem}.font-v4-tab-label-1[_ngcontent-%COMP%], .font-v4-tab-label-2[_ngcontent-%COMP%]{font-size:.875rem;line-height:1rem}.font-v4-chip-label[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.fusion-v4[_ngcontent-%COMP%]{--background-default: #FFFFFF;--background-paper: hsl(0, 0%, 99%);--background-model-elevation: #FFFFFF;--background-backdrop: hsla(0, 0%, 0%, .11);--background-paper-elevation-0: hsl(0, 0%, 97.5%);--background-paper-elevation-1: hsl(0, 0%, 94.6%);--background-paper-elevation-2: hsl(0, 0%, 92%);--background-paper-elevation-3: hsl(0, 0%, 89.5%);--background-paper-elevation-4: hsl(0, 0%, 86.8%);--background-paper-elevation-5: hsl(0, 0%, 83%);--background-paper-elevation-6: hsl(0, 0%, 73.2%);--background-paper-elevation-7: hsl(0, 0%, 55.2%);--background-paper-elevation-8: hsl(0, 0%, 50.3%);--background-paper-elevation-9: hsl(0, 0%, 39.3%);--action-primary: hsl(0, 0%, 12.5%);--action-active: hsl(0, 0%, 50.3%);--action-hover: hsla(0, 0%, 0%, .05);--action-selected: hsl(0, 0%, 92%);--action-disabled: hsl(0, 0%, 87%);--action-disabled-background: hsl(0, 0%, 95%);--action-focus: hsl(0, 0%, 92%);--action-outlined-border: hsl(0, 0%, 73%);--default-light: hsl(0, 0%, 89.5%);--default-main: hsl(0, 0%, 94.51%);--default-dark: hsl(0, 0%, 92%);--default-outlined-border: hsl(0, 0%, 73.2%);--default-contrast-text: hsl(0, 0%, 12.5%);--default-button-contrast-text: hsl(0, 0%, 0%);--common-white: #FFFFFF;--common-black: #000000;--common-inverse-white: #FFFFFF;--common-inverse-black: #000000;--common-divider: hsl(0, 0%, 86.8%);--common-divider-elevation-0: hsl(0, 0%, 89%);--text-primary: hsl(0, 0%, 12.5%);--text-secondary: hsl(0, 0%, 39.3%);--text-disabled: hsl(0, 0%, 73.33%);--primary-lighter: hsl(209, 100%, 96.5%);--primary-light: hsl(209, 95%, 90.1%);--primary-main: hsl(206, 100%, 50%);--primary-main-8-p: hsla(206, 100%, 50%, .08);--primary-main-50-p: hsla(206, 100%, 50%, .5);--primary-dark: hsl(208, 93.5%, 47.4%);--primary-darker: hsl(211, 90%, 42%);--primary-outlined-border: hsl(206, 100%, 50%);--primary-contrast-text: hsl(216, 71%, 23%);--primary-button-contrast-text: hsl(0, 0%, 100%);--info-lighter: hsl(223, 98.4%, 97.1%);--info-light: hsl(224, 87.1%, 92%);--info-main: hsl(226, 70%, 55.5%);--info-main-8-p: hsla(226, 70%, 55.5%, .08);--info-main-50-p: hsla(226, 70%, 55.5%, .5);--info-dark: hsl(226, 58.6%, 51.3%);--info-darker: hsl(226, 55%, 45%);--info-outlined-border: hsl(226, 70%, 55.5%);--info-contrast-text: hsl(226, 50%, 24%);--info-button-contrast-text: hsl(0, 0%, 100%);--success-lighter: hsl(139, 55.2%, 94.5%);--success-light: hsl(141, 43.7%, 86%);--success-main: hsl(151, 55%, 41.5%);--success-main-8-p: hsla(151, 55%, 41.5%, .08);--success-main-50-p: hsla(151, 55%, 41.5%, .5);--success-dark: hsl(152, 57.5%, 37.6%);--success-darker: hsl(153, 67%, 28.5%);--success-outlined-border: hsl(151, 55%, 41.5%);--success-contrast-text: hsl(155, 40%, 16.5%);--success-button-contrast-text: hsl(0, 0%, 100%);--warning-lighter: hsl(45, 100%, 90.8%);--warning-light: hsl(40, 100%, 81.5%);--warning-main: hsl(42, 100%, 62%);--warning-main-8-p: hsla(42, 100%, 62%, .08);--warning-main-50-p: hsla(42, 100%, 62%, .5);--warning-dark: hsl(42, 100%, 55%);--warning-darker: hsl(25, 50%, 38%);--warning-outlined-border: hsl(42, 100%, 62%);--warning-contrast-text: hsl(25, 40%, 22%);--warning-button-contrast-text: hsl(24, 40%, 22%);--error-lighter: hsl(0, 100%, 96.8%);--error-light: hsl(0, 90.2%, 91.9%);--error-main: hsl(358, 75%, 59%);--error-main-8-p: hsla(358, 75%, 59%, .08);--error-main-50-p: hsla(358, 75%, 59%, .5);--error-dark: hsl(358, 67.4%, 54.6%);--error-darker: hsl(358, 65%, 47%);--error-outlined-border: hsl(358, 75%, 59%);--error-contrast-text: hsl(350, 63%, 24%);--error-button-contrast-text: hsl(0, 0%, 100%);--aba: #FFC134;--abb: #4F4FF5}.fusion-v4[_ngcontent-%COMP%]{--spacing-tockenset: 0px;--spacing-25: 2px;--spacing-50: 4px;--spacing-75: 6px;--spacing-100: 8px;--spacing-125: 10px;--spacing-150: 12px;--spacing-200: 16px;--spacing-250: 20px;--spacing-300: 24px;--spacing-400: 32px;--spacing-500: 40px;--spacing-600: 48px;--spacing-700: 56px;--spacing-800: 64px;--spacing-900: 72px;--spacing-1000: 80px}.fusion-v4[_ngcontent-%COMP%]{--box-shadow-xs: 0px 1px 2px 0px rgba(16, 24, 40, .05);--box-shadow-sm: 0px 1px 3px 0px rgba(16, 24, 40, .1), 0px 1px 2px 0px rgba(16, 24, 40, .06);--box-shadow-md: 0px 4px 8px -2px rgba(16, 24, 40, .1), 0px 2px 4px -2px rgba(16, 24, 40, .06);--box-shadow-lg: 0px 12px 16px -4px rgba(16, 24, 40, .08), 0px 4px 6px -2px rgba(16, 24, 40, .03);--box-shadow-xl: 0px 8px 8px -4px rgba(16, 24, 40, .03), 0px 20px 24px -6px rgba(16, 24, 40, .08);--box-shadow-xxl: 0px 24px 48px -12px rgba(16, 24, 40, .18);--box-shadow-xxxl: 0px 19px 32px 2px rgba(44, 45, 45, .14);--box-shadow-slg: 0px 27px 27px 2px rgba(44, 45, 45, .14)}.fusion-v4[_ngcontent-%COMP%]{--border-radius-xs: 2px;--border-radius-sm: 4px;--border-radius-md: 6px;--border-radius-lg: 8px;--border-radius-xl: 16px;--border-radius-full: 100px}[_nghost-%COMP%]{margin:0;padding:0}[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;color:var(--text-primary, hsl(0, 0%, 12.5%));box-sizing:border-box;height:28px;padding:4px 8px;border-radius:var(--border-radius-md, 6px);border:solid 1px var(--action-outlined-border, hsl(0, 0%, 73%));background-color:var(--default-main, hsl(0, 0%, 94.51%))}[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%]   .fu-placeholder-text[_ngcontent-%COMP%]{flex-grow:1}[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%]   .fu-dropdown-select-image[_ngcontent-%COMP%]{width:16px;height:16px;border-radius:2px}[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%]   .fu-arrow-icon[_ngcontent-%COMP%], [_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%]   .fu-dropdown-select-icon[_ngcontent-%COMP%]{width:16px;height:16px;color:var(--action-active, hsl(0, 0%, 50.3%));margin-left:auto;flex-grow:0}[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%]:hover{border-color:var(--action-active, hsl(0, 0%, 50.3%));background-color:var(--action-hover, hsla(0, 0%, 0%, .05));cursor:pointer}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-disabled[_ngcontent-%COMP%]{color:var(--text-disabled, hsl(0, 0%, 73.33%));border-color:var(--action-outlined-border, hsl(0, 0%, 73%));background-color:var(--action-disabled-background, hsl(0, 0%, 95%));pointer-events:none}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-disabled[_ngcontent-%COMP%]   .fu-arrow-icon[_ngcontent-%COMP%], [_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-disabled[_ngcontent-%COMP%]   .fu-dropdown-select-icon[_ngcontent-%COMP%]{color:var(--text-disabled, hsl(0, 0%, 73.33%))}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-open[_ngcontent-%COMP%], [_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-error[_ngcontent-%COMP%], [_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-success[_ngcontent-%COMP%], [_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-warning[_ngcontent-%COMP%]{border-width:2px;padding:3px 7px}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-open[_ngcontent-%COMP%]{border-color:var(--primary-main, hsl(206, 100%, 50%));background-color:var(--action-hover, hsla(0, 0%, 0%, .05))}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-error[_ngcontent-%COMP%]{border-color:var(--error-main, hsl(358, 75%, 59%))}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-success[_ngcontent-%COMP%]{border-color:var(--success-main, hsl(151, 55%, 41.5%))}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-warning[_ngcontent-%COMP%]{border-color:var(--warning-main, hsl(42, 100%, 62%))}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-size-small[_ngcontent-%COMP%]{height:24px;padding:2px 6px}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-size-small[_ngcontent-%COMP%]   .fu-dropdown-select-icon[_ngcontent-%COMP%]{width:16px;height:16px}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-size-small[_ngcontent-%COMP%]   .fu-dropdown-select-image[_ngcontent-%COMP%]{width:16px;height:16px;border-radius:4px}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-size-large[_ngcontent-%COMP%]{height:32px;padding:6px 8px}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-size-large[_ngcontent-%COMP%]   .fu-dropdown-select-icon[_ngcontent-%COMP%]{width:20px;height:20px}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-size-large[_ngcontent-%COMP%]   .fu-dropdown-select-image[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:4px}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-size-xlarge[_ngcontent-%COMP%]{height:40px;padding:10px 8px}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-size-xlarge[_ngcontent-%COMP%]   .fu-dropdown-select-icon[_ngcontent-%COMP%]{width:16px;height:16px}[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-size-xlarge[_ngcontent-%COMP%]   .fu-dropdown-select-image[_ngcontent-%COMP%]{width:24px;height:24px;border-radius:4px}.fu-mode-button[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%], .fu-mode-button-text[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%]{background-color:transparent}.fu-mode-button[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%]   .fu-dropdown-select-icon[_ngcontent-%COMP%], .fu-mode-button-text[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%]   .fu-dropdown-select-icon[_ngcontent-%COMP%]{color:var(--text-primary, hsl(0, 0%, 12.5%))}.fu-mode-button[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%]:hover, .fu-mode-button-text[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%]:hover{background-color:var(--action-hover, hsla(0, 0%, 0%, .05))}.fu-mode-button[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-disabled[_ngcontent-%COMP%], .fu-mode-button-text[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-disabled[_ngcontent-%COMP%]{background-color:transparent}.fu-mode-button[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-open[_ngcontent-%COMP%], .fu-mode-button-text[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-open[_ngcontent-%COMP%]{border-width:2px;padding:3px 7px;border-color:var(--action-active, hsl(0, 0%, 50.3%));background-color:var(--action-selected, hsl(0, 0%, 92%))}.fu-mode-button[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-open.fu-size-small[_ngcontent-%COMP%], .fu-mode-button-text[_nghost-%COMP%]   .fu-dropdown-select-wrapper.fu-open.fu-size-small[_ngcontent-%COMP%]{padding:1px 5px}.fu-mode-button-text[_nghost-%COMP%]   .fu-dropdown-select-wrapper[_ngcontent-%COMP%]{border-color:transparent}[_nghost-%COMP%]:has(.fu-dropdown-select-wrapper.fu-disabled){pointer-events:none}"], changeDetection: 0 }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DropdownSelectV4Component, [{
        type: Component,
        args: [{ selector: 'fusion-dropdown-select', standalone: true, imports: [CommonModule, TooltipModule, IconModule, FlagComponent, GenericPipe], host: { class: 'fusion-v4' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"fu-dropdown-select-wrapper fu-size-{{size}}\"\n     [class.fu-disabled]=\"disabled\"\n     [class.fu-open]=\"isOpen\"\n     [class.fu-error]=\"validationState === 'error'\"\n     [class.fu-success]=\"validationState === 'success'\"\n     [class.fu-warning]=\"validationState === 'warning'\"\n>\n    <img class=\"fu-dropdown-select-image\" *ngIf=\"imageUrl\" src=\"{{imageUrl}}\" alt=\"\"/>\n    <fusion-flag class=\"fu-dropdown-select-flag\" *ngIf=\"country\" [countryCode]=\"country\"></fusion-flag>\n    <fusion-icon class=\"fu-dropdown-select-icon\" [style.color]=\"iconColor\" *ngIf=\"icon\" name=\"{{icon}}\"></fusion-icon>\n    <div class=\"fu-placeholder-text truncate\"\n         [attr.data-testid]=\"testIdsService.getTestAttribute.bind(this) | generic:testId:testIdDropdownModifiers.BUTTON_CONTENT\"\n         [fusionTooltip]=\"placeholder?.value\" [innerHTML]=\"placeholder?.value\"></div>\n    <fusion-icon class=\"fu-arrow-icon\" name=\"ph/caret-down\"></fusion-icon>\n</div>\n", styles: ["@import\"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap\";@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes shineAnimation{0%{background-position:-750px 0}to{background-position:750px 0}}.font-v4-bold,.font-v4-tab-label-2,.font-v4-chart-2,.font-v4-chart-1{font-family:Inter,sans-serif;font-weight:700;-webkit-font-smoothing:antialiased}.font-v4-semibold,.font-v4-chip-label,.font-v4-table-label,:host.fu-mode-button .fu-dropdown-select-wrapper,:host.fu-mode-button-text .fu-dropdown-select-wrapper,.font-v4-button,.font-v4-heading-6,.font-v4-heading-5,.font-v4-heading-4,.font-v4-heading-3,.font-v4-heading-2,.font-v4-heading-1,.font-v4-title{font-family:Inter,sans-serif;font-weight:600;-webkit-font-smoothing:antialiased}.font-v4-medium,.font-v4-tab-label-1,.font-v4-input-label,.font-v4-overline,.font-v4-subtitle-2,.font-v4-subtitle-1{font-family:Inter,sans-serif;font-weight:500;-webkit-font-smoothing:antialiased}.font-v4-regular,.font-v4-caption,.font-v4-body-2,:host .fu-dropdown-select-wrapper,.font-v4-body-1{font-family:Inter,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased}.font-v4-title{font-size:2.5rem;line-height:3rem;letter-spacing:-.055rem}.font-v4-heading-1{font-size:1.5rem;line-height:1.75rem;letter-spacing:-.0285rem}.font-v4-heading-2{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.01575rem}.font-v4-heading-3{font-size:1rem;line-height:1.5rem;letter-spacing:-.011rem}.font-v4-heading-4{font-size:.875rem;line-height:1rem;letter-spacing:unset}.font-v4-heading-5{font-size:.8125rem;line-height:16px;letter-spacing:unset}.font-v4-heading-6{font-size:.75rem;line-height:.75rem;letter-spacing:0}:host .fu-dropdown-select-wrapper,.font-v4-body-1{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-v4-body-2{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-v4-subtitle-1{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-v4-subtitle-2{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-v4-chart-1{font-size:1.5rem;line-height:1.5rem;letter-spacing:-.015rem}.font-v4-chart-2{font-size:1.25rem;line-height:1.25rem;letter-spacing:-.0125rem}:host.fu-mode-button .fu-dropdown-select-wrapper,:host.fu-mode-button-text .fu-dropdown-select-wrapper,.font-v4-button{font-size:.875rem;line-height:1.25rem;letter-spacing:.00875rem}.font-v4-overline{font-size:.75rem;line-height:1rem;letter-spacing:.045rem;text-transform:uppercase}.font-v4-caption{font-size:.75rem;line-height:1rem}.font-v4-table-label{font-size:.8125rem;line-height:1.25rem;letter-spacing:.00813rem}.font-v4-input-label{font-size:.8125rem;line-height:1rem;letter-spacing:.00813rem}.font-v4-tab-label-1,.font-v4-tab-label-2{font-size:.875rem;line-height:1rem}.font-v4-chip-label{font-size:.75rem;line-height:1rem}.fusion-v4{--background-default: #FFFFFF;--background-paper: hsl(0, 0%, 99%);--background-model-elevation: #FFFFFF;--background-backdrop: hsla(0, 0%, 0%, .11);--background-paper-elevation-0: hsl(0, 0%, 97.5%);--background-paper-elevation-1: hsl(0, 0%, 94.6%);--background-paper-elevation-2: hsl(0, 0%, 92%);--background-paper-elevation-3: hsl(0, 0%, 89.5%);--background-paper-elevation-4: hsl(0, 0%, 86.8%);--background-paper-elevation-5: hsl(0, 0%, 83%);--background-paper-elevation-6: hsl(0, 0%, 73.2%);--background-paper-elevation-7: hsl(0, 0%, 55.2%);--background-paper-elevation-8: hsl(0, 0%, 50.3%);--background-paper-elevation-9: hsl(0, 0%, 39.3%);--action-primary: hsl(0, 0%, 12.5%);--action-active: hsl(0, 0%, 50.3%);--action-hover: hsla(0, 0%, 0%, .05);--action-selected: hsl(0, 0%, 92%);--action-disabled: hsl(0, 0%, 87%);--action-disabled-background: hsl(0, 0%, 95%);--action-focus: hsl(0, 0%, 92%);--action-outlined-border: hsl(0, 0%, 73%);--default-light: hsl(0, 0%, 89.5%);--default-main: hsl(0, 0%, 94.51%);--default-dark: hsl(0, 0%, 92%);--default-outlined-border: hsl(0, 0%, 73.2%);--default-contrast-text: hsl(0, 0%, 12.5%);--default-button-contrast-text: hsl(0, 0%, 0%);--common-white: #FFFFFF;--common-black: #000000;--common-inverse-white: #FFFFFF;--common-inverse-black: #000000;--common-divider: hsl(0, 0%, 86.8%);--common-divider-elevation-0: hsl(0, 0%, 89%);--text-primary: hsl(0, 0%, 12.5%);--text-secondary: hsl(0, 0%, 39.3%);--text-disabled: hsl(0, 0%, 73.33%);--primary-lighter: hsl(209, 100%, 96.5%);--primary-light: hsl(209, 95%, 90.1%);--primary-main: hsl(206, 100%, 50%);--primary-main-8-p: hsla(206, 100%, 50%, .08);--primary-main-50-p: hsla(206, 100%, 50%, .5);--primary-dark: hsl(208, 93.5%, 47.4%);--primary-darker: hsl(211, 90%, 42%);--primary-outlined-border: hsl(206, 100%, 50%);--primary-contrast-text: hsl(216, 71%, 23%);--primary-button-contrast-text: hsl(0, 0%, 100%);--info-lighter: hsl(223, 98.4%, 97.1%);--info-light: hsl(224, 87.1%, 92%);--info-main: hsl(226, 70%, 55.5%);--info-main-8-p: hsla(226, 70%, 55.5%, .08);--info-main-50-p: hsla(226, 70%, 55.5%, .5);--info-dark: hsl(226, 58.6%, 51.3%);--info-darker: hsl(226, 55%, 45%);--info-outlined-border: hsl(226, 70%, 55.5%);--info-contrast-text: hsl(226, 50%, 24%);--info-button-contrast-text: hsl(0, 0%, 100%);--success-lighter: hsl(139, 55.2%, 94.5%);--success-light: hsl(141, 43.7%, 86%);--success-main: hsl(151, 55%, 41.5%);--success-main-8-p: hsla(151, 55%, 41.5%, .08);--success-main-50-p: hsla(151, 55%, 41.5%, .5);--success-dark: hsl(152, 57.5%, 37.6%);--success-darker: hsl(153, 67%, 28.5%);--success-outlined-border: hsl(151, 55%, 41.5%);--success-contrast-text: hsl(155, 40%, 16.5%);--success-button-contrast-text: hsl(0, 0%, 100%);--warning-lighter: hsl(45, 100%, 90.8%);--warning-light: hsl(40, 100%, 81.5%);--warning-main: hsl(42, 100%, 62%);--warning-main-8-p: hsla(42, 100%, 62%, .08);--warning-main-50-p: hsla(42, 100%, 62%, .5);--warning-dark: hsl(42, 100%, 55%);--warning-darker: hsl(25, 50%, 38%);--warning-outlined-border: hsl(42, 100%, 62%);--warning-contrast-text: hsl(25, 40%, 22%);--warning-button-contrast-text: hsl(24, 40%, 22%);--error-lighter: hsl(0, 100%, 96.8%);--error-light: hsl(0, 90.2%, 91.9%);--error-main: hsl(358, 75%, 59%);--error-main-8-p: hsla(358, 75%, 59%, .08);--error-main-50-p: hsla(358, 75%, 59%, .5);--error-dark: hsl(358, 67.4%, 54.6%);--error-darker: hsl(358, 65%, 47%);--error-outlined-border: hsl(358, 75%, 59%);--error-contrast-text: hsl(350, 63%, 24%);--error-button-contrast-text: hsl(0, 0%, 100%);--aba: #FFC134;--abb: #4F4FF5}.fusion-v4{--spacing-tockenset: 0px;--spacing-25: 2px;--spacing-50: 4px;--spacing-75: 6px;--spacing-100: 8px;--spacing-125: 10px;--spacing-150: 12px;--spacing-200: 16px;--spacing-250: 20px;--spacing-300: 24px;--spacing-400: 32px;--spacing-500: 40px;--spacing-600: 48px;--spacing-700: 56px;--spacing-800: 64px;--spacing-900: 72px;--spacing-1000: 80px}.fusion-v4{--box-shadow-xs: 0px 1px 2px 0px rgba(16, 24, 40, .05);--box-shadow-sm: 0px 1px 3px 0px rgba(16, 24, 40, .1), 0px 1px 2px 0px rgba(16, 24, 40, .06);--box-shadow-md: 0px 4px 8px -2px rgba(16, 24, 40, .1), 0px 2px 4px -2px rgba(16, 24, 40, .06);--box-shadow-lg: 0px 12px 16px -4px rgba(16, 24, 40, .08), 0px 4px 6px -2px rgba(16, 24, 40, .03);--box-shadow-xl: 0px 8px 8px -4px rgba(16, 24, 40, .03), 0px 20px 24px -6px rgba(16, 24, 40, .08);--box-shadow-xxl: 0px 24px 48px -12px rgba(16, 24, 40, .18);--box-shadow-xxxl: 0px 19px 32px 2px rgba(44, 45, 45, .14);--box-shadow-slg: 0px 27px 27px 2px rgba(44, 45, 45, .14)}.fusion-v4{--border-radius-xs: 2px;--border-radius-sm: 4px;--border-radius-md: 6px;--border-radius-lg: 8px;--border-radius-xl: 16px;--border-radius-full: 100px}:host{margin:0;padding:0}:host .fu-dropdown-select-wrapper{display:flex;align-items:center;gap:4px;color:var(--text-primary, hsl(0, 0%, 12.5%));box-sizing:border-box;height:28px;padding:4px 8px;border-radius:var(--border-radius-md, 6px);border:solid 1px var(--action-outlined-border, hsl(0, 0%, 73%));background-color:var(--default-main, hsl(0, 0%, 94.51%))}:host .fu-dropdown-select-wrapper .fu-placeholder-text{flex-grow:1}:host .fu-dropdown-select-wrapper .fu-dropdown-select-image{width:16px;height:16px;border-radius:2px}:host .fu-dropdown-select-wrapper .fu-arrow-icon,:host .fu-dropdown-select-wrapper .fu-dropdown-select-icon{width:16px;height:16px;color:var(--action-active, hsl(0, 0%, 50.3%));margin-left:auto;flex-grow:0}:host .fu-dropdown-select-wrapper:hover{border-color:var(--action-active, hsl(0, 0%, 50.3%));background-color:var(--action-hover, hsla(0, 0%, 0%, .05));cursor:pointer}:host .fu-dropdown-select-wrapper.fu-disabled{color:var(--text-disabled, hsl(0, 0%, 73.33%));border-color:var(--action-outlined-border, hsl(0, 0%, 73%));background-color:var(--action-disabled-background, hsl(0, 0%, 95%));pointer-events:none}:host .fu-dropdown-select-wrapper.fu-disabled .fu-arrow-icon,:host .fu-dropdown-select-wrapper.fu-disabled .fu-dropdown-select-icon{color:var(--text-disabled, hsl(0, 0%, 73.33%))}:host .fu-dropdown-select-wrapper.fu-open,:host .fu-dropdown-select-wrapper.fu-error,:host .fu-dropdown-select-wrapper.fu-success,:host .fu-dropdown-select-wrapper.fu-warning{border-width:2px;padding:3px 7px}:host .fu-dropdown-select-wrapper.fu-open{border-color:var(--primary-main, hsl(206, 100%, 50%));background-color:var(--action-hover, hsla(0, 0%, 0%, .05))}:host .fu-dropdown-select-wrapper.fu-error{border-color:var(--error-main, hsl(358, 75%, 59%))}:host .fu-dropdown-select-wrapper.fu-success{border-color:var(--success-main, hsl(151, 55%, 41.5%))}:host .fu-dropdown-select-wrapper.fu-warning{border-color:var(--warning-main, hsl(42, 100%, 62%))}:host .fu-dropdown-select-wrapper.fu-size-small{height:24px;padding:2px 6px}:host .fu-dropdown-select-wrapper.fu-size-small .fu-dropdown-select-icon{width:16px;height:16px}:host .fu-dropdown-select-wrapper.fu-size-small .fu-dropdown-select-image{width:16px;height:16px;border-radius:4px}:host .fu-dropdown-select-wrapper.fu-size-large{height:32px;padding:6px 8px}:host .fu-dropdown-select-wrapper.fu-size-large .fu-dropdown-select-icon{width:20px;height:20px}:host .fu-dropdown-select-wrapper.fu-size-large .fu-dropdown-select-image{width:20px;height:20px;border-radius:4px}:host .fu-dropdown-select-wrapper.fu-size-xlarge{height:40px;padding:10px 8px}:host .fu-dropdown-select-wrapper.fu-size-xlarge .fu-dropdown-select-icon{width:16px;height:16px}:host .fu-dropdown-select-wrapper.fu-size-xlarge .fu-dropdown-select-image{width:24px;height:24px;border-radius:4px}:host.fu-mode-button .fu-dropdown-select-wrapper,:host.fu-mode-button-text .fu-dropdown-select-wrapper{background-color:transparent}:host.fu-mode-button .fu-dropdown-select-wrapper .fu-dropdown-select-icon,:host.fu-mode-button-text .fu-dropdown-select-wrapper .fu-dropdown-select-icon{color:var(--text-primary, hsl(0, 0%, 12.5%))}:host.fu-mode-button .fu-dropdown-select-wrapper:hover,:host.fu-mode-button-text .fu-dropdown-select-wrapper:hover{background-color:var(--action-hover, hsla(0, 0%, 0%, .05))}:host.fu-mode-button .fu-dropdown-select-wrapper.fu-disabled,:host.fu-mode-button-text .fu-dropdown-select-wrapper.fu-disabled{background-color:transparent}:host.fu-mode-button .fu-dropdown-select-wrapper.fu-open,:host.fu-mode-button-text .fu-dropdown-select-wrapper.fu-open{border-width:2px;padding:3px 7px;border-color:var(--action-active, hsl(0, 0%, 50.3%));background-color:var(--action-selected, hsl(0, 0%, 92%))}:host.fu-mode-button .fu-dropdown-select-wrapper.fu-open.fu-size-small,:host.fu-mode-button-text .fu-dropdown-select-wrapper.fu-open.fu-size-small{padding:1px 5px}:host.fu-mode-button-text .fu-dropdown-select-wrapper{border-color:transparent}:host:has(.fu-dropdown-select-wrapper.fu-disabled){pointer-events:none}\n"] }]
    }], () => [{ type: i0.Injector }], { placeholder: [{
            type: Input
        }], isOpen: [{
            type: Input
        }], size: [{
            type: Input
        }], disabled: [{
            type: Input
        }], validationState: [{
            type: Input
        }], imageUrl: [{
            type: Input
        }], icon: [{
            type: Input
        }], iconColor: [{
            type: Input
        }], testId: [{
            type: Input
        }], country: [{
            type: Input
        }] }); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DropdownSelectV4Component, { className: "DropdownSelectV4Component", filePath: "dropdown-select-v4.component.ts", lineNumber: 20 }); })();

/**
 * Generated bundle index. Do not edit.
 */

export { DropdownSelectV4Component as DropdownSelectComponent };
//# sourceMappingURL=ironsource-fusion-ui-components-dropdown-select-v4.mjs.map
