1"use strict";(self.webpackChunkdzweb=self.webpackChunkdzweb||[]).push([[3362],{52931:(Q,k,l)=>{l.d(k,{f:()=>H});var b=l(17009),d=l(94650);let H=(()=>{class f{constructor(r,u){this.snackBarRef=r,this.data=u,this.message="",this.message=u}}return f.\u0275fac=function(r){return new(r||f)(d.Y36(b.OX),d.Y36(b.qD))},f.\u0275cmp=d.Xpm({type:f,selectors:[["app-success-error-snack-bar"]],decls:4,vars:1,consts:[[1,"snack-bar-text"],["id","appsuccess-snackbar-close","mat-raised-button","",1,"snack-bar-button",3,"click"]],template:function(r,u){1&r&&(d.TgZ(0,"p",0),d._uU(1),d.qZA(),d.TgZ(2,"button",1),d.NdJ("click",function(){return u.snackBarRef.dismiss()}),d._uU(3,"close"),d.qZA()),2&r&&(d.xp6(1),d.hij(" ",u.message,"\n"))},encapsulation:2}),f})()},75570:(Q,k,l)=>{l.d(k,{k:()=>r});var b=l(80529),d=l(22858),H=l(94650),f=l(21952),I=l(93531);let r=(()=>{class u{constructor(p,x,o){this._httpClient=p,this._utilService=o,this.sessionStorage=x}sendBoxFeedback(p){let x=this._utilService.getActiveUserToken();return this._httpClient.post(d.TRE,p,x)}updateChoiceBoxSortOrder(p){let x=this._utilService.getActiveUserToken();return this._httpClient.patch(d.Fm0,p,x)}editRegularBox(p){let x=this._utilService.getActiveUserToken();return this._httpClient.patch(d.q3L,p,x)}insertNewBox(p){let x=this._utilService.getActiveUserToken();return this._httpClient.post(d.Fg9,p,x)}createNewBox(p){let x=this._utilService.getActiveUserToken();return this._httpClient.post(d.q3L,p,x)}appendFlowchartToCurrentBox(p){let x=this._utilService.getActiveUserToken();return this._httpClient.post(d.OvF,p,x)}deleteBox(p){const x={headers:new b.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")}),body:p};return this._httpClient.delete(d.q3L,x)}deleteFirstBox(p){const x={headers:new b.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")}),body:p};return this._httpClient.delete(d.CtH,x)}uploadFileAndAddToBox(p){let x=this._utilService.getActiveUserToken();return this._httpClient.patch(d.q3L,p,x)}deleteBoxAttachment(p){let x=this._utilService.getActiveUserToken();return this._httpClient.patch(d.q3L,p,x)}createBoxAlias(p){const x={headers:new b.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")})};return this._httpClient.post(d.rQ8,p,x)}createBookmarkLink(p){let x=this._utilService.getActiveUserToken();return this._httpClient.post(d.Ouw,p,x)}deleteBookmarkLink(p){const x={headers:new b.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")}),body:p};return this._httpClient.delete(d.Ouw,x)}getBoxAliasListByUserOrgBoxShapeType(p,x,o,A){let S=this._utilService.getActiveUserToken();return this._httpClient.get(d.wHh+"?orgId="+p+"&flowchartVersionId="+A+"&boxShapeType="+x+"&userAccess="+o,S)}getBoxAliasListByUserOrg(p,x,o){let A=this._utilService.getActiveUserToken();return this._httpClient.get(d.wHh+"?orgId="+p+"&flowchartVersionId="+o+"&userAccess="+x,A)}getOrgUserEmailsForEmailLogBox(p,x){return this._httpClient.get(d.RXM+"?orgName="+p+"&userAccess="+x)}updateBoxEndStatus(p){let x=this._utilService.getActiveUserToken();return this._httpClient.patch(d.Sx_,p,x)}}return u.\u0275fac=function(p){return new(p||u)(H.LFG(b.eN),H.LFG(f.qo),H.LFG(I.f))},u.\u0275prov=H.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},66076:(Q,k,l)=>{l.r(k),l.d(k,{HomeModule:()=>um});var b=l(36895),d=l(19132),H=l(69814),f=l(24006),I=l(10920),r=l(37340),u=l(22858),h=l(17489),p=l(77109),x=l.n(p),o=l(94650),A=l(93531),S=l(6855),B=l(75570),G=l(38058),K=l(41591),P=l(64838),R=l(1201),j=l(65244),z=l(82345),W=l(4152),X=l(47143),oo=l(8677),to=l(58704),eo=l(17009),io=l(65938),no=l(21952),_o=l(55829),q=l(59549),ao=l(284),E=l(4859),F=l(90811),co=l(97392),lo=l(51572),ro=l(10266),mo=l(6799);const po=["fileInput"];function xo(e,_){1&e&&o._UZ(0,"mat-spinner",33)}function so(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.boxCaption," ")}}function go(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.mcbBoxCaption," ")}}function fo(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.userInputData," ")}}function uo(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;
1o.xp6(1),o.hij(" Choice : ",t.box.selectedChoiceBox.boxCaption," ")}}function bo(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice: ",t.box.boxCaption," ")}}function ho(e,_){1&e&&(o.TgZ(0,"mat-error"),o._uU(1," Please enter a valid email address "),o.qZA())}function To(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",66,67),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA(),o.YNc(3,ho,2,0,"mat-error",13),o.qZA()}if(2&e){const t=o.MAs(2),n=o.oxw(4).$implicit,i=o.oxw();o.xp6(1),o.Q6J("ngModel",i.userInputText[n.box.boxId]),o.xp6(2),o.Q6J("ngIf",!t.pristine&&(null==t.errors?null:t.errors.email))}}function vo(e,_){if(1&e&&(o.TgZ(0,"mat-hint",70),o._uU(1),o.qZA()),2&e){const t=o.oxw(5).$implicit,n=o.oxw();o.xp6(1),o.hij(" ",null==n.userInputText[t.box.boxId]?null:n.userInputText[t.box.boxId].length,"/200")}}function Co(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"textarea",68),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o._uU(2," "),o.qZA(),o.YNc(3,vo,2,1,"mat-hint",69),o.qZA()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId]),o.xp6(2),o.Q6J("ngIf","TEXT"===t.box.userInputDataType)}}function wo(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",71),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId])}}function Ho(e,_){if(1&e&&(o.TgZ(0,"mat-error"),o._uU(1),o.qZA()),2&e){const t=o.oxw(6);o.xp6(1),o.Oqu(t.uploadErrMsg)}}function Do(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",72)(1,"label",73),o._uU(2),o.qZA(),o._UZ(3,"br"),o.YNc(4,Ho,2,1,"mat-error",13),o.TgZ(5,"input",74,75),o.NdJ("change",function(i){o.CHM(t);const a=o.oxw(5);return o.KtG(a.validateSelectedFile(i))}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(2),o.hij("Upload your file (Max ",n.flowchartOrg.userInputUploadSize,"KB)"),o.xp6(2),o.Q6J("ngIf",n.uploadErr),o.xp6(1),o.MGl("id","file-upload-",t.box.boxId,"")}}function yo(e,_){if(1&e&&(o.TgZ(0,"form",61,62),o.YNc(2,To,4,2,"mat-form-field",63),o.YNc(3,Co,4,2,"mat-form-field",63),o.YNc(4,wo,2,1,"mat-form-field",63),o.YNc(5,Do,7,3,"div",64),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(2),o.Q6J("ngIf","EMAIL"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","TEXT"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","PHONE"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","UPLOAD"===t.box.userInputDataType)}}function Zo(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function ko(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,Zo,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Io(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",76)(1,"div",77)(2,"mat-button-toggle-group",78),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,ko,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function Jo(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function Uo(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,Jo,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Ao(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",86)(1,"div",77)(2,"mat-button-toggle-group",87),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);
1return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,Uo,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function So(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",53),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw(2).$implicit,c=o.oxw();return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!1,!1))}),o.YNc(1,so,2,1,"p",54),o.YNc(2,go,2,1,"p",54),o.YNc(3,fo,2,1,"p",55),o.YNc(4,uo,2,1,"p",55),o.YNc(5,bo,2,1,"p",55),o.YNc(6,yo,6,4,"form",56),o.YNc(7,Io,4,2,"div",57),o.YNc(8,Ao,4,2,"div",58),o.qZA()}if(2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.Q6J("ngClass",n.getAnimatedVersionBoxClass(n.disableClick,t,"layer0")),o.xp6(1),o.Q6J("ngIf","C"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"!==t.box.mcbChoiceDisplayMode),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"===t.box.mcbChoiceDisplayMode)}}function No(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.boxCaption," ")}}function Lo(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.mcbBoxCaption," ")}}function Qo(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.userInputData," ")}}function Bo(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice : ",t.box.selectedChoiceBox.boxCaption," ")}}function qo(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice: ",t.box.boxCaption," ")}}function Mo(e,_){1&e&&(o.TgZ(0,"mat-error"),o._uU(1," Please enter a valid email address "),o.qZA())}function Yo(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",66,67),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA(),o.YNc(3,Mo,2,0,"mat-error",13),o.qZA()}if(2&e){const t=o.MAs(2),n=o.oxw(4).$implicit,i=o.oxw();o.xp6(1),o.Q6J("ngModel",i.userInputText[n.box.boxId]),o.xp6(2),o.Q6J("ngIf",!t.pristine&&(null==t.errors?null:t.errors.email))}}function Eo(e,_){if(1&e&&(o.TgZ(0,"mat-hint",70),o._uU(1),o.qZA()),2&e){const t=o.oxw(5).$implicit,n=o.oxw();o.xp6(1),o.hij(" ",null==n.userInputText[t.box.boxId]?null:n.userInputText[t.box.boxId].length,"/200")}}function Fo(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"textarea",68),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o._uU(2," "),o.qZA(),o.YNc(3,Eo,2,1,"mat-hint",69),o.qZA()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId]),o.xp6(2),o.Q6J("ngIf","TEXT"===t.box.userInputDataType)}}function $o(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",71),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId])}}function Vo(e,_){if(1&e&&(o.TgZ(0,"mat-error"),o._uU(1),o.qZA()),2&e){const t=o.oxw(6);o.xp6(1),o.Oqu(t.uploadErrMsg)}}function Oo(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",72)(1,"label",73),o._uU(2),o.qZA(),o._UZ(3,"br"),o.YNc(4,Vo,2,1,"mat-error",13),o.TgZ(5,"input",74,75),o.NdJ("change",function(i){o.CHM(t);const a=o.oxw(5);return o.KtG(a.validateSelectedFile(i))}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(2),o.hij("Upload your file (Max ",n.flowchartOrg.userInputUploadSize,"KB)"),o.xp6(2),o.Q6J("ngIf",n.uploadErr),o.xp6(1),o.MGl("id","file-upload-",t.box.boxId,"")}}function Go(e,_){if(1&e&&(o.TgZ(0,"form",61,62),o.YNc(2,Yo,4,2,"mat-form-field",63),o.YNc(3,Fo,4,2,"mat-form-field",63),o.YNc(4,$o,2,1,"mat-form-field",63),o.YNc(5,Oo,7,3,"div",64),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(2),o.Q6J("ngIf","EMAIL"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","TEXT"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","PHONE"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","UPLOAD"===t.box.userInputDataType)}}function Ko(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function Po(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,Ko,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Ro(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",76)(1,"div",77)(2,"mat-button-toggle-group",78),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);
1return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,Po,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function jo(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function zo(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,jo,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Wo(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",86)(1,"div",77)(2,"mat-button-toggle-group",87),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,zo,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function Xo(e,_){if(1&e&&(o.TgZ(0,"div",88),o.YNc(1,No,2,1,"p",54),o.YNc(2,Lo,2,1,"p",54),o.YNc(3,Qo,2,1,"p",55),o.YNc(4,Bo,2,1,"p",55),o.YNc(5,qo,2,1,"p",55),o.YNc(6,Go,6,4,"form",56),o.YNc(7,Ro,4,2,"div",57),o.YNc(8,Wo,4,2,"div",58),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.Q6J("ngClass",n.getAnimatedVersionBoxClass(n.disableClick,t,"layer0")),o.xp6(1),o.Q6J("ngIf","C"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"!==t.box.mcbChoiceDisplayMode),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"===t.box.mcbChoiceDisplayMode)}}function ot(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function tt(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function et(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function it(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function nt(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function _t(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function at(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ct(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function lt(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function rt(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function mt(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function pt(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,ot,3,2,"a",90),o.YNc(2,tt,1,4,"a",91),o.YNc(3,et,1,4,"a",92),o.YNc(4,it,3,3,"a",93),o.YNc(5,nt,1,5,"a",94),o.YNc(6,_t,3,3,"a",95),o.YNc(7,at,1,5,"a",96),o.YNc(8,ct,5,3,"a",97),o.YNc(9,lt,5,3,"a",49),o.YNc(10,rt,1,5,"a",50),o.YNc(11,mt,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode&&t.box.inArrowCount>
10&&"E"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function xt(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function dt(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function st(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function gt(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ft(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ut(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function bt(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ht(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Tt(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function vt(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ct(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function wt(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,xt,3,2,"a",90),o.YNc(2,dt,1,4,"a",91),o.YNc(3,st,1,4,"a",92),o.YNc(4,gt,3,3,"a",93),o.YNc(5,ft,1,5,"a",94),o.YNc(6,ut,3,3,"a",95),o.YNc(7,bt,1,5,"a",96),o.YNc(8,ht,5,3,"a",97),o.YNc(9,Tt,5,3,"a",49),o.YNc(10,vt,1,5,"a",50),o.YNc(11,Ct,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function Ht(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Dt(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function yt(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Zt(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function kt(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function It(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Jt(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ut(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function At(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function St(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Nt(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Lt(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,Ht,3,2,"a",90),o.YNc(2,Dt,1,4,"a",91),o.YNc(3,yt,1,4,"a",92),o.YNc(4,Zt,3,3,"a",93),o.YNc(5,kt,1,5,"a",94),o.YNc(6,It,3,3,"a",95),o.YNc(7,Jt,1,5,"a",96),o.YNc(8,Ut,5,3,"a",97),o.YNc(9,At,5,3,"a",49),o.YNc(10,St,1,5,"a",50),o.YNc(11,Nt,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function Qt(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Bt(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function qt(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Mt(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Yt(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Et(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ft(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function $t(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Vt(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ot(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Gt(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,Qt,1,4,"a",91),o.YNc(2,Bt,1,4,"a",92),o.YNc(3,qt,3,3,"a",93),o.YNc(4,Mt,1,5,"a",94),o.YNc(5,Yt,3,3,"a",95),o.YNc(6,Et,1,5,"a",96),o.YNc(7,Ft,5,3,"a",97),o.YNc(8,$t,5,3,"a",49),o.YNc(9,Vt,1,5,"a",50),o.YNc(10,Ot,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function Kt(e,_){if(1&e&&(o.TgZ(0,"div",112)(1,"a",113)(2,"mat-icon"),o._uU(3,"open_in_new"),o.qZA()()()),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.xp6(1),o.s9C("href",t.box.imageUrl,o.LSH)}}function Pt(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",112)(1,"div",114)(2,"div",115)(3,"div",116),o._UZ(4,"iframe",117),o.ALo(5,"safe"),o.TgZ(6,"div",118),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.stopVideo())}),o.TgZ(7,"mat-icon"),o._uU(8,"close"),o.qZA()()()()(),o.TgZ(9,"div",119),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.playVideo())}),o.TgZ(10,"a",120)(11,"mat-icon"),o._uU(12,"open_in_new"),o.qZA()(),o.TgZ(13,"div",121)(14,"mat-icon"),o._uU(15,"play_circle_filled"),o.qZA()()()()}if(2&e){const t=o.oxw(3);o.xp6(4),o.Q6J("src",o.xi3(5,4,t.videoEmbedUrl,"resourceUrl"),o.uOi),o.xp6(5),o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.xp6(1),o.s9C("href",t.videoEmbedUrl,o.LSH)}}function Rt(e,_){if(1&e&&(o.TgZ(0,"a",124)(1,"mat-icon",125),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}
1function jt(e,_){if(1&e&&(o.TgZ(0,"a",126),o.ALo(1,"safe"),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image",o.xi3(1,5,"url("+t.box.imageVideoThumbnailUrl+")","style")),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function zt(e,_){if(1&e&&(o.TgZ(0,"div",44),o.YNc(1,Rt,3,3,"a",122),o.YNc(2,jt,2,8,"a",123),o.qZA()),2&e){const t=o.oxw(2).$implicit;o.xp6(1),o.Q6J("ngIf",t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl)}}function Wt(e,_){if(1&e&&(o.TgZ(0,"a",127)(1,"mat-icon",125),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Xt(e,_){if(1&e&&(o.TgZ(0,"a",128),o.ALo(1,"safe"),o.qZA()),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image",o.xi3(1,5,"url("+t.box.refLinkIconUrl+")","style")),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function oe(e,_){if(1&e&&(o.TgZ(0,"a",129)(1,"span",130)(2,"mat-icon",107),o._uU(3,"description"),o.qZA(),o.TgZ(4,"mat-icon",108),o._uU(5,"attachment"),o.qZA()(),o.TgZ(6,"span",131),o._uU(7),o.qZA()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),o.xp6(7),o.Oqu(t.box.fileAttachmentName)}}function te(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"span",130)(2,"mat-icon",107),o._uU(3,"description"),o.qZA(),o.TgZ(4,"mat-icon",108),o._uU(5,"attachment"),o.qZA()()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ee(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ie(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",132),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(2).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ne(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",133),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function _e(e,_){if(1&e&&(o.TgZ(0,"div",35),o._UZ(1,"span",36),o.YNc(2,So,9,9,"div",37),o.YNc(3,Xo,9,9,"div",38),o.YNc(4,pt,12,11,"div",39),o.YNc(5,wt,12,11,"div",39),o.YNc(6,Lt,12,11,"div",39),o.YNc(7,Gt,11,10,"div",39),o.TgZ(8,"div",40),o.YNc(9,Kt,4,3,"div",41),o.YNc(10,Pt,16,7,"div",42),o.YNc(11,zt,3,2,"div",43),o.TgZ(12,"p",44),o.YNc(13,Wt,3,3,"a",45),o.YNc(14,Xt,2,8,"a",46),o.qZA(),o.TgZ(15,"p",47),o.YNc(16,oe,8,4,"a",48),o.YNc(17,te,6,3,"a",49),o.YNc(18,ee,1,5,"a",50),o.qZA(),o.YNc(19,ie,3,2,"a",51),o.YNc(20,ne,3,2,"a",52),o.qZA(),o._UZ(21,"span",36),o.qZA()),2&e){const t=o.oxw(),n=t.index,i=t.$implicit,a=o.oxw();o.MGl("id","layer0-",n,""),o.Q6J("ngClass",a.getAnimatedVersionBoxContainerClass(i,"layer0")),o.xp6(2),o.Q6J("ngIf",a.enableLayerClickEvent("layer0")),o.xp6(1),o.Q6J("ngIf",!a.enableLayerClickEvent("layer0")),o.xp6(1),o.Q6J("ngIf","S"===i.box.boxShapeType||"E"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","D"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===i.box.boxShapeType),o.xp6(2),o.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink),o.xp6(2),o.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),o.xp6(2),o.Q6J("ngIf",i.box.fileUrl),o.xp6(1),o.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!a.flowchartDetails.publishedCode&&i.box.inArrowCount>
10&&"M"!==i.box.boxShapeType&&"E"!==i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf",!a.flowchartDetails.publishedCode)}}function ae(e,_){if(1&e&&(o.ynx(0),o.YNc(1,_e,22,18,"div",34),o.BQk()),2&e){const t=_.$implicit;o.xp6(1),o.Q6J("ngIf","E"!==t.box.boxShapeType)}}function ce(e,_){if(1&e&&(o.TgZ(0,"div",134)(1,"div",135)(2,"a",136)(3,"mat-icon"),o._uU(4,"zoom_in"),o.qZA()()()()),2&e){const t=o.oxw();o.xp6(1),o.Udp("background-image","url("+t.flowchartDetails.currentBox.imageUrl+")"),o.xp6(1),o.s9C("href",t.flowchartDetails.currentBox.imageUrl,o.LSH)}}function le(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",137)(1,"div",114)(2,"div",115)(3,"div",116),o._UZ(4,"iframe",117),o.ALo(5,"safe"),o.TgZ(6,"div",118),o.NdJ("click",function(){o.CHM(t);const i=o.oxw();return o.KtG(i.stopVideo())}),o.TgZ(7,"mat-icon"),o._uU(8,"close"),o.qZA()()()()(),o.TgZ(9,"div",119),o.NdJ("click",function(){o.CHM(t);const i=o.oxw();return o.KtG(i.playVideo())}),o.TgZ(10,"a",138)(11,"mat-icon"),o._uU(12,"open_in_new"),o.qZA()(),o.TgZ(13,"div",121)(14,"mat-icon"),o._uU(15,"play_circle_filled"),o.qZA()()()()}if(2&e){const t=o.oxw();o.xp6(4),o.Q6J("src",o.xi3(5,4,t.videoEmbedUrl,"resourceUrl"),o.uOi),o.xp6(5),o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.xp6(1),o.s9C("href",t.videoEmbedUrl,o.LSH)}}function re(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.boxCaption," ")}}function me(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.mcbBoxCaption," ")}}function pe(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.userInputData," ")}}function xe(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice : ",t.box.selectedChoiceBox.boxCaption," ")}}function de(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice: ",t.box.boxCaption," ")}}function se(e,_){1&e&&(o.TgZ(0,"mat-error"),o._uU(1," Please enter a valid email address "),o.qZA())}function ge(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",66,67),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA(),o.YNc(3,se,2,0,"mat-error",13),o.qZA()}if(2&e){const t=o.MAs(2),n=o.oxw(4).$implicit,i=o.oxw();o.xp6(1),o.Q6J("ngModel",i.userInputText[n.box.boxId]),o.xp6(2),o.Q6J("ngIf",!t.pristine&&(null==t.errors?null:t.errors.email))}}function fe(e,_){if(1&e&&(o.TgZ(0,"mat-hint",70),o._uU(1),o.qZA()),2&e){const t=o.oxw(5).$implicit,n=o.oxw();o.xp6(1),o.hij(" ",null==n.userInputText[t.box.boxId]?null:n.userInputText[t.box.boxId].length,"/200")}}function ue(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"textarea",68),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o._uU(2," "),o.qZA(),o.YNc(3,fe,2,1,"mat-hint",69),o.qZA()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId]),o.xp6(2),o.Q6J("ngIf","TEXT"===t.box.userInputDataType)}}function be(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",71),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId])}}function he(e,_){if(1&e&&(o.TgZ(0,"mat-error"),o._uU(1),o.qZA()),2&e){const t=o.oxw(6);o.xp6(1),o.Oqu(t.uploadErrMsg)}}function Te(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",72)(1,"label",73),o._uU(2),o.qZA(),o._UZ(3,"br"),o.YNc(4,he,2,1,"mat-error",13),o.TgZ(5,"input",74,75),o.NdJ("change",function(i){o.CHM(t);const a=o.oxw(5);return o.KtG(a.validateSelectedFile(i))}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(2),o.hij("Upload your file (Max ",n.flowchartOrg.userInputUploadSize,"KB)"),o.xp6(2),o.Q6J("ngIf",n.uploadErr),o.xp6(1),o.MGl("id","file-upload-",t.box.boxId,"")}}function ve(e,_){if(1&e&&(o.TgZ(0,"form",61,62),o.YNc(2,ge,4,2,"mat-form-field",63),o.YNc(3,ue,4,2,"mat-form-field",63),o.YNc(4,be,2,1,"mat-form-field",63),o.YNc(5,Te,7,3,"div",64),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(2),o.Q6J("ngIf","EMAIL"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","TEXT"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","PHONE"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","UPLOAD"===t.box.userInputDataType)}}function Ce(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function we(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,Ce,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function He(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",76)(1,"div",77)(2,"mat-button-toggle-group",78),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);
1return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,we,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function De(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function ye(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,De,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Ze(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",86)(1,"div",77)(2,"mat-button-toggle-group",87),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,ye,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function ke(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",53),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw(2).$implicit,c=o.oxw();return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!1,!1))}),o.YNc(1,re,2,1,"p",54),o.YNc(2,me,2,1,"p",54),o.YNc(3,pe,2,1,"p",55),o.YNc(4,xe,2,1,"p",55),o.YNc(5,de,2,1,"p",55),o.YNc(6,ve,6,4,"form",56),o.YNc(7,He,4,2,"div",57),o.YNc(8,Ze,4,2,"div",58),o.qZA()}if(2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.Q6J("ngClass",n.getAnimatedVersionBoxClass(n.disableClick,t,"layer1")),o.xp6(1),o.Q6J("ngIf","C"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"!==t.box.mcbChoiceDisplayMode),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"===t.box.mcbChoiceDisplayMode)}}function Ie(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.boxCaption," ")}}function Je(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.mcbBoxCaption," ")}}function Ue(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.userInputData," ")}}function Ae(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice : ",t.box.selectedChoiceBox.boxCaption," ")}}function Se(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice: ",t.box.boxCaption," ")}}function Ne(e,_){1&e&&(o.TgZ(0,"mat-error"),o._uU(1," Please enter a valid email address "),o.qZA())}function Le(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",66,67),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA(),o.YNc(3,Ne,2,0,"mat-error",13),o.qZA()}if(2&e){const t=o.MAs(2),n=o.oxw(4).$implicit,i=o.oxw();o.xp6(1),o.Q6J("ngModel",i.userInputText[n.box.boxId]),o.xp6(2),o.Q6J("ngIf",!t.pristine&&(null==t.errors?null:t.errors.email))}}function Qe(e,_){if(1&e&&(o.TgZ(0,"mat-hint",70),o._uU(1),o.qZA()),2&e){const t=o.oxw(5).$implicit,n=o.oxw();o.xp6(1),o.hij(" ",null==n.userInputText[t.box.boxId]?null:n.userInputText[t.box.boxId].length,"/200")}}function Be(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"textarea",68),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o._uU(2," "),o.qZA(),o.YNc(3,Qe,2,1,"mat-hint",69),o.qZA()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId]),o.xp6(2),o.Q6J("ngIf","TEXT"===t.box.userInputDataType)}}function qe(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",71),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId])}}function Me(e,_){if(1&e&&(o.TgZ(0,"mat-error"),o._uU(1),o.qZA()),2&e){const t=o.oxw(6);o.xp6(1),o.Oqu(t.uploadErrMsg)}}function Ye(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",72)(1,"label",73),o._uU(2),o.qZA(),o._UZ(3,"br"),o.YNc(4,Me,2,1,"mat-error",13),o.TgZ(5,"input",74,75),o.NdJ("change",function(i){o.CHM(t);const a=o.oxw(5);return o.KtG(a.validateSelectedFile(i))}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(2),o.hij("Upload your file (Max ",n.flowchartOrg.userInputUploadSize,"KB)"),o.xp6(2),o.Q6J("ngIf",n.uploadErr),o.xp6(1),o.MGl("id","file-upload-",t.box.boxId,"")}}function Ee(e,_){if(1&e&&(o.TgZ(0,"form",61,62),o.YNc(2,Le,4,2,"mat-form-field",63),o.YNc(3,Be,4,2,"mat-form-field",63),o.YNc(4,qe,2,1,"mat-form-field",63),o.YNc(5,Ye,7,3,"div",64),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(2),o.Q6J("ngIf","EMAIL"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","TEXT"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","PHONE"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","UPLOAD"===t.box.userInputDataType)}}function Fe(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function $e(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,Fe,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Ve(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",76)(1,"div",77)(2,"mat-button-toggle-group",78),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);
1return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,$e,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function Oe(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function Ge(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,Oe,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Ke(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",86)(1,"div",77)(2,"mat-button-toggle-group",87),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,Ge,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function Pe(e,_){if(1&e&&(o.TgZ(0,"div",88),o.YNc(1,Ie,2,1,"p",54),o.YNc(2,Je,2,1,"p",54),o.YNc(3,Ue,2,1,"p",55),o.YNc(4,Ae,2,1,"p",55),o.YNc(5,Se,2,1,"p",55),o.YNc(6,Ee,6,4,"form",56),o.YNc(7,Ve,4,2,"div",57),o.YNc(8,Ke,4,2,"div",58),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.Q6J("ngClass",n.getAnimatedVersionBoxClass(n.disableClick,t,"layer1")),o.xp6(1),o.Q6J("ngIf","C"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"!==t.box.mcbChoiceDisplayMode),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"===t.box.mcbChoiceDisplayMode)}}function Re(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function je(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ze(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function We(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Xe(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function oi(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ti(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ei(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ii(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ni(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function _i(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ai(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,Re,3,2,"a",90),o.YNc(2,je,1,4,"a",91),o.YNc(3,ze,1,4,"a",92),o.YNc(4,We,3,3,"a",93),o.YNc(5,Xe,1,5,"a",94),o.YNc(6,oi,3,3,"a",95),o.YNc(7,ti,1,5,"a",96),o.YNc(8,ei,5,3,"a",97),o.YNc(9,ii,5,3,"a",49),o.YNc(10,ni,1,5,"a",50),o.YNc(11,_i,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode&&t.box.inArrowCount>
10&&"E"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function ci(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function li(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ri(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function mi(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function pi(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function xi(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function di(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function si(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function gi(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function fi(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ui(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function bi(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,ci,3,2,"a",90),o.YNc(2,li,1,4,"a",91),o.YNc(3,ri,1,4,"a",92),o.YNc(4,mi,3,3,"a",93),o.YNc(5,pi,1,5,"a",94),o.YNc(6,xi,3,3,"a",95),o.YNc(7,di,1,5,"a",96),o.YNc(8,si,5,3,"a",97),o.YNc(9,gi,5,3,"a",49),o.YNc(10,fi,1,5,"a",50),o.YNc(11,ui,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function hi(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Ti(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function vi(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ci(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function wi(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Hi(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Di(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function yi(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Zi(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ki(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ii(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Ji(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,hi,3,2,"a",90),o.YNc(2,Ti,1,4,"a",91),o.YNc(3,vi,1,4,"a",92),o.YNc(4,Ci,3,3,"a",93),o.YNc(5,wi,
11,5,"a",94),o.YNc(6,Hi,3,3,"a",95),o.YNc(7,Di,1,5,"a",96),o.YNc(8,yi,5,3,"a",97),o.YNc(9,Zi,5,3,"a",49),o.YNc(10,ki,1,5,"a",50),o.YNc(11,Ii,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function Ui(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ai(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Si(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ni(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Li(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Qi(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Bi(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function qi(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Mi(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Yi(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Ei(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,Ui,1,4,"a",91),o.YNc(2,Ai,1,4,"a",92),o.YNc(3,Si,3,3,"a",93),o.YNc(4,Ni,1,5,"a",94),o.YNc(5,Li,3,3,"a",95),o.YNc(6,Qi,1,5,"a",96),o.YNc(7,Bi,5,3,"a",97),o.YNc(8,qi,5,3,"a",49),o.YNc(9,Mi,1,5,"a",50),o.YNc(10,Yi,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function Fi(e,_){if(1&e&&(o.TgZ(0,"div",112)(1,"a",113)(2,"mat-icon"),o._uU(3,"open_in_new"),o.qZA()()()),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.xp6(1),o.s9C("href",t.box.imageUrl,o.LSH)}}function $i(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",112)(1,"div",114)(2,"div",115)(3,"div",116),o._UZ(4,"iframe",117),o.ALo(5,"safe"),o.TgZ(6,"div",118),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.stopVideo())}),o.TgZ(7,"mat-icon"),o._uU(8,"close"),o.qZA()()()()(),o.TgZ(9,"div",119),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.playVideo())}),o.TgZ(10,"a",120)(11,"mat-icon"),o._uU(12,"open_in_new"),o.qZA()(),o.TgZ(13,"div",121)(14,"mat-icon"),o._uU(15,"play_circle_filled"),o.qZA()()()()}if(2&e){const t=o.oxw(3);o.xp6(4),o.Q6J("src",o.xi3(5,4,t.videoEmbedUrl,"resourceUrl"),o.uOi),o.xp6(5),o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.xp6(1),o.s9C("href",t.videoEmbedUrl,o.LSH)}}function Vi(e,_){if(1&e&&(o.TgZ(0,"a",124)(1,"mat-icon",125),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}
1function Oi(e,_){if(1&e&&(o.TgZ(0,"a",126),o.ALo(1,"safe"),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image",o.xi3(1,5,"url("+t.box.imageVideoThumbnailUrl+")","style")),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Gi(e,_){if(1&e&&(o.TgZ(0,"div",44),o.YNc(1,Vi,3,3,"a",122),o.YNc(2,Oi,2,8,"a",123),o.qZA()),2&e){const t=o.oxw(2).$implicit;o.xp6(1),o.Q6J("ngIf",t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl)}}function Ki(e,_){if(1&e&&(o.TgZ(0,"a",127)(1,"mat-icon",125),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Pi(e,_){if(1&e&&(o.TgZ(0,"a",128),o.ALo(1,"safe"),o.qZA()),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image",o.xi3(1,5,"url("+t.box.refLinkIconUrl+")","style")),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ri(e,_){if(1&e&&(o.TgZ(0,"a",129)(1,"span",130)(2,"mat-icon",107),o._uU(3,"description"),o.qZA(),o.TgZ(4,"mat-icon",108),o._uU(5,"attachment"),o.qZA()(),o.TgZ(6,"span",131),o._uU(7),o.qZA()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),o.xp6(7),o.Oqu(t.box.fileAttachmentName)}}function ji(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"span",130)(2,"mat-icon",107),o._uU(3,"description"),o.qZA(),o.TgZ(4,"mat-icon",108),o._uU(5,"attachment"),o.qZA()()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function zi(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Wi(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",132),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(2).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Xi(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",133),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function on(e,_){if(1&e&&(o.TgZ(0,"div",35),o._UZ(1,"span",36),o.YNc(2,ke,9,9,"div",37),o.YNc(3,Pe,9,9,"div",38),o.YNc(4,ai,12,11,"div",39),o.YNc(5,bi,12,11,"div",39),o.YNc(6,Ji,12,11,"div",39),o.YNc(7,Ei,11,10,"div",39),o.TgZ(8,"div",40),o.YNc(9,Fi,4,3,"div",41),o.YNc(10,$i,16,7,"div",42),o.YNc(11,Gi,3,2,"div",43),o.TgZ(12,"p",44),o.YNc(13,Ki,3,3,"a",45),o.YNc(14,Pi,2,8,"a",46),o.qZA(),o.TgZ(15,"p",47),o.YNc(16,Ri,8,4,"a",48),o.YNc(17,ji,6,3,"a",49),o.YNc(18,zi,1,5,"a",50),o.qZA(),o.YNc(19,Wi,3,2,"a",51),o.YNc(20,Xi,3,2,"a",52),o.qZA(),o._UZ(21,"span",36),o.qZA()),2&e){const t=o.oxw(),n=t.index,i=t.$implicit,a=o.oxw();o.MGl("id","layer1-",n,""),o.Q6J("ngClass",a.getAnimatedVersionBoxContainerClass(i,"layer1")),o.xp6(2),o.Q6J("ngIf",a.enableLayerClickEvent("layer1")),o.xp6(1),o.Q6J("ngIf",!a.enableLayerClickEvent("layer1")),o.xp6(1),o.Q6J("ngIf","S"===i.box.boxShapeType||"E"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","D"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===i.box.boxShapeType),o.xp6(2),o.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink),o.xp6(2),o.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),o.xp6(2),o.Q6J("ngIf",i.box.fileUrl),o.xp6(1),o.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!a.flowchartDetails.publishedCode&&i.box.inArrowCount>
10&&"M"!==i.box.boxShapeType&&"E"!==i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf",!a.flowchartDetails.publishedCode)}}function tn(e,_){if(1&e&&(o.ynx(0),o.YNc(1,on,22,18,"div",34),o.BQk()),2&e){const t=_.$implicit;o.xp6(1),o.Q6J("ngIf","E"!==t.box.boxShapeType)}}function en(e,_){if(1&e&&(o.TgZ(0,"div",134)(1,"div",135)(2,"a",136)(3,"mat-icon"),o._uU(4,"zoom_in"),o.qZA()()()()),2&e){const t=o.oxw();o.xp6(1),o.Udp("background-image","url("+t.flowchartDetails.currentBox.imageUrl+")"),o.xp6(1),o.s9C("href",t.flowchartDetails.currentBox.imageUrl,o.LSH)}}function nn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",137)(1,"div",114)(2,"div",115)(3,"div",116),o._UZ(4,"iframe",117),o.ALo(5,"safe"),o.TgZ(6,"div",118),o.NdJ("click",function(){o.CHM(t);const i=o.oxw();return o.KtG(i.stopVideo())}),o.TgZ(7,"mat-icon"),o._uU(8,"close"),o.qZA()()()()(),o.TgZ(9,"div",119),o.NdJ("click",function(){o.CHM(t);const i=o.oxw();return o.KtG(i.playVideo())}),o.TgZ(10,"a",138)(11,"mat-icon"),o._uU(12,"open_in_new"),o.qZA()(),o.TgZ(13,"div",121)(14,"mat-icon"),o._uU(15,"play_circle_filled"),o.qZA()()()()}if(2&e){const t=o.oxw();o.xp6(4),o.Q6J("src",o.xi3(5,4,t.videoEmbedUrl,"resourceUrl"),o.uOi),o.xp6(5),o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.xp6(1),o.s9C("href",t.videoEmbedUrl,o.LSH)}}function _n(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.boxCaption," ")}}function an(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.mcbBoxCaption," ")}}function cn(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.userInputData," ")}}function ln(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice : ",t.box.selectedChoiceBox.boxCaption," ")}}function rn(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice: ",t.box.boxCaption," ")}}function mn(e,_){1&e&&(o.TgZ(0,"mat-error"),o._uU(1," Please enter a valid email address "),o.qZA())}function pn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",66,67),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA(),o.YNc(3,mn,2,0,"mat-error",13),o.qZA()}if(2&e){const t=o.MAs(2),n=o.oxw(4).$implicit,i=o.oxw();o.xp6(1),o.Q6J("ngModel",i.userInputText[n.box.boxId]),o.xp6(2),o.Q6J("ngIf",!t.pristine&&(null==t.errors?null:t.errors.email))}}function xn(e,_){if(1&e&&(o.TgZ(0,"mat-hint",70),o._uU(1),o.qZA()),2&e){const t=o.oxw(5).$implicit,n=o.oxw();o.xp6(1),o.hij(" ",null==n.userInputText[t.box.boxId]?null:n.userInputText[t.box.boxId].length,"/200")}}function dn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"textarea",68),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o._uU(2," "),o.qZA(),o.YNc(3,xn,2,1,"mat-hint",69),o.qZA()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId]),o.xp6(2),o.Q6J("ngIf","TEXT"===t.box.userInputDataType)}}function sn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",71),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId])}}function gn(e,_){if(1&e&&(o.TgZ(0,"mat-error"),o._uU(1),o.qZA()),2&e){const t=o.oxw(6);o.xp6(1),o.Oqu(t.uploadErrMsg)}}function fn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",72)(1,"label",73),o._uU(2),o.qZA(),o._UZ(3,"br"),o.YNc(4,gn,2,1,"mat-error",13),o.TgZ(5,"input",74,75),o.NdJ("change",function(i){o.CHM(t);const a=o.oxw(5);return o.KtG(a.validateSelectedFile(i))}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(2),o.hij("Upload your file (Max ",n.flowchartOrg.userInputUploadSize,"KB)"),o.xp6(2),o.Q6J("ngIf",n.uploadErr),o.xp6(1),o.MGl("id","file-upload-",t.box.boxId,"")}}function un(e,_){if(1&e&&(o.TgZ(0,"form",61,62),o.YNc(2,pn,4,2,"mat-form-field",63),o.YNc(3,dn,4,2,"mat-form-field",63),o.YNc(4,sn,2,1,"mat-form-field",63),o.YNc(5,fn,7,3,"div",64),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(2),o.Q6J("ngIf","EMAIL"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","TEXT"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","PHONE"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","UPLOAD"===t.box.userInputDataType)}}function bn(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function hn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,bn,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Tn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",76)(1,"div",77)(2,"mat-button-toggle-group",78),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);
1return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,hn,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function vn(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function Cn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,vn,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function wn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",86)(1,"div",77)(2,"mat-button-toggle-group",87),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,Cn,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function Hn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",53),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw(2).$implicit,c=o.oxw();return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!1,!1))}),o.YNc(1,_n,2,1,"p",54),o.YNc(2,an,2,1,"p",54),o.YNc(3,cn,2,1,"p",55),o.YNc(4,ln,2,1,"p",55),o.YNc(5,rn,2,1,"p",55),o.YNc(6,un,6,4,"form",56),o.YNc(7,Tn,4,2,"div",57),o.YNc(8,wn,4,2,"div",58),o.qZA()}if(2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.Q6J("ngClass",n.getAnimatedVersionBoxClass(n.disableClick,t,"layer2")),o.xp6(1),o.Q6J("ngIf","C"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"!==t.box.mcbChoiceDisplayMode),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"===t.box.mcbChoiceDisplayMode)}}function Dn(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.boxCaption," ")}}function yn(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.mcbBoxCaption," ")}}function Zn(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.userInputData," ")}}function kn(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice : ",t.box.selectedChoiceBox.boxCaption," ")}}function In(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice: ",t.box.boxCaption," ")}}function Jn(e,_){1&e&&(o.TgZ(0,"mat-error"),o._uU(1," Please enter a valid email address "),o.qZA())}function Un(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",66,67),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA(),o.YNc(3,Jn,2,0,"mat-error",13),o.qZA()}if(2&e){const t=o.MAs(2),n=o.oxw(4).$implicit,i=o.oxw();o.xp6(1),o.Q6J("ngModel",i.userInputText[n.box.boxId]),o.xp6(2),o.Q6J("ngIf",!t.pristine&&(null==t.errors?null:t.errors.email))}}function An(e,_){if(1&e&&(o.TgZ(0,"mat-hint",70),o._uU(1),o.qZA()),2&e){const t=o.oxw(5).$implicit,n=o.oxw();o.xp6(1),o.hij(" ",null==n.userInputText[t.box.boxId]?null:n.userInputText[t.box.boxId].length,"/200")}}function Sn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"textarea",68),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o._uU(2," "),o.qZA(),o.YNc(3,An,2,1,"mat-hint",69),o.qZA()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId]),o.xp6(2),o.Q6J("ngIf","TEXT"===t.box.userInputDataType)}}function Nn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",71),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId])}}function Ln(e,_){if(1&e&&(o.TgZ(0,"mat-error"),o._uU(1),o.qZA()),2&e){const t=o.oxw(6);o.xp6(1),o.Oqu(t.uploadErrMsg)}}function Qn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",72)(1,"label",73),o._uU(2),o.qZA(),o._UZ(3,"br"),o.YNc(4,Ln,2,1,"mat-error",13),o.TgZ(5,"input",74,75),o.NdJ("change",function(i){o.CHM(t);const a=o.oxw(5);return o.KtG(a.validateSelectedFile(i))}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(2),o.hij("Upload your file (Max ",n.flowchartOrg.userInputUploadSize,"KB)"),o.xp6(2),o.Q6J("ngIf",n.uploadErr),o.xp6(1),o.MGl("id","file-upload-",t.box.boxId,"")}}function Bn(e,_){if(1&e&&(o.TgZ(0,"form",61,62),o.YNc(2,Un,4,2,"mat-form-field",63),o.YNc(3,Sn,4,2,"mat-form-field",63),o.YNc(4,Nn,2,1,"mat-form-field",63),o.YNc(5,Qn,7,3,"div",64),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(2),o.Q6J("ngIf","EMAIL"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","TEXT"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","PHONE"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","UPLOAD"===t.box.userInputDataType)}}function qn(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function Mn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,qn,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Yn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",76)(1,"div",77)(2,"mat-button-toggle-group",78),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);
1return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,Mn,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function En(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function Fn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,En,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function $n(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",86)(1,"div",77)(2,"mat-button-toggle-group",87),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,Fn,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function Vn(e,_){if(1&e&&(o.TgZ(0,"div",88),o.YNc(1,Dn,2,1,"p",54),o.YNc(2,yn,2,1,"p",54),o.YNc(3,Zn,2,1,"p",55),o.YNc(4,kn,2,1,"p",55),o.YNc(5,In,2,1,"p",55),o.YNc(6,Bn,6,4,"form",56),o.YNc(7,Yn,4,2,"div",57),o.YNc(8,$n,4,2,"div",58),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.Q6J("ngClass",n.getAnimatedVersionBoxClass(n.disableClick,t,"layer2")),o.xp6(1),o.Q6J("ngIf","C"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"!==t.box.mcbChoiceDisplayMode),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"===t.box.mcbChoiceDisplayMode)}}function On(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Gn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Kn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Pn(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Rn(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function jn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function zn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Wn(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Xn(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function o_(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function t_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function e_(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,On,3,2,"a",90),o.YNc(2,Gn,1,4,"a",91),o.YNc(3,Kn,1,4,"a",92),o.YNc(4,Pn,3,3,"a",93),o.YNc(5,Rn,1,5,"a",94),o.YNc(6,jn,3,3,"a",95),o.YNc(7,zn,1,5,"a",96),o.YNc(8,Wn,5,3,"a",97),o.YNc(9,Xn,5,3,"a",49),o.YNc(10,o_,1,5,"a",50),o.YNc(11,t_,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode&&t.box.inArrowCount>
10&&"E"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function i_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function n_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function __(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function a_(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function c_(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function l_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function r_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function m_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function p_(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function x_(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function d_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function s_(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,i_,3,2,"a",90),o.YNc(2,n_,1,4,"a",91),o.YNc(3,__,1,4,"a",92),o.YNc(4,a_,3,3,"a",93),o.YNc(5,c_,1,5,"a",94),o.YNc(6,l_,3,3,"a",95),o.YNc(7,r_,1,5,"a",96),o.YNc(8,m_,5,3,"a",97),o.YNc(9,p_,5,3,"a",49),o.YNc(10,x_,1,5,"a",50),o.YNc(11,d_,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function g_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function f_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function u_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function b_(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function h_(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function T_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function v_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function C_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function w_(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function H_(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function D_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function y_(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,g_,3,2,"a",90),o.YNc(2,f_,1,4,"a",91),o.YNc(3,u_,1,4,"a",92),o.YNc(4,b_,3,3,"a",93),o.YNc(5,h_,1,5,"a",94),o.YNc(6,T_,3,3,"a",95),o.YNc(7,v_,1,5,"a",96),o.YNc(8,C_,5,3,"a",97),o.YNc(9,w_,5,3,"a",49),o.YNc(10,H_,1,5,"a",50),o.YNc(11,D_,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function Z_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function k_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function I_(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function J_(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function U_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function A_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function S_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function N_(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function L_(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Q_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function B_(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,Z_,1,4,"a",91),o.YNc(2,k_,1,4,"a",92),o.YNc(3,I_,3,3,"a",93),o.YNc(4,J_,1,5,"a",94),o.YNc(5,U_,3,3,"a",95),o.YNc(6,A_,1,5,"a",96),o.YNc(7,S_,5,3,"a",97),o.YNc(8,N_,5,3,"a",49),o.YNc(9,L_,1,5,"a",50),o.YNc(10,Q_,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function q_(e,_){if(1&e&&(o.TgZ(0,"div",112)(1,"a",113)(2,"mat-icon"),o._uU(3,"open_in_new"),o.qZA()()()),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.xp6(1),o.s9C("href",t.box.imageUrl,o.LSH)}}function M_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",112)(1,"div",114)(2,"div",115)(3,"div",116),o._UZ(4,"iframe",117),o.ALo(5,"safe"),o.TgZ(6,"div",118),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.stopVideo())}),o.TgZ(7,"mat-icon"),o._uU(8,"close"),o.qZA()()()()(),o.TgZ(9,"div",119),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.playVideo())}),o.TgZ(10,"a",120)(11,"mat-icon"),o._uU(12,"open_in_new"),o.qZA()(),o.TgZ(13,"div",121)(14,"mat-icon"),o._uU(15,"play_circle_filled"),o.qZA()()()()}if(2&e){const t=o.oxw(3);o.xp6(4),o.Q6J("src",o.xi3(5,4,t.videoEmbedUrl,"resourceUrl"),o.uOi),o.xp6(5),o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.xp6(1),o.s9C("href",t.videoEmbedUrl,o.LSH)}}function Y_(e,_){if(1&e&&(o.TgZ(0,"a",124)(1,"mat-icon",125),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}
1function E_(e,_){if(1&e&&(o.TgZ(0,"a",126),o.ALo(1,"safe"),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image",o.xi3(1,5,"url("+t.box.imageVideoThumbnailUrl+")","style")),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function F_(e,_){if(1&e&&(o.TgZ(0,"div",44),o.YNc(1,Y_,3,3,"a",122),o.YNc(2,E_,2,8,"a",123),o.qZA()),2&e){const t=o.oxw(2).$implicit;o.xp6(1),o.Q6J("ngIf",t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl)}}function $_(e,_){if(1&e&&(o.TgZ(0,"a",127)(1,"mat-icon",125),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function V_(e,_){if(1&e&&(o.TgZ(0,"a",128),o.ALo(1,"safe"),o.qZA()),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image",o.xi3(1,5,"url("+t.box.refLinkIconUrl+")","style")),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function O_(e,_){if(1&e&&(o.TgZ(0,"a",129)(1,"span",130)(2,"mat-icon",107),o._uU(3,"description"),o.qZA(),o.TgZ(4,"mat-icon",108),o._uU(5,"attachment"),o.qZA()(),o.TgZ(6,"span",131),o._uU(7),o.qZA()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),o.xp6(7),o.Oqu(t.box.fileAttachmentName)}}function G_(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"span",130)(2,"mat-icon",107),o._uU(3,"description"),o.qZA(),o.TgZ(4,"mat-icon",108),o._uU(5,"attachment"),o.qZA()()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function K_(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function P_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",132),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(2).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function R_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",133),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function j_(e,_){if(1&e&&(o.TgZ(0,"div",35),o._UZ(1,"span",36),o.YNc(2,Hn,9,9,"div",37),o.YNc(3,Vn,9,9,"div",38),o.YNc(4,e_,12,11,"div",39),o.YNc(5,s_,12,11,"div",39),o.YNc(6,y_,12,11,"div",39),o.YNc(7,B_,11,10,"div",39),o.TgZ(8,"div",40),o.YNc(9,q_,4,3,"div",41),o.YNc(10,M_,16,7,"div",42),o.YNc(11,F_,3,2,"div",43),o.TgZ(12,"p",44),o.YNc(13,$_,3,3,"a",45),o.YNc(14,V_,2,8,"a",46),o.qZA(),o.TgZ(15,"p",47),o.YNc(16,O_,8,4,"a",48),o.YNc(17,G_,6,3,"a",49),o.YNc(18,K_,1,5,"a",50),o.qZA(),o.YNc(19,P_,3,2,"a",51),o.YNc(20,R_,3,2,"a",52),o.qZA(),o._UZ(21,"span",36),o.qZA()),2&e){const t=o.oxw(),n=t.index,i=t.$implicit,a=o.oxw();o.MGl("id","layer2-",n,""),o.Q6J("ngClass",a.getAnimatedVersionBoxContainerClass(i,"layer2")),o.xp6(2),o.Q6J("ngIf",a.enableLayerClickEvent("layer2")),o.xp6(1),o.Q6J("ngIf",!a.enableLayerClickEvent("layer2")),o.xp6(1),o.Q6J("ngIf","S"===i.box.boxShapeType||"E"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","D"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===i.box.boxShapeType),o.xp6(2),o.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink),o.xp6(2),o.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),o.xp6(2),o.Q6J("ngIf",i.box.fileUrl),o.xp6(1),o.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!a.flowchartDetails.publishedCode&&i.box.inArrowCount>
10&&"M"!==i.box.boxShapeType&&"E"!==i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf",!a.flowchartDetails.publishedCode)}}function z_(e,_){if(1&e&&(o.ynx(0),o.YNc(1,j_,22,18,"div",34),o.BQk()),2&e){const t=_.$implicit;o.xp6(1),o.Q6J("ngIf","E"!==t.box.boxShapeType)}}function W_(e,_){if(1&e&&(o.TgZ(0,"div",134)(1,"div",135)(2,"a",136)(3,"mat-icon"),o._uU(4,"zoom_in"),o.qZA()()()()),2&e){const t=o.oxw();o.xp6(1),o.Udp("background-image","url("+t.flowchartDetails.currentBox.imageUrl+")"),o.xp6(1),o.s9C("href",t.flowchartDetails.currentBox.imageUrl,o.LSH)}}function X_(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",137)(1,"div",114)(2,"div",115)(3,"div",116),o._UZ(4,"iframe",117),o.ALo(5,"safe"),o.TgZ(6,"div",118),o.NdJ("click",function(){o.CHM(t);const i=o.oxw();return o.KtG(i.stopVideo())}),o.TgZ(7,"mat-icon"),o._uU(8,"close"),o.qZA()()()()(),o.TgZ(9,"div",119),o.NdJ("click",function(){o.CHM(t);const i=o.oxw();return o.KtG(i.playVideo())}),o.TgZ(10,"a",138)(11,"mat-icon"),o._uU(12,"open_in_new"),o.qZA()(),o.TgZ(13,"div",121)(14,"mat-icon"),o._uU(15,"play_circle_filled"),o.qZA()()()()}if(2&e){const t=o.oxw();o.xp6(4),o.Q6J("src",o.xi3(5,4,t.videoEmbedUrl,"resourceUrl"),o.uOi),o.xp6(5),o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.xp6(1),o.s9C("href",t.videoEmbedUrl,o.LSH)}}function oa(e,_){if(1&e){const t=o.EpF();o.ynx(0),o.TgZ(1,"div",139)(2,"button",140),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw();return o.KtG(a.loadNextLayer(i,0,"",null,a.flowchartDetails.currentBox,!0,!0))}),o._uU(3," DONE\xa0 "),o.TgZ(4,"mat-icon"),o._uU(5,"stop"),o.qZA()()(),o.BQk()}if(2&e){const t=o.oxw();o.xp6(2),o.Q6J("disabled",t.disableClick||t.uploadErr)}}function ta(e,_){if(1&e&&(o.TgZ(0,"span",147),o._uU(1),o.qZA()),2&e){const t=o.oxw(2);o.xp6(1),o.hij("\xa0",t.flowchartDetails.currentBox.yesCaption,"")}}function ea(e,_){if(1&e&&(o.TgZ(0,"span",147),o._uU(1),o.qZA()),2&e){const t=o.oxw(2);o.xp6(1),o.hij("\xa0",t.flowchartDetails.currentBox.noCaption,"")}}function ia(e,_){if(1&e){const t=o.EpF();o.ynx(0),o.TgZ(1,"div",141)(2,"button",142),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw();return o.KtG(a.loadNextLayer(i,0,"",null,a.flowchartDetails.currentBox,!0,!0))}),o.TgZ(3,"span",143),o._uU(4,"DONE"),o.qZA(),o.TgZ(5,"mat-icon"),o._uU(6,"stop"),o.qZA(),o.YNc(7,ta,2,1,"span",144),o.qZA()(),o.TgZ(8,"div",145)(9,"button",146),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw();return o.KtG(a.loadNextLayer(i,0,"",null,a.flowchartDetails.currentBox,!0,!0))}),o.TgZ(10,"span",143),o._uU(11,"DONE"),o.qZA(),o.TgZ(12,"mat-icon"),o._uU(13,"stop"),o.qZA(),o.YNc(14,ea,2,1,"span",144),o.qZA()(),o.BQk()}if(2&e){const t=o.oxw();o.xp6(2),o.Q6J("disabled",t.disableClick||t.uploadErr),o.xp6(5),o.Q6J("ngIf",t.flowchartDetails.currentBox.yesCaption),o.xp6(2),o.Q6J("disabled",t.disableClick||t.uploadErr),o.xp6(5),o.Q6J("ngIf",t.flowchartDetails.currentBox.noCaption)}}function na(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",154),o.NdJ("next",function(i){o.CHM(t);const a=o.oxw().$implicit,c=o.oxw(2);return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!0,!1))}),o.TgZ(1,"button",140),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw().$implicit,c=o.oxw(2);return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!0,!1))}),o._uU(2," OK "),o.TgZ(3,"mat-icon"),o._uU(4,"skip_next"),o.qZA()()()}if(2&e){const t=o.oxw(3);o.xp6(1),o.Q6J("disabled",t.disableClick||t.uploadErr)}}function _a(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",139)(1,"button",155),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw().$implicit,c=o.oxw(2);return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!0,!1))}),o._uU(2," DONE\xa0 "),o.TgZ(3,"mat-icon"),o._uU(4,"send"),o.qZA()()()}if(2&e){const t=o.oxw(3);o.xp6(1),o.Q6J("disabled",t.disableClick||t.uploadErr)}}function aa(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",141)(1,"button",156),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw().$implicit,c=o.oxw(2);return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!0,!1))}),o._uU(2," DONE\xa0 "),o.TgZ(3,"mat-icon"),o._uU(4,"send"),o.qZA()()()}if(2&e){const t=o.oxw(3);o.xp6(1),o.Q6J("disabled",t.disableClick||t.uploadErr)}}function ca(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",145)(1,"button",157),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw().$implicit,c=o.oxw(2);
1return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!0,!1))}),o._uU(2," DONE\xa0 "),o.TgZ(3,"mat-icon"),o._uU(4,"send"),o.qZA()()()}if(2&e){const t=o.oxw(3);o.xp6(1),o.Q6J("disabled",t.disableClick||t.uploadErr)}}function la(e,_){if(1&e&&(o.TgZ(0,"span",147),o._uU(1),o.qZA()),2&e){const t=o.oxw(4);o.xp6(1),o.hij("\xa0",t.flowchartDetails.currentBox.yesCaption,"")}}function ra(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",158),o.NdJ("next",function(i){o.CHM(t);const a=o.oxw().$implicit,c=o.oxw(2);return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!0,!1))}),o.TgZ(1,"button",142),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw().$implicit,c=o.oxw(2);return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!0,!1))}),o.TgZ(2,"span",143),o._uU(3,"YES"),o.qZA(),o.TgZ(4,"mat-icon"),o._uU(5,"done"),o.qZA(),o.YNc(6,la,2,1,"span",144),o.qZA()()}if(2&e){const t=o.oxw(3);o.xp6(1),o.Q6J("disabled",t.disableClick||t.uploadErr),o.xp6(5),o.Q6J("ngIf",t.flowchartDetails.currentBox.yesCaption)}}function ma(e,_){if(1&e&&(o.TgZ(0,"span",147),o._uU(1),o.qZA()),2&e){const t=o.oxw(4);o.xp6(1),o.hij("\xa0",t.flowchartDetails.currentBox.yesCaption,"")}}function pa(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",141)(1,"button",142),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw(3);return o.KtG(a.loadNextLayer(i,0,"",null,a.flowchartDetails.currentBox,!0,!0))}),o.TgZ(2,"span",143),o._uU(3,"DONE"),o.qZA(),o.TgZ(4,"mat-icon"),o._uU(5,"stop"),o.qZA(),o.YNc(6,ma,2,1,"span",144),o.qZA()()}if(2&e){const t=o.oxw(3);o.xp6(1),o.Q6J("disabled",t.disableClick||t.uploadErr),o.xp6(5),o.Q6J("ngIf",t.flowchartDetails.currentBox.yesCaption)}}function xa(e,_){if(1&e&&(o.TgZ(0,"span",147),o._uU(1),o.qZA()),2&e){const t=o.oxw(4);o.xp6(1),o.hij("\xa0",t.flowchartDetails.currentBox.noCaption,"")}}function da(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",159),o.NdJ("next",function(i){o.CHM(t);const a=o.oxw().$implicit,c=o.oxw(2);return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!0,!1))}),o.TgZ(1,"button",146),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw().$implicit,c=o.oxw(2);return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!0,!1))}),o.TgZ(2,"span",143),o._uU(3,"NO"),o.qZA(),o.TgZ(4,"mat-icon"),o._uU(5,"clear"),o.qZA(),o.YNc(6,xa,2,1,"span",144),o.qZA()()}if(2&e){const t=o.oxw(3);o.xp6(1),o.Q6J("disabled",t.disableClick||t.uploadErr),o.xp6(5),o.Q6J("ngIf",t.flowchartDetails.currentBox.noCaption)}}function sa(e,_){if(1&e&&(o.TgZ(0,"span",147),o._uU(1),o.qZA()),2&e){const t=o.oxw(4);o.xp6(1),o.hij("\xa0",t.flowchartDetails.currentBox.noCaption,"")}}function ga(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",145)(1,"button",146),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw(3);return o.KtG(a.loadNextLayer(i,0,"",null,a.flowchartDetails.currentBox,!0,!0))}),o.TgZ(2,"span",143),o._uU(3,"DONE"),o.qZA(),o.TgZ(4,"mat-icon"),o._uU(5,"stop"),o.qZA(),o.YNc(6,sa,2,1,"span",144),o.qZA()()}if(2&e){const t=o.oxw(3);o.xp6(1),o.Q6J("disabled",t.disableClick||t.uploadErr),o.xp6(5),o.Q6J("ngIf",t.flowchartDetails.currentBox.noCaption)}}function fa(e,_){if(1&e&&(o.ynx(0),o.YNc(1,na,5,1,"div",148),o.YNc(2,_a,5,1,"div",149),o.YNc(3,aa,5,1,"div",150),o.YNc(4,ca,5,1,"div",151),o.YNc(5,ra,7,2,"div",152),o.YNc(6,pa,7,2,"div",150),o.YNc(7,da,7,2,"div",153),o.YNc(8,ga,7,2,"div",151),o.BQk()),2&e){const t=_.$implicit,n=o.oxw(2);o.xp6(1),o.Q6J("ngIf",("S"===n.flowchartDetails.currentBox.boxShapeType||"I"===n.flowchartDetails.currentBox.boxShapeType||"M"===n.flowchartDetails.currentBox.boxShapeType)&&"E"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","E"===t.box.boxShapeType&&"T"===t.fromBoxCorner),o.xp6(1),o.Q6J("ngIf","E"===t.box.boxShapeType&&"Y"===t.fromBoxCorner),o.xp6(1),o.Q6J("ngIf","E"===t.box.boxShapeType&&"N"===t.fromBoxCorner),o.xp6(1),o.Q6J("ngIf","D"===n.flowchartDetails.currentBox.boxShapeType&&"Y"===t.fromBoxCorner),o.xp6(1),o.Q6J("ngIf",1===n.flowchartDetails.toBoxList.length&&"D"===n.flowchartDetails.currentBox.boxShapeType&&"Y"!==t.fromBoxCorner),o.xp6(1),o.Q6J("ngIf","D"===n.flowchartDetails.currentBox.boxShapeType&&"N"===t.fromBoxCorner),o.xp6(1),o.Q6J("ngIf","D"===n.flowchartDetails.currentBox.boxShapeType&&1===n.flowchartDetails.toBoxList.length&&"N"!==t.fromBoxCorner)}}function ua(e,_){if(1&e&&(o.ynx(0),o.YNc(1,fa,9,8,"ng-container",7),o.BQk()),2&e){const t=o.oxw();o.xp6(1),o.Q6J("ngForOf",t.flowchartDetails.toBoxList)}}function ba(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.boxCaption," ")}}function ha(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.mcbBoxCaption," ")}}function Ta(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.userInputData," ")}}function va(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;
1o.xp6(1),o.hij(" Choice : ",t.box.selectedChoiceBox.boxCaption," ")}}function Ca(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice: ",t.box.boxCaption," ")}}function wa(e,_){1&e&&(o.TgZ(0,"mat-error"),o._uU(1," Please enter a valid email address "),o.qZA())}function Ha(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",66,67),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA(),o.YNc(3,wa,2,0,"mat-error",13),o.qZA()}if(2&e){const t=o.MAs(2),n=o.oxw(4).$implicit,i=o.oxw();o.xp6(1),o.Q6J("ngModel",i.userInputText[n.box.boxId]),o.xp6(2),o.Q6J("ngIf",!t.pristine&&(null==t.errors?null:t.errors.email))}}function Da(e,_){if(1&e&&(o.TgZ(0,"mat-hint",70),o._uU(1),o.qZA()),2&e){const t=o.oxw(5).$implicit,n=o.oxw();o.xp6(1),o.hij(" ",null==n.userInputText[t.box.boxId]?null:n.userInputText[t.box.boxId].length,"/200")}}function ya(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"textarea",68),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o._uU(2," "),o.qZA(),o.YNc(3,Da,2,1,"mat-hint",69),o.qZA()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId]),o.xp6(2),o.Q6J("ngIf","TEXT"===t.box.userInputDataType)}}function Za(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",71),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId])}}function ka(e,_){if(1&e&&(o.TgZ(0,"mat-error"),o._uU(1),o.qZA()),2&e){const t=o.oxw(6);o.xp6(1),o.Oqu(t.uploadErrMsg)}}function Ia(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",72)(1,"label",73),o._uU(2),o.qZA(),o._UZ(3,"br"),o.YNc(4,ka,2,1,"mat-error",13),o.TgZ(5,"input",74,75),o.NdJ("change",function(i){o.CHM(t);const a=o.oxw(5);return o.KtG(a.validateSelectedFile(i))}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(2),o.hij("Upload your file (Max ",n.flowchartOrg.userInputUploadSize,"KB)"),o.xp6(2),o.Q6J("ngIf",n.uploadErr),o.xp6(1),o.MGl("id","file-upload-",t.box.boxId,"")}}function Ja(e,_){if(1&e&&(o.TgZ(0,"form",61,62),o.YNc(2,Ha,4,2,"mat-form-field",63),o.YNc(3,ya,4,2,"mat-form-field",63),o.YNc(4,Za,2,1,"mat-form-field",63),o.YNc(5,Ia,7,3,"div",64),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(2),o.Q6J("ngIf","EMAIL"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","TEXT"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","PHONE"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","UPLOAD"===t.box.userInputDataType)}}function Ua(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function Aa(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,Ua,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Sa(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",76)(1,"div",77)(2,"mat-button-toggle-group",78),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,Aa,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function Na(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function La(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,Na,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Qa(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",86)(1,"div",77)(2,"mat-button-toggle-group",87),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);
1return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,La,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function Ba(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",53),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw(2).$implicit,c=o.oxw();return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!1,!1))}),o.YNc(1,ba,2,1,"p",54),o.YNc(2,ha,2,1,"p",54),o.YNc(3,Ta,2,1,"p",55),o.YNc(4,va,2,1,"p",55),o.YNc(5,Ca,2,1,"p",55),o.YNc(6,Ja,6,4,"form",56),o.YNc(7,Sa,4,2,"div",57),o.YNc(8,Qa,4,2,"div",58),o.qZA()}if(2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.Q6J("ngClass",n.getAnimatedVersionBoxClass(n.disableClick,t,"layer3")),o.xp6(1),o.Q6J("ngIf","C"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"!==t.box.mcbChoiceDisplayMode),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"===t.box.mcbChoiceDisplayMode)}}function qa(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.boxCaption," ")}}function Ma(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.mcbBoxCaption," ")}}function Ya(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.userInputData," ")}}function Ea(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice : ",t.box.selectedChoiceBox.boxCaption," ")}}function Fa(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice: ",t.box.boxCaption," ")}}function $a(e,_){1&e&&(o.TgZ(0,"mat-error"),o._uU(1," Please enter a valid email address "),o.qZA())}function Va(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",66,67),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA(),o.YNc(3,$a,2,0,"mat-error",13),o.qZA()}if(2&e){const t=o.MAs(2),n=o.oxw(4).$implicit,i=o.oxw();o.xp6(1),o.Q6J("ngModel",i.userInputText[n.box.boxId]),o.xp6(2),o.Q6J("ngIf",!t.pristine&&(null==t.errors?null:t.errors.email))}}function Oa(e,_){if(1&e&&(o.TgZ(0,"mat-hint",70),o._uU(1),o.qZA()),2&e){const t=o.oxw(5).$implicit,n=o.oxw();o.xp6(1),o.hij(" ",null==n.userInputText[t.box.boxId]?null:n.userInputText[t.box.boxId].length,"/200")}}function Ga(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"textarea",68),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o._uU(2," "),o.qZA(),o.YNc(3,Oa,2,1,"mat-hint",69),o.qZA()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId]),o.xp6(2),o.Q6J("ngIf","TEXT"===t.box.userInputDataType)}}function Ka(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",71),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId])}}function Pa(e,_){if(1&e&&(o.TgZ(0,"mat-error"),o._uU(1),o.qZA()),2&e){const t=o.oxw(6);o.xp6(1),o.Oqu(t.uploadErrMsg)}}function Ra(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",72)(1,"label",73),o._uU(2),o.qZA(),o._UZ(3,"br"),o.YNc(4,Pa,2,1,"mat-error",13),o.TgZ(5,"input",74,75),o.NdJ("change",function(i){o.CHM(t);const a=o.oxw(5);return o.KtG(a.validateSelectedFile(i))}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(2),o.hij("Upload your file (Max ",n.flowchartOrg.userInputUploadSize,"KB)"),o.xp6(2),o.Q6J("ngIf",n.uploadErr),o.xp6(1),o.MGl("id","file-upload-",t.box.boxId,"")}}function ja(e,_){if(1&e&&(o.TgZ(0,"form",61,62),o.YNc(2,Va,4,2,"mat-form-field",63),o.YNc(3,Ga,4,2,"mat-form-field",63),o.YNc(4,Ka,2,1,"mat-form-field",63),o.YNc(5,Ra,7,3,"div",64),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(2),o.Q6J("ngIf","EMAIL"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","TEXT"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","PHONE"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","UPLOAD"===t.box.userInputDataType)}}function za(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function Wa(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,za,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Xa(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",76)(1,"div",77)(2,"mat-button-toggle-group",78),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);
1return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,Wa,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function oc(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function tc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,oc,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function ec(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",86)(1,"div",77)(2,"mat-button-toggle-group",87),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,tc,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function ic(e,_){if(1&e&&(o.TgZ(0,"div",88),o.YNc(1,qa,2,1,"p",54),o.YNc(2,Ma,2,1,"p",54),o.YNc(3,Ya,2,1,"p",55),o.YNc(4,Ea,2,1,"p",55),o.YNc(5,Fa,2,1,"p",55),o.YNc(6,ja,6,4,"form",56),o.YNc(7,Xa,4,2,"div",57),o.YNc(8,ec,4,2,"div",58),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.Q6J("ngClass",n.getAnimatedVersionBoxClass(n.disableClick,t,"layer3")),o.xp6(1),o.Q6J("ngIf","C"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"!==t.box.mcbChoiceDisplayMode),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"===t.box.mcbChoiceDisplayMode)}}function nc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function _c(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ac(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function cc(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function lc(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function rc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function mc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function pc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function xc(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function dc(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function sc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function gc(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,nc,3,2,"a",90),o.YNc(2,_c,1,4,"a",91),o.YNc(3,ac,1,4,"a",92),o.YNc(4,cc,3,3,"a",93),o.YNc(5,lc,1,5,"a",94),o.YNc(6,rc,3,3,"a",95),o.YNc(7,mc,1,5,"a",96),o.YNc(8,pc,5,3,"a",97),o.YNc(9,xc,5,3,"a",49),o.YNc(10,dc,1,5,"a",50),o.YNc(11,sc,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode&&t.box.inArrowCount>
10&&"E"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function fc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function uc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function bc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function hc(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Tc(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function vc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Cc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function wc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Hc(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Dc(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function yc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Zc(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,fc,3,2,"a",90),o.YNc(2,uc,1,4,"a",91),o.YNc(3,bc,1,4,"a",92),o.YNc(4,hc,3,3,"a",93),o.YNc(5,Tc,1,5,"a",94),o.YNc(6,vc,3,3,"a",95),o.YNc(7,Cc,1,5,"a",96),o.YNc(8,wc,5,3,"a",97),o.YNc(9,Hc,5,3,"a",49),o.YNc(10,Dc,1,5,"a",50),o.YNc(11,yc,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function kc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Ic(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}
1function Jc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Uc(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ac(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Sc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Nc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Lc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Qc(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Bc(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function qc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Mc(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,kc,3,2,"a",90),o.YNc(2,Ic,1,4,"a",91),o.YNc(3,Jc,1,4,"a",92),o.YNc(4,Uc,3,3,"a",93),o.YNc(5,Ac,1,5,"a",94),o.YNc(6,Sc,3,3,"a",95),o.YNc(7,Nc,1,5,"a",96),o.YNc(8,Lc,5,3,"a",97),o.YNc(9,Qc,5,3,"a",49),o.YNc(10,Bc,1,5,"a",50),o.YNc(11,qc,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function Yc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ec(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Fc(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function $c(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Vc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Oc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Gc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Kc(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Pc(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Rc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function jc(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,Yc,1,4,"a",91),o.YNc(2,Ec,1,4,"a",92),o.YNc(3,Fc,3,3,"a",93),o.YNc(4,$c,1,5,"a",94),o.YNc(5,Vc,3,3,"a",95),o.YNc(6,Oc,1,5,"a",96),o.YNc(7,Gc,5,3,"a",97),o.YNc(8,Kc,5,3,"a",49),o.YNc(9,Pc,1,5,"a",50),o.YNc(10,Rc,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function zc(e,_){if(1&e&&(o.TgZ(0,"div",112)(1,"a",113)(2,"mat-icon"),o._uU(3,"open_in_new"),o.qZA()()()),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.xp6(1),o.s9C("href",t.box.imageUrl,o.LSH)}}function Wc(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",112)(1,"div",114)(2,"div",115)(3,"div",116),o._UZ(4,"iframe",117),o.ALo(5,"safe"),o.TgZ(6,"div",118),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.stopVideo())}),o.TgZ(7,"mat-icon"),o._uU(8,"close"),o.qZA()()()()(),o.TgZ(9,"div",119),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.playVideo())}),o.TgZ(10,"a",120)(11,"mat-icon"),o._uU(12,"open_in_new"),o.qZA()(),o.TgZ(13,"div",121)(14,"mat-icon"),o._uU(15,"play_circle_filled"),o.qZA()()()()}if(2&e){const t=o.oxw(3);o.xp6(4),o.Q6J("src",o.xi3(5,4,t.videoEmbedUrl,"resourceUrl"),o.uOi),o.xp6(5),o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.xp6(1),o.s9C("href",t.videoEmbedUrl,o.LSH)}}function Xc(e,_){if(1&e&&(o.TgZ(0,"a",124)(1,"mat-icon",125),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}
1function ol(e,_){if(1&e&&(o.TgZ(0,"a",126),o.ALo(1,"safe"),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image",o.xi3(1,5,"url("+t.box.imageVideoThumbnailUrl+")","style")),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function tl(e,_){if(1&e&&(o.TgZ(0,"div",44),o.YNc(1,Xc,3,3,"a",122),o.YNc(2,ol,2,8,"a",123),o.qZA()),2&e){const t=o.oxw(2).$implicit;o.xp6(1),o.Q6J("ngIf",t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl)}}function el(e,_){if(1&e&&(o.TgZ(0,"a",127)(1,"mat-icon",125),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function il(e,_){if(1&e&&(o.TgZ(0,"a",128),o.ALo(1,"safe"),o.qZA()),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image",o.xi3(1,5,"url("+t.box.refLinkIconUrl+")","style")),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function nl(e,_){if(1&e&&(o.TgZ(0,"a",129)(1,"span",130)(2,"mat-icon",107),o._uU(3,"description"),o.qZA(),o.TgZ(4,"mat-icon",108),o._uU(5,"attachment"),o.qZA()(),o.TgZ(6,"span",131),o._uU(7),o.qZA()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),o.xp6(7),o.Oqu(t.box.fileAttachmentName)}}function _l(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"span",130)(2,"mat-icon",107),o._uU(3,"description"),o.qZA(),o.TgZ(4,"mat-icon",108),o._uU(5,"attachment"),o.qZA()()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function al(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function cl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",132),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(2).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ll(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",133),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function rl(e,_){if(1&e&&(o.TgZ(0,"div",35),o._UZ(1,"span",36),o.YNc(2,Ba,9,9,"div",37),o.YNc(3,ic,9,9,"div",38),o.YNc(4,gc,12,11,"div",39),o.YNc(5,Zc,12,11,"div",39),o.YNc(6,Mc,12,11,"div",39),o.YNc(7,jc,11,10,"div",39),o.TgZ(8,"div",40),o.YNc(9,zc,4,3,"div",41),o.YNc(10,Wc,16,7,"div",42),o.YNc(11,tl,3,2,"div",43),o.TgZ(12,"p",44),o.YNc(13,el,3,3,"a",45),o.YNc(14,il,2,8,"a",46),o.qZA(),o.TgZ(15,"p",47),o.YNc(16,nl,8,4,"a",48),o.YNc(17,_l,6,3,"a",49),o.YNc(18,al,1,5,"a",50),o.qZA(),o.YNc(19,cl,3,2,"a",51),o.YNc(20,ll,3,2,"a",52),o.qZA(),o._UZ(21,"span",36),o.qZA()),2&e){const t=o.oxw(),n=t.index,i=t.$implicit,a=o.oxw();o.MGl("id","layer3-",n,""),o.Q6J("ngClass",a.getAnimatedVersionBoxContainerClass(i,"layer3")),o.xp6(2),o.Q6J("ngIf",a.enableLayerClickEvent("layer3")),o.xp6(1),o.Q6J("ngIf",!a.enableLayerClickEvent("layer3")),o.xp6(1),o.Q6J("ngIf","S"===i.box.boxShapeType||"E"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","D"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===i.box.boxShapeType),o.xp6(2),o.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink),o.xp6(2),o.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),o.xp6(2),o.Q6J("ngIf",i.box.fileUrl),o.xp6(1),o.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!a.flowchartDetails.publishedCode&&i.box.inArrowCount>
10&&"M"!==i.box.boxShapeType&&"E"!==i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf",!a.flowchartDetails.publishedCode)}}function ml(e,_){if(1&e&&(o.ynx(0),o.YNc(1,rl,22,18,"div",34),o.BQk()),2&e){const t=_.$implicit;o.xp6(1),o.Q6J("ngIf","E"!==t.box.boxShapeType)}}function pl(e,_){if(1&e&&(o.TgZ(0,"div",134)(1,"div",135)(2,"a",136)(3,"mat-icon"),o._uU(4,"zoom_in"),o.qZA()()()()),2&e){const t=o.oxw();o.xp6(1),o.Udp("background-image","url("+t.flowchartDetails.currentBox.imageUrl+")"),o.xp6(1),o.s9C("href",t.flowchartDetails.currentBox.imageUrl,o.LSH)}}function xl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",137)(1,"div",114)(2,"div",115)(3,"div",116),o._UZ(4,"iframe",117),o.ALo(5,"safe"),o.TgZ(6,"div",118),o.NdJ("click",function(){o.CHM(t);const i=o.oxw();return o.KtG(i.stopVideo())}),o.TgZ(7,"mat-icon"),o._uU(8,"close"),o.qZA()()()()(),o.TgZ(9,"div",119),o.NdJ("click",function(){o.CHM(t);const i=o.oxw();return o.KtG(i.playVideo())}),o.TgZ(10,"a",138)(11,"mat-icon"),o._uU(12,"open_in_new"),o.qZA()(),o.TgZ(13,"div",121)(14,"mat-icon"),o._uU(15,"play_circle_filled"),o.qZA()()()()}if(2&e){const t=o.oxw();o.xp6(4),o.Q6J("src",o.xi3(5,4,t.videoEmbedUrl,"resourceUrl"),o.uOi),o.xp6(5),o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.xp6(1),o.s9C("href",t.videoEmbedUrl,o.LSH)}}function dl(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.boxCaption," ")}}function sl(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.mcbBoxCaption," ")}}function gl(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.userInputData," ")}}function fl(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice : ",t.box.selectedChoiceBox.boxCaption," ")}}function ul(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice: ",t.box.boxCaption," ")}}function bl(e,_){1&e&&(o.TgZ(0,"mat-error"),o._uU(1," Please enter a valid email address "),o.qZA())}function hl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",66,67),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA(),o.YNc(3,bl,2,0,"mat-error",13),o.qZA()}if(2&e){const t=o.MAs(2),n=o.oxw(4).$implicit,i=o.oxw();o.xp6(1),o.Q6J("ngModel",i.userInputText[n.box.boxId]),o.xp6(2),o.Q6J("ngIf",!t.pristine&&(null==t.errors?null:t.errors.email))}}function Tl(e,_){if(1&e&&(o.TgZ(0,"mat-hint",70),o._uU(1),o.qZA()),2&e){const t=o.oxw(5).$implicit,n=o.oxw();o.xp6(1),o.hij(" ",null==n.userInputText[t.box.boxId]?null:n.userInputText[t.box.boxId].length,"/200")}}function vl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"textarea",68),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o._uU(2," "),o.qZA(),o.YNc(3,Tl,2,1,"mat-hint",69),o.qZA()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId]),o.xp6(2),o.Q6J("ngIf","TEXT"===t.box.userInputDataType)}}function Cl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",71),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId])}}function wl(e,_){if(1&e&&(o.TgZ(0,"mat-error"),o._uU(1),o.qZA()),2&e){const t=o.oxw(6);o.xp6(1),o.Oqu(t.uploadErrMsg)}}function Hl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",72)(1,"label",73),o._uU(2),o.qZA(),o._UZ(3,"br"),o.YNc(4,wl,2,1,"mat-error",13),o.TgZ(5,"input",74,75),o.NdJ("change",function(i){o.CHM(t);const a=o.oxw(5);return o.KtG(a.validateSelectedFile(i))}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(2),o.hij("Upload your file (Max ",n.flowchartOrg.userInputUploadSize,"KB)"),o.xp6(2),o.Q6J("ngIf",n.uploadErr),o.xp6(1),o.MGl("id","file-upload-",t.box.boxId,"")}}function Dl(e,_){if(1&e&&(o.TgZ(0,"form",61,62),o.YNc(2,hl,4,2,"mat-form-field",63),o.YNc(3,vl,4,2,"mat-form-field",63),o.YNc(4,Cl,2,1,"mat-form-field",63),o.YNc(5,Hl,7,3,"div",64),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(2),o.Q6J("ngIf","EMAIL"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","TEXT"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","PHONE"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","UPLOAD"===t.box.userInputDataType)}}function yl(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function Zl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,yl,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function kl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",76)(1,"div",77)(2,"mat-button-toggle-group",78),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);
1return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,Zl,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function Il(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function Jl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,Il,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Ul(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",86)(1,"div",77)(2,"mat-button-toggle-group",87),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,Jl,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function Al(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",53),o.NdJ("click",function(i){o.CHM(t);const a=o.oxw(2).$implicit,c=o.oxw();return o.KtG(c.loadNextLayer(i,a.boxId,a.fromBoxCorner,a.box,c.flowchartDetails.currentBox,!1,!1))}),o.YNc(1,dl,2,1,"p",54),o.YNc(2,sl,2,1,"p",54),o.YNc(3,gl,2,1,"p",55),o.YNc(4,fl,2,1,"p",55),o.YNc(5,ul,2,1,"p",55),o.YNc(6,Dl,6,4,"form",56),o.YNc(7,kl,4,2,"div",57),o.YNc(8,Ul,4,2,"div",58),o.qZA()}if(2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.Q6J("ngClass",n.getAnimatedVersionBoxClass(n.disableClick,t,"layer4")),o.xp6(1),o.Q6J("ngIf","C"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"!==t.box.mcbChoiceDisplayMode),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"===t.box.mcbChoiceDisplayMode)}}function Sl(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.boxCaption," ")}}function Nl(e,_){if(1&e&&(o.TgZ(0,"p",59),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.mcbBoxCaption," ")}}function Ll(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" ",t.box.userInputData," ")}}function Ql(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice : ",t.box.selectedChoiceBox.boxCaption," ")}}function Bl(e,_){if(1&e&&(o.TgZ(0,"p",60),o._uU(1),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(1),o.hij(" Choice: ",t.box.boxCaption," ")}}function ql(e,_){1&e&&(o.TgZ(0,"mat-error"),o._uU(1," Please enter a valid email address "),o.qZA())}function Ml(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",66,67),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA(),o.YNc(3,ql,2,0,"mat-error",13),o.qZA()}if(2&e){const t=o.MAs(2),n=o.oxw(4).$implicit,i=o.oxw();o.xp6(1),o.Q6J("ngModel",i.userInputText[n.box.boxId]),o.xp6(2),o.Q6J("ngIf",!t.pristine&&(null==t.errors?null:t.errors.email))}}function Yl(e,_){if(1&e&&(o.TgZ(0,"mat-hint",70),o._uU(1),o.qZA()),2&e){const t=o.oxw(5).$implicit,n=o.oxw();o.xp6(1),o.hij(" ",null==n.userInputText[t.box.boxId]?null:n.userInputText[t.box.boxId].length,"/200")}}function El(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"textarea",68),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o._uU(2," "),o.qZA(),o.YNc(3,Yl,2,1,"mat-hint",69),o.qZA()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId]),o.xp6(2),o.Q6J("ngIf","TEXT"===t.box.userInputDataType)}}function Fl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-form-field",65)(1,"input",71),o.NdJ("ngModelChange",function(i){o.CHM(t);const a=o.oxw(4).$implicit,c=o.oxw();return o.KtG(c.userInputText[a.box.boxId]=i)}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngModel",n.userInputText[t.box.boxId])}}function $l(e,_){if(1&e&&(o.TgZ(0,"mat-error"),o._uU(1),o.qZA()),2&e){const t=o.oxw(6);o.xp6(1),o.Oqu(t.uploadErrMsg)}}function Vl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",72)(1,"label",73),o._uU(2),o.qZA(),o._UZ(3,"br"),o.YNc(4,$l,2,1,"mat-error",13),o.TgZ(5,"input",74,75),o.NdJ("change",function(i){o.CHM(t);const a=o.oxw(5);return o.KtG(a.validateSelectedFile(i))}),o.qZA()()}if(2&e){const t=o.oxw(4).$implicit,n=o.oxw();o.xp6(2),o.hij("Upload your file (Max ",n.flowchartOrg.userInputUploadSize,"KB)"),o.xp6(2),o.Q6J("ngIf",n.uploadErr),o.xp6(1),o.MGl("id","file-upload-",t.box.boxId,"")}}function Ol(e,_){if(1&e&&(o.TgZ(0,"form",61,62),o.YNc(2,Ml,4,2,"mat-form-field",63),o.YNc(3,El,4,2,"mat-form-field",63),o.YNc(4,Fl,2,1,"mat-form-field",63),o.YNc(5,Vl,7,3,"div",64),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.xp6(2),o.Q6J("ngIf","EMAIL"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","TEXT"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","PHONE"===t.box.userInputDataType),o.xp6(1),o.Q6J("ngIf","UPLOAD"===t.box.userInputDataType)}}function Gl(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function Kl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,Gl,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function Pl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",76)(1,"div",77)(2,"mat-button-toggle-group",78),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);
1return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,Kl,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function Rl(e,_){if(1&e&&(o.TgZ(0,"div",84),o._UZ(1,"img",85),o.qZA()),2&e){const t=o.oxw().$implicit;o.xp6(1),o.s9C("src",t.choiceBox.imageUrl,o.LSH)}}function jl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"mat-button-toggle",80),o.NdJ("change",function(){const a=o.CHM(t).$implicit,c=o.oxw(5);return o.KtG(c.updateChoiceToBoxLayer(a.choiceBox.boxCaption))}),o.TgZ(1,"div",81),o.YNc(2,Rl,2,1,"div",82),o.TgZ(3,"div",83),o._uU(4),o.qZA()()()}if(2&e){const t=_.$implicit;o.Q6J("value",t.choiceBox.boxCaption),o.xp6(2),o.Q6J("ngIf",t.choiceBox.imageUrl),o.xp6(2),o.hij(" ",t.choiceBox.boxCaption," ")}}function zl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",86)(1,"div",77)(2,"mat-button-toggle-group",87),o.NdJ("valueChange",function(i){o.CHM(t);const a=o.oxw(4);return o.KtG(a.selectedChoiceBox=i)}),o.YNc(3,jl,5,3,"mat-button-toggle",79),o.qZA()()()}if(2&e){const t=o.oxw(3).$implicit,n=o.oxw();o.xp6(2),o.Q6J("value",n.selectedChoiceBox),o.xp6(1),o.Q6J("ngForOf",t.box.choiceBoxDetails)}}function Wl(e,_){if(1&e&&(o.TgZ(0,"div",88),o.YNc(1,Sl,2,1,"p",54),o.YNc(2,Nl,2,1,"p",54),o.YNc(3,Ll,2,1,"p",55),o.YNc(4,Ql,2,1,"p",55),o.YNc(5,Bl,2,1,"p",55),o.YNc(6,Ol,6,4,"form",56),o.YNc(7,Pl,4,2,"div",57),o.YNc(8,zl,4,2,"div",58),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.Q6J("ngClass",n.getAnimatedVersionBoxClass(n.disableClick,t,"layer4")),o.xp6(1),o.Q6J("ngIf","C"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","C"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"!==t.box.mcbChoiceDisplayMode),o.xp6(1),o.Q6J("ngIf","M"===t.box.boxShapeType&&"H"===t.box.mcbChoiceDisplayMode)}}function Xl(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function or(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function tr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function er(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ir(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function nr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function _r(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ar(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function cr(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function lr(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function rr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function mr(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,Xl,3,2,"a",90),o.YNc(2,or,1,4,"a",91),o.YNc(3,tr,1,4,"a",92),o.YNc(4,er,3,3,"a",93),o.YNc(5,ir,1,5,"a",94),o.YNc(6,nr,3,3,"a",95),o.YNc(7,_r,1,5,"a",96),o.YNc(8,ar,5,3,"a",97),o.YNc(9,cr,5,3,"a",49),o.YNc(10,lr,1,5,"a",50),o.YNc(11,rr,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode&&t.box.inArrowCount>
10&&"E"!==t.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function pr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function xr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function dr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function sr(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function gr(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function fr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ur(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function br(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function hr(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Tr(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function vr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Cr(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,pr,3,2,"a",90),o.YNc(2,xr,1,4,"a",91),o.YNc(3,dr,1,4,"a",92),o.YNc(4,sr,3,3,"a",93),o.YNc(5,gr,1,5,"a",94),o.YNc(6,fr,3,3,"a",95),o.YNc(7,ur,1,5,"a",96),o.YNc(8,br,5,3,"a",97),o.YNc(9,hr,5,3,"a",49),o.YNc(10,Tr,1,5,"a",50),o.YNc(11,vr,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function wr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",99),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Hr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Dr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function yr(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Zr(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function kr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ir(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Jr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ur(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ar(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Sr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Nr(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,wr,3,2,"a",90),o.YNc(2,Hr,1,4,"a",91),o.YNc(3,Dr,1,4,"a",92),o.YNc(4,yr,3,3,"a",93),o.YNc(5,Zr,1,5,"a",94),o.YNc(6,kr,3,3,"a",95),o.YNc(7,Ir,1,5,"a",96),o.YNc(8,Jr,5,3,"a",97),o.YNc(9,Ur,5,3,"a",49),o.YNc(10,Ar,1,5,"a",50),o.YNc(11,Sr,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode),o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function Lr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",100),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxImage())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Qr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",101),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.showCenterBoxVideoThumbnail())}),o.qZA()}if(2&e){const t=o.oxw(4);o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Br(e,_){if(1&e&&(o.TgZ(0,"a",102)(1,"mat-icon"),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function qr(e,_){if(1&e&&o._UZ(0,"a",103),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.imageVideoThumbnailUrl+")"),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Mr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",104),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.TgZ(1,"mat-icon"),o._uU(2,"link"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Yr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",105),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenRefLinkOnBoxMilestone())}),o.qZA()}if(2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.refLinkIconUrl+")"),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Er(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",106),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.captureOpenAttachmentOnBoxMilestone())}),o.TgZ(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()}if(2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Fr(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"mat-icon",107),o._uU(2,"description"),o.qZA(),o.TgZ(3,"mat-icon",108),o._uU(4,"attachment"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function $r(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Vr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",111),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(4);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Or(e,_){if(1&e&&(o.TgZ(0,"div",89),o.YNc(1,Lr,1,4,"a",91),o.YNc(2,Qr,1,4,"a",92),o.YNc(3,Br,3,3,"a",93),o.YNc(4,qr,1,5,"a",94),o.YNc(5,Mr,3,3,"a",95),o.YNc(6,Yr,1,5,"a",96),o.YNc(7,Er,5,3,"a",97),o.YNc(8,Fr,5,3,"a",49),o.YNc(9,$r,1,5,"a",50),o.YNc(10,Vr,3,2,"a",98),o.qZA()),2&e){const t=o.oxw(2).$implicit,n=o.oxw();o.xp6(1),o.Q6J("ngIf","I"===t.box.imageVideoOption&&t.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===t.box.imageVideoOption&&t.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf","E"===t.box.imageVideoOption&&t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&!t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.refLink&&t.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&!t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",t.box.fileAttachmentLink&&t.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!n.flowchartDetails.publishedCode)}}function Gr(e,_){if(1&e&&(o.TgZ(0,"div",112)(1,"a",113)(2,"mat-icon"),o._uU(3,"open_in_new"),o.qZA()()()),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image","url("+t.box.imageUrl+")"),o.xp6(1),o.s9C("href",t.box.imageUrl,o.LSH)}}function Kr(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",112)(1,"div",114)(2,"div",115)(3,"div",116),o._UZ(4,"iframe",117),o.ALo(5,"safe"),o.TgZ(6,"div",118),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.stopVideo())}),o.TgZ(7,"mat-icon"),o._uU(8,"close"),o.qZA()()()()(),o.TgZ(9,"div",119),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.playVideo())}),o.TgZ(10,"a",120)(11,"mat-icon"),o._uU(12,"open_in_new"),o.qZA()(),o.TgZ(13,"div",121)(14,"mat-icon"),o._uU(15,"play_circle_filled"),o.qZA()()()()}if(2&e){const t=o.oxw(3);o.xp6(4),o.Q6J("src",o.xi3(5,4,t.videoEmbedUrl,"resourceUrl"),o.uOi),o.xp6(5),o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.xp6(1),o.s9C("href",t.videoEmbedUrl,o.LSH)}}function Pr(e,_){if(1&e&&(o.TgZ(0,"a",124)(1,"mat-icon",125),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(3).$implicit;o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}
1function Rr(e,_){if(1&e&&(o.TgZ(0,"a",126),o.ALo(1,"safe"),o.qZA()),2&e){const t=o.oxw(3).$implicit;o.Udp("background-image",o.xi3(1,5,"url("+t.box.imageVideoThumbnailUrl+")","style")),o.s9C("href",t.box.imageVideoLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function jr(e,_){if(1&e&&(o.TgZ(0,"div",44),o.YNc(1,Pr,3,3,"a",122),o.YNc(2,Rr,2,8,"a",123),o.qZA()),2&e){const t=o.oxw(2).$implicit;o.xp6(1),o.Q6J("ngIf",t.box.imageVideoLink&&!t.box.imageVideoThumbnailUrl),o.xp6(1),o.Q6J("ngIf",t.box.imageVideoLink&&t.box.imageVideoThumbnailUrl)}}function zr(e,_){if(1&e&&(o.TgZ(0,"a",127)(1,"mat-icon",125),o._uU(2,"link"),o.qZA()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Wr(e,_){if(1&e&&(o.TgZ(0,"a",128),o.ALo(1,"safe"),o.qZA()),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image",o.xi3(1,5,"url("+t.box.refLinkIconUrl+")","style")),o.s9C("href",t.box.refLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Xr(e,_){if(1&e&&(o.TgZ(0,"a",129)(1,"span",130)(2,"mat-icon",107),o._uU(3,"description"),o.qZA(),o.TgZ(4,"mat-icon",108),o._uU(5,"attachment"),o.qZA()(),o.TgZ(6,"span",131),o._uU(7),o.qZA()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.fileUrl,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),o.xp6(7),o.Oqu(t.box.fileAttachmentName)}}function om(e,_){if(1&e&&(o.TgZ(0,"a",109)(1,"span",130)(2,"mat-icon",107),o._uU(3,"description"),o.qZA(),o.TgZ(4,"mat-icon",108),o._uU(5,"attachment"),o.qZA()()()),2&e){const t=o.oxw(2).$implicit;o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function tm(e,_){if(1&e&&o._UZ(0,"a",110),2&e){const t=o.oxw(2).$implicit;o.Udp("background-image","url("+t.box.fileAttachmentIconUrl+")"),o.s9C("href",t.box.fileAttachmentLink,o.LSH),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function em(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",132),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(2).$implicit,a=o.oxw();return o.KtG(a.openAddBookmarkDialog(i.box))}),o.TgZ(1,"mat-icon"),o._uU(2,"bookmark_border"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function im(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",133),o.NdJ("click",function(){o.CHM(t);const i=o.oxw(3);return o.KtG(i.sendFeedbackForBox())}),o.TgZ(1,"mat-icon"),o._uU(2,"feedback"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function nm(e,_){if(1&e&&(o.TgZ(0,"div",35),o._UZ(1,"span",36),o.YNc(2,Al,9,9,"div",37),o.YNc(3,Wl,9,9,"div",38),o.YNc(4,mr,12,11,"div",39),o.YNc(5,Cr,12,11,"div",39),o.YNc(6,Nr,12,11,"div",39),o.YNc(7,Or,11,10,"div",39),o.TgZ(8,"div",40),o.YNc(9,Gr,4,3,"div",41),o.YNc(10,Kr,16,7,"div",42),o.YNc(11,jr,3,2,"div",43),o.TgZ(12,"p",44),o.YNc(13,zr,3,3,"a",45),o.YNc(14,Wr,2,8,"a",46),o.qZA(),o.TgZ(15,"p",47),o.YNc(16,Xr,8,4,"a",48),o.YNc(17,om,6,3,"a",49),o.YNc(18,tm,1,5,"a",50),o.qZA(),o.YNc(19,em,3,2,"a",51),o.YNc(20,im,3,2,"a",52),o.qZA(),o._UZ(21,"span",36),o.qZA()),2&e){const t=o.oxw(),n=t.index,i=t.$implicit,a=o.oxw();o.MGl("id","layer4-",n,""),o.Q6J("ngClass",a.getAnimatedVersionBoxContainerClass(i,"layer4")),o.xp6(2),o.Q6J("ngIf",a.enableLayerClickEvent("layer4")),o.xp6(1),o.Q6J("ngIf",!a.enableLayerClickEvent("layer4")),o.xp6(1),o.Q6J("ngIf","S"===i.box.boxShapeType||"E"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","D"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","I"===i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf","M"===i.box.boxShapeType),o.xp6(2),o.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),o.xp6(1),o.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),o.xp6(1),o.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink),o.xp6(2),o.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),o.xp6(1),o.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),o.xp6(2),o.Q6J("ngIf",i.box.fileUrl),o.xp6(1),o.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),o.xp6(1),o.Q6J("ngIf",!a.flowchartDetails.publishedCode&&i.box.inArrowCount>
10&&"M"!==i.box.boxShapeType&&"E"!==i.box.boxShapeType),o.xp6(1),o.Q6J("ngIf",!a.flowchartDetails.publishedCode)}}function _m(e,_){if(1&e&&(o.ynx(0),o.YNc(1,nm,22,18,"div",34),o.BQk()),2&e){const t=_.$implicit;o.xp6(1),o.Q6J("ngIf","E"!==t.box.boxShapeType)}}function am(e,_){if(1&e&&(o.TgZ(0,"div",134)(1,"div",135)(2,"a",136)(3,"mat-icon"),o._uU(4,"zoom_in"),o.qZA()()()()),2&e){const t=o.oxw();o.xp6(1),o.Udp("background-image","url("+t.flowchartDetails.currentBox.imageUrl+")"),o.xp6(1),o.s9C("href",t.flowchartDetails.currentBox.imageUrl,o.LSH)}}function cm(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"div",137)(1,"div",114)(2,"div",115)(3,"div",116),o._UZ(4,"iframe",117),o.ALo(5,"safe"),o.TgZ(6,"div",118),o.NdJ("click",function(){o.CHM(t);const i=o.oxw();return o.KtG(i.stopVideo())}),o.TgZ(7,"mat-icon"),o._uU(8,"close"),o.qZA()()()()(),o.TgZ(9,"div",119),o.NdJ("click",function(){o.CHM(t);const i=o.oxw();return o.KtG(i.playVideo())}),o.TgZ(10,"a",138)(11,"mat-icon"),o._uU(12,"open_in_new"),o.qZA()(),o.TgZ(13,"div",121)(14,"mat-icon"),o._uU(15,"play_circle_filled"),o.qZA()()()()}if(2&e){const t=o.oxw();o.xp6(4),o.Q6J("src",o.xi3(5,4,t.videoEmbedUrl,"resourceUrl"),o.uOi),o.xp6(5),o.Udp("background-image","url("+t.videoThumbnailImage+")"),o.xp6(1),o.s9C("href",t.videoEmbedUrl,o.LSH)}}function lm(e,_){1&e&&(o.TgZ(0,"mat-icon",160),o._uU(1," public "),o.qZA()),2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function rm(e,_){1&e&&(o.TgZ(0,"mat-icon",161),o._uU(1,"lock_open"),o.qZA()),2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function mm(e,_){1&e&&(o.TgZ(0,"mat-icon",162),o._uU(1,"lock"),o.qZA()),2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function pm(e,_){1&e&&(o.TgZ(0,"mat-icon"),o._uU(1,"favorite_border"),o.qZA())}function xm(e,_){1&e&&(o.TgZ(0,"mat-icon"),o._uU(1,"favorite"),o.qZA())}function dm(e,_){if(1&e){const t=o.EpF();o.TgZ(0,"a",163),o.NdJ("click",function(){o.CHM(t);const i=o.oxw();return o.KtG(i.openWholeFlowchartViewModal())}),o.TgZ(1,"mat-icon"),o._uU(2,"schema"),o.qZA()()}2&e&&o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}let sm=(()=>{class e{constructor(t,n,i,a,c,s,g,m,v,N,C,J,D,w,U,Z,T,L,bm,hm){this.ngZone=t,this.route=n,this.router=i,this._utilService=a,this._homeService=c,this._boxService=s,this._flowchartService=g,this._flowchartUtilService=m,this._flowchartListService=v,this._boxConnectJsplumbService=N,this._userMilestoneService=C,this._boxFeedbackDialogService=J,this._wholeFcViewDialogService=D,this._addBookmarkDialogService=w,this._userWelcomeDialogService=U,this.seoService=Z,this.cdr=T,this._snackBar=L,this.dialog=bm,this.userFavFlowcharts=[{}],this.uploadErr=!1,this.flowchartDetails={},this.isFavorite=!1,this.canSeePublicIcon=!1,this.canSeeWholeFcPublishEditIcon=!1,this.userInputText=[],this.selectedChoiceBox="",this.toolTipPosition="right",this.resizeTimeout=50,this.loading=!1,this.noAnimationOnLayoutChange=!1,this.trigger0="lastpreviouslayer",this.trigger1="previouslayer",this.trigger2="centerlayer",this.trigger3="nextlayer",this.trigger4="afternextlayer",this.yesoknolayerState=!0,this.mylayerdivs=[],this.layerList=[],this.lastPrevLayer=[],this.nextNextlayer=[],this.nextClickDirection="",this.choiceSelectionClicked=!1,this.disableClick=!1,this.animatedLayerCount=0,this.animationStarted=0,this.videoThumbnailImage="",this.videoEmbedUrl="",this.flowchartOrg={userInputUploadSize:500},this.sessionStorage=hm;var M=document.getElementById("footer");M&&M.style&&(M.style.display="none");let Y={};Y=this.sessionStorage.getObject("userFcLayoutPref"),!this.selectedFcLayout&&Y&&(this.selectedFcLayout=Y.preferenceDisplayCaption),this._utilService.addFavoriteFcMilestoneAchieved.subscribe(y=>{y&&this._snackBar.open(u.e5V,"Dismiss",{duration:2500})}),this._utilService.fcNavigatedCompletelyMilestoneAchieved.subscribe(y=>{y&&this._snackBar.open(u.IAm,"Dismiss",{duration:2500})}),this.ngZone.run(()=>{this._utilService.fcLayoutPrefUpdate.subscribe(y=>{this.selectedFcLayout=y,this.noAnimationOnLayoutChange=!0,this.flowchartDetails.currentBox&&this._flowchartService.setSelectedFlowchartRenderDetails(this.flowchartDetails)})}),this._utilService.enableFcNextBoxClick.subscribe(y=>{y&&(this.disableClick=!1)});let V=this;this.subsVar=g.renderFlowchartDetails.subscribe(y=>{if(y.flowchartId!==this.flowchartDetails.flowchartId&&V._flowchartService.setNextLayerClick(!1),this.flowchartDetails=y,this.selectedChoiceBo
1x=this.flowchartDetails&&this.flowchartDetails.currentBox&&this.flowchartDetails.currentBox.selectedChoiceBox?this.flowchartDetails.currentBox.selectedChoiceBox.boxCaption:"",this.userInputText[this.flowchartDetails.currentBox.boxId]=this.flowchartDetails&&this.flowchartDetails.currentBox&&this.flowchartDetails.currentBox.userInputData?this.flowchartDetails.currentBox.userInputData:"",this.flowchartDetails&&this.flowchartDetails.currentBox&&this.flowchartDetails.currentBox.videoLink){let O=this.flowchartDetails.currentBox.videoLink;this.videoThumbnailImage=this._flowchartUtilService.generateYoutubeThumbnailImageForVideo(O),this.videoEmbedUrl=this._flowchartUtilService.generateYoutTubeEmbedVideoUrl(O)}!1===V._flowchartService.getNextLayerClick()?"M"===this.flowchartDetails.currentBox.boxShapeType?(this._flowchartUtilService.updateSelectedChoiceToBox(this.layerList,this.flowchartDetails),this.choiceSelectionClicked=!1):(this.layerList=[],this.layerList=m.prepareFlowchartLayers(this.flowchartDetails,this.lastPrevLayer,this.nextNextlayer),this.layerList=[...this.layerList],this._resetLayerFromStart(),this.cdr.markForCheck()):this.noAnimationOnLayoutChange||this._flowchartUtilService.slideLayers(this._flowchartService.getNextClickDirection(),this),this.loading=!1})}ngOnInit(){x()(),this._utilService.setShowSearchButton(!0),this.layerIds=["layer0","layer1","layer2","layer3","layer4"];var t=document.getElementById("footer");t&&t.style&&(t.style.display="none"),this.flowchartDetails=this.route.snapshot.data.flowchartDetails,null===this.flowchartDetails&&this.router.navigateByUrl("/setting"),this.seoService.createLinkForCanonicalURL();let i,n=this;i=this.sessionStorage.getObject("userProfile");let a=h.filter(i.userOrg,function(v){return v.orgId===n.flowchartDetails.orgId});this.flowchartOrg=a[0];let c=this.flowchartDetails?this.flowchartDetails.flowchartDescription:"";(!c||0===c.length)&&(c="This Flowchart '"+this.flowchartDetails.flowchartName+"' for '"+this.flowchartDetails.goalName+"'.");let s=this.flowchartDetails.flowchartName;if(s+="PUBLIC"!==this.flowchartDetails.orgName?" - "+this.flowchartDetails.orgName:" - DeciZone",this.seoService.generateTags({title:s,metaTitle:s,metaDescription:c,metaImageUrl:"https://decizone.com/assets/images/DZ-LOGO-1200x628px-Fb-Li-Opt.png",robots:"noindex,nofollow",slug:window.location.href}),this.selectedChoiceBox=this.flowchartDetails&&this.flowchartDetails.currentBox&&this.flowchartDetails.currentBox.selectedChoiceBox?this.flowchartDetails.currentBox.selectedChoiceBox.boxCaption:"",this.userInputText[this.flowchartDetails.currentBox.boxId]=this.flowchartDetails&&this.flowchartDetails.currentBox&&this.flowchartDetails.currentBox.userInputData?this.flowchartDetails.currentBox.userInputData:"",this.flowchartDetails&&this.flowchartDetails.currentBox&&this.flowchartDetails.currentBox.videoLink){let v=this.flowchartDetails.currentBox.videoLink;this.videoThumbnailImage=this._flowchartUtilService.generateYoutubeThumbnailImageForVideo(v),this.videoEmbedUrl=this._flowchartUtilService.generateYoutTubeEmbedVideoUrl(v)}this.isFavorite=this._flowchartUtilService.checkForFavoriteFlowchartFlag(this.flowchartDetails),this.canSeePublicIcon=this._flowchartService.getFlowchartPublicIconFlag(this.flowchartDetails,i),this.canSeeWholeFcPublishEditIcon=this._flowchartService.getWholeFlowchartPublishEditIconsFlag(this.flowchartDetails,i);let g={};g=this.sessionStorage.getObject("userFcLayoutPref"),!this.selectedFcLayout&&g&&(this.selectedFcLayout=g.preferenceDisplayCaption),this._flowchartService.getAndUpdateFlowchartPropertyInSession(this.flowchartDetails.flowchartId),this.layerList=this._flowchartUtilService.prepareFlowchartLayers(this.flowchartDetails,this.lastPrevLayer,this.nextNextlayer),this._utilService.setFlowchartFlowProperty(!0),this._utilService.setIsFlowchartPublished(this.flowchartDetails.isPublished),this.sessionStorage.getItem("showWelcomeModal")&&setTimeout(()=>{this._userWelcomeDialogService.open(),this._userWelcomeDialogService.confirmed().subscribe(v=>{this.sessionStorage.removeItem("showWelcomeModal")})})}getFcLayerClass(){return this.selectedFcLayout&&"CARD_LAYOUT"===this.selectedFcLayout?"card-layout-view":this.selectedFcLayout&&"ONE_LAYER_LAYOUT"===this.selectedFcLayout?"single-layer-view":"x1-three-layer-view"}ngAfterViewChecked(){this.cdr.detectChanges()}ngOnDestroy(){jsPlumb.empty("all-layers"),jsPlumb.reset(),this.flowchartDetails={},this._utilService.setCurrentFcSelectedLayout(""),this.subsVar&&this.subsVar.unsubscribe()}ngAfterViewInit(){jsPlumb.deleteEveryConnection(),jsPlumb.reset();var t=document.getElementById("all-layers");let i,n=document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0];n&&(n.style.display="none"),t.classList.contains("card-layout-view")?i=document.querySelectorAll(".x2-center-layer .x5-card-medtadata-container")[0]:(i=document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image")[0],i&&(i.style.display="none")),setTimeout((()=>
1{if(this._boxConnectJsplumbService.connectAnimatedBoxViaJsplumb(),this._boxConnectJsplumbService.drawConnectionsForAnimatedBoxes(),t.classList.contains("card-layout-view")){n=document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0],n&&(n.style.display="none");let a=document.querySelectorAll(".x2-center-layer .x5-card-medtadata-container #x7-centerBoxVideo")[0];console.log("Is there center box video element in card view - ",a),a&&(a.style.display="none")}else if(n=document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0],n&&(n.style.display="block",setTimeout(function(){n.style.display="none"},3300)),i=document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image")[0],i){i.style.display="block";let a=document.querySelectorAll(".x2-center-layer #centerBoxVideoThumbnail")[0];a&&(a.style.display="block",setTimeout(function(){a.style.display="none"},3300))}}).bind(this),800)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var t=document.getElementById("all-layers");let i,n=document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0];n&&(n.style.display="none"),t.classList.contains("card-layout-view")?i=document.querySelectorAll(".x2-center-layer .x5-card-medtadata-container #centerBoxVideoThumbnail")[0]:(i=document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image #centerBoxVideoThumbnail")[0],i&&(i.style.display="none")),this.resizeTimeout=window.setTimeout((()=>{if(console.log("Resize complete"),jsPlumb.deleteEveryConnection(),jsPlumb.reset(),this._boxConnectJsplumbService.connectAnimatedBoxViaJsplumb(),this._boxConnectJsplumbService.drawConnectionsForAnimatedBoxes(),t.classList.contains("card-layout-view")){let a=document.querySelectorAll(".x2-center-layer .x5-card-medtadata-container #x7-centerBoxVideo")[0];console.log("Is there center box video element in card view - ",n),a&&(a.style.display="none"),n=document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0],n&&(n.style.display="none")}else n=document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0],n&&(n.style.display="block",setTimeout(function(){n.style.display="none"},3300)),i=document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image #centerBoxVideoThumbnail")[0],i&&(i.style.display="block",setTimeout(function(){i.style.display="none"},3300))}).bind(this),50)}onKeyUp(t){if(!this.disableClick)if("ArrowDown"===t.key&&t.shiftKey)0===this.flowchartDetails.toBoxList.length?this.loadNextLayer(t,0,"",null,this.flowchartDetails.currentBox,!0,!0):this.loadNextLayer(t,this.flowchartDetails.toBoxList[0].boxId,this.flowchartDetails.toBoxList[0].fromBoxCorner,this.flowchartDetails.toBoxList[0].box,this.flowchartDetails.currentBox,!0,!1);else if("ArrowUp"===t.key&&t.shiftKey)this.historyBackRender();else if("ArrowLeft"===t.key&&t.shiftKey){var i=h.find(this.flowchartDetails.toBoxList,function(c){return"Y"===c.fromBo
1xCorner});i&&this.loadNextLayer(t,i.boxId,i.fromBoxCorner,i.box,this.flowchartDetails.currentBox,!0,!1)}else if("ArrowRight"===t.key&&t.shiftKey){var a=h.find(this.flowchartDetails.toBoxList,function(c){return"N"===c.fromBoxCorner});a&&this.loadNextLayer(t,a.boxId,a.fromBoxCorner,a.box,this.flowchartDetails.currentBox,!0,!1)}}showCenterBoxImage(){this._userMilestoneService.saveOrUpdateUserMilestone("OPEN_IMAGE_ON_BOX",null),document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0].style.display="block",setTimeout(function(){document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0].style.display="none"},3300)}showCenterBoxVideoThumbnail(){document.getElementById("all-layers").classList.contains("card-layout-view")||(document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image")[0].style.display="block",document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image #centerBoxVideoThumbnail")[0].style.display="block",setTimeout(function(){document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image #centerBoxVideoThumbnail")[0].style.display="none"},3300))}playVideo(){this._flowchartUtilService.playVideo(!0)}stopVideo(){this._flowchartUtilService.stopVideo(!0)}getAnimatedVersionBoxClass(t,n,i){return this._utilService.getAnimatedVersionBoxClass(t,n,i)}getAnimatedVersionBoxContainerClass(t,n){return this._utilService.getAnimatedVersionBoxContainerClass(t,n)}canHideBackButton(t){return!document.getElementById(t).classList.contains("x2-center-layer")||1===this.flowchartDetails.fromBoxList.length&&0===this.flowchartDetails.fromBoxList[0].box.inArrowCount||0===this.flowchartDetails.fromBoxList.length}enableLayerClickEvent(t){return!document.getElementById(t).classList.contains("x2-center-layer")}updatePreviousLayerSliderPanelClass(t){if(document.getElementById(t).classList.contains("x2-previous-layer")){if(2===this.flowchartDetails.fromBoxList.length)return"x3-twoboxesinsliderpanel";if(this.flowchartDetails.fromBoxList.length>2)return"x3-morethantwoboxesinsliderpanel"}}historyBackRender(){this.animatedLayerCount=0,this.animationStarted=0,this.loading=!0,this.noAnimationOnLayoutChange=!1,this._utilService.getCookie("userSessionId"),JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart"))).startBoxId!==this.flowchartDetails.fromBoxList[0].boxId?(this._flowchartService.setNextLayerClick(!0),this._flowchartService.setNextClickDirection("back"),this.disableClick=!0,this._flowchartUtilService.animationClassChanges(event),this._flowchartService.loadFlowchartBack(!1,!1,!0,this.flowchartDetails)):this.loading=!1}sendFeedbackForBox(){var t;t=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart"))),this._boxFeedbackDialogService.open({flowchartId:this.flowchartDetails.flowchartId,flowchartVersionId:this.flowchartDetails.flowchartVersionId,flowchartName:this.flowchartDetails.flowchartName,categoryName:this.flowchartDetails.categoryName,categoryId:this.flowchartDetails.categoryId,subCategoryId:this.flowchartDetails.subCategoryId,subCategoryName:this.flowchartDetails.subCategoryName,goalName:this.flowchartDetails.goalName,goalId:this.flowchartDetails.goalId,goalUrl:this.flowchartDetails.goalUrl,flowchartRandomId:t.flowchartRandomId,boxCaption:this.flowchartDetails.currentBox.boxCaption,currentBoxId:this.flowchartDetails.currentBox.boxId,userAccess:this.flowchartDetails.userAccess,orgId:this.flowchartDetails.orgId,fcLayout:this.selectedFcLayout}),this._boxFeedbackDialogService.confirmed().subscribe(i=>{})}loadNextLayer(t,n,i,a,c,s,g){this.animatedLayerCount=0,this.animationStarted=0,this.loading=!0,this.noAnimationOnLayoutChange=!1;var m,v=this._utilService.getCookie("userSessionId");if((m=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart")))).startBoxId===n||a&&0===a.inArrowCount)return this.loading=!1,void(this.disableClick=!1);n&&(this.disableClick=!0,this._flowchartService.setNextLayerClick(!0),this.nextClickDirection=this._flowchartUtilService.getNextBoxClickDirection(s,this.flowchartDetails,n),"forward"===this.nextClickDirection&&(s=!0),this._flowchartService.setNextClickDirection(this.nextClickDirection),jsPlumb.deleteEveryConnection(),jsPlumb.reset(),this._flowchartUtilService.animationClassChanges(t),this.yesoknolayerState=!this.yesoknolayerState);var N=!0,C=u.zVp;
1if(a&&"E"===a.boxShapeType){var J={currentFlowchartId:a.boxFlowchartId,beginningFlowchartId:m.beginningFlowchartId,flowchartVersionId:m.currentFlowchartVersionId,forwardFlag:s,dzTransactionId:m.dzTransactionId,currentBoxId:n,previousBoxId:c.boxId,previousBoxFlowchartVersionId:c.boxFlowchartVersionId,previousBoxFlowchartId:c.boxFlowchartId,boxCorner:i,userInputData:"OK",userSessionId:v,categoryName:m.categoryName,subCategoryName:m.subCategoryName,goalName:m.goalName,goalId:m.goalId,goalUrl:m.goalUrl,flowchartRandomId:m.flowchartRandomId,editMode:m.editMode,orgId:this.flowchartDetails.orgId,orgName:this.flowchartDetails.orgName,userAccess:this.flowchartDetails.userAccess,uploadedFileData:""};if("I"===c.boxShapeType&&"UPLOAD"===c.userInputDataType){let w=this.fileInput.nativeElement,Z="";if(w.files.length>0){let T=new FileReader;T.readAsDataURL(w.files.item(0)),T.onload=()=>{Z=T.result.toString().split(",")[1],J.userInputData=w.files.item(0).name,J.uploadedFileData=Z,this._flowchartService.callRenderForNextLayer(C,J).subscribe(L=>{this._endFlowRoute(m,this.flowchartDetails.orgName)},L=>{this.loading=!1})}}else this._flowchartService.callRenderForNextLayer(C,J).subscribe(T=>{this._endFlowRoute(m,this.flowchartDetails.orgName)},T=>{this.loading=!1})}else("I"!==c.boxShapeType||"I"===c.boxShapeType&&"UPLOAD"!==c.userInputDataType)&&("I"===c.boxShapeType&&null!=this.userInputText[c.boxId]&&this.userInputText[c.boxId].length>0&&this._userMilestoneService.saveOrUpdateUserMilestone("NAVIGATED_USERINPUT_BOX_WITH_VALUE",null),J.userInputData="I"===c.boxShapeType?this.userInputText[c.boxId]:"OK",this._flowchartService.callRenderForNextLayer(C,J).subscribe(w=>{this._endFlowRoute(m,this.flowchartDetails.orgName)},w=>{this.loading=!1}))}else if(!1===s&&a&&"I"===a.boxShapeType&&(this.userInputText[a.boxId]=a.userInputData),"I"===c.boxShapeType&&"UPLOAD"===c.userInputDataType){let w=this.fileInput.nativeElement;var D={currentFlowchartId:c.boxFlowchartId,beginningFlowchartId:m.beginningFlowchartId,flowchartVersionId:m.currentFlowchartVersionId,forwardFlag:s,dzTransactionId:m.dzTransactionId,currentBoxId:c.boxId,previousBoxId:c.boxId,previousBoxFlowchartVersionId:c.boxFlowchartVersionId,previousBoxFlowchartId:c.boxFlowchartId,boxCorner:i,userInputData:this.userInputText[c.boxId],userSessionId:v,categoryName:m.categoryName,subCategoryName:m.subCategoryName,goalName:m.goalName,goalId:m.goalId,goalUrl:m.goalUrl,flowchartRandomId:m.flowchartRandomId,editMode:m.editMode,orgId:this.flowchartDetails.orgId,orgName:this.flowchartDetails.orgName,userAccess:this.flowchartDetails.userAccess,uploadedFileData:"",lastBoxClick:!1};let Z="";if(w.files.length>0){let T=new FileReader;T.readAsDataURL(w.files.item(0)),T.onload=()=>{Z=T.result.toString().split(",")[1],this.userInputText[c.boxId]=w.files.item(0).name,this._flowchartService.setUserInputDataInSession(c.boxId,this.userInputText[c.boxId]),D.uploadedFileData=Z,a&&0!==a.inArrowCount&&this._flowchartService.loadNextLayer(!1,N,C,n,i,a,c,this.flowchartDetails,s,this.userInputText[c.boxId],Z),n||0===n||g?g&&(D.lastBoxClick=!0,D.userInputData=this.userInputText[c.boxId],this._flowchartService.callRenderForNextLayer(C,D).subscribe(L=>{this._endFlowRoute(m,this.flowchartDetails.orgName)},L=>{this.loading=!1})):this.loading=!1}}else{if(a&&0!==a.inArrowCount&&this._flowchartService.loadNextLayer(!1,N,C,n,i,a,c,this.flowchartDetails,s,this.userInputText[c.boxId],Z),!n&&0!==n&&!g)return void(this.loading=!1);g&&(D.lastBoxClick=!0,this._flowchartService.callRenderForNextLayer(C,D).subscribe(T=>{this._endFlowRoute(m,this.flowchartDetails.orgName)},T=>{this.loading=!1}))}}else if("I"!==c.boxShapeType||"I"===c.boxShapeType&&"UPLOAD"!==c.userInputDataType){if("I"===c.boxShapeType&&null!=this.userInputText[c.boxId]&&this.userInputText[c.boxId].length>0&&this._userMilestoneService.saveOrUpdateUserMilestone("NAVIGATED_USERINPUT_BOX_WITH_VALUE",null),this._flowchartService.setUserInputDataInSession(c.boxId,this.userInputText[c.boxId]),a&&0!==a.inArrowCount&&this._flowchartService.loadNextLayer(!1,N,C,n,i,a,c,this.flowchartDetails,s,this.userInputText[c.boxId],""),!n&&0!==n&&!g)return void(this.loading=!1);g&&this._flowchartService.callRenderForNextLayer(C,D={currentFlowchartId:c.boxFlowchartId,beginningFlowchartId:m.beginningFlowchartId,flowchartVersionId:m.currentFlowchartVersionId,forwardFlag:s,dzTransactionId:m.dzTransactionId,currentBoxId:c.boxId,previousBoxId:c.boxId,previousBoxFlowchartVersionId:c.boxFlowchartVersionId,previousBoxFlowchartId:c.boxFlowchartId,boxCorner:i,userInputData:"I"===c.boxShapeType?this.userInputText[c.boxId]:"OK",userSessionId:v,categoryName:m.categoryName,subCategoryName:m.subCategoryName,goalName:m.goalName,goalId:m.goalId,goalUrl:m.goalUrl,flowchartRandomId:m.flowchartRandomId,editMode:m.editMode,orgId:this.flowchartDetails.orgId,orgName:this.flowchartDetails.orgName,userAccess:this.flowchartDetails.userAccess,uploadedFileData:"",lastBoxClick:!0}).subscribe(U=>{this._endFlowRoute(m,this.flowchartDetails.orgName)},U=>{this.loading=!1})}}_endFlowRoute(t,n){var i;if(t.hasMaster){let s=this.sessionStorage.getObject("userMilestones");-1===h.findIndex(s,{milestoneName:"FIRST_FC_NAVIGATED_COMPLETELY",isCompleted:!0})&&this._utilService.setFlowchartNavigatedCompletelyMilestoneAchieved(),this._userMilestoneService.saveOrUpdateUserMilestone("FIRST_FC_NAVIGATED_COMPLETELY",null)}if(this.sessionStorage.getObject("fcPropertyByFcId")){var a=this.sessionStorage.getObject("fcPropertyByFcId")[t.beginningFlowchartId];
1a?(h.forEach(a.flowchartPropertyBean,function(s){if("FLOWCHART_END_FLOW"===s.propertyName)return i=s.propertyOption,!1}),this.sessionStorage.removeItem("flowchart"),h.isEqual(i,"FLOWCHART GOAL PAGE")?(this._flowchartListService.setSelectedGoalId(t.goalId),this._flowchartListService.setSelectedGoalName(t.goalName),this.ngZone.run(()=>{this.router.navigate([`./${t.goalId}/${t.goalUrl}`])})):h.isEqual(i,"RESTART FLOWCHART")?(this.sessionStorage.removeItem("flowchart"),this.ngZone.run(()=>this.router.navigateByUrl("/restart-flowchart",{skipLocationChange:!0}).then(()=>this.router.navigate([`${t.goalId}/${t.flowchartRandomId}/${t.goalUrl}/${t.flowchartName}`])))):h.isEqual(i,"ORGANIZATION HOME PAGE")?1===t.orgId?this.router.navigateByUrl("/myhome"):this.router.navigate([`/org/home/${n}`]):(this._flowchartListService.setSelectedGoalId(t.goalId),this._flowchartListService.setSelectedGoalName(t.goalName),this.ngZone.run(()=>{this.router.navigate([`./${t.goalId}/${t.goalUrl}`])}))):(this._flowchartListService.setSelectedGoalId(t.goalId),this._flowchartListService.setSelectedGoalName(t.goalName),this.ngZone.run(()=>{this.router.navigate([`./${t.goalId}/${t.goalUrl}`])}))}else this._flowchartListService.setSelectedGoalId(t.goalId),this._flowchartListService.setSelectedGoalName(t.goalName),this.ngZone.run(()=>{this.router.navigate([`./${t.goalId}/${t.goalUrl}`])})}updateChoiceToBoxLayer(t){this.loading=!0,this.choiceSelectionClicked=!0,this._flowchartService.setNextLayerClick(!1),console.log(t),this.selectedChoiceBox=t,this._flowchartService.loadSelectedChoiceBoxNextLayer(t,this.flowchartDetails)}getFromBoxClass(t,n){return this._utilService.getFromBoxCssClassString(t,n)}getToBoxClass(t,n){return this._utilService.getToBoxCssClassString(t,n)}openAddBookmarkDialog(t){var n="",i=this.flowchartDetails;const a={flowchartId:i.flowchartId,orgId:i.orgId,userAccess:i.userAccess,boxId:t.boxId,boxCaption:t.boxCaption,currentBoxAlias:n};this._boxService.getBoxAliasListByUserOrgBoxShapeType(this.flowchartDetails.orgId,t.boxShapeType,this.flowchartDetails.userAccess,this.flowchartDetails.flowchartVersionId).subscribe(c=>{var s,g=h.findIndex(s=c.responseBody.boxAliasBeanList,function(m){return m.boxId===t.boxId});-1!==g&&(n=s[g].boxAliasName),a.currentBoxAlias=n,this._addBookmarkDialogService.open(a),this._addBookmarkDialogService.confirmed().subscribe(m=>{})},c=>{this._addBookmarkDialogService.open(a),this._addBookmarkDialogService.confirmed().subscribe(s=>{})})}openWholeFlowchartViewModal(){var t=this.sessionStorage.getItem("orgLogoUrl"),n=this.flowchartDetails;this._flowchartService.loadWholeFlowchartViewDetails().subscribe(i=>{this._wholeFcViewDialogService.open({categoryId:n.categoryId,subCategoryId:n.subCategoryId,goalId:n.goalId,orgId:n.orgId,orgName:n.orgName,orgDisplayName:n.orgDisplayName,categoryName:n.categoryName,subCategoryName:n.subCategoryName,goalName:n.goalName,flowchartName:n.flowchartName,flowchartId:n.flowchartId,flowchartVersionId:n.flowchartVersionId,flowchartVersionName:n.flowchartVersionName,userAccess:n.userAccess,orgLogoUrl:t,content:i.responseBody.wholeFlowchartDetail}),this._wholeFcViewDialogService.confirmed().subscribe(c=>{})},i=>{})}openFlowchartListByGoal(t,n,i,a,c,s){var g;g=this._flowchartListService.getFlowchartListInCategoryTree(i,a,t,s,c),console.log(g),this._userMilestoneService.saveOrUpdateUserMilestone("VIEW_GOAL_FROM_BREADCRUMB",null),0===g.flowchartList.length?this._flowchartListService.getFlowchartlistByGoalUrl(i,a).subscribe(m=>{this._flowchartListService.updateFcListByGoalInSession(i,m.responseBody),g.flowchartList=m.responseBody.flowchartBeanList,this._flowchartListService.setFlowchartListDetailsByGoalName(g),this._flowchartListService.setSelectedGoalId(i),this._flowchartListService.setSelectedGoalName(n),this.router.navigate([`./${i}/${g.goalUrl}`])},m=>{}):(this._flowchartListService.setFlowchartListDetailsByGoalName(g),this._flowchartListService.setSelectedGoalId(i),this._flowchartListService.setSelectedGoalName(n),this.router.navigate([`./${i}/${g.goalUrl}`]))}toggleUserFavoriteForFlowchart(t,n){let i=[];i.push(t),n?this._homeService.addFlowchartsToUserFavorite(i).subscribe(a=>{this.isFavorite=!0,this._homeService.updateUserFavoriteFlowchartsInSession();let c=this.sessionStorage.getObject("userMilestones");-1===h.findIndex(c,{milestoneName:"ADD_FAVORITE_FLOWCHART",isCompleted:!0})&&this._utilService.setAddFavoriteFcMilestoneAchieved(),this._userMilestoneService.saveOrUpdateUserMilestone("ADD_FAVORITE_FLOWCHART",null)},a=>{this.isFavorite=!1}):this._homeService.removeFlowchartsFromUserFavorite(i).subscribe(a=>{this.isFavorite=!1,this._homeService.updateUserFavoriteFlowchartsInSession()},a=>{this.isFavorite=!0})}togglefooter(){var t=document.getElementById("footer");t&&t.style&&(t.style.display="none"===t.style.display?"block":"none")}_resetLayerFromStart(){let t={};this.layerIds=["layer0","layer1","layer2","layer3","layer4"],(!this.mylayerdivs||0===this.mylayerdivs.length)&&(this.mylayerdivs=document.querySelectorAll(".x2-eachLayer"));for(var n=0;n<this.mylayerdivs.length;n++)t=this.mylayerdivs[n],"layer0"===t.id?(this.trigger0="lastpreviouslayer",t.className="x2-eachLayer x2-lastprev-layer"):"layer1"===t.id?(this.trigger1="previouslayer",t.className="x2-eachLayer x2-previous-layer"):"layer2"===t.id?(this.trigger2="centerlayer",t.className="x2-eachLayer x2-center-layer"):"layer3"===t.id?(this.trigger3="nextlayer",t.className="x2-eachLayer x2-next-layer"):"layer4"===t.id&&(this.trigger4="afternextlayer",t.className="x2-eachLayer x2-afternext-layer")}validateSelectedFile(t){if(this.uploadErr=!1,t.target.files&&t.target.files.length>0){let i=t.target.files[0];
1if(!h.includes(["image/png","image/gif","image/jpg","image/jpeg","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","text/x-csv","text/plain","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/pdf"],i.type))return this.uploadErrMsg="Invalid File type. Only *.png/jpg/jpeg/gif/doc/docx/csv/txt/xls/xlsx/pdf files are allowed.",void(this.uploadErr=!0);if(i.size>1e3*this.flowchartOrg.userInputUploadSize)return this.uploadErr=!0,void(this.uploadErrMsg="File size must be less than "+this.flowchartOrg.userInputUploadSize+"KB.")}else this.uploadErr=!0,this.uploadErrMsg="You haven't selected any file."}captureOpenAttachmentOnBoxMilestone(){this._userMilestoneService.saveOrUpdateUserMilestone("OPEN_FILE_ATTACHMENT_ON_BOX",null)}captureOpenRefLinkOnBoxMilestone(){this._userMilestoneService.saveOrUpdateUserMilestone("OPEN_REFERENCE_LINK_ON_BOX",null)}layerAnimationStart(t){this.animationStarted++,1===this.animationStarted&&(console.log("first time starting animation - redrawing in timeout of 700 ms"),this._flowchartUtilService.redrawConnections(700,!0,!1,!1))}layerAnimationDone(t){this.animatedLayerCount++,console.log("Animated layer count -"+this.animatedLayerCount),console.log("animated layer count finished - ",this.animatedLayerCount),5===this.animatedLayerCount&&(this.flowchartDetails&&this.flowchartDetails.fromBoxList&&this.flowchartDetails.fromBoxList.length>0&&this.flowchartDetails.fromBoxList[0].box&&0===this.flowchartDetails.fromBoxList[0].box.inArrowCount?(console.log("first time loading flowchart"),this._flowchartUtilService.redrawConnections(0,!0,!0,!0)):this._flowchartUtilService.redrawConnections(0,!0,!0,!1))}openCategoryListByOrgName(t,n){let i=this._flowchartListService.getCategoryListInCategoryTreeByOrg(n);this._flowchartListService.setCategoryListByOrg(i),this._flowchartListService.setOrgName(n),this.router.navigate([`./${t}/${n}/category`])}openSubcategoryListByCategory(t,n,i){let a=this._flowchartListService.getSubcategoryListInCategoryTreeByCategory(t,n);this._flowchartListService.setSubcategoryListByCategory(a),this._flowchartListService.setOrgName(t),this._flowchartListService.setSelectedCategoryId(n),i=i.replace(/[^A-Z0-9]+/gi,"-"),this.router.navigate([`./${n}/${i}/subcategory`])}openGoalListBySubcategory(t,n,i,a){let c=this._flowchartListService.getGoalListInCategoryTreeBySubcategory(t,n,i);this._flowchartListService.setGoalListBySubcategory(c),this._flowchartListService.setOrgName(t),this._flowchartListService.setSelectedCategoryId(n),this._flowchartListService.setSelectedSubcategoryId(i),a=a.replace(/[^A-Z0-9]+/gi,"-"),this.router.navigate([`./${i}/${a}/goals`])}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.R0b),o.Y36(d.gz),o.Y36(d.F0),o.Y36(A.f),o.Y36(S.Y),o.Y36(B.k),o.Y36(G.q),o.Y36(K.c),o.Y36(P.A),o.Y36(R.y),o.Y36(j.d),o.Y36(W.T),o.Y36(X.F),o.Y36(oo.C),o.Y36(to.u),o.Y36(z.v),o.Y36(o.sBO),o.Y36(eo.ux),o.Y36(io.uw),o.Y36(no.qo))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ng-component"]],viewQuery:function(t,n){if(1&t&&o.Gf(po,5),2&t){let i;o.iGM(i=o.CRH())&&(n.fileInput=i.first)}},hostBindings:function(t,n){1&t&&o.NdJ("resize",function(){return n.onWindowResize()},!1,o.Jf7)("keyup",function(a){return n.onKeyUp(a)},!1,o.evT)},decls:94,vars:73,consts:[["id","all-layers",1,"x1-all-layers",3,"ngClass"],["class","spin-centered",4,"ngIf"],["id","layer0",1,"x2-eachLayer","x2-lastprev-layer"],[1,"x3-slider-container"],["mat-mini-fab","","matTooltip","Step back on the same path you came from",1,"x2-back-button","x8-all-buttons","make-button-transparent",3,"matTooltipPosition","matTooltipShowDelay","matTooltipHideDelay","click"],[1,"back-button-text"],[1,"x3-slider-panel",3,"ngClass"],[4,"ngFor","ngForOf"],["id","x6-center-box-image","class","x6-center-box-overlap-image",4,"ngIf"],["id","x6-center-box-video","class","x6-center-box-overlap-image",4,"ngIf"],["id","layer1",1,"x2-eachLayer","x2-previous-layer"],["id","layer2",1,"x2-eachLayer","x2-center-layer"],["id","yesokno",1,"x2-each-yesokno-layer","x2-yesokno-layer"],[4,"ngIf"],["id","layer3",1,"x2-eachLayer","x2-next-layer"],["id","layer4",1,"x2-eachLayer","x2-afternext-layer"],["mat-mini","","matTooltip","Step back on the same path you came from",1,"x2-back-button","x8-all-buttons","make-button-transparent",3,"matTooltipPosition","matTooltipShowDelay","matTooltipHideDelay","click"],[1,"fc-header"],["tabindex","0","matTooltip","This Breadcrumb path ( Organization > Category > Sub-Category > Goal > Flowchart-Name ) shows you where to find the flowchart in the category tree.","id","breadcrumb","tourAnchor","tour-breadcrumb",1,"breadcrumb",3,"matTooltipShowDelay","matTooltipHideDelay"],[1,"breadcrumb-content"],[3,"click"],[1,"breadcrumb-org"],[1,"breadcrumb-category"],[1,"breadcrumb-subcategory"],[1,"breadcrumb-goal"],[1,"breadcrumbicons"],["matTooltip","Flowchart is currently published","aria-label","This Flowchart is currently Published.","class","non-clickable-icons",3,"matTooltipShowDelay","matTooltipHideDelay",4,"ngIf"],["matTooltip","Flowchart is public","aria-label","This Flowchart is currently Public.","class","non-clickable-icons",3,"matTooltipShowDelay","matTooltipHideDelay",4,"ngIf"],["matTooltip","Flowchart is private","aria-label","This Flowchart is currently Private.","class","non-clickable-icons",3,"matTooltipShowDelay","matTooltipHideDelay",4,"ngIf"],["matTooltip","Add / Remove this flowchart to your list of Favorite Flowcharts","aria-label","Toggle Favorite Flowchart Status","mat-icon-button","",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["class","all-buttons","matTooltip","Whole Flowchart View - allows you to view/print the whole current flowchart.","aria-label","Click to see the Whole Flowchart view.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["mat-icon-button","","id","footer-toggle-button","aria-label","Toggle button to Show or Hide Footer panel.","matTooltip","Click here to Show / Hide the Footer section below.","matTooltipPosition","right",1,"footer-toggle-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["aria-label","Show or hide page footer section"],[1,"spin-centered"],["class","x4-box-container",3,"id","ngClass",4,"ngIf"],[1,"x4-box-container",3,"id","ngClass"],[1,"app-toolbar-filler"],["class","x4-box",3,"ngClass","click",4,"ngIf"],["class","x4-box",3,"ngClass",4,"ngIf"],["class","x5-center-button-container",4,"ngIf"],[1,"x5-card-medtadata-container"],["class","cardBoxImage",3,"background-image",4,"ngIf"],["class","cardBoxImage",4,"ngIf"],["class","all-buttons card-view-link",4,"ngIf"],[1,"all-buttons","card-view-link"],["matTooltip","Reference link","class","all-buttons","target","_blank","mat-mini-fab","","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["matTooltip","Reference link","class","all-buttons ref-link-button-image","target","_blank","mat-mini-fab","","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href","background-image",4,"ngIf"],[1,"all-buttons","card-view-attachment"],["class","all-buttons","matTooltip","Attachment","mat-mini-fab","","target","_blank","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["class","all-buttons","matTooltip","Attachment","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["class","all-buttons ref-link-button-image","matTooltip","Attachment link","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",3,"background-image","matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["class","all-buttons card-bookmark-button make-button-transparent","matTooltip","Create a Bookmark Alias for this box.","mat-fab","","color","accent",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["class","all-buttons card-feedback-button make-button-transparent","matTooltip","Write feedback to author for this box","mat-fab","","color","accent",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],[1,"x4-box",3,"ngClass","click"],["class","x5-caption",4,"ngIf"],["class","user-input-displayed",4,"ngIf"],["class","input-box-form",4,"ngIf"],["class","mcb-choice-container",4,"ngIf"],["class","mcb-choice-container choicecarousel",4,"ngIf"],[1,"x5-caption"],[1,"user-input-displayed"],[1,"input-box-form"],["userIn
1putBoxForm","ngForm"],["class","full-width-input",4,"ngIf"],["class","txn-file-upload",4,"ngIf"],[1,"full-width-input"],["type","email","matInput","","placeholder","Enter Valid Email Address","name","userInputText","email","",3,"ngModel","ngModelChange"],["email","ngModel"],["name","userInputText","matInput","","matAutosizeMinRows","4","maxlength","200","placeholder","Do not enter personal information.",3,"ngModel","ngModelChange"],["position","end",4,"ngIf"],["position","end"],["matInput","","placeholder","Phone x-(xxx)xxx-xxxx","name","userInputText",3,"ngModel","ngModelChange"],[1,"txn-file-upload"],["for","image"],["type","file","name","userInputText",1,"file-selector",3,"id","change"],["fileInput",""],[1,"mcb-choice-container"],[1,"choice-slider"],["vertical","","placeholder","Select Choice","aria-label","Select Choice",3,"value","valueChange"],["class","choice-button-toggle",3,"value","change",4,"ngFor","ngForOf"],[1,"choice-button-toggle",3,"value","change"],[1,"eachchoice"],["class","choiceimagebox",4,"ngIf"],[1,"choicetext"],[1,"choiceimagebox"],["alt","No Image",1,"choiceimage",3,"src"],[1,"mcb-choice-container","choicecarousel"],["name","fontStyle","placeholder","Select Choice","aria-label","Select Choice",3,"value","valueChange"],[1,"x4-box",3,"ngClass"],[1,"x5-center-button-container"],["class","all-buttons","matTooltip","Create bookmark/alias for this box","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["class","all-buttons small-image-button","matTooltip","Image","mat-mini-fab","","color","accent",3,"background-image","matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["class","all-buttons small-image-button","matTooltip","Video","mat-mini-fab","","color","accent",3,"background-image","matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["class","all-buttons","matTooltip","Image/Video External Link","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["class","all-buttons ref-link-button-image","matTooltip","Image/Video External Link","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",3,"background-image","matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["class","all-buttons","matTooltip","Reference link","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href","click",4,"ngIf"],["class","all-buttons ref-link-button-image","matTooltip","Reference link","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",3,"background-image","matTooltipShowDelay","matTooltipHideDelay","href","click",4,"ngIf"],["class","all-buttons","matTooltip","Attachment","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href","click",4,"ngIf"],["class","all-buttons","matTooltip","Write feedback to author for this box","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["matTooltip","Create bookmark/alias for this box","mat-icon-button","",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Image","mat-mini-fab","","color","accent",1,"all-buttons","small-image-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Video","mat-mini-fab","","color","accent",1,"all-buttons","small-image-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Image/Video External Link","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["matTooltip","Image/Video External Link","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",1,"all-buttons","ref-link-button-image",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["matTooltip","Reference link","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href","click"],["matTooltip","Reference link","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",1,"all-buttons","ref-link-button-image",3,"matTooltipShowDelay","matTooltipHideDelay","href","click"],["matTooltip","Attachment","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href","click"],[1,"attachment-icon-part2"],[1,"attachment-icon-part1"],["matTooltip","Attachment","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["matTooltip","Attachment link","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",1,"all-buttons","ref-link-button-image",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["matTooltip","Write feedback to author for this box","mat-icon-button","",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[1,"cardBoxImage"],["mat-fab","","target","_blank","rel","nofollow",1,"cardimagelinkbutton","make-button-transparent",3,"href"],["id","x7-centerBoxVideo"],[1,"card-layout-video-parent"],[1,"videoWrapper"],["id","yt-homcrdlyt-uservideo","width","300","height","300","loading","lazy","frameborder","0","allowfullscreen","",3,"src"],["id","video-active",1,"",3,"click"],["id","centerBoxVideoThumbnail",3,"click"],["target","_blank","rel","nofollow",1,"opencenterboxvideo",3,"href"],[1,"video-play-icon"],["class","all-buttons","matTooltip","Image/Video External Link","mat-mini-fab","","target","_blank","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["class","all-buttons ref-link-button-image","matTooltip","Image/Video External Link","mat-mini-fab","","target","_blank","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","background-image","href",4,"ngIf"],["matTooltip","Image/Video External Link","mat-mini-fab","","target","_blank","rel","noopener nofollow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href"],[1,"cardbtnmaticons"],["matTooltip","Image/Video External Link","mat-mini-fab","","target","_blank","rel","noopener nofollow",1,"all-buttons","ref-link-button-image",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["matTooltip","Reference link","target","_blank","mat-mini-fab","","rel","noopener nofollow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["matTooltip","Reference link","target","_blank","mat-mini-fab","","rel","noopener nofollow",1,"all-buttons","ref-link-button-image",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["matTooltip","Attachment","mat-mini-fab","","target","_blank","rel","noopener nofollow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href"],[1,"cardbtnmaticons","attachment-icon-combo"],[1,"cardbtniconlinks"],["matTooltip","Create a Bookmark Alias for this box.","mat-fab","","color","accent",1,"all-buttons","card-bookmark-button","make-button-transparent",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Write feedback to author for this box","mat-fab","","color","accent",1,"all-buttons","card-feedback-button","make-button-transparent",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","x6-center-box-image",1,"x6-center-box-overlap-image"],["id","centerBoxImage"],["mat-mini-fab","","target","_blank","rel","nofollow",1,"enlargecenterboximage",3,"href"],["id","x6-center-box-video",1,"x6-center-box-overlap-image"],["rel","nofollow",1,"opencenterboxvideo",3,"href"],[1,"ok-button-container"],["mat-raised-button","","color","primary",1,"x7-ok-only","x7-show-button",3,"disabled","click"],[1,"yes-button-container"],["mat-raised-button","","color","primary",1,"x7-yes-half","x7-show-button",3,"disabled","click"],[1,"default-button-text"],["class","custom-button-text",4,"ngIf"],[1,"no-button-container"],["mat-raised-button","","color","primary",1,"x7-no-half","x7-show-button",3,"disabled","click"],[1,"custom-button-text"],["class","ok-button-container",3,"next",4,"ngIf"],["class","ok-button-container",4,"ngIf"],["class","yes-button-container",4,"ngIf"],["class","no-button-container",4,"ngIf"],["class","yes-button-container",3,"next",4,"ngIf"],["class","no-button-container",3,"next",4,"ngIf"],[1,"ok-button-container",3,"next"],["mat-raised-button","","color","primary",1,"x7-ok-only","x7-show-button","sendemaildone",3,"disabled","click"],["mat-raised-button","","color","primary",1,"x7-yes-half","x7-show-button","sendemaildone",3,"disabled","click"],["mat-raised-button","","color","primary",1,"x7-no-half","x7-show-button","sendemaildone",3,"disabled","click"],[1,"yes-button-container",3,"next"],[1,"no-button-container",3,"next"],["matTooltip","Flowchart is currently published","aria-label","This Flowchart is currently Published.",1,"n
1on-clickable-icons",3,"matTooltipShowDelay","matTooltipHideDelay"],["matTooltip","Flowchart is public","aria-label","This Flowchart is currently Public.",1,"non-clickable-icons",3,"matTooltipShowDelay","matTooltipHideDelay"],["matTooltip","Flowchart is private","aria-label","This Flowchart is currently Private.",1,"non-clickable-icons",3,"matTooltipShowDelay","matTooltipHideDelay"],["matTooltip","Whole Flowchart View - allows you to view/print the whole current flowchart.","aria-label","Click to see the Whole Flowchart view.","mat-icon-button","",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","click"]],template:function(t,n){1&t&&(o.TgZ(0,"div",0),o.YNc(1,xo,1,0,"mat-spinner",1),o.TgZ(2,"div",2),o.NdJ("@layerTrigger.start",function(a){return n.layerAnimationStart(a)})("@layerTrigger.done",function(a){return n.layerAnimationDone(a)}),o.TgZ(3,"div",3)(4,"a",4),o.NdJ("click",function(){return n.historyBackRender()}),o.TgZ(5,"mat-icon"),o._uU(6,"arrow_back_ios"),o.qZA(),o.TgZ(7,"span",5),o._uU(8," Back"),o.qZA()(),o.TgZ(9,"div",6),o.YNc(10,ae,2,1,"ng-container",7),o.qZA(),o.YNc(11,ce,5,3,"div",8),o.YNc(12,le,16,7,"div",9),o.qZA()(),o.TgZ(13,"div",10),o.NdJ("@layerTrigger.start",function(a){return n.layerAnimationStart(a)})("@layerTrigger.done",function(a){return n.layerAnimationDone(a)}),o.TgZ(14,"div",3)(15,"a",4),o.NdJ("click",function(){return n.historyBackRender()}),o.TgZ(16,"mat-icon"),o._uU(17,"arrow_back_ios"),o.qZA(),o.TgZ(18,"span",5),o._uU(19," Back"),o.qZA()(),o.TgZ(20,"div",6),o.YNc(21,tn,2,1,"ng-container",7),o.qZA(),o.YNc(22,en,5,3,"div",8),o.YNc(23,nn,16,7,"div",9),o.qZA()(),o.TgZ(24,"div",11),o.NdJ("@layerTrigger.start",function(a){return n.layerAnimationStart(a)})("@layerTrigger.done",function(a){return n.layerAnimationDone(a)}),o.TgZ(25,"div",3)(26,"a",4),o.NdJ("click",function(){return n.historyBackRender()}),o.TgZ(27,"mat-icon"),o._uU(28,"arrow_back_ios"),o.qZA(),o.TgZ(29,"span",5),o._uU(30," Back"),o.qZA()(),o.TgZ(31,"div",6),o.YNc(32,z_,2,1,"ng-container",7),o.qZA(),o.YNc(33,W_,5,3,"div",8),o.YNc(34,X_,16,7,"div",9),o.qZA()(),o.TgZ(35,"div",12),o.YNc(36,oa,6,1,"ng-container",13),o.YNc(37,ia,15,4,"ng-container",13),o.YNc(38,ua,2,1,"ng-container",13),o.qZA(),o.TgZ(39,"div",14),o.NdJ("@layerTrigger.start",function(a){return n.layerAnimationStart(a)})("@layerTrigger.done",function(a){return n.layerAnimationDone(a)}),o.TgZ(40,"div",3)(41,"a",4),o.NdJ("click",function(){return n.historyBackRender()}),o.TgZ(42,"mat-icon"),o._uU(43,"arrow_back_ios"),o.qZA(),o.TgZ(44,"span",5),o._uU(45," Back"),o.qZA()(),o.TgZ(46,"div",6),o.YNc(47,ml,2,1,"ng-container",7),o.qZA(),o.YNc(48,pl,5,3,"div",8),o.YNc(49,xl,16,7,"div",9),o.qZA()(),o.TgZ(50,"div",15),o.NdJ("@layerTrigger.start",function(a){return n.layerAnimationStart(a)})("@layerTrigger.done",function(a){return n.layerAnimationDone(a)}),o.TgZ(51,"div",3)(52,"a",16),o.NdJ("click",function(){return n.historyBackRender()}),o.TgZ(53,"mat-icon"),o._uU(54,"arrow_back_ios"),o.qZA(),o.TgZ(55,"span",5),o._uU(56," Back"),o.qZA()(),o.TgZ(57,"div",6),o.YNc(58,_m,2,1,"ng-container",7),o.qZA(),o.YNc(59,am,5,3,"div",8),o.YNc(60,cm,16,7,"div",9),o.qZA()()(),o.TgZ(61,"div",17)(62,"div",18)(63,"div",19)(64,"a",20),o.NdJ("click",function(){return n.openCategoryListByOrgName(n.flowchartDetails.orgId,n.flowchartDetails.orgName)}),o.TgZ(65,"span",21),o._uU(66),o.qZA(),o._uU(67," > "),o.qZA(),o.TgZ(68,"a",20),o.NdJ("click",function(){return n.openSubcategoryListByCategory(n.flowchartDetails.orgName,n.flowchartDetails.categoryId,n.flowchartDetails.categoryName)}),o.TgZ(69,"span",22),o._uU(70),o.qZA(),o._uU(71," > "),o.qZA(),o.TgZ(72,"a",20),o.NdJ("click",function(){return n.openGoalListBySubcategory(n.flowchartDetails.orgName,n.flowchartDetails.categoryId,n.flowchartDetails.subCategoryId,n.flowchartDetails.subCategoryName)}),o.TgZ(73,"span",23),o._uU(74),o.qZA(),o._uU(75," > "),o.qZA()(),o.TgZ(76,"div",19)(77,"a",20),o.NdJ("click",function(){return n.openFlowchartListByGoal(n.flowchartDetails.orgName,n.flowchartDetails.goalName,n.flowchartDetails.goalId,n.flowchartDetails.goalUrl,n.flowchartDetails.subCategoryId,n.flowchartDetails.categoryId)}),o.TgZ(78,"span",24),o._uU(79),o.qZA()(),o._uU(80," > "),o.TgZ(81,"span"),o._uU(82),o.qZA()()(),o.TgZ(83,"div",25),o.YNc(84,lm,2,2,"mat-icon",26),o.YNc(85,rm,2,2,"mat-icon",27),o.YNc(86,mm,2,2,"mat-icon",28),o.TgZ(87,"a",29),o.NdJ("click",function(){return n.toggleUserFavoriteForFlowchart(n.flowchartDetails.flowchartId,!n.isFavorite)}),o.YNc(88,pm,2,0,"mat-icon",13),o.YNc(89,xm,2,0,"mat-icon",13),o.qZA(),o.YNc(90,dm,3,2,"a",30),o.qZA()(),o.TgZ(91,"button",31),o.NdJ("click",function(){return n.togglefooter()}),o.TgZ(92,"mat-icon",32),o._uU(93,"call_to_action"),o.qZA()()),2&t&&(o.Q6J("ngClass",n.getFcLayerClass()),o.xp6(1),o.Q6J("ngIf",n.loading),o.xp6(1),o.Q6J("@layerTrigger",n.trigger0),o.xp6(2),o.Udp("display",n.canHideBackButton("layer0")?"none":"flex"),o.Q6J("matTooltipPosition",n.toolTipPosition)("matTooltipShowDelay",700)("matTooltipHideDelay",300),o.xp6(5),o.Q6J("ngClass",n.updatePreviousLayerSliderPanelClass("layer0")),o.xp6(1),o.Q6J("ngForOf",n.layerList[0]),o.xp6(1),o.Q6J("ngIf",n.flowchartDetails.currentBox.imageUrl),o.xp6(1),o.Q6J("ngIf",n.flowchartDetails.currentBox.videoLink),o.xp6(1),o.Q6J("@layerTrigger",n.trigger1),o.xp6(2),o.Udp("display",n.canHideBackButton("layer1")?"none":"flex"),o.Q6J("matTooltipPosition",n.toolTipPosition)("matTooltipShowDelay",700)("matTooltipHideDelay",300),o.xp6(5),o.Q6J("ngClass",n.updatePreviousLayerSliderPanelClass("layer1")),o.xp6(1),o.Q6J("ngForOf",n.layerList[1]),o.xp6(1),o.Q6J("ngIf",n.flowchartDetails.currentBox.imageUrl),o.xp6(1),o.Q6J("ngIf",n.flowchartDetails.currentBox.videoLink),o.xp6(1),o.Q6J("@layerTrigger",n.trigger2),o.xp6(2),o.Udp("display",n.canHideBackButton("layer2")?"none":"flex"),o.Q6J("matTooltipPosition",n.toolTipPosition)("matTooltipShowDelay",700)("matTooltipHideDelay",300),o.xp6(5),o.Q6J("ngClass",n.updatePreviousLayerSliderPanelClass("layer2")),o.xp6(1),o.Q6J("ngForOf",n.layerList[2]),o.xp6(1),o.Q6J("ngIf",n.flowchartDetails.currentBox.imageUrl),o.xp6(1),o.Q6J("ngIf",n.flowchartDetails.currentBox.videoLink),o.xp6(1),o.Q6J("@yesokno-trigger",n.yesoknolayerState?"yesoknolayer
1-a":"yesoknolayer-b"),o.xp6(1),o.Q6J("ngIf",n.flowchartDetails&&n.flowchartDetails.toBoxList&&0===n.flowchartDetails.toBoxList.length&&n.flowchartDetails.fromBoxList&&0!==n.flowchartDetails.fromBoxList.length&&"D"!==n.flowchartDetails.currentBox.boxShapeType),o.xp6(1),o.Q6J("ngIf",n.flowchartDetails&&n.flowchartDetails.toBoxList&&0===n.flowchartDetails.toBoxList.length&&n.flowchartDetails.fromBoxList&&0!==n.flowchartDetails.fromBoxList.length&&"D"===n.flowchartDetails.currentBox.boxShapeType),o.xp6(1),o.Q6J("ngIf",n.flowchartDetails&&n.flowchartDetails.toBoxList&&n.flowchartDetails.toBoxList.length>=1),o.xp6(1),o.Q6J("@layerTrigger",n.trigger3),o.xp6(2),o.Udp("display",n.canHideBackButton("layer3")?"none":"flex"),o.Q6J("matTooltipPosition",n.toolTipPosition)("matTooltipShowDelay",700)("matTooltipHideDelay",300),o.xp6(5),o.Q6J("ngClass",n.updatePreviousLayerSliderPanelClass("layer3")),o.xp6(1),o.Q6J("ngForOf",n.layerList[3]),o.xp6(1),o.Q6J("ngIf",n.flowchartDetails.currentBox.imageUrl),o.xp6(1),o.Q6J("ngIf",n.flowchartDetails.currentBox.videoLink),o.xp6(1),o.Q6J("@layerTrigger",n.trigger4),o.xp6(2),o.Udp("display",n.canHideBackButton("layer4")?"none":"flex"),o.Q6J("matTooltipPosition",n.toolTipPosition)("matTooltipShowDelay",700)("matTooltipHideDelay",300),o.xp6(5),o.Q6J("ngClass",n.updatePreviousLayerSliderPanelClass("layer4")),o.xp6(1),o.Q6J("ngForOf",n.layerList[4]),o.xp6(1),o.Q6J("ngIf",n.flowchartDetails.currentBox.imageUrl),o.xp6(1),o.Q6J("ngIf",n.flowchartDetails.currentBox.videoLink),o.xp6(2),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),o.xp6(4),o.Oqu(n.flowchartDetails.orgName),o.xp6(4),o.Oqu(n.flowchartDetails.categoryName),o.xp6(4),o.Oqu(n.flowchartDetails.subCategoryName),o.xp6(5),o.Oqu(n.flowchartDetails.goalName),o.xp6(3),o.Oqu(n.flowchartDetails.flowchartName),o.xp6(2),o.Q6J("ngIf",n.flowchartDetails.isPublished&&n.canSeeWholeFcPublishEditIcon),o.xp6(1),o.Q6J("ngIf",n.canSeePublicIcon&&n.flowchartDetails.isPublic),o.xp6(1),o.Q6J("ngIf",n.canSeePublicIcon&&!n.flowchartDetails.isPublic),o.xp6(1),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),o.xp6(1),o.Q6J("ngIf",!1===n.isFavorite),o.xp6(1),o.Q6J("ngIf",n.isFavorite),o.xp6(1),o.Q6J("ngIf",n.canSeeWholeFcPublishEditIcon),o.xp6(1),o.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300))},dependencies:[b.mk,b.sg,b.O5,_o.oO,f._Y,f.Fj,f.JJ,f.JL,f.nD,f.on,f.On,f.F,q.TO,q.KE,q.bx,ao.Nt,E.lW,E.zs,F.A9,F.Yi,co.Hw,lo.Ou,ro.gM,mo.y],styles:[".dialogue-container[_ngcontent-%COMP%] .form-full-width[_ngcontent-%COMP%]{width:100%!important}.dialogue-buttons[_ngcontent-%COMP%]{margin-bottom:0!important}"],data:{animation:[(0,r.X$)("layerTrigger",[(0,r.SB)("lastpreviouslayer",(0,r.oB)({top:"-30%",opacity:0}
1)),(0,r.SB)("previouslayer",(0,r.oB)({top:"0%",opacity:1})),(0,r.SB)("centerlayer",(0,r.oB)({top:"23%",opacity:1})),(0,r.SB)("nextlayer",(0,r.oB)({top:"77%",opacity:1})),(0,r.SB)("afternextlayer",(0,r.oB)({top:"123%",opacity:0})),(0,r.eR)(":enter",[(0,r.oB)({opacity:0}),(0,r.jt)("20ms")]),(0,r.eR)("* => *",[(0,r.IO)("@boxdisappeartrigger",(0,r.pV)(),{optional:!0}),(0,r.jt)("400ms ease-in-out")])]),(0,r.X$)("boxdisappeartrigger",[(0,r.eR)(":leave",[(0,r.vP)([(0,r.jt)("50ms ease",(0,r.oB)({display:"none"}))])])]),(0,r.X$)("yesokno-trigger",[(0,r.SB)("yesoknolayer-a",(0,r.oB)({top:"67%",opacity:1})),(0,r.SB)("yesoknolayer-b",(0,r.oB)({top:"67%",opacity:1})),(0,r.eR)("yesoknolayer-a <=> yesoknolayer-b",[(0,r.jt)("400ms",(0,r.F4)([(0,r.oB)({opacity:1,offset:0}),(0,r.oB)({opacity:0,offset:.2}),(0,r.oB)({opacity:0,offset:.8}),(0,r.oB)({opacity:1,offset:1})]))])])]}}),e})();var $=l(80460),gm=l(70319),fm=l(15163);let um=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[$.B],imports:[b.ez,H.o9,f.u5,f.UX,fm.g,I.K,gm.Mc.forChild(),d.Bz.forChild([{path:"",component:sm,resolve:{flowchartDetails:$.B}}])]}),e})()},6799:(Q,k,l)=>{l.d(k,{y:()=>H});var b=l(94650),d=l(11481);let H=(()=>{class f{constructor(r){this._sanitizer=r}transform(r,u){switch(u){case"html":return this._sanitizer.bypassSecurityTrustHtml(r);case"style":return this._sanitizer.bypassSecurityTrustStyle(r);case"script":return this._sanitizer.bypassSecurityTrustScript(r);case"url":return this._sanitizer.bypassSecurityTrustUrl(r);case"resourceUrl":return this._sanitizer.bypassSecurityTrustResourceUrl(r);default:throw new Error(`Unable to bypass security for invalid type: ${u}`)}}}return f.\u0275fac=function(r){return new(r||f)(b.Y36(d.H7,16))},f.\u0275pipe=b.Yjl({name:"safe",type:f,pure:!0}),f})()}}]);
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.