import { Component, HostListener, Input, ViewChild, ViewChildren } from '@angular/core';
import { CommonModule } from '@angular/common';
import { MatIconModule } from '@angular/material/icon';
import { SimpoElementsModule } from '../../elements/index';
import { SimpoComponentModule } from '../../components/index';
import { AnimationDirective } from '../../directive/animation-directive';
import { BackgroundDirective } from '../../directive/background-directive';
import { ContentFitDirective } from '../../directive/content-fit-directive';
import { BorderDirective } from '../../directive/border-directive';
import { CornerDirective } from '../../directive/corner-directive';
import { HoverDirective } from '../../directive/hover-element-directive';
import { OverlayDirective } from '../../directive/overlay-directive';
import BaseSection from '../BaseSection';
import { ContentTitleDirective } from '../../directive/content-title-spacing.directive';
import { TextEditorComponent } from '../../elements/text-editor/text-editor.component';
import { ImageEditorDirective } from '../../directive/image-editor.directive';
import { SpacingHorizontalDirective } from '../../directive/spacing-horizontal.directive';
import * as i0 from "@angular/core";
import * as i1 from "./../../services/events.service";
import * as i2 from "@angular/common";
import * as i3 from "@angular/material/icon";
import * as i4 from "../../elements/svg-divider/svg-divider.component";
import * as i5 from "../../components/hover-elements/hover-elements.component";
import * as i6 from "../../components/delete-hover-element/delete-hover-element.component";
export class TestimonialSliderComponent extends BaseSection {
    constructor(_eventService, renderer) {
        super();
        this._eventService = _eventService;
        this.renderer = renderer;
        this.activeDotIndex = 0;
        this.showLeftArrow = true;
        this.showRightArrow = true;
        this.screenWidth = "";
        this.getScreenSize();
    }
    ngOnInit() {
        this.content = this.data?.content;
        this.style = this.data?.styles;
        this.deleteSelected = this.delete;
    }
    get headingSpace() {
        return this.style?.layout?.headingSpacing;
    }
    get getLayout() {
        return { ...this.style?.layout };
    }
    getScreenSize() {
        this.screenWidth = window.innerWidth;
        this.checkScrollLimits();
    }
    ngAfterViewInit() {
        // Need a timeout to wait for rendering
        setTimeout(() => {
            this.checkScrollLimits();
        }, 100);
    }
    checkScrollLimits() {
        if (!this.sliderViewport)
            return;
        const viewport = this.sliderViewport.nativeElement;
        const scrollLeft = viewport.scrollLeft;
        const width = viewport.clientWidth;
        const totalWidth = viewport.scrollWidth;
        this.showLeftArrow = scrollLeft > 0;
        // adding 5 extra pixels due to rounding edge cases
        this.showRightArrow = Math.ceil(scrollLeft + width) < totalWidth - 5;
    }
    getLength() {
        return this.content?.listItem?.data?.length ?? 0;
    }
    getDotsArray() {
        return Array(this.getLength()).fill(0);
    }
    scrollPrev() {
        const viewport = this.sliderViewport.nativeElement;
        const scrollAmount = viewport.offsetWidth;
        viewport.scrollBy({ left: -scrollAmount, behavior: 'smooth' });
    }
    scrollNext() {
        const viewport = this.sliderViewport.nativeElement;
        const scrollAmount = viewport.offsetWidth;
        viewport.scrollBy({ left: scrollAmount, behavior: 'smooth' });
    }
    scrollToCard(index) {
        const viewport = this.sliderViewport.nativeElement;
        const cards = this.cardItems.toArray();
        if (cards[index]) {
            const cardElement = cards[index].nativeElement;
            const scrollLeft = cardElement.offsetLeft - viewport.offsetLeft;
            viewport.scrollTo({ left: scrollLeft, behavior: 'smooth' });
        }
    }
    onScroll() {
        const viewport = this.sliderViewport.nativeElement;
        const scrollLeft = viewport.scrollLeft;
        const width = viewport.clientWidth;
        // Simple heuristic for active dot
        const index = Math.round(scrollLeft / width);
        if (this.activeDotIndex !== index) {
            this.activeDotIndex = index;
        }
        this.checkScrollLimits();
    }
    editSection() {
        if (window.innerWidth <= 475)
            return;
        this._eventService.toggleEditorEvent.emit(false);
        setTimeout(() => {
            this._eventService.editSection.emit({ data: this.data });
        }, 100);
    }
    get stylesLayout() {
        return { ...this.style?.layout };
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestimonialSliderComponent, deps: [{ token: i1.EventsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: TestimonialSliderComponent, isStandalone: true, selector: "simpo-testimonial-slider", inputs: { data: "data", index: "index", edit: "edit", delete: "delete", customClass: "customClass", nextComponentColor: "nextComponentColor" }, host: { listeners: { "window: resize": "getScreenSize($event)" } }, viewQueries: [{ propertyName: "sliderViewport", first: true, predicate: ["sliderViewport"], descendants: true }, { propertyName: "cardItems", predicate: ["cardItem"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<section [id]=\"data?.id\" simpoHover (hovering)=\"showEditTabs($event)\" class=\"total-container\"\r\n  [attr.style]=\"customClass\">\r\n\r\n  <div #mainContainer [id]=\"data?.id\" [simpoOverlay]=\"style?.background\" [spacingHorizontal]=\"stylesLayout\"\r\n    [class.px-1]=\"screenWidth < 475\" [simpoBackground]=\"style?.background\" [simpoBorder]=\"style?.border\">\r\n\r\n    <div class=\"container-fluid\" [id]=\"data?.id\" [simpoLayout]=\"style?.layout\">\r\n      <!-- Added row and content-side per convention -->\r\n      <div class=\"row content-side w-100\" [id]=\"data?.id\" [simpoAnimation]=\"style?.animation\">\r\n\r\n        <div class=\"header-container\">\r\n          <div *ngFor=\"let text of data?.content?.inputText; let i = index\">\r\n            <div [simpoContentTitleSpace]=\"headingSpace\">\r\n              <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"i\" [isRTE]=\"text.isRTE\"></simpo-text-editor>\r\n            </div>\r\n          </div>\r\n\r\n          <div class=\"nav-arrows\" *ngIf=\"getLength() > 1 && (showLeftArrow || showRightArrow) && screenWidth > 475\">\r\n            <button class=\"nav-arrow\" (click)=\"scrollPrev()\" [style.visibility]=\"showLeftArrow ? 'visible' : 'hidden'\">\r\n              <mat-icon>arrow_back</mat-icon>\r\n            </button>\r\n            <button class=\"nav-arrow\" (click)=\"scrollNext()\" [style.visibility]=\"showRightArrow ? 'visible' : 'hidden'\">\r\n              <mat-icon>arrow_forward</mat-icon>\r\n            </button>\r\n          </div>\r\n        </div>\r\n\r\n        <div class=\"slider-viewport\" [id]=\"data?.id\" #sliderViewport (scroll)=\"onScroll()\">\r\n          <div class=\"testimonial-card size-{{(style?.size || 'Large') | lowercase}}\"\r\n            *ngFor=\"let testimonial of content?.listItem?.data; let i = index\" #cardItem [simpoCorner]=\"style?.corners\">\r\n            <!-- [simpoContainerLayout]=\"style?.layout\" -->\r\n            <div class=\"quote-container\">\r\n              <div class=\"quote-text\">\r\n                <simpo-text-editor [(value)]=\"testimonial.inputText[0].value\"\r\n                  [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [itemIndex]=\"i\" [isRTE]=\"testimonial.inputText[0]?.isRTE\"></simpo-text-editor>\r\n              </div>\r\n            </div>\r\n\r\n            <div class=\"user-info\">\r\n              <div class=\"avatar-circle\" [style.backgroundColor]=\"style?.background?.accentColor\">\r\n                <ng-container *ngIf=\"testimonial?.image?.url; else initials\">\r\n                  <img [src]=\"testimonial.image.url\" alt=\"User Avatar\" [appImageEditor]=\"edit || false\"\r\n                    [imageData]=\"testimonial.image\" [sectionId]=\"data?.id\" [itemIndex]=\"i\">\r\n                  <!-- [simpoContainerLayout]=\"getLayout\" -->\r\n                </ng-container>\r\n                <ng-template #initials>\r\n                  {{ testimonial.inputText[1].value.charAt(0) }}\r\n                </ng-template>\r\n              </div>\r\n\r\n              <div class=\"user-details\">\r\n                <div class=\"user-name\">\r\n                  <simpo-text-editor [(value)]=\"testimonial.inputText[1].value\"\r\n                    [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"1\" [itemIndex]=\"i\" [isRTE]=\"testimonial.inputText[1]?.isRTE\"></simpo-text-editor>\r\n                </div>\r\n                <div class=\"user-role\" *ngIf=\"testimonial.inputText[2]\">\r\n                  <simpo-text-editor [(value)]=\"testimonial.inputText[2].value\"\r\n                    [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"2\" [itemIndex]=\"i\" [isRTE]=\"testimonial.inputText[2]?.isRTE\"></simpo-text-editor>\r\n                </div>\r\n              </div>\r\n            </div>\r\n          </div>\r\n        </div>\r\n\r\n        <div class=\"nav-arrows w-100 align-items-center justify-content-center\" *ngIf=\"getLength() > 1 && (showLeftArrow || showRightArrow) && screenWidth < 475\">\r\n          <button class=\"nav-arrow\" (click)=\"scrollPrev()\" [style.visibility]=\"showLeftArrow ? 'visible' : 'hidden'\">\r\n            <mat-icon>arrow_back</mat-icon>\r\n          </button>\r\n          <button class=\"nav-arrow\" (click)=\"scrollNext()\" [style.visibility]=\"showRightArrow ? 'visible' : 'hidden'\">\r\n            <mat-icon>arrow_forward</mat-icon>\r\n          </button>\r\n        </div>\r\n\r\n      </div>\r\n    </div>\r\n  </div>\r\n\r\n  <ng-container *ngIf=\"style?.devider?.display\">\r\n    <simpo-svg-divider [dividerType]=\"style?.devider?.deviderType\"\r\n      [color]=\"nextComponentColor?.color\"></simpo-svg-divider>\r\n  </ng-container>\r\n\r\n  <div [ngClass]=\"{'hover_effect': edit}\" *ngIf=\"showEditors\">\r\n    <simpo-hover-elements [data]=\"data\" [index]=\"index\" [editOptions]=\"edit\"></simpo-hover-elements>\r\n  </div>\r\n  <div *ngIf=\"showDelete\" [ngClass]=\"{'hover_effect': delete}\">\r\n    <simpo-delete-hover-element [data]=\"data\" [index]=\"index\"></simpo-delete-hover-element>\r\n  </div>\r\n</section>", styles: [".total-container{position:relative}.header-container{display:flex;justify-content:space-between;align-items:center}.heading-large{margin:0}.nav-arrows{display:flex;gap:12px}.nav-arrow{width:48px!important;height:48px!important;border-radius:50%;border:1px solid #ddd;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;color:#555}.nav-arrow:hover{background:#f0f0f0;border-color:#bbb}.nav-arrow mat-icon{font-size:20px;width:20px;height:20px}.slider-viewport{width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;display:flex;gap:24px;padding:20px 40px}.slider-viewport::-webkit-scrollbar{display:none}.testimonial-card{scroll-snap-align:start;background:#fff;border-radius:24px;padding:40px;box-shadow:0 10px 30px #0000000d;display:flex;flex-direction:column;justify-content:space-between;transition:transform .3s ease}.testimonial-card:hover{transform:translateY(-5px)}.quote-text{color:#333;margin-bottom:30px}.user-info{display:flex;align-items:center;gap:16px}.avatar-circle{width:56px;height:56px;border-radius:50%;background-color:#d4b483;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;color:#111;overflow:hidden}.avatar-circle img{width:100%;height:100%;object-fit:cover}.user-details{display:flex;flex-direction:column}@media (min-width: 992px){.testimonial-card.size-large{flex:0 0 52%}.testimonial-card.size-medium{flex:0 0 33.33%}.testimonial-card.size-small{flex:0 0 25%}}@media (max-width: 991px){.testimonial-card{flex:0 0 calc(80% - 12px)}}@media (max-width: 767px){.heading-large{font-size:32px}.testimonial-card{flex:0 0 100%;padding:30px}.header-container{padding:0 20px}.slider-viewport{padding:20px 20px 40px}}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.LowerCasePipe, name: "lowercase" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: SimpoElementsModule }, { kind: "component", type: i4.SvgDividerComponent, selector: "simpo-svg-divider", inputs: ["dividerType", "color"] }, { kind: "ngmodule", type: SimpoComponentModule }, { kind: "component", type: i5.HoverElementsComponent, selector: "simpo-hover-elements", inputs: ["data", "index", "editOptions", "isMerged", "isEcommerce"], outputs: ["edit"] }, { kind: "component", type: i6.DeleteHoverElementComponent, selector: "simpo-delete-hover-element", inputs: ["index", "data"], outputs: ["edit"] }, { kind: "directive", type: 
                //directives
                AnimationDirective, selector: "[simpoAnimation]", inputs: ["simpoAnimation"] }, { kind: "directive", type: BackgroundDirective, selector: "[simpoBackground]", inputs: ["simpoBackground", "scrollValue"] }, { kind: "directive", type: BorderDirective, selector: "[simpoBorder]", inputs: ["simpoBorder"] }, { kind: "directive", type: ContentFitDirective, selector: "[simpoLayout]", inputs: ["simpoLayout"] }, { kind: "directive", type: CornerDirective, selector: "[simpoCorner]", inputs: ["simpoCorner"] }, { kind: "directive", type: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }, { kind: "directive", type: OverlayDirective, selector: "[simpoOverlay]", inputs: ["simpoOverlay"] }, { kind: "directive", type: ContentTitleDirective, selector: "[simpoContentTitleSpace]", inputs: ["simpoContentTitleSpace"] }, { kind: "component", type: TextEditorComponent, selector: "simpo-text-editor", inputs: ["value", "editable", "isRTE", "sectionId", "label", "type", "inputTextIndex", "itemIndex"], outputs: ["valueChange"] }, { kind: "directive", type: ImageEditorDirective, selector: "[appImageEditor]", inputs: ["appImageEditor", "imageData", "sectionId", "showIcon", "iconData", "itemIndex"] }, { kind: "directive", type: SpacingHorizontalDirective, selector: "[spacingHorizontal]", inputs: ["spacingHorizontal", "isHeader"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestimonialSliderComponent, decorators: [{
            type: Component,
            args: [{ selector: 'simpo-testimonial-slider', standalone: true, imports: [
                        CommonModule,
                        MatIconModule,
                        SimpoElementsModule,
                        SimpoComponentModule,
                        //directives
                        AnimationDirective,
                        BackgroundDirective,
                        BorderDirective,
                        ContentFitDirective,
                        CornerDirective,
                        HoverDirective,
                        OverlayDirective,
                        ContentTitleDirective,
                        TextEditorComponent,
                        ImageEditorDirective,
                        SpacingHorizontalDirective,
                    ], template: "<section [id]=\"data?.id\" simpoHover (hovering)=\"showEditTabs($event)\" class=\"total-container\"\r\n  [attr.style]=\"customClass\">\r\n\r\n  <div #mainContainer [id]=\"data?.id\" [simpoOverlay]=\"style?.background\" [spacingHorizontal]=\"stylesLayout\"\r\n    [class.px-1]=\"screenWidth < 475\" [simpoBackground]=\"style?.background\" [simpoBorder]=\"style?.border\">\r\n\r\n    <div class=\"container-fluid\" [id]=\"data?.id\" [simpoLayout]=\"style?.layout\">\r\n      <!-- Added row and content-side per convention -->\r\n      <div class=\"row content-side w-100\" [id]=\"data?.id\" [simpoAnimation]=\"style?.animation\">\r\n\r\n        <div class=\"header-container\">\r\n          <div *ngFor=\"let text of data?.content?.inputText; let i = index\">\r\n            <div [simpoContentTitleSpace]=\"headingSpace\">\r\n              <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"i\" [isRTE]=\"text.isRTE\"></simpo-text-editor>\r\n            </div>\r\n          </div>\r\n\r\n          <div class=\"nav-arrows\" *ngIf=\"getLength() > 1 && (showLeftArrow || showRightArrow) && screenWidth > 475\">\r\n            <button class=\"nav-arrow\" (click)=\"scrollPrev()\" [style.visibility]=\"showLeftArrow ? 'visible' : 'hidden'\">\r\n              <mat-icon>arrow_back</mat-icon>\r\n            </button>\r\n            <button class=\"nav-arrow\" (click)=\"scrollNext()\" [style.visibility]=\"showRightArrow ? 'visible' : 'hidden'\">\r\n              <mat-icon>arrow_forward</mat-icon>\r\n            </button>\r\n          </div>\r\n        </div>\r\n\r\n        <div class=\"slider-viewport\" [id]=\"data?.id\" #sliderViewport (scroll)=\"onScroll()\">\r\n          <div class=\"testimonial-card size-{{(style?.size || 'Large') | lowercase}}\"\r\n            *ngFor=\"let testimonial of content?.listItem?.data; let i = index\" #cardItem [simpoCorner]=\"style?.corners\">\r\n            <!-- [simpoContainerLayout]=\"style?.layout\" -->\r\n            <div class=\"quote-container\">\r\n              <div class=\"quote-text\">\r\n                <simpo-text-editor [(value)]=\"testimonial.inputText[0].value\"\r\n                  [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [itemIndex]=\"i\" [isRTE]=\"testimonial.inputText[0]?.isRTE\"></simpo-text-editor>\r\n              </div>\r\n            </div>\r\n\r\n            <div class=\"user-info\">\r\n              <div class=\"avatar-circle\" [style.backgroundColor]=\"style?.background?.accentColor\">\r\n                <ng-container *ngIf=\"testimonial?.image?.url; else initials\">\r\n                  <img [src]=\"testimonial.image.url\" alt=\"User Avatar\" [appImageEditor]=\"edit || false\"\r\n                    [imageData]=\"testimonial.image\" [sectionId]=\"data?.id\" [itemIndex]=\"i\">\r\n                  <!-- [simpoContainerLayout]=\"getLayout\" -->\r\n                </ng-container>\r\n                <ng-template #initials>\r\n                  {{ testimonial.inputText[1].value.charAt(0) }}\r\n                </ng-template>\r\n              </div>\r\n\r\n              <div class=\"user-details\">\r\n                <div class=\"user-name\">\r\n                  <simpo-text-editor [(value)]=\"testimonial.inputText[1].value\"\r\n                    [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"1\" [itemIndex]=\"i\" [isRTE]=\"testimonial.inputText[1]?.isRTE\"></simpo-text-editor>\r\n                </div>\r\n                <div class=\"user-role\" *ngIf=\"testimonial.inputText[2]\">\r\n                  <simpo-text-editor [(value)]=\"testimonial.inputText[2].value\"\r\n                    [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"2\" [itemIndex]=\"i\" [isRTE]=\"testimonial.inputText[2]?.isRTE\"></simpo-text-editor>\r\n                </div>\r\n              </div>\r\n            </div>\r\n          </div>\r\n        </div>\r\n\r\n        <div class=\"nav-arrows w-100 align-items-center justify-content-center\" *ngIf=\"getLength() > 1 && (showLeftArrow || showRightArrow) && screenWidth < 475\">\r\n          <button class=\"nav-arrow\" (click)=\"scrollPrev()\" [style.visibility]=\"showLeftArrow ? 'visible' : 'hidden'\">\r\n            <mat-icon>arrow_back</mat-icon>\r\n          </button>\r\n          <button class=\"nav-arrow\" (click)=\"scrollNext()\" [style.visibility]=\"showRightArrow ? 'visible' : 'hidden'\">\r\n            <mat-icon>arrow_forward</mat-icon>\r\n          </button>\r\n        </div>\r\n\r\n      </div>\r\n    </div>\r\n  </div>\r\n\r\n  <ng-container *ngIf=\"style?.devider?.display\">\r\n    <simpo-svg-divider [dividerType]=\"style?.devider?.deviderType\"\r\n      [color]=\"nextComponentColor?.color\"></simpo-svg-divider>\r\n  </ng-container>\r\n\r\n  <div [ngClass]=\"{'hover_effect': edit}\" *ngIf=\"showEditors\">\r\n    <simpo-hover-elements [data]=\"data\" [index]=\"index\" [editOptions]=\"edit\"></simpo-hover-elements>\r\n  </div>\r\n  <div *ngIf=\"showDelete\" [ngClass]=\"{'hover_effect': delete}\">\r\n    <simpo-delete-hover-element [data]=\"data\" [index]=\"index\"></simpo-delete-hover-element>\r\n  </div>\r\n</section>", styles: [".total-container{position:relative}.header-container{display:flex;justify-content:space-between;align-items:center}.heading-large{margin:0}.nav-arrows{display:flex;gap:12px}.nav-arrow{width:48px!important;height:48px!important;border-radius:50%;border:1px solid #ddd;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;color:#555}.nav-arrow:hover{background:#f0f0f0;border-color:#bbb}.nav-arrow mat-icon{font-size:20px;width:20px;height:20px}.slider-viewport{width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;display:flex;gap:24px;padding:20px 40px}.slider-viewport::-webkit-scrollbar{display:none}.testimonial-card{scroll-snap-align:start;background:#fff;border-radius:24px;padding:40px;box-shadow:0 10px 30px #0000000d;display:flex;flex-direction:column;justify-content:space-between;transition:transform .3s ease}.testimonial-card:hover{transform:translateY(-5px)}.quote-text{color:#333;margin-bottom:30px}.user-info{display:flex;align-items:center;gap:16px}.avatar-circle{width:56px;height:56px;border-radius:50%;background-color:#d4b483;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;color:#111;overflow:hidden}.avatar-circle img{width:100%;height:100%;object-fit:cover}.user-details{display:flex;flex-direction:column}@media (min-width: 992px){.testimonial-card.size-large{flex:0 0 52%}.testimonial-card.size-medium{flex:0 0 33.33%}.testimonial-card.size-small{flex:0 0 25%}}@media (max-width: 991px){.testimonial-card{flex:0 0 calc(80% - 12px)}}@media (max-width: 767px){.heading-large{font-size:32px}.testimonial-card{flex:0 0 100%;padding:30px}.header-container{padding:0 20px}.slider-viewport{padding:20px 20px 40px}}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}\n"] }]
        }], ctorParameters: () => [{ type: i1.EventsService }, { type: i0.Renderer2 }], propDecorators: { data: [{
                type: Input
            }], index: [{
                type: Input
            }], edit: [{
                type: Input
            }], delete: [{
                type: Input
            }], customClass: [{
                type: Input
            }], nextComponentColor: [{
                type: Input
            }], sliderViewport: [{
                type: ViewChild,
                args: ['sliderViewport']
            }], cardItems: [{
                type: ViewChildren,
                args: ['cardItem']
            }], getScreenSize: [{
                type: HostListener,
                args: ["window: resize", ["$event"]]
            }] } });
//# sourceMappingURL=data:application/json;base64, 