1"use strict";(self.webpackChunkdzweb=self.webpackChunkdzweb||[]).push([[9792],{52931:(O,_,e)=>{e.d(_,{f:()=>d});var g=e(17009),s=e(94650);let d=(()=>{class t{constructor(l,h){this.snackBarRef=l,this.data=h,this.message="",this.message=h}}return t.\u0275fac=function(l){return new(l||t)(s.Y36(g.OX),s.Y36(g.qD))},t.\u0275cmp=s.Xpm({type:t,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(l,h){1&l&&(s.TgZ(0,"p",0),s._uU(1),s.qZA(),s.TgZ(2,"button",1),s.NdJ("click",function(){return h.snackBarRef.dismiss()}),s._uU(3,"close"),s.qZA()),2&l&&(s.xp6(1),s.hij(" ",h.message,"\n"))},encapsulation:2}),t})()},75570:(O,_,e)=>{e.d(_,{k:()=>l});var g=e(80529),s=e(22858),d=e(94650),t=e(21952),x=e(93531);let l=(()=>{class h{constructor(o,n,m){this._httpClient=o,this._utilService=m,this.sessionStorage=n}sendBoxFeedback(o){let n=this._utilService.getActiveUserToken();return this._httpClient.post(s.TRE,o,n)}updateChoiceBoxSortOrder(o){let n=this._utilService.getActiveUserToken();return this._httpClient.patch(s.Fm0,o,n)}editRegularBox(o){let n=this._utilService.getActiveUserToken();return this._httpClient.patch(s.q3L,o,n)}insertNewBox(o){let n=this._utilService.getActiveUserToken();return this._httpClient.post(s.Fg9,o,n)}createNewBox(o){let n=this._utilService.getActiveUserToken();return this._httpClient.post(s.q3L,o,n)}appendFlowchartToCurrentBox(o){let n=this._utilService.getActiveUserToken();return this._httpClient.post(s.OvF,o,n)}deleteBox(o){const n={headers:new g.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")}),body:o};return this._httpClient.delete(s.q3L,n)}deleteFirstBox(o){const n={headers:new g.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")}),body:o};return this._httpClient.delete(s.CtH,n)}uploadFileAndAddToBox(o){let n=this._utilService.getActiveUserToken();return this._httpClient.patch(s.q3L,o,n)}deleteBoxAttachment(o){let n=this._utilService.getActiveUserToken();return this._httpClient.patch(s.q3L,o,n)}createBoxAlias(o){const n={headers:new g.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")})};return this._httpClient.post(s.rQ8,o,n)}createBookmarkLink(o){let n=this._utilService.getActiveUserToken();return this._httpClient.post(s.Ouw,o,n)}deleteBookmarkLink(o){const n={headers:new g.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")}),body:o};return this._httpClient.delete(s.Ouw,n)}getBoxAliasListByUserOrgBoxShapeType(o,n,m,c){let T=this._utilService.getActiveUserToken();return this._httpClient.get(s.wHh+"?orgId="+o+"&flowchartVersionId="+c+"&boxShapeType="+n+"&userAccess="+m,T)}getBoxAliasListByUserOrg(o,n,m){let c=this._utilService.getActiveUserToken();return this._httpClient.get(s.wHh+"?orgId="+o+"&flowchartVersionId="+m+"&userAccess="+n,c)}getOrgUserEmailsForEmailLogBox(o,n){return this._httpClient.get(s.RXM+"?orgName="+o+"&userAccess="+n)}updateBoxEndStatus(o){let n=this._utilService.getActiveUserToken();return this._httpClient.patch(s.Sx_,o,n)}}return h.\u0275fac=function(o){return new(o||h)(d.LFG(g.eN),d.LFG(t.qo),d.LFG(x.f))},h.\u0275prov=d.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},38594:(O,_,e)=>{e.d(_,{p:()=>T});var g=e(80529),s=e(4128),d=e(39646),t=e(54004),x=e(70262),l=e(22858),h=e(17489),o=e(94650),n=e(21952),m=e(93531),c=e(38058);let T=(()=>{class i{constructor(p,r,S,a){this.httpClient=p,this._utilService=S,this._flowchartService=a,this.sessionStorage=r}getOrgTransactionStatus(p,r){return this.httpClient.get(l.JBL+"?orgId="+r+"&clientTxnId="+p,{headers:{"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")}})}initiateTransaction(p){const r={headers:new g.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")})};return this.httpClient.post(l.JBL,p,r)}getTransactionFlowchartDetails(p,r,S,a,f,v){let I=this.sessionStorage.getItem("zdTicket");h.isEqual(p,"salesforce")?I=this.sessionStorage.getItem("sfCaseNumber"):h.isEqual(p,"restrictedPublishedFc")&&(I=this._utilService.getRestrictedPublishedFcTxnId("rpftId"));let A={clientTxnId:I,userSessionId:this._utilService.getCookie("userSessionId"),flowchartId:r,txnStatus:v,orgId:f,publishedCode:null,clientTxnSource:p};var M=l.$J2+S+"/fcRandomId/"+a;return(0,s.D)([this.initiateTransaction(A),this.httpClient.get(M)])}updateAndGetTxnFlowchartDetails(p,r,S){return this.getTransactionFlowchartDetails(p,r.flowchartId,r.goalUrl,r.flowchartRandomId,r.orgId,S).pipe((0,t.U)(a=>
1{var I,f=a[0].responseBody;f&&(I=this._flowchartService.prepareBoxConnectionsWithMetadata(f,a[1].responseBody),this.sessionStorage.setObject("flowchart",I))}),(0,x.K)(a=>(0,d.of)(null)))}completeTransaction(p){const r={headers:new g.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")})};return this.httpClient.put(l.JBL,p,r)}sendFlowchartActivityForCurrentTxn(){const p={headers:new g.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")})};return this.httpClient.post(l.AAh+"?userSessionId="+this._utilService.getCookie("userSessionId"),null,p)}updateTransactionNotes(p){const r={headers:new g.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")})};return this.httpClient.patch(l.V6I,p,r)}}return i.\u0275fac=function(p){return new(p||i)(o.LFG(g.eN),o.LFG(n.qo),o.LFG(m.f),o.LFG(c.q))},i.\u0275prov=o.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})()},6799:(O,_,e)=>{e.d(_,{y:()=>d});var g=e(94650),s=e(11481);let d=(()=>{class t{constructor(l){this._sanitizer=l}transform(l,h){switch(h){case"html":return this._sanitizer.bypassSecurityTrustHtml(l);case"style":return this._sanitizer.bypassSecurityTrustStyle(l);case"script":return this._sanitizer.bypassSecurityTrustScript(l);case"url":return this._sanitizer.bypassSecurityTrustUrl(l);case"resourceUrl":return this._sanitizer.bypassSecurityTrustResourceUrl(l);default:throw new Error(`Unable to bypass security for invalid type: ${h}`)}}}return t.\u0275fac=function(l){return new(l||t)(g.Y36(s.H7,16))},t.\u0275pipe=g.Yjl({name:"safe",type:t,pure:!0}),t})()},20097:(O,_,e)=>{e.d(_,{b:()=>h});var g=e(95698),s=e(54004),d=e(65938),t=e(94650),x=e(4859);let l=(()=>{class u{constructor(n,m,c){this.ngZone=n,this.dialogRef=m,this.data=c,this.title=c.title,this.message=c.message}onClickClose(){this.ngZone.run(()=>{this.dialogRef.close()})}confirmYes(){this.ngZone.run(()=>{this.dialogRef.close(this.data.answer)})}}return u.\u0275fac=function(n){return new(n||u)(t.Y36(t.R0b),t.Y36(d.so),t.Y36(d.WI))},u.\u0275cmp=t.Xpm({type:u,selectors:[["ng-component"]],decls:9,vars:2,consts:[["mat-dialog-actions","",1,"common-modal-buttons"],["type","button","mat-button","",3,"click"],["type","button","mat-raised-button","","cdkFocusInitial","",3,"click"]],template:function(n,m){1&n&&(t.TgZ(0,"h3"),t._uU(1),t.qZA(),t.TgZ(2,"p"),t._uU(3),t.qZA(),t.TgZ(4,"div",0)(5,"button",1),t.NdJ("click",function(){return m.onClickClose()}),t._uU(6,"Cancel"),t.qZA(),t.TgZ(7,"button",2),t.NdJ("click",function(){return m.confirmYes()}),t._uU(8,"Confirm"),t.qZA()()),2&n&&(t.xp6(1),t.Oqu(m.title),t.xp6(2),t.Oqu(m.message))},dependencies:[x.lW,d.H8],encapsulation:2}),u})(),h=(()=>{class u{constructor(n){this.dialog=n}open(n){this.dialogRef=this.dialog.open(l,{width:"300px",data:{title:n.title,message:n.message,answer:n.answer}})}confirmed(){return this.dialogRef.afterClosed().pipe((0,g.q)(1),(0,s.U)(n=>n))}}return u.\u0275fac=function(n){return new(n||u)(t.LFG(d.uw))},u.\u0275prov=t.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},57497:(O,_,e)=>{e.d(_,{w:()=>m});var g=e(95698),s=e(54004),d=e(65938),t=e(94650),x=e(36895),l=e(4859),h=e(97392);function u(c,T){if(1&c&&(t.TgZ(0,"div",8)(1,"div",9)(2,"p")(3,"span"),t._uU(4),t.qZA(),t._uU(5," - "),t.TgZ(6,"span",10),t._uU(7),t.qZA()()(),t.TgZ(8,"div",11)(9,"p"),t._uU(10),t.qZA()()()),2&c){const i=T.$implicit;t.xp6(4),t.Oqu(i.boxCaption),t.xp6(3),t.hij("[",i.boxFlowchartVersionName,"]"),t.xp6(3),t.Oqu(i.boxInputValue)}}function o(c,T){if(1&c&&(t.TgZ(0,"div",6),t.YNc(1,u,11,3,"div",7),t.qZA()),2&c){const i=t.oxw();t.xp6(1),t.Q6J("ngForOf",i.flowchartTxnDetail)}}let n=(()=>{class c{constructor(i,C,p){this.ngZone=i,this.dialogRef=C,this.data=p,this.genericErr=!1,this.genericErrMsg="",this.successMsg="",this.loading=!1,this.flowchartId=p.flowchartId,this.flowchartName=p.flowchartName,this.flowchartTxnDetail
1=p.flowchartTxnDetail,this.dzTransactionId=p.dzTransactionId}close(){this.ngZone.run(()=>{this.dialogRef.close(!1)})}}return c.\u0275fac=function(i){return new(i||c)(t.Y36(t.R0b),t.Y36(d.so),t.Y36(d.WI))},c.\u0275cmp=t.Xpm({type:c,selectors:[["ng-component"]],decls:15,vars:4,consts:[[1,"mytranxsteps"],["mat-button","",1,"close-cross",3,"click"],[1,"tranxdetails"],[1,"tranxstepstitle"],[1,"stepdetails"],["class","step",4,"ngIf"],[1,"step"],["class","stepbox",4,"ngFor","ngForOf"],[1,"stepbox"],[1,"stepcaption"],[2,"color","#808080"],[1,"stepresponse"]],template:function(i,C){1&i&&(t.TgZ(0,"div",0)(1,"button",1),t.NdJ("click",function(){return C.close()}),t.TgZ(2,"mat-icon"),t._uU(3,"close"),t.qZA()(),t.TgZ(4,"div",2)(5,"p",3),t._uU(6,"Transaction Steps"),t.qZA(),t.TgZ(7,"p"),t._uU(8),t.qZA(),t.TgZ(9,"p"),t._uU(10),t.qZA(),t.TgZ(11,"p"),t._uU(12),t.qZA()(),t.TgZ(13,"div",4),t.YNc(14,o,2,1,"div",5),t.qZA()()),2&i&&(t.xp6(8),t.hij("Transaction ID: ",C.dzTransactionId,""),t.xp6(2),t.hij("Started: ",C.flowchartTxnDetail[0].boxVisitedTime,""),t.xp6(2),t.hij("By: ",C.flowchartTxnDetail[0].boxVisitedUser,""),t.xp6(2),t.Q6J("ngIf",C.flowchartTxnDetail&&C.flowchartTxnDetail.length>0))},dependencies:[x.sg,x.O5,l.lW,h.Hw],styles:[".fc-txn-steps-dialog[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;overflow:auto;height:100%}.fc-txn-steps-dialog-header[_ngcontent-%COMP%]{color:var(--primarycolor)}.common-modal-buttons[_ngcontent-%COMP%]{margin-bottom:0!important}.textarea-formnotes[_ngcontent-%COMP%]{flex-grow:5}.mytranxsteps[_ngcontent-%COMP%]{border:1px solid lightgray;border-radius:10px;height:400px;max-width:500px;width:100%;margin:0 auto;background-color:#ffd740}.mytranxsteps[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}.tranxdetails[_ngcontent-%COMP%]{height:70px}.tranxdetails[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;font-weight:700;line-height:5px;padding:0 0 0 30px}.stepdetails[_ngcontent-%COMP%]{overflow-y:auto;height:310px}.step[_ngcontent-%COMP%]{width:98%;padding:5px;margin:5px auto;border-radius:10px;background-color:#fff}.step[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:5px;font-size:14px}.stepcaption[_ngcontent-%COMP%]{max-height:60px;border-bottom:1px solid #f1f1f1}.stepresponse[_ngcontent-%COMP%]{max-height:40px}.stepresponse[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:right;color:var(--primarycolor)}p.tranxstepstitle[_ngcontent-%COMP%]{text-align:center;color:gray}.stepbox[_ngcontent-%COMP%]{border:1px solid #f1f1f1;margin:3px 0}"]}),c})(),m=(()=>{class c{constructor(i){this.dialog=i}open(i){this.dialogRef=this.dialog.open(n,{height:"406px",panelClass:"my-steps-custom-modalbox",data:{dzTransactionId:i.dzTransactionId,flowchartName:i.flowchartName,flowchartId:i.flowchartId,flowchartTxnDetail:i.flowchartTxnDetail}})}confirmed(){return this.dialogRef.afterClosed().pipe((0,g.q)(1),(0,s.U)(i=>i))}}return c.\u0275fac=function(i){return new(i||c)(t.LFG(d.uw))},c.\u0275prov=t.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})()},74502:(O,_,e)=>{e.d(_,{$:()=>p});var g=e(95698),s=e(54004),d=e(65938),t=e(94650),x=e(38594),l=e(21952),h=e(36895),u=e(24006),o=e(59549),n=e(284),m=e(4859),c=e(97392);function T(r,S){if(1&r&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&r){const a=t.oxw();t.xp6(1),t.hij(" ",a.genericErrMsg," ")}}function i(r,S){if(1&r&&(t.TgZ(0,"div",10),t._uU(1),t.qZA()),2&r){const a=t.oxw();t.xp6(1),t.hij(" ",a.successMsg," ")}}let C=(()=>{class r{constructor(a,f,v,I,A){this.ngZone=a,this.dialogRef=f,this._transactionService=v,this.data=A,this.txnNotes="",this.genericErr=!1,this.genericErrMsg="",this.successMsg="",this.loading=!1,this.sessionStorage=I,this.flowchartId=A.flowchartId,this.flowchartName=A.flowchartName,this.orgId=A.orgId,this.txnNotes=A.txnNotes}saveTxnNotesInSession(){this.loading=!0,this.successMsg="",this.genericErr=!1;let a={flowchartId:this.flowchartId,orgId:this.orgId,userAccess:this.data.userAccess,txnNotes:this.txnNotes,dzTransactionId:Number(this.data.dzTransactionId),clientTxnId:this.data.clientTransactionId};this._transactionService.updateTransactionNotes(a).subscribe(f=>{this.successMsg="Successfully updated transaction notes.";var v=null;(v=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart")))).txnNotes=this.txnNotes,this.sessionStorage.setObject("flowchart",v),this.dialogRef.close()},f=>{this.genericErr=!0,this.genericErrMsg="Unexpected error occurred during this operation. Please try again."})}close(){this.ngZone.run(()=>{this.dialogRef.close()})}}return r.\u0275fac=function(a){return new(a||r)(t.Y36(t.R0b),t.Y36(d.so
1),t.Y36(x.p),t.Y36(l.qo),t.Y36(d.WI))},r.\u0275cmp=t.Xpm({type:r,selectors:[["ng-component"]],decls:19,vars:4,consts:[[1,"dialogue-container"],[1,"txn-notes-dialog"],["mat-button","",1,"close-cross",3,"click"],[1,"txn-notes-dialog-header"],["matInput","","mdTextareaAutosize","","placeholder","Enter current tranaction related notes","maxlength","1024","name","txnNotes",1,"textarea-formnotes",3,"ngModel","ngModelChange"],[4,"ngIf"],["class","success-msg",4,"ngIf"],["mat-dialog-actions","",1,"common-modal-buttons"],["id","txnnotesdlg-close","type","button","mat-button","",3,"click"],["id","txnnotesdlg-save","type","button","cdkFocusInitial","","mat-raised-button","",3,"disabled","click"],[1,"success-msg"]],template:function(a,f){1&a&&(t.TgZ(0,"div",0)(1,"div",1)(2,"button",2),t.NdJ("click",function(){return f.close()}),t.TgZ(3,"mat-icon"),t._uU(4,"close"),t.qZA()(),t.TgZ(5,"p")(6,"strong",3)(7,"mat-icon"),t._uU(8,"question_answer"),t.qZA(),t._uU(9," Notes For current transaction "),t.qZA()(),t.TgZ(10,"textarea",4),t.NdJ("ngModelChange",function(I){return f.txnNotes=I}),t._uU(11," "),t.qZA(),t.YNc(12,T,2,1,"mat-error",5),t.YNc(13,i,2,1,"div",6),t.TgZ(14,"div",7)(15,"button",8),t.NdJ("click",function(){return f.close()}),t._uU(16,"Cancel"),t.qZA(),t.TgZ(17,"button",9),t.NdJ("click",function(){return f.saveTxnNotesInSession()}),t._uU(18,"SAVE"),t.qZA()()()()),2&a&&(t.xp6(10),t.Q6J("ngModel",f.txnNotes),t.xp6(2),t.Q6J("ngIf",f.genericErr),t.xp6(1),t.Q6J("ngIf",f.successMsg),t.xp6(4),t.Q6J("disabled",f.loading))},dependencies:[h.O5,u.Fj,u.JJ,u.nD,u.On,o.TO,n.Nt,m.lW,d.H8,c.Hw],styles:[".txn-notes-dialog[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;overflow:auto;height:100%}.txn-notes-dialog-header[_ngcontent-%COMP%]{color:var(--primarycolor)}.common-modal-buttons[_ngcontent-%COMP%]{margin-bottom:0!important}.textarea-formnotes[_ngcontent-%COMP%]{flex-grow:5}"]}),r})(),p=(()=>{class r{constructor(a){this.dialog=a}open(a){this.dialogRef=this.dialog.open(C,{height:"400px",width:"350px",data:{flowchartId:a.flowchartId,flowchartName:a.flowchartName,txnNotes:a.txnNotes,orgId:a.orgId,userAccess:a.userAccess,dzTransactionId:a.dzTransactionId,clientTransactionId:a.clientTransactionId}})}confirmed(){return this.dialogRef.afterClosed().pipe((0,g.q)(1),(0,s.U)(a=>a))}}return r.\u0275fac=function(a){return new(a||r)(t.LFG(d.uw))},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()}}]);
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.