simpo-component-library 3.6.893 → 3.6.894

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7161,7 +7161,7 @@ class VideoSectionComponent extends BaseSection {
7161
7161
  }, 100);
7162
7162
  }
7163
7163
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: VideoSectionComponent, deps: [{ token: i1.DomSanitizer }, { token: EventsService }], target: i0.ɵɵFactoryTarget.Component }); }
7164
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: VideoSectionComponent, isStandalone: true, selector: "simpo-video-section", inputs: { data: "data", index: "index", edit: "edit", delete: "delete", customClass: "customClass", nextComponentColor: "nextComponentColor" }, viewQueries: [{ propertyName: "_mainContainer", first: true, predicate: ["mainContainer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<section [id]=\"data?.id\" [simpoBackground]=\"style?.background\" simpoHover (hovering)=\"showEditTabs($event)\"\r\n class=\"total-container\" [attr.style]=\"customClass\">\r\n <div #mainContainer [id]=\"data?.id\" [simpoOverlay]=\"style?.background\">\r\n <div class=\"container-fluid main-section\" [id]=\"data?.id\" [simpoBorder]=\"style?.border\"\r\n [simpoLayout]=\"style?.layout\" [spacingHorizontal]=\"stylesLayout\" [ngClass]=\"{'px-0 py-0': style?.fullWidth}\">\r\n <div class=\"row\" [id]=\"data?.id\" [simpoAnimation]=\"style?.animation\">\r\n\r\n <!-- <div *ngFor=\"let text of data?.content?.inputText\" class=\"heading-large content-side\"\r\n [simpoContentTitleSpace]=\"headingSpace\">\r\n <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\"></simpo-text-editor>\r\n </div> -->\r\n\r\n\r\n <div class=\"video-section\" [ngClass]=\"{'h-100 w-100': style?.layout?.fit === 'screen'}\">\r\n <iframe class=\"video\" [ngClass]=\"{\r\n 'vh-60 w-100': style?.layout?.fit === 'content', \r\n 'h-100 w-100': style?.layout?.fit === 'screen'\r\n }\" [src]=\"getVideoUrl(content?.videoLink?.url ?? '')\" frameborder=\"0\" allowfullscreen *ngIf=\"!content?.videoLink?.url?.includes('.mp4')\"></iframe>\r\n <ng-container *ngIf=\"content?.videoLink?.url?.includes('.mp4')\">\r\n <video class=\"video w-100\" [ngClass]=\"{\r\n 'vh-60 w-100': style?.layout?.fit === 'content',\r\n 'h-100 w-100': style?.layout?.fit === 'screen' }\" controls autoplay infinite>\r\n <source [src]=\"content?.videoLink?.url\" type=\"video/mp4\">\r\n </video>\r\n </ng-container>\r\n </div>\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 <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{height:auto;position:relative}.video{width:100%;height:100vh}.main-section{width:100%;height:100%!important;display:block!important}.h-80{width:100%;height:80vh}.mb-1{margin-bottom:1.5rem!important}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}@media screen and (min-width: 760px){.cards{padding-bottom:24px}}\n"], dependencies: [{ kind: "ngmodule", type: SimpoElementsModule }, { kind: "component", type: 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: ContentFitDirective, selector: "[simpoLayout]", inputs: ["simpoLayout"] }, { kind: "ngmodule", type: SimpoComponentModule }, { 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: "directive", type: 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: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }, { kind: "directive", type: OverlayDirective, selector: "[simpoOverlay]", inputs: ["simpoOverlay"] }, { kind: "directive", type: SpacingHorizontalDirective, selector: "[spacingHorizontal]", inputs: ["spacingHorizontal", "isHeader"] }] }); }
7164
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: VideoSectionComponent, isStandalone: true, selector: "simpo-video-section", inputs: { data: "data", index: "index", edit: "edit", delete: "delete", customClass: "customClass", nextComponentColor: "nextComponentColor" }, viewQueries: [{ propertyName: "_mainContainer", first: true, predicate: ["mainContainer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<section [id]=\"data?.id\" [simpoBackground]=\"style?.background\" simpoHover (hovering)=\"showEditTabs($event)\"\r\n class=\"total-container\" [attr.style]=\"customClass\">\r\n <div #mainContainer [id]=\"data?.id\" [simpoOverlay]=\"style?.background\">\r\n <div class=\"container-fluid main-section\" [id]=\"data?.id\" [simpoBorder]=\"style?.border\"\r\n [simpoLayout]=\"style?.layout\" [spacingHorizontal]=\"stylesLayout\" [ngClass]=\"{'px-0 py-0': style?.fullWidth}\">\r\n <div class=\"row\" [id]=\"data?.id\" [simpoAnimation]=\"style?.animation\">\r\n\r\n <!-- <div *ngFor=\"let text of data?.content?.inputText\" class=\"heading-large content-side\"\r\n [simpoContentTitleSpace]=\"headingSpace\">\r\n <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\"></simpo-text-editor>\r\n </div> -->\r\n\r\n\r\n <div class=\"video-section\" [ngClass]=\"{'h-100 w-100': style?.layout?.fit === 'screen'}\">\r\n <iframe class=\"video\" [ngClass]=\"{\r\n 'vh-60 w-100': style?.layout?.fit === 'content', \r\n 'h-100 w-100': style?.layout?.fit === 'screen'\r\n }\" [src]=\"getVideoUrl(content?.videoLink?.url ?? '')\" frameborder=\"0\" allowfullscreen *ngIf=\"!content?.videoLink?.url?.includes('.mp4')\"></iframe>\r\n <ng-container *ngIf=\"content?.videoLink?.url?.includes('.mp4')\">\r\n <video class=\"video w-100\" [ngClass]=\"{\r\n 'vh-60 w-100': style?.layout?.fit === 'content',\r\n 'h-100 w-100': style?.layout?.fit === 'screen' }\" controls autoplay infinite>\r\n <source [src]=\"content?.videoLink?.url\" type=\"video/mp4\">\r\n </video>\r\n </ng-container>\r\n </div>\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 <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{height:auto;position:relative}.video{width:100%;height:100vh}.main-section{width:100%;height:100%!important;display:block!important}.h-80{width:100%;height:80vh}.mb-1{margin-bottom:1.5rem!important}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}@media screen and (min-width: 760px){.cards{padding-bottom:24px}}@media screen and (max-width: 475px){.video{object-fit:cover;aspect-ratio:16/9}}\n"], dependencies: [{ kind: "ngmodule", type: SimpoElementsModule }, { kind: "component", type: 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: ContentFitDirective, selector: "[simpoLayout]", inputs: ["simpoLayout"] }, { kind: "ngmodule", type: SimpoComponentModule }, { 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: "directive", type: 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: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }, { kind: "directive", type: OverlayDirective, selector: "[simpoOverlay]", inputs: ["simpoOverlay"] }, { kind: "directive", type: SpacingHorizontalDirective, selector: "[spacingHorizontal]", inputs: ["spacingHorizontal", "isHeader"] }] }); }
7165
7165
  }
7166
7166
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: VideoSectionComponent, decorators: [{
7167
7167
  type: Component,
@@ -7191,7 +7191,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
7191
7191
  PositionLayoutDirectiveDirective,
7192
7192
  TextBackgroundDirectiveDirective,
7193
7193
  SpacingHorizontalDirective
7194
- ], template: "<section [id]=\"data?.id\" [simpoBackground]=\"style?.background\" simpoHover (hovering)=\"showEditTabs($event)\"\r\n class=\"total-container\" [attr.style]=\"customClass\">\r\n <div #mainContainer [id]=\"data?.id\" [simpoOverlay]=\"style?.background\">\r\n <div class=\"container-fluid main-section\" [id]=\"data?.id\" [simpoBorder]=\"style?.border\"\r\n [simpoLayout]=\"style?.layout\" [spacingHorizontal]=\"stylesLayout\" [ngClass]=\"{'px-0 py-0': style?.fullWidth}\">\r\n <div class=\"row\" [id]=\"data?.id\" [simpoAnimation]=\"style?.animation\">\r\n\r\n <!-- <div *ngFor=\"let text of data?.content?.inputText\" class=\"heading-large content-side\"\r\n [simpoContentTitleSpace]=\"headingSpace\">\r\n <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\"></simpo-text-editor>\r\n </div> -->\r\n\r\n\r\n <div class=\"video-section\" [ngClass]=\"{'h-100 w-100': style?.layout?.fit === 'screen'}\">\r\n <iframe class=\"video\" [ngClass]=\"{\r\n 'vh-60 w-100': style?.layout?.fit === 'content', \r\n 'h-100 w-100': style?.layout?.fit === 'screen'\r\n }\" [src]=\"getVideoUrl(content?.videoLink?.url ?? '')\" frameborder=\"0\" allowfullscreen *ngIf=\"!content?.videoLink?.url?.includes('.mp4')\"></iframe>\r\n <ng-container *ngIf=\"content?.videoLink?.url?.includes('.mp4')\">\r\n <video class=\"video w-100\" [ngClass]=\"{\r\n 'vh-60 w-100': style?.layout?.fit === 'content',\r\n 'h-100 w-100': style?.layout?.fit === 'screen' }\" controls autoplay infinite>\r\n <source [src]=\"content?.videoLink?.url\" type=\"video/mp4\">\r\n </video>\r\n </ng-container>\r\n </div>\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 <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{height:auto;position:relative}.video{width:100%;height:100vh}.main-section{width:100%;height:100%!important;display:block!important}.h-80{width:100%;height:80vh}.mb-1{margin-bottom:1.5rem!important}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}@media screen and (min-width: 760px){.cards{padding-bottom:24px}}\n"] }]
7194
+ ], template: "<section [id]=\"data?.id\" [simpoBackground]=\"style?.background\" simpoHover (hovering)=\"showEditTabs($event)\"\r\n class=\"total-container\" [attr.style]=\"customClass\">\r\n <div #mainContainer [id]=\"data?.id\" [simpoOverlay]=\"style?.background\">\r\n <div class=\"container-fluid main-section\" [id]=\"data?.id\" [simpoBorder]=\"style?.border\"\r\n [simpoLayout]=\"style?.layout\" [spacingHorizontal]=\"stylesLayout\" [ngClass]=\"{'px-0 py-0': style?.fullWidth}\">\r\n <div class=\"row\" [id]=\"data?.id\" [simpoAnimation]=\"style?.animation\">\r\n\r\n <!-- <div *ngFor=\"let text of data?.content?.inputText\" class=\"heading-large content-side\"\r\n [simpoContentTitleSpace]=\"headingSpace\">\r\n <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\"></simpo-text-editor>\r\n </div> -->\r\n\r\n\r\n <div class=\"video-section\" [ngClass]=\"{'h-100 w-100': style?.layout?.fit === 'screen'}\">\r\n <iframe class=\"video\" [ngClass]=\"{\r\n 'vh-60 w-100': style?.layout?.fit === 'content', \r\n 'h-100 w-100': style?.layout?.fit === 'screen'\r\n }\" [src]=\"getVideoUrl(content?.videoLink?.url ?? '')\" frameborder=\"0\" allowfullscreen *ngIf=\"!content?.videoLink?.url?.includes('.mp4')\"></iframe>\r\n <ng-container *ngIf=\"content?.videoLink?.url?.includes('.mp4')\">\r\n <video class=\"video w-100\" [ngClass]=\"{\r\n 'vh-60 w-100': style?.layout?.fit === 'content',\r\n 'h-100 w-100': style?.layout?.fit === 'screen' }\" controls autoplay infinite>\r\n <source [src]=\"content?.videoLink?.url\" type=\"video/mp4\">\r\n </video>\r\n </ng-container>\r\n </div>\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 <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{height:auto;position:relative}.video{width:100%;height:100vh}.main-section{width:100%;height:100%!important;display:block!important}.h-80{width:100%;height:80vh}.mb-1{margin-bottom:1.5rem!important}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}@media screen and (min-width: 760px){.cards{padding-bottom:24px}}@media screen and (max-width: 475px){.video{object-fit:cover;aspect-ratio:16/9}}\n"] }]
7195
7195
  }], ctorParameters: () => [{ type: i1.DomSanitizer }, { type: EventsService }], propDecorators: { data: [{
7196
7196
  type: Input
7197
7197
  }], index: [{
@@ -17932,7 +17932,7 @@ class MovingTextComponent extends BaseSection {
17932
17932
  return "#ffffff";
17933
17933
  }
17934
17934
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MovingTextComponent, deps: [{ token: EventsService }], target: i0.ɵɵFactoryTarget.Component }); }
17935
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: MovingTextComponent, isStandalone: true, selector: "simpo-moving-text", inputs: { data: "data", edit: "edit", delete: "delete", customClass: "customClass", index: "index" }, usesInheritance: true, ngImport: i0, template: "<section class=\"main-container\" simpoHover (hovering)=\"showEditTabs($event)\" [id]=\"data?.id\" [attr.style]=\"customClass\">\r\n <div class=\"slider-wrapper px-2 py-2 d-flex align-items-center justify-content-between\"\r\n [style.background]=\"data?.styles?.headline?.color\">\r\n \r\n <!-- Infinite Scroll Animation -->\r\n <div class=\"slider-track w-100 d-flex justify-content-between align-items-center\"\r\n *ngIf=\"data?.styles?.headline?.headlineAnimationType == 'InfiniteScroll'\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data; let i = index\">\r\n <div class=\"sliding-text text-nowrap\" [style.color]=\"getTextColor(data?.styles?.headline?.color)\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </div>\r\n \r\n <!-- Soft Transition Animation -->\r\n <div *ngIf=\"data?.styles?.headline?.headlineAnimationType == 'SoftTransition'\" class=\"list-container\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data; let i = index\">\r\n <div class=\"list-item text-nowrap\" \r\n [ngClass]=\"getItemClass(i)\"\r\n [class.visible]=\"isItemVisible(i)\"\r\n [style.color]=\"getTextColor(data?.styles?.headline?.color)\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n <!-- No Effect -->\r\n <ng-container *ngIf=\"data?.styles?.headline?.headlineAnimationType == 'NoEffect'\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data\">\r\n <div class=\"d-flex align-items-center justify-content-center w-100 text-nowrap\" \r\n [style.color]=\"getTextColor(data?.styles?.headline?.color)\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n\r\n <!-- Existing hover elements -->\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: [".main-container{position:relative;height:auto}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.slider-wrapper{position:relative;overflow:hidden}.slider-track{display:flex;gap:2rem;height:20px;width:max-content;animation:scrollLeft 30s linear infinite;animation-play-state:running;will-change:transform}.slider-track:hover{animation-play-state:paused}.sliding-text{flex-shrink:0;white-space:nowrap;padding:0 1rem;position:relative}@keyframes scrollLeft{0%{transform:translate(100%)}to{transform:translate(-100%)}}.list-container{position:relative;width:100%;height:20px;overflow:hidden;display:flex;align-items:center;justify-content:center}.list-item{position:absolute;width:100%;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .8s ease,transform .8s ease;text-align:center}.list-item.active{opacity:1;visibility:visible}.fade-in-left{animation:fadeInLeft .8s forwards}.fade-out-left{animation:fadeOutLeft .8s forwards}.fade-in-right{animation:fadeInRight .8s forwards}.fade-out-right{animation:fadeOutRight .8s forwards}@keyframes fadeInLeft{0%{opacity:0;transform:translate(-100px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOutLeft{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-100px)}}@keyframes fadeInRight{0%{opacity:0;transform:translate(100px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOutRight{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100px)}}\n"], dependencies: [{ 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: "ngmodule", type: SimpoElementsModule }, { kind: "ngmodule", type: SimpoComponentModule }, { 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: "directive", type: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }] }); }
17935
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: MovingTextComponent, isStandalone: true, selector: "simpo-moving-text", inputs: { data: "data", edit: "edit", delete: "delete", customClass: "customClass", index: "index" }, usesInheritance: true, ngImport: i0, template: "<section class=\"main-container\" simpoHover (hovering)=\"showEditTabs($event)\" [id]=\"data?.id\" [attr.style]=\"customClass\">\r\n <div class=\"slider-wrapper px-2 py-2 d-flex align-items-center justify-content-between\"\r\n [style.background]=\"data?.styles?.headline?.color ? data?.styles?.headline?.color : data?.styles?.background?.color\">\r\n <!-- Infinite Scroll Animation -->\r\n <div class=\"slider-track w-100 d-flex justify-content-between align-items-center\"\r\n *ngIf=\"data?.styles?.headline?.headlineAnimationType == 'InfiniteScroll'\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data; let i = index\">\r\n <div class=\"sliding-text text-nowrap\" [style.color]=\"getTextColor(data?.styles?.headline?.color)\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </div>\r\n \r\n <!-- Soft Transition Animation -->\r\n <div *ngIf=\"data?.styles?.headline?.headlineAnimationType == 'SoftTransition'\" class=\"list-container\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data; let i = index\">\r\n <div class=\"list-item text-nowrap\" \r\n [ngClass]=\"getItemClass(i)\"\r\n [class.visible]=\"isItemVisible(i)\"\r\n [style.color]=\"getTextColor(data?.styles?.headline?.color)\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n <!-- No Effect -->\r\n <ng-container *ngIf=\"data?.styles?.headline?.headlineAnimationType == 'NoEffect'\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data\">\r\n <div class=\"d-flex align-items-center justify-content-center w-100 text-nowrap\" \r\n [style.color]=\"getTextColor(data?.styles?.headline?.color)\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n\r\n <!-- Existing hover elements -->\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: [".main-container{position:relative;height:auto}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.slider-wrapper{position:relative;overflow:hidden}.slider-track{display:flex;gap:2rem;height:20px;width:max-content;animation:scrollLeft 30s linear infinite;animation-play-state:running;will-change:transform}.slider-track:hover{animation-play-state:paused}.sliding-text{flex-shrink:0;white-space:nowrap;padding:0 1rem;position:relative}@keyframes scrollLeft{0%{transform:translate(100%)}to{transform:translate(-100%)}}.list-container{position:relative;width:100%;height:20px;overflow:hidden;display:flex;align-items:center;justify-content:center}.list-item{position:absolute;width:100%;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .8s ease,transform .8s ease;text-align:center}.list-item.active{opacity:1;visibility:visible}.fade-in-left{animation:fadeInLeft .8s forwards}.fade-out-left{animation:fadeOutLeft .8s forwards}.fade-in-right{animation:fadeInRight .8s forwards}.fade-out-right{animation:fadeOutRight .8s forwards}@keyframes fadeInLeft{0%{opacity:0;transform:translate(-100px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOutLeft{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-100px)}}@keyframes fadeInRight{0%{opacity:0;transform:translate(100px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOutRight{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100px)}}\n"], dependencies: [{ 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: "ngmodule", type: SimpoElementsModule }, { kind: "ngmodule", type: SimpoComponentModule }, { 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: "directive", type: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }] }); }
17936
17936
  }
17937
17937
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MovingTextComponent, decorators: [{
17938
17938
  type: Component,
@@ -17944,7 +17944,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
17944
17944
  SimpoHoverBorderDirective,
17945
17945
  HoverDirective,
17946
17946
  TextBackgroundDirectiveDirective,
17947
- ], template: "<section class=\"main-container\" simpoHover (hovering)=\"showEditTabs($event)\" [id]=\"data?.id\" [attr.style]=\"customClass\">\r\n <div class=\"slider-wrapper px-2 py-2 d-flex align-items-center justify-content-between\"\r\n [style.background]=\"data?.styles?.headline?.color\">\r\n \r\n <!-- Infinite Scroll Animation -->\r\n <div class=\"slider-track w-100 d-flex justify-content-between align-items-center\"\r\n *ngIf=\"data?.styles?.headline?.headlineAnimationType == 'InfiniteScroll'\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data; let i = index\">\r\n <div class=\"sliding-text text-nowrap\" [style.color]=\"getTextColor(data?.styles?.headline?.color)\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </div>\r\n \r\n <!-- Soft Transition Animation -->\r\n <div *ngIf=\"data?.styles?.headline?.headlineAnimationType == 'SoftTransition'\" class=\"list-container\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data; let i = index\">\r\n <div class=\"list-item text-nowrap\" \r\n [ngClass]=\"getItemClass(i)\"\r\n [class.visible]=\"isItemVisible(i)\"\r\n [style.color]=\"getTextColor(data?.styles?.headline?.color)\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n <!-- No Effect -->\r\n <ng-container *ngIf=\"data?.styles?.headline?.headlineAnimationType == 'NoEffect'\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data\">\r\n <div class=\"d-flex align-items-center justify-content-center w-100 text-nowrap\" \r\n [style.color]=\"getTextColor(data?.styles?.headline?.color)\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n\r\n <!-- Existing hover elements -->\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: [".main-container{position:relative;height:auto}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.slider-wrapper{position:relative;overflow:hidden}.slider-track{display:flex;gap:2rem;height:20px;width:max-content;animation:scrollLeft 30s linear infinite;animation-play-state:running;will-change:transform}.slider-track:hover{animation-play-state:paused}.sliding-text{flex-shrink:0;white-space:nowrap;padding:0 1rem;position:relative}@keyframes scrollLeft{0%{transform:translate(100%)}to{transform:translate(-100%)}}.list-container{position:relative;width:100%;height:20px;overflow:hidden;display:flex;align-items:center;justify-content:center}.list-item{position:absolute;width:100%;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .8s ease,transform .8s ease;text-align:center}.list-item.active{opacity:1;visibility:visible}.fade-in-left{animation:fadeInLeft .8s forwards}.fade-out-left{animation:fadeOutLeft .8s forwards}.fade-in-right{animation:fadeInRight .8s forwards}.fade-out-right{animation:fadeOutRight .8s forwards}@keyframes fadeInLeft{0%{opacity:0;transform:translate(-100px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOutLeft{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-100px)}}@keyframes fadeInRight{0%{opacity:0;transform:translate(100px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOutRight{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100px)}}\n"] }]
17947
+ ], template: "<section class=\"main-container\" simpoHover (hovering)=\"showEditTabs($event)\" [id]=\"data?.id\" [attr.style]=\"customClass\">\r\n <div class=\"slider-wrapper px-2 py-2 d-flex align-items-center justify-content-between\"\r\n [style.background]=\"data?.styles?.headline?.color ? data?.styles?.headline?.color : data?.styles?.background?.color\">\r\n <!-- Infinite Scroll Animation -->\r\n <div class=\"slider-track w-100 d-flex justify-content-between align-items-center\"\r\n *ngIf=\"data?.styles?.headline?.headlineAnimationType == 'InfiniteScroll'\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data; let i = index\">\r\n <div class=\"sliding-text text-nowrap\" [style.color]=\"getTextColor(data?.styles?.headline?.color)\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </div>\r\n \r\n <!-- Soft Transition Animation -->\r\n <div *ngIf=\"data?.styles?.headline?.headlineAnimationType == 'SoftTransition'\" class=\"list-container\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data; let i = index\">\r\n <div class=\"list-item text-nowrap\" \r\n [ngClass]=\"getItemClass(i)\"\r\n [class.visible]=\"isItemVisible(i)\"\r\n [style.color]=\"getTextColor(data?.styles?.headline?.color)\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n <!-- No Effect -->\r\n <ng-container *ngIf=\"data?.styles?.headline?.headlineAnimationType == 'NoEffect'\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data\">\r\n <div class=\"d-flex align-items-center justify-content-center w-100 text-nowrap\" \r\n [style.color]=\"getTextColor(data?.styles?.headline?.color)\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n\r\n <!-- Existing hover elements -->\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: [".main-container{position:relative;height:auto}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.slider-wrapper{position:relative;overflow:hidden}.slider-track{display:flex;gap:2rem;height:20px;width:max-content;animation:scrollLeft 30s linear infinite;animation-play-state:running;will-change:transform}.slider-track:hover{animation-play-state:paused}.sliding-text{flex-shrink:0;white-space:nowrap;padding:0 1rem;position:relative}@keyframes scrollLeft{0%{transform:translate(100%)}to{transform:translate(-100%)}}.list-container{position:relative;width:100%;height:20px;overflow:hidden;display:flex;align-items:center;justify-content:center}.list-item{position:absolute;width:100%;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .8s ease,transform .8s ease;text-align:center}.list-item.active{opacity:1;visibility:visible}.fade-in-left{animation:fadeInLeft .8s forwards}.fade-out-left{animation:fadeOutLeft .8s forwards}.fade-in-right{animation:fadeInRight .8s forwards}.fade-out-right{animation:fadeOutRight .8s forwards}@keyframes fadeInLeft{0%{opacity:0;transform:translate(-100px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOutLeft{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-100px)}}@keyframes fadeInRight{0%{opacity:0;transform:translate(100px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOutRight{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100px)}}\n"] }]
17948
17948
  }], ctorParameters: () => [{ type: EventsService }], propDecorators: { data: [{
17949
17949
  type: Input
17950
17950
  }], edit: [{
@@ -26267,11 +26267,11 @@ class VideoShowcaseComponent {
26267
26267
  }
26268
26268
  }
26269
26269
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: VideoShowcaseComponent, deps: [{ token: i1$2.MatDialogRef }, { token: MAT_DIALOG_DATA }, { token: i6$1.MessageService }, { token: CartService }], target: i0.ɵɵFactoryTarget.Component }); }
26270
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: VideoShowcaseComponent, isStandalone: true, selector: "simpo-video-showcase", providers: [MessageService], viewQueries: [{ propertyName: "videoPlayer", first: true, predicate: ["videoPlayer"], descendants: true }], ngImport: i0, template: "<section class=\"overlay\"></section>\r\n\r\n<section class=\"main_section d-flex align-items-center justify-content-center\">\r\n <div class=\"videos-container\">\r\n <div class=\"video-card\">\r\n <div class=\"top-bar d-flex align-items-center\">\r\n <span class=\"progress-bar\"></span>\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/802576c1770375389274muted-svgrepo-com.svg\"\r\n class=\"mute-unmute\" *ngIf=\"videoMuted\" (click)=\"videoMuted = false\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/711833c1770375515828volume-loud-svgrepo-com.svg\"\r\n class=\"mute-unmute\" *ngIf=\"!videoMuted\" (click)=\"videoMuted=true\">\r\n <span class=\"close\" (click)=\"closeDialog()\">\u2715</span>\r\n </div>\r\n\r\n <!-- Video -->\r\n <video #videoPlayer class=\"video-content\" autoplay loop playsinline [src]=\"videoUrl\" [controls]=\"false\"\r\n [muted]=\"videoMuted\">\r\n </video>\r\n\r\n <!-- Navigation arrows -->\r\n <div class=\"d-flex align-items-center nav-arrows w-100\"\r\n [ngClass]=\"{'justify-content-end' :currentIndex < listItemdata.videos.length - 1 , 'justify-content-between' : currentIndex > 0 }\">\r\n <button class=\"nav left d-flex align-items-center justify-content-center\" *ngIf=\"currentIndex > 0\"><mat-icon\r\n style=\"width:20px !important\" (click)=\"playPreviousVideo()\">keyboard_arrow_left</mat-icon></button>\r\n <button class=\"nav right d-flex align-items-center justify-content-center\" (click)=\"playNextVideo()\"\r\n *ngIf=\"currentIndex < listItemdata.videos.length - 1\"><mat-icon\r\n style=\"width:20px !important\">keyboard_arrow_right</mat-icon></button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"products-list-container position-fixed d-flex flex-column gap-4\">\r\n <ng-container *ngFor=\"let product of productsList\">\r\n <div class=\"product-badge cursor-pointer\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <img [src]=\"product.itemImages[0].imgUrl\" alt=\"Ring\" class=\"product-img\" /></a>\r\n <div class=\"product-info justify-content-between\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <div class=\"product-details d-flex flex-column gap-1\">\r\n <div class=\"product-title\">\r\n {{product.name.length > 30 ? product.name.slice(0, 30) + '...' : product.name}}\r\n </div>\r\n <div class=\"product-price d-flex align-items-start\">\r\n \u20B9{{product.price.sellingPrice}}\r\n </div>\r\n </div>\r\n </a>\r\n <div class=\"d-flex align-items-center justify-content-center gap-1\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/700072c1770270395432favourite-svgrepo-com.svg\"\r\n style=\"width: 18px;\" *ngIf=\"!product.whislist\" (click)=\"toggleItemToFav($event, product, 'ADD')\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/304116c1770274132910favourite-svgrepo-com_(1).svg\"\r\n style=\"width: 18px;\" *ngIf=\"product.whislist\" (click)=\"toggleItemToFav($event, product, 'REMOVE')\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/695144c1770270669546cart-shopping-svgrepo-com.svg\"\r\n style=\"width:19px\" *ngIf=\"product.quantity <= 0\" (click)=\"addItemToCart($event, product, 'ADD')\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/795342c1770275383344shopping-cart-fill-svgrepo-com.svg\"\r\n style=\"width:19px\" *ngIf=\"product.quantity >= 1\" (click)=\"addItemToCart($event, product, 'SUBSTRACT')\">\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</section>", styles: [".overlay{position:fixed;inset:0;background:#00000073;z-index:999}.main_section{position:fixed;inset:0;background:transparent;z-index:1000}.mute-unmute{width:30px;margin-right:10px;cursor:pointer}.videos-container{width:fit-content}.video-card{position:relative;width:360px;height:85vh;border-radius:18px;overflow:hidden;background:transparent}.video-content{width:100%;height:100%;object-fit:cover}.top-bar{position:absolute;top:10px;left:10px;right:10px;display:flex;align-items:center;justify-content:space-between;z-index:2}.progress-bar{flex:1;height:3px;background:#fff6;border-radius:2px;margin-right:10px}.close{font-size:22px;color:#fff;cursor:pointer}.nav-arrows{position:absolute;top:50%;padding:0 1rem}.nav{width:36px!important;height:36px;border-radius:50%;border:none;background:#0006;color:#fff;font-size:22px;cursor:pointer;z-index:2;outline:none}.nav.left{left:10px}.nav.right{right:10px}.products-list-container{right:13%;top:10%;max-height:100%;overflow-y:scroll}.product-card{position:absolute;bottom:14px;left:14px;right:14px;background:#fff;border-radius:14px;padding:10px;display:flex;align-items:center;gap:10px;z-index:2}.product-card img{width:44px;height:44px;border-radius:8px;object-fit:cover}.product-card .info{flex:1}.product-card .title{font-size:14px;font-weight:500;margin:0;color:#222}.product-card .price{font-size:15px;font-weight:600;margin:2px 0 0;color:#000}.product-badge{display:flex;align-items:center;gap:12px;padding:10px;background:#fff9;border-radius:10px;width:322px;box-shadow:0 6px 18px #00000026;transition:background .3s ease,box-shadow .3s ease}.product-badge:hover{background:#f0f0f0e6;box-shadow:0 8px 22px #0003}.product-img{width:42px;height:42px;object-fit:contain;flex-shrink:0}.product-info{display:flex;gap:4px;width:90%}.product-title{font-size:12px;font-weight:500;color:#1a1a1a;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-link{text-decoration:none;color:inherit}.products-cards{bottom:0;overflow-x:scroll}.product-price{font-size:16px;font-weight:700;color:#000}\n"], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { 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"] }] }); }
26270
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: VideoShowcaseComponent, isStandalone: true, selector: "simpo-video-showcase", providers: [MessageService], viewQueries: [{ propertyName: "videoPlayer", first: true, predicate: ["videoPlayer"], descendants: true }], ngImport: i0, template: "<section class=\"overlay\"></section>\r\n\r\n<section class=\"main_section d-flex align-items-center justify-content-center\">\r\n <div class=\"videos-container\">\r\n <div class=\"video-card\">\r\n <div class=\"top-bar d-flex align-items-center\">\r\n <span class=\"progress-bar\"></span>\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/802576c1770375389274muted-svgrepo-com.svg\"\r\n class=\"mute-unmute\" *ngIf=\"videoMuted\" (click)=\"videoMuted = false\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/711833c1770375515828volume-loud-svgrepo-com.svg\"\r\n class=\"mute-unmute\" *ngIf=\"!videoMuted\" (click)=\"videoMuted=true\">\r\n <span class=\"close\" (click)=\"closeDialog()\">\u2715</span>\r\n </div>\r\n\r\n <!-- Video -->\r\n <video #videoPlayer class=\"video-content\" autoplay loop playsinline [src]=\"videoUrl\" [controls]=\"false\"\r\n [muted]=\"videoMuted\">\r\n </video>\r\n\r\n <!-- Navigation arrows -->\r\n <div class=\"d-flex align-items-center nav-arrows w-100\"\r\n [ngClass]=\"{'justify-content-end' :currentIndex < listItemdata.videos.length - 1 , 'justify-content-between' : currentIndex > 0 }\">\r\n <button class=\"nav left d-flex align-items-center justify-content-center\" *ngIf=\"currentIndex > 0\"><mat-icon\r\n style=\"width:20px !important\" (click)=\"playPreviousVideo()\">keyboard_arrow_left</mat-icon></button>\r\n <button class=\"nav right d-flex align-items-center justify-content-center\" (click)=\"playNextVideo()\"\r\n *ngIf=\"currentIndex < listItemdata.videos.length - 1\"><mat-icon\r\n style=\"width:20px !important\">keyboard_arrow_right</mat-icon></button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"products-list-container position-fixed d-flex flex-column gap-4\">\r\n <ng-container *ngFor=\"let product of productsList\">\r\n <div class=\"product-badge cursor-pointer\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <img [src]=\"product.itemImages[0].imgUrl\" alt=\"Ring\" class=\"product-img\" /></a>\r\n <div class=\"product-info justify-content-between\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <div class=\"product-details d-flex flex-column gap-1\">\r\n <div class=\"product-title\">\r\n {{product.name.length > 30 ? product.name.slice(0, 30) + '...' : product.name}}\r\n </div>\r\n <div class=\"product-price d-flex align-items-start\">\r\n \u20B9{{product.price.sellingPrice}}\r\n </div>\r\n </div>\r\n </a>\r\n <div class=\"d-flex align-items-center justify-content-center gap-1\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/700072c1770270395432favourite-svgrepo-com.svg\"\r\n style=\"width: 18px;\" *ngIf=\"!product.whislist\" (click)=\"toggleItemToFav($event, product, 'ADD')\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/304116c1770274132910favourite-svgrepo-com_(1).svg\"\r\n style=\"width: 18px;\" *ngIf=\"product.whislist\" (click)=\"toggleItemToFav($event, product, 'REMOVE')\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/695144c1770270669546cart-shopping-svgrepo-com.svg\"\r\n style=\"width:19px\" *ngIf=\"product.quantity <= 0\" (click)=\"addItemToCart($event, product, 'ADD')\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/795342c1770275383344shopping-cart-fill-svgrepo-com.svg\"\r\n style=\"width:19px\" *ngIf=\"product.quantity >= 1\" (click)=\"addItemToCart($event, product, 'SUBSTRACT')\">\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</section>", styles: [".overlay{position:fixed;inset:0;background:#00000073;z-index:999}.main_section{position:fixed;inset:0;background:transparent;z-index:1000}.mute-unmute{width:30px;margin-right:10px;cursor:pointer}.videos-container{width:fit-content}.video-card{position:relative;width:360px;height:85vh;border-radius:18px;overflow:hidden;background:transparent}.video-content{width:100%;height:100%;object-fit:cover}.top-bar{position:absolute;top:10px;left:10px;right:10px;display:flex;align-items:center;justify-content:space-between;z-index:2}.progress-bar{flex:1;height:3px;background:#fff6;border-radius:2px;margin-right:10px}.close{font-size:22px;color:#fff;cursor:pointer}.nav-arrows{position:absolute;top:50%;padding:0 1rem}.nav{width:36px!important;height:36px;border-radius:50%;border:none;background:#0006;color:#fff;font-size:22px;cursor:pointer;z-index:2;outline:none}.nav.left{left:10px}.nav.right{right:10px}.products-list-container{right:13%;top:10%;max-height:100%;overflow-y:scroll}.product-card{position:absolute;bottom:14px;left:14px;right:14px;background:#fff;border-radius:14px;padding:10px;display:flex;align-items:center;gap:10px;z-index:2}.product-card img{width:44px;height:44px;border-radius:8px;object-fit:cover}.product-card .info{flex:1}.product-card .title{font-size:14px;font-weight:500;margin:0;color:#222}.product-card .price{font-size:15px;font-weight:600;margin:2px 0 0;color:#000}.product-badge{display:flex;align-items:center;gap:12px;padding:10px;background:#fff9;border-radius:10px;width:322px;box-shadow:0 6px 18px #00000026;transition:background .3s ease,box-shadow .3s ease}.product-badge:hover{background:#f0f0f0e6;box-shadow:0 8px 22px #0003}.product-img{width:42px;height:42px;object-fit:contain;flex-shrink:0}.product-info{display:flex;gap:4px;width:90%}.product-title{font-size:12px;font-weight:500;color:#1a1a1a;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-link{text-decoration:none;color:inherit}.products-cards{bottom:0;overflow-x:scroll}.product-price{font-size:16px;font-weight:700;color:#000}@media screen and (max-width: 475px){.video-card{width:100%}}\n"], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { 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"] }] }); }
26271
26271
  }
26272
26272
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: VideoShowcaseComponent, decorators: [{
26273
26273
  type: Component,
26274
- args: [{ selector: 'simpo-video-showcase', standalone: true, imports: [MatIcon, CommonModule], providers: [MessageService], template: "<section class=\"overlay\"></section>\r\n\r\n<section class=\"main_section d-flex align-items-center justify-content-center\">\r\n <div class=\"videos-container\">\r\n <div class=\"video-card\">\r\n <div class=\"top-bar d-flex align-items-center\">\r\n <span class=\"progress-bar\"></span>\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/802576c1770375389274muted-svgrepo-com.svg\"\r\n class=\"mute-unmute\" *ngIf=\"videoMuted\" (click)=\"videoMuted = false\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/711833c1770375515828volume-loud-svgrepo-com.svg\"\r\n class=\"mute-unmute\" *ngIf=\"!videoMuted\" (click)=\"videoMuted=true\">\r\n <span class=\"close\" (click)=\"closeDialog()\">\u2715</span>\r\n </div>\r\n\r\n <!-- Video -->\r\n <video #videoPlayer class=\"video-content\" autoplay loop playsinline [src]=\"videoUrl\" [controls]=\"false\"\r\n [muted]=\"videoMuted\">\r\n </video>\r\n\r\n <!-- Navigation arrows -->\r\n <div class=\"d-flex align-items-center nav-arrows w-100\"\r\n [ngClass]=\"{'justify-content-end' :currentIndex < listItemdata.videos.length - 1 , 'justify-content-between' : currentIndex > 0 }\">\r\n <button class=\"nav left d-flex align-items-center justify-content-center\" *ngIf=\"currentIndex > 0\"><mat-icon\r\n style=\"width:20px !important\" (click)=\"playPreviousVideo()\">keyboard_arrow_left</mat-icon></button>\r\n <button class=\"nav right d-flex align-items-center justify-content-center\" (click)=\"playNextVideo()\"\r\n *ngIf=\"currentIndex < listItemdata.videos.length - 1\"><mat-icon\r\n style=\"width:20px !important\">keyboard_arrow_right</mat-icon></button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"products-list-container position-fixed d-flex flex-column gap-4\">\r\n <ng-container *ngFor=\"let product of productsList\">\r\n <div class=\"product-badge cursor-pointer\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <img [src]=\"product.itemImages[0].imgUrl\" alt=\"Ring\" class=\"product-img\" /></a>\r\n <div class=\"product-info justify-content-between\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <div class=\"product-details d-flex flex-column gap-1\">\r\n <div class=\"product-title\">\r\n {{product.name.length > 30 ? product.name.slice(0, 30) + '...' : product.name}}\r\n </div>\r\n <div class=\"product-price d-flex align-items-start\">\r\n \u20B9{{product.price.sellingPrice}}\r\n </div>\r\n </div>\r\n </a>\r\n <div class=\"d-flex align-items-center justify-content-center gap-1\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/700072c1770270395432favourite-svgrepo-com.svg\"\r\n style=\"width: 18px;\" *ngIf=\"!product.whislist\" (click)=\"toggleItemToFav($event, product, 'ADD')\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/304116c1770274132910favourite-svgrepo-com_(1).svg\"\r\n style=\"width: 18px;\" *ngIf=\"product.whislist\" (click)=\"toggleItemToFav($event, product, 'REMOVE')\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/695144c1770270669546cart-shopping-svgrepo-com.svg\"\r\n style=\"width:19px\" *ngIf=\"product.quantity <= 0\" (click)=\"addItemToCart($event, product, 'ADD')\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/795342c1770275383344shopping-cart-fill-svgrepo-com.svg\"\r\n style=\"width:19px\" *ngIf=\"product.quantity >= 1\" (click)=\"addItemToCart($event, product, 'SUBSTRACT')\">\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</section>", styles: [".overlay{position:fixed;inset:0;background:#00000073;z-index:999}.main_section{position:fixed;inset:0;background:transparent;z-index:1000}.mute-unmute{width:30px;margin-right:10px;cursor:pointer}.videos-container{width:fit-content}.video-card{position:relative;width:360px;height:85vh;border-radius:18px;overflow:hidden;background:transparent}.video-content{width:100%;height:100%;object-fit:cover}.top-bar{position:absolute;top:10px;left:10px;right:10px;display:flex;align-items:center;justify-content:space-between;z-index:2}.progress-bar{flex:1;height:3px;background:#fff6;border-radius:2px;margin-right:10px}.close{font-size:22px;color:#fff;cursor:pointer}.nav-arrows{position:absolute;top:50%;padding:0 1rem}.nav{width:36px!important;height:36px;border-radius:50%;border:none;background:#0006;color:#fff;font-size:22px;cursor:pointer;z-index:2;outline:none}.nav.left{left:10px}.nav.right{right:10px}.products-list-container{right:13%;top:10%;max-height:100%;overflow-y:scroll}.product-card{position:absolute;bottom:14px;left:14px;right:14px;background:#fff;border-radius:14px;padding:10px;display:flex;align-items:center;gap:10px;z-index:2}.product-card img{width:44px;height:44px;border-radius:8px;object-fit:cover}.product-card .info{flex:1}.product-card .title{font-size:14px;font-weight:500;margin:0;color:#222}.product-card .price{font-size:15px;font-weight:600;margin:2px 0 0;color:#000}.product-badge{display:flex;align-items:center;gap:12px;padding:10px;background:#fff9;border-radius:10px;width:322px;box-shadow:0 6px 18px #00000026;transition:background .3s ease,box-shadow .3s ease}.product-badge:hover{background:#f0f0f0e6;box-shadow:0 8px 22px #0003}.product-img{width:42px;height:42px;object-fit:contain;flex-shrink:0}.product-info{display:flex;gap:4px;width:90%}.product-title{font-size:12px;font-weight:500;color:#1a1a1a;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-link{text-decoration:none;color:inherit}.products-cards{bottom:0;overflow-x:scroll}.product-price{font-size:16px;font-weight:700;color:#000}\n"] }]
26274
+ args: [{ selector: 'simpo-video-showcase', standalone: true, imports: [MatIcon, CommonModule], providers: [MessageService], template: "<section class=\"overlay\"></section>\r\n\r\n<section class=\"main_section d-flex align-items-center justify-content-center\">\r\n <div class=\"videos-container\">\r\n <div class=\"video-card\">\r\n <div class=\"top-bar d-flex align-items-center\">\r\n <span class=\"progress-bar\"></span>\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/802576c1770375389274muted-svgrepo-com.svg\"\r\n class=\"mute-unmute\" *ngIf=\"videoMuted\" (click)=\"videoMuted = false\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/711833c1770375515828volume-loud-svgrepo-com.svg\"\r\n class=\"mute-unmute\" *ngIf=\"!videoMuted\" (click)=\"videoMuted=true\">\r\n <span class=\"close\" (click)=\"closeDialog()\">\u2715</span>\r\n </div>\r\n\r\n <!-- Video -->\r\n <video #videoPlayer class=\"video-content\" autoplay loop playsinline [src]=\"videoUrl\" [controls]=\"false\"\r\n [muted]=\"videoMuted\">\r\n </video>\r\n\r\n <!-- Navigation arrows -->\r\n <div class=\"d-flex align-items-center nav-arrows w-100\"\r\n [ngClass]=\"{'justify-content-end' :currentIndex < listItemdata.videos.length - 1 , 'justify-content-between' : currentIndex > 0 }\">\r\n <button class=\"nav left d-flex align-items-center justify-content-center\" *ngIf=\"currentIndex > 0\"><mat-icon\r\n style=\"width:20px !important\" (click)=\"playPreviousVideo()\">keyboard_arrow_left</mat-icon></button>\r\n <button class=\"nav right d-flex align-items-center justify-content-center\" (click)=\"playNextVideo()\"\r\n *ngIf=\"currentIndex < listItemdata.videos.length - 1\"><mat-icon\r\n style=\"width:20px !important\">keyboard_arrow_right</mat-icon></button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"products-list-container position-fixed d-flex flex-column gap-4\">\r\n <ng-container *ngFor=\"let product of productsList\">\r\n <div class=\"product-badge cursor-pointer\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <img [src]=\"product.itemImages[0].imgUrl\" alt=\"Ring\" class=\"product-img\" /></a>\r\n <div class=\"product-info justify-content-between\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <div class=\"product-details d-flex flex-column gap-1\">\r\n <div class=\"product-title\">\r\n {{product.name.length > 30 ? product.name.slice(0, 30) + '...' : product.name}}\r\n </div>\r\n <div class=\"product-price d-flex align-items-start\">\r\n \u20B9{{product.price.sellingPrice}}\r\n </div>\r\n </div>\r\n </a>\r\n <div class=\"d-flex align-items-center justify-content-center gap-1\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/700072c1770270395432favourite-svgrepo-com.svg\"\r\n style=\"width: 18px;\" *ngIf=\"!product.whislist\" (click)=\"toggleItemToFav($event, product, 'ADD')\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/304116c1770274132910favourite-svgrepo-com_(1).svg\"\r\n style=\"width: 18px;\" *ngIf=\"product.whislist\" (click)=\"toggleItemToFav($event, product, 'REMOVE')\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/695144c1770270669546cart-shopping-svgrepo-com.svg\"\r\n style=\"width:19px\" *ngIf=\"product.quantity <= 0\" (click)=\"addItemToCart($event, product, 'ADD')\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/795342c1770275383344shopping-cart-fill-svgrepo-com.svg\"\r\n style=\"width:19px\" *ngIf=\"product.quantity >= 1\" (click)=\"addItemToCart($event, product, 'SUBSTRACT')\">\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</section>", styles: [".overlay{position:fixed;inset:0;background:#00000073;z-index:999}.main_section{position:fixed;inset:0;background:transparent;z-index:1000}.mute-unmute{width:30px;margin-right:10px;cursor:pointer}.videos-container{width:fit-content}.video-card{position:relative;width:360px;height:85vh;border-radius:18px;overflow:hidden;background:transparent}.video-content{width:100%;height:100%;object-fit:cover}.top-bar{position:absolute;top:10px;left:10px;right:10px;display:flex;align-items:center;justify-content:space-between;z-index:2}.progress-bar{flex:1;height:3px;background:#fff6;border-radius:2px;margin-right:10px}.close{font-size:22px;color:#fff;cursor:pointer}.nav-arrows{position:absolute;top:50%;padding:0 1rem}.nav{width:36px!important;height:36px;border-radius:50%;border:none;background:#0006;color:#fff;font-size:22px;cursor:pointer;z-index:2;outline:none}.nav.left{left:10px}.nav.right{right:10px}.products-list-container{right:13%;top:10%;max-height:100%;overflow-y:scroll}.product-card{position:absolute;bottom:14px;left:14px;right:14px;background:#fff;border-radius:14px;padding:10px;display:flex;align-items:center;gap:10px;z-index:2}.product-card img{width:44px;height:44px;border-radius:8px;object-fit:cover}.product-card .info{flex:1}.product-card .title{font-size:14px;font-weight:500;margin:0;color:#222}.product-card .price{font-size:15px;font-weight:600;margin:2px 0 0;color:#000}.product-badge{display:flex;align-items:center;gap:12px;padding:10px;background:#fff9;border-radius:10px;width:322px;box-shadow:0 6px 18px #00000026;transition:background .3s ease,box-shadow .3s ease}.product-badge:hover{background:#f0f0f0e6;box-shadow:0 8px 22px #0003}.product-img{width:42px;height:42px;object-fit:contain;flex-shrink:0}.product-info{display:flex;gap:4px;width:90%}.product-title{font-size:12px;font-weight:500;color:#1a1a1a;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-link{text-decoration:none;color:inherit}.products-cards{bottom:0;overflow-x:scroll}.product-price{font-size:16px;font-weight:700;color:#000}@media screen and (max-width: 475px){.video-card{width:100%}}\n"] }]
26275
26275
  }], ctorParameters: () => [{ type: i1$2.MatDialogRef }, { type: undefined, decorators: [{
26276
26276
  type: Inject,
26277
26277
  args: [MAT_DIALOG_DATA]
@@ -26355,7 +26355,7 @@ class VideoGridSectionComponent extends BaseSection {
26355
26355
  height: '100vh',
26356
26356
  width: '100vw',
26357
26357
  data: {
26358
- videos: this.content?.listItem.videoData,
26358
+ videos: this.content?.listItem.data,
26359
26359
  initiateVideoId: video.id
26360
26360
  },
26361
26361
  panelClass: 'dialog-transparent'
@@ -26449,7 +26449,7 @@ class VideoGridSectionComponent extends BaseSection {
26449
26449
  }
26450
26450
  }
26451
26451
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: VideoGridSectionComponent, deps: [{ token: i6$1.MessageService }, { token: CartService }, { token: i1$2.MatDialog }], target: i0.ɵɵFactoryTarget.Component }); }
26452
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: VideoGridSectionComponent, isStandalone: true, selector: "simpo-video-grid-section", inputs: { data: "data", index: "index", edit: "edit", customClass: "customClass", delete: "delete", nextComponentColor: "nextComponentColor" }, host: { listeners: { "window: resize": "getScreenSize($event)" } }, providers: [MessageService], viewQueries: [{ propertyName: "videogrid", first: true, predicate: ["videogrid"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<section [id]=\"data?.id\" [simpoBackground]=\"style?.background\" simpoHover (hovering)=\"showEditTabs($event)\"\r\n class=\"total-container\" [attr.style]=\"customClass\">\r\n <div #mainContainer [id]=\"data?.id\" [simpoOverlay]=\"style?.background\" [spacingHorizontal]=\"stylesLayout\">\r\n <div class=\"container-fluid\" [id]=\"data?.id\" [simpoBorder]=\"style?.border\" [simpoLayout]=\"style?.layout\">\r\n <div class=\"row w-100\" [id]=\"data?.id\" [simpoAnimation]=\"style?.animation\"\r\n [ngStyle]=\"style?.fullWidth ? {'padding': '0px'} : {}\"\r\n [ngClass]=\"{'justify-content-center' : screenWidth < 475}\">\r\n <!-- [ngClass]=\"{'w-100':style?.gridStyle === 'Style2'}\" -->\r\n <div *ngFor=\"let text of data?.content?.inputText; let i = index\">\r\n <div [simpoContentTitleSpace]=\"headingSpace\">\r\n <ng-container *ngIf=\"edit || (text.value && text.value.length > 0)\">\r\n <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"i\" [isRTE]=\"text.isRTE\"></simpo-text-editor>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <!-- <ng-container *ngIf=\"style?.gridStyle == 'Style1'\"> -->\r\n <button class=\"scroll-btn left p-0 d-flex align-items-center justify-content-center\"\r\n *ngIf=\"style?.direction === 'ROW' && isOverflowing\" (click)=\"scrollLeft()\"\r\n [disabled]=\"atStart\"><mat-icon>keyboard_arrow_left</mat-icon>\r\n </button>\r\n\r\n <div class=\"main-video-section\">\r\n <div class=\"main-image-section position-relative\"\r\n [class.row]=\"style?.direction == 'ROW' && screenWidth > 475\"\r\n [class.wrap-scroll]=\"style?.direction == 'ROW' && screenWidth > 475\"\r\n [class.flex-wrap]=\"style?.direction == 'COLUMN' && screenWidth > 475\" [id]=\"data?.id\" #videogrid\r\n [style.justifyContent]=\"getJustifyContent()\" (scroll)=\"onScroll()\"\r\n [ngClass]=\"{'d-grid grid-columns' : screenWidth < 475}\">\r\n <ng-container *ngIf=\"!content?.display?.showImage\">\r\n <div class=\"video-section p-3 w-auto d-flex flex-column gap-2 align-items-center justify-content-center\"\r\n *ngFor=\"let video of content?.listItem?.data; let i = index\" [simpoColumnDirective]=\"style?.size\"\r\n [id]=\"data?.id\"\r\n [attr.style]=\"style?.removeGaps ? 'padding: 0px !important; margin: 0px !important;' : {}\">\r\n <ng-container *ngIf=\"content?.display?.showText\">\r\n <div\r\n class=\"w-fit position-relative d-flex align-items-center justify-content-center\">\r\n <ng-container *ngIf=\"style?.autoPlay && !style?.hoverPlay;else normalVideo\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100 cursor-pointer\" [muted]=\"style?.muteVideos\" autoplay\r\n (click)=\"openFullscreen(videoEl)\" loop></video>\r\n </ng-container>\r\n <ng-template #normalVideo>\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100\" [muted]=\"style?.muteVideos\" [controls]=\"!style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl, video.video)\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl, video.video)\"\r\n (click)=\"openFullscreen(videoEl)\"\r\n [ngClass]=\"{ 'cursor-pointer': style?.hoverPlay }\"></video>\r\n </ng-template>\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/172648c1769671647159play-fill-svgrepo-com.svg\"\r\n class=\"position-absolute\"\r\n *ngIf=\"!video?.video?.isVideoPlaying && style?.hoverPlay\"\r\n style=\"width:20px\">\r\n </div>\r\n <simpo-text-editor [(value)]=\"video.video.description\"\r\n [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [itemIndex]=\"i\"></simpo-text-editor>\r\n </ng-container>\r\n <ng-container *ngIf=\"!content?.display?.showText\">\r\n <div class=\"video-wrapper position-relative\" [id]=\"data?.id\"\r\n [ngStyle]=\"{'width' : style?.size === 'Small' ? '180px' : style?.size === 'Medium' ? '220px' : '270px' }\">\r\n <ng-container *ngIf=\"style?.autoPlay && !style?.hoverPlay;else normalVideo\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100\" [muted]=\"style?.muteVideos\"\r\n [simpoVideoDirective]=\"style?.image\" [controls]=\"style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl, video.video)\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl, video.video)\"\r\n (click)=\"openFullVideo(video.video)\" autoplay loop></video>\r\n </ng-container>\r\n <ng-template #normalVideo>\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100\" [muted]=\"style?.muteVideos\"\r\n [simpoVideoDirective]=\"style?.image\" [controls]=\"!style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl, video.video)\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl, video.video)\"\r\n (click)=\"openFullVideo(video.video)\"></video>\r\n </ng-template>\r\n <div class=\"position-absolute products-cards w-100 p-3 d-flex gap-3 overflow-x-auto cursor-pointer\"\r\n *ngIf=\"video?.video?.products?.length > 0 && content?.display?.showProducts\">\r\n <ng-container *ngFor=\"let product of video.video.products\">\r\n <div class=\"product-badge\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <img [src]=\"product?.itemImages[0].imgUrl\" alt=\"Ring\"\r\n class=\"product-img\" /></a>\r\n <div class=\"product-info\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <div class=\"product-details d-flex flex-column gap-1\">\r\n <div class=\"product-title\">\r\n {{product.name.length > 16 ?\r\n product.name.trim().slice(0,15)\r\n +\r\n '...' :\r\n product.name }}\r\n </div>\r\n <div class=\"product-price d-flex align-items-start\">\r\n \u20B9{{product?.price.sellingPrice}}\r\n </div>\r\n </div>\r\n </a>\r\n <div\r\n class=\"d-flex align-items-center justify-content-center gap-1\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/700072c1770270395432favourite-svgrepo-com.svg\"\r\n style=\"width: 18px;\"\r\n (click)=\"toggleItemToFav($event, product, 'ADD')\"\r\n *ngIf=\"!product.whislist\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/304116c1770274132910favourite-svgrepo-com_(1).svg\"\r\n style=\"width: 18px;\" *ngIf=\"product.whislist\"\r\n (click)=\"toggleItemToFav($event, product, 'REMOVE')\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/695144c1770270669546cart-shopping-svgrepo-com.svg\"\r\n style=\"width:19px\"\r\n (click)=\"addItemToCart($event, product, 'ADD')\"\r\n *ngIf=\"product.quantity <= 0\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/795342c1770275383344shopping-cart-fill-svgrepo-com.svg\"\r\n style=\"width:19px\" *ngIf=\"product.quantity >= 1\"\r\n (click)=\"addItemToCart($event, product, 'SUBSTRACT')\">\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div *ngIf=\"!video?.video?.isVideoPlaying && style?.hoverPlay\"\r\n class=\"position-absolute d-flex align-items-center justify-content-center\"\r\n style=\"padding: 9px;top: 47%;left: 40%;background: lightgrey;border-radius: 50%;background: rgba(240, 240, 240, 0.6);backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/935060c1770214072755play-svgrepo-com.svg\"\r\n class=\"\" style=\"width:25px;margin-left:1.5px\">\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"content?.display?.showImage\">\r\n <div class=\"video-section p-3 w-auto d-flex flex-column gap-2 align-items-center justify-content-center\"\r\n *ngFor=\"let image of content?.listItem?.data; let i = index\" [simpoColumnDirective]=\"style?.size\"\r\n [id]=\"data?.id\"\r\n [attr.style]=\"style?.removeGaps ? 'padding: 0px !important; margin: 0px !important;' : {}\">\r\n <ng-container>\r\n <div class=\"video-wrapper position-relative\" [id]=\"data?.id\"\r\n [ngClass]=\"{'h-100':screenWidth<475}\"\r\n [ngStyle]=\"{'width' : screenWidth > 475 ? (style?.size === 'Small' ? '180px' : style?.size === 'Medium' ? '220px' : '270px'): '100%' }\">\r\n <img loading=\"lazy\" [src]=\"image.image.url\" [alt]=\"image.image.altText\"\r\n [simpoImageDirective]=\"image.image\"\r\n [attr.simpoObjectPosition]=\"image?.image?.fit !== 'contain' ? image.image?.position : null\"\r\n [simpoCorner]=\"style?.corners\" class=\"w-100 h-100\"\r\n [appImageEditor]=\"edit || false\" [imageData]=\"image.image\"\r\n [sectionId]=\"data?.id\" [itemIndex]=\"i\" [simpoObjectPosition]=\"image?.image?.position\"\r\n [class]=\"data?.id+image.image.id\">\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <button class=\"scroll-btn right p-0 d-flex align-items-center justify-content-center\"\r\n *ngIf=\"style?.direction === 'ROW' && isOverflowing\" (click)=\"scrollRight()\"\r\n [disabled]=\"atEnd\"><mat-icon>keyboard_arrow_right</mat-icon>\r\n </button>\r\n <!-- </ng-container> -->\r\n <!-- <ng-container *ngIf=\"style?.gridStyle == 'Style2'\">\r\n <div class=\"video-grid-section h-100\" [class.remove-gap]=\"style?.removeGaps\"\r\n [class.p-0]=\"style?.fullWidth\">\r\n <div class=\"video-section\" *ngFor=\"let video of content?.listItem?.data\" style=\"min-width:300px\"\r\n [ngClass]=\"{'position-relative d-flex align-items-center justify-content-center' : !video?.video?.isVideoPlaying && style?.hoverPlay}\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\" #videoEl\r\n [class]=\"data?.id+video.video.id\" [simpoObjectPosition]=\"video.video.position\"\r\n [src]=\"video.video.url\" loading=\"lazy\" class=\"h-100\" [controls]=\"!style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl,video.video)\"\r\n [muted]=\"style?.muteVideos\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl,video.video)\"\r\n (click)=\"openFullscreen(videoEl)\"\r\n [ngClass]=\"{'cursor-pointer' : style?.hoverPlay}\"></video>\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/172648c1769671647159play-fill-svgrepo-com.svg\"\r\n class=\"position-absolute\" *ngIf=\"!video?.video?.isVideoPlaying && style?.hoverPlay\"\r\n style=\"width:20%;height:20%;max-width:40px\">\r\n </div>\r\n </div>\r\n </ng-container> -->\r\n </div>\r\n </div>\r\n </div>\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 <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{height:auto;position:relative}.main-video-section{display:flex;justify-content:center}.main-image-section{margin-bottom:1.5rem}.mb-1{margin-bottom:1.5rem!important}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.wrap-scroll{overflow:scroll;flex-wrap:nowrap}@media screen and (min-width : 1200px){.grid{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;grid-gap:5px}.video-grid-section{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,170px);column-gap:10px;row-gap:10px;max-height:340px;overflow-x:scroll;overflow-y:hidden;grid-auto-columns:1fr;width:100%}.grid img:first-child:last-child{grid-column:1 / span 2}.grid img:first-child:nth-last-child(2),.grid img:nth-child(2):last-child{grid-column:span 1;height:100%}.grid img:nth-child(3n+1):not(:last-child){grid-column:1;grid-row:span 2;height:100%}.grid img:nth-child(3n+2){grid-column:2}.grid img:nth-child(3n+3){grid-column:2;align-self:end}.grid img:nth-child(3n+4){grid-column:1 / span 2}}.remove-gap{grid-gap:0!important}@media screen and (min-width: 760px){.cards{padding-bottom:24px}}.main-image-container{width:100%}@media screen and (max-width: 760px){.scroll-btn{display:none!important}}.right-column-container{display:flex;flex-direction:column;height:100%;padding:0}.image-half-height{height:50%!important;flex:1}.image-half-height:first-child{margin-bottom:2px}.scroll-btn{position:absolute;top:50%;z-index:10;font-size:18px;width:36px!important;height:36px!important;border-radius:50%;border:none}.w-fit{width:fit-content!important}.video-section{text-align:center}.video-section .video-wrapper{aspect-ratio:9 / 16;margin:0 auto;position:relative}.video-section .video-wrapper video{cursor:pointer}.video-section video{width:100%;height:100%;object-fit:cover}.scroll-btn.left{left:8px}.scroll-btn.right{right:8px}.product-badge{display:flex;align-items:center;gap:12px;padding:5px 10px;background:#fff9;border-radius:10px;width:90%;box-shadow:0 6px 18px #00000026;transition:background .3s ease,box-shadow .3s ease;min-width:230px}.product-badge:hover{background:#f0f0f0e6;box-shadow:0 8px 22px #0003}.product-img{width:42px;height:42px;object-fit:contain;flex-shrink:0}.product-info{display:flex;gap:4px}.grid-columns{grid-template-columns:50% 50%}.product-title{font-size:12px;font-weight:500;color:#1a1a1a;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-link{text-decoration:none;color:inherit}.products-cards{bottom:0;overflow-x:scroll}.product-price{font-size:16px;font-weight:700;color:#000}\n"], dependencies: [{ kind: "component", type: TextEditorComponent, selector: "simpo-text-editor", inputs: ["value", "editable", "isRTE", "sectionId", "label", "type", "inputTextIndex", "itemIndex"], outputs: ["valueChange"] }, { kind: "ngmodule", type: SimpoElementsModule }, { kind: "component", type: SvgDividerComponent, selector: "simpo-svg-divider", inputs: ["dividerType", "color"] }, { kind: "ngmodule", type: SimpoComponentModule }, { 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: 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: "directive", type:
26452
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: VideoGridSectionComponent, isStandalone: true, selector: "simpo-video-grid-section", inputs: { data: "data", index: "index", edit: "edit", customClass: "customClass", delete: "delete", nextComponentColor: "nextComponentColor" }, host: { listeners: { "window: resize": "getScreenSize($event)" } }, providers: [MessageService], viewQueries: [{ propertyName: "videogrid", first: true, predicate: ["videogrid"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<section [id]=\"data?.id\" [simpoBackground]=\"style?.background\" simpoHover (hovering)=\"showEditTabs($event)\"\r\n class=\"total-container\" [attr.style]=\"customClass\">\r\n <div #mainContainer [id]=\"data?.id\" [simpoOverlay]=\"style?.background\" [spacingHorizontal]=\"stylesLayout\">\r\n <div class=\"container-fluid\" [id]=\"data?.id\" [simpoBorder]=\"style?.border\" [simpoLayout]=\"style?.layout\">\r\n <div class=\"row w-100\" [id]=\"data?.id\" [simpoAnimation]=\"style?.animation\"\r\n [ngStyle]=\"style?.fullWidth ? {'padding': '0px'} : {}\"\r\n [ngClass]=\"{'justify-content-center' : screenWidth < 475}\">\r\n <!-- [ngClass]=\"{'w-100':style?.gridStyle === 'Style2'}\" -->\r\n <div *ngFor=\"let text of data?.content?.inputText; let i = index\">\r\n <div [simpoContentTitleSpace]=\"headingSpace\">\r\n <ng-container *ngIf=\"edit || (text.value && text.value.length > 0)\">\r\n <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\"\r\n [inputTextIndex]=\"i\" [isRTE]=\"text.isRTE\"></simpo-text-editor>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <!-- <ng-container *ngIf=\"style?.gridStyle == 'Style1'\"> -->\r\n <button class=\"scroll-btn left p-0 d-flex align-items-center justify-content-center\"\r\n *ngIf=\"style?.direction === 'ROW' && isOverflowing\" (click)=\"scrollLeft()\"\r\n [disabled]=\"atStart\"><mat-icon>keyboard_arrow_left</mat-icon>\r\n </button>\r\n\r\n <div class=\"main-video-section\">\r\n\r\n <!-- Mobile Stories Peek Carousel (< 475px) -->\r\n <ng-container *ngIf=\"screenWidth < 475\">\r\n <div class=\"mobile-stories-wrap\">\r\n <div class=\"mobile-stories-scroll\">\r\n <ng-container *ngIf=\"!content?.display?.showImage\">\r\n <div class=\"mobile-story-card\"\r\n *ngFor=\"let video of content?.listItem?.data; let i = index\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [src]=\"video.video.url\"\r\n [muted]=\"true\" autoplay loop playsinline class=\"cursor-pointer\"\r\n (click)=\"openFullVideo(video.video)\"></video>\r\n <!-- <div class=\"mobile-story-play-btn\" (click)=\"openFullVideo(video.video)\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/935060c1770214072755play-svgrepo-com.svg\">\r\n </div> -->\r\n <div class=\"mobile-story-text-overlay\" *ngIf=\"video?.video?.description && content?.display?.showText\">\r\n {{ video.video.description }}\r\n </div>\r\n <div class=\"position-absolute products-cards w-100 p-2 d-flex gap-2 overflow-x-auto cursor-pointer\"\r\n *ngIf=\"video?.video?.products?.length > 0 && content?.display?.showProducts\">\r\n <ng-container *ngFor=\"let product of video.video.products\">\r\n <div class=\"product-badge\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <img [src]=\"product?.itemImages[0].imgUrl\" alt=\"\"\r\n class=\"product-img\" /></a>\r\n <div class=\"product-info\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <div class=\"product-details d-flex flex-column gap-1\">\r\n <div class=\"product-title\">{{product.name.length > 16 ?\r\n product.name.trim().slice(0,15) + '...' :\r\n product.name}}</div>\r\n <div class=\"product-price d-flex align-items-start\">\r\n \u20B9{{product?.price.sellingPrice}}</div>\r\n </div>\r\n </a>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"content?.display?.showImage\">\r\n <div class=\"mobile-story-card\"\r\n *ngFor=\"let image of content?.listItem?.data; let i = index\">\r\n <img loading=\"lazy\" [src]=\"image.image.url\" [alt]=\"image.image.altText\"\r\n [simpoCorner]=\"style?.corners\">\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- Desktop / Tablet Layout (>= 475px) -->\r\n <div class=\"main-image-section position-relative\" [class.d-none]=\"screenWidth < 475\"\r\n [class.row]=\"style?.direction == 'ROW' && screenWidth > 475\"\r\n [class.wrap-scroll]=\"style?.direction == 'ROW' && screenWidth > 475\"\r\n [class.flex-wrap]=\"style?.direction == 'COLUMN' && screenWidth > 475\" [id]=\"data?.id\" #videogrid\r\n [style.justifyContent]=\"getJustifyContent()\" (scroll)=\"onScroll()\">\r\n <ng-container *ngIf=\"!content?.display?.showImage\">\r\n <div class=\"video-section p-3 w-auto d-flex flex-column gap-2 align-items-center justify-content-center\"\r\n *ngFor=\"let video of content?.listItem?.data; let i = index\"\r\n [simpoColumnDirective]=\"style?.size\" [id]=\"data?.id\"\r\n [attr.style]=\"style?.removeGaps ? 'padding: 0px !important; margin: 0px !important;' : {}\">\r\n <ng-container *ngIf=\"content?.display?.showText\">\r\n <div\r\n class=\"w-fit position-relative d-flex align-items-center justify-content-center\">\r\n <ng-container *ngIf=\"style?.autoPlay && !style?.hoverPlay;else normalVideo\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100 cursor-pointer\" [muted]=\"style?.muteVideos\" autoplay\r\n (click)=\"openFullscreen(videoEl)\" loop></video>\r\n </ng-container>\r\n <ng-template #normalVideo>\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100\" [muted]=\"style?.muteVideos\" [controls]=\"!style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl, video.video)\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl, video.video)\"\r\n (click)=\"openFullscreen(videoEl)\"\r\n [ngClass]=\"{ 'cursor-pointer': style?.hoverPlay }\"></video>\r\n </ng-template>\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/172648c1769671647159play-fill-svgrepo-com.svg\"\r\n class=\"position-absolute\"\r\n *ngIf=\"!video?.video?.isVideoPlaying && style?.hoverPlay\"\r\n style=\"width:20px\">\r\n </div>\r\n <simpo-text-editor [(value)]=\"video.video.description\" [editable]=\"edit || false\"\r\n [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [itemIndex]=\"i\"></simpo-text-editor>\r\n </ng-container>\r\n <ng-container *ngIf=\"!content?.display?.showText\">\r\n <div class=\"video-wrapper position-relative\" [id]=\"data?.id\"\r\n [ngStyle]=\"{'width' : style?.size === 'Small' ? '180px' : style?.size === 'Medium' ? '220px' : '270px' }\">\r\n <ng-container *ngIf=\"style?.autoPlay && !style?.hoverPlay;else normalVideo\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100\" [muted]=\"style?.muteVideos\"\r\n [simpoVideoDirective]=\"style?.image\" [controls]=\"style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl, video.video)\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl, video.video)\"\r\n (click)=\"openFullVideo(video.video)\" autoplay loop></video>\r\n </ng-container>\r\n <ng-template #normalVideo>\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100\" [muted]=\"style?.muteVideos\"\r\n [simpoVideoDirective]=\"style?.image\" [controls]=\"!style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl, video.video)\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl, video.video)\"\r\n (click)=\"openFullVideo(video.video)\"></video>\r\n </ng-template>\r\n <div class=\"position-absolute products-cards w-100 p-3 d-flex gap-3 overflow-x-auto cursor-pointer\"\r\n *ngIf=\"video?.video?.products?.length > 0 && content?.display?.showProducts\">\r\n <ng-container *ngFor=\"let product of video.video.products\">\r\n <div class=\"product-badge\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <img [src]=\"product?.itemImages[0].imgUrl\" alt=\"Ring\"\r\n class=\"product-img\" /></a>\r\n <div class=\"product-info\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <div class=\"product-details d-flex flex-column gap-1\">\r\n <div class=\"product-title\">\r\n {{product.name.length > 16 ?\r\n product.name.trim().slice(0,15)\r\n +\r\n '...' :\r\n product.name }}\r\n </div>\r\n <div class=\"product-price d-flex align-items-start\">\r\n \u20B9{{product?.price.sellingPrice}}\r\n </div>\r\n </div>\r\n </a>\r\n <div\r\n class=\"d-flex align-items-center justify-content-center gap-1\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/700072c1770270395432favourite-svgrepo-com.svg\"\r\n style=\"width: 18px;\"\r\n (click)=\"toggleItemToFav($event, product, 'ADD')\"\r\n *ngIf=\"!product.whislist\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/304116c1770274132910favourite-svgrepo-com_(1).svg\"\r\n style=\"width: 18px;\" *ngIf=\"product.whislist\"\r\n (click)=\"toggleItemToFav($event, product, 'REMOVE')\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/695144c1770270669546cart-shopping-svgrepo-com.svg\"\r\n style=\"width:19px\"\r\n (click)=\"addItemToCart($event, product, 'ADD')\"\r\n *ngIf=\"product.quantity <= 0\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/795342c1770275383344shopping-cart-fill-svgrepo-com.svg\"\r\n style=\"width:19px\" *ngIf=\"product.quantity >= 1\"\r\n (click)=\"addItemToCart($event, product, 'SUBSTRACT')\">\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div *ngIf=\"!video?.video?.isVideoPlaying && style?.hoverPlay\"\r\n class=\"position-absolute d-flex align-items-center justify-content-center\"\r\n style=\"padding: 9px;top: 47%;left: 40%;background: lightgrey;border-radius: 50%;background: rgba(240, 240, 240, 0.6);backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/935060c1770214072755play-svgrepo-com.svg\"\r\n class=\"\" style=\"width:25px;margin-left:1.5px\">\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"content?.display?.showImage\">\r\n <div class=\"video-section p-3 w-auto d-flex flex-column gap-2 align-items-center justify-content-center\"\r\n *ngFor=\"let image of content?.listItem?.data; let i = index\"\r\n [simpoColumnDirective]=\"style?.size\" [id]=\"data?.id\"\r\n [attr.style]=\"style?.removeGaps ? 'padding: 0px !important; margin: 0px !important;' : {}\">\r\n <ng-container>\r\n <div class=\"video-wrapper position-relative\" [id]=\"data?.id\"\r\n [ngClass]=\"{'h-100':screenWidth<475}\"\r\n [ngStyle]=\"{'width' : screenWidth > 475 ? (style?.size === 'Small' ? '180px' : style?.size === 'Medium' ? '220px' : '270px'): '100%' }\">\r\n <img loading=\"lazy\" [src]=\"image.image.url\" [alt]=\"image.image.altText\"\r\n [simpoImageDirective]=\"image.image\"\r\n [attr.simpoObjectPosition]=\"image?.image?.fit !== 'contain' ? image.image?.position : null\"\r\n [simpoCorner]=\"style?.corners\" class=\"w-100 h-100\"\r\n [appImageEditor]=\"edit || false\" [imageData]=\"image.image\"\r\n [sectionId]=\"data?.id\" [itemIndex]=\"i\"\r\n [simpoObjectPosition]=\"image?.image?.position\"\r\n [class]=\"data?.id+image.image.id\">\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <button class=\"scroll-btn right p-0 d-flex align-items-center justify-content-center\"\r\n *ngIf=\"style?.direction === 'ROW' && isOverflowing\" (click)=\"scrollRight()\"\r\n [disabled]=\"atEnd\"><mat-icon>keyboard_arrow_right</mat-icon>\r\n </button>\r\n <!-- </ng-container> -->\r\n <!-- <ng-container *ngIf=\"style?.gridStyle == 'Style2'\">\r\n <div class=\"video-grid-section h-100\" [class.remove-gap]=\"style?.removeGaps\"\r\n [class.p-0]=\"style?.fullWidth\">\r\n <div class=\"video-section\" *ngFor=\"let video of content?.listItem?.data\" style=\"min-width:300px\"\r\n [ngClass]=\"{'position-relative d-flex align-items-center justify-content-center' : !video?.video?.isVideoPlaying && style?.hoverPlay}\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\" #videoEl\r\n [class]=\"data?.id+video.video.id\" [simpoObjectPosition]=\"video.video.position\"\r\n [src]=\"video.video.url\" loading=\"lazy\" class=\"h-100\" [controls]=\"!style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl,video.video)\"\r\n [muted]=\"style?.muteVideos\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl,video.video)\"\r\n (click)=\"openFullscreen(videoEl)\"\r\n [ngClass]=\"{'cursor-pointer' : style?.hoverPlay}\"></video>\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/172648c1769671647159play-fill-svgrepo-com.svg\"\r\n class=\"position-absolute\" *ngIf=\"!video?.video?.isVideoPlaying && style?.hoverPlay\"\r\n style=\"width:20%;height:20%;max-width:40px\">\r\n </div>\r\n </div>\r\n </ng-container> -->\r\n </div>\r\n </div>\r\n </div>\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 <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{height:auto;position:relative}.main-video-section{display:flex;justify-content:center}.main-image-section{margin-bottom:1.5rem}.mb-1{margin-bottom:1.5rem!important}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.wrap-scroll{overflow:scroll;flex-wrap:nowrap}@media screen and (min-width : 1200px){.grid{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;grid-gap:5px}.video-grid-section{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,170px);column-gap:10px;row-gap:10px;max-height:340px;overflow-x:scroll;overflow-y:hidden;grid-auto-columns:1fr;width:100%}.grid img:first-child:last-child{grid-column:1 / span 2}.grid img:first-child:nth-last-child(2),.grid img:nth-child(2):last-child{grid-column:span 1;height:100%}.grid img:nth-child(3n+1):not(:last-child){grid-column:1;grid-row:span 2;height:100%}.grid img:nth-child(3n+2){grid-column:2}.grid img:nth-child(3n+3){grid-column:2;align-self:end}.grid img:nth-child(3n+4){grid-column:1 / span 2}}.remove-gap{grid-gap:0!important}@media screen and (min-width: 760px){.cards{padding-bottom:24px}}@media screen and (max-width: 475px){.grid-columns{display:flex!important;width:100%;overflow-x:scroll}}.main-image-container{width:100%}@media screen and (max-width: 760px){.scroll-btn{display:none!important}}.right-column-container{display:flex;flex-direction:column;height:100%;padding:0}.image-half-height{height:50%!important;flex:1}.image-half-height:first-child{margin-bottom:2px}.scroll-btn{position:absolute;top:50%;z-index:10;font-size:18px;width:36px!important;height:36px!important;border-radius:50%;border:none}.w-fit{width:fit-content!important}.video-section{text-align:center}.video-section .video-wrapper{aspect-ratio:9 / 16;margin:0 auto;position:relative}.video-section .video-wrapper video{cursor:pointer}.video-section video{width:100%;height:100%;object-fit:cover}.scroll-btn.left{left:8px}.scroll-btn.right{right:8px}.product-badge{display:flex;align-items:center;gap:12px;padding:5px 10px;background:#fff9;border-radius:10px;width:90%;box-shadow:0 6px 18px #00000026;transition:background .3s ease,box-shadow .3s ease;min-width:230px}.product-badge:hover{background:#f0f0f0e6;box-shadow:0 8px 22px #0003}.product-img{width:42px;height:42px;object-fit:contain;flex-shrink:0}.product-info{display:flex;gap:4px}.grid-columns{grid-template-columns:50% 50%}.product-title{font-size:12px;font-weight:500;color:#1a1a1a;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-link{text-decoration:none;color:inherit}.products-cards{bottom:0;overflow-x:scroll}.product-price{font-size:16px;font-weight:700;color:#000}.mobile-stories-wrap{width:100%;overflow:hidden}.mobile-stories-scroll{display:flex;overflow-x:scroll;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;box-sizing:border-box;padding-bottom:12px}.mobile-stories-scroll::-webkit-scrollbar{display:none}.mobile-story-card{flex:0 0 72%;scroll-snap-align:center;position:relative;border-radius:14px;overflow:hidden;height:65vh;max-height:580px;margin-right:10px;flex-shrink:0}.mobile-story-card:last-child{margin-right:0}.mobile-story-card video,.mobile-story-card img{width:100%;height:100%;object-fit:cover;display:block}.mobile-story-text-overlay{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(to top,rgba(0,0,0,.65) 0%,transparent 100%);color:#fff;font-size:13px;font-weight:500;padding:50px 14px 18px;line-height:1.5;pointer-events:none}.mobile-story-play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#ffffff40;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);border-radius:50%;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;pointer-events:auto}@media screen and (min-width: 476px){.mobile-stories-wrap{display:none!important}}\n"], dependencies: [{ kind: "component", type: TextEditorComponent, selector: "simpo-text-editor", inputs: ["value", "editable", "isRTE", "sectionId", "label", "type", "inputTextIndex", "itemIndex"], outputs: ["valueChange"] }, { kind: "ngmodule", type: SimpoElementsModule }, { kind: "component", type: SvgDividerComponent, selector: "simpo-svg-divider", inputs: ["dividerType", "color"] }, { kind: "ngmodule", type: SimpoComponentModule }, { 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: 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: "directive", type:
26453
26453
  //Directives
26454
26454
  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: ColumnDirectiveDirective, selector: "[simpoColumnDirective]", inputs: ["simpoColumnDirective"] }, { 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: "directive", type: SpacingHorizontalDirective, selector: "[spacingHorizontal]", inputs: ["spacingHorizontal", "isHeader"] }, { kind: "directive", type: VideoDirectiveDirective, selector: "[simpoVideoDirective]", inputs: ["simpoVideoDirective"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: ImageDirectiveDirective, selector: "[simpoImageDirective]", inputs: ["simpoImageDirective"] }, { kind: "directive", type: ObjectPositionDirective, selector: "[simpoObjectPosition]", inputs: ["simpoObjectPosition"] }, { kind: "directive", type: ImageEditorDirective, selector: "[appImageEditor]", inputs: ["appImageEditor", "imageData", "sectionId", "showIcon", "iconData", "itemIndex"] }] }); }
26455
26455
  }
@@ -26476,7 +26476,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
26476
26476
  ImageDirectiveDirective,
26477
26477
  ObjectPositionDirective,
26478
26478
  ImageEditorDirective
26479
- ], providers: [MessageService], template: "<section [id]=\"data?.id\" [simpoBackground]=\"style?.background\" simpoHover (hovering)=\"showEditTabs($event)\"\r\n class=\"total-container\" [attr.style]=\"customClass\">\r\n <div #mainContainer [id]=\"data?.id\" [simpoOverlay]=\"style?.background\" [spacingHorizontal]=\"stylesLayout\">\r\n <div class=\"container-fluid\" [id]=\"data?.id\" [simpoBorder]=\"style?.border\" [simpoLayout]=\"style?.layout\">\r\n <div class=\"row w-100\" [id]=\"data?.id\" [simpoAnimation]=\"style?.animation\"\r\n [ngStyle]=\"style?.fullWidth ? {'padding': '0px'} : {}\"\r\n [ngClass]=\"{'justify-content-center' : screenWidth < 475}\">\r\n <!-- [ngClass]=\"{'w-100':style?.gridStyle === 'Style2'}\" -->\r\n <div *ngFor=\"let text of data?.content?.inputText; let i = index\">\r\n <div [simpoContentTitleSpace]=\"headingSpace\">\r\n <ng-container *ngIf=\"edit || (text.value && text.value.length > 0)\">\r\n <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"i\" [isRTE]=\"text.isRTE\"></simpo-text-editor>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <!-- <ng-container *ngIf=\"style?.gridStyle == 'Style1'\"> -->\r\n <button class=\"scroll-btn left p-0 d-flex align-items-center justify-content-center\"\r\n *ngIf=\"style?.direction === 'ROW' && isOverflowing\" (click)=\"scrollLeft()\"\r\n [disabled]=\"atStart\"><mat-icon>keyboard_arrow_left</mat-icon>\r\n </button>\r\n\r\n <div class=\"main-video-section\">\r\n <div class=\"main-image-section position-relative\"\r\n [class.row]=\"style?.direction == 'ROW' && screenWidth > 475\"\r\n [class.wrap-scroll]=\"style?.direction == 'ROW' && screenWidth > 475\"\r\n [class.flex-wrap]=\"style?.direction == 'COLUMN' && screenWidth > 475\" [id]=\"data?.id\" #videogrid\r\n [style.justifyContent]=\"getJustifyContent()\" (scroll)=\"onScroll()\"\r\n [ngClass]=\"{'d-grid grid-columns' : screenWidth < 475}\">\r\n <ng-container *ngIf=\"!content?.display?.showImage\">\r\n <div class=\"video-section p-3 w-auto d-flex flex-column gap-2 align-items-center justify-content-center\"\r\n *ngFor=\"let video of content?.listItem?.data; let i = index\" [simpoColumnDirective]=\"style?.size\"\r\n [id]=\"data?.id\"\r\n [attr.style]=\"style?.removeGaps ? 'padding: 0px !important; margin: 0px !important;' : {}\">\r\n <ng-container *ngIf=\"content?.display?.showText\">\r\n <div\r\n class=\"w-fit position-relative d-flex align-items-center justify-content-center\">\r\n <ng-container *ngIf=\"style?.autoPlay && !style?.hoverPlay;else normalVideo\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100 cursor-pointer\" [muted]=\"style?.muteVideos\" autoplay\r\n (click)=\"openFullscreen(videoEl)\" loop></video>\r\n </ng-container>\r\n <ng-template #normalVideo>\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100\" [muted]=\"style?.muteVideos\" [controls]=\"!style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl, video.video)\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl, video.video)\"\r\n (click)=\"openFullscreen(videoEl)\"\r\n [ngClass]=\"{ 'cursor-pointer': style?.hoverPlay }\"></video>\r\n </ng-template>\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/172648c1769671647159play-fill-svgrepo-com.svg\"\r\n class=\"position-absolute\"\r\n *ngIf=\"!video?.video?.isVideoPlaying && style?.hoverPlay\"\r\n style=\"width:20px\">\r\n </div>\r\n <simpo-text-editor [(value)]=\"video.video.description\"\r\n [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [itemIndex]=\"i\"></simpo-text-editor>\r\n </ng-container>\r\n <ng-container *ngIf=\"!content?.display?.showText\">\r\n <div class=\"video-wrapper position-relative\" [id]=\"data?.id\"\r\n [ngStyle]=\"{'width' : style?.size === 'Small' ? '180px' : style?.size === 'Medium' ? '220px' : '270px' }\">\r\n <ng-container *ngIf=\"style?.autoPlay && !style?.hoverPlay;else normalVideo\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100\" [muted]=\"style?.muteVideos\"\r\n [simpoVideoDirective]=\"style?.image\" [controls]=\"style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl, video.video)\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl, video.video)\"\r\n (click)=\"openFullVideo(video.video)\" autoplay loop></video>\r\n </ng-container>\r\n <ng-template #normalVideo>\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100\" [muted]=\"style?.muteVideos\"\r\n [simpoVideoDirective]=\"style?.image\" [controls]=\"!style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl, video.video)\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl, video.video)\"\r\n (click)=\"openFullVideo(video.video)\"></video>\r\n </ng-template>\r\n <div class=\"position-absolute products-cards w-100 p-3 d-flex gap-3 overflow-x-auto cursor-pointer\"\r\n *ngIf=\"video?.video?.products?.length > 0 && content?.display?.showProducts\">\r\n <ng-container *ngFor=\"let product of video.video.products\">\r\n <div class=\"product-badge\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <img [src]=\"product?.itemImages[0].imgUrl\" alt=\"Ring\"\r\n class=\"product-img\" /></a>\r\n <div class=\"product-info\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <div class=\"product-details d-flex flex-column gap-1\">\r\n <div class=\"product-title\">\r\n {{product.name.length > 16 ?\r\n product.name.trim().slice(0,15)\r\n +\r\n '...' :\r\n product.name }}\r\n </div>\r\n <div class=\"product-price d-flex align-items-start\">\r\n \u20B9{{product?.price.sellingPrice}}\r\n </div>\r\n </div>\r\n </a>\r\n <div\r\n class=\"d-flex align-items-center justify-content-center gap-1\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/700072c1770270395432favourite-svgrepo-com.svg\"\r\n style=\"width: 18px;\"\r\n (click)=\"toggleItemToFav($event, product, 'ADD')\"\r\n *ngIf=\"!product.whislist\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/304116c1770274132910favourite-svgrepo-com_(1).svg\"\r\n style=\"width: 18px;\" *ngIf=\"product.whislist\"\r\n (click)=\"toggleItemToFav($event, product, 'REMOVE')\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/695144c1770270669546cart-shopping-svgrepo-com.svg\"\r\n style=\"width:19px\"\r\n (click)=\"addItemToCart($event, product, 'ADD')\"\r\n *ngIf=\"product.quantity <= 0\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/795342c1770275383344shopping-cart-fill-svgrepo-com.svg\"\r\n style=\"width:19px\" *ngIf=\"product.quantity >= 1\"\r\n (click)=\"addItemToCart($event, product, 'SUBSTRACT')\">\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div *ngIf=\"!video?.video?.isVideoPlaying && style?.hoverPlay\"\r\n class=\"position-absolute d-flex align-items-center justify-content-center\"\r\n style=\"padding: 9px;top: 47%;left: 40%;background: lightgrey;border-radius: 50%;background: rgba(240, 240, 240, 0.6);backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/935060c1770214072755play-svgrepo-com.svg\"\r\n class=\"\" style=\"width:25px;margin-left:1.5px\">\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"content?.display?.showImage\">\r\n <div class=\"video-section p-3 w-auto d-flex flex-column gap-2 align-items-center justify-content-center\"\r\n *ngFor=\"let image of content?.listItem?.data; let i = index\" [simpoColumnDirective]=\"style?.size\"\r\n [id]=\"data?.id\"\r\n [attr.style]=\"style?.removeGaps ? 'padding: 0px !important; margin: 0px !important;' : {}\">\r\n <ng-container>\r\n <div class=\"video-wrapper position-relative\" [id]=\"data?.id\"\r\n [ngClass]=\"{'h-100':screenWidth<475}\"\r\n [ngStyle]=\"{'width' : screenWidth > 475 ? (style?.size === 'Small' ? '180px' : style?.size === 'Medium' ? '220px' : '270px'): '100%' }\">\r\n <img loading=\"lazy\" [src]=\"image.image.url\" [alt]=\"image.image.altText\"\r\n [simpoImageDirective]=\"image.image\"\r\n [attr.simpoObjectPosition]=\"image?.image?.fit !== 'contain' ? image.image?.position : null\"\r\n [simpoCorner]=\"style?.corners\" class=\"w-100 h-100\"\r\n [appImageEditor]=\"edit || false\" [imageData]=\"image.image\"\r\n [sectionId]=\"data?.id\" [itemIndex]=\"i\" [simpoObjectPosition]=\"image?.image?.position\"\r\n [class]=\"data?.id+image.image.id\">\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <button class=\"scroll-btn right p-0 d-flex align-items-center justify-content-center\"\r\n *ngIf=\"style?.direction === 'ROW' && isOverflowing\" (click)=\"scrollRight()\"\r\n [disabled]=\"atEnd\"><mat-icon>keyboard_arrow_right</mat-icon>\r\n </button>\r\n <!-- </ng-container> -->\r\n <!-- <ng-container *ngIf=\"style?.gridStyle == 'Style2'\">\r\n <div class=\"video-grid-section h-100\" [class.remove-gap]=\"style?.removeGaps\"\r\n [class.p-0]=\"style?.fullWidth\">\r\n <div class=\"video-section\" *ngFor=\"let video of content?.listItem?.data\" style=\"min-width:300px\"\r\n [ngClass]=\"{'position-relative d-flex align-items-center justify-content-center' : !video?.video?.isVideoPlaying && style?.hoverPlay}\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\" #videoEl\r\n [class]=\"data?.id+video.video.id\" [simpoObjectPosition]=\"video.video.position\"\r\n [src]=\"video.video.url\" loading=\"lazy\" class=\"h-100\" [controls]=\"!style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl,video.video)\"\r\n [muted]=\"style?.muteVideos\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl,video.video)\"\r\n (click)=\"openFullscreen(videoEl)\"\r\n [ngClass]=\"{'cursor-pointer' : style?.hoverPlay}\"></video>\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/172648c1769671647159play-fill-svgrepo-com.svg\"\r\n class=\"position-absolute\" *ngIf=\"!video?.video?.isVideoPlaying && style?.hoverPlay\"\r\n style=\"width:20%;height:20%;max-width:40px\">\r\n </div>\r\n </div>\r\n </ng-container> -->\r\n </div>\r\n </div>\r\n </div>\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 <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{height:auto;position:relative}.main-video-section{display:flex;justify-content:center}.main-image-section{margin-bottom:1.5rem}.mb-1{margin-bottom:1.5rem!important}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.wrap-scroll{overflow:scroll;flex-wrap:nowrap}@media screen and (min-width : 1200px){.grid{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;grid-gap:5px}.video-grid-section{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,170px);column-gap:10px;row-gap:10px;max-height:340px;overflow-x:scroll;overflow-y:hidden;grid-auto-columns:1fr;width:100%}.grid img:first-child:last-child{grid-column:1 / span 2}.grid img:first-child:nth-last-child(2),.grid img:nth-child(2):last-child{grid-column:span 1;height:100%}.grid img:nth-child(3n+1):not(:last-child){grid-column:1;grid-row:span 2;height:100%}.grid img:nth-child(3n+2){grid-column:2}.grid img:nth-child(3n+3){grid-column:2;align-self:end}.grid img:nth-child(3n+4){grid-column:1 / span 2}}.remove-gap{grid-gap:0!important}@media screen and (min-width: 760px){.cards{padding-bottom:24px}}.main-image-container{width:100%}@media screen and (max-width: 760px){.scroll-btn{display:none!important}}.right-column-container{display:flex;flex-direction:column;height:100%;padding:0}.image-half-height{height:50%!important;flex:1}.image-half-height:first-child{margin-bottom:2px}.scroll-btn{position:absolute;top:50%;z-index:10;font-size:18px;width:36px!important;height:36px!important;border-radius:50%;border:none}.w-fit{width:fit-content!important}.video-section{text-align:center}.video-section .video-wrapper{aspect-ratio:9 / 16;margin:0 auto;position:relative}.video-section .video-wrapper video{cursor:pointer}.video-section video{width:100%;height:100%;object-fit:cover}.scroll-btn.left{left:8px}.scroll-btn.right{right:8px}.product-badge{display:flex;align-items:center;gap:12px;padding:5px 10px;background:#fff9;border-radius:10px;width:90%;box-shadow:0 6px 18px #00000026;transition:background .3s ease,box-shadow .3s ease;min-width:230px}.product-badge:hover{background:#f0f0f0e6;box-shadow:0 8px 22px #0003}.product-img{width:42px;height:42px;object-fit:contain;flex-shrink:0}.product-info{display:flex;gap:4px}.grid-columns{grid-template-columns:50% 50%}.product-title{font-size:12px;font-weight:500;color:#1a1a1a;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-link{text-decoration:none;color:inherit}.products-cards{bottom:0;overflow-x:scroll}.product-price{font-size:16px;font-weight:700;color:#000}\n"] }]
26479
+ ], providers: [MessageService], template: "<section [id]=\"data?.id\" [simpoBackground]=\"style?.background\" simpoHover (hovering)=\"showEditTabs($event)\"\r\n class=\"total-container\" [attr.style]=\"customClass\">\r\n <div #mainContainer [id]=\"data?.id\" [simpoOverlay]=\"style?.background\" [spacingHorizontal]=\"stylesLayout\">\r\n <div class=\"container-fluid\" [id]=\"data?.id\" [simpoBorder]=\"style?.border\" [simpoLayout]=\"style?.layout\">\r\n <div class=\"row w-100\" [id]=\"data?.id\" [simpoAnimation]=\"style?.animation\"\r\n [ngStyle]=\"style?.fullWidth ? {'padding': '0px'} : {}\"\r\n [ngClass]=\"{'justify-content-center' : screenWidth < 475}\">\r\n <!-- [ngClass]=\"{'w-100':style?.gridStyle === 'Style2'}\" -->\r\n <div *ngFor=\"let text of data?.content?.inputText; let i = index\">\r\n <div [simpoContentTitleSpace]=\"headingSpace\">\r\n <ng-container *ngIf=\"edit || (text.value && text.value.length > 0)\">\r\n <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\"\r\n [inputTextIndex]=\"i\" [isRTE]=\"text.isRTE\"></simpo-text-editor>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <!-- <ng-container *ngIf=\"style?.gridStyle == 'Style1'\"> -->\r\n <button class=\"scroll-btn left p-0 d-flex align-items-center justify-content-center\"\r\n *ngIf=\"style?.direction === 'ROW' && isOverflowing\" (click)=\"scrollLeft()\"\r\n [disabled]=\"atStart\"><mat-icon>keyboard_arrow_left</mat-icon>\r\n </button>\r\n\r\n <div class=\"main-video-section\">\r\n\r\n <!-- Mobile Stories Peek Carousel (< 475px) -->\r\n <ng-container *ngIf=\"screenWidth < 475\">\r\n <div class=\"mobile-stories-wrap\">\r\n <div class=\"mobile-stories-scroll\">\r\n <ng-container *ngIf=\"!content?.display?.showImage\">\r\n <div class=\"mobile-story-card\"\r\n *ngFor=\"let video of content?.listItem?.data; let i = index\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [src]=\"video.video.url\"\r\n [muted]=\"true\" autoplay loop playsinline class=\"cursor-pointer\"\r\n (click)=\"openFullVideo(video.video)\"></video>\r\n <!-- <div class=\"mobile-story-play-btn\" (click)=\"openFullVideo(video.video)\">\r\n <img\r\n src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/935060c1770214072755play-svgrepo-com.svg\">\r\n </div> -->\r\n <div class=\"mobile-story-text-overlay\" *ngIf=\"video?.video?.description && content?.display?.showText\">\r\n {{ video.video.description }}\r\n </div>\r\n <div class=\"position-absolute products-cards w-100 p-2 d-flex gap-2 overflow-x-auto cursor-pointer\"\r\n *ngIf=\"video?.video?.products?.length > 0 && content?.display?.showProducts\">\r\n <ng-container *ngFor=\"let product of video.video.products\">\r\n <div class=\"product-badge\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <img [src]=\"product?.itemImages[0].imgUrl\" alt=\"\"\r\n class=\"product-img\" /></a>\r\n <div class=\"product-info\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <div class=\"product-details d-flex flex-column gap-1\">\r\n <div class=\"product-title\">{{product.name.length > 16 ?\r\n product.name.trim().slice(0,15) + '...' :\r\n product.name}}</div>\r\n <div class=\"product-price d-flex align-items-start\">\r\n \u20B9{{product?.price.sellingPrice}}</div>\r\n </div>\r\n </a>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"content?.display?.showImage\">\r\n <div class=\"mobile-story-card\"\r\n *ngFor=\"let image of content?.listItem?.data; let i = index\">\r\n <img loading=\"lazy\" [src]=\"image.image.url\" [alt]=\"image.image.altText\"\r\n [simpoCorner]=\"style?.corners\">\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- Desktop / Tablet Layout (>= 475px) -->\r\n <div class=\"main-image-section position-relative\" [class.d-none]=\"screenWidth < 475\"\r\n [class.row]=\"style?.direction == 'ROW' && screenWidth > 475\"\r\n [class.wrap-scroll]=\"style?.direction == 'ROW' && screenWidth > 475\"\r\n [class.flex-wrap]=\"style?.direction == 'COLUMN' && screenWidth > 475\" [id]=\"data?.id\" #videogrid\r\n [style.justifyContent]=\"getJustifyContent()\" (scroll)=\"onScroll()\">\r\n <ng-container *ngIf=\"!content?.display?.showImage\">\r\n <div class=\"video-section p-3 w-auto d-flex flex-column gap-2 align-items-center justify-content-center\"\r\n *ngFor=\"let video of content?.listItem?.data; let i = index\"\r\n [simpoColumnDirective]=\"style?.size\" [id]=\"data?.id\"\r\n [attr.style]=\"style?.removeGaps ? 'padding: 0px !important; margin: 0px !important;' : {}\">\r\n <ng-container *ngIf=\"content?.display?.showText\">\r\n <div\r\n class=\"w-fit position-relative d-flex align-items-center justify-content-center\">\r\n <ng-container *ngIf=\"style?.autoPlay && !style?.hoverPlay;else normalVideo\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100 cursor-pointer\" [muted]=\"style?.muteVideos\" autoplay\r\n (click)=\"openFullscreen(videoEl)\" loop></video>\r\n </ng-container>\r\n <ng-template #normalVideo>\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100\" [muted]=\"style?.muteVideos\" [controls]=\"!style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl, video.video)\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl, video.video)\"\r\n (click)=\"openFullscreen(videoEl)\"\r\n [ngClass]=\"{ 'cursor-pointer': style?.hoverPlay }\"></video>\r\n </ng-template>\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/172648c1769671647159play-fill-svgrepo-com.svg\"\r\n class=\"position-absolute\"\r\n *ngIf=\"!video?.video?.isVideoPlaying && style?.hoverPlay\"\r\n style=\"width:20px\">\r\n </div>\r\n <simpo-text-editor [(value)]=\"video.video.description\" [editable]=\"edit || false\"\r\n [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [itemIndex]=\"i\"></simpo-text-editor>\r\n </ng-container>\r\n <ng-container *ngIf=\"!content?.display?.showText\">\r\n <div class=\"video-wrapper position-relative\" [id]=\"data?.id\"\r\n [ngStyle]=\"{'width' : style?.size === 'Small' ? '180px' : style?.size === 'Medium' ? '220px' : '270px' }\">\r\n <ng-container *ngIf=\"style?.autoPlay && !style?.hoverPlay;else normalVideo\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100\" [muted]=\"style?.muteVideos\"\r\n [simpoVideoDirective]=\"style?.image\" [controls]=\"style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl, video.video)\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl, video.video)\"\r\n (click)=\"openFullVideo(video.video)\" autoplay loop></video>\r\n </ng-container>\r\n <ng-template #normalVideo>\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\"\r\n #videoEl [class]=\"data?.id + video.video.id\" [src]=\"video.video.url\"\r\n class=\"h-100\" [muted]=\"style?.muteVideos\"\r\n [simpoVideoDirective]=\"style?.image\" [controls]=\"!style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl, video.video)\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl, video.video)\"\r\n (click)=\"openFullVideo(video.video)\"></video>\r\n </ng-template>\r\n <div class=\"position-absolute products-cards w-100 p-3 d-flex gap-3 overflow-x-auto cursor-pointer\"\r\n *ngIf=\"video?.video?.products?.length > 0 && content?.display?.showProducts\">\r\n <ng-container *ngFor=\"let product of video.video.products\">\r\n <div class=\"product-badge\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <img [src]=\"product?.itemImages[0].imgUrl\" alt=\"Ring\"\r\n class=\"product-img\" /></a>\r\n <div class=\"product-info\">\r\n <a [href]=\"product.redirectionUrl\" class=\"product-link\">\r\n <div class=\"product-details d-flex flex-column gap-1\">\r\n <div class=\"product-title\">\r\n {{product.name.length > 16 ?\r\n product.name.trim().slice(0,15)\r\n +\r\n '...' :\r\n product.name }}\r\n </div>\r\n <div class=\"product-price d-flex align-items-start\">\r\n \u20B9{{product?.price.sellingPrice}}\r\n </div>\r\n </div>\r\n </a>\r\n <div\r\n class=\"d-flex align-items-center justify-content-center gap-1\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/700072c1770270395432favourite-svgrepo-com.svg\"\r\n style=\"width: 18px;\"\r\n (click)=\"toggleItemToFav($event, product, 'ADD')\"\r\n *ngIf=\"!product.whislist\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/304116c1770274132910favourite-svgrepo-com_(1).svg\"\r\n style=\"width: 18px;\" *ngIf=\"product.whislist\"\r\n (click)=\"toggleItemToFav($event, product, 'REMOVE')\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/695144c1770270669546cart-shopping-svgrepo-com.svg\"\r\n style=\"width:19px\"\r\n (click)=\"addItemToCart($event, product, 'ADD')\"\r\n *ngIf=\"product.quantity <= 0\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/795342c1770275383344shopping-cart-fill-svgrepo-com.svg\"\r\n style=\"width:19px\" *ngIf=\"product.quantity >= 1\"\r\n (click)=\"addItemToCart($event, product, 'SUBSTRACT')\">\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div *ngIf=\"!video?.video?.isVideoPlaying && style?.hoverPlay\"\r\n class=\"position-absolute d-flex align-items-center justify-content-center\"\r\n style=\"padding: 9px;top: 47%;left: 40%;background: lightgrey;border-radius: 50%;background: rgba(240, 240, 240, 0.6);backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/935060c1770214072755play-svgrepo-com.svg\"\r\n class=\"\" style=\"width:25px;margin-left:1.5px\">\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"content?.display?.showImage\">\r\n <div class=\"video-section p-3 w-auto d-flex flex-column gap-2 align-items-center justify-content-center\"\r\n *ngFor=\"let image of content?.listItem?.data; let i = index\"\r\n [simpoColumnDirective]=\"style?.size\" [id]=\"data?.id\"\r\n [attr.style]=\"style?.removeGaps ? 'padding: 0px !important; margin: 0px !important;' : {}\">\r\n <ng-container>\r\n <div class=\"video-wrapper position-relative\" [id]=\"data?.id\"\r\n [ngClass]=\"{'h-100':screenWidth<475}\"\r\n [ngStyle]=\"{'width' : screenWidth > 475 ? (style?.size === 'Small' ? '180px' : style?.size === 'Medium' ? '220px' : '270px'): '100%' }\">\r\n <img loading=\"lazy\" [src]=\"image.image.url\" [alt]=\"image.image.altText\"\r\n [simpoImageDirective]=\"image.image\"\r\n [attr.simpoObjectPosition]=\"image?.image?.fit !== 'contain' ? image.image?.position : null\"\r\n [simpoCorner]=\"style?.corners\" class=\"w-100 h-100\"\r\n [appImageEditor]=\"edit || false\" [imageData]=\"image.image\"\r\n [sectionId]=\"data?.id\" [itemIndex]=\"i\"\r\n [simpoObjectPosition]=\"image?.image?.position\"\r\n [class]=\"data?.id+image.image.id\">\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <button class=\"scroll-btn right p-0 d-flex align-items-center justify-content-center\"\r\n *ngIf=\"style?.direction === 'ROW' && isOverflowing\" (click)=\"scrollRight()\"\r\n [disabled]=\"atEnd\"><mat-icon>keyboard_arrow_right</mat-icon>\r\n </button>\r\n <!-- </ng-container> -->\r\n <!-- <ng-container *ngIf=\"style?.gridStyle == 'Style2'\">\r\n <div class=\"video-grid-section h-100\" [class.remove-gap]=\"style?.removeGaps\"\r\n [class.p-0]=\"style?.fullWidth\">\r\n <div class=\"video-section\" *ngFor=\"let video of content?.listItem?.data\" style=\"min-width:300px\"\r\n [ngClass]=\"{'position-relative d-flex align-items-center justify-content-center' : !video?.video?.isVideoPlaying && style?.hoverPlay}\">\r\n <video loading=\"lazy\" [simpoCorner]=\"style?.corners\" [id]=\"data?.id\" #videoEl\r\n [class]=\"data?.id+video.video.id\" [simpoObjectPosition]=\"video.video.position\"\r\n [src]=\"video.video.url\" loading=\"lazy\" class=\"h-100\" [controls]=\"!style?.hoverPlay\"\r\n (mouseenter)=\"style?.hoverPlay && onVideoHover(videoEl,video.video)\"\r\n [muted]=\"style?.muteVideos\"\r\n (mouseleave)=\"style?.hoverPlay && onVideoLeave(videoEl,video.video)\"\r\n (click)=\"openFullscreen(videoEl)\"\r\n [ngClass]=\"{'cursor-pointer' : style?.hoverPlay}\"></video>\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/172648c1769671647159play-fill-svgrepo-com.svg\"\r\n class=\"position-absolute\" *ngIf=\"!video?.video?.isVideoPlaying && style?.hoverPlay\"\r\n style=\"width:20%;height:20%;max-width:40px\">\r\n </div>\r\n </div>\r\n </ng-container> -->\r\n </div>\r\n </div>\r\n </div>\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 <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{height:auto;position:relative}.main-video-section{display:flex;justify-content:center}.main-image-section{margin-bottom:1.5rem}.mb-1{margin-bottom:1.5rem!important}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.wrap-scroll{overflow:scroll;flex-wrap:nowrap}@media screen and (min-width : 1200px){.grid{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;grid-gap:5px}.video-grid-section{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,170px);column-gap:10px;row-gap:10px;max-height:340px;overflow-x:scroll;overflow-y:hidden;grid-auto-columns:1fr;width:100%}.grid img:first-child:last-child{grid-column:1 / span 2}.grid img:first-child:nth-last-child(2),.grid img:nth-child(2):last-child{grid-column:span 1;height:100%}.grid img:nth-child(3n+1):not(:last-child){grid-column:1;grid-row:span 2;height:100%}.grid img:nth-child(3n+2){grid-column:2}.grid img:nth-child(3n+3){grid-column:2;align-self:end}.grid img:nth-child(3n+4){grid-column:1 / span 2}}.remove-gap{grid-gap:0!important}@media screen and (min-width: 760px){.cards{padding-bottom:24px}}@media screen and (max-width: 475px){.grid-columns{display:flex!important;width:100%;overflow-x:scroll}}.main-image-container{width:100%}@media screen and (max-width: 760px){.scroll-btn{display:none!important}}.right-column-container{display:flex;flex-direction:column;height:100%;padding:0}.image-half-height{height:50%!important;flex:1}.image-half-height:first-child{margin-bottom:2px}.scroll-btn{position:absolute;top:50%;z-index:10;font-size:18px;width:36px!important;height:36px!important;border-radius:50%;border:none}.w-fit{width:fit-content!important}.video-section{text-align:center}.video-section .video-wrapper{aspect-ratio:9 / 16;margin:0 auto;position:relative}.video-section .video-wrapper video{cursor:pointer}.video-section video{width:100%;height:100%;object-fit:cover}.scroll-btn.left{left:8px}.scroll-btn.right{right:8px}.product-badge{display:flex;align-items:center;gap:12px;padding:5px 10px;background:#fff9;border-radius:10px;width:90%;box-shadow:0 6px 18px #00000026;transition:background .3s ease,box-shadow .3s ease;min-width:230px}.product-badge:hover{background:#f0f0f0e6;box-shadow:0 8px 22px #0003}.product-img{width:42px;height:42px;object-fit:contain;flex-shrink:0}.product-info{display:flex;gap:4px}.grid-columns{grid-template-columns:50% 50%}.product-title{font-size:12px;font-weight:500;color:#1a1a1a;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-link{text-decoration:none;color:inherit}.products-cards{bottom:0;overflow-x:scroll}.product-price{font-size:16px;font-weight:700;color:#000}.mobile-stories-wrap{width:100%;overflow:hidden}.mobile-stories-scroll{display:flex;overflow-x:scroll;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;box-sizing:border-box;padding-bottom:12px}.mobile-stories-scroll::-webkit-scrollbar{display:none}.mobile-story-card{flex:0 0 72%;scroll-snap-align:center;position:relative;border-radius:14px;overflow:hidden;height:65vh;max-height:580px;margin-right:10px;flex-shrink:0}.mobile-story-card:last-child{margin-right:0}.mobile-story-card video,.mobile-story-card img{width:100%;height:100%;object-fit:cover;display:block}.mobile-story-text-overlay{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(to top,rgba(0,0,0,.65) 0%,transparent 100%);color:#fff;font-size:13px;font-weight:500;padding:50px 14px 18px;line-height:1.5;pointer-events:none}.mobile-story-play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#ffffff40;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);border-radius:50%;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;pointer-events:auto}@media screen and (min-width: 476px){.mobile-stories-wrap{display:none!important}}\n"] }]
26480
26480
  }], ctorParameters: () => [{ type: i6$1.MessageService }, { type: CartService }, { type: i1$2.MatDialog }], propDecorators: { videogrid: [{
26481
26481
  type: ViewChild,
26482
26482
  args: ['videogrid', { static: false }]