import { Component, Input, HostListener } from '@angular/core';
import BaseSection from '../BaseSection';
import { BackgroundDirective } from '../../directive/background-directive';
import { HoverDirective } from '../../directive/hover-element-directive';
import { HoverElementsComponent } from "../../components/hover-elements/hover-elements.component";
import { DeleteHoverElementComponent } from "../../components/delete-hover-element/delete-hover-element.component";
import { CommonModule } from '@angular/common';
import { OverlayDirective } from '../../directive/overlay-directive';
import { BorderDirective } from '../../directive/border-directive';
import { AnimationDirective } from '../../directive/animation-directive';
import { ContentFitDirective } from '../../directive/content-fit-directive';
import { simpoConetenAlignmentDirective } from '../../directive/content-alignment-directive';
import { ImageDirectiveDirective } from '../../directive/image-directive.directive';
import { ObjectPositionDirective } from '../../directive/image-position.directive';
import { CornerDirective } from '../../directive/corner-directive';
import { SanitizeHtmlPipe } from '../../services/sanitizeHtml';
import { SvgDividerComponent } from '../../elements/svg-divider/svg-divider.component';
import { TextEditorComponent } from '../../elements/text-editor/text-editor.component';
import { ImageEditorDirective } from '../../directive/image-editor.directive';
import { SpacingHorizontalDirective } from '../../directive/spacing-horizontal.directive';
import { PositionLayoutDirectiveDirective } from '../../directive/position-layout-directive.directive';
import * as i0 from "@angular/core";
import * as i1 from "../../services/events.service";
import * as i2 from "@angular/common";
export class FeaturesSectionComponent extends BaseSection {
    constructor(_eventService) {
        super();
        this._eventService = _eventService;
        this.screenWidth = 0;
        this.selectedTabIndex = 0;
        this.getScreenSize();
    }
    ngOnInit() {
        this.content = this.data?.content;
        this.listItems = this.data?.content.listItem.data;
        this.styles = this.data?.styles;
        this.deleteSelected = this.delete;
        this.changetab(0);
    }
    getScreenSize(event) {
        if (typeof window !== 'undefined') {
            this.screenWidth = window.innerWidth;
        }
    }
    get stylesLayout() {
        return { ...this.styles?.layout };
    }
    changetab(index) {
        this.selectedTabIndex = index;
        this.currentData = this.data?.content.listItem.data[this.selectedTabIndex];
    }
    editSection() {
        if (window.innerWidth <= 475)
            return;
        this._eventService.toggleEditorEvent.emit(false);
        setTimeout(() => {
            this._eventService.editSection.emit({ data: this.data });
        }, 100);
    }
    getJustify() {
        if (this.styles?.layout?.align == 'center') {
            return 'center';
        }
        else if (this.styles?.layout?.align == 'left') {
            return 'flex-start';
        }
        else if (this.styles?.layout?.align == 'right') {
            return 'flex-end';
        }
        else {
            return 'center';
        }
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FeaturesSectionComponent, deps: [{ token: i1.EventsService }], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FeaturesSectionComponent, isStandalone: true, selector: "simpo-features-section", inputs: { data: "data", edit: "edit", customClass: "customClass", delete: "delete", index: "index", nextComponentColor: "nextComponentColor" }, host: { listeners: { "window:resize": "getScreenSize($event)" } }, usesInheritance: true, ngImport: i0, template: "<section [id]=\"data?.id\" [simpoBackground]=\"styles?.background\" simpoHover (hovering)=\"showEditTabs($event)\"\r\n  class=\"total-container\" [simpoBorder]=\"styles?.border\" [attr.style]=\"customClass\">\r\n  <div #mainContainer [id]=\"data?.id\" [simpoOverlay]=\"styles?.background\" [spacingHorizontal]=\"stylesLayout\">\r\n    <div class=\"container-fluid d-flex flex-column\" [id]=\"data?.id\" [simpoLayout]=\"styles?.layout\">\r\n      <div class=\"row w-100 p-0\" *ngIf=\"screenWidth > 475\" [id]=\"data?.id\" [simpoAnimation]=\"styles?.animation\">\r\n        <div *ngFor=\"let text of data?.content?.inputText; let i = index\" class=\"mb-2 p-0\">\r\n          <!-- <div class=\"heading-medium mb-1 content-side\" [innerHTML]=\"text.value | sanitizeHtml\"></div> -->\r\n          <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"i\" [isRTE]=\"text.isRTE\"></simpo-text-editor>\r\n\r\n        </div>\r\n        <div class=\"box d-flex g-25 mt-2 w-100 p-0\" [style.--accentColor]=\"styles?.background?.accentColor\"\r\n          [style.justifyContent]=\"getJustify()\">\r\n          <div *ngFor=\"let tab of content?.listItem?.data; let index = index\" [class.cursor-pointer]=\"!edit\">\r\n            <div\r\n              [ngClass]=\"{'tab': styles?.tabStyling == 'UNDERLINE' , 'tab1' : styles?.tabStyling == 'BOXED' , 'tab2' : styles?.tabStyling == 'NONE' }\"\r\n              [ngClass]=\"{'active': index === selectedTabIndex && styles?.tabStyling == 'UNDERLINE' , 'active1' : index === selectedTabIndex && styles?.tabStyling == 'BOXED' , 'active2' : index === selectedTabIndex && styles?.tabStyling == 'NONE' }\"\r\n              [style.borderColor]=\"index === selectedTabIndex ? styles?.background?.accentColor : ''\"\r\n              [style.color]=\"index === selectedTabIndex ? styles?.background?.accentColor : ''\"\r\n              (click)=\"changetab(index)\" class=\"p-2\">\r\n              <!-- {{ tab.inputText[0].value }} -->\r\n              <simpo-text-editor [(value)]=\"tab.inputText[0].value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [itemIndex]=\"index\" [isRTE]=\"tab.inputText[0]?.isRTE\"></simpo-text-editor>\r\n            </div>\r\n          </div>\r\n        </div>\r\n      </div>\r\n      <div class=\"row-container\" *ngIf=\"screenWidth <= 475\" [id]=\"data?.id\" [simpoAnimation]=\"styles?.animation\">\r\n        <div *ngFor=\"let text of data?.content?.inputText; let i = index\">\r\n          <!-- <div class=\"heading-medium mb-1 content-side\" [innerHTML]=\"text.value | sanitizeHtml\"></div> -->\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 class=\" box d-flex g-25 mt-5\">\r\n          <div *ngFor=\"let tab of content?.listItem?.data; let index = index\">\r\n            <div class=\"tab\" [ngClass]=\"{'active': index === selectedTabIndex}\"\r\n              [style.borderColor]=\"index === selectedTabIndex ? styles?.background?.accentColor : ''\"\r\n              [style.color]=\"index === selectedTabIndex ? styles?.background?.accentColor : ''\"\r\n              (click)=\"changetab(index)\">\r\n              <!-- {{ tab.inputText[0].value }} -->\r\n              <simpo-text-editor [(value)]=\"tab.inputText[0].value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [itemIndex]=\"index\" [isRTE]=\"tab.inputText[0]?.isRTE\"></simpo-text-editor>\r\n            </div>\r\n          </div>\r\n        </div>\r\n      </div>\r\n      <div class=\"content d-flex g-15 mt-4 w-100\" *ngIf=\"currentData?.image?.url\" [id]=\"data?.id\"\r\n        [simpoPositionLayoutDirective]=\"styles?.positionLayout\">\r\n        <div class=\"image\">\r\n          <img loading=\"lazy\" [src]=\"currentData?.image?.url\" alt=\"\" [id]=\"data?.id\"\r\n            [simpoImageDirective]=\"styles?.image\" [simpoObjectPosition]=\"currentData?.image?.position\"\r\n            [simpoCorner]=\"styles?.corners\" class=\"d-block mx-lg-auto img-fluid h-100 \"\r\n            [class]=\"data?.id+(currentData?.image?.id || '')\" loading=\"lazy\" [appImageEditor]=\"edit || false\"\r\n            [imageData]=\"currentData?.image\" [sectionId]=\"data?.id\" [itemIndex]=\"selectedTabIndex\">\r\n        </div>\r\n        <div class=\"content-heading\">\r\n          <div class=\"heading-large content-side\">\r\n            <ng-container *ngIf=\"currentData?.inputText?.[1] as textItem\">\r\n              <simpo-text-editor [(value)]=\"textItem.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"1\" [itemIndex]=\"selectedTabIndex\" [isRTE]=\"textItem.isRTE\"></simpo-text-editor>\r\n            </ng-container>\r\n          </div>\r\n          <div class=\"content-description body-large mt-2 content-side\">\r\n            <ng-container *ngIf=\"currentData?.inputText?.[2] as textitem\">\r\n              <simpo-text-editor [(value)]=\"textitem.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"2\" [itemIndex]=\"selectedTabIndex\" [isRTE]=\"textitem.isRTE\"></simpo-text-editor>\r\n            </ng-container>\r\n          </div>\r\n        </div>\r\n      </div>\r\n      <div class=\"content justify-center d-flex g-15 mt-5\" *ngIf=\"!currentData?.image?.url\">\r\n        <div class=\"content-heading text-center\">\r\n          <div class=\"heading-large content-side\" [innerHtml]=\"currentData?.inputText?.[1]?.value\" [id]=\"data?.id\">\r\n          </div>\r\n          <div class=\"content-description body-large mt-1 text-center\" [innerHtml]=\"currentData?.inputText?.[2]?.value\">\r\n          </div>\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\r\n</section>", styles: [".hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.total-container{position:relative;height:auto}.content{gap:3rem}.image{width:40%;flex:1}.image img{width:100%}.content-heading{width:60%;text-align:start}.content-description{width:100%;text-align:start}.active{font-weight:700;border-bottom:2px solid!important;padding-bottom:20px}.active1{font-weight:700;border:2px solid!important;border-radius:32px}.active2{font-weight:700;letter-spacing:.8px;border:unset!important;padding-bottom:20px}.tab{letter-spacing:.8px;border-bottom:2px solid;padding-bottom:20px;cursor:pointer}.tab1{letter-spacing:.8px;border:2px solid;border-radius:32px;cursor:pointer}.tab2{letter-spacing:.8px;border:unset;padding-bottom:20px;cursor:pointer}.cursor-pointer{cursor:pointer}@media only screen and (max-width: 768px){.content{flex-direction:column;padding:0 2rem;width:100%;gap:2rem}.g-25{gap:10px!important}.image{order:-1;width:100%}.image img,.content-heading{width:100%}.box{overflow-x:scroll;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;touch-action:pan-x;width:100%!important;margin:5px 0!important}.box::-webkit-scrollbar{display:flex!important;height:3px}.box::-webkit-scrollbar-thumb{background:var(--accentColor, #d4d4d4)}.row-container{width:100%!important}.tab{letter-spacing:.5px;border-bottom:1px solid;padding-bottom:10px;cursor:pointer}.image{width:100%}}@media screen and (max-width: 475px){.content{padding:0;margin-bottom:30px}}.box::-webkit-scrollbar{display:none!important}.active{border:1px solid black!important;border-radius:15px}.tab{border-bottom:none;padding:5px 7px}.g-25{gap:25px}.mt-1{margin-top:1rem}\n"], dependencies: [{ kind: "directive", type: BackgroundDirective, selector: "[simpoBackground]", inputs: ["simpoBackground", "scrollValue"] }, { kind: "directive", type: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }, { kind: "component", type: HoverElementsComponent, selector: "simpo-hover-elements", inputs: ["data", "index", "editOptions", "isMerged", "isEcommerce"], outputs: ["edit"] }, { kind: "component", type: DeleteHoverElementComponent, selector: "simpo-delete-hover-element", inputs: ["index", "data"], outputs: ["edit"] }, { 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: "directive", type: OverlayDirective, selector: "[simpoOverlay]", inputs: ["simpoOverlay"] }, { kind: "directive", type: BorderDirective, selector: "[simpoBorder]", inputs: ["simpoBorder"] }, { kind: "directive", type: AnimationDirective, selector: "[simpoAnimation]", inputs: ["simpoAnimation"] }, { kind: "directive", type: ContentFitDirective, selector: "[simpoLayout]", inputs: ["simpoLayout"] }, { kind: "directive", type: ImageDirectiveDirective, selector: "[simpoImageDirective]", inputs: ["simpoImageDirective"] }, { kind: "directive", type: ObjectPositionDirective, selector: "[simpoObjectPosition]", inputs: ["simpoObjectPosition"] }, { kind: "directive", type: CornerDirective, selector: "[simpoCorner]", inputs: ["simpoCorner"] }, { kind: "component", type: SvgDividerComponent, selector: "simpo-svg-divider", inputs: ["dividerType", "color"] }, { 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"] }, { kind: "directive", type: PositionLayoutDirectiveDirective, selector: "[simpoPositionLayoutDirective]", inputs: ["simpoPositionLayoutDirective"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FeaturesSectionComponent, decorators: [{
            type: Component,
            args: [{ selector: 'simpo-features-section', standalone: true, imports: [
                        BackgroundDirective,
                        HoverDirective,
                        HoverElementsComponent,
                        DeleteHoverElementComponent,
                        CommonModule,
                        OverlayDirective,
                        BorderDirective,
                        AnimationDirective,
                        ContentFitDirective,
                        simpoConetenAlignmentDirective,
                        ImageDirectiveDirective,
                        ObjectPositionDirective,
                        CornerDirective,
                        SanitizeHtmlPipe, SvgDividerComponent,
                        TextEditorComponent,
                        ImageEditorDirective,
                        SpacingHorizontalDirective,
                        PositionLayoutDirectiveDirective
                    ], template: "<section [id]=\"data?.id\" [simpoBackground]=\"styles?.background\" simpoHover (hovering)=\"showEditTabs($event)\"\r\n  class=\"total-container\" [simpoBorder]=\"styles?.border\" [attr.style]=\"customClass\">\r\n  <div #mainContainer [id]=\"data?.id\" [simpoOverlay]=\"styles?.background\" [spacingHorizontal]=\"stylesLayout\">\r\n    <div class=\"container-fluid d-flex flex-column\" [id]=\"data?.id\" [simpoLayout]=\"styles?.layout\">\r\n      <div class=\"row w-100 p-0\" *ngIf=\"screenWidth > 475\" [id]=\"data?.id\" [simpoAnimation]=\"styles?.animation\">\r\n        <div *ngFor=\"let text of data?.content?.inputText; let i = index\" class=\"mb-2 p-0\">\r\n          <!-- <div class=\"heading-medium mb-1 content-side\" [innerHTML]=\"text.value | sanitizeHtml\"></div> -->\r\n          <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"i\" [isRTE]=\"text.isRTE\"></simpo-text-editor>\r\n\r\n        </div>\r\n        <div class=\"box d-flex g-25 mt-2 w-100 p-0\" [style.--accentColor]=\"styles?.background?.accentColor\"\r\n          [style.justifyContent]=\"getJustify()\">\r\n          <div *ngFor=\"let tab of content?.listItem?.data; let index = index\" [class.cursor-pointer]=\"!edit\">\r\n            <div\r\n              [ngClass]=\"{'tab': styles?.tabStyling == 'UNDERLINE' , 'tab1' : styles?.tabStyling == 'BOXED' , 'tab2' : styles?.tabStyling == 'NONE' }\"\r\n              [ngClass]=\"{'active': index === selectedTabIndex && styles?.tabStyling == 'UNDERLINE' , 'active1' : index === selectedTabIndex && styles?.tabStyling == 'BOXED' , 'active2' : index === selectedTabIndex && styles?.tabStyling == 'NONE' }\"\r\n              [style.borderColor]=\"index === selectedTabIndex ? styles?.background?.accentColor : ''\"\r\n              [style.color]=\"index === selectedTabIndex ? styles?.background?.accentColor : ''\"\r\n              (click)=\"changetab(index)\" class=\"p-2\">\r\n              <!-- {{ tab.inputText[0].value }} -->\r\n              <simpo-text-editor [(value)]=\"tab.inputText[0].value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [itemIndex]=\"index\" [isRTE]=\"tab.inputText[0]?.isRTE\"></simpo-text-editor>\r\n            </div>\r\n          </div>\r\n        </div>\r\n      </div>\r\n      <div class=\"row-container\" *ngIf=\"screenWidth <= 475\" [id]=\"data?.id\" [simpoAnimation]=\"styles?.animation\">\r\n        <div *ngFor=\"let text of data?.content?.inputText; let i = index\">\r\n          <!-- <div class=\"heading-medium mb-1 content-side\" [innerHTML]=\"text.value | sanitizeHtml\"></div> -->\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 class=\" box d-flex g-25 mt-5\">\r\n          <div *ngFor=\"let tab of content?.listItem?.data; let index = index\">\r\n            <div class=\"tab\" [ngClass]=\"{'active': index === selectedTabIndex}\"\r\n              [style.borderColor]=\"index === selectedTabIndex ? styles?.background?.accentColor : ''\"\r\n              [style.color]=\"index === selectedTabIndex ? styles?.background?.accentColor : ''\"\r\n              (click)=\"changetab(index)\">\r\n              <!-- {{ tab.inputText[0].value }} -->\r\n              <simpo-text-editor [(value)]=\"tab.inputText[0].value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [itemIndex]=\"index\" [isRTE]=\"tab.inputText[0]?.isRTE\"></simpo-text-editor>\r\n            </div>\r\n          </div>\r\n        </div>\r\n      </div>\r\n      <div class=\"content d-flex g-15 mt-4 w-100\" *ngIf=\"currentData?.image?.url\" [id]=\"data?.id\"\r\n        [simpoPositionLayoutDirective]=\"styles?.positionLayout\">\r\n        <div class=\"image\">\r\n          <img loading=\"lazy\" [src]=\"currentData?.image?.url\" alt=\"\" [id]=\"data?.id\"\r\n            [simpoImageDirective]=\"styles?.image\" [simpoObjectPosition]=\"currentData?.image?.position\"\r\n            [simpoCorner]=\"styles?.corners\" class=\"d-block mx-lg-auto img-fluid h-100 \"\r\n            [class]=\"data?.id+(currentData?.image?.id || '')\" loading=\"lazy\" [appImageEditor]=\"edit || false\"\r\n            [imageData]=\"currentData?.image\" [sectionId]=\"data?.id\" [itemIndex]=\"selectedTabIndex\">\r\n        </div>\r\n        <div class=\"content-heading\">\r\n          <div class=\"heading-large content-side\">\r\n            <ng-container *ngIf=\"currentData?.inputText?.[1] as textItem\">\r\n              <simpo-text-editor [(value)]=\"textItem.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"1\" [itemIndex]=\"selectedTabIndex\" [isRTE]=\"textItem.isRTE\"></simpo-text-editor>\r\n            </ng-container>\r\n          </div>\r\n          <div class=\"content-description body-large mt-2 content-side\">\r\n            <ng-container *ngIf=\"currentData?.inputText?.[2] as textitem\">\r\n              <simpo-text-editor [(value)]=\"textitem.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"2\" [itemIndex]=\"selectedTabIndex\" [isRTE]=\"textitem.isRTE\"></simpo-text-editor>\r\n            </ng-container>\r\n          </div>\r\n        </div>\r\n      </div>\r\n      <div class=\"content justify-center d-flex g-15 mt-5\" *ngIf=\"!currentData?.image?.url\">\r\n        <div class=\"content-heading text-center\">\r\n          <div class=\"heading-large content-side\" [innerHtml]=\"currentData?.inputText?.[1]?.value\" [id]=\"data?.id\">\r\n          </div>\r\n          <div class=\"content-description body-large mt-1 text-center\" [innerHtml]=\"currentData?.inputText?.[2]?.value\">\r\n          </div>\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\r\n</section>", styles: [".hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.total-container{position:relative;height:auto}.content{gap:3rem}.image{width:40%;flex:1}.image img{width:100%}.content-heading{width:60%;text-align:start}.content-description{width:100%;text-align:start}.active{font-weight:700;border-bottom:2px solid!important;padding-bottom:20px}.active1{font-weight:700;border:2px solid!important;border-radius:32px}.active2{font-weight:700;letter-spacing:.8px;border:unset!important;padding-bottom:20px}.tab{letter-spacing:.8px;border-bottom:2px solid;padding-bottom:20px;cursor:pointer}.tab1{letter-spacing:.8px;border:2px solid;border-radius:32px;cursor:pointer}.tab2{letter-spacing:.8px;border:unset;padding-bottom:20px;cursor:pointer}.cursor-pointer{cursor:pointer}@media only screen and (max-width: 768px){.content{flex-direction:column;padding:0 2rem;width:100%;gap:2rem}.g-25{gap:10px!important}.image{order:-1;width:100%}.image img,.content-heading{width:100%}.box{overflow-x:scroll;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;touch-action:pan-x;width:100%!important;margin:5px 0!important}.box::-webkit-scrollbar{display:flex!important;height:3px}.box::-webkit-scrollbar-thumb{background:var(--accentColor, #d4d4d4)}.row-container{width:100%!important}.tab{letter-spacing:.5px;border-bottom:1px solid;padding-bottom:10px;cursor:pointer}.image{width:100%}}@media screen and (max-width: 475px){.content{padding:0;margin-bottom:30px}}.box::-webkit-scrollbar{display:none!important}.active{border:1px solid black!important;border-radius:15px}.tab{border-bottom:none;padding:5px 7px}.g-25{gap:25px}.mt-1{margin-top:1rem}\n"] }]
        }], ctorParameters: () => [{ type: i1.EventsService }], propDecorators: { data: [{
                type: Input
            }], edit: [{
                type: Input
            }], customClass: [{
                type: Input
            }], delete: [{
                type: Input
            }], index: [{
                type: Input
            }], nextComponentColor: [{
                type: Input
            }], getScreenSize: [{
                type: HostListener,
                args: ['window:resize', ['$event']]
            }] } });
//# sourceMappingURL=data:application/json;base64, 