{"version":3,"file":"chunk-bad7rafr.js","sources":["packages/promo/app/src/promo-content-loader/promo-client-content-loader.service.ts","packages/promo/app/src/promo-content-loader/promo-content-loader.service.ts","packages/promo/app/src/promo-content-loader/collapsible-container/collapsible-container.component.ts","packages/promo/app/src/promo-content-loader/collapsible-container/collapsible-container.component.html","packages/promo/app/src/promo-content-loader/promo.models.ts","packages/promo/app/src/promo-content-loader/promo-content-loader.component.html","packages/promo/app/src/promo-content-loader/promo-content-loader.component.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { WindowRef } from '@frontend/vanilla/core';\n\n@Injectable()\nexport class PromoClientContentLoader {\n constructor(private windowRef: WindowRef) {}\n\n SetClientContentObject(promoItemChildContent: any): void {\n // eslint:disable-next-line:no-string-literal\n this.windowRef.nativeWindow['promoContent'] = JSON.parse(promoItemChildContent);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { EngagementApiService } from '@frontend/promo-utils';\nimport { NavigationService } from '@frontend/vanilla/core';\nimport { Observable } from 'rxjs';\n\n@Injectable()\nexport class PromoContentLoaderService {\n constructor(\n private navigation: NavigationService,\n private api: EngagementApiService,\n ) {}\n\n getPromoRenderedContentForCurrentPage(): Observable {\n // eslint:disable-next-line:typedef\n let requestUrl = this.navigation.location.absUrl();\n if (this.isPathToGetEngagementTool(requestUrl)) {\n requestUrl = requestUrl.replace('/promo/ep/', '/promo/engagement/');\n }\n requestUrl = requestUrl.replace('/promo/', '/promo/api/content/');\n\n return this.api.get(requestUrl, null, { resolveWithFullResponse: true });\n }\n\n private isPathToGetEngagementTool(path: string) {\n // getting index from where to remove the language code\n // eslint:disable-next-line:typedef\n return path.includes('/promo/ep/');\n }\n}\n","import { NgClass } from '@angular/common';\nimport { Component, Input } from '@angular/core';\n\nimport { DynamicHtmlDirective } from '@frontend/vanilla/core';\n\nimport { PromoClientContentLoader } from '../promo-client-content-loader.service';\nimport { PromoContentLoaderService } from '../promo-content-loader.service';\nimport { PromoPageDomManipulatorService } from '../promo-page-dommanipulator.service';\n\n@Component({\n selector: 'collapsible-container',\n templateUrl: 'collapsible-container.component.html',\n standalone: true,\n imports: [NgClass, DynamicHtmlDirective],\n providers: [PromoContentLoaderService, PromoPageDomManipulatorService, PromoClientContentLoader],\n})\nexport class CollapsibleContainerComponent {\n collapsed: boolean = true;\n @Input() sitecoreHtml: string;\n @Input() h1Header: string;\n @Input() h2Header: string;\n clickEvent() {\n this.collapsed = !this.collapsed;\n }\n}\n","

{{ h1Header }}

\n
\n
\n

{{ h2Header }}

\n
\n
\n
\n
\n
\n \n
\n","export class PromoPageDetails {\n PromoPageRenderingFromSitecore: PromoPageContent;\n PromoPageMetaData: PromoPageMetaData;\n SerializedPromoChildContent: any;\n}\n\nexport class PromoPageContent {\n Title: string;\n PageDescription: string;\n BodyClass: string;\n SitecoreHtml: string;\n AssetManagementHead: string;\n AssetManagementBottom: string;\n ContentEditorUrl: string;\n PageEditorUrl: string;\n Product: string;\n ProxyRule: string;\n EditorialWarningMessages: string[];\n Layout: string;\n IsEmptyDisclaimerLayoutWithOutStyles: string;\n IsEmptyLayout: string;\n IsCollapsibleContainer: boolean;\n H1Header: string;\n H2Header: string;\n}\n\nexport class PromoPageMetaData {\n ShowSitecoreNavButtons: boolean;\n}\n","@for (warning of promoPageContent.EditorialWarningMessages; track warning) {\n
\n {{ warning }}\n
\n}\n\n@if (promoPageContent.ContentEditorUrl && promoPageContent.PageEditorUrl && promoPageMetaData.ShowSitecoreNavButtons) {\n
\n Content Editor\n Page Editor\n
\n}\n\n@if (promoPageContent.IsCollapsibleContainer) {\n @switch (contentState) {\n @case ('success') {\n \n }\n @case ('notfound') {\n \n }\n @case ('criticalError') {\n \n }\n }\n}\n@if (!promoPageContent.IsCollapsibleContainer) {\n @switch (contentState) {\n @case ('success') {\n
\n }\n @case ('notfound') {\n \n }\n @case ('criticalError') {\n \n }\n }\n}\n","import { Component, OnDestroy } from '@angular/core';\nimport { RouterModule } from '@angular/router';\n\nimport {\n DynamicHtmlDirective,\n LoadingIndicatorHandler,\n LoadingIndicatorService,\n NavigationService,\n PlainLinkComponent,\n UserLoginEvent,\n UserLogoutEvent,\n UserService,\n} from '@frontend/vanilla/core';\nimport { PageMatrixComponent } from '@frontend/vanilla/features/content';\nimport { Subject } from 'rxjs';\nimport { filter, takeUntil } from 'rxjs/operators';\n\nimport { CollapsibleContainerComponent } from './collapsible-container/collapsible-container.component';\nimport { PromoClientContentLoader } from './promo-client-content-loader.service';\nimport { PromoContentLoaderService } from './promo-content-loader.service';\nimport { PromoPageDomManipulatorService } from './promo-page-dommanipulator.service';\nimport { PromoPageContent, PromoPageDetails, PromoPageMetaData } from './promo.models';\n\n@Component({\n selector: 'promo-content-loader',\n templateUrl: 'promo-content-loader.component.html',\n standalone: true,\n imports: [PlainLinkComponent, CollapsibleContainerComponent, PageMatrixComponent, DynamicHtmlDirective, RouterModule],\n providers: [PromoContentLoaderService, PromoPageDomManipulatorService, PromoClientContentLoader],\n})\nexport class PromoContentLoaderComponent implements OnDestroy {\n markup: string = '';\n content: string;\n contentState: string;\n promoPageContent: PromoPageContent = new PromoPageContent();\n promoPageMetaData: PromoPageMetaData = new PromoPageMetaData();\n private readonly destroy$ = new Subject();\n\n constructor(\n private loadingIndicator: LoadingIndicatorService,\n private navigation: NavigationService,\n private promoContentService: PromoContentLoaderService,\n private promoDomManipulator: PromoPageDomManipulatorService,\n private promoClientContentLoader: PromoClientContentLoader,\n private userService: UserService,\n ) {\n this.navigation.locationChange.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.loadContent();\n });\n this.userService.events\n .pipe(\n filter((e) => e instanceof UserLoginEvent || e instanceof UserLogoutEvent),\n takeUntil(this.destroy$),\n )\n .subscribe(() => {\n this.loadContent();\n });\n }\n\n ngOnDestroy() {\n this.contentState = '';\n this.promoPageContent = {} as PromoPageContent;\n this.promoPageMetaData = {} as PromoPageMetaData;\n this.promoDomManipulator.removeCustomAssets();\n this.destroy$.next();\n this.destroy$.complete();\n //unsubscribe from events\n //Try to undo what this component has loaded\n }\n\n loadContent() {\n if (this.isPathToGetPreviewFrame(this.navigation.location.path())) {\n return;\n }\n const loadingIndicatorHandler = this.loadingIndicator.start();\n this.promoContentService\n .getPromoRenderedContentForCurrentPage()\n .pipe(takeUntil(this.destroy$))\n .subscribe({\n next: (response) => {\n this.processSuccessHttpResponse(response.body, loadingIndicatorHandler);\n },\n error: (error: unknown) => {\n this.processErrorHttpResponse(error, loadingIndicatorHandler);\n },\n });\n }\n\n // eslint:disable-next-line:typedef\n private isPathToGetPreviewFrame(path: string) {\n // getting index from where to remove the language code\n // eslint:disable-next-line:typedef\n const indexOfAreaStart = path.substr(1).indexOf('/') + 1;\n\n return path.substring(indexOfAreaStart) === '/promo/preview';\n }\n\n private processSuccessHttpResponse(promoPageDetailsObject: PromoPageDetails, loadingIndicatorHandler: LoadingIndicatorHandler): void {\n this.contentState = 'success';\n this.promoPageContent = promoPageDetailsObject.PromoPageRenderingFromSitecore;\n this.promoPageMetaData = promoPageDetailsObject.PromoPageMetaData;\n this.promoClientContentLoader.SetClientContentObject(promoPageDetailsObject.SerializedPromoChildContent);\n this.promoDomManipulator.manipulateDom(this.promoPageContent);\n loadingIndicatorHandler.done();\n }\n\n private processErrorHttpResponse(httpError: any, loadingIndicatorHandler: LoadingIndicatorHandler): void {\n if (httpError.status === 404) {\n this.contentState = 'notfound';\n }\n\n if (httpError.status === 500) {\n this.contentState = 'criticalError';\n }\n\n loadingIndicatorHandler.done();\n }\n}\n"],"names":["PromoClientContentLoader","constructor","windowRef","SetClientContentObject","promoItemChildContent","nativeWindow","JSON","parse","ɵɵinject","WindowRef","factory","ɵfac","_PromoClientContentLoader","PromoContentLoaderService","navigation","api","getPromoRenderedContentForCurrentPage","requestUrl","location","absUrl","isPathToGetEngagementTool","replace","get","resolveWithFullResponse","path","includes","NavigationService","EngagementApiService","_PromoContentLoaderService","CollapsibleContainerComponent","collapsed","clickEvent","selectors","inputs","sitecoreHtml","h1Header","h2Header","standalone","features","ɵɵProvidersFeature","PromoPageDomManipulatorService","ɵɵStandaloneFeature","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","ɵɵelement","ɵɵadvance","ɵɵtextInterpolate","ɵɵproperty","ɵɵpureFunction2","_c0","NgClass","DynamicHtmlDirective","encapsulation","_CollapsibleContainerComponent","PromoPageContent","PromoPageMetaData","warning_r1","ctx_r1","promoPageContent","ContentEditorUrl","ɵɵsanitizeUrl","PageEditorUrl","SitecoreHtml","H2Header","H1Header","ɵɵtemplate","PromoContentLoaderComponent_Conditional_3_Case_0_Template","PromoContentLoaderComponent_Conditional_3_Case_1_Template","PromoContentLoaderComponent_Conditional_3_Case_2_Template","f","ɵɵconditional","tmp_1_0","contentState","PromoContentLoaderComponent_Conditional_4_Case_0_Template","PromoContentLoaderComponent_Conditional_4_Case_1_Template","PromoContentLoaderComponent_Conditional_4_Case_2_Template","PromoContentLoaderComponent","loadingIndicator","promoContentService","promoDomManipulator","promoClientContentLoader","userService","markup","promoPageMetaData","destroy$","Subject","locationChange","pipe","takeUntil","subscribe","loadContent","events","filter","e","UserLoginEvent","UserLogoutEvent","ngOnDestroy","removeCustomAssets","next","complete","isPathToGetPreviewFrame","loadingIndicatorHandler","start","response","processSuccessHttpResponse","body","error","processErrorHttpResponse","indexOfAreaStart","substr","indexOf","substring","promoPageDetailsObject","PromoPageRenderingFromSitecore","SerializedPromoChildContent","manipulateDom","done","httpError","status","ɵɵdirectiveInject","LoadingIndicatorService","UserService","x","ɵɵrepeaterCreate","PromoContentLoaderComponent_For_1_Template","ɵɵrepeaterTrackByIdentity","PromoContentLoaderComponent_Conditional_2_Template","PromoContentLoaderComponent_Conditional_3_Template","PromoContentLoaderComponent_Conditional_4_Template","ɵɵrepeater","EditorialWarningMessages","ShowSitecoreNavButtons","IsCollapsibleContainer","PlainLinkComponent","PageMatrixComponent","RouterModule","_PromoContentLoaderComponent"],"mappings":"2gBAKA,IAAaA,CAAAA,CAAAA,CAAw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