import { Component, Input, HostListener } from '@angular/core';
import { SimpoElementsModule } from './../../elements/index';
import { CommonModule } from '@angular/common';
import { SimpoComponentModule } from '../../components/index';
import { MatGridListModule } from '@angular/material/grid-list';
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 { simpoConetenAlignmentDirective } from '../../directive/content-alignment-directive';
import { HoverDirective } from '../../directive/hover-element-directive';
import { OverlayDirective } from '../../directive/overlay-directive';
import { PositionLayoutDirectiveDirective } from '../../directive/position-layout-directive.directive';
import BaseSection from '../BaseSection';
import { SimpoContainerAligment } from '../../directive/container-alignment.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 { SpacingAroundDirective } from '../../directive/spacing-around.directive';
import { CornerDirective } from '../../directive/corner-directive';
import * as i0 from "@angular/core";
import * as i1 from "./../../services/events.service";
import * as i2 from "../../elements/svg-divider/svg-divider.component";
import * as i3 from "@angular/common";
import * as i4 from "../../components/hover-elements/hover-elements.component";
import * as i5 from "../../components/delete-hover-element/delete-hover-element.component";
export class FeatureExperienceSectionComponent extends BaseSection {
    constructor(_eventService) {
        super();
        this._eventService = _eventService;
        this.hoveredIndex = null;
        this.deviceWidth = 0;
        this.screenWidth = 0;
        this.getScreenSize();
    }
    getScreenSize(event) {
        if (typeof window !== 'undefined') {
            this.deviceWidth = window.innerWidth;
        }
    }
    ngOnInit() {
        this.deleteSelected = this.delete;
        this.content = this.data?.content;
        this.styles = this.data?.styles;
        if (!this.styles || !this.content)
            return;
        // this.styles.layout.bannerImageDisplay = this.content.image.showImage;
    }
    get stylesLayout() {
        return { ...this.styles?.layout };
    }
    get getJustifyContent() {
        return "justify-content: center !important;";
    }
    editSection() {
        if (window.innerWidth <= 475)
            return;
        this._eventService.toggleEditorEvent.emit(false);
        setTimeout(() => {
            this._eventService.editSection.emit({ data: this.data });
        }, 100);
    }
    getLength() {
        return this.content?.listItem?.data?.length ?? 0;
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FeatureExperienceSectionComponent, deps: [{ token: i1.EventsService }], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FeatureExperienceSectionComponent, isStandalone: true, selector: "simpo-feature-experience-section", inputs: { data: "data", index: "index", edit: "edit", delete: "delete", customClass: "customClass", nextComponentColor: "nextComponentColor" }, host: { listeners: { "window:resize": "getScreenSize($event)" } }, usesInheritance: true, ngImport: i0, template: "<div [id]=\"data?.id\" simpoHover (hovering)=\"showEditTabs($event)\" class=\"total-container\" [attr.style]=\"customClass\">\r\n    <div [id]=\"data?.id\" [spacingAround]=\"stylesLayout\">\r\n        <div class=\"col-xxl-8  py-5 w-100\" [id]=\"data?.id\" #mainContainer [simpoBorder]=\"styles?.border\"\r\n            [spacingHorizontal]=\"stylesLayout\" [simpoBackground]=\"styles?.background\" [simpoCorner]=\"styles?.corners\">\r\n            <div class=\"row g-5\" [id]=\"data?.id\" [simpoAnimation]=\"styles?.animation\" [simpoLayout]=\"styles?.layout\"\r\n                [simpoPositionLayoutDirective]=\"styles?.positionLayout\"\r\n                [ngClass]=\"{ 'reverse-on-desktop': styles?.positionLayout?.value === 'right' }\"\r\n                [simpoOverlay]=\"styles?.background\">\r\n\r\n                <!-- \u2500\u2500 Left sticky panel \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\r\n                <div class=\"left-panel\" [simpoContainerAlignment]=\"stylesLayout\" *ngIf=\"content?.image?.showImage\">\r\n                    <div class=\"left-content-inner\">\r\n                        <div *ngFor=\"let item of content?.inputText; let i = index\">\r\n                            <simpo-text-editor [(value)]=\"item.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"i\" [isRTE]=\"item.isRTE\"></simpo-text-editor>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n\r\n                <!-- \u2500\u2500 Right cards list \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\r\n                <div class=\"right-panel-wrap\" [simpoContainerAlignment]=\"stylesLayout\" [id]=\"data?.id\"\r\n                    [simpoContentAlignment]=\"styles?.contentAlignment\" [class.full-width]=\"!content?.image?.showImage\">\r\n\r\n                    <!-- STYLE 1 \u2500 numbered list with optional hover image -->\r\n                    <ng-container *ngIf=\"styles?.processSectionDisplayStyle == 'STYLE1'\">\r\n                        <div *ngFor=\"let item of content?.listItem?.data; let i = index; let last = last\"\r\n                            class=\"fe-card\" [class.fe-card--active]=\"hoveredIndex === i\" (mouseenter)=\"hoveredIndex = i\"\r\n                            (mouseleave)=\"hoveredIndex = null\">\r\n\r\n                            <!-- Number -->\r\n                            <span class=\"fe-card__num\">{{ (i + 1) | number:'2.0' }}</span>\r\n\r\n                            <!-- Text -->\r\n                            <div class=\"fe-card__body\">\r\n                                <!-- <div class=\"fe-card__title\">\r\n                                    <simpo-text-editor [(value)]=\"item.inputText[0].value\"\r\n                                        [editable]=\"edit || false\"></simpo-text-editor>\r\n                                </div> -->\r\n                                <div class=\"fe-card__desc\">\r\n                                    <simpo-text-editor [(value)]=\"item.inputText[1].value\"\r\n                                        [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"1\" [itemIndex]=\"i\" [isRTE]=\"item.inputText[1]?.isRTE\"></simpo-text-editor>\r\n                                    <simpo-text-editor [(value)]=\"item.inputText[2].value\"\r\n                                        [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"2\" [itemIndex]=\"i\" [isRTE]=\"item.inputText[2]?.isRTE\"></simpo-text-editor>\r\n                                </div>\r\n                            </div>\r\n\r\n                            <!-- Arrow + hover image -->\r\n                            <div class=\"fe-card__side\">\r\n                                <span class=\"fe-card__arrow\">&#x2192;</span>\r\n                                <div class=\"fe-card__img-wrap\"\r\n                                    [class.fe-card__img-wrap--show]=\"hoveredIndex === i && !!item.image?.url\">\r\n                                    <img *ngIf=\"item.image?.url\" loading=\"lazy\" [src]=\"item.image.url\"\r\n                                        [alt]=\"item.image.altText\" [appImageEditor]=\"edit || false\"\r\n                                        [imageData]=\"item?.image\" [sectionId]=\"data?.id\" [itemIndex]=\"i\" />\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </ng-container>\r\n\r\n                    <!-- STYLE 2 \u2500 numbered steps with connector line -->\r\n                    <ng-container *ngIf=\"styles?.processSectionDisplayStyle == 'STYLE2'\">\r\n                        <div *ngFor=\"let item of content?.listItem?.data; let i = index\" class=\"fe-step\">\r\n                            <div class=\"fe-step__track\">\r\n                                <div class=\"fe-step__num\" [ngStyle]=\"{\r\n                                    color: 'transparent',\r\n                                    WebkitTextStroke: '2px ' + styles?.background?.accentColor\r\n                                }\">{{ i + 1 | number:'2.0' }}</div>\r\n                                <div class=\"fe-step__line\" [style.background]=\"styles?.background?.accentColor\"\r\n                                    *ngIf=\"i !== getLength() - 1\"></div>\r\n                            </div>\r\n                            <div class=\"fe-step__content\">\r\n                                <simpo-text-editor [(value)]=\"item.inputText[1].value\"\r\n                                    [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"1\" [itemIndex]=\"i\" [isRTE]=\"item.inputText[1]?.isRTE\"></simpo-text-editor>\r\n                                <simpo-text-editor [(value)]=\"item.inputText[2].value\"\r\n                                    [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"2\" [itemIndex]=\"i\" [isRTE]=\"item.inputText[2]?.isRTE\"></simpo-text-editor>\r\n                            </div>\r\n                        </div>\r\n                    </ng-container>\r\n\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n\r\n    <ng-container *ngIf=\"styles?.devider?.display\">\r\n        <simpo-svg-divider [dividerType]=\"styles?.devider?.deviderType\"\r\n            [color]=\"nextComponentColor?.color\"></simpo-svg-divider>\r\n    </ng-container>\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</div>", styles: [".hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.total-container{position:relative;height:auto}.feature-layout{display:flex;flex-direction:row;align-items:flex-start;gap:48px;padding:40px 24px}.feature-layout.reverse-on-desktop{flex-direction:row-reverse}.left-panel{flex:0 0 40%;max-width:40%;position:sticky;top:90px;align-self:flex-start;z-index:5}.left-content-inner{display:flex;flex-direction:column;gap:12px}.right-panel-wrap{flex:1 1 0;display:flex;flex-direction:column;min-width:0}.right-panel-wrap.full-width{flex:0 0 100%;max-width:100%}.fe-card{display:grid;grid-template-columns:44px 1fr 130px;align-items:stretch;gap:0 20px;padding:28px 0;border-top:1px solid currentColor;opacity:.85;transition:opacity .22s ease,padding-left .22s ease;position:relative;overflow:hidden}.fe-card:last-child{border-bottom:1px solid currentColor}.fe-card__num{font-size:12px;font-weight:600;letter-spacing:.06em;opacity:.45;padding-top:5px}.fe-card__body{display:flex;flex-direction:column;gap:10px;min-width:0;align-self:start}.fe-card__desc{display:flex;flex-direction:column;gap:4px;opacity:.65}.fe-card__side{position:relative;align-self:stretch;min-height:80px;border-radius:8px;overflow:hidden}.fe-card__arrow{position:absolute;top:6px;right:4px;font-size:18px;opacity:.35;transition:opacity .22s ease,transform .22s ease;z-index:2;pointer-events:none}.fe-card__img-wrap{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease;border-radius:8px;overflow:hidden}.fe-card__img-wrap--show{opacity:1;visibility:visible}.fe-card__img-wrap img{width:100%;height:100%;object-fit:cover;border-radius:8px;display:block}@media (min-width: 769px){.fe-card{cursor:pointer}.fe-card--active,.fe-card:hover{opacity:1;padding-left:8px}.fe-card--active .fe-card__arrow,.fe-card:hover .fe-card__arrow{opacity:0}.fe-card--active .fe-card__desc,.fe-card:hover .fe-card__desc{opacity:.85}}.fe-step{display:flex;align-items:stretch;gap:16px;margin-bottom:4px}.fe-step__track{display:flex;flex-direction:column;align-items:center;flex:0 0 auto}.fe-step__num{font-family:Arial Black,sans-serif;font-size:32px;font-weight:900;line-height:1}.fe-step__line{width:3px;flex-grow:1;min-height:20px;margin-top:4px}.fe-step__content{flex:1;display:flex;flex-direction:column;gap:6px;padding-bottom:24px}@media (max-width: 991px){.feature-layout{flex-direction:column!important;gap:24px;padding:32px 20px}.feature-layout.reverse-on-desktop{flex-direction:column!important}.left-panel{flex:none;max-width:100%;width:100%;position:static}.right-panel-wrap{width:100%}.fe-card__img-wrap{display:none}}@media (max-width: 600px){.feature-layout{padding:24px 16px;gap:20px}.fe-card{grid-template-columns:36px 1fr 36px;gap:0 14px;padding:20px 0;padding-left:0!important;opacity:1!important}.fe-card__desc{opacity:.65!important}.fe-card__num{font-size:11px}.fe-card__arrow{font-size:16px}.fe-card__img-wrap{display:none!important}.fe-step__num{font-size:24px}.fe-step{gap:12px}.fe-step__content{padding-bottom:16px}}@media (max-width: 400px){.feature-layout{padding:16px 12px}.fe-card{grid-template-columns:30px 1fr 28px;gap:0 10px}}\n"], dependencies: [{ kind: "ngmodule", type: SimpoElementsModule }, { kind: "component", type: i2.SvgDividerComponent, selector: "simpo-svg-divider", inputs: ["dividerType", "color"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "ngmodule", type: SimpoComponentModule }, { kind: "component", type: i4.HoverElementsComponent, selector: "simpo-hover-elements", inputs: ["data", "index", "editOptions", "isMerged", "isEcommerce"], outputs: ["edit"] }, { kind: "component", type: i5.DeleteHoverElementComponent, selector: "simpo-delete-hover-element", inputs: ["index", "data"], outputs: ["edit"] }, { kind: "component", type: TextEditorComponent, selector: "simpo-text-editor", inputs: ["value", "editable", "isRTE", "sectionId", "label", "type", "inputTextIndex", "itemIndex"], outputs: ["valueChange"] }, { kind: "ngmodule", type: MatGridListModule }, { kind: "directive", type: AnimationDirective, selector: "[simpoAnimation]", inputs: ["simpoAnimation"] }, { kind: "directive", type: SimpoContainerAligment, selector: "[simpoContainerAlignment]", inputs: ["simpoContainerAlignment"] }, { kind: "directive", type: BackgroundDirective, selector: "[simpoBackground]", inputs: ["simpoBackground", "scrollValue"] }, { kind: "directive", type: BorderDirective, selector: "[simpoBorder]", inputs: ["simpoBorder"] }, { kind: "directive", type: simpoConetenAlignmentDirective, selector: "[simpoContentAlignment]", inputs: ["simpoContentAlignment"] }, { kind: "directive", type: ContentFitDirective, selector: "[simpoLayout]", inputs: ["simpoLayout"] }, { kind: "directive", type: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }, { kind: "directive", type: OverlayDirective, selector: "[simpoOverlay]", inputs: ["simpoOverlay"] }, { kind: "directive", type: PositionLayoutDirectiveDirective, selector: "[simpoPositionLayoutDirective]", inputs: ["simpoPositionLayoutDirective"] }, { kind: "directive", type: SpacingHorizontalDirective, selector: "[spacingHorizontal]", inputs: ["spacingHorizontal", "isHeader"] }, { kind: "directive", type: ImageEditorDirective, selector: "[appImageEditor]", inputs: ["appImageEditor", "imageData", "sectionId", "showIcon", "iconData", "itemIndex"] }, { kind: "directive", type: SpacingAroundDirective, selector: "[spacingAround]", inputs: ["spacingAround", "backgroundInfo"] }, { kind: "directive", type: CornerDirective, selector: "[simpoCorner]", inputs: ["simpoCorner"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FeatureExperienceSectionComponent, decorators: [{
            type: Component,
            args: [{ selector: 'simpo-feature-experience-section', standalone: true, imports: [
                        SimpoElementsModule,
                        CommonModule,
                        SimpoComponentModule,
                        TextEditorComponent,
                        MatGridListModule,
                        AnimationDirective,
                        SimpoContainerAligment,
                        BackgroundDirective,
                        BorderDirective,
                        simpoConetenAlignmentDirective,
                        ContentFitDirective,
                        HoverDirective,
                        OverlayDirective,
                        PositionLayoutDirectiveDirective,
                        SpacingHorizontalDirective,
                        ImageEditorDirective,
                        SpacingAroundDirective,
                        CornerDirective
                    ], template: "<div [id]=\"data?.id\" simpoHover (hovering)=\"showEditTabs($event)\" class=\"total-container\" [attr.style]=\"customClass\">\r\n    <div [id]=\"data?.id\" [spacingAround]=\"stylesLayout\">\r\n        <div class=\"col-xxl-8  py-5 w-100\" [id]=\"data?.id\" #mainContainer [simpoBorder]=\"styles?.border\"\r\n            [spacingHorizontal]=\"stylesLayout\" [simpoBackground]=\"styles?.background\" [simpoCorner]=\"styles?.corners\">\r\n            <div class=\"row g-5\" [id]=\"data?.id\" [simpoAnimation]=\"styles?.animation\" [simpoLayout]=\"styles?.layout\"\r\n                [simpoPositionLayoutDirective]=\"styles?.positionLayout\"\r\n                [ngClass]=\"{ 'reverse-on-desktop': styles?.positionLayout?.value === 'right' }\"\r\n                [simpoOverlay]=\"styles?.background\">\r\n\r\n                <!-- \u2500\u2500 Left sticky panel \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\r\n                <div class=\"left-panel\" [simpoContainerAlignment]=\"stylesLayout\" *ngIf=\"content?.image?.showImage\">\r\n                    <div class=\"left-content-inner\">\r\n                        <div *ngFor=\"let item of content?.inputText; let i = index\">\r\n                            <simpo-text-editor [(value)]=\"item.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"i\" [isRTE]=\"item.isRTE\"></simpo-text-editor>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n\r\n                <!-- \u2500\u2500 Right cards list \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\r\n                <div class=\"right-panel-wrap\" [simpoContainerAlignment]=\"stylesLayout\" [id]=\"data?.id\"\r\n                    [simpoContentAlignment]=\"styles?.contentAlignment\" [class.full-width]=\"!content?.image?.showImage\">\r\n\r\n                    <!-- STYLE 1 \u2500 numbered list with optional hover image -->\r\n                    <ng-container *ngIf=\"styles?.processSectionDisplayStyle == 'STYLE1'\">\r\n                        <div *ngFor=\"let item of content?.listItem?.data; let i = index; let last = last\"\r\n                            class=\"fe-card\" [class.fe-card--active]=\"hoveredIndex === i\" (mouseenter)=\"hoveredIndex = i\"\r\n                            (mouseleave)=\"hoveredIndex = null\">\r\n\r\n                            <!-- Number -->\r\n                            <span class=\"fe-card__num\">{{ (i + 1) | number:'2.0' }}</span>\r\n\r\n                            <!-- Text -->\r\n                            <div class=\"fe-card__body\">\r\n                                <!-- <div class=\"fe-card__title\">\r\n                                    <simpo-text-editor [(value)]=\"item.inputText[0].value\"\r\n                                        [editable]=\"edit || false\"></simpo-text-editor>\r\n                                </div> -->\r\n                                <div class=\"fe-card__desc\">\r\n                                    <simpo-text-editor [(value)]=\"item.inputText[1].value\"\r\n                                        [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"1\" [itemIndex]=\"i\" [isRTE]=\"item.inputText[1]?.isRTE\"></simpo-text-editor>\r\n                                    <simpo-text-editor [(value)]=\"item.inputText[2].value\"\r\n                                        [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"2\" [itemIndex]=\"i\" [isRTE]=\"item.inputText[2]?.isRTE\"></simpo-text-editor>\r\n                                </div>\r\n                            </div>\r\n\r\n                            <!-- Arrow + hover image -->\r\n                            <div class=\"fe-card__side\">\r\n                                <span class=\"fe-card__arrow\">&#x2192;</span>\r\n                                <div class=\"fe-card__img-wrap\"\r\n                                    [class.fe-card__img-wrap--show]=\"hoveredIndex === i && !!item.image?.url\">\r\n                                    <img *ngIf=\"item.image?.url\" loading=\"lazy\" [src]=\"item.image.url\"\r\n                                        [alt]=\"item.image.altText\" [appImageEditor]=\"edit || false\"\r\n                                        [imageData]=\"item?.image\" [sectionId]=\"data?.id\" [itemIndex]=\"i\" />\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </ng-container>\r\n\r\n                    <!-- STYLE 2 \u2500 numbered steps with connector line -->\r\n                    <ng-container *ngIf=\"styles?.processSectionDisplayStyle == 'STYLE2'\">\r\n                        <div *ngFor=\"let item of content?.listItem?.data; let i = index\" class=\"fe-step\">\r\n                            <div class=\"fe-step__track\">\r\n                                <div class=\"fe-step__num\" [ngStyle]=\"{\r\n                                    color: 'transparent',\r\n                                    WebkitTextStroke: '2px ' + styles?.background?.accentColor\r\n                                }\">{{ i + 1 | number:'2.0' }}</div>\r\n                                <div class=\"fe-step__line\" [style.background]=\"styles?.background?.accentColor\"\r\n                                    *ngIf=\"i !== getLength() - 1\"></div>\r\n                            </div>\r\n                            <div class=\"fe-step__content\">\r\n                                <simpo-text-editor [(value)]=\"item.inputText[1].value\"\r\n                                    [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"1\" [itemIndex]=\"i\" [isRTE]=\"item.inputText[1]?.isRTE\"></simpo-text-editor>\r\n                                <simpo-text-editor [(value)]=\"item.inputText[2].value\"\r\n                                    [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"2\" [itemIndex]=\"i\" [isRTE]=\"item.inputText[2]?.isRTE\"></simpo-text-editor>\r\n                            </div>\r\n                        </div>\r\n                    </ng-container>\r\n\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n\r\n    <ng-container *ngIf=\"styles?.devider?.display\">\r\n        <simpo-svg-divider [dividerType]=\"styles?.devider?.deviderType\"\r\n            [color]=\"nextComponentColor?.color\"></simpo-svg-divider>\r\n    </ng-container>\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</div>", styles: [".hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.total-container{position:relative;height:auto}.feature-layout{display:flex;flex-direction:row;align-items:flex-start;gap:48px;padding:40px 24px}.feature-layout.reverse-on-desktop{flex-direction:row-reverse}.left-panel{flex:0 0 40%;max-width:40%;position:sticky;top:90px;align-self:flex-start;z-index:5}.left-content-inner{display:flex;flex-direction:column;gap:12px}.right-panel-wrap{flex:1 1 0;display:flex;flex-direction:column;min-width:0}.right-panel-wrap.full-width{flex:0 0 100%;max-width:100%}.fe-card{display:grid;grid-template-columns:44px 1fr 130px;align-items:stretch;gap:0 20px;padding:28px 0;border-top:1px solid currentColor;opacity:.85;transition:opacity .22s ease,padding-left .22s ease;position:relative;overflow:hidden}.fe-card:last-child{border-bottom:1px solid currentColor}.fe-card__num{font-size:12px;font-weight:600;letter-spacing:.06em;opacity:.45;padding-top:5px}.fe-card__body{display:flex;flex-direction:column;gap:10px;min-width:0;align-self:start}.fe-card__desc{display:flex;flex-direction:column;gap:4px;opacity:.65}.fe-card__side{position:relative;align-self:stretch;min-height:80px;border-radius:8px;overflow:hidden}.fe-card__arrow{position:absolute;top:6px;right:4px;font-size:18px;opacity:.35;transition:opacity .22s ease,transform .22s ease;z-index:2;pointer-events:none}.fe-card__img-wrap{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease;border-radius:8px;overflow:hidden}.fe-card__img-wrap--show{opacity:1;visibility:visible}.fe-card__img-wrap img{width:100%;height:100%;object-fit:cover;border-radius:8px;display:block}@media (min-width: 769px){.fe-card{cursor:pointer}.fe-card--active,.fe-card:hover{opacity:1;padding-left:8px}.fe-card--active .fe-card__arrow,.fe-card:hover .fe-card__arrow{opacity:0}.fe-card--active .fe-card__desc,.fe-card:hover .fe-card__desc{opacity:.85}}.fe-step{display:flex;align-items:stretch;gap:16px;margin-bottom:4px}.fe-step__track{display:flex;flex-direction:column;align-items:center;flex:0 0 auto}.fe-step__num{font-family:Arial Black,sans-serif;font-size:32px;font-weight:900;line-height:1}.fe-step__line{width:3px;flex-grow:1;min-height:20px;margin-top:4px}.fe-step__content{flex:1;display:flex;flex-direction:column;gap:6px;padding-bottom:24px}@media (max-width: 991px){.feature-layout{flex-direction:column!important;gap:24px;padding:32px 20px}.feature-layout.reverse-on-desktop{flex-direction:column!important}.left-panel{flex:none;max-width:100%;width:100%;position:static}.right-panel-wrap{width:100%}.fe-card__img-wrap{display:none}}@media (max-width: 600px){.feature-layout{padding:24px 16px;gap:20px}.fe-card{grid-template-columns:36px 1fr 36px;gap:0 14px;padding:20px 0;padding-left:0!important;opacity:1!important}.fe-card__desc{opacity:.65!important}.fe-card__num{font-size:11px}.fe-card__arrow{font-size:16px}.fe-card__img-wrap{display:none!important}.fe-step__num{font-size:24px}.fe-step{gap:12px}.fe-step__content{padding-bottom:16px}}@media (max-width: 400px){.feature-layout{padding:16px 12px}.fe-card{grid-template-columns:30px 1fr 28px;gap:0 10px}}\n"] }]
        }], ctorParameters: () => [{ type: i1.EventsService }], propDecorators: { data: [{
                type: Input
            }], index: [{
                type: Input
            }], edit: [{
                type: Input
            }], delete: [{
                type: Input
            }], customClass: [{
                type: Input
            }], nextComponentColor: [{
                type: Input
            }], getScreenSize: [{
                type: HostListener,
                args: ['window:resize', ['$event']]
            }] } });
//# sourceMappingURL=data:application/json;base64, 