PageSourceSearch

https://decizone.com/3820.01f7f8f32c3f30e2.js

js decizone.com collected 2026-10-05 09:47:43 UTC 27,358 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdzweb=self.webpackChunkdzweb||[]).push([[3820],{23820:(se,v,l)=>{l.d(v,{Q:()=>le});var E=l(15861),_=l(65938),c=l(24006),C=l(31934),D=l(69327),e=l(94650),S=l(19132),G=l(6855),w=l(37439),L=l(64838),x=l(93531),N=l(21952),Z=l(36895),I=l(43949),f=l(59549),A=l(284),M=l(4859),R=l(97392),U=l(51572),O=l(87314),P=l(10266);const B=["fileInput"];function J(i,n){if(1&i&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.hij(" ",t.genericErrMsg," ")}}function K(i,n){1&i&&(e.TgZ(0,"mat-error"),e._uU(1," Use only these [a-z, A-Z, 0-9, _?'.,-] and Max 150 characters. "),e.qZA())}function H(i,n){if(1&i&&(e.TgZ(0,"div"),e.YNc(1,K,2,0,"mat-error",8),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.goalEditForm.controls.newGoalName.errors.pattern)}}function k(i,n){1&i&&(e.TgZ(0,"p",35),e._uU(1," Note: If you upload the image again, it will replace the current image with new uploaded image for this Goal. "),e.qZA())}function W(i,n){if(1&i&&e._UZ(0,"div",36),2&i){const t=e.oxw();e.Jzz("background-image: url(",t.currentImageUrl,");")}}function z(i,n){1&i&&e._UZ(0,"div",37)}function F(i,n){1&i&&e._UZ(0,"mat-spinner",39)}function Q(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"button",38),e.NdJ("click",function(a){e.CHM(t);const r=e.oxw();return a.stopPropagation(),e.KtG(r.deleteGoalImage())}),e.YNc(1,F,1,0,"mat-spinner",34),e.TgZ(2,"mat-icon"),e._uU(3,"delete_forever"),e.qZA(),e._uU(4," Delete Image "),e.qZA()}if(2&i){const t=e.oxw();e.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),e.xp6(1),e.Q6J("ngIf",t.deletingImage)}}function q(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"button",50),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.toggleContainWithinAspectRatio())}),e.TgZ(1,"mat-icon"),e._uU(2,"filter_center_focus"),e.qZA()()}2&i&&e.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Y(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"button",51),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.toggleContainWithinAspectRatio())}),e.TgZ(1,"mat-icon"),e._uU(2,"settings_overscan"),e.qZA()()}2&i&&e.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function j(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"div",40)(1,"button",41),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.rotateRight())}),e.TgZ(2,"mat-icon"),e._uU(3,"rotate_90_degrees_cw"),e.qZA()(),e.TgZ(4,"button",42),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.rotateLeft())}),e.TgZ(5,"mat-icon"),e._uU(6,"rotate_90_degrees_ccw"),e.qZA()(),e.TgZ(7,"button",43),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.flipHorizontal())}),e.TgZ(8,"mat-icon"),e._uU(9,"switch_right"),e.qZA()(),e.TgZ(10,"button",44),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.flipVertical())}),e.TgZ(11,"mat-icon"),e._uU(12,"unfold_more"),e.qZA()(),e.YNc(13,q,3,2,"button",45),e.YNc(14,Y,3,2,"button",46),e.TgZ(15,"button",47),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.resetImage())}),e.TgZ(16,"mat-icon"),e._uU(17,"refresh"),e.qZA()(),e.TgZ(18,"button",48),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.zoomOut())}),e.TgZ(19,"mat-icon"),e._uU(20,"zoom_out"),e.qZA()(),e.TgZ(21,"button",49),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.zoomIn())}),e.TgZ(22,"mat-icon"),e._uU(23,"zoom_in"),e.qZA()()()}if(2&i){const t=e.oxw();e.xp6(1),e.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),e.xp6(3),e.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),e.xp6(3),e.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),e.xp6(3),e.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),e.xp6(3),e.Q6J("ngIf",!t.containWithinAspectRatio),e.xp6(1),e.Q6J("ngIf",t.containWithinAspectRatio),e.xp6(1),e.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),e.xp6(3),e.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),e.xp6(3),e.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function V(i,n){1&i&&(e.TgZ(0,"p"),e._uU(1,"Rotate Image"),e.qZA())}const X=function(){return{standalone:!0}};
1function $(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"mat-slider",52),e.NdJ("ngModelChange",function(a){e.CHM(t);const r=e.oxw();return e.KtG(r.rotation=a)})("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.updateRotation())}),e._uU(1,"Rotate Image"),e.qZA()}if(2&i){const t=e.oxw();e.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("thumbLabel",t.thumbLabel)("ngModel",t.rotation)("ngModelOptions",e.DdM(5,X))}}function ee(i,n){if(1&i&&(e.TgZ(0,"div")(1,"p"),e._uU(2,"Preview:"),e.qZA(),e._UZ(3,"img",53),e.qZA()),2&i){const t=e.oxw();e.xp6(3),e.Udp("border",t.croppedImage?"1px solid black":"none"),e.Q6J("src",t.croppedImage,e.LSH)}}function te(i,n){if(1&i&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.hij(" ",t.uploadErrMsg," ")}}function oe(i,n){1&i&&(e.TgZ(0,"p"),e._uU(1," IMPORTANT: When you update this Goal Caption, it will temporarily not be accessible to anyone other than the author of this Goal before/unless it is reviewed and successfully processed. Normally we process these fairly quickly but it could take up to 24 hours to update the Goal and be accessible by others. "),e.qZA())}function ae(i,n){1&i&&e._UZ(0,"mat-spinner",39)}function ie(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"button",54),e.NdJ("click",function(a){e.CHM(t);const r=e.oxw();return a.stopPropagation(),e.KtG(r.deleteGoal())}),e.YNc(1,ae,1,0,"mat-spinner",34),e._uU(2,"Delete "),e.qZA()}if(2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.deletingGoal)}}function re(i,n){1&i&&e._UZ(0,"mat-spinner",39)}let le=(()=>{class i{constructor(t,o,a,r,d,m,p,s,h){this.ngZone=t,this.dialogRef=o,this.router=a,this._homeService=r,this.goalService=d,this._flowchartListService=m,this._utilService=p,this.data=s,this.genericErrMsg="",this.genericErr=!1,this.loading=!1,this.deletingImage=!1,this.deletingGoal=!1,this.canDeleteGoal=!1,this.uploadErr=!1,this.uploadErrMsg="",this.imageChangedEvent="",this.croppedImage="",this.showCropper=!1,this.canvasRotation=0,this.rotation=0,this.scale=1,this.containWithinAspectRatio=!1,this.transform={},this.thumbLabel=!0,this.value=0,this.sessionStorage=h,this.orgName=s.orgName,this.orgId=s.orgId,this.subCategoryId=s.subCategoryId,this.categoryName=s.categoryName,this.categoryId=s.categoryId,this.subCategoryName=s.subCategoryName,this.userAccess=s.userAccess,this.currentGoalName=s.currentGoalName,this.currentImageUrl=s.currentImageUrl,this.currentGoalCustomKeyName=s.goalCustomKeyName,this.currentGoalCustomKeyValue=s.goalCustomKeyValue,this.goalId=s.goalId,this.requestor=s.requestor,this.goalCreator=s.goalCreator,this.canDeleteGoal=s.canDeleteGoal}ngOnInit(){this.goalEditForm=new c.nJ({newGoalName:new c.p4("",[c.kI.required,c.kI.pattern("^[a-zA-Z0-9_'.,\\- ]+([a-zA-Z0-9_'?.,\\- ])*$")]),currentGoalCustomKeyName:new c.p4("",[c.kI.maxLength(30)]),currentGoalCustomKeyValue:new c.p4("",[c.kI.maxLength(50)])}),this.goalEditForm.controls.newGoalName.setValue(this.currentGoalName),this.goalEditForm.controls.currentGoalCustomKeyName.setValue(this.currentGoalCustomKeyName),this.goalEditForm.controls.currentGoalCustomKeyValue.setValue(this.currentGoalCustomKeyValue)}fileChangeEvent(t){this.imageChangedEvent=t}imageCropped(t){this.croppedImage=t.base64,console.log(t,(0,C.Ll)(t.base64))}imageLoaded(){this.showCropper=!0,console.log("Image loaded")}cropperReady(t){console.log("Cropper ready",t)}loadImageFailed(){console.log("Load failed"),this.genericErr=!0,this.genericErrMsg="Loading Image Failed"}rotateLeft(){this.canvasRotation--,this._flipAfterRotate(),this.updateRotation()}rotateRight(){this.canvasRotation++,this._flipAfterRotate(),this.updateRotation()}_flipAfterRotate(){this.transform={...this.transform,flipH:this.transform.flipV,flipV:this.transform.flipH}}flipHorizontal(){this.transform={...this.transform,flipH:!this.transform.flipH}}flipVertical(){this.transform={...this.transform,flipV:!this.transform.flipV}}resetImage(){this.scale=1,this.rotation=0,this.canvasRotation=0,this.transform={}}zoomOut(){this.scale-=.1,this.transform={...this.transform,scale:this.scale}}zoomIn(){this.scale+=.1,this.transform={...this.transform,scale:this.scale}}toggleContainWithinAspectRatio(){this.containWithinAspectRatio=!this.containWithinAspectRatio}updateRotation(){this.transform={...this.transform,rotate:this.rotation}}validateSelectedFile(t){this.uploadErr=!1,this.uploadErrMsg=this._utilService.validateSelectedImage(t),this.uploadErrMsg&&(this.uploadErr=!0)}dataURItoBlob(t){const o=atob(t.split(",")[1]),a=[];for(let r=0;r<o.length;
1r++)a.push(o.charCodeAt(r));return new Blob([new Uint8Array(a)],{type:"image/png"})}deleteGoal(){this.genericErr=!1,this.deletingGoal=!0,this.goalService.deleteGoal({goalCreator:this.goalCreator,requestor:this.requestor,orgName:this.orgName,goalId:this.goalId,userAccess:this.userAccess,deleteGoal:!0}).subscribe(o=>{"PUBLIC"===this.orgName?this._homeService.getAuthorizedUserPublicCategoryList().subscribe(a=>{console.log(a),this.sessionStorage.setObject("pubcattree",a.responseBody.categoryTreeResponse);let r=this._flowchartListService.getGoalListInCategoryTreeBySubcategory(this.orgName,this.categoryId,this.subCategoryId);this._flowchartListService.setGoalListBySubcategory(r),this._flowchartListService.setOrgName(this.orgName),this._flowchartListService.setSelectedCategoryId(this.categoryId),this._flowchartListService.setSelectedSubcategoryId(this.subCategoryId),this.genericErr=!1,this.deletingGoal=!1,this.dialogRef.close("delete")},a=>{this.dialogRef.close("delete")}):this._homeService.getAuthorizedUserCategoryList().subscribe(a=>{console.log(a),this.sessionStorage.setObject("cattree",a.responseBody.categoryTreeResponse);let r=this._flowchartListService.getGoalListInCategoryTreeBySubcategory(this.orgName,this.categoryId,this.subCategoryId);this._flowchartListService.setGoalListBySubcategory(r),this._flowchartListService.setOrgName(this.orgName),this._flowchartListService.setSelectedCategoryId(this.categoryId),this._flowchartListService.setSelectedSubcategoryId(this.subCategoryId),this.genericErr=!1,this.deletingGoal=!1,this.dialogRef.close("delete")},a=>{this.dialogRef.close("delete")})},o=>{this.genericErr=!0,this.deletingGoal=!1,this.genericErrMsg=o&&o.error&&"500"===o.error.statusCode?"Unexpected error occurred while deleting Goal.  Please contact DeciZone support team.":o&&o.error?o.error.statusMessage:""})}deleteGoalImage(){this.genericErr=!1,this.deletingImage=!0,this.goalService.deleteGoalImage({goalCreator:this.goalCreator,requestor:this.requestor,orgName:this.orgName,goalId:this.goalId,userAccess:this.userAccess,deleteGoalImage:!0}).subscribe(o=>{"PUBLIC"===this.orgName?this._homeService.getAuthorizedUserPublicCategoryList().subscribe(a=>{console.log(a),this.sessionStorage.setObject("pubcattree",a.responseBody.categoryTreeResponse);let r=this._flowchartListService.getGoalListInCategoryTreeBySubcategory(this.orgName,this.categoryId,this.subCategoryId);this._flowchartListService.setGoalListBySubcategory(r),this._flowchartListService.setOrgName(this.orgName),this._flowchartListService.setSelectedCategoryId(this.categoryId),this._flowchartListService.setSelectedSubcategoryId(this.subCategoryId),this.genericErr=!1,this.deletingImage=!1,this.dialogRef.close("edit")},a=>{this.dialogRef.close("edit")}):this._homeService.getAuthorizedUserCategoryList().subscribe(a=>{console.log(a),this.sessionStorage.setObject("cattree",a.responseBody.categoryTreeResponse);let r=this._flowchartListService.getGoalListInCategoryTreeBySubcategory(this.orgName,this.categoryId,this.subCategoryId);this._flowchartListService.setGoalListBySubcategory(r),this._flowchartListService.setOrgName(this.orgName),this._flowchartListService.setSelectedCategoryId(this.categoryId),this._flowchartListService.setSelectedSubcategoryId(this.subCategoryId),this.genericErr=!1,this.deletingImage=!1,this.dialogRef.close("edit")},a=>{this.dialogRef.close("edit")})},o=>{this.genericErr=!0,this.deletingImage=!1,this.genericErrMsg=o&&o.error&&"500"===o.error.statusCode?"Unexpected error occurred while deleting goal image.  Please contact DeciZone support team.":o&&o.error?o.error.statusMessage:""})}editGoal(){var t=this;return(0,E.Z)(function*(){t.loading=!0,t.genericErr=!1;let o=t.fileInput.nativeElement,a={goalCreator:t.goalCreator,requestor:t.requestor,orgName:t.orgName,goalId:t.goalId,currentGoalName:t.currentGoalName,goalName:t.goalEditForm.get("newGoalName").value,goalCustomKeyName:t.goalEditForm.get("currentGoalCustomKeyName").value,goalCustomKeyValue:t.goalEditForm.get("currentGoalCustomKeyValue").value,subCategoryId:t.subCategoryId,subcategoryName:t.subCategoryName,categoryName:t.categoryName,userAccess:t.userAccess,goalImageName:"",goalImageData:""};if(t.croppedImage){let r=o.files.item(0).name.replace(/\s/g,"");r=r.replace(/[\])}[{(]/g,"");let d=r.substring(0,r.indexOf("."))+".png";console.log("png file name",d);const m=t.dataURItoBlob(t.croppedImage);let p=new File([m],d,{type:"image/png"});const s={maxSizeMB:.5,useWebWorker:!1};let h=p;try{const g=yield(0,D.Z)(p,s);console.log("compressedFile instanceof Blob",g instanceof Blob),console.log(`compressedFile size ${g.size/1024/1024} MB`),h=g}catch(g){console.log(g)}let T="",y=new FileReader;y.readAsDataURL(h),y.onload=()=>{T=y.result.toString().split(",")[1],a.goalImageName=d,a.goalImageData=T,t.goalService.editGoal(a).subscribe(g=>{"PUBLIC"===t.orgName?t._homeService.getAuthorizedUserPublicCategoryList().subscribe(u=>{console.log(u),t.sessionStorage.setObject("pubcattree",u.responseBody.categoryTreeResponse);let b=t._flowchartListService.getGoalListInCategoryTreeBySubcategory(t.orgName,t.categoryId,t.subCategoryId);t._flowchartListService.setGoalListBySubcategory(b),t._flowchartListService.setOrgName(t.orgName),t._flowchartListService.setSelectedCategoryId(t.categoryId),t._flowchartListService.setSelectedSubcategoryId(t.subCategoryId),t.genericErr=!1,t.loading=!1,t.dialogRef.close("edit")},u=>{t.dialogRef.close("edit")}):t._homeService.getAuthorizedUserCategoryList().subscribe(u=>{console.log(u),t.sessionStorage.setObject("cattree",u.responseBody.categoryTreeResponse);let b=t._flowchartListService.getGoalListInCategoryTreeBySubcategory(t.orgName,t.categoryId,t.subCategoryId);t._flowchartListService.setGoalListBySubcategory(b),t._flowchartListService.setOrgName(t.orgName),t._flowchartListService.setSelectedCategoryId(t.categoryId),t._flowchartListService.setSelectedSubcategoryId(t.subCategoryId),t.genericErr=!1,t.loading=!1,t.dialogRef.close("edit")},u=>{t.dialogRef.close("edit")});let ne={event:"edit_goal","dlv-user_state_id":"loggedin","dlv-user_id":t._utilService.getLoggedInUserId(),"dlv-org_member":t._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":t._utilService.getLoggedInUserRole(),"dlv-org_id":t.orgId,"dlv-cat_id":t.categoryId,"dlv-subcat_id":t.subCategoryId,"dlv-goal_id":t.goalId};window.dataLayer.push(ne)},g=>{t.genericErr=!0,t.loading=!1,t.genericErrMsg=g&&g.error&&"500"===g.error.statusCode?"Unexpected error occurred while updating Goal caption.  Please contact DeciZone support team.":g&&g.error?g.error.statusMessage:""})}}else t.goalService.editGoal(a).subscribe(r=>{"PUBLIC"===t.orgName?t._homeService.getAuthorizedUserPublicCategoryList().subscribe(m=>{console.log(m),t.sessionStorage.setObject("pubcattree",m.responseBody.categoryTreeResponse);let p=t._flowchartListService.getGoalListInCategoryTreeBySubcategory(t.orgName,t.categoryId,t.subCategoryId);t._flowchartListService.setGoalListBySubcategory(p),t._flowchartListService.setOrgName(t.orgName),t._flowchartListService.setSelectedCategoryId(t.categoryId),t._flowchartListService.setSelectedSubcategoryId(t.subCategoryId),t.genericErr=!1,t.loading=!1,t.dialogRef.close("edit")},m=>{t.dialogRef.close("edit")}):t._homeService.getAuthorizedUserCategoryList().subscribe(m=>{console.log(m),t.sessionStorage.setObject("cattree",m.responseBody.categoryTreeResponse);let p=t._flowchartListService.getGoalListInCategoryTreeBySubcategory(t.orgName,t.categoryId,t.subCategoryId);t._flowchartListService.setGoalListBySubcategory(p),t._flowchartListService.setOrgName(t.orgName),t._flowchartListService.setSelectedCategoryId(t.categoryId),t._flowchartListService.setSelectedSubcategoryId(t.subCategoryId),t.genericErr=!1,t.loading=!1,t.dialogRef.close("edit")},m=>{t.dialogRef.close("edit")});let d={event:"edit_goal","dlv-user_state_id":"loggedin","dlv-user_id":t._utilService.getLoggedInUserId(),"dlv-org_member":t._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":t._utilService.getLoggedInUserRole(),"dlv-org_id":t.orgId,"dlv-cat_id":t.categoryId,"dlv-subcat_id":t.subCategoryId,"dlv-goal_id":t.goalId};window.dataLayer.push(d)},r=>{t.genericErr=!0,t.loading=!1,t.genericErrMsg=r&&r.error&&"500"===r.error.statusCode?"Unexpected error occurred while updating Goal caption.  Please contact DeciZone support team.":r&&r.error?r.error.statusMessage:""});return t.dialogRef.afterClosed()})()}close(){this.ngZone.run(()=>{this.dialogRef.close("cancel")})}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.R0b),e.Y36(_.so),e.Y36(S.F0),e.Y36(G.Y),e.Y36(w.O),e.Y36(L.A),e.Y36(x.f),e.Y36(_.WI),e.Y36(N.qo))},i.\u0275cmp=e.Xpm({type:i,selectors:[["ng-component"]],viewQuery:function(t,o){if(1&t&&e.Gf(B,5),2&t){let a;e.iGM(a=e.CRH())&&(o.fileInput=a.first)}},decls:68,vars:37,consts:[[1,"dz-dialog-subcontainer","edit-goal-subcontr"],["id","editgoaldilg-close","mat-button","","aria-label","Close this Edit Goal panel.",1,"close-cross","dz-dialog-close",3,"click"],[1,"dz-dialog-top"],["mat-dialog-title","",1,"editformtitle"],[1,"dz-dialog-scrolling-body"],["tabindex","0"],[1,"creatorname","small-grey-text"],[1,"the-form",3,"formGroup"],[4,"ngIf"],[1,"form-full-width"],["matInput","","placeholder","Enter modified Goal here","maxlength","150","matTextareaAutosize","","matAutosizeMinRows","2","matAutosizeMaxRows","3","formControlName","newGoalName","name","newGoalName","required","",3,"value"],["newGoalName",""],["align","start"],["align","end"],["type","text","matInput","","placeholder","Enter Goal Custom Key Name","maxlength","30","name","currentGoalCustomKeyName","formControlName","currentGoalCustomKeyName",3,"value"],["currentGoalCustomKeyName",""],["type","text","matInput","","placeholder","Enter Goal Custom Key Value","maxlength","50","name","currentGoalCustomKeyValue","formControlName","currentGoalCustomKeyValue",3,"value"],["currentGoalCustomKeyValue",""],[1,"imageuploaddiv"],["class","editformsmalltext",4,"ngIf"],["class","uploadedimagediv",3,"style",4,"ngIf"],["class","uploadedimagediv","style","\n            background-image: url('assets/images/Goal-label-gray-18dp.svg');\n          ",4,"ngIf"],["id","editgoaldilg-delgoalimg","matTooltip","Delete Goal Image","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],[1,"uploadoption"],["for","file"],["type","file","accept","image/png, image/jpeg, image/jpg","id","image",1,"file-selector",3,"change"],["fileInput",""],["class","cropper-tools-container",4,"ngIf"],["class","cropper-rotation-sli
1der","matTooltip","Rotate image.","name","rotation","tickInterval","30","min","0","max","359","aria-label","degrees",3,"matTooltipShowDelay","matTooltipHideDelay","thumbLabel","ngModel","ngModelOptions","ngModelChange","change",4,"ngIf"],["format","png",1,"image-cropper-container",3,"imageChangedEvent","maintainAspectRatio","containWithinAspectRatio","aspectRatio","resizeToWidth","cropperMinWidth","onlyScaleDown","roundCropper","canvasRotation","transform","alignImage","imageCropped","imageLoaded","cropperReady","loadImageFailed"],["mat-dialog-actions","",1,"dz-dialog-bottom","dialogue-buttons"],["id","editgoaldilg-cancl","type","button","mat-button","",3,"click"],["id","editgoaldilg-delgoal","type","button","mat-button","",3,"click",4,"ngIf"],["id","editgoaldilg-update","type","button","mat-raised-button","","cdkFocusInitial","",3,"disabled","click"],["class","app-spinner",4,"ngIf"],[1,"editformsmalltext"],[1,"uploadedimagediv"],[1,"uploadedimagediv",2,"background-image","url('assets/images/Goal-label-gray-18dp.svg')"],["id","editgoaldilg-delgoalimg","matTooltip","Delete Goal Image","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[1,"app-spinner"],[1,"cropper-tools-container"],["matTooltip","Rotate 90 deg. Right","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Rotate 90 deg. Left","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Flip Horizontal","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Flip Vertical","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Contain Within Aspect Ratio","class","croppertool-button","mat-mini-fab","","color","accent",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["matTooltip","Fill Aspect Ratio","class","croppertool-button","mat-mini-fab","","color","accent",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["matTooltip","Re
1set Image","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Zoom Out","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Zoom In","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Contain Within Aspect Ratio","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Fill Aspect Ratio","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Rotate image.","name","rotation","tickInterval","30","min","0","max","359","aria-label","degrees",1,"cropper-rotation-slider",3,"matTooltipShowDelay","matTooltipHideDelay","thumbLabel","ngModel","ngModelOptions","ngModelChange","change"],[1,"custom-cropped-image",3,"src"],["id","editgoaldilg-delgoal","type","button","mat-button","",3,"click"]],template:function(t,o){if(1&t&&(e.TgZ(0,"div",0)(1,"button",1),e.NdJ("click",function(){return o.close()}),e.TgZ(2,"mat-icon"),e._uU(3,"close"),e.qZA()(),e.TgZ(4,"div",2)(5,"p",3),e._uU(6,"Edit Goal"),e.qZA()(),e.TgZ(7,"div",4)(8,"mat-dialog-content",5),e._uU(9," Current Goal: "),e.TgZ(10,"strong"),e._uU(11),e.qZA()(),e.TgZ(12,"p",6),e._uU(13),e.qZA(),e.TgZ(14,"form",7),e.YNc(15,J,2,1,"mat-error",8),e.TgZ(16,"mat-form-field",9),e._UZ(17,"textarea",10,11),e.TgZ(19,"mat-hint",12)(20,"strong"),e._uU(21,"Use only these [a-z, A-Z, 0-9, _?'.,-] and Max 150 characters!"),e.qZA()(),e.TgZ(22,"mat-hint",13),e._uU(23),e.qZA()(),e.YNc(24,H,2,1,"div",8),e.TgZ(25,"mat-form-field",9),e._UZ(26,"input",14,15),e.TgZ(28,"mat-hint",12)(29,"strong"),e._uU(30,"Max 30 characters."),e.qZA()(),e.TgZ(31,"mat-hint",13),e._uU(32),e.qZA()(),e.TgZ(33,"mat-form-field",9),e._UZ(34,"input",16,17),e.TgZ(36,"mat-hint",12)(37,"strong"),e._uU(38,"Default will be Goal name. You can override by using only these [a-z, A-Z, 0-9, _?'.,-] and Max 50 characters."),e.qZA()(),e.TgZ(39,"mat-hint",13),e._uU(40),e.qZA()(),e.TgZ(41,"div",18),e.YNc(42,k,2,0,"p",19),e.YNc(43,W,1,3,"div",20),e.YNc(44,z,1,0,"div",21),e.YNc(45,Q,5,3,"button",22),e.qZA(),e.TgZ(46,"div",23)(47,"label",24),e._uU(48,"Upload New Image"),e.qZA(),e._UZ(49,"br"),e.TgZ(50,"input",25,26),e.NdJ("change",function(r){return o.validateSelectedFile(r),o.fileChangeEvent(r)}),e.qZA(),e.YNc(52,j,24,16,"div",27),e.YNc(53,V,2,0,"p",8),e.YNc(54,$,2,6,"mat-slider",28),e._UZ(55,"br")(56,"br"),e.TgZ(57,"image-cropper",29),e.NdJ("imageCropped",function(r){return o.imageCropped(r)})("imageLoaded",function(){return o.imageLoaded()})("cropperReady",function(r){return o.cropperReady(r)})("loadImageFailed",function(){return o.loadImageFailed()}),e.qZA(),e.YNc(58,ee,4,3,"div",8),e.qZA(),e.YNc(59,te,2,1,"mat-error",8),e.qZA(),e.YNc(60,oe,2,0,"p",8),e.qZA(),e.TgZ(61,"div",30)(62,"button",31),e.NdJ("click",function(){return o.close()}),e._uU(63," Cancel "),e.qZA(),e.YNc(64,ie,3,1,"button",32),e.TgZ(65,"button",33),e.NdJ("click",function(){return o.editGoal()}),e.YNc(66,re,1,0,"mat-spinner",34),e._uU(67," Update "),e.qZA()()()),2&t){const a=e.MAs(18),r=e.MAs(27),d=e.MAs(35);e.xp6(11),e.hij(" ",o.currentGoalName,""),e.xp6(2),e.hij("Created by: ",o.goalCreator,""),e.xp6(1),e.Q6J("formGroup",o.goalEditForm),e.xp6(1),e.Q6J("ngIf",o.genericErr),e.xp6(2),e.Q6J("value",a),e.xp6(6),e.hij("",(null==a.value?null:a.value.length)||0," / 150"),e.xp6(1),e.Q6J("ngIf",o.goalEditForm.controls.newGoalName.errors&&(o.goalEditForm.controls.newGoalName.dirty||o.goalEditForm.controls.newGoalName.touched)),e.xp6(2),e.Q6J("value",r),e.xp6(6),e.hij("",(null==r.value?null:r.value.length)||0," / 30"),e.xp6(2),e.Q6J("value",d),e.xp6(6),e.hij("",(null==d.value?null:d.value.length)||0," / 50"),e.xp6(2),e.Q6J("ngIf",o.currentImageUrl),e.xp6(1),e.Q6J("ngIf",o.currentImageUrl),e.xp6(1),e.Q6J("ngIf",!o.currentImageUrl),e.xp6(1),e.Q6J("ngIf",o.currentImageUrl),e.xp6(7),e.Q6J("ngIf",o.showCropper),e.xp6(1),e.Q6J("ngIf",o.showCropper),e.xp6(1),e.Q6J("ngIf",o.showCropper),e.xp6(3),e.Udp("display",o.showCropper?null:"none"),e.Q6J("imageChangedEvent",o.imageChangedEvent)("maintainAspectRatio",!0)("containWithinAspectRatio",o.containWithinAspectRatio)("aspectRatio",1.5)("resizeToWidth",150)("cropperMinWidth",150)("onlyScaleDown",!0)("roundCropper",!1)("canvasRotation",o.canvasRotation)("transform",o.transform)("alignImage","left"),e.xp6(1),e.Q6J("ngIf",o.showCropper),e.xp6(1),e.Q6J("ngIf",o.uploadErr),e.xp6(1),e.Q6J("ngIf","PUBLIC"===o.orgName),e.xp6(4),e.Q6J("ngIf",o.canDeleteGoal),e.xp6(1),e.Q6J("disabled",o.goalEditForm.invali
1d),e.xp6(1),e.Q6J("ngIf",o.loading)}},dependencies:[Z.O5,I.i7,I.tY,c._Y,c.Fj,c.JJ,c.JL,c.Q7,c.nD,c.On,c.sg,c.u,f.TO,f.KE,f.bx,A.Nt,M.lW,_.uh,_.xY,_.H8,R.Hw,U.Ou,O.pH,P.gM,C.ap],styles:[".imageuploaddiv[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-wrap:wrap}.uploadedimagediv[_ngcontent-%COMP%]{width:120px;height:80px;background-repeat:no-repeat;background-size:contain;background-position:center;margin-right:10px;background-color:#eee}.creatorname[_ngcontent-%COMP%]{text-align:start;margin:5px}.uploadoption[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-around;align-items:flex-start;flex-grow:1;margin:20px 0}.editformtitle[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin-bottom:10px}.editformsmalltext[_ngcontent-%COMP%]{margin:0 auto 5px;font-size:small}.image-cropper-container[_ngcontent-%COMP%]{width:200px!important;overflow:hidden!important}.custom-cropped-image[_ngcontent-%COMP%]{height:130px}.buttons-container[_ngcontent-%COMP%], .cropper-tools-container[_ngcontent-%COMP%]{display:flex!important;flex-direction:row!important;justify-content:space-around!important;align-items:center!important;padding:6px!important;margin:20px 0!important}.croppertool-button[_ngcontent-%COMP%]{background:transparent;margin:3px}.cropper-rotation-slider[_ngcontent-%COMP%]{margin:8px;width:200px}"]}),i})()}}]);

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.