1import{j as x}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-X5RNINAL.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-GM7QTX3Q.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-3VE4T5X3.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-WB5FSQCV.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-NA7KRUKM.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-W5YER7AF.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-IGZIRJQN.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-JH7E5ALJ.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-VDTBCEHH.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-GUJRV77H.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-OAFWGKHG.js";import{a as S}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-R6ATEHOJ.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-TMQTKFW7.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-ME6OOKIW.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-TZWBTES7.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-LXVF7CF2.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-MXMRLGMX.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-55LBUOLS.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-2IMUUWJB.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-VXK3FO45.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-ASPNFSTE.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-OTH5IOCH.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-5FXY6EHC.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-UYV7J5M3.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-FJVWFSSK.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-WSQHVBSB.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-KHZYCMEO.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-LUVC62E7.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-ZOQH4BRJ.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-GWKWBQ3P.js";import{c as E}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-3KHHOKR7.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-NJNVRHKN.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-DKZN7K64.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-BYG2IWSB.js";import{w as T}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-DKUNSAXA.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-LBCPBUBK.js";import{Qa as v,l as C}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-VLHNUVO3.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-KFW34AI3.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-G3XYAJPK.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-WXUJ2XVZ.js";import"@angular/core";import{CommonModule as ge}from"@angular/common";import{TranslateModule as he}from"@ngx-translate/core";import"@angular/core";import"@telenet/ng-lib-ocapi";var d=(()=>{class i{static{this.MESSAGE_GROUP="responsive-grid"}static{this.CUSTOM_EVENT_TOGGLE="responsiveGrid:toggle"}static{this.HIDE_ACTION="hide"}static{this.SHOW_ACTION="show"}static{this.AUTHENTICATION_DEFAULT="default"}static{this.AUTHENTICATION_UNAUTHENTICATED="unauthenticated"}static{this.AUTHENTICATION_AUTHENTICATED="authenticated"}static{this.DISPLAY_NONE_CSS_CLASS="display--none"}}return i})();var _=(function(i){return i.SCOPES="scopes",i.SEGMENTS="segments",i.AUTHENTICATION="authentication",i})(_||{});import{EventCategoryEnum as y,EventTypeEnum as V}from"@telenet/ng-lib-datalayer";import*as e from"@angular/core";import*as g from"@telenet/ng-lib-ocapi";import*as I from"@telenet/ng-lib-datalayer";import*as l from"@angular/common";import{EventEmitter as O}from"@angular/core";import{AsyncSubject as G,forkJoin as D,Subject as H,takeUntil as U}from"rxjs";import*as c from"@angular/core";var b=(()=>{class i{constructor(t,o){this._elemRef=t,this._renderer=o,this.contentRendered=new O,this.store=new Map,this.unsubscribe$=new H}ngOnInit(){if(this.contextHub=window.ContextHub,this.editMode||!this.segments){this._elemRef.nativeElement.style.display="block";return}this.executeToggle(!1),this.initEvaluation()}initEvaluation(){this.segmentArray=this.segments.split(",").map(o=>this.createSegmentModel(o));let t="ch_store_ready";this.contextHub.eventing.on(this.contextHub.Constants.EVENT_STORE_READY,()=>{try{let o=this.deriveUniqueStoresFromSegment();this.evaluate(o),this.unbindCHEvent(t)}catch{}},t,!0)}evaluate(t){D(t.map(o=>this.getStore(o))).pipe(U(this.unsubscribe$)).subscribe({next:()=>this.checkSegmentValidityForAll(),error:o=>console.error("Error fetching CH store:",o)})}createSegmentModel(t){let o=t.split("_"),r=o[0],s=o[1]==="true";return{path:r,negate:s}}deriveUniqueStoresFromSegment(){let t=this.segmentArray.flatMap(o=>this.getStoreKeysFromSegment(o.path));return Array.from(new Set(t))}checkSegmentValidityForAll(){let t=this.segmentArray.map(r=>this.createValidSegmentList(r)),o=this.negateSegmentValues(t);this.showElement=this.segmentLogic==="AND"?o.every(r=>r):o.some(r=>r),this.enableNegation&&(this.showElement=!this.showElement),this.executeToggle(this.showElement)}createValidSegmentList(t){return this.contextHub.SegmentEngine.SegmentManager.invalidateCache(),this.hasResolvedSegment(t.path)}getStoreKeysFromSegment(t){let o=this.contextHub.SegmentEngine.getSegment(t);if(o===null)throw new Error("SegmentNotFound:"+t);let r=o.getDependencies(),s=Object.keys(r.Property.stores);return r.SegmentReference.keys.forEach(p=>
1{s.push(...this.getStoreKeysFromSegment(p))}),C(s).uniq().value()}hasResolvedSegment(t){let o=this.contextHub.SegmentEngine.SegmentManager.getResolvedSegments();return C(o).map(r=>r.path).includes(t).value()}negateSegmentValues(t){return t.map((o,r)=>this.segmentArray[r].negate?!o:o)}executeToggle(t){this._elemRef.nativeElement&&(t?(this._renderer.removeClass(this._elemRef.nativeElement,"display--none"),this.contentRendered.emit()):this._renderer.addClass(this._elemRef.nativeElement,"display--none"))}getStore(t){let o=this.contextHub.get(t);return!o||o.response_timestamp===0?this.initializeStore(t):(this.store.get(t)||this.store.set(t,this.createObservable()),this.store.get(t).next(o),this.store.get(t).complete()),this.store.get(t)}initializeStore(t){let o=this.contextHub;if(!this.store.get(t)){o.getStore(t)?.getData(!0);let r=this.store;o?.eventing?.on(o.Constants.EVENT_STORE_UPDATED+":"+t,function(){let p=o.get(t);r.get(t).next(p),r.get(t).complete()}),this.store.set(t,this.createObservable())}}createObservable(){return new G}unbindCHEvent(t){this.contextHub?.eventing?.off(this.contextHub.Constants.EVENT_STORE_READY,t)}ngOnDestroy(){this.unsubscribe$.next(!0),this.unsubscribe$.unsubscribe()}static{this.\u0275fac=function(o){return new(o||i)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.Renderer2))}}static{this.\u0275dir=c.\u0275\u0275defineDirective({type:i,selectors:[["","tgContextMultiSegment",""]],inputs:{editMode:"editMode",segments:"segments",enableNegation:"enableNegation",segmentLogic:"segmentLogic"},outputs:{contentRendered:"contentRendered"},standalone:!1})}}return i})();var P=["*"];function j(i,a){i&1&&e.\u0275\u0275elementContainer(0)}function B(i,a){if(i&1&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275template(1,j,1,0,"ng-container",3),e.\u0275\u0275elementEnd()),i&2){e.\u0275\u0275nextContext();let t=e.\u0275\u0275reference(4);e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",t)}}function Y(i,a){i&1&&e.\u0275\u0275elementContainer(0)}function z(i,a){if(i&1&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Y,1,0,"ng-container",3),e.\u0275\u0275elementContainerEnd()),i&2){e.\u0275\u0275nextContext(5);let t=e.\u0275\u0275reference(4);e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",t)}}function K(i,a){if(i&1){let t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tg-login",6),e.\u0275\u0275listener("componentCanRender",function(){e.\u0275\u0275restoreView(t);let r=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(r.initAfterLoggedIn())}),e.\u0275\u0275template(2,z,2,1,"ng-container",7),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(i&2){let t=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("messageGroupName",t.messageGroupName)("scopes",t.scopes),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",t.userHasScope)}}function W(i,a){i&1&&e.\u0275\u0275elementContainer(0)}function $(i,a){if(i&1&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,W,1,0,"ng-container",3),e.\u0275\u0275elementContainerEnd()),i&2){e.\u0275\u0275nextContext(5);let t=e.\u0275\u0275reference(4);e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",t)}}function J(i,a){if(i&1&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,$,2,1,"ng-container",7),e.\u0275\u0275elementContainerEnd()),i&2){let t=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",t.userHasScope)}}function Q(i,a){if(i&1&&(e.\u0275\u0275elementContainerStart(0)(1,4),e.\u0275\u0275template(2,K,3,3,"ng-container",5)(3,J,2,1,"ng-container",5),e.\u0275\u0275elementContainerEnd()()),i&2){let t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngSwitch",t.action),e.\u0275\u0275advance(),e.\u0275\u0275property("ngSwitchCase","showLoginButton"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngSwitchCase","hideContent")}}function X(i,a){i&1&&e.\u0275\u0275elementContainer(0)}function Z(i,a){if(i&1){let t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",8),e.\u0275\u0275listener("contentRendered",function(){e.\u0275\u0275restoreView(t);let r=e.\u0275\u0275nextContext(3);
1return e.\u0275\u0275resetView(r.onContentRendered())}),e.\u0275\u0275template(2,X,1,0,"ng-container",3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(i&2){let t=e.\u0275\u0275nextContext(3),o=e.\u0275\u0275reference(4);e.\u0275\u0275advance(),e.\u0275\u0275property("editMode",t.editMode)("segments",t.segments)("enableNegation",t.enableNegation)("segmentLogic",t.segmentLogic),e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",o)}}function ee(i,a){i&1&&e.\u0275\u0275elementContainer(0)}function te(i,a){if(i&1&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,ee,1,0,"ng-container",3),e.\u0275\u0275elementContainerEnd()),i&2){e.\u0275\u0275nextContext(4);let t=e.\u0275\u0275reference(4);e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",t)}}function ne(i,a){if(i&1&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,te,2,1,"ng-container",7),e.\u0275\u0275elementContainerEnd()),i&2){let t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",t.authenticationCheckPassed)}}function ie(i,a){if(i&1&&(e.\u0275\u0275elementContainerStart(0)(1,4),e.\u0275\u0275template(2,Q,4,3,"ng-container",5)(3,Z,3,5,"ng-container",5)(4,ne,2,1,"ng-container",5),e.\u0275\u0275elementContainerEnd()()),i&2){let t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngSwitch",t.gridFlow),e.\u0275\u0275advance(),e.\u0275\u0275property("ngSwitchCase","scopes"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngSwitchCase","segments"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngSwitchCase","authentication")}}function oe(i,a){if(i&1&&e.\u0275\u0275template(0,ie,5,4,"ng-container",2),i&2){let t=e.\u0275\u0275nextContext(),o=e.\u0275\u0275reference(4);e.\u0275\u0275property("ngIf",t.isValidationRequired)("ngIfElse",o)}}function re(i,a){i&1&&e.\u0275\u0275projection(0)}var A=(()=>{class i{constructor(t,o,r){this.loginService=t,this._elemRef=o,this.dataLayerService=r,this.authenticationCheckPassed=!1,this.gridFlow="default",this.messageGroupName=d.MESSAGE_GROUP,this.loggedIn=!1}ngOnInit(){this.unhideAngularContentOnInit(),this.setUniqueScopes(),this.loadUserDetails(),this.setGridFlow()}unhideAngularContentOnInit(){this._elemRef.nativeElement?.closest(".js-grid-content")?.classList.remove("display--none")}initAfterLoggedIn(){this.loggedIn=!0,this.loadUserDetails()}setUniqueScopes(){this.scopes=this.scopeList?.split(",").filter((t,o,r)=>r.indexOf(t)===o&&t)}loadUserDetails(){this.loginService.getLoginDetails().subscribe(t=>{this.userScopes=t.scopes,this.authenticationCheckPassed=this.checkAuthenticationLevel(this.authenticationLevel,t.isLoggedIn())})}get userHasScope(){return v.intersection(this.scopes,this.userScopes).length===this.scopes.length}setGridFlow(){this.scopeList?.length?(this.gridFlow=_.SCOPES,this.isValidationRequired=!0):this.segments?.length?(this.gridFlow=_.SEGMENTS,this.isValidationRequired=!0):this.authenticationLevel!==d.AUTHENTICATION_DEFAULT&&(this.gridFlow=_.AUTHENTICATION,this.isValidationRequired=!0)}checkAuthenticationLevel(t,o){return t===d.AUTHENTICATION_UNAUTHENTICATED?!o:t===d.AUTHENTICATION_AUTHENTICATED?o:!0}onContentRendered(){this.addEventToDataLayer()}addEventToDataLayer(){if(this.shouldReportToAnalytics()){let t=this.dataLayerService.createEventInfo("responsive-grid-content-rendered",V.EVENT_TYPE_IMPRESSION),o=this.dataLayerService.createCategory(y.PRIMARY_CATEGORY_CONTAINER,y.SUBCATEGORY_EMPTY),r={itemName:"segments",itemIdentifier:this.id};this.dataLayerService.addEvent(t,r,o)}}shouldReportToAnalytics(){return this.id?.startsWith("segment_")}static{this.\u0275fac=function(o){return new(o||i)(e.\u0275\u0275directiveInject(g.LoginService),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(I.DataLayerService))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["tg-responsive-grid"]],inputs:{authenticationLevel:"authenticationLevel",paddingSize:"paddingSize",brand:"brand",editMode:"editMode",segments:"segments",segmentLogic:"segmentLogic",enableNegation:"enableNegation",disableGridSystem:"disableGridSystem",scopeList:"scopeList",action:"action",id:"id"},standalone:!1,ngContentSelectors:P,decls:5,vars:2,consts:[["elseBlock",""],["renderContent",""],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"componentCanRender","messageGroupName","scopes"],[4,"ngIf"],["tgContextMultiSegment","",1,"display--none",3,"contentRendered","editMode","segments","enableNegation","segmentLogic"]],template:function(o,r){if(o&1&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275template(0,B,2,1,"div",2)(1,oe,1,2,"ng-template",null,0,e.\u0275\u0275templateRefExtractor)(3,re,1,0,"ng-template",null,1,e.\u0275\u0275templateRefExtractor)),o&2){let s=e.\u0275\u0275reference(2);e.\u0275\u0275property("ngIf",r.editMode)("ngIfElse",s)}},dependencies:[l.NgIf,l.NgTemplateOutlet,l.NgSwitch,l.NgSwitchCase,g.LoginComponent,b],encapsulation:2})}}return i})();import{FormsModule as ue,ReactiveFormsModule as fe}from"@angular/forms";import{MatSelectModule as Ce}from"@angular/material/select";import"@angular/core";import"@angular/core";import{Subject as ae}from"rxjs";import*as R from"@angular/core";var F=(()=>
1{class i{constructor(){this.eventTriggerSubject=new ae,this.eventTriggerObservable=this.eventTriggerSubject.asObservable()}openCTC(){this.eventTriggerSubject.next()}static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275prov=R.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();import"@angular/core";import"@telenet/ng-lib-datalayer";import*as h from"@angular/core";import*as M from"@telenet/ng-lib-datalayer";var N=(()=>{class i{constructor(t){this.dataLayerService=t}addEventToDataLayer(t,o,r,s,p){this.dataLayerService.addEvent(this.dataLayerService.createEventInfo(t,o,[r]),s,this.dataLayerService.createCategory(p))}static{this.\u0275fac=function(o){return new(o||i)(h.\u0275\u0275inject(M.DataLayerService))}}static{this.\u0275prov=h.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var m=(()=>{class i{static{this.MESSAGE_GROUP_NAME="feedback-form"}static{this.EVENT_NAME_CALL_TO_ACTION_CLICKED="feedback form clicked"}static{this.EVENT_PRIMARY_CATEGORY_NAME="container"}static{this.EVENT_ATTRIBUTE_ITEMNAME_HELPFULL="yes helpful"}static{this.EVENT_ATTRIBUTE_ITEMNAME_MORE_HELP="more help required"}}return i})();import{EventTypeEnum as le}from"@telenet/ng-lib-datalayer";import*as n from"@angular/core";import*as u from"@angular/common";import*as k from"@ngx-translate/core";var L=i=>({"border--brand-primary":i});function me(i,a){if(i&1){let t=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",1)(1,"div"),n.\u0275\u0275text(2),n.\u0275\u0275pipe(3,"translate"),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(4,"div",2)(5,"button",3),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(t);let r=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(r.openThanksTemplate())}),n.\u0275\u0275element(6,"span",4),n.\u0275\u0275elementStart(7,"span",5),n.\u0275\u0275text(8),n.\u0275\u0275pipe(9,"translate"),n.\u0275\u0275elementEnd()(),n.\u0275\u0275elementStart(10,"button",6),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(t);let r=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(r.openThanksTemplateAndCTC())}),n.\u0275\u0275element(11,"span",7),n.\u0275\u0275elementStart(12,"span",5),n.\u0275\u0275text(13),n.\u0275\u0275pipe(14,"translate"),n.\u0275\u0275elementEnd()()()()}if(i&2){let t=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(n.\u0275\u0275interpolate1("",t.backgroundColor," px--l py--xl border-width--all--l border--brand-primary")),n.\u0275\u0275property("ngClass",n.\u0275\u0275pureFunction1(17,L,t.enableBorder)),n.\u0275\u0275advance(),n.\u0275\u0275classMap(n.\u0275\u0275interpolate2("heading--",t.titleTextSize," m--n mb--l ",t.titleTextColor)),n.\u0275\u0275advance(),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(3,11,"ng.faq-feedback-form.lbl.main-title")),n.\u0275\u0275advance(6),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(9,13,"ng.faq-feedback-form.lbl.yes-button")),n.\u0275\u0275advance(5),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(14,15,"ng.faq-feedback-form.lbl.no-button"))}}function pe(i,a){if(i&1&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275pipe(2,"translate"),n.\u0275\u0275elementEnd()),i&2){let t=n.\u0275\u0275nextContext(2);n.\u0275\u0275classMap(n.\u0275\u0275interpolate2("heading--",t.titleTextSize," m--n ",t.titleTextColor)),n.\u0275\u0275advance(),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(2,5,"ng.faq-feedback-form.lbl.thanks-title"))}}function de(i,a){if(i&1&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275pipe(2,"translate"),n.\u0275\u0275elementEnd()),i&2){let t=n.\u0275\u0275nextContext(2);n.\u0275\u0275classMap(n.\u0275\u0275interpolate2("heading--",t.titleTextSize," m--n ",t.titleTextColor)),n.\u0275\u0275advance(),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(2,5,"ng.faq-feedback-form.lbl.thanks-title-assistance-needed"))}}function _e(i,a){if(i&1&&(n.\u0275\u0275elementStart(0,"div",1),n.\u0275\u0275template(1,pe,3,7,"div",8)(2,de,3,7,"div",8),n.\u0275\u0275elementEnd()),i&2){let t=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(n.\u0275\u0275interpolate1("",t.backgroundColor," p--l border-width--all--l")),n.\u0275\u0275property("ngClass",n.\u0275\u0275pureFunction1(6,L,t.enableBorder)),n.\u0275\u0275advance(),n.\u0275\u0275property("ngIf",!t.moreAssistanceNeeded),n.\u0275\u0275advance(),n.\u0275\u0275property("ngIf",t.moreAssistanceNeeded)}}var w=(()=>{class i{constructor(t,o){this.feedbackService=t,this.faqFeedbackFormDataLayerService=o,this.enableThanksTemplate=!1,this.enableFeedbackForm=!0,this.moreAssistanceNeeded=!1,this.attributes={}}openThanksTemplate(){this.sendAnalytics(m.EVENT_ATTRIBUTE_ITEMNAME_HELPFULL),this.showThanksTemplateWithMoreAssistance(!1)}showThanksTemplateWithMoreAssistance(t){this.enableFeedbackForm=!1,this.enableThanksTemplate=!0,this.moreAssistanceNeeded=t}openThanksTemplateAndCTC(){this.showThanksTemplateWithMoreAssistance(!0),this.sendAnalytics(m.EVENT_ATTRIBUTE_ITEMNAME_MORE_HELP),this.feedbackService.openCTC()}sendAnalytics(t){this.attributes={itemName:t},this.faqFeedbackFormDataLayerService.addEventToDataLayer(m.EVENT_NAME_CALL_TO_ACTION_CLICKED,le.EVENT_TYPE_CLICK,m.MESSAGE_GROUP_NAME,this.attributes,m.EVENT_PRIMARY_CATEGORY_NAME)}static{this.\u0275fac=function(o){return new(o||i)(n.\u0275\u0275directiveInject(F),n.\u0275\u0275directiveInject(N))}}static{this.\u0275cmp=n.\u0275\u0275defineComponent({type:i,selectors:[["tg-faq-feedback-form"]],inputs:{titleTextSize:"titleTextSize",titleTextColor:"titleTextColor",backgroundColor:"backgroundColor",enableBorder:"enableBorder"},standalone:!1,decls:2,vars:2,consts:[[3,"ngIf"],[3,"ngClass"],[1,"display--flex--sm"],[1,"button","button--alternate","button--primary","flex-grow",3,"click"],[1,"font-weight--regular","icon","icon-md","icon-tick"],[1,"ml--m--md","ml--xs","space--normal"],[1,"button","button--primary","flex-grow",3,"click"],[1,"font-weight--regular","icon","icon-headset","icon-md"],[3,"class",4,"ngIf"]],template:function(o,r){o&1&&n.\u0275\u0275template(0,me,15,19,"ng-template",0)(1,_e,3,8,"ng-template",0),o&2&&(n.\u0275\u0275property("ngIf",r.enableFeedbackForm),n.\u0275\u0275advance(),n.\u0275\u0275property("ngIf",r.enableThanksTemplate))},dependencies:[u.NgClass,u.NgIf,k.TranslatePipe],encapsulation:2})}}return i})();import{provideHttpClient as ve}from"@angular/common/http";import*as f from"@angular/core";var Et=(()=>
1{class i{static{this.components={"tg-responsive-grid":A,"tg-faq-feedback-form":w}}static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275mod=f.\u0275\u0275defineNgModule({type:i})}static{this.\u0275inj=f.\u0275\u0275defineInjector({providers:[ve()],imports:[ge,x,he,fe,T.forRoot(S.imagePath),ue,Ce,E]})}}return i})();export{Et as ContainerModule};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.