import * as i0 from '@angular/core';
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
import { ChipFilterBaseComponent } from '@ironsource/fusion-ui/components/chip-filter/common/base';
import * as i1 from '@angular/common';
import { CommonModule } from '@angular/common';
import * as i2 from '@ironsource/fusion-ui/components/icon/v1';
import { IconModule } from '@ironsource/fusion-ui/components/icon/v1';
import * as i3 from '@ironsource/fusion-ui/components/tooltip';
import { TooltipModule } from '@ironsource/fusion-ui/components/tooltip';
import * as i4 from '@ironsource/fusion-ui/pipes/generic';
import { GenericPipe } from '@ironsource/fusion-ui/pipes/generic';
import { FlagModule } from '@ironsource/fusion-ui/components/flag/v1';

function ChipFilterComponent_ng_template_0_ng_container_0_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementContainer(0, 3);
} if (rf & 2) {
    i0.ɵɵnextContext(2);
    const _r4 = i0.ɵɵreference(5);
    i0.ɵɵproperty("ngTemplateOutlet", _r4);
} }
function ChipFilterComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵtemplate(0, ChipFilterComponent_ng_template_0_ng_container_0_Template, 1, 1, "ng-container", 1);
} if (rf & 2) {
    const ctx_r0 = i0.ɵɵnextContext();
    i0.ɵɵproperty("ngIf", ctx_r0.apiBase);
} }
function ChipFilterComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementContainer(0, 3);
} if (rf & 2) {
    i0.ɵɵnextContext();
    const _r4 = i0.ɵɵreference(5);
    i0.ɵɵproperty("ngTemplateOutlet", _r4);
} }
function ChipFilterComponent_ng_template_4_fusion_icon_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "fusion-icon", 10);
} if (rf & 2) {
    const ctx_r6 = i0.ɵɵnextContext(2);
    i0.ɵɵproperty("name", ctx_r6.leftIcon.icon)("fusionTooltip", ctx_r6.leftIcon.tooltipText);
} }
function ChipFilterComponent_ng_template_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementContainerStart(0);
    i0.ɵɵprojection(1, 1);
    i0.ɵɵelementContainerEnd();
} }
function ChipFilterComponent_ng_template_4_ng_container_4_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementContainer(0, 3);
} if (rf & 2) {
    const ctx_r8 = i0.ɵɵnextContext(2);
    i0.ɵɵproperty("ngTemplateOutlet", ctx_r8.defaultContent);
} }
function ChipFilterComponent_ng_template_4_fusion_icon_5_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "fusion-icon", 11);
} if (rf & 2) {
    const ctx_r9 = i0.ɵɵnextContext(2);
    i0.ɵɵproperty("name", ctx_r9.rightIcon.icon)("fusionTooltip", ctx_r9.rightIcon.tooltipText);
} }
function ChipFilterComponent_ng_template_4_fusion_icon_6_Template(rf, ctx) { if (rf & 1) {
    const _r12 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "fusion-icon", 12);
    i0.ɵɵlistener("click", function ChipFilterComponent_ng_template_4_fusion_icon_6_Template_fusion_icon_click_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r11.closeClicked($event)); });
    i0.ɵɵpipe(1, "generic");
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r10 = i0.ɵɵnextContext(2);
    i0.ɵɵproperty("name", "close-bold");
    i0.ɵɵattribute("data-testid", i0.ɵɵpipeBind3(1, 2, ctx_r10.testIdsService.getTestAttribute.bind(ctx_r10), ctx_r10.testId, ctx_r10.testIdChipFilterModifiers.RESET_BUTTON));
} }
function ChipFilterComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 4);
    i0.ɵɵtemplate(1, ChipFilterComponent_ng_template_4_fusion_icon_1_Template, 1, 2, "fusion-icon", 5);
    i0.ɵɵelementStart(2, "div", 6);
    i0.ɵɵtemplate(3, ChipFilterComponent_ng_template_4_ng_container_3_Template, 2, 0, "ng-container", 7)(4, ChipFilterComponent_ng_template_4_ng_container_4_Template, 1, 1, "ng-container", 1);
    i0.ɵɵelementEnd();
    i0.ɵɵtemplate(5, ChipFilterComponent_ng_template_4_fusion_icon_5_Template, 1, 2, "fusion-icon", 8)(6, ChipFilterComponent_ng_template_4_fusion_icon_6_Template, 2, 6, "fusion-icon", 9);
    i0.ɵɵpipe(7, "async");
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r3 = i0.ɵɵnextContext();
    i0.ɵɵadvance();
    i0.ɵɵproperty("ngIf", ctx_r3.leftIcon);
    i0.ɵɵadvance(2);
    i0.ɵɵproperty("ngIf", !ctx_r3.isDefaultContent);
    i0.ɵɵadvance();
    i0.ɵɵproperty("ngIf", ctx_r3.apiBase && ctx_r3.isDefaultContent);
    i0.ɵɵadvance();
    i0.ɵɵproperty("ngIf", ctx_r3.rightIcon);
    i0.ɵɵadvance();
    i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(7, 5, ctx_r3.isCloseIcon$));
} }
const _c0 = [[["", 8, "filter-element"]], [["", 8, "fu-chip-content"]]];
const _c1 = [".filter-element", ".fu-chip-content"];
class ChipFilterComponent extends ChipFilterBaseComponent {
    static { this.ɵfac = /*@__PURE__*/ (() => { let ɵChipFilterComponent_BaseFactory; return function ChipFilterComponent_Factory(t) { return (ɵChipFilterComponent_BaseFactory || (ɵChipFilterComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ChipFilterComponent)))(t || ChipFilterComponent); }; })(); }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ChipFilterComponent, selectors: [["fusion-chip-filter"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1, decls: 6, vars: 1, consts: [["ref", ""], [3, "ngTemplateOutlet", 4, "ngIf"], ["chipComponent", ""], [3, "ngTemplateOutlet"], [1, "fu-chip-filter-container"], ["class", "fu-chip-left-icon", 3, "name", "fusionTooltip", 4, "ngIf"], [1, "fu-chip-content-wrapper"], [4, "ngIf"], ["class", "fu-chip-right-icon", 3, "name", "fusionTooltip", 4, "ngIf"], ["class", "fu-icon-close", 3, "name", "click", 4, "ngIf"], [1, "fu-chip-left-icon", 3, "name", "fusionTooltip"], [1, "fu-chip-right-icon", 3, "name", "fusionTooltip"], [1, "fu-icon-close", 3, "name", "click"]], template: function ChipFilterComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵprojectionDef(_c0);
            i0.ɵɵtemplate(0, ChipFilterComponent_ng_template_0_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
            i0.ɵɵprojection(2);
            i0.ɵɵtemplate(3, ChipFilterComponent_ng_container_3_Template, 1, 1, "ng-container", 1)(4, ChipFilterComponent_ng_template_4_Template, 8, 7, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
        } if (rf & 2) {
            i0.ɵɵadvance(3);
            i0.ɵɵproperty("ngIf", !ctx.apiBase);
        } }, dependencies: [i1.NgIf, i1.NgTemplateOutlet, i2.IconComponent, i3.TooltipDirective, i1.AsyncPipe, i4.GenericPipe], styles: ["@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-face{font-family:NHaasGroteskDSPro;src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.eot);src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.ttf) format(\"truetype\")}@font-face{font-family:NHaasGroteskDSPro-65Md;src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.eot);src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.ttf) format(\"truetype\")}@font-face{font-family:HelveticaNeue;src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.eot);src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.ttf) format(\"truetype\")}@font-face{font-family:HelveticaNeue-Medium;src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.eot);src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.ttf) format(\"truetype\")}.font-heading-6[_ngcontent-%COMP%], .font-heading-5[_ngcontent-%COMP%], .font-heading-4[_ngcontent-%COMP%], .font-heading-3[_ngcontent-%COMP%], .font-heading-2[_ngcontent-%COMP%], .font-heading-1[_ngcontent-%COMP%]{font-family:NHaasGroteskDSPro,sans-serif}.font-caption[_ngcontent-%COMP%], .font-bodyXSmall[_ngcontent-%COMP%], .font-bodySmall[_ngcontent-%COMP%], .font-bodyMedium[_ngcontent-%COMP%], .font-bodyLarge[_ngcontent-%COMP%]{font-family:HelveticaNeue,helvetica,sans-serif;line-height:1.5}.font-bodyXSmallStrong[_ngcontent-%COMP%], .fu-chip-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .fu-add-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .fu-removable-filter.closed-icon[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .fu-un-removable-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .font-bodySmallStrong[_ngcontent-%COMP%], .font-bodyMediumStrong[_ngcontent-%COMP%], .font-bodyLargeStrong[_ngcontent-%COMP%]{font-family:HelveticaNeue-Medium,helvetica,sans-serif;line-height:1.5}@font-face{font-family:NHaasGroteskDSPro;src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.eot);src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.ttf) format(\"truetype\")}@font-face{font-family:NHaasGroteskDSPro-65Md;src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.eot);src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.ttf) format(\"truetype\")}@font-face{font-family:HelveticaNeue;src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.eot);src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.ttf) format(\"truetype\")}@font-face{font-family:HelveticaNeue-Medium;src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.eot);src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.ttf) format(\"truetype\")}.font-heading-1[_ngcontent-%COMP%], .font-heading-2[_ngcontent-%COMP%], .font-heading-3[_ngcontent-%COMP%], .font-heading-4[_ngcontent-%COMP%], .font-heading-5[_ngcontent-%COMP%], .font-heading-6[_ngcontent-%COMP%]{font-family:NHaasGroteskDSPro,sans-serif}.font-heading-1[_ngcontent-%COMP%]{font-size:60px}.font-heading-2[_ngcontent-%COMP%]{font-size:32px}.font-heading-3[_ngcontent-%COMP%]{font-size:22px}.font-heading-4[_ngcontent-%COMP%]{font-size:18px}.font-heading-5[_ngcontent-%COMP%]{font-size:15px}.font-heading-6[_ngcontent-%COMP%]{font-size:13px}.font-heading-label[_ngcontent-%COMP%]{font-size:11px;font-family:NHaasGroteskDSPro-65Md,sans-serif;letter-spacing:.25px}.font-bodyLarge[_ngcontent-%COMP%], .font-bodyMedium[_ngcontent-%COMP%], .font-bodySmall[_ngcontent-%COMP%], .font-bodyXSmall[_ngcontent-%COMP%], .font-caption[_ngcontent-%COMP%]{font-family:HelveticaNeue,helvetica,sans-serif;line-height:1.5}.fu-chip-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .fu-add-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .fu-removable-filter.closed-icon[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .fu-un-removable-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .font-bodyLargeStrong[_ngcontent-%COMP%], .font-bodyMediumStrong[_ngcontent-%COMP%], .font-bodySmallStrong[_ngcontent-%COMP%], .font-bodyXSmallStrong[_ngcontent-%COMP%]{font-family:HelveticaNeue-Medium,helvetica,sans-serif;line-height:1.5}.font-bodyLarge[_ngcontent-%COMP%], .font-bodyLargeStrong[_ngcontent-%COMP%]{font-size:16px}.font-bodyMedium[_ngcontent-%COMP%], .font-bodyMediumStrong[_ngcontent-%COMP%]{font-size:14px}.font-bodySmall[_ngcontent-%COMP%]{font-size:13px;letter-spacing:.24px}.fu-chip-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .fu-add-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .fu-removable-filter.closed-icon[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .fu-un-removable-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .font-bodySmallStrong[_ngcontent-%COMP%]{font-size:13px;letter-spacing:.24px}.font-bodyXSmall[_ngcontent-%COMP%], .font-bodyXSmallStrong[_ngcontent-%COMP%]{font-size:12px;letter-spacing:.24px}.font-caption[_ngcontent-%COMP%]{font-size:11px}.fu-chip-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .fu-add-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .fu-removable-filter.closed-icon[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .fu-un-removable-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;padding:4px 16px;width:-moz-fit-content;width:fit-content;height:32px;font-weight:500;line-height:15.87px;letter-spacing:.24px;border-radius:100px;border:none;gap:4px;background-color:var(--fu-primary-100, #E2EEFF);color:var(--fu-primary-500, #3083FF)}.fu-removable-filter.closed-icon.fu-disabled[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%], .fu-un-removable-filter.fu-disabled[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]{background-color:var(--fu-primary-100, #E2EEFF);color:var(--fu-primary-500, #3083FF);opacity:.7;pointer-events:none}.fu-removable-filter.closed-icon.fu-disabled[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   .fu-icon-close[_ngcontent-%COMP%], .fu-un-removable-filter.fu-disabled[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   .fu-icon-close[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]{box-sizing:border-box;display:inline-block;position:relative}[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fusion-icon[class^=fu-chip-left-icon][_ngcontent-%COMP%]{width:16px;height:16px}[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fusion-icon[class^=fu-chip-left-icon][_ngcontent-%COMP%]     svg{width:16px;height:16px}[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fusion-icon[class^=fu-chip-left-icon][_ngcontent-%COMP%]     svg *{fill:var(--fu-black-500, #53575B)}[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fusion-icon[class^=fu-chip-right-icon][_ngcontent-%COMP%]{width:16px;height:16px}[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fusion-icon[class^=fu-chip-right-icon][_ngcontent-%COMP%]     svg{width:16px;height:16px}[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fusion-icon[class^=fu-chip-right-icon][_ngcontent-%COMP%]     svg *{fill:var(--fu-black-500, #53575B)}.fu-selected[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fusion-icon[class^=fu-chip-left-icon][_ngcontent-%COMP%]     svg{width:16px;height:16px}.fu-selected[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fusion-icon[class^=fu-chip-left-icon][_ngcontent-%COMP%]     svg *{fill:var(--fu-primary-500, #3083FF)}.fu-selected[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fusion-icon[class^=fu-chip-right-icon][_ngcontent-%COMP%]     svg{width:16px;height:16px}.fu-selected[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fusion-icon[class^=fu-chip-right-icon][_ngcontent-%COMP%]     svg *{fill:var(--fu-primary-300, #96C0FF)}.fu-un-removable-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]{padding:4px 16px}.fu-un-removable-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]:hover{background-color:var(--fu-primary-200, #C9DFFF);cursor:pointer}.fu-un-removable-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   .fu-chip-content-wrapper.truncate[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis}.fu-un-removable-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   .fu-icon-close[_ngcontent-%COMP%]{display:none}.fu-un-removable-filter.fu-disabled[_nghost-%COMP%]{pointer-events:none}.fu-removable-filter.closed-icon[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]{padding:4px 8px 4px 16px}.fu-removable-filter.closed-icon[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fusion-icon.fu-icon-close[_ngcontent-%COMP%]:hover{color:var(--fu-primary-400, #68A5FF);cursor:pointer}.fu-removable-filter.closed-icon[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]:hover{background-color:var(--fu-primary-200, #C9DFFF);cursor:pointer}.fu-removable-filter.closed-icon[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   .fu-chip-content-wrapper.truncate[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis}.fu-removable-filter.closed-icon[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fusion-icon.fu-icon-close[_ngcontent-%COMP%]{color:var(--fu-primary-300, #96C0FF);margin-left:auto;width:16px;height:16px}.fu-removable-filter.closed-icon[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fusion-icon.fu-icon-close[_ngcontent-%COMP%]:hover{color:var(--fu-primary-500, #3083FF);cursor:pointer}.fu-removable-filter.closed-icon.fu-disabled[_nghost-%COMP%]{pointer-events:none}.fu-add-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]{background-color:var(--fu-light-200, #EDEFF0);padding:4px 16px 4px 12px;color:var(--fu-black-500, #53575B)}.fu-add-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   fu-chip-content-wrapper.truncate[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis}.fu-add-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   .fu-icon-close[_ngcontent-%COMP%]{display:none}.fu-add-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]:hover{color:var(--fu-black-500, #53575B);background-color:var(--fu-light-300, #E5E7E9);cursor:pointer}.fu-add-filter.fu-disabled[_nghost-%COMP%]{pointer-events:none}.fu-add-filter.fu-disabled[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]{color:var(--fu-black-500, #53575B);opacity:.7}.fu-chip-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]{border:1px solid var(--fu-light-400, #DDDFE1);background-color:var(--fu-white, #ffffff);color:var(--fu-black-500, #53575B);cursor:pointer;padding:3px 16px}.fu-chip-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   .fu-chip-content-wrapper.truncate[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis}.fu-chip-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]   .fu-icon-close[_ngcontent-%COMP%]{display:none}.fu-chip-filter[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]:hover{border-color:var(--fu-light-700, #A9AFB4)}.fu-chip-filter.fu-disabled[_nghost-%COMP%]{pointer-events:none}.fu-chip-filter.fu-disabled[_nghost-%COMP%]   .fu-chip-filter-container[_ngcontent-%COMP%]{background-color:var(--fu-white, #ffffff);color:var(--fu-black-500, #53575B);opacity:.7;border-color:var(--fu-light-400, #DDDFE1)}"], changeDetection: 0 }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ChipFilterComponent, [{
        type: Component,
        args: [{ selector: 'fusion-chip-filter', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #ref>\n    <ng-container *ngIf=\"apiBase\" [ngTemplateOutlet]=\"chipComponent\"></ng-container>\n</ng-template>\n<ng-content select=\".filter-element\"></ng-content>\n\n<ng-container *ngIf=\"!apiBase\" [ngTemplateOutlet]=\"chipComponent\"></ng-container>\n<ng-template #chipComponent>\n    <div class=\"fu-chip-filter-container\">\n        <fusion-icon class=\"fu-chip-left-icon\" *ngIf=\"leftIcon\" [name]=\"leftIcon.icon\" [fusionTooltip]=\"leftIcon.tooltipText\"></fusion-icon>\n        <div class=\"fu-chip-content-wrapper\">\n            <ng-container *ngIf=\"!isDefaultContent\">\n                <ng-content select=\".fu-chip-content\"></ng-content>\n            </ng-container>\n            <ng-container *ngIf=\"apiBase && isDefaultContent\" [ngTemplateOutlet]=\"defaultContent\"></ng-container>\n        </div>\n        <fusion-icon class=\"fu-chip-right-icon\" *ngIf=\"rightIcon\" [name]=\"rightIcon.icon\" [fusionTooltip]=\"rightIcon.tooltipText\"></fusion-icon>\n        <fusion-icon class=\"fu-icon-close\" *ngIf=\"isCloseIcon$ | async\" (click)=\"closeClicked($event)\" [name]=\"'close-bold'\" [attr.data-testid]=\"testIdsService.getTestAttribute.bind(this) | generic:testId:testIdChipFilterModifiers.RESET_BUTTON\"></fusion-icon>\n    </div>\n</ng-template>\n\n", styles: ["@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes shineAnimation{0%{background-position:-750px 0}to{background-position:750px 0}}@font-face{font-family:NHaasGroteskDSPro;src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.eot);src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.ttf) format(\"truetype\")}@font-face{font-family:NHaasGroteskDSPro-65Md;src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.eot);src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.ttf) format(\"truetype\")}@font-face{font-family:HelveticaNeue;src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.eot);src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.ttf) format(\"truetype\")}@font-face{font-family:HelveticaNeue-Medium;src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.eot);src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.ttf) format(\"truetype\")}.font-heading-6,.font-heading-5,.font-heading-4,.font-heading-3,.font-heading-2,.font-heading-1{font-family:NHaasGroteskDSPro,sans-serif}.font-caption,.font-bodyXSmall,.font-bodySmall,.font-bodyMedium,.font-bodyLarge{font-family:HelveticaNeue,helvetica,sans-serif;line-height:1.5}.font-bodyXSmallStrong,:host.fu-chip-filter .fu-chip-filter-container,:host.fu-add-filter .fu-chip-filter-container,:host.fu-removable-filter.closed-icon .fu-chip-filter-container,:host.fu-un-removable-filter .fu-chip-filter-container,.font-bodySmallStrong,.font-bodyMediumStrong,.font-bodyLargeStrong{font-family:HelveticaNeue-Medium,helvetica,sans-serif;line-height:1.5}@font-face{font-family:NHaasGroteskDSPro;src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.eot);src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-75Bd.ttf) format(\"truetype\")}@font-face{font-family:NHaasGroteskDSPro-65Md;src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.eot);src:url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/NHaasGroteskDSPro-65Md.ttf) format(\"truetype\")}@font-face{font-family:HelveticaNeue;src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.eot);src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue.ttf) format(\"truetype\")}@font-face{font-family:HelveticaNeue-Medium;src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.eot);src:url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.eot?#iefix) format(\"embedded-opentype\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.woff2) format(\"woff2\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.woff) format(\"woff\"),url(https://fusion.ironsrc.net/assets/fonts/HelveticaNeue-Medium.ttf) format(\"truetype\")}.font-heading-1,.font-heading-2,.font-heading-3,.font-heading-4,.font-heading-5,.font-heading-6{font-family:NHaasGroteskDSPro,sans-serif}.font-heading-1{font-size:60px}.font-heading-2{font-size:32px}.font-heading-3{font-size:22px}.font-heading-4{font-size:18px}.font-heading-5{font-size:15px}.font-heading-6{font-size:13px}.font-heading-label{font-size:11px;font-family:NHaasGroteskDSPro-65Md,sans-serif;letter-spacing:.25px}.font-bodyLarge,.font-bodyMedium,.font-bodySmall,.font-bodyXSmall,.font-caption{font-family:HelveticaNeue,helvetica,sans-serif;line-height:1.5}:host.fu-chip-filter .fu-chip-filter-container,:host.fu-add-filter .fu-chip-filter-container,:host.fu-removable-filter.closed-icon .fu-chip-filter-container,:host.fu-un-removable-filter .fu-chip-filter-container,.font-bodyLargeStrong,.font-bodyMediumStrong,.font-bodySmallStrong,.font-bodyXSmallStrong{font-family:HelveticaNeue-Medium,helvetica,sans-serif;line-height:1.5}.font-bodyLarge,.font-bodyLargeStrong{font-size:16px}.font-bodyMedium,.font-bodyMediumStrong{font-size:14px}.font-bodySmall{font-size:13px;letter-spacing:.24px}:host.fu-chip-filter .fu-chip-filter-container,:host.fu-add-filter .fu-chip-filter-container,:host.fu-removable-filter.closed-icon .fu-chip-filter-container,:host.fu-un-removable-filter .fu-chip-filter-container,.font-bodySmallStrong{font-size:13px;letter-spacing:.24px}.font-bodyXSmall,.font-bodyXSmallStrong{font-size:12px;letter-spacing:.24px}.font-caption{font-size:11px}:host.fu-chip-filter .fu-chip-filter-container,:host.fu-add-filter .fu-chip-filter-container,:host.fu-removable-filter.closed-icon .fu-chip-filter-container,:host.fu-un-removable-filter .fu-chip-filter-container{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;padding:4px 16px;width:-moz-fit-content;width:fit-content;height:32px;font-weight:500;line-height:15.87px;letter-spacing:.24px;border-radius:100px;border:none;gap:4px;background-color:var(--fu-primary-100, #E2EEFF);color:var(--fu-primary-500, #3083FF)}:host.fu-removable-filter.closed-icon.fu-disabled .fu-chip-filter-container,:host.fu-un-removable-filter.fu-disabled .fu-chip-filter-container{background-color:var(--fu-primary-100, #E2EEFF);color:var(--fu-primary-500, #3083FF);opacity:.7;pointer-events:none}:host.fu-removable-filter.closed-icon.fu-disabled .fu-chip-filter-container .fu-icon-close,:host.fu-un-removable-filter.fu-disabled .fu-chip-filter-container .fu-icon-close{display:none}:host{box-sizing:border-box;display:inline-block;position:relative}:host .fu-chip-filter-container fusion-icon[class^=fu-chip-left-icon]{width:16px;height:16px}:host .fu-chip-filter-container fusion-icon[class^=fu-chip-left-icon] ::ng-deep svg{width:16px;height:16px}:host .fu-chip-filter-container fusion-icon[class^=fu-chip-left-icon] ::ng-deep svg *{fill:var(--fu-black-500, #53575B)}:host .fu-chip-filter-container fusion-icon[class^=fu-chip-right-icon]{width:16px;height:16px}:host .fu-chip-filter-container fusion-icon[class^=fu-chip-right-icon] ::ng-deep svg{width:16px;height:16px}:host .fu-chip-filter-container fusion-icon[class^=fu-chip-right-icon] ::ng-deep svg *{fill:var(--fu-black-500, #53575B)}:host.fu-selected .fu-chip-filter-container fusion-icon[class^=fu-chip-left-icon] ::ng-deep svg{width:16px;height:16px}:host.fu-selected .fu-chip-filter-container fusion-icon[class^=fu-chip-left-icon] ::ng-deep svg *{fill:var(--fu-primary-500, #3083FF)}:host.fu-selected .fu-chip-filter-container fusion-icon[class^=fu-chip-right-icon] ::ng-deep svg{width:16px;height:16px}:host.fu-selected .fu-chip-filter-container fusion-icon[class^=fu-chip-right-icon] ::ng-deep svg *{fill:var(--fu-primary-300, #96C0FF)}:host.fu-un-removable-filter .fu-chip-filter-container{padding:4px 16px}:host.fu-un-removable-filter .fu-chip-filter-container:hover{background-color:var(--fu-primary-200, #C9DFFF);cursor:pointer}:host.fu-un-removable-filter .fu-chip-filter-container .fu-chip-content-wrapper.truncate{white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis}:host.fu-un-removable-filter .fu-chip-filter-container .fu-icon-close{display:none}:host.fu-un-removable-filter.fu-disabled{pointer-events:none}:host.fu-removable-filter.closed-icon .fu-chip-filter-container{padding:4px 8px 4px 16px}:host.fu-removable-filter.closed-icon .fu-chip-filter-container fusion-icon.fu-icon-close:hover{color:var(--fu-primary-400, #68A5FF);cursor:pointer}:host.fu-removable-filter.closed-icon .fu-chip-filter-container:hover{background-color:var(--fu-primary-200, #C9DFFF);cursor:pointer}:host.fu-removable-filter.closed-icon .fu-chip-filter-container .fu-chip-content-wrapper.truncate{white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis}:host.fu-removable-filter.closed-icon .fu-chip-filter-container fusion-icon.fu-icon-close{color:var(--fu-primary-300, #96C0FF);margin-left:auto;width:16px;height:16px}:host.fu-removable-filter.closed-icon .fu-chip-filter-container fusion-icon.fu-icon-close:hover{color:var(--fu-primary-500, #3083FF);cursor:pointer}:host.fu-removable-filter.closed-icon.fu-disabled{pointer-events:none}:host.fu-add-filter .fu-chip-filter-container{background-color:var(--fu-light-200, #EDEFF0);padding:4px 16px 4px 12px;color:var(--fu-black-500, #53575B)}:host.fu-add-filter .fu-chip-filter-container fu-chip-content-wrapper.truncate{white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis}:host.fu-add-filter .fu-chip-filter-container .fu-icon-close{display:none}:host.fu-add-filter .fu-chip-filter-container:hover{color:var(--fu-black-500, #53575B);background-color:var(--fu-light-300, #E5E7E9);cursor:pointer}:host.fu-add-filter.fu-disabled{pointer-events:none}:host.fu-add-filter.fu-disabled .fu-chip-filter-container{color:var(--fu-black-500, #53575B);opacity:.7}:host.fu-chip-filter .fu-chip-filter-container{border:1px solid var(--fu-light-400, #DDDFE1);background-color:var(--fu-white, #ffffff);color:var(--fu-black-500, #53575B);cursor:pointer;padding:3px 16px}:host.fu-chip-filter .fu-chip-filter-container .fu-chip-content-wrapper.truncate{white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis}:host.fu-chip-filter .fu-chip-filter-container .fu-icon-close{display:none}:host.fu-chip-filter .fu-chip-filter-container:hover{border-color:var(--fu-light-700, #A9AFB4)}:host.fu-chip-filter.fu-disabled{pointer-events:none}:host.fu-chip-filter.fu-disabled .fu-chip-filter-container{background-color:var(--fu-white, #ffffff);color:var(--fu-black-500, #53575B);opacity:.7;border-color:var(--fu-light-400, #DDDFE1)}\n"] }]
    }], null, null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ChipFilterComponent, { className: "ChipFilterComponent", filePath: "chip-filter.component.ts", lineNumber: 10 }); })();

class ChipFilterModule {
    static { this.ɵfac = function ChipFilterModule_Factory(t) { return new (t || ChipFilterModule)(); }; }
    static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ChipFilterModule }); }
    static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, IconModule, FlagModule, TooltipModule] }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ChipFilterModule, [{
        type: NgModule,
        args: [{
                declarations: [ChipFilterComponent],
                exports: [ChipFilterComponent],
                imports: [CommonModule, IconModule, FlagModule, TooltipModule, GenericPipe]
            }]
    }], null, null); })();
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ChipFilterModule, { declarations: [ChipFilterComponent], imports: [CommonModule, IconModule, FlagModule, TooltipModule, GenericPipe], exports: [ChipFilterComponent] }); })();

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

export { ChipFilterComponent, ChipFilterModule };
//# sourceMappingURL=ironsource-fusion-ui-components-chip-filter-v3.mjs.map
