PageSourceSearch

https://decizone.com/6962.641674be42432250.js

js decizone.com collected 2026-10-05 09:48:19 UTC 426,873 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdzweb=self.webpackChunkdzweb||[]).push([[6962],{52931:(mt,Y,b)=>{b.d(Y,{f:()=>y});var A=b(17009),D=b(94650);let y=(()=>{class l{constructor(t,T){this.snackBarRef=t,this.data=T,this.message="",this.message=T}}return l.\u0275fac=function(t){return new(t||l)(D.Y36(A.OX),D.Y36(A.qD))},l.\u0275cmp=D.Xpm({type:l,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(t,T){1&t&&(D.TgZ(0,"p",0),D._uU(1),D.qZA(),D.TgZ(2,"button",1),D.NdJ("click",function(){return T.snackBarRef.dismiss()}),D._uU(3,"close"),D.qZA()),2&t&&(D.xp6(1),D.hij(" ",T.message,"\n"))},encapsulation:2}),l})()},62403:(mt,Y,b)=>{b.d(Y,{R:()=>A});const A={ERRMSG_PUBLISH_FC_VIEW_PROPERTY_UPDATE:{errorMessage:"We could not save the changes, please try again after sometime. (34118)"},ERRMSG_EMBEDDED_FC_VIEW_PROPERTY_UPDATE:{errorMessage:"We could not save the changes, please try again after sometime. (32074)"},ERRMSG_RETRIEVE_FC_VERSION_LIST:{errorMessage:"There was a problem in getting this flowchart's details. (86646)"},ERRMSG_WHOLE_FC_VIEW_ERROR:{errorMessage:"There was a problem in opening the whole flowchart view. (18523)"},ERRMSG_CREATE_BOOKMARK_ALIAS_FAILED:{errorMessage:"There was a problem in saving bookmark alias.  Please try after sometime. (76067)"},ERRMSG_SEND_BOX_FEEDBACK_ERROR:{errorMessage:"We are unable to send the feedback to author at this time. Please try after some time. (81455)"},ERRMSG_RETRIEVE_FC_LIST_FOR_GOAL_ERROR:{errorMessage:"We are unable to process your request at this time.  Please try after sometime. (90037)"},ERRMSG_FLOWCHART_FAVORITE_SAVE:{errorMessage:"We are unable to save your selected flowchart in favorite list at this time.  Please try after sometime. (53335)"},ERRMSG_FLOWCHART_FAVORITE_REMOVE:{errorMessage:"We are unable to remove selected flowchart from favorite list at this time.  Please try after sometime. (83793)"},ERRMSG_FLOWCHART_RENDER_ERROR:{errorMessage:"We are unable to process your request at this time.  Please try after sometime. (96431)"},ERRMSG_FLOWCHART_AUTHORIZE_ERROR:{errorMessage:"You are not authorized to access this flowchart anymore. (99729)"},ERRMSG_FLOWCHART_EDIT_MODE_TURNOFF:{errorMessage:"We are unable to turn off edit mode for this flowchart.  Please try after sometime. (30951)"},ERRMSG_FLOWCHART_PUBLIC_STATUS:{errorMessage:"We are unable to change this flowchart public status at this time.  Please try after sometime. (12024)"},ERRMSG_FLOWCHART_EMBED_STATUS:{errorMessage:"We are unable to change this flowchart status for embedding at this time.  Please try after sometime. (23078)"},ERRMSG_FLOWCHART_PUBLISH_TOGGLE:{errorMessage:"We are unable to change this flowchart publish status at this time.  Please try after sometime. (26137)"},ERRMSG_PUBLISH_FC_VIEWER_TRANSCRIPT_TOGGLE:{errorMessage:"We are unable to process your request at this time.  Please try after sometime. (75279)"},ERRMSG_PUBLISH_FC_LAYOUT:{errorMessage:"We are unable to change published flowchart layout.  Please try after sometime. (56531)"},ERRMSG_EMBED_FC_LAYOUT:{errorMessage:"We are unable to change embedded flowchart layout.  Please try after sometime. (17003)"},ERRMSG_FLOWCHART_PROPERTY_ENDFLOW_UPDATE:{errorMessage:"We are unable to process your request at this time.  Please try after sometime. (49526)"},ERRMSG_PUBLISHED_FLOWCHART_REDIRECT_URL_UPDATE:{errorMessage:"We are unable to process your request at this time.  Please try after sometime. (40547)"},ERRMSG_CREATE_FLOWCHART_WITH_NEW_GOAL:{errorMessage:"We are unable to create a new goal and flowchart as per your selection at this time.  Please try after sometime. (42196)"},ERRMSG_CREATE_FLOWCHART_ERROR:{errorMessage:"We are unable to create a new flowchart as per your selection.  Please try after sometime. (20380)"},ERRMSG_RENDER_NEW_CREATED_FLOWCHART_ERROR:{errorMessage:"We have created flowchart for you, but unable to render the flowchart at this time.  Please try after sometime. (54844)"},ERRMSG_EXPORT_FLOWCHART_ACTIVITY_DATE_RANGE_ERROR:{errorMessage:"There has not been any activity for selected flowchart during this time period.  Please change the time period or select different flowchart. (56504)"},ERRMSG_EXPORT_FLOWCHART_ACTIVITY_ERROR:{errorMessage:"We are unable to process your request at this time.  Please try after sometime. 
1(80534)"},ERRMSG_ORG_USER_MILESTONE_CHART_DATA_FOR_DASHBOARD:{errorMessage:"We are unable to get your organization's users milestone data at this time.  Please try after sometime. (74902)"},ERRMSG_ORG_USER_ACTIVITY_CHART_DATA_FOR_DASHBOARD:{errorMessage:"We are unable to get your organization's activity data at this time.  Please try after sometime. (66996)"},ERRMSG_ORG_USER_ACTIVITY_TABLE_DATA_FOR_DASHBOARD:{errorMessage:"We are unable to get your organization's activity data at this time.  Please try after sometime. (66673)"},ERRMSG_ORG_USER_MILESTONE_TABLE_DATA_FOR_DASHBOARD:{errorMessage:"We are unable to get your organization's users milestone data at this time.  Please try after sometime. (98039)"},ERRMSG_ADD_EDIT_BOX:{errorMessage:"We are unable to process your request at this time.  Please try after sometime. (55729)"},ERRMSG_ADD_FILE_ON_BOX:{errorMessage:"We are unable to upload the requested file on the box at this time.  Please try after sometime. (24655)"},ERRMSG_ADD_REFERENCE_LINK_ON_BOX:{errorMessage:"We are unable to attach reference link on the box at this time.  Please try after sometime. (18742)"},ERRMSG_CHOICE_BOX_SORT_ORDER_FAILED:{errorMessage:"We are unable to update the choice box sort order at this time.  Please try after sometime. (91310)"},ERRMSG_DELETE_CHOICE_BOX_FAILED:{errorMessage:"We are unable to delete selected choice at this time.  Please try after sometime. (47658)"},ERRMSG_ACCEPT_ORG_INVITATION_FAILED:{errorMessage:"We are unable to process your request at this time.  Please try after sometime. (43007)"},ERRMSG_ACCEPT_ORG_INVITE_VALIDATION_FAILED:{errorMessage:"This link is not valid anymore, please contact the admin of your DeciZone organization. (42428)"},ERRMSG_DECLINE_ORG_INVITE_BY_USER_FAILED:{errorMessage:"We are unable to process your request at this time.  Please try again. (49435)"},ERRMSG_CHOICE_BOX_IMAGE_UPLOAD_FAILED:{errorMessage:"We are unable to upload image on choice box at this time.  Please try after sometime. (46542)"},ERRMSG_ORGANIZATION_BRAND_PROPERTY_UPDATE_FAILED:{errorMessage:"We are unable to change the selected brand update for your organization.  Please try after sometime. (60465)"},ERRMSG_ORG_DISPLAYNAME_UPDATE_FAILED:{errorMessage:"We are unable to update your organization display name as per your request.  Please try after sometime. (49938)"},ERRMSG_ORG_CUSTOM_KEYNAME_UPDATE_FAILED:{errorMessage:"We are unable to update your organization custom key name as per your request. Please try after sometime. (93818)"},ERRMSG_ORG_CUSTOM_KEYVALUE_UPDATE_FAILED:{errorMessage:"We are unable to update your organization custom key value as per your request. Please try after sometime. (57585)"},ERRMSG_ORG_WEBSITE_URL_UPDATE_FAILED:{errorMessage:"We are unable to update your organization website url as per your request.  Please try after sometime. (57398)"},ERRMSG_ORG_SCREEN_TIMEOUT_UPDATE_FAILED:{errorMessage:"We are unable to update session timeout as per your request at this time.  Please try after sometime. (12311)"},ERRMSG_FLOWCHART_DELETE_SETTING_TABLE_FAILED:{errorMessage:"We are unable to delete your selected flowchart at this time.  Please try after sometime. (26375)"},ERRMSG_INSERT_BOX_FAILED:{errorMessage:"We are unable to insert the box as per your selection at this time. (21575)"},ERRMSG_AUTHORIZATION_ERROR:{errorMessage:"You are not authorized to perform this action. (16341)"},ERRMSG_DELETE_BOX_FAILED:{errorMessage:"Unexpected error occured while deleting selected box.  Please try after sometime. (28957)"},ERRMSG_DELETE_BOX_ATTACHMENT_ICON_FAILED:{errorMessage:"We are unable to delete selected icon at this time.  Please try after sometime. (92208)"},ERRMSG_DELETE_BOX_ATTACHMENT_FAILED:{errorMessage:"We are unable to delete the attachment to this box at this time.  Please try after sometime. (80579)"},ERRMSG_ADD_MCB_BOX_FAILED:{errorMessage:"Unexpected error occured while adding multiple choice box.  You can try after sometime. (31972)"},ERRMSG_ADD_BOOKMARK_LINK_FAILED:{errorMessage:"We are unable to create bookmark link at this time.  Please try after sometime. 
1(90427)"},ERRMSG_DELETE_BOOKMARK_LINK_FAILED:{errorMessage:"Unexpected error occured while deleting bookmark link.  Please try after sometime. (58368)"},ERRMSG_ADD_CLONE_BOX_FAILED:{errorMessage:"We are not able to add clone box based on your selected box alias at this time.  Please try after sometime. (76370)"},ERRMSG_CLIENT_SIDE_GENERIC_ERROR:{errorMessage:"We are sorry, there was a problem with the last couple of interactions.  If you are JUST starting to see this message recently, you can try to 'press the SHIFT key + Refresh' the page OR Sign-Out of your account, open a new browser tab and Sign back into your DeciZone account to continue.  If you see this problem again/repeatedly, try to note down the sequence/pattern of actions right before you get this problem and share it with the DeciZone support team so we can fix it quickly for you."},ERRMSG_APPEND_FLOWCHART_ERROR:{errorMessage:"We are sorry, there was a problem while appending the selected flowchart to current box.  Please try after some time. (76480)"},ERRMSG_ORG_CREDITS_USAGE_DETAILS_FAILED:{errorMessage:"We are unable to retrieve your organization's credits usage details at this time.  Please try again after sometime. (54951)"},ERRMSG_DELETE_FLOWCHART_FROM_CACHE_FAILED:{errorMessage:"We are unable to refresh flowchart from cache.  Please try again at a later time. (33246)"},ERRMSG_SUBSCRIBE_CREDIT_CARD_VALIDATION_FAILED:{errorMessage:"We are unable to process your credit-card.  Please try again or contact [email protected]. (79933)"},ERRMSG_ORG_DEFAULT_LANDING_PAGE_UPDATE_FAILED:{errorMessage:"We are unable to update your organization preference for default landing page after login  (73244)"},ERRMSG_DELETE_THIRD_PARTY_API_FAILED:{errorMessage:"We are unable to remove selected API details at this time.  Please try again. (73245)"}}},6962:(mt,Y,b)=>{b.r(Y),b.d(Y,{SettingModule:()=>Dd});var A=b(36895),D=b(19132),y=b(69814),l=b(24006),z=b(10920),t=b(94650),T=b(65938),nt=b(15861),rt=b(29521),O=b(22858),K=b(62403),d=b(17489),I=b(89284),Q=b(31934),N=b(69327),L=b(43949),q=b(38058),st=b(64838),et=b(65244),V=b(93531),Tt=b(6855),Zt=b(49889),Ot=b(81142),At=b(80202),Nt=b(10369),Et=b(30882),Dt=b(88493),It=b(25294),pt=b(17009),R=b(21952),xt=b(55829),E=b(59549),j=b(284),H=b(4859),$=b(73546),vt=b(56709),X=b(77331),W=b(97392),Ut=b(44850),ct=b(51572),lt=b(71948),Mt=b(87314),ht=b(90455),ut=b(10266),qt=b(64985);const Ht=["fileInput"];function Lt(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.genericErrMsg," ")}}function Rt(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Flowchart Name is required. "),t.qZA())}function Jt(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Flowchart Name cannot be greater than 50 characters. "),t.qZA())}function Yt(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Flowchart Name can contain only alphabets, numbers or hyphen '-', but no whitespace. (Max 50 characters). "),t.qZA())}function Kt(o,n){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,Rt,2,0,"mat-error",10),t.YNc(2,Jt,2,0,"mat-error",10),t.YNc(3,Yt,2,0,"mat-error",10),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.fcPropertyForm.controls.flowchartName.errors.required),t.xp6(1),t.Q6J("ngIf",e.fcPropertyForm.controls.flowchartName.errors.maxlength),t.xp6(1),t.Q6J("ngIf",e.fcPropertyForm.controls.flowchartName.errors.pattern)}}function Qt(o,n){1&o&&(t.TgZ(0,"mat-icon",93),t._uU(1,"cancel"),t.qZA())}function Bt(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-chip",91),t.NdJ("removed",function(){const s=t.CHM(e).$implicit,r=t.oxw(2);return t.KtG(r.removeKeyword(s))}),t._uU(1),t.YNc(2,Qt,2,0,"mat-icon",92),t.qZA()}if(2&o){const e=n.$implicit,i=t.oxw(2);t.Q6J("selectable",i.selectable)("removable",i.removable),t.xp6(1),t.hij(" ",e," "),t.xp6(1),t.Q6J("ngIf",i.removable)}}function Gt(o,n){if(1&o&&(t.TgZ(0,"div"),t._UZ(1,"div",94)(2,"br"),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Udp("background-image","url("+e.flowchartImageUrl+")")}}function Vt(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",105),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(3);return t.KtG(a.toggleContainWithinAspectRatio())}),t.TgZ(1,"mat-icon"),t._uU(2,"filter_center_focus"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Wt(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",106),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(3);return t.KtG(a.toggleContainWithinAspectRatio())}),t.TgZ(1,"mat-icon"),t._uU(2,"settings_overscan"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function zt(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div",95)(1,"button",96),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.rotateRight())}),t.TgZ(2,"mat-icon"),t._uU(3,"rotate_90_degrees_cw"),t.qZA()(),t.TgZ(4,"button",97),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.rotateLeft())}),t.TgZ(5,"mat-icon"),t._uU(6,"rotate_90_degrees_ccw"),t.qZA()(),t.TgZ(7,"button",98),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.flipHorizontal())}),t.TgZ(8,"mat-icon"),t._uU(9,"switch_right"),t.qZA()(),t.TgZ(10,"button",99),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.flipVertical())}),t.TgZ(11,"mat-icon"),t._uU(12,"unfold_more"),t.qZA()(),t.YNc(13,Vt,3,2,"button",100),t.YNc(14,Wt,3,2,"button",101),t.TgZ(15,"button",102),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.resetImage())}),t.TgZ(16,"mat-icon"),t._uU(17,"refresh"),t.qZA()(),t.TgZ(18,"button",103),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.zoomOut())}),t.TgZ(19,"mat-icon"),t._uU(20,"zoom_out"),t.qZA()(),t.TgZ(21,"button",104),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.zoomIn())}),t.TgZ(22,"mat-icon"),t._uU(23,"zoom_in"),t.qZA()()()}if(2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(3),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(3),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(3),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(3),t.Q6J("ngIf",!e.containWithinAspectRatio),t.xp6(1),t.Q6J("ngIf",e.containWithinAspectRatio),t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(3),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(3),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function jt(o,n){1&o&&(t.TgZ(0,"p"),t._uU(1,"Rotate Image"),t.qZA())}const B=function(){return{standalone:!0}};function $t(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-slider",107),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw(2);return t.KtG(s.rotation=a)})("change",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.updateRotation())}),t._uU(1,"Rotate Image"),t.qZA()}if(2&o){const e=t.oxw(2);t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("thumbLabel",e.thumbL
1abel)("ngModel",e.rotation)("ngModelOptions",t.DdM(5,B))}}function Xt(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p"),t._uU(2,"Preview:"),t.qZA(),t._UZ(3,"img",108),t.qZA()),2&o){const e=t.oxw(2);t.xp6(3),t.Udp("border",e.croppedImage?"1px solid black":"none"),t.Q6J("src",e.croppedImage,t.LSH)}}function te(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1,"Minimum days to persist user activity should be 0."),t.qZA())}function ee(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1,"Maximum days to persist user activity should be 120."),t.qZA())}function oe(o,n){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,te,2,0,"mat-error",10),t.YNc(2,ee,2,0,"mat-error",10),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.fcPropertyForm.controls.userActivityPersistanceDays.errors.min),t.xp6(1),t.Q6J("ngIf",e.fcPropertyForm.controls.userActivityPersistanceDays.errors.max)}}function ie(o,n){1&o&&(t.TgZ(0,"p",109),t._uU(1," NOTE: You will not be able to update user activity persistance duration days, as Admin of this organization has turned off User Activity Recording for all the flowcharts of this organization. "),t.qZA())}function ae(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"p",110)(1,"mat-checkbox",111),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw(2);return t.KtG(s.fcCopiable=a)}),t._uU(2,"Allow other members of your Organization to make a separate "),t.TgZ(3,"strong"),t._uU(4,"copy"),t.qZA(),t._uU(5," of this whole flowchart. If not sure leave unchecked."),t.qZA()()}if(2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngModel",e.fcCopiable)("ngModelOptions",t.DdM(2,B))}}function ne(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"p",110)(1,"mat-checkbox",111),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw(2);return t.KtG(s.fcCopiable=a)}),t._uU(2,"Allow any user registered with DeciZone account to make a separate "),t.TgZ(3,"strong"),t._uU(4,"copy"),t.qZA(),t._uU(5," of this whole flowchart once you have selected master version and made the flowchart PUBLIC. If not sure leave unchecked."),t.qZA()()}if(2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngModel",e.fcCopiable)("ngModelOptions",t.DdM(2,B))}}function re(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"p",110)(1,"mat-checkbox",111),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw(2);return t.KtG(s.fcAppendAsFragment=a)}),t._uU(2,"Allow other members of your Organization to Append(i.e. "),t.TgZ(3,"strong"),t._uU(4,"paste"),t.qZA(),t._uU(5,") this whole flowchart at the end of a branch of some other flowchart inside your Organization. If not sure leave unchecked."),t.qZA()()}if(2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngModel",e.fcAppendAsFragment)("ngModelOptions",t.DdM(2,B))}}function se(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"p",110)(1,"mat-checkbox",111),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw(2);return t.KtG(s.copyAppendClonegroupAllowed=a)}),t._uU(2,"When this flowchart is copied or pasted as described above, add the new flowchart's boxes to any "),t.TgZ(3,"strong"),t._uU(4,"Box-Clone-Groups"),t.qZA(),t._uU(5," present in this original flowchart. If you enable this, any change to the new flowchart's box will modify the respective box in this original flowchart also. If not sure leave unchecked. "),t.qZA()()}if(2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngModel",e.copyAppendClonegroupAllowed)("ngModelOptions",t.DdM(2,B))}}function ce(o,n){1&o&&t._UZ(0,"mat-spinner",113)}function le(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",112),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.deleteFlowchartImage())}),t.YNc(1,ce,1,0,"mat-spinner",39),t._uU(2,"Delete Image "),t.qZA()}if(2&o){const e=t.oxw(2);t.Q6J("disabled",e.delFcImageProcessing),t.xp6(1),t.Q6J("ngIf",e.delFcImageProcessing)}}function de(o,n){1&o&&t._UZ(0,"mat-spinner",113)}function _e(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",114),t._uU(2),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(2),t.Oqu(e.fcMetadataSuccessMsg)}}function ge(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.genericErrMsg," ")}}function me(o,n){if(1&o&&(t.TgZ(0,"div",116),t._uU(1),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.hij(" ",e.publicPrivateToggleMsg," ")}}function pe(o,n){1&o&&(t.TgZ(0,"span",56),t._uU(1,"Currently this flowchart is PUBLIC "),t.TgZ(2,"mat-icon"),t._uU(3,"lock_open"),t.qZA(),t._uU(4,". Current Master version is accessible to anyone with DeciZone account in the Public category tree. Toggle to make it Private."),t.qZA())}function he(o,n){1&o&&(t.TgZ(0,"span",56),t._uU(1," Currently this flowchart is PRIVATE "),t.TgZ(2,"mat-icon"),t._uU(3,"lock"),t.qZA(),t._uU(4,". Current Master version is not accessible in the Public category tree. Toggle to make it Public. "),t.qZA())}function ue(o,n){1&o&&(t.TgZ(0,"span",56),t._uU(1," Currently this flowchart is PRIVATE "),t.TgZ(2,"mat-icon"),t._uU(3,"lock"),t.qZA(),t._uU(4,". This flowchart does not have any master version to make it PUBLIC. You can go to this flowchart and select one of the version to be master in order to make this flowchart PUBLIC. "),t.qZA())}function fe(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-card",7)(1,"mat-card-header")(2,"mat-card-title"),t._uU(3,"Make Your Flowchart Public/Private"),t.qZA()(),t.TgZ(4,"mat-card-content"),t.YNc(5,me,2,1,"div",41),t.TgZ(6,"div",42)(7,"p")(8,"mat-slide-toggle",115),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw(2);return t.KtG(s.isPublic=a)})("change",function(a){t.CHM(e);const s=t.oxw(2);return t.KtG(s.toggleFcPublicFlag(a))}
1),t.qZA(),t.YNc(9,pe,5,0,"span",44),t.YNc(10,he,5,0,"span",44),t.YNc(11,ue,5,0,"span",44),t.qZA()()()()}if(2&o){const e=t.oxw(2);t.xp6(5),t.Q6J("ngIf",e.publicPrivateToggleSuccess),t.xp6(3),t.Q6J("ngModel",e.isPublic)("disabled",!e.hasMaster)("color",e.color),t.xp6(1),t.Q6J("ngIf",e.isPublic),t.xp6(1),t.Q6J("ngIf",!e.isPublic&&e.hasMaster),t.xp6(1),t.Q6J("ngIf",!e.isPublic&&!e.hasMaster)}}function be(o,n){1&o&&(t.TgZ(0,"div",116),t._uU(1," Your request to PUBLISH this flowchart is being processed. If there are any issues, you will be notified by email. "),t.qZA())}function we(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.publishToggleErrMsg," ")}}function Ce(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"span",56),t._uU(1,"This flowchart is PUBLISHed "),t.TgZ(2,"mat-icon"),t._uU(3,"public"),t.qZA(),t._uU(4,". Anyone can access the current Master version as long as they have this unique Published-Flowchart-URL: "),t.TgZ(5,"p",117),t._uU(6),t.qZA(),t.TgZ(7,"button",118),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.copyElementText("published-fc-url"))}),t._uU(8," Copy URL "),t.TgZ(9,"mat-icon"),t._uU(10,"content_copy"),t.qZA()()()}if(2&o){const e=t.oxw(2);t.xp6(6),t.hij(" ",e.publishedUrl," "),t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ye(o,n){1&o&&(t.TgZ(0,"span"),t._uU(1,"A flowchart can only be Published if it has a Master Version identified."),t.qZA())}function Te(o,n){if(1&o&&(t.TgZ(0,"span",56)(1,"span"),t._uU(2,"This flowchart is not PUBLISHed currently."),t.qZA(),t._uU(3,"\xa0\xa0"),t.YNc(4,ye,2,0,"span",10),t._uU(5,"\xa0\xa0"),t.TgZ(6,"span"),t._uU(7,"When you PUBLISH this flowchart, the Master version will be accessible to anyone that has the unique Published URL for this flowchart.\xa0\xa0Toggle to publish it and get the Published URL."),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(4),t.Q6J("ngIf",!e.hasMaster)}}function xe(o,n){1&o&&(t.TgZ(0,"p",119),t._uU(1," You do not have permission to Publish, but you can click here to request EDITOR of this organization to Review and Publish this flowchart. "),t.qZA())}function ve(o,n){1&o&&(t.TgZ(0,"p",119),t._uU(1," This flowchart does not have master version selected. In order to PUBLISH this flowchart, master version must be selected. "),t.qZA())}function Pe(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",120),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw(2);return a.stopPropagation(),t.KtG(s.openRequestForPublishFc())}),t._uU(1," Request Review & Publish "),t.TgZ(2,"mat-icon"),t._uU(3,"open_in_new"),t.qZA()()}if(2&o){const e=t.oxw(2);t.Q6J("disabled",1===e.orgId||!e.hasMaster||e.fcEntityActionForPublish&&"REQUESTED"===e.fcEntityActionForPublish.status||e.isPublished)}}function ke(o,n){1&o&&(t.TgZ(0,"span",121),t._uU(1," \xa0\xa0Request has been sent to Review and Publish this flowchart."),t.qZA())}function Fe(o,n){1&o&&(t.TgZ(0,"span",121),t._UZ(1,"br"),t._uU(2,"\xa0\xa0This Flowchart was reviewed by the Admin/Editor and feedback has been sent to your email and saved in the flowchart Notes. Please make changes requested in the feedback and Request for Publishing again."),t.qZA())}function Se(o,n){1&o&&(t.TgZ(0,"p"),t._uU(1," Anyone that has this Published-URL can access your Published Flowchart. Its ideal to use this Published-URL for a link/button on your website. "),t.qZA())}function Ze(o,n){1&o&&(t.TgZ(0,"p")(1,"strong"),t._uU(2,"Restricted-Published-URLs"),t.qZA(),t._uU(3,": A Restricted-Published-URL is a unique URL for your Published flowcharts, but different from the Published-URL. You can create 'Restricted' Published-URLs for a Published Flowchart with restrictions on how many times that URL can be used as well as an expiry period for the Restricted-Published-URL. "),t._UZ(4,"br"),t._uU(5,"You can create multiple Restricted-Published-URLs (each with different restrictions) for a Published Flowchart, but your Flowchart must have a Master Version selected AND it must remain in the Published state for the Restricted-Published-URL to keep working. Hence the Restricted-Published-URL is NOT ideal for links/buttons on your website but instead it is suitable for giving it out for 'one-time-use' or 'dis
1posable-url' kind of use cases. "),t.qZA())}function Oe(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",122),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.goFcPublishedRestriction())}),t._uU(1," Create Restricted-Published-URLs "),t.TgZ(2,"mat-icon"),t._uU(3,"open_in_new"),t.qZA()()}if(2&o){const e=t.oxw(2);t.Q6J("disabled",1===e.orgId)}}function Ae(o,n){1&o&&t._UZ(0,"mat-spinner",113)}function Ne(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",114),t._uU(2),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(2),t.Oqu(e.publishedFcLayoutSuccessMsg)}}function Ee(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.publishedFcLayoutErrMsg," ")}}function De(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",114),t._uU(2),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(2),t.hij(" ",e.publishFcViewPropertyUpdateSuccess," ")}}function Ie(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.publishFcViewPropertyUpdateErr," ")}}function Ue(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," URL must starts with https:// "),t.qZA())}function Me(o,n){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,Ue,2,0,"mat-error",10),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.publishRedirectForm.controls.redirectUrl.errors.pattern)}}function qe(o,n){1&o&&t._UZ(0,"mat-spinner",113)}function He(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",114),t._uU(2),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(2),t.Oqu(e.publishRedirectUrlSuccessMsg)}}function Le(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.publicPublishErrMsg," ")}}function Re(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.embedToggleErrMsg," ")}}function Je(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"span",56),t._uU(1," This flowchart can be embedded by using below code. "),t.TgZ(2,"div",123),t._uU(3),t._UZ(4,"br"),t.TgZ(5,"button",124),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.copyElementText("embed-fc"))}),t._uU(6," Copy Code "),t.TgZ(7,"mat-icon"),t._uU(8,"content_copy"),t.qZA()()()()}if(2&o){const e=t.oxw(2);t.xp6(3),t.hij(" ",e.iframeCode," "),t.xp6(2),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ye(o,n){1&o&&(t.TgZ(0,"span"),t._uU(1,"Make one of the versions above to be master in order to enable embed feature for this flowchart."),t.qZA())}function Ke(o,n){if(1&o&&(t.TgZ(0,"span",56)(1,"span"),t._uU(2,"This flowchart is not enabled for embedded feature."),t.qZA(),t._uU(3,"\xa0\xa0"),t.YNc(4,Ye,2,0,"span",10),t._uU(5,"\xa0"),t.TgZ(6,"span"),t._uU(7,"When you turn on EMBED this flowchart, the Master version will be accessible by unique Embedded URL for this flowchart.\xa0\xa0Toggle to turn on the feature and get the code to embed the flowchart."),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(4),t.Q6J("ngIf",!e.hasMaster)}}function Qe(o,n){1&o&&t._UZ(0,"mat-spinner",113)}function Be(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",114),t._uU(2),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(2),t.Oqu(e.publishedFcLayoutSuccessMsg)}}function Ge(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.publishedFcLayoutErrMsg," ")}}function Ve(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",114),t._uU(2),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(2),t.hij(" ",e.publishFcViewPropertyUpdateSuccess," ")}}function We(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.publishFcViewPropertyUpdateErr," ")}}function ze(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-radio-group",125),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw(2);return t.KtG(s.fcEndFlow=a)}),t.TgZ(1,"mat-radio-button",126),t._uU(2),t.qZA()()}if(2&o){const e=n.$implicit,i=t.oxw(2);t.Q6J("ngModel",i.fcEndFlow),t.xp6(1),t.Q6J("disabled",1===i.orgId&&"ORGANIZATION HOME PAGE"===e.propertyOption)("value",e.propertyDetailId),t.xp6(1),t.Oqu(e.propertyOption)}}function je(o,n){1&o&&(t.TgZ(0,"p",72),t._uU(1," If your viewer started this flowchart by starting a Transaction from some other Integration APP (i.e. Zendesk) then take the viewer to: "),t.qZA())}function $e(o,n){1&o&&(t.TgZ(0,"mat-radio-group",127)(1,"mat-radio-button",128),t._uU(2,"Go to Organization Homepage"),t.qZA()())}function Xe(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",114),t._uU(2),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(2),t.Oqu(e.fcRedirectSuccessMsg)}}function to(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.fcRedirectErrorMsg," ")}}function eo(o,n){1&o&&t._UZ(0,"mat-spinner",113)}function oo(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div")(1,"mat-checkbox",131),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw(3);return t.KtG(s.txnStatusChecked=a)}),t._uU(2),t.qZA()()}if(2&o){const e=n.$implicit,i=t.oxw(3);t.xp6(1),t.Q6J("ngModel",i.txnStatusChecked)("ngModelOptions",t.DdM(3,B)),t.xp6(1),t.hij(" ",e.propertyOption," ")}}function io(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",114),t._uU(2),t.qZA()()),2&o){const e=t.oxw(3);t.xp6(2),t.Oqu(e.fcTxnStatusSuccessMsg)}}function ao(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.hij(" ",e.fcTxnStatusErrorMsg," ")}}function no(o,n){1&o&&t._UZ(0,"mat-spinner",113)}function ro(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-card",7)(1,"mat-card-header")(2,"mat-card-title"),t._uU(3,"Transaction Status Upd
1ate After Flowchart Completion"),t.qZA()(),t.TgZ(4,"mat-card-content")(5,"div",8)(6,"form",70)(7,"p")(8,"strong"),t._uU(9,"NOTE"),t.qZA(),t._uU(10,": This section only applies WHEN the agent/user started this flowchart as part of a transaction initiated inside/from another Integrated Host app (i.e. Zendesk, Salesforce, etc.). "),t.qZA(),t.TgZ(11,"p")(12,"strong"),t._uU(13,"Ticket/Case Comments updated with Transcript by Default"),t.qZA(),t._uU(14,": When the agent completes their journey through this flowchart, by default, DeciZone will update the comments/notes section for that Ticket/Case (in the integrated host application) with the agent's flowchart activity transcript. If you do not want any comments to be added to the Ticket/Case, please check the box below to override the default behavior going forward. "),t.qZA(),t.YNc(15,oo,3,4,"div",129),t.qZA(),t.TgZ(16,"div",35)(17,"div",36),t.YNc(18,io,3,1,"div",10),t.YNc(19,ao,2,1,"mat-error",10),t._UZ(20,"br"),t.TgZ(21,"button",130),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.addUpdateFlowchartProperties("txnStatus"))}),t.YNc(22,no,1,0,"mat-spinner",39),t._uU(23,"SAVE "),t.qZA()()()()()()}if(2&o){const e=t.oxw(2);t.xp6(15),t.Q6J("ngForOf",e.txnStatusOptions),t.xp6(3),t.Q6J("ngIf",e.fcTxnStatusSuccessMsg),t.xp6(1),t.Q6J("ngIf",e.fcTxnStatusErrorMsg),t.xp6(2),t.Q6J("disabled",e.fctxnpropLoading),t.xp6(1),t.Q6J("ngIf",e.fctxnpropLoading)}}function so(o,n){1&o&&(t.TgZ(0,"p",77),t._uU(1," Your flowchart is currently NOT Published and so it cannot be shared at this time. "),t.qZA())}function co(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"p",79)(1,"span",132),t._uU(2),t.TgZ(3,"button",133),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.copyElementText("share-published-url"))}),t._uU(4," Copy URL "),t.TgZ(5,"mat-icon"),t._uU(6,"content_copy"),t.qZA()()()()}if(2&o){const e=t.oxw(2);t.xp6(2),t.hij(" ",e.publishedUrl," ")}}function lo(o,n){1&o&&(t.TgZ(0,"p",79),t._uU(1," Just click on any of the buttons below to share your flowchart on your favorite social network. "),t.qZA())}function _o(o,n){1&o&&(t.TgZ(0,"p",79),t._uU(1," You have to PUBLISH this flowchart before sharing it on Social networks with the buttons below. Currently, buttons are not clickable as the flowchart is not Published. "),t.qZA())}function go(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div",6)(1,"h3"),t._uU(2,"Configure your flowchart properties below:"),t.qZA(),t.TgZ(3,"mat-card",7)(4,"mat-card-header")(5,"mat-card-title"),t._uU(6,"Flowchart Metadata & Permissions"),t.qZA()(),t.TgZ(7,"mat-card-content")(8,"div")(9,"div",8)(10,"form",9),t.YNc(11,Lt,2,1,"mat-error",10),t.TgZ(12,"mat-form-field",11),t._UZ(13,"input",12),t.qZA(),t.YNc(14,Kt,4,3,"div",10),t.TgZ(15,"p")(16,"mat-form-field",11)(17,"textarea",13),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.flowchartDescription=a)}),t._uU(18,"                  "),t.qZA()()(),t.TgZ(19,"p")(20,"mat-form-field",11)(21,"mat-chip-list",null,14),t.YNc(23,Bt,3,4,"mat-chip",15),t.TgZ(24,"input",16),t.NdJ("matChipInputTokenEnd",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.addKeyword(a))}),t.qZA()()()(),t.TgZ(25,"p")(26,"mat-form-field",11),t._UZ(27,"input",17),t.qZA()(),t.TgZ(28,"p")(29,"mat-form-field",11),t._UZ(30,"input",18),t.qZA()(),t.TgZ(31,"p")(32,"mat-form-field",19)(33,"textarea",20),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.notes=a)}),t._uU(34,"                  "),t.qZA()()(),t.TgZ(35,"div",21)(36,"strong"),t._uU(37,"Upload Image for this Flowchart"),t.qZA(),t.TgZ(38,"p",22),t._uU(39," This image may help your viewers in discovering your flowchart and will always be displayed with the respective flowchart/box. Make sure you have the legal rights to upload this image here. If you upload another image, it will replace the current image with new uploaded image for this flowchart. Select your image file (upto 500 Kb size) and click save in the dialog. "),t.qZA(),t._UZ(40,"br")(41,"br"),t.YNc(42,Gt,3,2,"div",10),t.qZA(),t.TgZ(43,"div",23)(44,"label",24),t._uU(45,"Upload New Image"),t.qZA(),t._UZ(46,"br"),t.TgZ(47,"input",25,26),t.NdJ("change",function(a){t.CHM(e);const s=t.oxw();return s.validateSelectedImage(a),t.KtG(s.fileChangeEvent(a))}),t.qZA(),t.YNc(49,zt,24,16,"div",27),t.YNc(50,jt,2,0,"p",10),t.YNc(51,$t,2,6,"mat-slider",28),t._UZ(52,"br")(53,"br"),t.TgZ(54,"image-cropper",29),t.NdJ("imageCropped",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.imageCropped(a))})("imageLoaded",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.imageLoaded())})("cropperReady",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.cropperReady(a))})("loadImageFailed",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.loadImageFailed())}),t.qZA(),t.YNc(55,Xt,4,3,"div",10),t.qZA(),t._UZ(56,"br"),t.TgZ(57,"h3",30),t._uU(58,"User Activity Persistance Duration"),t.qZA(),t.TgZ(59,"mat-form-field",31),t._UZ(60,"input",32),t.qZA(),t.YNc(61,oe,3,2,"div",10),t._UZ(62,"br"),t.YNc(63,ie,2,0,"p",33),t.TgZ(64,"p"),t._uU(65," This is the number of days that DeciZone will persist the User Activity details. It is applicable only when both these conditions are satisfied: "),t.qZA(),t.TgZ(66,"ol")(67,"li"),t._uU(68," The current transaction started in this flowchart (i.e. the user did not navigate to this flowchart through a Bookmark Link from another flowchart). Any transaction in DeciZone will always satisfy the properties of ONLY the flowchart where it started. "),t.qZA(),t.TgZ(69,"li"),t._uU(70," Your organization Admin has turned ON the 'User Activity Recording' feature for your organization. "),t.qZA()(),t.TgZ(71,"p"),t._uU(72,"PLEASE NOTE:"),t.qZA(),t.TgZ(73,"ul")(74,"li"),t._uU(75," This User Activity Persistance Duration applies ONLY FOR this flowchart (applies equally to all its versions). "),t.qZA(),t.TgZ(76,"li"),t._uU(77," You can customize this value from a minimum of 0 days and upto a maximum of 120 days. This means you can turn OFF the User Activity recording only for this flowchart by setting this value to 0. "),t.qZA(),t.TgZ(78,"li"),t._uU(79," For ALL transactions, the Metadata section (basic analytics/reporting/billing related information, start/stop times, user information, flowchart information, etc.) is ALWAYS recorded even when the User Activity is not being persisted. "),t.qZA(),t.TgZ(80,"li"),t._uU(81," After this duration, the User Activity section of your transactions may be permenantly deleted from your Organization. "),t.qZA()(),t._UZ(82,"br"),t.TgZ(83,"h3"),t._uU(84,"Flowchart Permissions"),t.qZA(),t.YNc(85,ae,6,3,"p",34),t.YNc(86,ne,6,3,"p",34),t.YNc(87,re,6,3,"p",34),t.YNc(88,se,6,3,"p",34),t._UZ(89,"br"),t.qZA(),t.TgZ(90,"div",35)(91,"div",36),t.YNc(92,le,3,2,"button",37),t.TgZ(93,"button",38),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();
1return t.KtG(a.updateFlowchartMetadataDetails())}),t.YNc(94,de,1,0,"mat-spinner",39),t._uU(95,"SAVE "),t.qZA(),t._UZ(96,"br"),t.YNc(97,_e,3,1,"div",10),t.YNc(98,ge,2,1,"mat-error",10),t.qZA()()()()()(),t._UZ(99,"br"),t.YNc(100,fe,12,7,"mat-card",40),t._UZ(101,"br"),t.TgZ(102,"mat-card",7)(103,"mat-card-header")(104,"mat-card-title"),t._uU(105," Publishing Your Flowchart"),t.qZA()(),t.TgZ(106,"mat-card-content"),t.YNc(107,be,2,0,"div",41),t.YNc(108,we,2,1,"mat-error",10),t.TgZ(109,"div",42)(110,"strong"),t._uU(111,"Published Status Toggle & URL"),t.qZA(),t._UZ(112,"br"),t.TgZ(113,"mat-slide-toggle",43),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.isPublished=a)})("change",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.toggleFcPublishedFlag(a))}),t.qZA(),t._uU(114," \xa0 \xa0 "),t.YNc(115,Ce,11,3,"span",44),t.YNc(116,Te,8,1,"span",44),t._UZ(117,"br"),t.YNc(118,xe,2,0,"p",45),t.YNc(119,ve,2,0,"p",45),t.YNc(120,Pe,4,1,"button",46),t.YNc(121,ke,2,0,"span",47),t.YNc(122,Fe,3,0,"span",47),t._UZ(123,"br"),t.YNc(124,Se,2,0,"p",10),t.YNc(125,Ze,6,0,"p",10),t.YNc(126,Oe,4,1,"button",48),t._UZ(127,"br")(128,"br")(129,"mat-divider")(130,"br"),t.TgZ(131,"strong"),t._uU(132,"Allow Visitors To Receive Summary (Transcript) on their Email Address"),t.qZA(),t._UZ(133,"br"),t.TgZ(134,"p")(135,"mat-slide-toggle",49),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.allowPublishedFcViewerReceiveTranscript=a)})("change",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.togglePublishedFcViewerTranscriptFlag(a))}),t.qZA(),t._uU(136,"\xa0 \xa0When a Visitor visits this Published-Flowchart-URL and acknowledges the last box on any branch (by clicking on the response button) in this Flowchart, you can give the viewer an option to receive the 'Summary' (i.e. transcript or activity log) from their flowchart journey. The Visitor will be asked for their email address and once they give consent to receive email from DeciZone, an email with their transcript will be sent to the Visitor along with the author's email address in 'bcc' as well as the 'replyto' address set to author's email address. By default this feature is disabled. You will be able to get a list of all the Visitor email addresses that received their Summary from this flowchart. This feature only works with Published-Flowchart-URL for a Published flowchart. "),t.qZA(),t._UZ(137,"br")(138,"br")(139,"mat-divider")(140,"br"),t.TgZ(141,"strong"),t._uU(142,"Published Flowchart Layout"),t.qZA(),t.TgZ(143,"p"),t._uU(144," When someone accesses this Flowchart using the Published URL, DeciZone will always present your flowchart in the layout you select below: "),t.qZA(),t.TgZ(145,"mat-radio-group",50),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.publishedFcLayout=a)}),t.TgZ(146,"mat-radio-button",51),t._uU(147,"\xa0 "),t._UZ(148,"img",52),t._uU(149," \xa0 \xa0 "),t.TgZ(150,"span",53),t._uU(151,"3-Layer-View"),t.qZA()(),t.TgZ(152,"mat-radio-button",51),t._uU(153," \xa0 "),t._UZ(154,"img",54),t._uU(155," \xa0 \xa0 "),t.TgZ(156,"span",53),t._uU(157,"Card-View"),t.qZA()()(),t.TgZ(158,"div",35)(159,"div",36)(160,"button",55),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.updatePublishedFlowchartLayout())}),t.YNc(161,Ae,1,0,"mat-spinner",39),t._uU(162,"SAVE "),t.qZA()(),t.YNc(163,Ne,3,1,"div",10),t.YNc(164,Ee,2,1,"mat-error",10),t.qZA(),t._UZ(165,"br")(166,"mat-divider")(167,"br"),t.TgZ(168,"strong"),t._uU(169,"Customize Published Flowchart"),t.qZA(),t._UZ(170,"br"),t.TgZ(171,"span",56),t._uU(172,"Your Published Flowchart will display with all the standard components. Below you can pick what you want to hide every time any one accesses your Published flowchart using the Published-Flowchart-URL (note this does not apply in any other view). "),t.TgZ(173,"strong")(174,"a",57),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.openShowHideLayoutElementsModal())}),t._uU(175,"Explain me..."),t.qZA()()(),t._UZ(176,"br")(177,"br"),t.TgZ(178,"checkbox-group",58),t.NdJ("toggle",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.onPublishViewPropertyChange(a))}),t.qZA(),t._UZ(179,"br"),t.TgZ(180,"div",35)(181,"div",36)(182,"button",59),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.savePublishFcViewProperty())}),t._uU(183," SAVE "),t.qZA()(),t.YNc(184,De,3,1,"div",10),t.YNc(185,Ie,2,1,"mat-error",10),t.qZA(),t._UZ(186,"br")(187,"mat-divider")(188,"br"),t.TgZ(189,"strong"),t._uU(190,"Redirect viewer After Published Flowchart"),t.qZA(),t.TgZ(191,"p"),t._uU(192," When a viewer visits your Published flowchart URL, you can use this feature to redirect (bring back) the viewer to your webpage URL after the viewer reaches the end of any branch of this Published flowchart. Enter your Redirect URL here (must begin with 'https://'): "),t.qZA(),t.TgZ(193,"form",9)(194,"mat-form-field",60)(195,"mat-label"),t._uU(196,"Redirect URL"),t.qZA(),t._UZ(197,"input",61),t.TgZ(198,"mat-hint",62)(199,"strong"),t._uU(200,"Enter Destination URL starting with 'https://'"),t.qZA()()(),t.YNc(201,Me,2,1,"div",10),t.qZA(),t._UZ(202,"br"),t.TgZ(203,"p",63),t._uU(204," NOTE: This redirection only applies to Published flowcharts and in case of linked flowcharts, the redirection URL for the first flowchart is applicable. "),t.qZA(),t.TgZ(205,"div",35)(206,"div",36)(207,"button",64),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw();return a.stopPropagation(),t.KtG(s.addUpdateFlowchartProperties("publish"))}),t.YNc(208,qe,1,0,"mat-spinner",39),t._uU(209,"SAVE "),t.qZA()(),t.YNc(210,He,3,1,"div",10),t.YNc(211,Le,2,1,"mat-error",10),t.qZA()()()(),t._UZ(212,"br"),t.TgZ(213,"mat-card",7)(214,"mat-card-header")(215,"mat-card-title"),t._uU(216," Embed Your Flowchart"),t.qZA()(),t.YNc(217,Re,2,1,"mat-error",10),t.TgZ(218,"mat-card-content")(219,"div",42)(220,"strong"),t._uU(221,"Embed Flowchart Toggle & URL"),t.qZA(),t._UZ(222,"br"),t.TgZ(223,"mat-slide-toggle",65),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.canEmbed=a)})("change",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.toggleFcEmbedFlag(a))}),t.qZA(),t._uU(224," \xa0 \xa0 "),t.YNc(225,Je,9,3,"span",44),t.YNc(226,Ke,8,1,"span",44),t._UZ(227,"br")(228,"br")(229,"mat-divider")(230,"br"),t.TgZ(231,"strong"),t._uU(232,"Embedded Flowchart Layout"),t.qZA(),t.TgZ(233,"p"),t._uU(234," When someone accesses this Flowchart using the Embedded URL, DeciZone will always present your flowchart in the layout you select below: "),t.qZA(),t.TgZ(235,"mat-radio-group",66),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.embeddedFcLayout=a)}),t.TgZ(236,"mat-radio-button",51),t._uU(237,"\xa0 "),t._UZ(238,"img",52),t._uU(239," \xa0 \xa0 "),t.TgZ(240,"span",53),t._uU(241,"3-Layer-View"),t.qZA()(),t.TgZ(242,"mat-radio-button",51),t._uU(243," \xa0 "),t._UZ(244,"img",54),t._uU(245," \xa0 \xa0 "),t.TgZ(246,"span",53),t._uU(247,"Card-View"),t.qZA()()(),t.TgZ(248,"div",35)(249,"div",36)(250,"button",67),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.updateEmbeddedFlowchartLayout())}),t.YNc(251,Qe,1,0,"mat-spinner",39),t._uU(252,"SAVE "),t.qZA()(),t.YNc(253,Be,3,1,"div",10),t.YNc(254,Ge,2,1,"mat-error",10),t.qZA(),t.TgZ(255,"strong"),t._uU(256,"Customize Embedded Flowchart"),t.qZA(),t._UZ(257,"br"),t.TgZ(258,"span",56),t._uU(259,"Your Embedded Flowchart will display with all the standard components. Below you can pick what you want to hide every time any one accesses your embedded flowchart using the Embed-Flowchart-URL (note this does not apply in any other view). "),t.TgZ(260,"strong")(261,"a",68),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.openShowHideLayoutElementsModal())}),t._uU(262,"Explain me..."),t.qZA()()(),t._UZ(263,"br")(264,"br"),t.TgZ(265,"checkbox-group",58),t.NdJ("toggle",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.onEmbedViewPropertyChange(a))}),t.qZA(),t._UZ(266,"br"),t.TgZ(267,"div",35)(268,"div",36)(269,"button",69),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.saveEmbedFcViewProperty())}),t._uU(270," SAVE "),t.qZA()(),t.YNc(271,Ve,3,1,"div",10),t.YNc(272,We,2,1,"mat-error",10),t.qZA()()()(),t._UZ(273,"br"),t.TgZ(274,"mat-card",7)(275,"mat-card-header")(276,"mat-card-title"),t._uU(277,"Redirection After Completing Flowchart"),t.qZA()(),t.TgZ(278,"mat-card-content")(279,"div",8)(280,"form",70)(281,"p",71),t._uU(282," When the viewer responds to the last box of your flowchart branch, the viewer will be taken to another webpage that is determined based on how the viewer came to this flowchart in the beginnning. ... "),t.qZA(),t.TgZ(283,"p",72),t._uU(284," If your viewer started this flowchart as a logged-in DeciZone member then take the viewer to: "),t.qZA(),t.YNc(285,ze,3,4,"mat-radio-group",73),t._UZ(286,"br")(287,"br"),t.YNc(288,je,2,0,"p",74),t.YNc(289,$e,3,0,"mat-radio-group",75),t._UZ(290,"br"),t.qZA(),t.TgZ(291,"div",35)(292,"div",36),t.YNc(293,Xe,3,1,"div",10),t.YNc(294,to,2,1,"mat-error",10),t._UZ(295,"br"),t.TgZ(296,"button",76),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.addUpdateFlowchartProperties("endflow"))}),t.YNc(297,eo,1,0,"mat-spinner",39),t._uU(298,"SAVE "),t.qZA()()()()()(),t._UZ(299,"br"),t.YNc(300,ro,24,5,"mat-card",40),t._UZ(301,"br"),t.TgZ(302,"mat-card",7)(303,"mat-card-header")(304,"mat-card-title"),t._uU(305," Sharing Your Flowchart"),t.qZA()(),t.TgZ(306,"mat-card-content")(307,"div",42)(308,"p",77),t._uU(309," Your flowcharts by default are private. Once you Publish your flowcharts you are able to easily share them on your social media networks. For best experience, make sure your flowchart's information (description, keywords, appropriate name for your flowchart, etc.) is provided with enough details and an appropriate image is also uploaded in the 'Flowchart Metadata' section above. "),t.qZA(),t.YNc(310,so,2,0,"p",78),t._UZ(311,"br"),t.TgZ(312,"p",79)(313,"strong"),t._uU(314,"Goal:"),t.qZA(),t._uU(315),t.qZA(),t.TgZ(316,"p",79)(317,"strong"),t._uU(318,"Flowchart Name:"),t.qZA(),t._uU(319),t.qZA(),t.YNc(320,co,7,1,"p",80),t._UZ(321,"br"),t.YNc(322,lo,2,0,"p",80),t.YNc(323,_o,2,0,"p",80),t.TgZ(324,"div",81)(325,"div",82)(326,"a",83),t._UZ(327,"img",84),t.qZA(),t.TgZ(328,"a",85),t._UZ(329,"img",86),t.qZA(),t.TgZ(330,"a",87),t._UZ(331,"img",88),t.qZA(),t.TgZ(332,"a",89),t._UZ(333,"img",90),t.qZA()()(),t._UZ(334,"br"),t.qZA()()(),t._UZ(335,"br"),t.qZA()}if(2&o){const e=t.MAs(22),i=t.oxw();
1t.xp6(10),t.Q6J("formGroup",i.fcPropertyForm),t.xp6(1),t.Q6J("ngIf",i.genericErr),t.xp6(3),t.Q6J("ngIf",i.fcPropertyForm.controls.flowchartName.errors&&(i.fcPropertyForm.controls.flowchartName.dirty||i.fcPropertyForm.controls.flowchartName.touched)),t.xp6(3),t.Q6J("ngModel",i.flowchartDescription)("ngModelOptions",t.DdM(136,B)),t.xp6(6),t.Q6J("ngForOf",i.keywords),t.xp6(1),t.Q6J("matChipInputFor",e)("matChipInputSeparatorKeyCodes",i.separatorKeysCodes)("matChipInputAddOnBlur",i.addOnBlur),t.xp6(9),t.Q6J("ngModel",i.notes)("ngModelOptions",t.DdM(137,B)),t.xp6(9),t.Q6J("ngIf",i.flowchartImageUrl),t.xp6(7),t.Q6J("ngIf",i.showCropper),t.xp6(1),t.Q6J("ngIf",i.showCropper),t.xp6(1),t.Q6J("ngIf",i.showCropper),t.xp6(3),t.Udp("display",i.showCropper?null:"none"),t.Q6J("imageChangedEvent",i.imageChangedEvent)("maintainAspectRatio",!0)("containWithinAspectRatio",i.containWithinAspectRatio)("aspectRatio",1.5)("resizeToWidth",150)("cropperMinWidth",150)("onlyScaleDown",!0)("roundCropper",!1)("canvasRotation",i.canvasRotation)("transform",i.transform)("alignImage","left"),t.xp6(1),t.Q6J("ngIf",i.showCropper),t.xp6(5),t.Q6J("readonly",!i.showUserActivityPersistDays)("value",i.userActivityPersistanceDays),t.xp6(1),t.Q6J("ngIf",i.fcPropertyForm.controls.userActivityPersistanceDays.errors&&(i.fcPropertyForm.controls.userActivityPersistanceDays.dirty||i.fcPropertyForm.controls.userActivityPersistanceDays.touched)),t.xp6(2),t.Q6J("ngIf",!i.showUserActivityPersistDays),t.xp6(22),t.Q6J("ngIf",1!==i.orgId),t.xp6(1),t.Q6J("ngIf",1===i.orgId),t.xp6(1),t.Q6J("ngIf",1!==i.orgId),t.xp6(1),t.Q6J("ngIf",1!==i.orgId),t.xp6(4),t.Q6J("ngIf",i.flowchartImageUrl),t.xp6(1),t.Q6J("disabled",i.fcPropertyForm.controls.flowchartName.errors||i.fcmetadataLoading||i.fcPropertyForm.controls.userActivityPersistanceDays.errors),t.xp6(1),t.Q6J("ngIf",i.fcmetadataLoading),t.xp6(3),t.Q6J("ngIf",i.fcMetadataSuccessMsg),t.xp6(1),t.Q6J("ngIf",i.genericErr),t.xp6(2),t.Q6J("ngIf",1===i.orgId&&!i.isFeatured),t.xp6(7),t.Q6J("ngIf",i.publishedFcSuccess),t.xp6(1),t.Q6J("ngIf",i.publishToggleErr),t.xp6(5),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipDisabled",i.canPublishOwn)("disabled",!i.canPublishOwn)("ngModel",i.isPublished)("checked",i.isPublished)("color",i.color),t.xp6(2),t.Q6J("ngIf",i.isPublished),t.xp6(1),t.Q6J("ngIf",!i.isPublished),t.xp6(2),t.Q6J("ngIf",!i.isPublished&&!i.canPublishOwn&&i.hasMaster),t.xp6(1),t.Q6J("ngIf",!i.isPublished&&!i.canPublishOwn&&!i.hasMaster),t.xp6(1),t.Q6J("ngIf",!i.isPublished&&!i.canPublishOwn),t.xp6(1),t.Q6J("ngIf",!i.canPublishOwn&&i.fcEntityActionForPublish&&"REQUESTED"===i.fcEntityActionForPublish.status),t.xp6(1),t.Q6J("ngIf",!i.canPublishOwn&&i.fcEntityActionForPublish&&"FEEDBACK_GIVEN"===i.fcEntityActionForPublish.status),t.xp6(2),t.Q6J("ngIf",i.isPublished&&i.allowRestrictedPublishFc),t.xp6(1),t.Q6J("ngIf",i.isPublished&&i.allowRestrictedPublishFc),t.xp6(1),t.Q6J("ngIf",i.isPublished&&i.allowRestrictedPublishFc),t.xp6(9),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipDisabled",i.canPublishOwn)("disabled",!i.canPublishOwn)("ngModel",i.allowPublishedFcViewerReceiveTranscript)("checked",i.allowPublishedFcViewerReceiveTranscript)("color",i.color),t.xp6(10),t.Q6J("ngModel",i.publishedFcLayout),t.xp6(1),t.s9C("value",i.threelayerFcPref),t.xp6(6),t.s9C("value",i.cardlayoutPref),t.xp6(8),t.Q6J("disabled",i.loading||!i.canPublishOwn||!i.isPublished||1===i.orgId),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(2),t.Q6J("ngIf",i.publishedFcLayoutSuccess),t.xp6(1),t.Q6J("ngIf",i.publishedFcLayoutErr),t.xp6(14),t.Q6J("options",i.publishFcViewCheckboxItems)("selectedValues",i.existingPublishFcViewProperties),t.xp6(4),t.Q6J("disabled",i.fcViewPropertyUpdateLoading||!i.canPublishOwn||!i.isPublished||1===i.orgId),t.xp6(2),t.Q6J("ngIf",i.publishFcViewPropertyUpdateSuccess),t.xp6(1),t.Q6J("ngIf",i.publishFcViewPropertyUpdateErr),t.xp6(8),t.Q6J("formGroup",i.publishRedirectForm),t.xp6(4),t.Q6J("value",i.redirectUrl),t.xp6(4),t.Q6J("ngIf",i.publishRedirectForm.controls.redirectUrl.errors&&(i.publishRedirectForm.controls.redirectUrl.dirty||i.publishRedirectForm.controls.redirectUrl.touched)),t.xp6(6),t.Q6J("disabled",i.loading||!i.canPublishOwn||!i.isPublished||1===i.orgId),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(2),t.Q6J("ngIf",i.publishRedirectUrlSuccessMsg),t.xp6(1),t.Q6J("ngIf",i.publicPublishErr),t.xp6(6),t.Q6J("ngIf",i.embedToggleErr),t.xp6(6),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("disabled",!i.canPublishOwn)("matTooltipDisabled",i.canPublishOwn)("ngModel",i.canEmbed)("checked",i.canEmbed)("color",i.color),t.xp6(2),t.Q6J("ngIf",i.canEmbed),t.xp6(1),t.Q6J("ngIf",!i.canEmbed),t.xp6(9),t.Q6J("ngModel",i.embeddedFcLayout),t.xp6(1),t.s9C("value",i.threelayerFcPref),t.xp6(6),t.s9C("value",i.cardlayoutPref),t.xp6(8),t.Q6J("disabled",i.loading||!i.canPublishOwn||!i.canEmbed||1===i.orgId),t.xp6(1),t.Q6J("ngIf",i.loading),t.xp6(2),t.Q6J("ngIf",i.publishedFcLayoutSuccess),t.xp6(1),t.Q6J("ngIf",i.publishedFcLayoutErr),t.xp6(11),t.Q6J("options",i.embedFcViewCheckboxItems)("selectedValues",i.existingEmbedFcViewProperties),t.xp6(4),t.Q6J("disabled",i.fcViewPropertyUpdateLoading||!i.canPublishOwn||!i.canEmbed||1===i.orgId),t.xp6(2),t.Q6J("ngIf",i.publishFcViewPropertyUpdateSuccess),t.xp6(1),t.Q6J("ngIf",i.publishFcViewPropertyUpdateErr),t.xp6(13),t.Q6J("ngForOf",i.fcEndFlowOptions),t.xp6(3),t.Q6J("ngIf",1!==i.orgId),t.xp6(1),t.Q6J("ngIf",1!==i.orgId),t.xp6(4),t.Q6J("ngIf",i.fcRedirectSuccessMsg),t.xp6(1),t.Q6J("ngIf",i.fcRedirectErrorMsg),t.xp6(2),t.Q6J("disabled",i.fcredirectLoading),t.xp6(1),t.Q6J("ngIf",i.fcredirectLoading),t.xp6(3),t.Q6J("ngIf",1!==i.orgId),t.xp6(10),t.Q6J("ngIf",!i.isPublished),t.xp6(5),t.hij(" ",i.goalName,""),t.xp6(4),t.hij(" ",i.flowchartName," "),t.xp6(1),t.Q6J("ngIf",i.isPublished),t.xp6(2),t.Q6J("ngIf",i.isPublished),t.xp6(1),t.Q6J("ngIf",!i.isPublished),t.xp6(3),t.MGl("href","https://www.facebook.com/sharer/sharer.php?u=",i.encodedUrl,"",t.LSH),t.Q6J("ngClass",i.disableSocialShareLink()),t.xp6(2),t.MGl("href","https://twitter.com/intent/tweet?text=",i.encodedUrl,"",t.LSH),t.Q6J("ngClass",i.disableSocialShareLink()),t.xp6(2),t.MGl("href","https://www.linkedin.com/shareArticle?mini=true&url=",i.encodedUrl,"",t.LSH),t.Q6J("ngClass",i.disableSocialShareLink()),t.xp6(2),t.XOb("href","mailto:?subject=",i.goalName," - ",i.flowchartName," !&body=Hi%2C%0A%0AI%20think%20you%20should%20take%20a%20look%20at%20this%20DeciZone%20navigable%20flowchart%3A%20%0A%0A",i.goalName,"%20-%20",i.flowchartName,"%0ALink%3A%20(",i.publishedUrl,")%0A%0ADeciZone%20is%20a%20platform%20for%20streamlining%20decision%20making.%20Enable%20Confident%20Decisions%20in%20less%20than%2030%20seconds.%20%20%0A%0AYou%20are%20welcome%21",t.LSH),t.Q6J("ngClass",i.disableSocialShareLink())}}let mo=(()=>{class o{constructor(e,i,a,s,r,c,g,m,w,C,p,f,u,x,h,_,F,Z,v){this.ngZone=e,this.dialogRef=i,this.router=a,this._flowchartService=s,this._flowchartListService=r,this._userMilestoneService=c,this._showHideLayoutElementsDialogService=g,this._paidCustomerDialogService=m,this._fcEmbedToggleConfirmDialogService=w,this._fcPublishToggleConfirmDialogService=C,this._fcPublicPrivateToggleConfirmDialogService=p,this._fcPublishViewerTranscriptToggleConfirmDialogService=f,this._requestReviewPublishFcDialogService=u,this._utilService=x,this._homeService=h,this.dialog=_,this._snackBar=F,this.data=v,this.genericErrMsg="",this.genericErr=!1,this.loading=!1,this.fcMetadataSuccessMsg="",this.publishRedirectUrlSuccessMsg="",this.publicPrivateToggleSuccess=!1,this.publicPrivateToggleMsg="",this.publishedFcSuccess=!1,this.publicPublishErr=!1,this.publicPublishErrMsg="",this.publishToggleErr=!1,this.publishToggleErrMsg="",this.embedToggleErr=!1,this.embedToggleErrMsg="",this.publicOnlyUser=!1,this.fcRedirectSuccessMsg="",this.fcRedirectErrorMsg="",this.fcTxnStatusSuccessMsg="",this.fcTxnStatusErrorMsg="",this.fcmetadataLoading=!1,this.fcredirectLoading=!1,this.fctxnpropLoading=!1,this.delFcImageProcessing=!1,this.selectedFlowchart={},this.goalName="",this.keywords=[],this.fcCopiable=!1,this.fcAppendAsFragment=!1,this.copyAppendClonegroupAllowed=!1,this.flowchartCustomKeyName="",this.flowchartCustomKeyValue="",this.canPublishOwn=!1,this.allowRestrictedPublishFc=!1,this.iframeC
1ode="",this.fcEndFlowOptions=[],this.txnStatusChecked=!1,this.txnStatusOptions=[],this.txnstatus=new l.p4,this.existingRedirectUrl="",this.redirectUrl="",this.visible=!0,this.selectable=!0,this.removable=!0,this.addOnBlur=!0,this.separatorKeysCodes=[rt.K5,rt.OC],this.publishedFcLayoutSuccess=!1,this.publishedFcLayoutSuccessMsg="",this.publishedFcLayoutErr=!1,this.publishedFcLayoutErrMsg="",this.allowPublishedFcViewerReceiveTranscript=!1,this.onelayerFcPref="ONE_LAYER_LAYOUT",this.threelayerFcPref="FLOWCHART_LAYOUT",this.cardlayoutPref="CARD_LAYOUT",this.color="accent",this.publishFcViewOptions=[],this.publishFcViewCheckboxItems=new Array,this.fcViewPropertyUpdateLoading=!1,this.publishFcViewPropertyUpdateSuccess="",this.publishFcViewPropertyUpdateErr="",this.embedFcViewOptions=[],this.embedFcViewCheckboxItems=new Array,this.dataAvailable=!1,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.showUserActivityPersistDays=!1,this.sessionStorage=Z,this.selectedFlowchart=v.selectedFlowchart,this.showUserActivityPersistDays=v.showUserActivityPersistDays,this.goalName=v.selectedFlowchart.goalName,this.flowchartName=v.selectedFlowchart.flowchartName,this.flowchartDescription=v.selectedFlowchart.flowchartDescription,this.keywords=d.split(v.selectedFlowchart.keywords,","),this.notes=v.selectedFlowchart.notes,this.flowchartImageUrl=v.selectedFlowchart.flowchartImageUrl,this.isPublic="Y"===v.selectedFlowchart.isPublic,this.isPublished="Y"===v.selectedFlowchart.isPublished,this.isFeatured=v.selectedFlowchart.isFeatured,this.publishedUrl=v.selectedFlowchart.publishedUrl,this.allowPublishedFcViewerReceiveTranscript=v.selectedFlowchart.allowPublishedFcViewerReceiveTranscript,this.canEmbed="Y"===v.selectedFlowchart.canEmbed,this.embedUrl=v.selectedFlowchart.embedUrl,this.encodedUrl=encodeURIComponent(this.publishedUrl),this.hasMaster="Y"===v.selectedFlowchart.hasMaster,this.orgId=v.selectedFlowchart.orgId,this.publishedFcLayout=v.selectedFlowchart.publishedFcLayout,this.embeddedFcLayout=v.selectedFlowchart.embedFcLayout,this.canPublishOwn=v.selectedFlowchart.canPublishOwn,this.allowRestrictedPublishFc=v.selectedFlowchart.allowRestrictedPublishFc,this.fcCopiable="Y"===v.selectedFlowchart.fcCopiable,this.fcAppendAsFragment="Y"===v.selectedFlowchart.fcAppendAsFragment,this.copyAppendClonegroupAllowed="Y"===v.selectedFlowchart.copyAppendClonegroupAllowed,this.flowchartCustomKeyName=v.selectedFlowchart.flowchartCustomKeyName,this.flowchartCustomKeyValue=v.selectedFlowchart.flowchartCustomKeyValue,this.userActivityPersistanceDays=v.selectedFlowchart.userActivityPersistanceDays,console.log("flowchart level useractivity persistance days ",this.userActivityPersistanceDays),this.publishedFcLayout||(this.publishedFcLayout="FLOWCHART_LAYOUT"),this.embeddedFcLayout||(this.embeddedFcLayout="FLOWCHART_LAYOUT"),this.canEmbed&&this.getEmbedFlowchartCode(),this._utilService.firstFcPublicMilestoneAchieved.subscribe(U=>{U&&this._snackBar.open(O.Ss6,"Dismiss",{duration:2500})}),this._utilService.firstFcPublishedMilestoneAchieved.subscribe(U=>{U&&this._snackBar.open(O.rq3,"Dismiss",{duration:2500})})}ngOnInit(){if(this.dataAvailable=!1,this.buildForm(),this.fcProperties=this._flowchartService.getFlowchartExistingProperties(this.selectedFlowchart.flowchartId),this.propertyDetail=this.sessionStorage.getObject("property"),console.log(this.propertyDetail),this.fcEndFlowOptions=this.propertyDetail.FLOWCHART_END_FLOW,console.log(this.fcEndFlowOptions),1!==this.orgId&&(this.txnStatusOptions=this.propertyDetail.UPDATE_TXN_TICKET_STATUS),this.publishFcViewOptions=this.propertyDetail.PUBLISH_FLOWCHART_VIEW,this.publishFcViewCheckboxItems=this.publishFcViewOptions.map(i=>new I.o(i,i.propertyOption)),console.log("publish view option mapped",this.publishFcViewCheckboxItems),this.publishFcViewCheckboxItems=d.clone(this.publishFcViewCheckboxItems),this.embedFcViewOptions=this.propertyDetail.EMBED_FLOWCHART_VIEW,this.embedFcViewCheckboxItems=this.embedFcViewOptions.map(i=>new I.o(i,i.propertyOption)),this.embedFcViewCheckboxItems=d.clone(this.embedFcViewCheckboxItems),this.getFcEndFlowSelectedOption(),!this.fcEndFlow){var e=d.findIndex(this.fcEndFlowOptions,function(i){return"ORGANIZATION HOME PAGE"==i.propertyOption});this.fcEndFlow=this.fcEndFlowOptions[e].propertyDetailId,this.fcEndFlowDefaultOption=this.fcEndFlow}if(this.fcPropertyForm.controls.flowchartName.setValue(this.flowchartName),this.fcPropertyForm.controls.userActivityPersistanceDays.setValue(this.userActivityPersistanceDays),this.fcPropertyForm.controls.flowchartCustomKeyName.setValue(this.flowchartCustomKeyName),this.fcPropertyForm.controls.flowchartCustomKeyValue.setValue(this.flowchartCustomKeyValue),this.canPublishEmbedFlowchart(),this.getTxnStatusSelectedOption(),this.canPublishOwn)this.dataAvailable=!0;else{let i;this._flowchartService.getFlowchartEntityActions(this.selectedFlowchart.flowchartId).subscribe(a=>{i=a.responseBody,this.fcEntityActionForPublish=d.find(i,function(s){return"PUBLISH"===s.action}),this.dataAvailable=!0},a=>null)}}goFcPublishedRestriction(){this._flowchartService.setPublishedFcIdForRestriction(this.selectedFlowchart.flowchartId),this._flowchartService.setPublishedFcNameForRestriction(this.flowchartName),this._flowchartService.setPublishedFcLayout(this.publishedFcLayout),this._flowchartService.setPublishedFcUserAccess(this.selectedFlowchart.userAccess),this._flowchartService.setPublishedFcOrgName(this.selectedFlowchart.orgName),this.router.navigateByUrl("/flowchart-published-restriction"),this.dialogRef.close(!0)}canPublishEmbedFlowchart(){this.publishedFcLayoutSuccess=!1,this.publishedFcLayoutErr=!1,this.publishFcViewPropertyUpdateSuccess="",this.publishFcViewPropertyUpdateErr="";let e=this.selectedFlowchart.orgName,i={};i=this.sessionStorage.getObject("userProfile");let s=d.filter(i.userOrg,function(r){return r.orgName===e&&"PUBLIC"!==r.orgName&&"ACTIVE"===r.userOrgStatus});s&&s.length>=1?(this.getPublishedRedirectUrl(),this.publicOnlyUser=!1):(this.isPublished=!1,this.canEmbed=!1,this.publicOnlyUser=!0),this.getPublishFcViewProperties(),this.getEmbedFcViewProperties()}disableSocialShareLink(){let e="";return this.isPublished||(e="social-share-diabled"),e}addKeyword(e){const i=e.input,a=e.value;(a||"").trim()&&this.keywords.push(a.trim()),i&&(i.value="")}removeKeyword(e){const i=this.keywords.indexOf(e);i>=0&&this.keywords.splice(i,1)}buildForm(){this.fcPropertyForm=new l.nJ({flowchartName:new l.p4("",[l.kI.required,l.kI.maxLength(50),l.kI.pattern("^[a-zA-Z0-9-]{1,50}$")]),userActivityPersistanceDays:new l.p4("",[L.dN.max(120),L.dN.min(0)]),flowchartCustomKeyName:new l.p4("",[l.kI.maxLength(30)]),flowchartCustomKeyValue:new l.p4("",[l.kI.maxLength(50)])}),this.publishRedirectForm=new l.nJ({redirectUrl:new l.p4("",[l.kI.pattern("https://.*")])})}copyElementText(e){window.getSelection().selectAllChildren(document.getElementById(e)),document.execCommand("Copy")}toggleFcPublicFlag(e){this.publicPublishErr=!1;var i="This action will make your flowchart PUBLIC and it will be accessible by all DeciZone users in the Public Category tree. Are you sure you want to make it Public?",a="Please confirm that you want to make this flowchart PUBLIC";this.selectedFlowchart.isPublic&&(i="This action will change this flowchart status from PUBLIC to PRIVATE.  Private flowcharts are accessible only by users with edit previleges to the flowchart.",a="Please confirm that you want to make this flowchart PRIVATE"),this._fcPublicPrivateToggleConfirmDialogService.open({title:a,message:i,answer:"yes"}),this._fcPublicPrivateToggleConfirmDialogService.confirmed().subscribe(c=>{"yes"===c?this._flowchartService.updateFlowchartPublicStatus({flowchartId:this.selectedFlowchart.flowchartId,goalId:this.selectedFlowchart.goalId,publicFlag:e.checked?"Y":"N"}).subscribe(m=>{if(this.isPublic=e.checked,this.selectedFlowchart.isPublic=e.checked?"Y":"N","Y"===this.selectedFlowchart.isPublic){let C=this.sessionStorage.getObject("userMilestones");-1===d.findIndex(C,{milestoneName:"FIRST_FLOWCHART_PUBLIC",isCompleted:!0})&&this._utilService.setFirstFlowchartPublicMilestoneAchieved(),this._userMilestoneService.saveOrUpdateUserMilestone("FIRST_FLOWCHART_PUBLIC",null)}var w;w=this.sessionStorage.getObject("flowchart"),d.isEqual(w.flowchartId,this.selectedFlowchart.flowchartId)&&(w.isPublic=e.checked,this.sessionStorage.setObject("flowchart",w)),1===this.selectedFlowchart.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.selectedFlowchart.goalId,this.selectedFlowchart.goalUrl):this._homeService.updateCategoryTree(this.selectedFlowchart.orgName),this.publicPrivateToggleSuccess=!0,this.publicPrivateToggleMsg="Your request to make this flowchart PUBLIC is being processed. If there are any issues, you will be notified by email."},m=>{this.publicPublishErr=!0,this.publicPublishErrMsg=m&&m.error?m.error.statusMessage:"",this.isPublic=!e.checked}):this.isPublic=!this.isPublic})}
1getEmbedFlowchartCode(){this.iframeCode='<iframe  width="600px" height="800px" src="'+this.embedUrl+'"><p>Your browser does not support all embedded objects. Please try opening this page in a browser like Chrome.</p></iframe>'}togglePublishedFcViewerTranscriptFlag(e){var i="Enabling this feature will allow the Visitors of this Published flowchart to receive the transcript by providing their email address.",a="Please confirm you want to allow Visitors to receive the flowchart activity log or transcript in a Summary email.";this.selectedFlowchart.allowPublishedFcViewerReceiveTranscript&&(i="If you disabled this feature, the Visitors to this PUBLISHED-Flowchart-URL will not see an option to receive flowchart Summary transcript via email.",a="Please confirm you want to turn off this feature."),this._fcPublishViewerTranscriptToggleConfirmDialogService.open({title:a,message:i,answer:"yes"}),this._fcPublishViewerTranscriptToggleConfirmDialogService.confirmed().subscribe(c=>{if("yes"===c){let g={flowchartId:this.selectedFlowchart.flowchartId,orgId:this.orgId,userAccess:this.selectedFlowchart.userAccess,userSessionId:this._utilService.getCookie("userSessionId"),allowPublishedFcViewerReceiveTranscript:e.checked};e.checked?this._flowchartService.publishFlowchartViewerActivityEmail(g).subscribe(m=>{this.allowPublishedFcViewerReceiveTranscript=e.checked,this.selectedFlowchart.allowPublishedFcViewerReceiveTranscript=e.checked;let w={event:"toggle_visitortranscript","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.selectedFlowchart.orgId,"dlv-cat_id":this.selectedFlowchart.categoryId,"dlv-subcat_id":this.selectedFlowchart.subcategoryId,"dlv-goal_id":this.selectedFlowchart.goalId,"dlv-fc_id":this.selectedFlowchart.flowchartId};var C;window.dataLayer.push(w),C=this.sessionStorage.getObject("flowchart"),d.isEqual(C.flowchartId,this.selectedFlowchart.flowchartId)&&(C.allowPublishedFcViewerReceiveTranscript=e.checked,this.sessionStorage.setObject("flowchart",C)),1!==this.selectedFlowchart.orgId&&this._homeService.updateCategoryTree(this.selectedFlowchart.orgName)},m=>{this.genericErr=!0,this.genericErrMsg=m&&m.error?m.error.statusMessage:"",this.allowPublishedFcViewerReceiveTranscript=!e.checked}):this._flowchartService.publishFlowchartViewerActivityEmail(g).subscribe(m=>{this.allowPublishedFcViewerReceiveTranscript=e.checked,this.selectedFlowchart.allowPublishedFcViewerReceiveTranscript=e.checked;let w={event:"toggle_visitortranscript","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.selectedFlowchart.orgId,"dlv-cat_id":this.selectedFlowchart.categoryId,"dlv-subcat_id":this.selectedFlowchart.subCategoryId,"dlv-goal_id":this.selectedFlowchart.goalId,"dlv-fc_id":this.selectedFlowchart.flowchartId};var C;window.dataLayer.push(w),C=this.sessionStorage.getObject("flowchart"),d.isEqual(C.flowchartId,this.selectedFlowchart.flowchartId)&&(C.allowPublishedFcViewerReceiveTranscript=e.checked,this.sessionStorage.setObject("flowchart",C)),1!==this.selectedFlowchart.orgId&&this._homeService.updateCategoryTree(this.selectedFlowchart.orgName)},m=>{this.genericErr=!0,this.genericErrMsg=m&&m.error?m.error.statusMessage:"",this.allowPublishedFcViewerReceiveTranscript=!e.checked})}else this.allowPublishedFcViewerReceiveTranscript=!this.allowPublishedFcViewerReceiveTranscript})}toggleFcPublishedFlag(e){if(this.publishedFcSuccess=!1,this.publicPublishErr=!1,this.publishToggleErr=!1,this.publicOnlyUser||1===this.selectedFlowchart.orgId){this.isPublished=!e.checked,e.checked=!e.checked;let r="",c="";1===this.orgId&&!this.publicOnlyUser&&(r="Only Flowcharts belonging to Private Organization can be Published. Your flowchart is created in the Public Organization.  Please send a message to DeciZone Support team if you would like to permanently move this flowchart to your Private Organization.  After you move it, you will be able to Publish it right away.  Please note, that this move cannot be reversed and the flowchart will then be owned by the Organization. ",c="Move Flowchart?"),1===this.orgId&&this.publicOnlyUser&&(r="Only flowcharts belonging to a Private Organization can be Published.  You can upgrade your Free account to a Private Organization paid account and we can help you move this flowchart to your Private Organization. After that this flowchart can be Published right away.  Please confirm if you would like to upgrade your account now.",c="Your Account Type"),this._paidCustomerDialogService.open({title:c,message:r,answer:"yes",publicOnlyUser:this.publicOnlyUser}),this._paidCustomerDialogService.confirmed().subscribe(m=>{"yes"===m?(this.router.navigate(["/subscription"]),this.dialogRef.close(!0)):e.source._checked=!1}
1)}else{var i="This action will Publish the flowchart and give you the Published URL which can be shared.  Anyone with this shared Published URL will be able access the flowchart even without a DeciZone account.",a="Please confirm you want to go ahead and Publish this flowchart.";"Y"===this.selectedFlowchart.isPublished&&(i="If you UN-Publish this flowchart now, anyone with the shared  Published URL will not be able to access this flowchart until it is Published again. Are you sure you want to UN-Publish this flowchart?",a="Please confirm you want to Un-Publish this flowchart."),this._fcPublishToggleConfirmDialogService.open({title:a,message:i,answer:"yes"}),this._fcPublishToggleConfirmDialogService.confirmed().subscribe(c=>{if("yes"===c){let g={flowchartId:this.selectedFlowchart.flowchartId,flowchartCreator:this.selectedFlowchart.creator,orgId:this.selectedFlowchart.orgId,userAccess:this.selectedFlowchart.userAccess,userSessionId:this._utilService.getCookie("userSessionId")};e.checked?this._flowchartService.publishFlowchart(g).subscribe(m=>{this.isPublished=e.checked,this.selectedFlowchart.isPublished=e.checked?"Y":"N",this.selectedFlowchart.publishedUrl=m.responseBody,this.publishedUrl=m.responseBody;let w=this.sessionStorage.getObject("userMilestones");var p;-1===d.findIndex(w,{milestoneName:"FIRST_FLOWCHART_PUBLISHED",isCompleted:!0})&&this._utilService.setFirstFlowchartPublishedMilestoneAchieved(),this._userMilestoneService.saveOrUpdateUserMilestone("FIRST_FLOWCHART_PUBLISHED",null),p=this.sessionStorage.getObject("flowchart"),d.isEqual(p.flowchartId,this.selectedFlowchart.flowchartId)&&(p.isPublished=e.checked,p.publishedUrl=m.responseBody,this.sessionStorage.setObject("flowchart",p)),1===this.selectedFlowchart.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.selectedFlowchart.goalId,this.selectedFlowchart.goalUrl):this._homeService.updateCategoryTree(this.selectedFlowchart.orgName),this.publishedFcSuccess=!0;let f={event:"toggle_publishfc","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.selectedFlowchart.orgId,"dlv-cat_id":this.selectedFlowchart.categoryId,"dlv-subcat_id":this.selectedFlowchart.subCategoryId,"dlv-goal_id":this.selectedFlowchart.goalId,"dlv-fc_id":this.selectedFlowchart.flowchartId};window.dataLayer.push(f)},m=>{this.publishToggleErr=!0,this.publishToggleErrMsg=m&&m.error?m.error.statusMessage:"",this.isPublished=!e.checked}):this._flowchartService.unpublishFlowchart(g).subscribe(m=>{this.isPublished=e.checked,this.selectedFlowchart.isPublished=e.checked?"Y":"N";let w={event:"toggle_publishfc","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.selectedFlowchart.orgId,"dlv-cat_id":this.selectedFlowchart.categoryId,"dlv-subcat_id":this.selectedFlowchart.subCategoryId,"dlv-goal_id":this.selectedFlowchart.goalId,"dlv-fc_id":this.selectedFlowchart.flowchartId};var C;window.dataLayer.push(w),(C=this.sessionStorage.getObject("flowchart"))&&d.isEqual(C.flowchartId,this.selectedFlowchart.flowchartId)&&(C.isPublished=e.checked,this.sessionStorage.setObject("flowchart",C)),1===this.selectedFlowchart.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.selectedFlowchart.goalId,this.selectedFlowchart.goalUrl):this._homeService.updateCategoryTree(this.selectedFlowchart.orgName)},m=>{this.publicPublishErr=!0,this.publicPublishErrMsg=m&&m.error?m.error.statusMessage:"",this.isPublished=!e.checked})}else this.isPublished=!this.isPublished})}}toggleFcEmbedFlag(e){if(this.publicOnlyUser||1===this.orgId){this.canEmbed=!e.checked,e.checked=!e.checked;let r="",c="";1===this.orgId&&!this.publicOnlyUser&&(r="Only Flowcharts belonging to Private Organization can be Embedded. Your flowchart is created in the Public Organization.  Please send a message to DeciZone Support team if you would like to permanently move this flowchart to your Private Organization.  After you move it, you will be able to Embed it right away.  Please note, that this move cannot be reversed and the flowchart will then be owned by the Organization. ",c="Move Flowchart?"),1===this.orgId&&this.publicOnlyUser&&(r="Only flowcharts belonging to a Private Organization can be Embedded. You can upgrade your Free account to a Private Organization paid account and we can help you move this flowchart to your Private Organization. After that this flowchart can be Embedded right away.  Please confirm if you would like to upgrade your account now.",c="Your Account Type"),this._paidCustomerDialogService.open({title:c,message:r,answer:"yes",publicOnlyUser:this.publicOnlyUser}),this._paidCustomerDialogService.confirmed().subscribe(m=>{"yes"===m?(this.router.navigate(["/subscription"]),this.dialogRef.close(!0)):e.source._checked=!1}
1)}else{this.genericErr=!1;var i="This feature will enable your flowchart to be embedded in a iframe on a host webpage.  Any visitor to that host webpage will be able to benefit from your flowchart without having to log into their DeciZone account.",a="Please confirm you want to ENABLE the embed feature for this flowchart.";"Y"===this.selectedFlowchart.canEmbed&&(i="You are about to disable the embedded access for this flowchart and visitors to the host website will not be able to access your flowchart.  Are you sure you want to remove embed feature for this flowchart?",a="Please confirm you want to DISABLE the embed feature for this flowchart."),this._fcEmbedToggleConfirmDialogService.open({title:a,message:i,answer:"yes"}),this._fcEmbedToggleConfirmDialogService.confirmed().subscribe(c=>{if("yes"===c){let g={flowchartId:this.selectedFlowchart.flowchartId,flowchartCreator:this.selectedFlowchart.creator,orgId:this.selectedFlowchart.orgId,userAccess:this.selectedFlowchart.userAccess,userSessionId:this._utilService.getCookie("userSessionId")};e.checked?this._flowchartService.embedFlowchart(g).subscribe(m=>{this.canEmbed=e.checked,this.selectedFlowchart.canEmbed=e.checked,this.selectedFlowchart.embedUrl=m.responseBody,this.embedUrl=m.responseBody;let w={event:"toggle_embedfc","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.selectedFlowchart.orgId,"dlv-cat_id":this.selectedFlowchart.categoryId,"dlv-subcat_id":this.selectedFlowchart.subCategoryId,"dlv-goal_id":this.selectedFlowchart.goalId,"dlv-fc_id":this.selectedFlowchart.flowchartId};var C;window.dataLayer.push(w),C=this.sessionStorage.getObject("flowchart"),d.isEqual(C.flowchartId,this.selectedFlowchart.flowchartId)&&(C.canEmbed=e.checked,C.embedUrl=m.responseBody,this.sessionStorage.setObject("flowchart",C)),1===this.selectedFlowchart.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.selectedFlowchart.goalId,this.selectedFlowchart.goalUrl):this._homeService.updateCategoryTree(this.selectedFlowchart.orgName),this.getEmbedFlowchartCode()},m=>{this.embedToggleErr=!0,this.embedToggleErrMsg=m&&m.error?m.error.statusMessage:"",this.canEmbed=!e.checked}):this._flowchartService.deactivateEmbedFlowchart(g).subscribe(m=>{this.canEmbed=e.checked,this.selectedFlowchart.canEmbed=e.checked;let w={event:"toggle_embedfc","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.selectedFlowchart.orgId,"dlv-cat_id":this.selectedFlowchart.categoryId,"dlv-subcat_id":this.selectedFlowchart.subCategoryId,"dlv-goal_id":this.selectedFlowchart.goalId,"dlv-fc_id":this.selectedFlowchart.flowchartId};var C;window.dataLayer.push(w),C=this.sessionStorage.getObject("flowchart"),d.isEqual(C.flowchartId,this.selectedFlowchart.flowchartId)&&(C.canEmbed=e.checked,this.sessionStorage.setObject("flowchart",C)),1===this.selectedFlowchart.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.selectedFlowchart.goalId,this.selectedFlowchart.goalUrl):this._homeService.updateCategoryTree(this.selectedFlowchart.orgName)},m=>{this.genericErr=!0,this.genericErrMsg=m&&m.error?m.error.statusMessage:"",this.canEmbed=!e.checked})}else this.canEmbed=!this.canEmbed})}}validateSelectedImage(e){if(e.target.files&&e.target.files.length>0){if(!d.includes(["image/png","image/gif","image/jpeg","image/pjpeg","image/jpg"],e.target.files[0].type))return this.genericErrMsg="Not valid image type.  Only png/jpeg/gif files are allowed.",void(this.genericErr=!0)}else this.genericErr=!0,this.genericErrMsg="You haven't selected any file."}fileChangeEvent(e){this.imageChangedEvent=e}imageCropped(e){this.croppedImage=e.base64,console.log(e,(0,Q.Ll)(e.base64))}imageLoaded(){this.showCropper=!0,console.log("Image loaded")}cropperReady(e){console.log("Cropper ready",e)}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}}dataURItoBlob(e){const i=atob(e.split(",")[1]),a=[];for(let s=0;s<i.length;s++)a.push(i.charCodeAt(s));return new Blob([new Uint8Array(a)],{type:"image/png"})}
1updateFlowchartMetadataDetails(){var e=this;return(0,nt.Z)(function*(){e.fcmetadataLoading=!0,e.fcMetadataSuccessMsg="";let i=e.fileInput.nativeElement;e.flowchartName=e.fcPropertyForm.get("flowchartName").value,d.isEqual(e.flowchartName.toLowerCase(),e.selectedFlowchart.flowchartName.toLowerCase())||e._flowchartService.validateUniqueFlowchartName(e.flowchartName).subscribe(r=>{},r=>{e.genericErr=!0,e.genericErrMsg="FlowchartName has been taken.  Please select other name.",e.fcmetadataLoading=!1});let s={flowchartId:e.selectedFlowchart.flowchartId,orgId:e.selectedFlowchart.orgId,userAccess:e.selectedFlowchart.userAccess,userSessionId:e._utilService.getCookie("userSessionId"),flowchartCreator:e.selectedFlowchart.creator,flowchartName:e.flowchartName,flowchartDescription:e.flowchartDescription,keywords:e.keywords.toString(),notes:e.notes,flowchartCopiable:e.fcCopiable?"Y":"N",flowchartAppendAsFragment:e.fcAppendAsFragment?"Y":"N",flowchartCopyAppendClonegroupAllowed:e.copyAppendClonegroupAllowed?"Y":"N",flowchartImageName:"",flowchartImageData:"",flowchartUserActivityPersistanceDays:e.fcPropertyForm.get("userActivityPersistanceDays").value,flowchartCustomKeyName:e.fcPropertyForm.get("flowchartCustomKeyName").value,flowchartCustomKeyValue:e.fcPropertyForm.get("flowchartCustomKeyValue").value};if(e.croppedImage){let r=i.files.item(0).name.replace(/\s/g,"");r=r.replace(/[\])}[{(]/g,"");let c=r.substring(0,r.indexOf("."))+".png";console.log("png file name",c);const g=e.dataURItoBlob(e.croppedImage);let m=new File([g],c,{type:"image/png"});const w={maxSizeMB:.5,useWebWorker:!1};let C=m;try{const u=yield(0,N.Z)(m,w);console.log("compressedFile instanceof Blob",u instanceof Blob),console.log(`compressedFile size ${u.size/1024/1024} MB`),C=u}catch(u){console.log(u)}let p="",f=new FileReader;f.readAsDataURL(C),f.onload=()=>{p=f.result.split(",")[1],s.flowchartImageData=p,s.flowchartImageName=c,e._flowchartService.updateFlowchartMetadata(s).subscribe(u=>{if(e.selectedFlowchart&&e.selectedFlowchart.fcCopiable&&("Y"===e.selectedFlowchart.fcCopiable&&!1===e.fcCopiable||"N"===e.selectedFlowchart.fcCopiable&&!0===e.fcCopiable)){let _={event:"click_settings_copyfc","dlv-user_state_id":"loggedin","dlv-user_id":e._utilService.getLoggedInUserId(),"dlv-org_member":e._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":e._utilService.getLoggedInUserRole(),"dlv-org_id":e.selectedFlowchart.orgId,"dlv-fc_id":e.selectedFlowchart.flowchartId};window.dataLayer.push(_)}d.isEqual(e.flowchartName.toLowerCase(),e.selectedFlowchart.flowchartName.toLowerCase())||e._homeService.updateUserFavoriteFlowchartsInSession(),1===e.selectedFlowchart.orgId?e._flowchartListService.updateFcListForGoalAfterFcCreate(e.selectedFlowchart.goalId,e.selectedFlowchart.goalUrl):e._homeService.updateCategoryTree(e.selectedFlowchart.orgName),e.selectedFlowchart.flowchartName=u.responseBody.flowchartName,e.selectedFlowchart.flowchartDescription=u.responseBody.flowchartDescription,e.selectedFlowchart.notes=u.responseBody.notes,e.selectedFlowchart.keywords=u.responseBody.keywords,e.selectedFlowchart.flowchartImageName=u.responseBody.flowchartImageName,e.selectedFlowchart.flowchartImageUrl=u.responseBody.flowchartImageUrl,e.selectedFlowchart.updatedStartBoxId=u.responseBody.updatedStartBoxId,e.selectedFlowchart.updatedStartBoxCaption=u.responseBody.updatedStartBoxCaption,e.selectedFlowchart.fcCopiable=u.responseBody.flowchartCopiable,e.selectedFlowchart.fcAppendAsFragment=u.responseBody.flowchartAppendAsFragment,e.selectedFlowchart.copyAppendClonegroupAllowed=u.responseBody.flowchartCopyAppendClonegroupAllowed,e.selectedFlowchart.userActivityPersistanceDays=u.responseBody.flowchartUserActivityPersistanceDays,e.selectedFlowchart.flowchartCustomKeyName=u.responseBody.flowchartCustomKeyName,e.selectedFlowchart.flowchartCustomKeyValue=u.responseBody.flowchartCustomKeyValue,e.flowchartImageUrl=e.selectedFlowchart.flowchartImageUrl,e.fcmetadataLoading=!1,e.fcMetadataSuccessMsg="Successfully updated Flowchart's Metadata.",e.data.selectedFlowchart=e.selectedFlowchart;let x={event:"edit_fc_metadata","dlv-user_state_id":"loggedin","dlv-user_id":e._utilService.getLoggedInUserId(),"dlv-org_member":e._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":e._utilService.getLoggedInUserRole(),"dlv-org_id":e.selectedFlowchart.orgId,"dlv-cat_id":e.selectedFlowchart.categoryId,"dlv-subcat_id":e.selectedFlowchart.subCategoryId,"dlv-goal_id":e.selectedFlowchart.goalId,"dlv-fc_id":e.selectedFlowchart.flowchartId};window.dataLayer.push(x);let h={event:"upload_fc_image","dlv-user_state_id":"loggedin","dlv-user_id":e._utilService.getLoggedInUserId(),"dlv-org_member":e._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":e._utilService.getLoggedInUserRole(),"dlv-org_id":e.selectedFlowchart.orgId,"dlv-cat_id":e.selectedFlowchart.categoryId,"dlv-subcat_id":e.selectedFlowchart.subCategoryId,"dlv-goal_id":e.selectedFlowchart.goalId,"dlv-fc_id":e.selectedFlowchart.flowchartId};window.dataLayer.push(h),i.value=""},u=>{e.genericErr=!0,e.genericErrMsg=u&&u.error?u.error.statusMessage:"",e.fcmetadataLoading=!1})}}else e._flowchartService.updateFlowchartMetadata(s).subscribe(r=>{if(e.selectedFlowchart&&e.selectedFlowchart.fcCopiable&&("Y"===e.selectedFlowchart.fcCopiable&&!1===e.fcCopiable||"N"===e.selectedFlowchart.fcCopiable&&!0===e.fcCopiable)){let g={event:"click_settings_copyfc","dlv-user_state_id":"loggedin","dlv-user_id":e._utilService.getLoggedInUserId(),"dlv-org_member":e._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":e._utilService.getLoggedInUserRole(),"dlv-org_id":e.selectedFlowchart.orgId,"dlv-fc_id":e.selectedFlowchart.flowchartId};window.dataLayer.push(g)}d.isEqual(e.flowchartName.toLowerCase(),e.selectedFlowchart.flowchartName.toLowerCase())||e._homeService.updateUserFavoriteFlowchartsInSession(),1===e.selectedFlowchart.orgId?e._flowchartListService.updateFcListForGoalAfterFcCreate(e.selectedFlowchart.goalId,e.selectedFlowchart.goalUrl):e._homeService.updateCategoryTree(e.selectedFlowchart.orgName),e.selectedFlowchart.flowchartName=r.responseBody.flowchartName,e.selectedFlowchart.flowchartDescription=r.responseBody.flowchartDescription,e.selectedFlowchart.keywords=r.responseBody.keywords,e.selectedFlowchart.notes=r.responseBody.notes,e.selectedFlowchart.flowchartImageName=r.responseBody.flowchartImageName,e.selectedFlowchart.flowchartImageUrl=r.responseBody.flowchartImageUrl,e.selectedFlowchart.fcCopiable=r.responseBody.flowchartCopiable,e.selectedFlowchart.fcAppendAsFragment=r.responseBody.flowchartAppendAsFragment,e.selectedFlowchart.copyAppendClonegroupAllowed=r.responseBody.flowchartCopyAppendClonegroupAllowed,e.selectedFlowchart.userActivityPersistanceDays=r.responseBody.flowchartUserActivityPersistanceDays,e.selectedFlowchart.flowchartCustomKeyName=r.responseBody.flowchartCustomKeyName,e.selectedFlowchart.flowchartCustomKeyValue=r.responseBody.flowchartCustomKeyValue,e.flowchartImageUrl=e.selectedFlowchart.flowchartImageUrl,e.fcmetadataLoading=!1,e.fcMetadataSuccessMsg="Successfully updated Flowchart's Metadata.",e.data.selectedFlowchart=e.selectedFlowchart;let c={event:"edit_fc_metadata","dlv-user_state_id":"loggedin","dlv-user_id":e._utilService.getLoggedInUserId(),"dlv-org_member":e._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":e._utilService.getLoggedInUserRole(),"dlv-org_id":e.selectedFlowchart.orgId,"dlv-cat_id":e.selectedFlowchart.categoryId,"dlv-subcat_id":e.selectedFlowchart.subCategoryId,"dlv-goal_id":e.selectedFlowchart.goalId,"dlv-fc_id":e.selectedFlowchart.flowchartId};window.dataLayer.push(c)},r=>{e.genericErr=!0,e.genericErrMsg=r&&r.error?r.error.statusMessage:"",e.fcmetadataLoading=!1})})()}deleteFlowchartImage(){this.delFcImageProcessing=!0;let i={flowchartId:this.selectedFlowchart.flowchartId,orgId:this.selectedFlowchart.orgId,userAccess:this.selectedFlowchart.userAccess,userSessionId:this._utilService.getCookie("userSessionId"),flowchartCreator:this.selectedFlowchart.creator,flowchartName:this.flowchartName,flowchartDescription:this.flowchartDescription,keywords:this.keywords.toString(),flowchartImageName:"",flowchartImageData:""};this._flowchartService.updateFlowchartMetadata(i).subscribe(a=>{1===this.selectedFlowchart.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.selectedFlowchart.goalId,this.selectedFlowchart.goalUrl):this._homeService.updateCategoryTree(this.selectedFlowchart.orgName),this.selectedFlowchart.flowchartName=a.responseBody.flowchartName,this.selectedFlowchart.flowchartDescription=a.responseBody.flowchartDescription,this.selectedFlowchart.keywords=a.responseBody.keywords,this.selectedFlowchart.flowchartImageName=a.responseBody.flowchartImageName,this.selectedFlowchart.flowchartImageUrl=a.responseBody.flowchartImageUrl,this.flowchartImageUrl=this.selectedFlowchart.flowchartImageUrl,this.delFcImageProcessing=!1,this.fcMetadataSuccessMsg="Successfully deleted Flowchart's image."},a=>{this.genericErr=!0,this.genericErrMsg=a&&a.error?a.error.statusMessage:"",this.delFcImageProcessing=!1})}updatePublishedFlowchartLayout(){this.publishedFcLayoutSuccess=!1,this.publishedFcLayoutErr=!1,this.loading=!0;let e={flowchartId:this.selectedFlowchart.flowchartId,flowchartCreator:this.selectedFlowchart.creator,orgId:this.orgId,userAccess:this.selectedFlowchart.userAccess,userSessionId:this._utilService.getCookie("userSessionId"),publishFlowchartLayout:this.publishedFcLayout};this._flowchartService.updatePublishedFlowchartLayout(e).subscribe(i=>{let a={event:"toggle_publishfclyt","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.selectedFlowchart.orgId,"dlv-cat_id":this.selectedFlowchart.categoryId,"dlv-subcat_id":this.selectedFlowchart.subCategoryId,"dlv-goal_id":this.selectedFlowchart.goalId,"dlv-fc_id":this.selectedFlowchart.flowchartId,"dlv-fc_layout_id":this.publishedFcLayout};window.dataLayer.push(a),this.publishedFcLayoutSuccess=!0,this.publishedFcLayoutSuccessMsg="Successfully updated layout for published view.",this.loading=!1},i=>{this.publishedFcLayoutErr=!0,this.publishedFcLayoutErrMsg="Unexpected error occurred, please try again.",this.loading=!1})}updateEmbeddedFlowchartLayout(){this.publishedFcLayoutSuccess=!1,this.publishedFcLayoutErr=!1,this.loading=!0;let e={flowchartId:this.selectedFlowchart.flowchartId,flowchartCreator:this.selectedFlowchart.creator,orgId:this.selectedFlowchart.orgId,userAccess:this.selectedFlowchart.userAccess,userSessionId:this._utilService.getCookie("userSessionId"),embedFlowchartLayout:this.embeddedFcLayout};this._flowchartService.updateEmbeddedFlowchartLayout(e).subscribe(i=>{let a={event:"toggle_embedfclyt","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.selectedFlowchart.orgId,"dlv-cat_id":this.selectedFlowchart.categoryId,"dlv-subcat_id":this.selectedFlowchart.subCategoryId,"dlv-goal_id":this.selectedFlowchart.goalId,"dlv-fc_id":this.selectedFlowchart.flowchartId,"dlv-fc_layout_id":this.embeddedFcLayout};window.dataLayer.push(a),this.publishedFcLayoutSuccess=!0,this.publishedFcLayoutSuccessMsg="Successfully updated layout for embedded flowchart view.",this.loading=!1},i=>{this.publishedFcLayoutErr=!0,this.publishedFcLayoutErrMsg="Unexpected error occurred, please try again.",this.loading=!1})}getPublishedRedirectUrl(){var e="";d.forEach(this.fcProperties,function(i){if("PUBLISHED_FLOWCHART_REDIRECT_URL"===i.propertyName)return e=i.propertyValue,!1}),console.log(this.isPublished),console.log(this.publishedUrl),this.existingRedirectUrl=e,this.redirectUrl=this.existingRedirectUrl,this.publishRedirectForm.controls.redirectUrl.setValue(this.existingRedirectUrl)}getFcEndFlowSelectedOption(){var e;d.forEach(this.fcProperties,function(i){if("FLOWCHART_END_FLOW"===i.propertyName)return e=i.propertyDetailId,!1}),this.existingFcEndFlow=e,this.fcEndFlow=this.existingFcEndFlow}getTxnStatusSelectedOption(){var e=[];d.forEach(this.fcProperties,function(i){"UPDATE_TXN_TICKET_STATUS"===i.propertyName&&e.push(i.propertyDetailId)}),this.existingTxnStatus=e,this.selectedTxnStatus=this.existingTxnStatus,this.txnStatusChecked=e.length>0}mapToObj(e){let i=Object.create(null);return e.forEach((a,s)=>{console.log(s,a),i[s]=a}),i}addUpdateFlowchartProperties(e){console.log(this.redirectUrl),console.log(this.fcEndFlow),this.publicPublishErr=!1;let i={flowchartId:this.selectedFlowchart.flowchartId,flowchartCreator:this.selectedFlowchart.creator,orgId:this.orgId,userAccess:this.selectedFlowchart.userAccess,propertyId:0,propertyValues:{}};if("endflow"===e&&this.fcEndFlow!==this.fcEndFlowDefaultOption&&(this.fcredirectLoading=!0,(a=new Map).set(this.fcEndFlow,""),i.propertyValues=this.mapToObj(a),i.propertyId=this.propertyDetail.FLOWCHART_END_FLOW[0].propertyId,this._flowchartService.saveOrUpdateFlowchartProperty(i).subscribe(s=>{this._flowchartService.updatePropertyListByFCInSession(this.selectedFlowchart.flowchartId,s.responseBody),this.fcProperties=this.sessionStorage.getObject("fcPropertyByFcId")[this.selectedFlowchart.flowchartId].flowchartPropertyBean,this.getFcEndFlowSelectedOption(),this.fcRedirectSuccessMsg="Update successful.",this.fcredirectLoading=!1},s=>{console.log("error in saving flowchart end flow property."),this.fcRedirectErrorMsg="Unable to save flowchart property for flowchart endflow.  Please try again after sometime.",this.fcredirectLoading=!1})),this.redirectUrl=this.publishRedirectForm.controls.redirectUrl.value,"publish"===e&&this.existingRedirectUrl!==this.redirectUrl&&(this.loading=!0,this.publishRedirectUrlSuccessMsg="",d.isEmpty(this.redirectUrl)||d.startsWith(this.redirectUrl,"https://")?((a=new Map).set(this.propertyDetail.PUBLISHED_FLOWCHART_REDIRECT_URL[0].propertyDetailId,this.redirectUrl),i.propertyValues=this.mapToObj(a),i.propertyId=this.propertyDetail.PUBLISHED_FLOWCHART_REDIRECT_URL[0].propertyId,this._flowchartService.saveOrUpdateFlowchartProperty(i).subscribe(r=>{this._flowchartService.updatePropertyListByFCInSession(this.selectedFlowchart.flowchartId,r.responseBody),this.fcProperties=this.sessionStorage.getObject("fcPropertyByFcId")[this.selectedFlowchart.flowchartId].flowchartPropertyBean;let c={event:"edit_fc_redirecturl","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.orgId,"dlv-cat_id":this.selectedFlowchart.categoryId,"dlv-subcat_id":this.selectedFlowchart.subCategoryId,"dlv-goal_id":this.selectedFlowchart.goalId,"dlv-fc_id":this.selectedFlowchart.flowchartId};window.dataLayer.push(c),this.getPublishedRedirectUrl(),this.publishRedirectUrlSuccessMsg="Successfully updated redirect URL.",this.loading=!1},r=>{console.log("error in saving published flowchart redirect url property."),this.publicPublishErr=!0,this.publicPublishErrMsg="Unable to save flowchart property for publish flowchart redirect url.  Please try again after sometime.",this.loading=!1})):(this.loading=!1,this.publicPublishErr=!0,this.publicPublishErrMsg="The redirect URL needs to start with 'https://'")),"txnStatus"===e){this.fctxnpropLoading=!0,console.log(this.txnStatusChecked),i.propertyId=this.propertyDetail.UPDATE_TXN_TICKET_STATUS[0].propertyId;var a=new Map;if(this.txnStatusChecked){let r=Object.create(null);r[this.txnStatusOptions[0].propertyDetailId]="",i.propertyValues=r}this._flowchartService.saveOrUpdateFlowchartProperty(i).subscribe(r=>{this._flowchartService.updatePropertyListByFCInSession(this.selectedFlowchart.flowchartId,r.responseBody),this.fcProperties=this.sessionStorage.getObject("fcPropertyByFcId")[this.selectedFlowchart.flowchartId].flowchartPropertyBean,this.getTxnStatusSelectedOption(),this.fctxnpropLoading=!1,this.fcTxnStatusSuccessMsg="Update successful."},r=>{console.log("error in saving txn status property."),this.fctxnpropLoading=!1,this.fcTxnStatusErrorMsg="Unable to add/update property for flowchart transaction status."})}}
1openShowHideLayoutElementsModal(){this._showHideLayoutElementsDialogService.open(),this._showHideLayoutElementsDialogService.confirmed().subscribe(e=>{})}onEmbedViewPropertyChange(e){this.embedFcViewSelectionOptions=e,this.existingEmbedFcViewProperties=e,e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}saveEmbedFcViewProperty(){this.fcViewPropertyUpdateLoading=!0,this.publishFcViewPropertyUpdateSuccess="",this.publishFcViewPropertyUpdateErr="";let e={flowchartId:this.selectedFlowchart.flowchartId,flowchartCreator:this.selectedFlowchart.creator,orgId:this.orgId,userAccess:this.selectedFlowchart.userAccess,propertyId:this.embedFcViewCheckboxItems[0].value.propertyId,propertyValues:{}};var i=new Map;d.forEach(this.embedFcViewSelectionOptions,function(a){i.set(a.propertyDetailId,"")}),e.propertyValues=this.mapToObj(i),this._flowchartService.saveOrUpdateFlowchartProperty(e).subscribe(a=>{this._flowchartService.updatePropertyListByFCInSession(this.selectedFlowchart.flowchartId,a.responseBody),this.fcProperties=this._flowchartService.getFlowchartExistingProperties(this.selectedFlowchart.flowchartId),this.publishFcViewPropertyUpdateSuccess="Update successful.",this.fcViewPropertyUpdateLoading=!1;let s={event:"edit_embdfcpropty","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.orgId,"dlv-cat_id":this.selectedFlowchart.categoryId,"dlv-subcat_id":this.selectedFlowchart.subCategoryId,"dlv-goal_id":this.selectedFlowchart.goalId,"dlv-fc_id":this.selectedFlowchart.flowchartId};window.dataLayer.push(s)},a=>{console.log("error in saving Publish flowchart view property."),this.publishFcViewPropertyUpdateErr="We could not save the changes, please try again after sometime.",this.fcViewPropertyUpdateLoading=!1})}getEmbedFcViewProperties(){var e=[];d.forEach(this.fcProperties,function(i){"EMBED_FLOWCHART_VIEW"===i.propertyName&&e.push(i)}),this.existingEmbedFcViewProperties=e,this.existingEmbedFcViewProperties=d.clone(this.existingEmbedFcViewProperties)}onPublishViewPropertyChange(e){console.log("selected value:",e),this.publishFcViewSelectionOptions=e,this.existingPublishFcViewProperties=e,e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}savePublishFcViewProperty(){this.fcViewPropertyUpdateLoading=!0,this.publishFcViewPropertyUpdateSuccess="",this.publishFcViewPropertyUpdateErr="";let e={flowchartId:this.selectedFlowchart.flowchartId,flowchartCreator:this.selectedFlowchart.creator,orgId:this.orgId,userAccess:this.selectedFlowchart.userAccess,propertyId:this.publishFcViewCheckboxItems[0].value.propertyId,propertyValues:{}};var i=new Map;d.forEach(this.publishFcViewSelectionOptions,function(a){i.set(a.propertyDetailId,"")}),e.propertyValues=this.mapToObj(i),this._flowchartService.saveOrUpdateFlowchartProperty(e).subscribe(a=>{this._flowchartService.updatePropertyListByFCInSession(this.selectedFlowchart.flowchartId,a.responseBody),this.fcProperties=this._flowchartService.getFlowchartExistingProperties(this.selectedFlowchart.flowchartId),this.publishFcViewPropertyUpdateSuccess="Update successful.",this.fcViewPropertyUpdateLoading=!1;let s={event:"edit_pubfcpropty","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.orgId,"dlv-cat_id":this.selectedFlowchart.categoryId,"dlv-subcat_id":this.selectedFlowchart.subCategoryId,"dlv-goal_id":this.selectedFlowchart.goalId,"dlv-fc_id":this.selectedFlowchart.flowchartId};window.dataLayer.push(s)},a=>{console.log("error in saving Publish flowchart view property."),this.publishFcViewPropertyUpdateErr=K.R.ERRMSG_PUBLISH_FC_VIEW_PROPERTY_UPDATE.errorMessage,this.fcViewPropertyUpdateLoading=!1})}getPublishFcViewProperties(){var e=[];d.forEach(this.fcProperties,function(i){"PUBLISH_FLOWCHART_VIEW"===i.propertyName&&e.push(i)}),this.existingPublishFcViewProperties=e,this.existingPublishFcViewProperties=d.clone(this.existingPublishFcViewProperties),console.log("Existing publish fc view properties",this.existingPublishFcViewProperties)}openRequestForPublishFc(){this._requestReviewPublishFcDialogService.open({flowchartId:this.selectedFlowchart.flowchartId,flowchartName:this.selectedFlowchart.flowchartName,notes:this.selectedFlowchart.notes,userAccess:this.selectedFlowchart.userAccess,flowchartCreator:this.selectedFlowchart.creator,orgId:this.selectedFlowchart.orgId}),this._requestReviewPublishFcDialogService.confirmed().subscribe(i=>{let a;this._flowchartService.getFlowchartEntityActions(this.selectedFlowchart.flowchartId).subscribe(s=>{a=s.responseBody,this.fcEntityActionForPublish=d.find(a,function(r){return"PUBLISH"===r.action})},s=>null)})}close(){this.ngZone.run(()=>{this.dialogRef.close()})}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.R0b),t.Y36(T.so),t.Y36(D.F0),t.Y36(q.q),t.Y36(st.A),t.Y36(et.d),t.Y36(Zt.S),t.Y36(Ot.I),t.Y36(At.d),t.Y36(Nt.b),t.Y36(Et.J),t.Y36(Dt.E),t.Y36(It.F),t.Y36(V.f),t.Y36(Tt.Y),t.Y36(T.uw),t.Y36(pt.ux),t.Y36(R.qo),t.Y36(T.WI))},o.\u0275cmp=t.Xpm({type:o,selectors:[["ng-component"]],viewQuery:function(e,i){if(1&e&&t.Gf(Ht,5),2&e){let a;t.iGM(a=t.CRH())&&(i.fileInput=a.first)}},decls:10,vars:2,consts:[[1,"dz-dialog-subcontainer","fc-property-edit-subcontr"],["id","fcpropedit-close","mat-button","",1,"close-cross",3,"click"],[1,"dz-dialog-top"],["mat-dialog-title","",1,"editformtitle"],[1,"version-fc-name"],["class","dz-dialog-scrolling-body",4,"ngIf"],[1,"dz-dialog-scrolling-body"],[1,"fc-properties-card"],[1,"common-modal-content"],["name","form","novalidate","",3,"formGroup"],[4,"ngIf"],[1,"form-full-width"],["matInput","","placeholder","Edit Flowchart Name","name","flowchartName","formControlName","flowchartName","required",""],["matInput","","mdTextareaAutosize","","placeholder","Enter Flowchart Description","name","flowchartDescription",3,"ngModel","ngModelOptions","ngModelChange"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","Add Search Keywords for this flowchart (comma seperated)",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd"],["matInput","","placeholder","Enter Flowchart Custom Key Name (max 30 characters)","name","flowchartCustomKeyName","maxlength","30","formControlName","flowchartCustomKeyName","required",""],["matInput","","placeholder","Enter Flowchart Custom Key Value (max 50 characters)","name","flowchartCustomKeyValue","maxlength","50","formControlName","flowchartCustomKeyValue","required",""],["hintLabel","Flowchart related notes shared within team members who has EDIT privilege",1,"form-full-width"],["matInput","","mdTextareaAutosize","","placeholder","Enter Flowchart related Notes","maxlength","1024","name","notes",1,"fc-notes-textinput",3,"ngModel","ngModelOptions","ngModelChange"],[1,"file-upload-section"],[1,"image-upload-title"],[1,"uploadoption"],["for","file"],["aria-label","Select an jpg or png image less than 500 kilobytes in size for this flowchart","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"],["tabindex","0"],["id","useracty-persistance","hintLabel","Number of Days. Min 0, Max 120, no decimals.",1,"form-full-width"],["id","fcpropertyedit-useractyperstc","matInput","","type","number","min","0","max","120","step","1","formControlName","userActivityPersistanceDays","name","userActivityPersistanceDays","placeholder","User Activity Persistance Duration",3,"readonly","value"],["class","user-activity-persist-disable-msg",4,"ngIf"],["class","permission-checkboxes",4,"ngIf"],[1,"common-modal-buttons"],["mat-dialog-actions","",1,"dialogue-buttons"],["id","fcpropedit-delfcimg","type","button","color","accent","mat-raised-button","",3,"disabled","click",4,"ngIf"],["id","fcpropedit-delimgsave","type","button","color","accent","mat-raised-button","",3,"disabled","click"],["class","app-spinner",4,"ngIf"],["class","fc-properties-card",4,"ngIf"],["class","success-msg",4,"ngIf"],[1,"common-modal-properties"],["id","publishFc","matTooltip","You do not have permission to change Publish flag for the flowchart.","ngDefaultControl","",3,"matTooltipShowDelay","matTooltipHideDelay","matTooltipDisabled","disabled","ngModel","checked","color","ngModelChange","change"],["class","fc-instructions",4,"ngIf"],["class","note-italic",4,"ngIf"],["id","fceditdilg-creatrestrdpubfc","aria-label","Request to review and publish this flowchart.","mat-stroked-button","",3,"disabled","click",4,"ngIf"],["class","entity-action-status",4,"ngIf"],["id","fcpropedit-creatrestdurl","mat-stroked-button","",3,"disabled","click",4,"ngIf"],["id","allowViewerTranscript","matTooltip","You do not have permission to change Publish property for the flowchart.","ngDefaultControl","",3,"matTooltipShowDelay","matTooltipHideDelay","matTooltipDisabled","disabled","ngModel","checked","color","ngModelChange","change"],["name","publishedFcLayout",1,"layout-radio-group",3,"ngModel","ngModelChange"],[3,"value"],["src","../../../../../assets/images/3-Layer-FLOWCHART-Layout-SVG-50px.png","alt","Image for three layers layout view."],[1,"layout-name"],["src","../../../../../assets/images/CARD-Layout-SVG-50px.png","alt","Image for card layout view."],["id","fcpropedit-savpubfclyt","type","button","color","accent","mat-raised-button","",3,"disabled","click"],[1,"fc-instructions"],["id","fcpropedit-explnoptions",3,"click"],[3,"options","selectedValues","toggle"],["id","fcpropedit-savpubfcview","type","button","color","accent","mat-raised-button","",3,"disabled","click"],[1,"fc-exit-form-field"],["matInput","","placeholder","https://decizone.com","formControlName","redirectUrl","name","redirectUrl",1,"fc-exit-input-field",3,"value"],["position","start"],[1,"gray-text"],["id","fcpropedit-redirectviewersave","type","button","color","accent","mat-raised-button","",3,"disabled","click"],["id","embedFc","matTooltip","You do not have permission to change Embed flag for the flowchart.","ngDefaultControl","",3,"matTooltipShowDelay","matTooltipHideDelay","disabled","matTooltipDisabled","ngModel","checked","color","ngModelChange","change"],["name","embeddedFcLayout",1,"layout-radio-group",3,"ngModel","ngModelChange"],["id","fcpropedit-embedlyt","type","button","color","accent","mat-raised-button","",3,"disabled","click"],["id","fcpropedit-embedexplnoptions",3,"click"],["id","fcpropedit-savembedprop","type","button","color","accent","mat-raised-button","",3,"disabled","click"],["name","form","novalidate",""],[1,"fc-exit-p1"],[1,"fc-exit-p2"],["class","fc-exit-radio-group","name","fcEndFlow",3,"ngModel","ngModelChange",4,"ngFor","ngForOf"],["class","fc-exit-p2",4,"ngIf"],["class","fc-exit-radio-group",4,"ngIf"],["id","fcpropedit-endflow","type","button","color","accent","mat-raised-button","",3,"disabled","click"],[1,"instructions-para","gray-text"],["class","instructions-para gray-text",4,"ngIf"],[1,"instructions-para"],["class","instructions-para",4,"ngIf"],[1,"socialcontainer"],[1,"socialsharecontainer"],["id","fcpropedit-socl-facebook","target","_blank","rel","noopener nofollow","mat-mini-fab","",1,"socialbutton","mat-elevation-z12",3,"ngClass","href"],["loading","lazy","src","assets/images/social-icons-16-facebook.png","alt","Image of facebook button.",1,"socialbuttonimage"],["id","fcpropedit-socl-twitter","target","_blank","rel","noopener nofollow","mat-mini-fab","",1,"socialbutton","mat-elevation-z12",3,"ngClass","href"],["loading","lazy","src","assets/images/social-icons-1
15-twitter.png","alt","Image of twitter button.",1,"socialbuttonimage"],["id","fcpropedit-socl-linkedin","target","_blank","rel","noopener nofollow","mat-mini-fab","",1,"socialbutton","mat-elevation-z12",3,"ngClass","href"],["loading","lazy","src","assets/images/social-icons-17-linkedin.png","alt","Image of linkedin button.",1,"socialbuttonimage"],["id","fcpropedit-socl-email","mat-mini-fab","",1,"socialbutton","mat-elevation-z12",3,"ngClass","href"],["loading","lazy","src","assets/images/social-icons-20-email.png","alt","Image of email button.",1,"socialbuttonimage"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],["id","uploadedImage"],[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"],[1,"user-activity-persist-disable-msg"],[1,"permission-checkboxes"],[3,"ngModel","ngModelOptions","ngModelChange"],["id","fcpropedit-delfcimg","type","button","color","accent","mat-raised-button","",3,"disabled","click"],[1,"app-spinner"],[1,"action-success"],["ngDefaultControl","",3,"ngModel","disabled","color","ngModelChange","change"],[1,"success-msg"],["id","published-fc-url"],["id","fcpropedit-copypuburl","matTooltip","Copy URL for PUBLISHed flowchart.","mat-stroked-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[1,"note-italic"],["id","fceditdilg-creatrestrdpubfc","aria-label","Request to review and publish this flowchart.","mat-stroked-button","",3,"disabled","click"],[1,"entity-action-status"],["id","fcpropedit-creatrestdurl","mat-stroked-button","",3,"disabled","click"],["id","embed-fc"],["id","fcpropedit-copyembedcode","matTooltip","Copy code to embed this flowchart in your website.","mat-stroked-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["name","fcEndFlow",1,"fc-exit-radio-group",3,"ngModel","ngModelChange"],[1,"fc-setting-radio-button",3,"disabled","value"],[1,"fc-exit-radio-group"],[1,"fc-setting-radio-button"],[4,"ngFor","ngForOf"],["id","fcpropedit-txnstatus","type","button","color","accent","mat-raised-button","",3,"disabled","click"],["placeholder","txnstatus",3,"ngModel","ngModelOptions","ngModelChange"],["id","share-published-url"],["id","fcpropedit-copypublfcurl","matsTooltip","Copy URL for PUBLISHed flowchart.","mat-stroked-button","",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"button",1),t.NdJ("click",function(){return i.close()}),t.TgZ(2,"mat-icon"),t._uU(3,"close"),t.qZA()(),t.TgZ(4,"div",2)(5,"p",3),t._uU(6," Edit Properties for Flowchart: "),t.TgZ(7,"span",4),t._uU(8),t.qZA()()(),t.YNc(9,go,336,138,"div",5),t.qZA()),2&e&&(t.xp6(8),t.hij(" ",i.selectedFlowchart.flowchartName,""),t.xp6(1),t.Q6J("ngIf",i.dataAvailable))},dependencies:[A.mk,A.sg,A.O5,xt.oO,l._Y,l.Fj,l.wV,l.JJ,l.JL,l.Q7,l.nD,l.qQ,l.Fd,l.On,l.F,l.sg,l.u,E.TO,E.KE,E.bx,E.hX,j.Nt,H.lW,H.zs,$.a8,$.dk,$.dn,$.n5,vt.oG,X.qn,X.HS,X.oH,X.qH,T.uh,T.H8,W.Hw,Ut.d,ct.Ou,lt.VQ,lt.U0,Mt.pH,ht.Rr,ut.gM,qt.A,Q.ap],styles:[".common-modal.common-modal-settings[_ngcontent-%COMP%]{height:calc(100% - 100px)}.settings-page[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-direction:column;position:relative;width:95%;height:90%;max-width:1250px;margin:0 auto;overflow-y:auto}.settings-page[_ngcontent-%COMP%]   .mat-expansion-panel-body[_ngcontent-%COMP%]{padding:10px 16px}.settings-item[_ngcontent-%COMP%]{margin:10px}.favorites-table[_ngcontent-%COMP%]{padding:2px}.settings-headers-align[_ngcontent-%COMP%]{margin:0 2px}.settings-headers-align[_ngcontent-%COMP%]   .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:var(--primarytextcolor)}.settings-headers-align[_ngcontent-%COMP%]   .mat-expansion-panel-header-title[_ngcontent-%COMP%], .settings-headers-align[_ngcontent-%COMP%]   .mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-basis:0}.settings-headers-align[_ngcontent-%COMP%]   .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}
1.item-name[_ngcontent-%COMP%]{color:#a9a9a9;width:200px;display:inline-block;height:100%}.item-value[_ngcontent-%COMP%]{color:#00f;font-style:bold}.close-cross[_ngcontent-%COMP%]{position:absolute;top:0;right:0;padding:0;width:40px;min-width:40px}.fc-panel[_ngcontent-%COMP%], .fav-panel[_ngcontent-%COMP%], .orgname-title[_ngcontent-%COMP%]{font-weight:700}.no-flowchart[_ngcontent-%COMP%]{text-align:center;padding-bottom:20px;font-weight:700;font-size:15px}.flowchart-list-title[_ngcontent-%COMP%]{padding:10px 40px;font-size:15px;font-weight:700}.form-full-width[_ngcontent-%COMP%]{width:100%}.file-upload-section[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:block;margin:10px}#uploadedImage[_ngcontent-%COMP%]{background-position:center center;background-repeat:no-repeat;width:200px;right:0;margin:auto;height:200px;background-size:contain}.uploadoption[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-around;align-items:flex-start;flex-grow:1;margin:20px 0}.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}.fcDetailsImage[_ngcontent-%COMP%]{background-position:center center;background-repeat:no-repeat;width:150px;line-height:100px;height:100px;background-size:contain;margin:5px}.fc-properties-card[_ngcontent-%COMP%]{margin:0 2px;background-color:#fff!important}.fc-properties-card[_ngcontent-%COMP%]   .mat-card-title[_ngcontent-%COMP%]{font-weight:700;color:var(--secondarytextcolor)}.action-success[_ngcontent-%COMP%]{color:green}.justify-center[_ngcontent-%COMP%]{margin:0 auto;width:250px;display:block}.drop-down-option[_ngcontent-%COMP%]{line-height:2em!important;height:auto!important;white-space:normal!important;border-bottom:1px solid #c1c1c1}.drop-down-option-small-text[_ngcontent-%COMP%]{font-size:smaller;color:gray}.edit-cat-tree-radiobtn[_ngcontent-%COMP%]{margin:5px}.button-center[_ngcontent-%COMP%]{margin:10px auto;display:block}.drop-down-option-caption[_ngcontent-%COMP%]{margin:3px 3px 3px 1em!important;text-indent:-1em!important}.no-org-padding[_ngcontent-%COMP%]{padding:0 15px}a.social-share-diabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.settings-public-org-fc[_ngcontent-%COMP%]{text-align:center}.settings-public-org-fc[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-public-org-fc[_ngcontent-%COMP%]   .td-expandedDetail[_ngcontent-%COMP%]{background-color:#fffbeb}.settings-public-org-fc[_ngcontent-%COMP%]   .settings-org-fc-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-flowchartName[_ngcontent-%COMP%]{width:150px;text-align:start}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-isPublic[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{width:120px}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-fcVersionCount[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-hasMaster[_ngcontent-%COMP%]{width:100px}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-masterFlowchartVersion[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-flowchartCopiable[_ngcontent-%COMP%]{width:100px}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-goalName[_ngcontent-%COMP%]{width:200px;background-color:#fffbeb}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-subCategoryName[_ng
1content-%COMP%]{width:150px}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-categoryName[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-creator[_ngcontent-%COMP%]{width:150px}.settings-org-fc[_ngcontent-%COMP%]{text-align:center}.settings-org-fc[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-org-fc[_ngcontent-%COMP%]   .td-expandedDetail[_ngcontent-%COMP%]{background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .settings-org-fc-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-org-fc[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-flowchartName[_ngcontent-%COMP%]{width:150px;text-align:start}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{width:200px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-orgHome[_ngcontent-%COMP%]{width:100px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome1[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome2[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome3[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome4[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome5[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome6[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome7[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome8[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome9[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome10[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-fcVersionCount[_ngcontent-%COMP%]{width:100px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-hasMaster[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-alertNoMaster[_ngcontent-%COMP%]{width:100px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-masterFlowchartVersion[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-isPublished[_ngcontent-%COMP%]{width:100px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-alertNotPublish[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-alertNotEmbed[_ngcontent-%COMP%]{width:100px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-flowchartCopiable[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-flowchartAppendAsFragment[_ngcontent-%COMP%]{width:100px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-flowchartCopyAppendClonegroupAllowed[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-goalName[_ngcontent-%COMP%]{width:200px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-subCategoryName[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-categoryName[_ngcontent-%COMP%]{width:150px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-creator[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-userActivityPersistanceDays[_ngcontent-%COMP%]{width:100px}.settings-favorites-fc[_ngcontent-%COMP%]{text-align:center}.settings-favorites-fc[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-favorites-fc[_ngcontent-%COMP%]   .td-expandedDetail[_ngcontent-%COMP%]{background-color:#fffbeb}.settings-favorites-fc[_ngcontent-%COMP%]   .settings-favorites-fc-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-favorites-fc[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-favorites-fc[_ngcontent-%COMP%]   .mat-column-flowchartName[_ngcontent-%COMP%]{width:200
1px;text-align:start}.settings-favorites-fc[_ngcontent-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{width:75px;background-color:#fffbeb}.settings-favorites-fc[_ngcontent-%COMP%]   .mat-column-goalName[_ngcontent-%COMP%]{width:200px}.settings-favorites-fc[_ngcontent-%COMP%]   .mat-column-subCategoryName[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-favorites-fc[_ngcontent-%COMP%]   .mat-column-categoryName[_ngcontent-%COMP%]{width:150px}.settings-org-shared-fc[_ngcontent-%COMP%]{text-align:center}.settings-org-shared-fc[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-org-shared-fc[_ngcontent-%COMP%]   .td-expandedDetail[_ngcontent-%COMP%]{background-color:#fffbeb}.settings-org-shared-fc[_ngcontent-%COMP%]   .settings-org-fc-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-column-flowchartName[_ngcontent-%COMP%]{width:150px;text-align:start}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-column-isPublished[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-column-goalName[_ngcontent-%COMP%]{width:200px}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-column-subCategoryName[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-column-categoryName[_ngcontent-%COMP%]{width:150px}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-column-creator[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-webhook-events[_ngcontent-%COMP%]{text-align:center}.settings-webhook-events[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-webhook-events[_ngcontent-%COMP%]   .settings-webhook-events-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-webhook-events[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-webhook-events[_ngcontent-%COMP%]   .mat-column-webhookEventName[_ngcontent-%COMP%]{width:100px;text-align:start}.settings-webhook-events[_ngcontent-%COMP%]   .mat-column-webhookEventIdentifier[_ngcontent-%COMP%]{width:75px;background-color:#fffbeb}.settings-webhook-events[_ngcontent-%COMP%]   .mat-column-webhookEventDescription[_ngcontent-%COMP%]{width:100px}.settings-webhook-events[_ngcontent-%COMP%]   .mat-column-statusName[_ngcontent-%COMP%]{width:50px;background-color:#fffbeb}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]{text-align:center}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .settings-org-webhook-subscribed-events-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-column-webhookEventName[_ngcontent-%COMP%]{width:100px;text-align:start}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-column-connectedAppName[_ng
1content-%COMP%]{width:75px;background-color:#fffbeb}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-column-connectedAppHookUrl[_ngcontent-%COMP%]{width:150px}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-column-userName[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-column-wesUUID[_ngcontent-%COMP%]{width:75px}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-column-statusName[_ngcontent-%COMP%]{width:50px;background-color:#fffbeb}.settings-org-fc-entity-action[_ngcontent-%COMP%]{text-align:center}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .settings-org-fc-entity-action-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-flowchartName[_ngcontent-%COMP%]{width:150px;text-align:start}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-action[_ngcontent-%COMP%]{width:75px;background-color:#fffbeb}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-status[_ngcontent-%COMP%]{width:100px}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{width:200px;background-color:#fffbeb}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-requestorName[_ngcontent-%COMP%]{width:100px}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-notes[_ngcontent-%COMP%]{width:120px;background-color:#fffbeb}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-isPublished[_ngcontent-%COMP%]{width:100px}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-masterFlag[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-masterFlowchartVersion[_ngcontent-%COMP%]{width:100px}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-flowchartCreator[_ng
1content-%COMP%]{width:150px;background-color:#fffbeb}.kbpage-section[_ngcontent-%COMP%]{width:95%;margin:auto}.kbpage-container[_ngcontent-%COMP%]{padding:5%;position:relative}.kbpage-mng-publishing[_ngcontent-%COMP%], .kbpage-mng-embedding[_ngcontent-%COMP%]{margin:10px 0 20px}@media screen and (max-width: 600px){.kbpage-description[_ngcontent-%COMP%]{display:none}}#embed-kb[_ngcontent-%COMP%]{display:block;margin:10px;padding:10px;border:1px solid lightgray}.personal-card[_ngcontent-%COMP%]{margin-top:20px}.personal-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:20px;font-weight:600}.personal-card[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:18px}.org-searchterms-section[_ngcontent-%COMP%]{width:95%;margin:auto}.org-searchterms-container[_ngcontent-%COMP%]{padding:5%;position:relative}.search-keyword-list[_ngcontent-%COMP%]{max-height:300px;overflow:auto}.each-keyword[_ngcontent-%COMP%]{background-color:var(--secondarycolor)}.searchterm-copy-always-hide[_ngcontent-%COMP%]{height:1px;overflow:hidden;width:1px}.entity-action-status[_ngcontent-%COMP%]{color:green}.fc-entity-action-section[_ngcontent-%COMP%]{width:95%;margin:auto}.fc-notes-textinput[_ngcontent-%COMP%]{height:100px;background-color:#ffd74040}.user-activity-persist-disable-msg[_ngcontent-%COMP%]{color:brown;font-style:italic}#useracty-persistance[_ngcontent-%COMP%]{width:250px}.note-italic[_ngcontent-%COMP%]{font-style:italic}.orgCustomPageTable[_ngcontent-%COMP%]{width:100%}.orgCustomPageTable[_ngcontent-%COMP%]   .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:var(--secondarytextcolor)}.settings-org-kb-page[_ngcontent-%COMP%]{text-align:center}.settings-org-kb-page[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-org-kb-page[_ngcontent-%COMP%]   .td-expandedDetail[_ngcontent-%COMP%]{background-color:#fffbeb}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-customPageName[_ngcontent-%COMP%]{width:150px;text-align:start;word-wrap:break-word}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{width:40px;text-align:start;background-color:#fffbeb}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-isPublished[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-hideCookieConsentPublishView[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-publishBackgroundColor[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-publishedUrl[_ngcontent-%COMP%]{width:100px}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-isPublishedWithPassword[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-hideCookieConsentPasswordProtectedPublishView[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-pubWithPwdBackgroundColor[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-publishedUrlWithPassword[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-publishedPassword[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-canEmbed[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-hideCookieConsentEmbedView[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-embedBackgroundColor[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-embedUrl[_ngcontent-%COMP%]{width:100px}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-canEmbedWithPassword[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-hideCookieConsentPasswordProtectedEmbedView[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-embedWithPwdBackgroundColor[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-embedUrlWithPassword[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-embedPassword[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.orgCustomPageTable[_ngcontent-%COMP%]{width:95%;margin:auto}
1.kb-table-url-hidden[_ngcontent-%COMP%]{display:none}.pswd-in-table[_ngcontent-%COMP%]{width:150px}.kb-bg-color[_ngcontent-%COMP%]{height:25px;width:50px;margin:0 auto;border:1px solid lightgrey}"]}),o})(),po=(()=>{class o{constructor(e,i,a){this.ngZone=e,this.dialogRef=i,this.data=a,this.title=a.title,this.message=a.message,this.genericErrMsg=new t.vpe}onClickClose(){this.ngZone.run(()=>{this.dialogRef.close()})}deleteYes(){this.ngZone.run(()=>{this.dialogRef.close(this.data.answer)})}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.R0b),t.Y36(T.so),t.Y36(T.WI))},o.\u0275cmp=t.Xpm({type:o,selectors:[["ng-component"]],decls:12,vars:2,consts:[["mat-button","",1,"close-cross",3,"click"],["mat-dialog-actions","",1,"common-modal-buttons"],["type","button","mat-button","",3,"click"],["type","button","mat-raised-button","","cdkFocusInitial","",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"button",0),t.NdJ("click",function(){return i.onClickClose()}),t.TgZ(1,"mat-icon"),t._uU(2,"close"),t.qZA()(),t.TgZ(3,"h3"),t._uU(4),t.qZA(),t.TgZ(5,"p"),t._uU(6),t.qZA(),t.TgZ(7,"div",1)(8,"button",2),t.NdJ("click",function(){return i.onClickClose()}),t._uU(9,"Cancel"),t.qZA(),t.TgZ(10,"button",3),t.NdJ("click",function(){return i.deleteYes()}),t._uU(11,"Confirm"),t.qZA()()),2&e&&(t.xp6(4),t.Oqu(i.title),t.xp6(2),t.Oqu(i.message))},dependencies:[H.lW,T.H8,W.Hw],encapsulation:2}),o})();var Pt=b(15439),ho=b(79814),ft=b(99602);function uo(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw();
1t.xp6(1),t.hij(" ",e.genericErrMsg," ")}}function fo(o,n){if(1&o&&(t.TgZ(0,"div",15),t._uU(1),t.qZA()),2&o){const e=t.oxw();t.xp6(1),t.hij(" ",e.successMsg," ")}}let bo=(()=>{class o{constructor(e,i,a,s,r,c,g,m,w){this.ngZone=e,this._excelService=i,this._flowchartService=a,this.dialogRef=s,this._userMilestoneService=r,this._utilService=g,this._snackBar=m,this.data=w,this.genericErrMsg="",this.genericErr=!1,this.isSuccess=!1,this.successMsg="",this.flowchartName="",this.endDate=new Date,this.sessionStorage=c,this.flowchartName=w.selectedFlowchart.flowchartName,this.selectedFlowchart=w.selectedFlowchart,this._utilService.usedFcActivityReportMilestoneAchieved.subscribe(C=>{C&&this._snackBar.open(O.be5,"Dismiss",{duration:2500})})}exportFlowchartActivity(){var e=Pt(this.startDate).format("YYYY-MM-DD"),i=Pt(this.endDate).format("YYYY-MM-DD");this._flowchartService.getFlowchartActivityReportData(this.selectedFlowchart.flowchartId,this.selectedFlowchart.orgId,e,i,this.selectedFlowchart.userAccess).subscribe(a=>{let s=this.sessionStorage.getObject("userMilestones");-1===d.findIndex(s,{milestoneName:"USED_FC_ACTIVITY_REPORT",isCompleted:!0})&&this._utilService.setUsedFcActivityReportMilestoneAchieved(),this._userMilestoneService.saveOrUpdateUserMilestone("USED_FC_ACTIVITY_REPORT",null),a.responseBody.length>0?(this._excelService.exportAsExcelFile(a.responseBody,"Activity"),this.isSuccess=!0,this.dialogRef.close(!0)):(this.genericErr=!0,this.genericErrMsg=K.R.ERRMSG_EXPORT_FLOWCHART_ACTIVITY_DATE_RANGE_ERROR.errorMessage)},a=>{this.genericErr=!0,this.genericErrMsg=K.R.ERRMSG_EXPORT_FLOWCHART_ACTIVITY_ERROR.errorMessage})}close(){this.ngZone.run(()=>{this.dialogRef.close()})}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.R0b),t.Y36(ho.x),t.Y36(q.q),t.Y36(T.so),t.Y36(et.d),t.Y36(R.qo),t.Y36(V.f),t.Y36(pt.ux),t.Y36(T.WI))},o.\u0275cmp=t.Xpm({type:o,selectors:[["ng-component"]],decls:23,vars:9,consts:[[1,"dialogue-container"],["mat-dialog-title",""],[1,"export-file-subtext"],["name","form","novalidate","",3,"ngSubmit"],[4,"ngIf"],["class","success-msg",4,"ngIf"],[1,"dialogue-input-fields"],["name","startdate","matInput","","placeholder","Start Date",3,"ngModel","matDatepicker","ngModelChange"],["matSuffix","",3,"for"],["txnStartDate",""],["name","enddate","matInput","","placeholder","End Date",3,"ngModel","matDatepicker","ngModelChange"],["txnEndDate",""],[1,"dialogue-buttons"],["id","exportfcacty-cancl","type","button","mat-button","",3,"click"],["id","exportfcacty-export","type","submit","mat-raised-button","","cdkFocusInitial",""],[1,"success-msg"]],template:function(e,i){if(1&e&&(t.TgZ(0,"div",0)(1,"h3",1),t._uU(2),t.qZA(),t.TgZ(3,"p",2),t._uU(4,"Provide the Start Date and the End Date below and click on Export to download the activity for your flowchart in .xlsx file format. "),t.qZA(),t.TgZ(5,"form",3),t.NdJ("ngSubmit",function(){return i.exportFlowchartActivity()}),t.YNc(6,uo,2,1,"mat-error",4),t.YNc(7,fo,2,1,"div",5),t.TgZ(8,"mat-form-field",6)(9,"input",7),t.NdJ("ngModelChange",function(s){return i.startDate=s}),t.qZA(),t._UZ(10,"mat-datepicker-toggle",8)(11,"mat-datepicker",null,9),t.qZA(),t.TgZ(13,"mat-form-field",6)(14,"input",10),t.NdJ("ngModelChange",function(s){return i.endDate=s}),t.qZA(),t._UZ(15,"mat-datepicker-toggle",8)(16,"mat-datepicker",null,11),t.qZA(),t.TgZ(18,"mat-dialog-actions",12)(19,"button",13),t.NdJ("click",function(){return i.close()}),t._uU(20,"Cancel"),t.qZA(),t.TgZ(21,"button",14),t._uU(22,"Export"),t.qZA()()()()),2&e){const a=t.MAs(12),s=t.MAs(17);t.xp6(2),t.hij("Export Activity Report for ",i.flowchartName,""),t.xp6(4),t.Q6J("ngIf",i.genericErr),t.xp6(1),t.Q6J("ngIf",i.isSuccess),t.xp6(2),t.Q6J("ngModel",i.startDate)("matDatepicker",a),t.xp6(1),t.Q6J("for",a),t.xp6(4),t.Q6J("ngModel",i.endDate)("matDatepicker",s),t.xp6(1),t.Q6J("for",s)}},dependencies:[A.O5,l._Y,l.Fj,l.JJ,l.JL,l.On,l.F,E.TO,E.KE,E.R9,j.Nt,H.lW,ft.Mq,ft.hl,ft.nW,T.uh,T.H8],encapsulation:2}),o})();var J=b(37340),P=b(30671);let kt=(()=>{class o{constructor(e,i,a){this.ngZone=e,this.dialogRef=i,this.data=a,this.message="",this.title="",this.title=a.title,this.message=a.message}
1onClickClose(){this.ngZone.run(()=>{this.dialogRef.close()})}confirmYes(){this.ngZone.run(()=>{this.dialogRef.close(this.data.answer)})}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.R0b),t.Y36(T.so),t.Y36(T.WI))},o.\u0275cmp=t.Xpm({type:o,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(e,i){1&e&&(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 i.onClickClose()}),t._uU(6,"Cancel"),t.qZA(),t.TgZ(7,"button",2),t.NdJ("click",function(){return i.confirmYes()}),t._uU(8,"Confirm"),t.qZA()()),2&e&&(t.xp6(1),t.Oqu(i.title),t.xp6(2),t.Oqu(i.message))},dependencies:[H.lW,T.H8],encapsulation:2}),o})();var G=b(52931),wo=b(99863),Co=b(37439),yo=b(81736),To=b(83376),bt=b(64918),ot=b(80529);let xo=(()=>{class o{constructor(e,i,a){this._httpClient=e,this._utilService=a,this.sessionStorage=i}getAllWebhookEvents(){let e=this._utilService.getActiveUserToken();return this._httpClient.get(O.$3Y,e)}addWebhookEvent(e){const i={headers:new ot.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")})};return this._httpClient.post(O.$3Y,e,i)}editWebhookEvent(e){return this._httpClient.patch(O.$3Y,e)}deleteWebhookEvent(e){const i={headers:new ot.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")}),body:e};return this._httpClient.delete(O.$3Y,i)}}return o.\u0275fac=function(e){return new(e||o)(t.LFG(ot.eN),t.LFG(R.qo),t.LFG(V.f))},o.\u0275prov=t.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),vo=(()=>{class o{constructor(e,i,a){this._httpClient=e,this._utilService=a,this.sessionStorage=i}getWebhookSubscribedEventsByOrg(e){let i=this._utilService.getActiveUserToken();return this._httpClient.get(O.gOT+"?orgName="+e,i)}editWebhookSubscribedEvent(e){return this._httpClient.patch(O.gOT,e)}deleteWebhookSubscribedEvent(e){const i={headers:new ot.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")}),body:e};return this._httpClient.delete(O.gOT,i)}}return o.\u0275fac=function(e){return new(e||o)(t.LFG(ot.eN),t.LFG(R.qo),t.LFG(V.f))},o.\u0275prov=t.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();var Po=b(82345),ko=b(58704),dt=b(95698),_t=b(54004);function Fo(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw();
1t.xp6(1),t.hij(" ",e.genericErrMsg," ")}}function So(o,n){if(1&o&&(t.TgZ(0,"div",11),t._uU(1),t.qZA()),2&o){const e=t.oxw();t.xp6(1),t.hij(" ",e.successMsg," ")}}let Zo=(()=>{class o{constructor(e,i,a,s,r){this.ngZone=e,this.dialogRef=i,this._flowchartService=a,this.data=r,this.notes="",this.genericErr=!1,this.genericErrMsg="",this.successMsg="",this.loading=!1,this.sessionStorage=s,this.flowchartId=r.flowchartId,this.flowchartName=r.flowchartName,this.orgId=r.orgId}sendFeedback(){this.loading=!0,this.successMsg="",this.genericErr=!1;let e=[];e.push(this.flowchartId),this._flowchartService.updateEntityActionsForFlowcharts({flowchartIds:e,orgId:this.orgId,action:"PUBLISH",status:"FEEDBACK_GIVEN",notes:this.notes,userAccess:this.data.userAccess}).subscribe(a=>{this.loading=!1,this.dialogRef.close(!0)},a=>{this.genericErr=!0,this.genericErrMsg="Unexpected error occurred during this operation.  Please try again.",this.loading=!1})}close(){this.ngZone.run(()=>{this.dialogRef.close(!1)})}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.R0b),t.Y36(T.so),t.Y36(q.q),t.Y36(R.qo),t.Y36(T.WI))},o.\u0275cmp=t.Xpm({type:o,selectors:[["ng-component"]],decls:19,vars:7,consts:[[1,"dialogue-container"],[1,"entity-actions-feedback-dialog"],["mat-button","",1,"close-cross",3,"click"],["matTooltip","Provide feedback to the Requestor who requested to review and publish this flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay"],[1,"entity-actions-feedback-dialog-header"],["matInput","","mdTextareaAutosize","","placeholder","Feedback Notes","maxlength","2048","name","notes",1,"textarea-formnotes",3,"ngModel","ngModelChange"],[4,"ngIf"],["class","success-msg",4,"ngIf"],["mat-dialog-actions","",1,"common-modal-buttons"],["id","fcnotesdlg-close","type","button","mat-button","",3,"click"],["id","fcnotesdlg-save","type","button","cdkFocusInitial","","mat-raised-button","",3,"disabled","click"],[1,"success-msg"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"button",2),t.NdJ("click",function(){return i.close()}),t.TgZ(3,"mat-icon"),t._uU(4,"close"),t.qZA()(),t.TgZ(5,"p",3)(6,"strong",4)(7,"mat-icon"),t._uU(8,"feedback"),t.qZA(),t._uU(9),t.qZA()(),t.TgZ(10,"textarea",5),t.NdJ("ngModelChange",function(s){return i.notes=s}),t._uU(11,"    "),t.qZA(),t.YNc(12,Fo,2,1,"mat-error",6),t.YNc(13,So,2,1,"div",7),t.TgZ(14,"div",8)(15,"button",9),t.NdJ("click",function(){return i.close()}),t._uU(16," Cancel "),t.qZA(),t.TgZ(17,"button",10),t.NdJ("click",function(){return i.sendFeedback()}),t._uU(18," Send "),t.qZA()()()()),2&e&&(t.xp6(5),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(4),t.hij(" Send Feedback For: ",i.flowchartName," "),t.xp6(1),t.Q6J("ngModel",i.notes),t.xp6(2),t.Q6J("ngIf",i.genericErr),t.xp6(1),t.Q6J("ngIf",i.successMsg),t.xp6(4),t.Q6J("disabled",i.loading))},dependencies:[A.O5,l.Fj,l.JJ,l.nD,l.On,E.TO,j.Nt,H.lW,T.H8,W.Hw,ut.gM],styles:[".entity-actions-feedback-dialog[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;overflow:auto;height:100%}.entity-actions-feedback-dialog-header[_ngcontent-%COMP%]{color:var(--primarycolor)}.common-modal-buttons[_ngcontent-%COMP%]{margin-bottom:0!important}.textarea-formnotes[_ngcontent-%COMP%]{flex-grow:5}"]}),o})(),Oo=(()=>{class o{constructor(e){this.dialog=e}open(e){this.dialogRef=this.dialog.open(Zo,{width:"350px",data:{flowchartId:e.flowchartId,flowchartName:e.flowchartName,orgId:e.orgId,userAccess:e.userAccess,flowchartCreator:e.flowchartCreator}})}confirmed(){return this.dialogRef.afterClosed().pipe((0,dt.q)(1),(0,_t.U)(e=>e))}}return o.\u0275fac=function(e){return new(e||o)(t.LFG(T.uw))},o.\u0275prov=t.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();var Ao=b(35101);function No(o,n){if(1&o&&(t.TgZ(0,"li"),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e)}}function Eo(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",6),t._uU(2," A flowchart cannot have bookmark link to another flowchart under the same goal. Your flowchart has existing bookmark links, listed below, to/from other flowcharts under the destination goal. Please review and delete ALL the bookmark links before moving this flowchart."),t.qZA(),t.TgZ(3,"ul"),t.YNc(4,No,2,1,"li",7),t.qZA()()),2&o){const e=t.oxw();
1t.xp6(4),t.Q6J("ngForOf",e.validationMessages)}}function Do(o,n){1&o&&(t.TgZ(0,"div"),t._uU(1,"Any sharable URLs associated with this flowchart will be permenently deleted. Please confirm you want to move this flowchart. "),t.qZA())}function Io(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div",8)(1,"button",9),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.close())}),t._uU(2,"Cancel"),t.qZA(),t.TgZ(3,"button",10),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.moveFlowchart())}),t._uU(4,"Confirm"),t.qZA()()}if(2&o){const e=t.oxw();t.xp6(3),t.Q6J("disabled",e.loading)}}function Uo(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div",8)(1,"button",9),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.close())}),t._uU(2,"OK"),t.qZA()()}}let Mo=(()=>{class o{constructor(e,i,a,s,r){this.ngZone=e,this.dialogRef=i,this._flowchartService=a,this.data=r,this.genericErr=!1,this.genericErrMsg="",this.successMsg="",this.loading=!1,this.sessionStorage=s,this.flowchartId=r.flowchartId,this.flowchartName=r.flowchartName,this.destinationGoalName=r.destinationGoalName,this.destinationGoalId=r.destinationGoalId,this.orgName=r.orgName,this.validationStatus=r.validationStatus,this.validationMessages=r.validationMessages,this.userAccess=r.userAccess}moveFlowchart(){this.loading=!0,this.successMsg="",this.genericErr=!1,this._flowchartService.moveFlowchart({sourceOrgName:this.orgName,sourceFlowchartId:this.flowchartId,destinationGoalId:this.destinationGoalId,userAccess:this.userAccess}).subscribe(i=>{this.dialogRef.close(!0)},i=>{this.dialogRef.close(!1)})}close(){this.ngZone.run(()=>{this.dialogRef.close(!1)})}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.R0b),t.Y36(T.so),t.Y36(q.q),t.Y36(R.qo),t.Y36(T.WI))},o.\u0275cmp=t.Xpm({type:o,selectors:[["ng-component"]],decls:17,vars:6,consts:[[1,"dialogue-container"],[1,"fc-move-dialog"],["mat-button","",1,"close-cross",3,"click"],[1,"fc-move-dialog-header"],[4,"ngIf"],["mat-dialog-actions","","class","common-modal-buttons",4,"ngIf"],[1,"small-text"],[4,"ngFor","ngForOf"],["mat-dialog-actions","",1,"common-modal-buttons"],["id","fcmovedlg-close","type","button","mat-button","",3,"click"],["id","fcmovedlg-save","type","button","cdkFocusInitial","","mat-raised-button","",3,"disabled","click"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"button",2),t.NdJ("click",function(){return i.close()}),t.TgZ(3,"mat-icon"),t._uU(4,"close"),t.qZA()(),t.TgZ(5,"h4"),t._uU(6," Moving Flowchart: "),t.TgZ(7,"strong",3),t._uU(8),t.qZA(),t._UZ(9,"br"),t._uU(10," To Goal: "),t.TgZ(11,"strong",3),t._uU(12),t.qZA()(),t.YNc(13,Eo,5,1,"div",4),t.YNc(14,Do,2,0,"div",4),t.YNc(15,Io,5,1,"div",5),t.YNc(16,Uo,3,0,"div",5),t.qZA()()),2&e&&(t.xp6(8),t.hij("",i.flowchartName," "),t.xp6(4),t.hij("",i.destinationGoalName," "),t.xp6(1),t.Q6J("ngIf",!1===i.validationStatus),t.xp6(1),t.Q6J("ngIf",i.validationStatus),t.xp6(1),t.Q6J("ngIf",i.validationStatus),t.xp6(1),t.Q6J("ngIf",!1===i.validationStatus))},dependencies:[A.sg,A.O5,H.lW,T.H8,W.Hw],styles:[".fc-move-dialog[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;overflow:auto;height:100%}.fc-move-dialog-header[_ngcontent-%COMP%]{color:var(--primarycolor)}.common-modal-buttons[_ngcontent-%COMP%]{margin-bottom:0!important}.textarea-formnotes[_ngcontent-%COMP%]{flex-grow:5}"]}),o})(),qo=(()=>{class o{constructor(e){this.dialog=e}open(e){this.dialogRef=this.dialog.open(Mo,{width:"350px",data:{flowchartId:e.flowchartId,flowchartName:e.flowchartName,userAccess:e.userAccess,validationStatus:e.validationStatus,validationMessages:e.validationMessages,orgName:e.orgName,destinationGoalName:e.destinationGoalName,destinationGoalId:e.destinationGoalId}})}confirmed(){return this.dialogRef.afterClosed().pipe((0,dt.q)(1),(0,_t.U)(e=>e))}}return o.\u0275fac=function(e){return new(e||o)(t.LFG(T.uw))},o.\u0275prov=t.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();var tt=b(3848);function Ho(o,n){1&o&&(t.TgZ(0,"div",6)(1,"p"),t._uU(2,"You have reached the limit set for number of Knowledge Base Pages. Please have the admin of your account contact [email protected] to request changes."),t.qZA()())}function Lo(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div",7)(1,"button",8),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.close())}),t._uU(2,"Close"),t.qZA()()}}function Ro(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.genericErrMsg," ")}}function Jo(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Use only these [a-z, A-Z, 0-9, -, whitespace] & Max 50 chars. "),t.qZA())}function Yo(o,n){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,Jo,2,0,"mat-error",10),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.kbPageForm.controls.newKbName.errors.pattern)}}function Ko(o,n){1&o&&(t.TgZ(0,"p",39),t._uU(1,"This color is used for background for this published knowledgebase page. The default value is #ffffff or RGB (255, 255, 255). Click the color picker to customize."),t.qZA())}function Qo(o,n){1&o&&t._UZ(0,"input",40)}function Bo(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Password is required. "),t.qZA())}function Go(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Password must be at least 12 characters long. "),t.qZA())}function Vo(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Password must not exceed 20 characters. "),t.qZA())}function Wo(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-form-field",11),t._UZ(1,"input",41),t.TgZ(2,"mat-icon",42),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.togglePublishPwdVisibility())}),t._uU(3),t.qZA(),t.TgZ(4,"mat-hint",15),t._uU(5),t.qZA(),t.YNc(6,Bo,2,0,"mat-error",10),t.YNc(7,Go,2,0,"mat-error",10),t.YNc(8,Vo,2,0,"mat-error",10),t.qZA()}if(2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("type",e.publishPwdVisible?"text":"password"),t.xp6(2),t.hij(" ",e.publishPwdVisible?"visibility_off":"visibility"," "),t.xp6(2),t.hij("",(null==e.kbPageForm.get("kbPublishPassword").value?null:e.kbPageForm.get("kbPublishPassword").value.length)||0," / 20"),t.xp6(1),t.Q6J("ngIf",e.kbPageForm.get("kbPublishPassword").hasError("required")),t.xp6(1),t.Q6J("ngIf",e.kbPageForm.get("kbPublishPassword").hasError("minlength")),t.xp6(1),t.Q6J("ngIf",e.kbPageForm.get("kbPublishPassword").hasError("maxlength"))}}function zo(o,n){1&o&&(t.TgZ(0,"p",39),t._uU(1,"This color is used for background for this published knowledgebase page. The default value is #ffffff or RGB (255, 255, 255). Click the color picker to customize."),t.qZA())}function jo(o,n){1&o&&t._UZ(0,"input",43)}function $o(o,n){1&o&&(t.TgZ(0,"p",39),t._uU(1,"This color is used for background for this published knowledgebase page. The default value is #ffffff or RGB (255, 255, 255). Click the color picker to customize."),t.qZA())}function Xo(o,n){1&o&&t._UZ(0,"input",44)}function ti(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Password is required. "),t.qZA())}function ei(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Password must be at least 12 characters long. "),t.qZA())}function oi(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Password must not exceed 20 characters. "),t.qZA())}function ii(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-form-field",11),t._UZ(1,"input",45),t.TgZ(2,"mat-icon",42),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.toggleEmbedPwdVisibility())}),t._uU(3),t.qZA(),t.TgZ(4,"mat-hint",15),t._uU(5),t.qZA(),t.YNc(6,ti,2,0,"mat-error",10),t.YNc(7,ei,2,0,"mat-error",10),t.YNc(8,oi,2,0,"mat-error",10),t.qZA()}if(2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("type",e.embedPwdVisible?"text":"password"),t.xp6(2),t.hij(" ",e.embedPwdVisible?"visibility_off":"visibility"," "),t.xp6(2),t.hij("",(null==e.kbPageForm.get("kbEmbedPassword").value?null:e.kbPageForm.get("kbEmbedPassword").value.length)||0," / 20"),t.xp6(1),t.Q6J("ngIf",e.kbPageForm.get("kbEmbedPassword").hasError("required")),t.xp6(1),t.Q6J("ngIf",e.kbPageForm.get("kbEmbedPassword").hasError("minlength")),t.xp6(1),t.Q6J("ngIf",e.kbPageForm.get("kbEmbedPassword").hasError("maxlength"))}}function ai(o,n){1&o&&(t.TgZ(0,"p",39),t._uU(1,"This color is used for background for this published knowledgebase page. The default value is #ffffff or RGB (255, 255, 255). Click the color picker to customize."),t.qZA())}function ni(o,n){1&o&&t._UZ(0,"input",46)}function ri(o,n){if(1&o&&(t.TgZ(0,"div",6)(1,"form",9),t.YNc(2,Ro,2,1,"mat-error",10),t.TgZ(3,"mat-form-field",11),t._UZ(4,"input",12,13),t.TgZ(6,"mat-hint",14)(7,"strong"),t._uU(8,"Use only these [a-z, A-Z, 0-9, -, whitespace] & Max 50 chars."),t.qZA()(),t.TgZ(9,"mat-hint",15),t._uU(10),t.qZA()(),t.YNc(11,Yo,2,1,"div",10),t.TgZ(12,"mat-tab-group",16)(13,"mat-tab",17)(14,"mat-tab-group",18)(15,"mat-tab",19)(16,"div",20)(17,"mat-slide-toggle",21),t._uU(18,"Do NOT ask viewer for Cookie Consent"),t.qZA(),t.TgZ(19,"mat-slide-toggle",22),t._uU(20,"Publish this KB page without requiring any password to access"),t.qZA(),t.YNc(21,Ko,2,0,"p",23),t.YNc(22,Qo,1,0,"input",24),t.qZA()(),t.TgZ(23,"mat-tab",25)(24,"div",20)(25,"mat-slide-toggle",26),t._uU(26,"Do NOT ask viewer for Cookie Consent"),t.qZA(),t.TgZ(27,"mat-slide-toggle",27),t._uU(28,"Publish this KB page and require password to access"),t.qZA(),t.YNc(29,Wo,9,6,"mat-form-field",28),t.YNc(30,zo,2,0,"p",23),t.YNc(31,jo,1,0,"input",29),t.qZA()()()(),t.TgZ(32,"mat-tab",30)(33,"mat-tab-group",18)(34,"mat-tab",31)(35,"div",20)(36,"mat-slide-toggle",32),t._uU(37,"Do NOT ask viewer for Cookie Consent"),t.qZA(),t.TgZ(38,"mat-slide-toggle",33),t._uU(39,"Embed this KB page without requiring any password to access"),t.qZA(),t.YNc(40,$o,2,0,"p",23),t.YNc(41,Xo,1,0,"input",34),t.qZA()(),t.TgZ(42,"mat-tab",35)(43,"div",20)(44,"mat-slide-toggle",36),t._uU(45,"Do NOT ask viewer for Cookie Consent"),t.qZA(),t.TgZ(46,"mat-slide-toggle",37),t._uU(47,"Embed this KB page and require password to access"),t.qZA(),t.YNc(48,ii,9,6,"mat-form-field",28),t.YNc(49,ai,2,0,"p",23),t.YNc(50,ni,1,0,"input",38),t.qZA()()()()()()()),2&o){const e=t.MAs(5),i=t.oxw();
1t.xp6(1),t.Q6J("formGroup",i.kbPageForm),t.xp6(1),t.Q6J("ngIf",i.genericErr),t.xp6(8),t.hij("",(null==e.value?null:e.value.length)||0," / 50"),t.xp6(1),t.Q6J("ngIf",i.kbPageForm.get("newKbName").errors&&(i.kbPageForm.get("newKbName").dirty||i.kbPageForm.get("newKbName").touched)),t.xp6(10),t.Q6J("ngIf",!0===(null==i.kbPublishToggle?null:i.kbPublishToggle.value)),t.xp6(1),t.Q6J("ngIf",null==i.kbPublishToggle?null:i.kbPublishToggle.value),t.xp6(7),t.Q6J("ngIf",i.kbPageForm.get("ppKbPublishToggle").value),t.xp6(1),t.Q6J("ngIf",!0===(null==i.ppKbPublishToggle?null:i.ppKbPublishToggle.value)),t.xp6(1),t.Q6J("ngIf",null==i.ppKbPublishToggle?null:i.ppKbPublishToggle.value),t.xp6(9),t.Q6J("ngIf",!0===(null==i.kbEmbedToggle?null:i.kbEmbedToggle.value)),t.xp6(1),t.Q6J("ngIf",null==i.kbEmbedToggle?null:i.kbEmbedToggle.value),t.xp6(7),t.Q6J("ngIf",i.kbPageForm.get("ppKbEmbedToggle").value),t.xp6(1),t.Q6J("ngIf",!0===(null==i.ppKbEmbedToggle?null:i.ppKbEmbedToggle.value)),t.xp6(1),t.Q6J("ngIf",null==i.ppKbEmbedToggle?null:i.ppKbEmbedToggle.value)}}function si(o,n){1&o&&t._UZ(0,"mat-spinner",50)}function ci(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div",7)(1,"button",47),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.close())}),t._uU(2,"Cancel"),t.qZA(),t.TgZ(3,"button",48),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.addKnowledgebasePage())}),t.YNc(4,si,1,0,"mat-spinner",49),t._uU(5,"Save "),t.qZA()()}if(2&o){const e=t.oxw();
1t.xp6(3),t.Q6J("disabled",e.kbPageForm.invalid),t.xp6(1),t.Q6J("ngIf",e.loading)}}let li=(()=>{class o{constructor(e,i,a,s,r){this.ngZone=e,this.dialogRef=i,this._orgService=a,this.data=r,this.genericErrMsg="",this.genericErr=!1,this.loading=!1,this.userAccess="",this.publishPwdVisible=!1,this.embedPwdVisible=!1,this.orgCustomKbpLimitReached=!1,this.sessionStorage=s,this.userAccess=r.userAccess,this.orgName=r.orgName,this.orgCustomKbpLimitReached=r.orgCustomKbpLimitReached}ngOnInit(){this.kbPageForm=new l.nJ({newKbName:new l.p4("",[l.kI.required,l.kI.pattern("^[a-zA-Z0-9\\- ]+([a-zA-Z0-9\\- ])*$")]),kbPublishToggle:new l.p4(!1),hidePublishKbCookieConsentBanner:new l.p4(!1),publishKbBackgroundColor:new l.p4("#ffffff"),ppKbPublishToggle:new l.p4(!1),kbPublishPassword:new l.p4(""),publishWithPwdKbBackgroundColor:new l.p4("#ffffff"),hidePPPublishKbCookieConsentBanner:new l.p4(!1),kbEmbedToggle:new l.p4(!1),embedKbBackgroundColor:new l.p4("#ffffff"),hideEmbedKbCookieConsentBanner:new l.p4(!1),ppKbEmbedToggle:new l.p4(!1),embedWithPwdKbBackgroun
1dColor:new l.p4("#ffffff"),kbEmbedPassword:new l.p4(""),hidePPEmbedKbCookieConsentBanner:new l.p4(!1)}),this.setupKbPagePasswordControl()}setupKbPagePasswordControl(){this.kbPageForm.get("ppKbPublishToggle").valueChanges.subscribe(a=>{const s=this.kbPageForm.get("kbPublishPassword");s.setValidators(a?[l.kI.required,l.kI.minLength(12),l.kI.maxLength(20)]:null),s.updateValueAndValidity()}),this.kbPageForm.get("ppKbEmbedToggle").valueChanges.subscribe(a=>{const s=this.kbPageForm.get("kbEmbedPassword");s.setValidators(a?[l.kI.required,l.kI.minLength(12),l.kI.maxLength(20)]:null),s.updateValueAndValidity()})}get kbPublishToggle(){return this.kbPageForm.get("kbPublishToggle")}get ppKbPublishToggle(){return this.kbPageForm.get("ppKbPublishToggle")}get kbEmbedToggle(){return this.kbPageForm.get("kbEmbedToggle")}get ppKbEmbedToggle(){return this.kbPageForm.get("ppKbEmbedToggle")}togglePublishPwdVisibility(){this.publishPwdVisible=!this.publishPwdVisible}toggleEmbedPwdVisibility(){this.embedPwdVisible=!this.embedPwdVisible}addKnowledgebasePage(){this.loading=!0,console.log("publish bg color -",this.kbPageForm.get("publishKbBackgroun
1dColor").value);let e={customPageName:this.kbPageForm.get("newKbName").value,customPageType:"kbp",canPublish:!0===this.kbPageForm.get("kbPublishToggle").value?"Y":"N",publishKbBackgroundColor:this.kbPageForm.get("publishKbBackgroundColor").value,hideCookieConsentPublishView:!0===this.kbPageForm.get("hidePublishKbCookieConsentBanner").value?"Y":"N",canPublishWithPassword:!0===this.kbPageForm.get("ppKbPublishToggle").value?"Y":"N",passwordForPublishPage:this.kbPageForm.get("kbPublishPassword").value,hideCookieConsentOnPwdProtectedPublishView:!0===this.kbPageForm.get("hidePPPublishKbCookieConsentBanner").value?"Y":"N",publishWithPwdKbBackgroundColor:this.kbPageForm.get("publishWithPwdKbBackgroundColor").value,canEmbed:!0===this.kbPageForm.get("kbEmbedToggle").value?"Y":"N",hideCookieConsentEmbedView:!0===this.kbPageForm.get("hideEmbedKbCookieConsentBanner").value?"Y":"N",embedKbBackgroundColor:this.kbPageForm.get("embedKbBackgroundColor").value,canEmbedWithPassword:!0===this.kbPageForm.get("ppKbEmbedToggle").value?"Y":"N",passwordForEmbedPage:this.kbPageForm.get("kbEmbedPassword").value,hideCookieConsentOnPwdProtectedEmbedView:!0===this.kbPageForm.get("hidePPEmbedKbCookieConsentBanner").value?"Y":"N",embedWithPwdKbBackgroun
1dColor:this.kbPageForm.get("embedWithPwdKbBackgroundColor").value,orgName:this.orgName,userAccess:this.userAccess};return this._orgService.addKnowledgebasePage(e).subscribe(i=>{var s,a=i.responseBody;s=this.sessionStorage.getObject("userProfile");let c=this;d.filter(s.userOrg,function(m){return m.orgName===c.orgName})[0].orgCustomPageDetails=a,this.sessionStorage.setObject("userProfile",s),this.genericErr=!1,this.loading=!1,this.dialogRef.close(!0)},i=>{this.loading=!1,this.genericErr=!0,this.genericErrMsg=i&&i.error?i.error.statusMessage:""}),this.dialogRef.afterClosed()}close(){this.ngZone.run(()=>{this.dialogRef.close(!1)})}onEsc(){this.close()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.R0b),t.Y36(T.so),t.Y36(bt.Q),t.Y36(R.qo),t.Y36(T.WI))},o.\u0275cmp=t.Xpm({type:o,selectors:[["ng-component"]],hostBindings:function(e,i){1&e&&t.NdJ("keydown.esc",function(){return i.onEsc()},!1,t.evT)},decls:11,vars:4,consts:[[1,"dz-dialog-subcontainer","add-kb"],["id","catdilg-close","mat-button","","aria-label","Close this add knowledgebase dialog.",1,"close-cross","dz-dialog-close",3,"click"],[1,"dz-dialog-top"],["mat-dialog-title","",1,"editformtitle"],["class","dz-dialog-scrolling-body",4,"ngIf"],["mat-dialog-actions","","class","dz-dialog-bottom dialogue-buttons",4,"ngIf"],[1,"dz-dialog-scrolling-body"],["mat-dialog-actions","",1,"dz-dialog-bottom","dialogue-buttons"],["id","addkbdilg-cancl","type","button","mat-raised-button","",3,"click"],[1,"the-form",3,"formGroup"],[4,"ngIf"],[1,"form-full-width"],["type","text","matInput","","placeholder","Enter KnowledgeBase Page Name","maxlength","50","name","newKbName","formControlName","newKbName"],["newKbName",""],["align","start"],["align","end"],["mat-stretch-tabs","true","color","primary"],["label","Publishing"],["color","accent"],["label","No Password",1,"custpage-pub-nopass"],[1,"custpage-setting-cntr"],["formControlName","hidePublishKbCookieConsentBanner"],["id","publishKb","formControlName","kbPublishToggle"],["class","instructions-para",4,"ngIf"],["class","button-center","type","color","name","publishKbBackgroun
1dColor","formControlName","publishKbBackgroundColor",4,"ngIf"],["label","Require Password",1,"custpage-pub-pass"],["formControlName","hidePPPublishKbCookieConsentBanner"],["id","ppPublishKb","formControlName","ppKbPublishToggle"],["class","form-full-width",4,"ngIf"],["class","button-center","type","color","name","publishWithPwdKbBackgroundColor","formControlName","publishWithPwdKbBackgroundColor",4,"ngIf"],["label","Embedding"],["label","No Password",1,"custpage-embed-nopass"],["formControlName","hideEmbedKbCookieConsentBanner"],["id","embedKb","formControlName","kbEmbedToggle"],["class","button-center","type","color","name","embedKbBackgroundColor","formControlName","embedKbBackgroundColor",4,"ngIf"],["label","Require Password",1,"custpage-embed-pass"],["formControlName","hidePPEmbedKbCookieConsentBanner"],["id","ppEmbedKb","formControlName","ppKbEmbedToggle"],["class","button-center","type","color","name","embedWithPwdKbBackgroundColor","formControlName","embedWithPwdKbBackgroundColor",4,"ngIf"],[1,"instructions-para"],["type","color","name","publishKbBackgroun
1dColor","formControlName","publishKbBackgroundColor",1,"button-center"],["matInput","","placeholder","Enter Password","formControlName","kbPublishPassword",3,"type"],["matSuffix","",3,"click"],["type","color","name","publishWithPwdKbBackgroundColor","formControlName","publishWithPwdKbBackgroundColor",1,"button-center"],["type","color","name","embedKbBackgroundColor","formControlName","embedKbBackgroundColor",1,"button-center"],["matInput","","placeholder","Enter Password","formControlName","kbEmbedPassword",3,"type"],["type","color","name","embedWithPwdKbBackgroundColor","formControlName","embedWithPwdKbBackgroundColor",1,"button-center"],["id","addkbdilg-cancl","type","button","mat-button","",3,"click"],["id","addkbdilg-save","type","button","mat-raised-button","","cdkFocusInitial","",3,"disabled","click"],["class","app-spinner",4,"ngIf"],[1,"app-spinner"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"button",1),t.NdJ("click",function(){return i.close()}),t.TgZ(2,"mat-icon"),t._uU(3,"close"),t.qZA()(),t.TgZ(4,"div",2)(5,"p",3),t._uU(6,"Knowledge Base Page Settings"),t.qZA()(),t.YNc(7,Ho,3,0,"div",4),t.YNc(8,Lo,3,0,"div",5),t.YNc(9,ri,51,14,"div",4),t.YNc(10,ci,6,2,"div",5),t.qZA()),2&e&&(t.xp6(7),t.Q6J("ngIf",i.orgCustomKbpLimitReached),t.xp6(1),t.Q6J("ngIf",i.orgCustomKbpLimitReached),t.xp6(1),t.Q6J("ngIf",!i.orgCustomKbpLimitReached),t.xp6(1),t.Q6J("ngIf",!i.orgCustomKbpLimitReached))},dependencies:[A.O5,l._Y,l.Fj,l.JJ,l.JL,l.nD,l.sg,l.u,E.TO,E.KE,E.bx,E.R9,j.Nt,H.lW,T.uh,T.H8,W.Hw,ct.Ou,ht.Rr,tt.SP,tt.uX],encapsulation:2}),o})(),di=(()=>{class o{constructor(e){this.dialog=e}open(e){const i=new T.vA;i.disableClose=!0,i.autoFocus=!0,i.height="90%",i.width="90%",i.maxWidth="600px",i.maxHeight="700px",i.data={orgName:e.selectedOrgName,userAccess:e.userAccess,orgCustomKbpLimitReached:e.orgCustomKbpLimitReached},i.panelClass=["dz-dialog-container","add-kb-page-dialog"],this.dialogRef=this.dialog.open(li,i)}confirmed(){return this.dialogRef.afterClosed().pipe((0,dt.q)(1),(0,_t.U)(e=>e))}}return o.\u0275fac=function(e){return new(e||o)(t.LFG(T.uw))},o.\u0275prov=t.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function _i(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw();
1t.xp6(1),t.hij(" ",e.genericErrMsg," ")}}function gi(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Use only these [a-z, A-Z, 0-9, -, whitespace] & Max 50 chars. "),t.qZA())}function mi(o,n){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,gi,2,0,"mat-error",6),t.qZA()),2&o){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",e.kbPageForm.controls.currentKbName.errors.pattern)}}function pi(o,n){1&o&&(t.TgZ(0,"div",43),t._UZ(1,"input",44),t.TgZ(2,"p",45),t._uU(3,"Page background color"),t.qZA()())}function hi(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Password is required. "),t.qZA())}function ui(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Password must be at least 12 characters long. "),t.qZA())}function fi(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Password must not exceed 20 characters. "),t.qZA())}function bi(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-form-field",7),t._UZ(1,"input",46,47),t.TgZ(3,"mat-icon",48),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.togglePublishPwdVisibility())}),t._uU(4),t.qZA(),t.TgZ(5,"mat-hint",11),t._uU(6),t.qZA(),t.YNc(7,hi,2,0,"mat-error",6),t.YNc(8,ui,2,0,"mat-error",6),t.YNc(9,fi,2,0,"mat-error",6),t.qZA()}if(2&o){const e=t.MAs(2),i=t.oxw();t.xp6(1),t.Q6J("type",i.publishPwdVisible?"text":"password")("value",e),t.xp6(3),t.hij(" ",i.publishPwdVisible?"visibility_off":"visibility"," "),t.xp6(2),t.hij("",(null==i.kbPageForm.get("kbPublishPassword").value?null:i.kbPageForm.get("kbPublishPassword").value.length)||0," / 20"),t.xp6(1),t.Q6J("ngIf",i.kbPageForm.get("kbPublishPassword").hasError("required")),t.xp6(1),t.Q6J("ngIf",i.kbPageForm.get("kbPublishPassword").hasError("minlength")),t.xp6(1),t.Q6J("ngIf",i.kbPageForm.get("kbPublishPassword").hasError("maxlength"))}}function wi(o,n){1&o&&(t.TgZ(0,"div",43),t._UZ(1,"input",49),t.TgZ(2,"p",45),t._uU(3,"Page background color"),t.qZA()())}function Ci(o,n){1&o&&(t.TgZ(0,"div",43),t._UZ(1,"input",50),t.TgZ(2,"p",45),t._uU(3,"Page background color"),t.qZA()())}function yi(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Password is required. "),t.qZA())}function Ti(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Password must be at least 12 characters long. "),t.qZA())}function xi(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Password must not exceed 20 characters. "),t.qZA())}function vi(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-form-field",7),t._UZ(1,"input",51,52),t.TgZ(3,"mat-icon",48),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.toggleEmbedPwdVisibility())}),t._uU(4),t.qZA(),t.TgZ(5,"mat-hint",11),t._uU(6),t.qZA(),t.YNc(7,yi,2,0,"mat-error",6),t.YNc(8,Ti,2,0,"mat-error",6),t.YNc(9,xi,2,0,"mat-error",6),t.qZA()}if(2&o){const e=t.MAs(2),i=t.oxw();t.xp6(1),t.Q6J("value",e)("type",i.embedPwdVisible?"text":"password"),t.xp6(3),t.hij(" ",i.embedPwdVisible?"visibility_off":"visibility"," "),t.xp6(2),t.hij("",(null==i.kbPageForm.get("kbEmbedPassword").value?null:i.kbPageForm.get("kbEmbedPassword").value.length)||0," / 20"),t.xp6(1),t.Q6J("ngIf",i.kbPageForm.get("kbEmbedPassword").hasError("required")),t.xp6(1),t.Q6J("ngIf",i.kbPageForm.get("kbEmbedPassword").hasError("minlength")),t.xp6(1),t.Q6J("ngIf",i.kbPageForm.get("kbEmbedPassword").hasError("maxlength"))}}function Pi(o,n){1&o&&(t.TgZ(0,"div",43),t._UZ(1,"input",53),t.TgZ(2,"p",45),t._uU(3,"Page background color"),t.qZA()())}function ki(o,n){1&o&&t._UZ(0,"mat-spinner",54)}let Fi=(()=>{class o{constructor(e,i,a,s,r){this.ngZone=e,this.dialogRef=i,this._orgService=a,this.data=r,this.genericErrMsg="",this.genericErr=!1,this.loading=!1,this.userAccess="",this.publishPwdVisible=!1,this.embedPwdVisible=!1,this.sessionStorage=s,this.userAccess=r.userAccess,this.selectedKbPage=r.selectedKbPage,this.orgName=r.orgName,this.currentKbName=r.selectedKbPage.customPageName,this.hidePublishKbCookieConsentBanner=r.selectedKbPage.hideCookieConsentBannerPublishView,this.publishKbBackgroun
1dColor=r.selectedKbPage.publishBackgroundColor,this.kbPublishToggle=r.selectedKbPage.isCustomPagePublished,this.ppKbPublishToggle=r.selectedKbPage.isPublishedWithPassword,this.hidePPPublishKbCookieConsentBanner=r.selectedKbPage.hideCookieConsentBannerPublishViewWithPassword,this.publishWithPwdKbBackgroundColor=r.selectedKbPage.publishWithPasswordBackgroundColor,this.kbPublishPassword=r.selectedKbPage.publishPagePassword,this.kbEmbedToggle=r.selectedKbPage.canCustomPageEmbed,this.embedKbBackgroundColor=r.selectedKbPage.embedBackgroundColor,this.hideEmbedKbCookieConsentBanner=r.selectedKbPage.hideCookieConsentBannerEmbedView,this.ppKbEmbedToggle=r.selectedKbPage.canEmbedWithPassword,this.hidePPEmbedKbCookieConsentBanner=r.selectedKbPage.hideCookieConsentBannerEmbedViewWithPassword,this.embedWithPwdKbBackgroundColor=r.selectedKbPage.embedWithPasswordBackgroundColor,this.kbEmbedPassword=r.selectedKbPage.embedPagePassword}ngOnInit(){this.kbPageForm=new l.nJ({currentKbName:new l.p4("",[l.kI.required,l.kI.pattern("^[a-zA-Z0-9\\- ]+([a-zA-Z0-9\\- ])*$")]),kbPublishToggle:new l.p4(!1),publishKbBackgroun
1dColor:new l.p4("#ffffff"),hidePublishKbCookieConsentBanner:new l.p4(!1),ppKbPublishToggle:new l.p4(!1),publishWithPwdKbBackgroundColor:new l.p4("#ffffff"),kbPublishPassword:new l.p4(""),hidePPPublishKbCookieConsentBanner:new l.p4(!1),kbEmbedToggle:new l.p4(!1),embedKbBackgroundColor:new l.p4("#ffffff"),hideEmbedKbCookieConsentBanner:new l.p4(!1),ppKbEmbedToggle:new l.p4(!1),kbEmbedPassword:new l.p4(""),embedWithPwdKbBackgroundColor:new l.p4("#ffffff"),hidePPEmbedKbCookieConsentBanner:new l.p4(!1)}),this.setupKbPagePasswordControl(),this.kbPageForm.controls.currentKbName.setValue(this.currentKbName),this.kbPageForm.controls.hidePublishKbCookieConsentBanner.setValue(!(!this.hidePublishKbCookieConsentBanner||"Y"!==this.hidePublishKbCookieConsentBanner)),this.kbPageForm.controls.kbPublishToggle.setValue(!(!this.kbPublishToggle||"Y"!==this.kbPublishToggle)),this.kbPageForm.controls.publishKbBackgroundColor.setValue(this.publishKbBackgroundColor),this.kbPageForm.controls.ppKbPublishToggle.setValue(!(!this.ppKbPublishToggle||"Y"!==this.ppKbPublishToggle)),this.kbPageForm.controls.hidePPPublishKbCookieConsentBanner.setValue(!(!this.hidePPPublishKbCookieConsentBanner||"Y"!==this.hidePPPublishKbCookieConsentBanner)),this.kbPageForm.controls.publishWithPwdKbBackgroun
1dColor.setValue(this.publishWithPwdKbBackgroundColor),this.kbPageForm.controls.kbPublishPassword.setValue(this.kbPublishPassword),this.kbPageForm.controls.kbEmbedToggle.setValue(!(!this.kbEmbedToggle||"Y"!==this.kbEmbedToggle)),this.kbPageForm.controls.hideEmbedKbCookieConsentBanner.setValue(!(!this.hideEmbedKbCookieConsentBanner||"Y"!==this.hideEmbedKbCookieConsentBanner)),this.kbPageForm.controls.ppKbEmbedToggle.setValue(!(!this.ppKbEmbedToggle||"Y"!==this.ppKbEmbedToggle)),this.kbPageForm.controls.embedKbBackgroundColor.setValue(this.embedKbBackgroundColor),this.kbPageForm.controls.hidePPEmbedKbCookieConsentBanner.setValue(!(!this.hidePPEmbedKbCookieConsentBanner||"Y"!==this.hidePPEmbedKbCookieConsentBanner)),this.kbPageForm.controls.embedWithPwdKbBackgroundColor.setValue(this.embedWithPwdKbBackgroundColor),this.kbPageForm.controls.kbEmbedPassword.setValue(this.kbEmbedPassword)}setupKbPagePasswordControl(){this.kbPageForm.get("ppKbPublishToggle").valueChanges.subscribe(a=>{const s=this.kbPageForm.get("kbPublishPassword");s.setValidators(a?[l.kI.required,l.kI.minLength(12),l.kI.maxLength(20)]:null),s.updateValueAndValidity()}),this.kbPageForm.get("ppKbEmbedToggle").valueChanges.subscribe(a=>{const s=this.kbPageForm.get("kbEmbedPassword");s.setValidators(a?[l.kI.required,l.kI.minLength(12),l.kI.maxLength(20)]:null),s.updateValueAndValidity()})}togglePublishPwdVisibility(){this.publishPwdVisible=!this.publishPwdVisible}toggleEmbedPwdVisibility(){this.embedPwdVisible=!this.embedPwdVisible}editKnowledgebasePage(){this.loading=!0;let e={orgCustomPageId:this.data.selectedKbPage.customPageId,customPageName:this.kbPageForm.get("currentKbName").value,customPageType:"kbp",canPublish:!0===this.kbPageForm.get("kbPublishToggle").value?"Y":"N",publishKbBackgroun
1dColor:this.kbPageForm.get("publishKbBackgroundColor").value,hideCookieConsentPublishView:!0===this.kbPageForm.get("hidePublishKbCookieConsentBanner").value?"Y":"N",canPublishWithPassword:!0===this.kbPageForm.get("ppKbPublishToggle").value?"Y":"N",passwordForPublishPage:this.kbPageForm.get("kbPublishPassword").value,hideCookieConsentOnPwdProtectedPublishView:!0===this.kbPageForm.get("hidePPPublishKbCookieConsentBanner").value?"Y":"N",publishWithPwdKbBackgroundColor:this.kbPageForm.get("publishWithPwdKbBackgroundColor").value,canEmbed:!0===this.kbPageForm.get("kbEmbedToggle").value?"Y":"N",hideCookieConsentEmbedView:!0===this.kbPageForm.get("hideEmbedKbCookieConsentBanner").value?"Y":"N",embedKbBackgroundColor:this.kbPageForm.get("embedKbBackgroundColor").value,canEmbedWithPassword:!0===this.kbPageForm.get("ppKbEmbedToggle").value?"Y":"N",passwordForEmbedPage:this.kbPageForm.get("kbEmbedPassword").value,hideCookieConsentOnPwdProtectedEmbedView:!0===this.kbPageForm.get("hidePPEmbedKbCookieConsentBanner").value?"Y":"N",embedWithPwdKbBackgroun
1dColor:this.kbPageForm.get("embedWithPwdKbBackgroundColor").value,orgName:this.orgName,userAccess:this.userAccess};return this._orgService.editKnowledgebasePage(e).subscribe(i=>{var s,a=i.responseBody;s=this.sessionStorage.getObject("userProfile");let c=this;d.filter(s.userOrg,function(m){return m.orgName===c.orgName})[0].orgCustomPageDetails=a,this.sessionStorage.setObject("userProfile",s),this.genericErr=!1,this.loading=!1,this.dialogRef.close(!0)},i=>{this.loading=!1,this.genericErr=!0,this.genericErrMsg=i&&i.error?i.error.statusMessage:""}),this.dialogRef.afterClosed()}close(){this.ngZone.run(()=>{this.dialogRef.close(!1)})}onEsc(){this.close()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.R0b),t.Y36(T.so),t.Y36(bt.Q),t.Y36(R.qo),t.Y36(T.WI))},o.\u0275cmp=t.Xpm({type:o,selectors:[["ng-component"]],hostBindings:function(e,i){1&e&&t.NdJ("keydown.esc",function(){return i.onEsc()},!1,t.evT)},decls:68,vars:21,consts:[[1,"dz-dialog-subcontainer","edit-kb"],["id","editkbdilg-close","mat-button","","aria-label","Close edit knowledgebase dialog.",1,"close-cross","dz-dialog-close",3,"click"],[1,"dz-dialog-top"],["mat-dialog-title","",1,"editformtitle"],[1,"dz-dialog-scrolling-body"],[1,"the-form",3,"formGroup"],[4,"ngIf"],[1,"form-full-width"],["type","text","matInput","","placeholder","Enter KnowledgeBase Page Name","maxlength","50","name","currentKbName","formControlName","currentKbName",3,"value"],["currentKbName",""],["align","start"],["align","end"],["mat-stretch-tabs","true","color","primary"],["label","Publishing"],["color","accent"],["label","No Password",1,"custpage-pub-nopass"],[1,"custpage-setting-cntr"],["formControlName","hidePublishKbCookieConsentBanner",3,"checked"],["hidePublishKbCookieConsentBanner",""],["id","publishKb","formControlName","kbPublishToggle",3,"checked"],["kbPublishToggle",""],["class","custpage-setting-colrpkr",4,"ngIf"],["label","Require Password",1,"custpage-pub-pass"],["formControlName","hidePPPublishKbCookieConsentBanner",3,"checked"],["hidePPPublishKbCookieConsentBanner",""],["id","ppPublishKb","formControlName","ppKbPublishToggle",3,"checked"],["ppKbPublishToggle",""],["class","form-full-width",4,"ngIf"],["label","Embedding"],["label","No Password",1,"custpage-embed-nopass"],["formControlName","hideEmbedKbCookieConsentBanner",3,"checked"],["hideEmbedKbCookieConsentBanner",""],["id","embedKb","formControlName","kbEmbedToggle",3,"checked"],["kbEmbedToggle",""],["label","Require Password",1,"custpage-embed-pass"],["formControlName","hidePPEmbedKbCookieConsentBanner",3,"checked"],["hidePPEmbedKbCookieConsentBanner",""],["id","ppEmbedKb","formControlName","ppKbEmbedToggle",3,"checked"],["ppKbEmbedToggle",""],["mat-dialog-actions","",1,"dz-dialog-bottom","dialogue-buttons"],["id","editkbdilg-cancl","type","button","mat-button","",3,"click"],["id","editkbdilg-save","type","button","mat-raised-button","","cdkFocusInitial","",3,"disabled","click"],["class","app-spinner",4,"ngIf"],[1,"custpage-setting-colrpkr"],["type","color","name","publishKbBackgroun
1dColor","formControlName","publishKbBackgroundColor",1,"button-center"],[1,"instructions-para"],["matInput","","placeholder","Enter Password","formControlName","kbPublishPassword",3,"type","value"],["kbPublishPassword",""],["matSuffix","",3,"click"],["type","color","name","publishWithPwdKbBackgroundColor","formControlName","publishWithPwdKbBackgroundColor",1,"button-center"],["type","color","name","embedKbBackgroundColor","formControlName","embedKbBackgroundColor",1,"button-center"],["matInput","","placeholder","Enter Password","formControlName","kbEmbedPassword",3,"value","type"],["kbEmbedPassword",""],["type","color","name","embedWithPwdKbBackgroundColor","formControlName","embedWithPwdKbBackgroundColor",1,"button-center"],[1,"app-spinner"]],template:function(e,i){if(1&e&&(t.TgZ(0,"div",0)(1,"button",1),t.NdJ("click",function(){return i.close()}),t.TgZ(2,"mat-icon"),t._uU(3,"close"),t.qZA()(),t.TgZ(4,"div",2)(5,"p",3),t._uU(6,"Edit Knowledge Base Page Settings"),t.qZA()(),t.TgZ(7,"div",4)(8,"form",5),t.YNc(9,_i,2,1,"mat-error",6),t.TgZ(10,"mat-form-field",7),t._UZ(11,"input",8,9),t.TgZ(13,"mat-hint",10)(14,"strong"),t._uU(15,"Use only these [a-z, A-Z, 0-9, -, whitespace] & Max 50 chars."),t.qZA()(),t.TgZ(16,"mat-hint",11),t._uU(17),t.qZA()(),t.YNc(18,mi,2,1,"div",6),t.TgZ(19,"mat-tab-group",12)(20,"mat-tab",13)(21,"mat-tab-group",14)(22,"mat-tab",15)(23,"div",16)(24,"mat-slide-toggle",17,18),t._uU(26,"Do NOT ask viewer for Cookie Consent"),t.qZA(),t.TgZ(27,"mat-slide-toggle",19,20),t._uU(29,"Publish this KB page without requiring any password to access"),t.qZA(),t.YNc(30,pi,4,0,"div",21),t.qZA()(),t.TgZ(31,"mat-tab",22)(32,"div",16)(33,"mat-slide-toggle",23,24),t._uU(35,"Do NOT ask viewer for Cookie Consent"),t.qZA(),t.TgZ(36,"mat-slide-toggle",25,26),t._uU(38,"Publish this KB page and require password to access"),t.qZA(),t.YNc(39,bi,10,7,"mat-form-field",27),t.YNc(40,wi,4,0,"div",21),t.qZA()()()(),t.TgZ(41,"mat-tab",28)(42,"mat-tab-group",14)(43,"mat-tab",29)(44,"div",16)(45,"mat-slide-toggle",30,31),t._uU(47,"Do NOT ask viewer for Cookie Consent"),t.qZA(),t.TgZ(48,"mat-slide-toggle",32,33),t._uU(50,"Embed this KB page without requiring any password to access"),t.qZA(),t.YNc(51,Ci,4,0,"div",21),t.qZA()(),t.TgZ(52,"mat-tab",34)(53,"div",16)(54,"mat-slide-toggle",35,36),t._uU(56,"Do NOT ask viewer for Cookie Consent"),t.qZA(),t.TgZ(57,"mat-slide-toggle",37,38),t._uU(59,"Embed this KB page and require password to access"),t.qZA(),t.YNc(60,vi,10,7,"mat-form-field",27),t.YNc(61,Pi,4,0,"div",21),t.qZA()()()()()()(),t.TgZ(62,"div",39)(63,"button",40),t.NdJ("click",function(){return i.close()}),t._uU(64,"Cancel"),t.qZA(),t.TgZ(65,"button",41),t.NdJ("click",function(){return i.editKnowledgebasePage()}),t.YNc(66,ki,1,0,"mat-spinner",42),t._uU(67,"Save "),t.qZA()()()),2&e){const a=t.MAs(12),s=t.MAs(25),r=t.MAs(28),c=t.MAs(34),g=t.MAs(37),m=t.MAs(46),w=t.MAs(49),C=t.MAs(55),p=t.MAs(58);t.xp6(8),t.Q6J("formGroup",i.kbPageForm),t.xp6(1),t.Q6J("ngIf",i.genericErr),t.xp6(2),t.Q6J("value",a),t.xp6(6),t.hij("",(null==a.value?null:a.value.length)||0," / 50"),t.xp6(1),t.Q6J("ngIf",i.kbPageForm.get("currentKbName").errors&&(i.kbPageForm.get("currentKbName").dirty||i.kbPageForm.get("currentKbName").touched)),t.xp6(6),t.Q6J("checked",s),t.xp6(3),t.Q6J("checked",r),t.xp6(3),t.Q6J("ngIf",i.kbPageForm.get("kbPublishToggle").value),t.xp6(3),t.Q6J("checked",c),t.xp6(3),t.Q6J("checked",g),t.xp6(3),t.Q6J("ngIf",i.kbPageForm.get("ppKbPublishToggle").value),t.xp6(1),t.Q6J("ngIf",i.kbPageForm.get("ppKbPublishToggle").value),t.xp6(5),t.Q6J("checked",m),t.xp6(3),t.Q6J("checked",w),t.xp6(3),t.Q6J("ngIf",i.kbPageForm.get("kbEmbedToggle").value),t.xp6(3),t.Q6J("checked",C),t.xp6(3),t.Q6J("checked",p),t.xp6(3),t.Q6J("ngIf",i.kbPageForm.get("ppKbEmbedToggle").value),t.xp6(1),t.Q6J("ngIf",i.kbPageForm.get("ppKbEmbedToggle").value),t.xp6(4),t.Q6J("disabled",i.kbPageForm.invalid),t.xp6(1),t.Q6J("ngIf",i.loading)}},dependencies:[A.O5,l._Y,l.Fj,l.JJ,l.JL,l.nD,l.sg,l.u,E.TO,E.KE,E.bx,E.R9,j.Nt,H.lW,T.uh,T.H8,W.Hw,ct.Ou,ht.Rr,tt.SP,tt.uX],encapsulation:2}),o})(),Si=(()=>{class o{constructor(e){this.dialog=e}open(e){const i=new T.vA;i.disableClose=!0,i.autoFocus=!0,i.height="90%",i.width="90%",i.maxWidth="600px",i.maxHeight="700px",i.data={selectedKbPage:e.selectedKbPage,orgName:e.orgName,userAccess:e.userAccess},i.panelClass=["dz-dialog-container","edit-kb-page-dialog"],this.dialogRef=this.dialog.open(Fi,i)}confirmed(){return this.dialogRef.afterClosed().pipe((0,dt.q)(1),(0,_t.U)(e=>e))}}return o.\u0275fac=function(e){return new(e||o)(t.LFG(T.uw))},o.\u0275prov=t.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();var Zi=b(3238),it=b(37084),Oi=b(98739),Ai=b(84385),Ft=b(96308),Ni=b(83683);let Ei=(()=>{class o{transform(e,i){let a=[];for(let s in e)a.push({key:s,value:e[s]});return a}}return o.\u0275fac=function(e){return new(e||o)}
1,o.\u0275pipe=t.Yjl({name:"keys",type:o,pure:!0}),o})();const Di=["favPaginator"],Ii=["favSort"],Ui=["fcOwnerPaginator"],Mi=["fcOwnerSort"],qi=["webhookEventPaginator"],Hi=["webhookEventSort"],Li=["orgKbPagesSort"],Ri=["orgFcOwnerPaginator"],Ji=["orgFcOwnerSort"],Yi=["fcSharedPaginator"],Ki=["fcSharedSort"],Qi=["orgFcEntityActionPaginator"],Bi=["orgFcEntityActionSort"],Gi=["orgWebhookSubscribedEventsPaginator"],Vi=["orgWebhookSubscribedEventsSort"];function Wi(o,n){1&o&&(t.TgZ(0,"p",18),t._uU(1," You are not a member of any organization currently. "),t.qZA())}function zi(o,n){1&o&&t._UZ(0,"mat-spinner",24)}function ji(o,n){if(1&o&&(t.TgZ(0,"div",25),t._uU(1),t.qZA()),2&o){const e=t.oxw().$implicit,i=t.oxw();t.xp6(1),t.hij(" ",i.selectedOrgDisplayName?i.selectedOrgDisplayName:e," Flowcharts you can EDIT: ")}}function $i(o,n){1&o&&(t.TgZ(0,"th",82),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," FlowchartName "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Xi(o,n){1&o&&t._UZ(0,"mat-spinner",24)}function ta(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"td",83)(1,"a",84),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(3);return a.stopPropagation(),t.KtG(c.loadFlowchart(r))}),t.YNc(2,Xi,1,0,"mat-spinner",9),t._uU(3),t.qZA()()}if(2&o){const e=n.$implicit,i=t.oxw(3);t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(1),t.Q6J("ngIf",i.loadingFc&&i.loadingFcId===e.flowchartId),t.xp6(1),t.hij("",e.flowchartName," ")}}function ea(o,n){1&o&&(t.TgZ(0,"th",85),t._uU(1," Actions "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function oa(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",90),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(2).index,c=t.oxw();return a.stopPropagation(),t.KtG(c.deleteSelectedFlowchart(s,c.selectedOrgFcOwnerList,r))}),t.TgZ(1,"mat-icon"),t._uU(2,"delete_forever"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ia(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",91),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(2).index,c=t.oxw();return a.stopPropagation(),t.KtG(c.refreshSelectedFlowchart(s,c.selectedOrgFcOwnerList,r))}),t.TgZ(1,"mat-icon"),t._uU(2,"refresh"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function aa(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",92),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.exportFlowchartActivity(s))}),t.TgZ(1,"mat-icon"),t._uU(2,"list_alt"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function na(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"td",83)(1,"button",86),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(2).index,g=t.oxw();return a.stopPropagation(),t.KtG(g.editFlowchartProperties(r,g.selectedOrgFcOwnerList,c))}),t.TgZ(2,"mat-icon"),t._uU(3,"mode_edit"),t.qZA()(),t.YNc(4,oa,3,2,"button",87),t.YNc(5,ia,3,2,"button",88),t.YNc(6,aa,3,2,"button",89),t.qZA()}if(2&o){const e=n.$implicit,i=t.oxw(3);t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(3),t.Q6J("ngIf",e.canDeleteFc),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor)}}function ra(o,n){1&o&&(t.TgZ(0,"th",95),t._uU(1," OrgHome "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function sa(o,n){1&o&&(t.TgZ(0,"span",99)(1,"button",100)(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ca(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",101),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.addFcToOrgHome(r.selectedOrgFcOwnerList,s))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box_outline_blank"),t.qZA()()}}function la(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",102),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.removeFcFromOrgHome(r.selectedOrgFcOwnerList,s))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function da(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,sa,4,2,"span",96
1),t.YNc(2,ca,3,0,"button",97),t.YNc(3,la,3,0,"button",98),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!1===e.orgHomeFlag&&"N"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!1===e.orgHomeFlag&&"Y"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!0===e.orgHomeFlag)}}function _a(o,n){1&o&&(t.ynx(0,93),t.YNc(1,ra,2,2,"th",94),t.YNc(2,da,4,3,"td",34),t.BQk())}function ga(o,n){if(1&o&&(t.TgZ(0,"th",105),t._uU(1),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(1),t.hij(" ",e.kbhomeNames[1]," ")}}function ma(o,n){1&o&&(t.TgZ(0,"span",109)(1,"button",110)(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function pa(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",111),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.addFcToKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[1],1))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box_outline_blank"),t.qZA()()}}function ha(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",112),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.removeFcFromKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[1],1))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function ua(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,ma,4,2,"span",106),t.YNc(2,pa,3,0,"button",107),t.YNc(3,ha,3,0,"button",108),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!1===e.kbHome1Flag&&"N"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!1===e.kbHome1Flag&&"Y"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!0===e.kbHome1Flag)}}function fa(o,n){1&o&&(t.ynx(0,103),t.YNc(1,ga,2,3,"th",104),t.YNc(2,ua,4,3,"td",34),t.BQk())}function ba(o,n){if(1&o&&(t.TgZ(0,"th",105),t._uU(1),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(1),t.hij(" ",e.kbhomeNames[2]," ")}}function wa(o,n){1&o&&(t.TgZ(0,"span",109)(1,"button",116)(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Ca(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",117),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.addFcToKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[2],2))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box_outline_blank"),t.qZA()()}}function ya(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",118),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.removeFcFromKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[2],2))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function Ta(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,wa,4,2,"span",106),t.YNc(2,Ca,3,0,"button",114),t.YNc(3,ya,3,0,"button",115),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!1===e.kbHome2Flag&&"N"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!1===e.kbHome2Flag&&"Y"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!0===e.kbHome2Flag)}}function xa(o,n){1&o&&(t.ynx(0,113),t.YNc(1,ba,2,3,"th",104),t.YNc(2,Ta,4,3,"td",34),t.BQk())}function va(o,n){if(1&o&&(t.TgZ(0,"th",105),t._uU(1),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(1),t.hij(" ",e.kbhomeNames[3]," ")}}function Pa(o,n){1&o&&(t.TgZ(0,"span",109)(1,"button",122)(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ka(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",123),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.addFcToKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[3],3))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box_outline_blank"),t.qZA()()}}function Fa(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",124),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.removeFcFromKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[3],3))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function Sa(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,Pa,4,2,"span",106),t.YNc(2,ka,3,0,"button",120),t.YNc(3,Fa,3,0,"button",121),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!1===e.kbHome3Flag&&"N"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!1===e.kbHome3Flag&&"Y"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!0===e.kbHome3Flag)}}function Za(o,n){1&o&&(t.ynx(0,119),t.YNc(1,va,2,3,"th",104),t.YNc(2,Sa,4,3,"td",34),t.BQk())}function Oa(o,n){if(1&o&&(t.TgZ(0,"th",105),t._uU(1),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(1),t.hij(" ",e.kbhomeNames[4]," ")}}function Aa(o,n){1&o&&(t.TgZ(0,"span",109)(1,"button",128)(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Na(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",129),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.addFcToKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[4],4))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box_outline_blank"),t.qZA()()}}function Ea(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",130),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.removeFcFromKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[4],4))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function Da(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,Aa,4,2,"span",106),t.YNc(2,Na,3,0,"button",126),t.YNc(3,Ea,3,0,"button",127),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!1===e.kbHome4Flag&&"N"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!1===e.kbHome4Flag&&"Y"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!0===e.kbHome4Flag)}}function Ia(o,n){1&o&&(t.ynx(0,125),t.YNc(1,Oa,2,3,"th",104),t.YNc(2,Da,4,3,"td",34),t.BQk())}function Ua(o,n){if(1&o&&(t.TgZ(0,"th",105),t._uU(1),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(1),t.hij(" ",e.kbhomeNames[5]," ")}}function Ma(o,n){1&o&&(t.TgZ(0,"span",109)(1,"button",134)(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function qa(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",135),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.addFcToKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[5],5))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box_outline_blank"),t.qZA()()}}function Ha(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",136),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.removeFcFromKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[5],5))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function La(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,Ma,4,2,"span",106),t.YNc(2,qa,3,0,"button",132),t.YNc(3,Ha,3,0,"button",133),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!1===e.kbHome5Flag&&"N"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!1===e.kbHome5Flag&&"Y"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!0===e.kbHome5Flag)}}function Ra(o,n){1&o&&(t.ynx(0,131),t.YNc(1,Ua,2,3,"th",104),t.YNc(2,La,4,3,"td",34),t.BQk())}function Ja(o,n){if(1&o&&(t.TgZ(0,"th",105),t._uU(1),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(1),t.hij(" ",e.kbhomeNames[6]," ")}}function Ya(o,n){1&o&&(t.TgZ(0,"span",109)(1,"button",140)(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Ka(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",141),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.addFcToKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[6],6))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box_outline_blank"),t.qZA()()}}function Qa(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",142),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.removeFcFromKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[6],6))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function Ba(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,Ya,4,2,"span",106),t.YNc(2,Ka,3,0,"button",138),t.YNc(3,Qa,3,0,"button",139),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!1===e.kbHome6Flag&&"N"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!1===e.kbHome6Flag&&"Y"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!0===e.kbHome6Flag)}}function Ga(o,n){1&o&&(t.ynx(0,137),t.YNc(1,Ja,2,3,"th",104),t.YNc(2,Ba,4,3,"td",34),t.BQk())}function Va(o,n){if(1&o&&(t.TgZ(0,"th",105),t._uU(1),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(1),t.hij(" ",e.kbhomeNames[7]," ")}}function Wa(o,n){1&o&&(t.TgZ(0,"span",109)(1,"button",146)(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function za(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",147),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.addFcToKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[7],7))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box_outline_blank"),t.qZA()()}}function ja(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",148),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.removeFcFromKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[7],7))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function $a(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,Wa,4,2,"span",106),t.YNc(2,za,3,0,"button",144),t.YNc(3,ja,3,0,"button",145),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!1===e.kbHome7Flag&&"N"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!1===e.kbHome7Flag&&"Y"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!0===e.kbHome7Flag)}}function Xa(o,n){1&o&&(t.ynx(0,143),t.YNc(1,Va,2,3,"th",104),t.YNc(2,$a,4,3,"td",34),t.BQk())}function tn(o,n){if(1&o&&(t.TgZ(0,"th",105),t._uU(1),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(1),t.hij(" ",e.kbhomeNames[8]," ")}}function en(o,n){1&o&&(t.TgZ(0,"span",109)(1,"button",152)(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function on(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.addFcToKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[8],8))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box_outline_blank"),t.qZA()()}}function an(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",154),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.removeFcFromKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[8],8))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function nn(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,en,4,2,"span",106),t.YNc(2,on,3,0,"button",150),t.YNc(3,an,3,0,"button",151),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!1===e.kbHome8Flag&&"N"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!1===e.kbHome8Flag&&"Y"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!0===e.kbHome8Flag)}}function rn(o,n){1&o&&(t.ynx(0,149),t.YNc(1,tn,2,3,"th",104),t.YNc(2,nn,4,3,"td",34),t.BQk())}function sn(o,n){if(1&o&&(t.TgZ(0,"th",105),t._uU(1),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(1),t.hij(" ",e.kbhomeNames[9]," ")}}function cn(o,n){1&o&&(t.TgZ(0,"span",109)(1,"button",158)(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ln(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",159),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.addFcToKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[9],9))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box_outline_blank"),t.qZA()()}}function dn(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",160),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.removeFcFromKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[9],9))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function _n(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,cn,4,2,"span",106),t.YNc(2,ln,3,0,"button",156),t.YNc(3,dn,3,0,"button",157),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!1===e.kbHome9Flag&&"N"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!1===e.kbHome9Flag&&"Y"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!0===e.kbHome9Flag)}}function gn(o,n){1&o&&(t.ynx(0,155),t.YNc(1,sn,2,3,"th",104),t.YNc(2,_n,4,3,"td",34),t.BQk())}function mn(o,n){if(1&o&&(t.TgZ(0,"th",105),t._uU(1),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(1),t.hij(" ",e.kbhomeNames[10]," ")}}function pn(o,n){1&o&&(t.TgZ(0,"span",109)(1,"button",164)(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function hn(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",165),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.addFcToKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[10],10))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box_outline_blank"),t.qZA()()}}function un(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",166),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(4);return a.stopPropagation(),t.KtG(r.removeFcFromKnowledgebase(r.selectedOrgFcOwnerList,s,r.kbhomeNames[10],10))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function fn(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,pn,4,2,"span",106),t.YNc(2,hn,3,0,"button",162),t.YNc(3,un,3,0,"button",163),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!1===e.kbHome10Flag&&"N"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!1===e.kbHome10Flag&&"Y"===e.hasMaster),t.xp6(1),t.Q6J("ngIf",!0===e.kbHome10Flag)}}function bn(o,n){1&o&&(t.ynx(0,161),t.YNc(1,mn,2,3,"th",104),t.YNc(2,fn,4,3,"td",34),t.BQk())}function wn(o,n){1&o&&(t.TgZ(0,"th",167),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Version Count "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Cn(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.fcVersionCount," ")}}function yn(o,n){1&o&&(t.TgZ(0,"th",168),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," hasMaster? "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Tn(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.hasMaster)}}function xn(o,n){1&o&&(t.TgZ(0,"th",169),t._uU(1," Alert for No Master "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function vn(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"span",172)(1,"button",173),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.updateAlertNoMasterFlag(r.selectedOrgFcOwnerList,s,"Y"))}),t.TgZ(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Pn(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",173),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.updateAlertNoMasterFlag(r.selectedOrgFcOwnerList,s,"N"))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function kn(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,vn,4,2,"span",170),t.YNc(2,Pn,3,0,"button",171),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!e.alertNoMaster||"N"===e.alertNoMaster),t.xp6(1),t.Q6J("ngIf","Y"===e.alertNoMaster)}}function Fn(o,n){1&o&&(t.TgZ(0,"th",174),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Master Version "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Sn(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.masterFlowchartVersion," ")}}function Zn(o,n){1&o&&(t.TgZ(0,"t
1h",175),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," isPublished? "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function On(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.isPublished)}}function An(o,n){1&o&&(t.TgZ(0,"th",176),t._uU(1," Alert if Not Publish "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Nn(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"span")(1,"button",173),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.updateAlertNotPublishFlag(r.selectedOrgFcOwnerList,s,"Y"))}),t.TgZ(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()}}function En(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",173),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.updateAlertNotPublishFlag(r.selectedOrgFcOwnerList,s,"N"))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function Dn(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,Nn,4,0,"span",11),t.YNc(2,En,3,0,"button",171),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!e.alertNotPublish||"N"===e.alertNotPublish),t.xp6(1),t.Q6J("ngIf","Y"===e.alertNotPublish)}}function In(o,n){1&o&&(t.TgZ(0,"th",177),t._uU(1," Alert if Not Embed "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Un(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"span",179)(1,"button",173),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.updateAlertNotEmbedFlag(r.selectedOrgFcOwnerList,s,"Y"))}),t.TgZ(2,"mat-icon"),t._uU(3,"check_box_outline_blank"),t.qZA()()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Mn(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",173),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.updateAlertNotEmbedFlag(r.selectedOrgFcOwnerList,s,"N"))}),t.TgZ(1,"mat-icon"),t._uU(2,"check_box"),t.qZA()()}}function qn(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,Un,4,2,"span",178),t.YNc(2,Mn,3,0,"button",171),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf",!e.alertNotEmbed||"N"===e.alertNotEmbed),t.xp6(1),t.Q6J("ngIf","Y"===e.alertNotEmbed)}}function Hn(o,n){1&o&&(t.TgZ(0,"th",182),t._uU(1," Flowchart Copiable "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Ln(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.fcCopiable," ")}}function Rn(o,n){1&o&&(t.ynx(0,180),t.YNc(1,Hn,2,2,"th",181),t.YNc(2,Ln,2,1,"td",34),t.BQk())}function Jn(o,n){1&o&&(t.TgZ(0,"th",185),t._uU(1," Flowchart Append as Fragment "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Yn(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.fcAppendAsFragment," ")}}function Kn(o,n){1&o&&(t.ynx(0,183),t.YNc(1,Jn,2,2,"th",184),t.YNc(2,Yn,2,1,"td",34),t.BQk())}function Qn(o,n){1&o&&(t.TgZ(0,"th",188),t._uU(1," Copy/Append Clone-Groups allowed "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Bn(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.copyAppendClonegroupAllowed," ")}}function Gn(o,n){1&o&&(t.ynx(0,186),t.YNc(1,Qn,2,2,"th",187),t.YNc(2,Bn,2,1,"td",34),t.BQk())}function Vn(o,n){1&o&&(t.TgZ(0,"th",189),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Goal "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Wn(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.goalName)}}function zn(o,n){1&o&&(t.TgZ(0,"th",190),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Subcategory "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function jn(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.subCategoryName," ")}}function $n(o,n){1&o&&(t.TgZ(0,"th",191),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Category "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Xn(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.categoryName)}}function tr(o,n){1&o&&(t.TgZ(0,"th",192),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Author "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function er(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.creator)}}function or(o,n){1&o&&(t.TgZ(0,"th",195),t._uU(1," User Activity Persistance Days "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ir(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit,i=t.oxw(4);t.xp6(1),t.hij(" ",i.showUserActivityPersistDaysColumn?e.userActivityPersistanceDays:"[Disabled]"," ")}}function ar(o,n){1&o&&(t.ynx(0,193),t.YNc(1,or,2,2,"th",194),t.YNc(2,ir,2,1,"td",34),t.BQk())}function nr(o,n){if(1&o&&t._UZ(0,"div",201),2&o){const e=t.oxw().$implicit;
1t.Udp("background-image","url("+e.flowchartImageUrl+")")}}function rr(o,n){1&o&&(t.TgZ(0,"div",201),t._uU(1," No Image "),t.qZA())}function sr(o,n){if(1&o&&(t.TgZ(0,"p")(1,"strong"),t._uU(2,"Flowchart Description"),t.qZA(),t._uU(3),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(3),t.hij(": ",e.flowchartDescription," ")}}function cr(o,n){if(1&o&&(t.TgZ(0,"p")(1,"strong"),t._uU(2,"Keywords"),t.qZA(),t._uU(3),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(3),t.hij(": ",e.keywords," ")}}function lr(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"p")(1,"button",202),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.copyElementText("puburl-"+s.flowchartId,"puburl",s))}),t.TgZ(2,"mat-icon"),t._uU(3,"content_copy"),t.qZA()(),t._uU(4," \xa0\xa0 "),t.TgZ(5,"strong"),t._uU(6,"Published URL"),t.qZA(),t._uU(7,": "),t.TgZ(8,"span",203),t._uU(9),t.qZA()()}if(2&o){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(7),t.MGl("id","puburl-",e.flowchartId,""),t.xp6(1),t.Oqu("Y"===e.isPublished?e.publishedUrl:"")}}function dr(o,n){if(1&o&&(t.TgZ(0,"td",196)(1,"div",197),t.YNc(2,nr,1,2,"div",198),t.YNc(3,rr,2,0,"div",199),t.TgZ(4,"div",200),t.YNc(5,sr,4,1,"p",11),t.YNc(6,cr,4,1,"p",11),t.YNc(7,lr,10,4,"p",11),t.qZA()()()),2&o){const e=n.$implicit,i=t.oxw(3);t.uIk("colspan",i.columnsToDisplayForOrgOwner.length),t.xp6(1),t.Q6J("@detailExpand",e==i.ownerFcExpandedElement?"expanded":"collapsed"),t.xp6(1),t.Q6J("ngIf",e.flowchartImageUrl),t.xp6(1),t.Q6J("ngIf",!e.flowchartImageUrl),t.xp6(2),t.Q6J("ngIf",e.flowchartDescription),t.xp6(1),t.Q6J("ngIf",e.keywords),t.xp6(1),t.Q6J("ngIf","Y"===e.isPublished)}}function _r(o,n){1&o&&t._UZ(0,"tr",204)}function gr(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"tr",205),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(3);return a.stopPropagation(),t.KtG(c.ownerFcExpandedElement=c.ownerFcExpandedElement===r?null:r)}),t.qZA()}if(2&o){const e=n.$implicit,i=t.oxw(3);t.ekj("dztable-expanded-row",i.ownerFcExpandedElement===e)}}function mr(o,n){1&o&&t._UZ(0,"tr",206)}function pr(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",207),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw(2).$implicit,r=t.oxw();return a.stopPropagation(),t.KtG(r.goFlowchartPublishRestriction(s))}),t._uU(1," Manage Restricted-Published-URLs "),t.TgZ(2,"mat-icon"),t._uU(3,"open_in_new"),t.qZA()()}}const wt=function(){return["expandedDetail"]},at=function(){return[5,10,25,50,100]};function hr(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div",26),t.NdJ("click",function(a){return a.stopPropagation()}),t.TgZ(1,"mat-form-field",27)(2,"mat-label"),t._uU(3,"Filter"),t.qZA(),t.TgZ(4,"input",28),t.NdJ("keyup",function(a){t.CHM(e);const s=t.oxw().index,r=t.oxw();return a.stopPropagation(),t.KtG(r.applyOrgOwnerFilter(a,s))}),t.qZA()(),t.TgZ(5,"div",29)(6,"table",30,31),t.ynx(9,32),t.YNc(10,$i,2,2,"th",33),t.YNc(11,ta,4,4,"td",34),t.BQk(),t.ynx(12,35),t.YNc(13,ea,2,2,"th",36),t.YNc(14,na,7,5,"td",34),t.BQk(),t.YNc(15,_a,3,0,"ng-container",37),t.YNc(16,fa,3,0,"ng-container",38),t.YNc(17,xa,3,0,"ng-container",39),t.YNc(18,Za,3,0,"ng-container",40),t.YNc(19,Ia,3,0,"ng-container",41),t.YNc(20,Ra,3,0,"ng-container",42),t.YNc(21,Ga,3,0,"ng-container",43),t.YNc(22,Xa,3,0,"ng-container",44),t.YNc(23,rn,3,0,"ng-container",45),t.YNc(24,gn,3,0,"ng-container",46),t.YNc(25,bn,3,0,"ng-container",47),t.ynx(26,48),t.YNc(27,wn,2,2,"th",49),t.YNc(28,Cn,2,1,"td",34),t.BQk(),t.ynx(29,50),t.YNc(30,yn,2,2,"th",51),t.YNc(31,Tn,2,1,"td",34),t.BQk(),t.ynx(32,52),t.YNc(33,xn,2,2,"th",53),t.YNc(34,kn,3,2,"td",34),t.BQk(),t.ynx(35,54),t.YNc(36,Fn,2,2,"th",55),t.YNc(37,Sn,2,1,"td",34),t.BQk(),t.ynx(38,56),t.YNc(39,Zn,2,2,"th",57),t.YNc(40,On,2,1,"td",34),t.BQk(),t.ynx(41,58),t.YNc(42,An,2,2,"th",59),t.YNc(43,Dn,3,2,"td",34),t.BQk(),t.ynx(44,60),t.YNc(45,In,2,2,"th",61),t.YNc(46,qn,3,2,"td",34),t.BQk(),t.YNc(47,Rn,3,0,"ng-container",62),t.YNc(48,Kn,3,0,"ng-container",63),t.YNc(49,Gn,3,0,"ng-container",64),t.ynx(50,65),t.YNc(51,Vn,2,2,"th",66),t.YNc(52,Wn,2,1,"td",34),t.BQk(),t.ynx(53,67),t.YNc(54,zn,2,2,"th",68),t.YNc(55,jn,2,1,"td",34),t.BQk(),t.ynx(56,69),t.YNc(57,$n,2,2,"th",70),t.YNc(58,Xn,2,1,"td",34),t.BQk(),t.ynx(59,71),t.YNc(60,tr,2,2,"th",72),t.YNc(61,er,2,1,"td",34),t.BQk(),t.YNc(62,ar,3,0,"ng-container",73),t.ynx(63,74),t.YNc(64,dr,8,7,"td",75),t.BQk(),t.YNc(65,_r,1,0,"tr",76),t.YNc(66,gr,1,2,"tr",77),t.YNc(67,mr,1,0,"tr",78),t.qZA()(),t.TgZ(68,"mat-paginator",79,80),t.NdJ("click",function(a){return a.stopPropagation()}),t.qZA(),t.YNc(70,pr,4,0,"button",81),t._UZ(71,"br")(72,"br"),t.qZA()}if(2&o){const e=t.oxw().index,i=t.oxw();
1t.xp6(6),t.Q6J("dataSource",i.fcOrgOwnerList[e]),t.xp6(9),t.Q6J("ngIf",i.isSelectedOrgEditor),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor&&i.kbHomeIndex1),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor&&i.kbHomeIndex2),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor&&i.kbHomeIndex3),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor&&i.kbHomeIndex4),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor&&i.kbHomeIndex5),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor&&i.kbHomeIndex6),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor&&i.kbHomeIndex7),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor&&i.kbHomeIndex8),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor&&i.kbHomeIndex9),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor&&i.kbHomeIndex10),t.xp6(22),t.Q6J("ngIf",i.isSelectedOrgEditor),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor),t.xp6(1),t.Q6J("ngIf",i.isSelectedOrgEditor),t.xp6(13),t.Q6J("ngIf",i.isSelectedOrgEditor),t.xp6(3),t.Q6J("matHeaderRowDef",i.columnsToDisplayForOrgOwner)("matHeaderRowDefSticky",!0),t.xp6(1),t.Q6J("matRowDefColumns",i.columnsToDisplayForOrgOwner),t.xp6(1),t.Q6J("matRowDefColumns",t.DdM(24,wt)),t.xp6(1),t.Q6J("pageIndex",0)("pageSize",100)("pageSizeOptions",t.DdM(25,at)),t.xp6(2),t.Q6J("ngIf",i.canRestrictedPublishFc)}}function ur(o,n){if(1&o&&(t.TgZ(0,"div",25),t._uU(1),t.qZA()),2&o){const e=t.oxw().$implicit,i=t.oxw();t.xp6(1),t.hij(" ",i.selectedOrgDisplayName?i.selectedOrgDisplayName:e," Flowcharts you can VIEW: ")}}function fr(o,n){1&o&&(t.TgZ(0,"th",214),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," FlowchartName "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function br(o,n){1&o&&t._UZ(0,"mat-spinner",24)}function wr(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"td",83)(1,"a",215),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(3);return a.stopPropagation(),t.KtG(c.loadFlowchart(r))}),t.YNc(2,br,1,0,"mat-spinner",9),t._uU(3),t.qZA()()}if(2&o){const e=n.$implicit,i=t.oxw(3);t.xp6(2),t.Q6J("ngIf",i.loadingFc&&i.loadingFcId===e.flowchartId),t.xp6(1),t.hij("",e.flowchartName," ")}}function Cr(o,n){1&o&&(t.TgZ(0,"th",216),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," isPublished "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function yr(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.isPublished)}}function Tr(o,n){1&o&&(t.TgZ(0,"th",189),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Goal "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function xr(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.goalName)}}function vr(o,n){1&o&&(t.TgZ(0,"th",190),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Subcategory "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Pr(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.subCategoryName," ")}}function kr(o,n){1&o&&(t.TgZ(0,"th",191),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Category "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Fr(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.categoryName)}}function Sr(o,n){1&o&&(t.TgZ(0,"th",192),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Author "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Zr(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.creator)}}function Or(o,n){if(1&o&&t._UZ(0,"div",201),2&o){const e=t.oxw().$implicit;t.Udp("background-image","url("+e.flowchartImageUrl+")")}}function Ar(o,n){1&o&&(t.TgZ(0,"div",201),t._uU(1," No Image "),t.qZA())}function Nr(o,n){if(1&o&&(t.TgZ(0,"p")(1,"strong"),t._uU(2,"Flowchart Description"),t.qZA(),t._uU(3),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(3),t.hij(": ",e.flowchartDescription," ")}}function Er(o,n){if(1&o&&(t.TgZ(0,"p")(1,"strong"),t._uU(2,"Keywords"),t.qZA(),t._uU(3),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(3),t.hij(": ",e.keywords," ")}}function Dr(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"p")(1,"button",202),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.copyElementText("puburl-"+s.flowchartId,"puburl",s))}),t.TgZ(2,"mat-icon"),t._uU(3,"content_copy"),t.qZA()(),t._uU(4," \xa0\xa0 "),t.TgZ(5,"strong"),t._uU(6,"Published URL"),t.qZA(),t._uU(7,": "),t.TgZ(8,"span",203),t._uU(9),t.qZA()()}if(2&o){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(7),t.MGl("id","puburl-",e.flowchartId,""),t.xp6(1),t.Oqu("Y"===e.isPublished?e.publishedUrl:"")}}function Ir(o,n){if(1&o&&(t.TgZ(0,"td",196)(1,"div",197),t.YNc(2,Or,1,2,"div",198),t.YNc(3,Ar,2,0,"div",199),t.TgZ(4,"div",200),t.YNc(5,Nr,4,1,"p",11),t.YNc(6,Er,4,1,"p",11),t.YNc(7,Dr,10,4,"p",11),t.qZA()()()),2&o){const e=n.$implicit,i=t.oxw(3);t.uIk("colspan",i.columnsToDisplayForShared.length),t.xp6(1),t.Q6J("@detailExpand",e==i.sharedFcExpandedElement?"expanded":"collapsed"),t.xp6(1),t.Q6J("ngIf",e.flowchartImageUrl),t.xp6(1),t.Q6J("ngIf",!e.flowchartImageUrl),t.xp6(2),t.Q6J("ngIf",e.flowchartDescription),t.xp6(1),t.Q6J("ngIf",e.keywords),t.xp6(1),t.Q6J("ngIf","Y"===e.isPublished)}}function Ur(o,n){1&o&&t._UZ(0,"tr",204)}function Mr(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"tr",205),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(3);return a.stopPropagation(),t.KtG(c.sharedFcExpandedElement=c.sharedFcExpandedElement===r?null:r)}),t.qZA()}if(2&o){const e=n.$implicit,i=t.oxw(3);t.ekj("dztable-expanded-row",i.sharedFcExpandedElement===e)}}function qr(o,n){1&o&&t._UZ(0,"tr",206)}function Hr(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div")(1,"mat-form-field",27)(2,"mat-label"),t._uU(3,"Filter"),t.qZA(),t.TgZ(4,"input",28),t.NdJ("keyup",function(a){t.CHM(e);const s=t.oxw().index,r=t.oxw();return a.stopPropagation(),t.KtG(r.applyOrgSharedFilter(a,s))}),t.qZA()(),t.TgZ(5,"div",208)(6,"table",209,210),t.ynx(8,32),t.YNc(9,fr,2,2,"th",211),t.YNc(10,wr,4,2,"td",34),t.BQk(),t.ynx(11,56),t.YNc(12,Cr,2,2,"th",212),t.YNc(13,yr,2,1,"td",34),t.BQk(),t.ynx(14,65),t.YNc(15,Tr,2,2,"th",66),t.YNc(16,xr,2,1,"td",34),t.BQk(),t.ynx(17,67),t.YNc(18,vr,2,2,"th",68),t.YNc(19,Pr,2,1,"td",34),t.BQk(),t.ynx(20,69),t.YNc(21,kr,2,2,"th",70),t.YNc(22,Fr,2,1,"td",34),t.BQk(),t.ynx(23,71),t.YNc(24,Sr,2,2,"th",72),t.YNc(25,Zr,2,1,"td",34),t.BQk(),t.ynx(26,74),t.YNc(27,Ir,8,7,"td",75),t.BQk(),t.YNc(28,Ur,1,0,"tr",76),t.YNc(29,Mr,1,2,"tr",77),t.YNc(30,qr,1,0,"tr",78),t.qZA()(),t.TgZ(31,"mat-paginator",79,213),t.NdJ("click",function(a){return a.stopPropagation()}),t.qZA(),t._UZ(33,"br"),t.qZA()}if(2&o){const e=t.oxw().index,i=t.oxw();
1t.xp6(6),t.Q6J("dataSource",i.fcSharedList[e]),t.xp6(22),t.Q6J("matHeaderRowDef",i.columnsToDisplayForShared)("matHeaderRowDefSticky",!0),t.xp6(1),t.Q6J("matRowDefColumns",i.columnsToDisplayForShared),t.xp6(1),t.Q6J("matRowDefColumns",t.DdM(8,wt)),t.xp6(1),t.Q6J("pageIndex",0)("pageSize",100)("pageSizeOptions",t.DdM(9,at))}}function Lr(o,n){1&o&&(t.TgZ(0,"th",263),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Custom Page Name "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Rr(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.customPageName," ")}}function Jr(o,n){1&o&&(t.TgZ(0,"th",264),t._uU(1," Edit "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Yr(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"td",83)(1,"button",265),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(2).index,g=t.oxw();return a.stopPropagation(),t.KtG(g.editKnowledgeBasePageProperties(r,g.selectedOrgKbPageDetails,c))}),t.TgZ(2,"mat-icon"),t._uU(3,"mode_edit"),t.qZA()()()}2&o&&(t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300))}function Kr(o,n){1&o&&(t.TgZ(0,"th",266),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Published? (No Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Qr(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.isCustomPagePublished," ")}}function Br(o,n){1&o&&(t.TgZ(0,"th",267),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Hide Consent? (No Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Gr(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.hideCookieConsentBannerPublishView," ")}}function Vr(o,n){1&o&&(t.TgZ(0,"th",268),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Background Color (No Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}const gt=function(o){return{"background-color":o}};function Wr(o,n){if(1&o&&(t.TgZ(0,"td",83),t._UZ(1,"div",269),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngStyle",t.VKq(1,gt,e.publishBackgroundColor))}}function zr(o,n){1&o&&(t.TgZ(0,"th",270),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Published URL (No Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function jr(o,n){if(1&o&&(t.TgZ(0,"div",274),t._uU(1),t.qZA()),2&o){const e=t.oxw().$implicit;t.MGl("id","published-url-",e.customPageId,""),t.xp6(1),t.hij(" ",e.customPagePublishedUrl," ")}}function $r(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",275),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.copyTextToClipboard("published-url-"+s.customPageId))}),t.TgZ(1,"mat-icon"),t._uU(2,"content_copy"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Xr(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",276),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(2).$implicit,c=t.oxw();return a.stopPropagation(),t.KtG(c.generateQRCodeForPublish(r,s))}),t.TgZ(1,"mat-icon"),t._uU(2,"qr_code_2"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ts(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,jr,2,2,"div",271),t.YNc(2,$r,3,2,"button",272),t.YNc(3,Xr,3,2,"button",273),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf","Y"===e.isCustomPagePublished),t.xp6(1),t.Q6J("ngIf","Y"===e.isCustomPagePublished),t.xp6(1),t.Q6J("ngIf","Y"===e.isCustomPagePublished)}}function es(o,n){1&o&&(t.TgZ(0,"th",277),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Published? (Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function os(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.isPublishedWithPassword," ")}}function is(o,n){1&o&&(t.TgZ(0,"th",278),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Hide Consent? (Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function as(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.hideCookieConsentBannerPublishViewWithPassword," ")}}function ns(o,n){1&o&&(t.TgZ(0,"th",279),t.NdJ("click",function(i){return i.stopPropagation()}
1),t._uU(1," Background Color (Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function rs(o,n){if(1&o&&(t.TgZ(0,"td",83),t._UZ(1,"div",269),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngStyle",t.VKq(1,gt,e.publishWithPasswordBackgroundColor))}}function ss(o,n){1&o&&(t.TgZ(0,"th",280),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Published URL (Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function cs(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",283),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.copyTextToClipboard("published-url-pswd-"+s.customPageId))}),t.TgZ(1,"mat-icon"),t._uU(2,"content_copy"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ls(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",284),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(2).$implicit,c=t.oxw();return a.stopPropagation(),t.KtG(c.generateQRCodeForPublishWithPassword(r,s))}),t.TgZ(1,"mat-icon"),t._uU(2,"qr_code_2"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ds(o,n){if(1&o&&(t.TgZ(0,"td",83)(1,"div",274),t._uU(2),t.qZA(),t.YNc(3,cs,3,2,"button",281),t.YNc(4,ls,3,2,"button",282),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.MGl("id","published-url-pswd-",e.customPageId,""),t.xp6(1),t.hij(" ",e.publishedUrlWithPassword," "),t.xp6(1),t.Q6J("ngIf","Y"===e.isPublishedWithPassword),t.xp6(1),t.Q6J("ngIf","Y"===e.isPublishedWithPassword)}}function _s(o,n){1&o&&(t.TgZ(0,"th",285),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Password for Published URL "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function gs(o,n){if(1&o&&t._UZ(0,"input",289),2&o){const e=t.oxw().$implicit;t.MGl("id","published-pwd-",e.customPageId,""),t.Q6J("type",e.publishPasswordHide?"password":"text")("value",e.publishPagePassword)}}function ms(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",290),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.togglePublishPwdVisibility(s))}),t.TgZ(1,"mat-icon"),t._uU(2),t.qZA()()}if(2&o){const e=t.oxw().$implicit;t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(2),t.Oqu(e.publishPasswordHide?"visibility_off":"visibility")}}function ps(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",291),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.copyPwdToClipboard("published-pwd-"+s.customPageId))}),t.TgZ(1,"mat-icon"),t._uU(2,"content_copy"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function hs(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,gs,1,3,"input",286),t.YNc(2,ms,3,3,"button",287),t.YNc(3,ps,3,2,"button",288),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf","Y"===e.isPublishedWithPassword),t.xp6(1),t.Q6J("ngIf","Y"===e.isPublishedWithPassword),t.xp6(1),t.Q6J("ngIf","Y"===e.isPublishedWithPassword)}}function us(o,n){1&o&&(t.TgZ(0,"th",292),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Embedded? (No Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function fs(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.canCustomPageEmbed," ")}}function bs(o,n){1&o&&(t.TgZ(0,"th",293),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Hide Consent? (No Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ws(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.hideCookieConsentBannerEmbedView," ")}}function Cs(o,n){1&o&&(t.TgZ(0,"th",294),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Background Color (No Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ys(o,n){if(1&o&&(t.TgZ(0,"td",83),t._UZ(1,"div",269),t.qZA()),2&o){const e=n.$implicit;
1t.xp6(1),t.Q6J("ngStyle",t.VKq(1,gt,e.embedBackgroundColor))}}function Ts(o,n){1&o&&(t.TgZ(0,"th",295),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Embed Code (No Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function xs(o,n){if(1&o&&(t.TgZ(0,"div",274),t._uU(1),t.qZA()),2&o){const e=t.oxw().$implicit;t.MGl("id","embed-kb-url-",e.customPageId,""),t.xp6(1),t.hij(" ",e.embedCustomPageIframeCode," ")}}function vs(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",297),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.copyTextToClipboard("embed-kb-url-"+s.customPageId))}),t.TgZ(1,"mat-icon"),t._uU(2,"content_copy"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Ps(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,xs,2,2,"div",271),t.YNc(2,vs,3,2,"button",296),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf","Y"===e.canCustomPageEmbed),t.xp6(1),t.Q6J("ngIf","Y"===e.canCustomPageEmbed)}}function ks(o,n){1&o&&(t.TgZ(0,"th",298),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Embedded? (Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Fs(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.canEmbedWithPassword," ")}}function Ss(o,n){1&o&&(t.TgZ(0,"th",299),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Hide Consent? (Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Zs(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.hideCookieConsentBannerEmbedViewWithPassword," ")}}function Os(o,n){1&o&&(t.TgZ(0,"th",300),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Background Color (Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function As(o,n){if(1&o&&(t.TgZ(0,"td",83),t._UZ(1,"div",269),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngStyle",t.VKq(1,gt,e.embedWithPasswordBackgroundColor))}}function Ns(o,n){1&o&&(t.TgZ(0,"th",301),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Embed Code (Password) "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Es(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",303),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.copyTextToClipboard("embed-kb-url-pwd-"+s.customPageId))}),t.TgZ(1,"mat-icon"),t._uU(2,"content_copy"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Ds(o,n){if(1&o&&(t.TgZ(0,"td",83)(1,"div",274),t._uU(2),t.qZA(),t.YNc(3,Es,3,2,"button",302),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.MGl("id","embed-kb-url-pwd-",e.customPageId,""),t.xp6(1),t.hij(" ",e.ppEmbedCustomPageIframeCode," "),t.xp6(1),t.Q6J("ngIf","Y"===e.canEmbedWithPassword)}}function Is(o,n){1&o&&(t.TgZ(0,"th",304),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Password for Embed Page "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Us(o,n){if(1&o&&t._UZ(0,"input",307),2&o){const e=t.oxw().$implicit;t.MGl("id","embed-pwd-",e.customPageId,""),t.Q6J("type",e.embedPasswordHide?"password":"text")("value",e.embedPagePassword)}}function Ms(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",173),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.toggleEmbedPwdVisibility(s))}),t.TgZ(1,"mat-icon"),t._uU(2),t.qZA()()}if(2&o){const e=t.oxw().$implicit;t.xp6(2),t.Oqu(e.embedPasswordHide?"visibility_off":"visibility")}}function qs(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",308),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(3);return a.stopPropagation(),t.KtG(r.copyPwdToClipboard("embed-pwd-"+s.customPageId))}),t.TgZ(1,"mat-icon"),t._uU(2,"content_copy"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Hs(o,n){if(1&o&&(t.TgZ(0,"td",83),t.YNc(1,Us,1,3,"input",305),t.YNc(2,Ms,3,1,"button",171),t.YNc(3,qs,3,2,"button",306),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Q6J("ngIf","Y"===e.canEmbedWithPassword),t.xp6(1),t.Q6J("ngIf","Y"===e.canEmbedWithPassword),t.xp6(1),t.Q6J("ngIf","Y"===e.canEmbedWithPassword)}}function Ls(o,n){1&o&&t._UZ(0,"tr",204)}function Rs(o,n){1&o&&t._UZ(0,"tr",309)}function Js(o,n){1&o&&t._UZ(0,"mat-spinner",24)}function Ys(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-expansion-panel",217),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw(),r=s.$implicit,c=s.index,g=t.oxw();return a.stopPropagation(),t.KtG(g.loadOrgKbPages(r,c))}),t.TgZ(1,"mat-expansion-panel-header")(2,"mat-panel-title",218),t._uU(3,"Manage Custom Pages "),t.qZA(),t.TgZ(4,"mat-panel-description",219),t._uU(5," i.e. Publish & Embed your Knowledge Base page. "),t.TgZ(6,"mat-icon"),t._uU(7,"local_library"),t.qZA()()(),t.TgZ(8,"div",220)(9,"table",209,221),t.ynx(11,222),t.YNc(12,Lr,2,2,"th",223),t.YNc(13,Rr,2,1,"td",34),t.BQk(),t.ynx(14,35),t.YNc(15,Jr,2,2,"th",224),t.YNc(16,Yr,4,2,"td",34),t.BQk(),t.ynx(17,56),t.YNc(18,Kr,2,2,"th",225),t.YNc(19,Qr,2,1,"td",34),t.BQk(),t.ynx(20,226),t.YNc(21,Br,2,2,"th",227),t.YNc(22,Gr,2,1,"td",34),t.BQk(),t.ynx(23,228),t.YNc(24,Vr,2,2,"th",229),t.YNc(25,Wr,2,3,"td",34),t.BQk(),t.ynx(26,230),t.YNc(27,zr,2,2,"th",231),t.YNc(28,ts,4,3,"td",34),t.BQk(),t.ynx(29,232),t.YNc(30,es,2,2,"th",233),t.YNc(31,os,2,1,"td",34),t.BQk(),t.ynx(32,234),t.YNc(33,is,2,2,"th",235),t.YNc(34,as,2,1,"td",34),t.BQk(),t.ynx(35,236),t.YNc(36,ns,2,2,"th",237),t.YNc(37,rs,2,3,"td",34),t.BQk(),t.ynx(38,238),t.YNc(39,ss,2,2,"th",239),t.YNc(40,ds,5,4,"td",34),t.BQk(),t.ynx(41,240),t.YNc(42,_s,2,2,"th",241),t.YNc(43,hs,4,3,"td",34),t.BQk(),t.ynx(44,242),t.YNc(45,us,2,2,"th",243),t.YNc(46,fs,2,1,"td",34),t.BQk(),t.ynx(47,244),t.YNc(48,bs,2,2,"th",245),t.YNc(49,ws,2,1,"td",34),t.BQk(),t.ynx(50,246),t.YNc(51,Cs,2,2,"th",247),t.YNc(52,ys,2,3,"td",34),t.BQk(),t.ynx(53,248),t.YNc(54,Ts,2,2,"th",249),t.YNc(55,Ps,3,2,"td",34),t.BQk(),t.ynx(56,250),t.YNc(57,ks,2,2,"th",251),t.YNc(58,Fs,2,1,"td",34),t.BQk(),t.ynx(59,252),t.YNc(60,Ss,2,2,"th",253),t.YNc(61,Zs,2,1,"td",34),t.BQk(),t.ynx(62,254),t.YNc(63,Os,2,2,"th",255),t.YNc(64,As,2,3,"td",34),t.BQk(),t.ynx(65,256),t.YNc(66,Ns,2,2,"th",257),t.YNc(67,Ds,4,3,"td",34),t.BQk(),t.ynx(68,258),t.YNc(69,Is,2,2,"th",259),t.YNc(70,Hs,4,3,"td",34),t.BQk(),t.YNc(71,Ls,1,0,"tr",76),t.YNc(72,Rs,1,0,"tr",260),t.qZA()(),t._UZ(73,"br"),t.TgZ(74,"button",261),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw(),r=s.$implicit,c=s.index,g=t.oxw();return a.stopPropagation(),t.KtG(g.addKnowledgebasePage(r,c))}),t._uU(75," Add Knowledgebase Page "),t.YNc(76,Js,1,0,"mat-spinner",9),t.qZA(),t._UZ(77,"br"),t.TgZ(78,"div",262),t.NdJ("click",function(a){return a.stopPropagation()}),t.TgZ(79,"h3"),t._uU(80," Understanding Publishing / Embedding Custom Pages; Passwords "),t.qZA(),t.TgZ(81,"p"),t._uU(82," A 'Custom Page' like a 'Knowledge Base Page' lets you share selected flowcharts with both your internal audience (team members who normally log in, i.e. employees) as well as your external audience (who do not have to log in, i.e. customers). "),t.qZA(),t.TgZ(83,"p"),t._uU(84," For including specific flowcharts to be presented on your Knowledge Base page, go to the "),t.TgZ(85,"strong"),t._uU(86," 'Content Settings'> 'Organization Flowcharts' > 'YOUR-ORG-NAME'> Table"),t.qZA(),t._uU(87," above, and check the box in the column for that Knowledge Base for every flowchart (requires a Master Version) you would like to be listed on that specific Knowledge Base page. "),t.qZA(),t.TgZ(88,"p")(89,"strong"),t._uU(90,"Internal member (Logged in): "),t.qZA(),t._uU(91," When a logged in internal member views the Knowledge Base page, they will see ALL flowcharts that are marked to be included on Knowledge Base page. "),t.qZA(),t.TgZ(92,"p")(93,"strong"),t._uU(94,"External visitor (not logged in): "),t.qZA(),t._uU(95," You can optionally choose to PUBLISH and/or EMBED your Knowledge Base Page for external visitors. These not-signed-in external visitors will see all flowcharts that meet both of these conditions (1) flowchart is marked to be included on Knowledge Base page (2) the flowchart's own Publish status is turned ON. In other words, external visitors will see only flowcharts that are 'Published' themselves as well as marked to be included on the Knowledge Base page. "),t.qZA(),t._UZ(96,"br"),t.TgZ(97,"p"),t._uU(98,"You can share Custom Pages in four different ways:"),t.qZA(),t.TgZ(99,"p")(100,"strong"),t._uU(101,"Published Custom Page URL (No Password): "),t.qZA(),t._uU(102," When you choose to Publish your Custom Page i.e. 'Published? (No Password)' column, you get a URL/Link that can be shared with people outside your Org. You can also download a QR Code for this link. When anyone clicks on this link or scans the QR Code, they do not need any password and they can access the Published version of your Custom Page. "),t.qZA(),t.TgZ(103,"p")(104,"strong"),t._uU(105,"Published Custom Page URL (Password Required): "),t.qZA(),t._uU(106," When you choose to Publish your Custom Page i.e. 'Published? (Password)' column, you get a URL/Link that can be shared with people outside your Org. You can also download a QR Code for this link. When anyone clicks on this link or scans the QR Code, they will need a password to be able to access the Published version of your Custom Page. Your Org Admin and Editor can set/modify this password in the table above and share accordingly. "),t.qZA(),t._UZ(107,"br"),t.TgZ(108,"p")(109,"strong"),t._uU(110,"Embedded Custom Page Code (No Password): "),t.qZA(),t._uU(111," When you choose to Embed your Custom Page i.e. 'Embedded (No Password)' column, in another webpage, you get a Embed Code that can be included in the HTML of another host webpage. When anyone visits this embedded custom page, they do not need any password and they can access the embedded version of your Custom Page. "),t.qZA(),t.TgZ(112,"p")(113,"strong"),t._uU(114,"Embedded Custom Page Code (Password Required): "),t.qZA(),t._uU(115," When you choose to Embed your Custom Page i.e. 'Embedded? (Password)'column, in another webpage, you get a Embed Code that can be included in the HTML of another host webpage. When anyone visits this embedded custom page, they will need a password to be able to access the embedded version of your Custom Page. Your Org Admin and Editor can set/modify this password in the table above and share accordingly. "),t.qZA(),t._UZ(116,"br"),t.qZA()()}if(2&o){const e=t.oxw().index,i=t.oxw();
1t.xp6(9),t.Q6J("dataSource",i.orgKbPageDetails[e]),t.xp6(62),t.Q6J("matHeaderRowDef",i.columnsToDisplayForOrgKbPageDetails)("matHeaderRowDefSticky",!0),t.xp6(1),t.Q6J("matRowDefColumns",i.columnsToDisplayForOrgKbPageDetails),t.xp6(2),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(2),t.Q6J("ngIf",i.loading)}}function Ks(o,n){1&o&&(t.TgZ(0,"th",330),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Flowchart "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Qs(o,n){1&o&&t._UZ(0,"mat-spinner",24)}function Bs(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"td",83)(1,"a",84),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(4);return a.stopPropagation(),t.KtG(c.openFlowchartRequestedViaEntityAction(r.flowchartId,r.flowchartBean))}),t.YNc(2,Qs,1,0,"mat-spinner",9),t._uU(3),t.qZA()()}if(2&o){const e=n.$implicit,i=t.oxw(4);t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(1),t.Q6J("ngIf",i.loadingFc&&i.loadingFcId===e.flowchartId),t.xp6(1),t.hij(" ",e.flowchartBean.flowchartName," ")}}function Gs(o,n){1&o&&(t.TgZ(0,"th",331),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Action Requested "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Vs(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.action)}}function Ws(o,n){1&o&&(t.TgZ(0,"th",332),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Status "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function zs(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.status)}}function js(o,n){1&o&&(t.TgZ(0,"th",333),t._uU(1," Approve / Feedback "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function $s(o,n){1&o&&t._UZ(0,"mat-spinner",24)}function Xs(o,n){1&o&&t._UZ(0,"mat-spinner",24)}function tc(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"td",83)(1,"span",334)(2,"button",335),t.NdJ("click",function(){const s=t.CHM(e).$implicit,r=t.oxw(4);return t.KtG(r.approveSelectedFcForAction(s))}),t.YNc(3,$s,1,0,"mat-spinner",9),t._uU(4," Approve "),t.qZA()(),t._uU(5," \xa0 OR \xa0 "),t.TgZ(6,"span")(7,"button",335),t.NdJ("click",function(){const s=t.CHM(e).$implicit,r=t.oxw(4);return t.KtG(r.feedbackForSelectedFcForAction(s))}),t.YNc(8,Xs,1,0,"mat-spinner",9),t._uU(9," Feedback "),t.qZA()()()}if(2&o){const e=n.$implicit,i=t.oxw(4);t.xp6(2),t.Q6J("disabled","Y"===e.flowchartBean.isPublished||"APPROVED"===e.status),t.xp6(1),t.Q6J("ngIf",i.approving&&i.loadingFcId===e.flowchartId),t.xp6(4),t.Q6J("disabled","Y"===e.flowchartBean.isPublished||"REQUESTED"!==e.status),t.xp6(1),t.Q6J("ngIf",i.feedbackgiving&&i.loadingFcId===e.flowchartId)}}function ec(o,n){1&o&&(t.TgZ(0,"th",336),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Requestor "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function oc(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.requestorName," ")}}function ic(o,n){1&o&&(t.TgZ(0,"th",337),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Flowchart Notes "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ac(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"td",83)(1,"button",26),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(4);return a.stopPropagation(),t.KtG(c.openFlowchartNotes(r))}),t.TgZ(2,"mat-icon"),t._uU(3,"question_answer"),t.qZA()()()}}function nc(o,n){1&o&&(t.TgZ(0,"th",338),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," isPublished? "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function rc(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.flowchartBean.isPublished," ")}}function sc(o,n){1&o&&(t.TgZ(0,"th",339),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," hasMaster? "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function cc(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.flowchartBean.masterFlag," ")}}function lc(o,n){1&o&&(t.TgZ(0,"th",340),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Master Version "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function dc(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.flowchartBean.masterFlowchartVersion," ")}}function _c(o,n){1&o&&(t.TgZ(0,"th",341),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Flowchart Creator "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function gc(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.flowchartBean.flowchartCreator," ")}}function mc(o,n){1&o&&t._UZ(0,"tr",204)}function pc(o,n){1&o&&t._UZ(0,"tr",309)}function hc(o,n){if(1&o&&(t.TgZ(0,"div",26),t.NdJ("click",function(i){return i.stopPropagation()}),t.TgZ(1,"p"),t._uU(2," Often users of your organization will request approvals for some actions from the Editor/SubAdmin/Admin of the org. For example, users with a role of Creator in your org can create their own flowcharts, but cannot publish them - the Editor/SubAdmon/Admin needs to approve & publish these flowcharts following the Creator's request to publish these flowcharts. "),t.qZA(),t.TgZ(3,"div",311)(4,"table",30,312),t.ynx(7,32),t.YNc(8,Ks,2,2,"th",313),t.YNc(9,Bs,4,4,"td",34),t.BQk(),t.ynx(10,314),t.YNc(11,Gs,2,2,"th",315),t.YNc(12,Vs,2,1,"td",34),t.BQk(),t.ynx(13,316),t.YNc(14,Ws,2,2,"th",317),t.YNc(15,zs,2,1,"td",34),t.BQk(),t.ynx(16,35),t.YNc(17,js,2,2,"th",318),t.YNc(18,tc,10,4,"td",34),t.BQk(),t.ynx(19,319),t.YNc(20,ec,2,2,"th",320),t.YNc(21,oc,2,1,"td",34),t.BQk(),t.ynx(22,321),t.YNc(23,ic,2,2,"th",322),t.YNc(24,ac,4,0,"td",34),t.BQk(),t.ynx(25,56),t.YNc(26,nc,2,2,"th",323),t.YNc(27,rc,2,1,"td",34),t.BQk(),t.ynx(28,324),t.YNc(29,sc,2,2,"th",325),t.YNc(30,cc,2,1,"td",34),t.BQk(),t.ynx(31,54),t.YNc(32,lc,2,2,"th",326),t.YNc(33,dc,2,1,"td",34),t.BQk(),t.ynx(34,327),t.YNc(35,_c,2,2,"th",328),t.YNc(36,gc,2,1,"td",34),t.BQk(),t.YNc(37,mc,1,0,"tr",76),t.YNc(38,pc,1,0,"tr",260),t.qZA()(),t.TgZ(39,"mat-paginator",79,329),t.NdJ("click",function(i){return i.stopPropagation()}),t.qZA()()),2&o){const e=t.oxw(2).index,i=t.oxw();
1t.xp6(4),t.Q6J("dataSource",i.orgFlowchartEntityActionList[e]),t.xp6(33),t.Q6J("matHeaderRowDef",i.columnsToDisplayForOrgFcEntityAction)("matHeaderRowDefSticky",!0),t.xp6(1),t.Q6J("matRowDefColumns",i.columnsToDisplayForOrgFcEntityAction),t.xp6(1),t.Q6J("pageIndex",0)("pageSize",100)("pageSizeOptions",t.DdM(7,at))}}function uc(o,n){1&o&&(t.TgZ(0,"div",26),t.NdJ("click",function(i){return i.stopPropagation()}),t.TgZ(1,"p"),t._uU(2," Often users of your organization will request approvals for some actions from the Editor/SubAdmon/Admin of the org. For example, users with a role of Creator in your org can create their own flowcharts, but cannot publish them - the Editor/SubAdmon/Admin needs to approve & publish these flowcharts following the Creator's request to publish these flowcharts. "),t.qZA(),t._UZ(3,"br"),t.TgZ(4,"p",25),t._uU(5," Currently, NO such actions are in the REQUESTED state. Please check this status regularly. "),t.qZA()())}function fc(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-expansion-panel",310),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw(),r=s.$implicit,c=s.index,g=t.oxw();return a.stopPropagation(),t.KtG(g.getOrgFlowchartEntityActions(r,c))}),t.TgZ(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t._uU(3," Manage Approvals & Feedback For Flowchart Actions "),t.qZA(),t.TgZ(4,"mat-panel-description",219),t._uU(5," i.e. Feedback & Requests For Publishing Flowchart "),t.TgZ(6,"mat-icon"),t._uU(7,"rule_folder"),t.qZA()()(),t.YNc(8,hc,41,8,"div",20),t.YNc(9,uc,6,0,"div",20),t.qZA()}if(2&o){const e=t.oxw(2);t.xp6(8),t.Q6J("ngIf",e.showOrgFcEntityActionData&&e.selectedOrgFlowchartEntityActionList&&e.selectedOrgFlowchartEntityActionList.length>0),t.xp6(1),t.Q6J("ngIf",e.selectedOrgFlowchartEntityActionList&&0===e.selectedOrgFlowchartEntityActionList.length)}}function bc(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"button",349),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw(3);return a.stopPropagation(),t.KtG(s.copyElementText("org-searchterm-copy","copysearchkeywords",s.element))}),t._uU(1," Copy All Search Keywords "),t.TgZ(2,"mat-icon"),t._uU(3,"content_copy"),t.qZA()()}2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function wc(o,n){if(1&o&&(t.TgZ(0,"mat-chip",350),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e," ")}}function Cc(o,n){1&o&&(t.TgZ(0,"p"),t._uU(1," No Search Keywords available. NOTE: Only Account ADMINs can see the Search Keywords list. "),t.qZA())}function yc(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-expansion-panel",342),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw();return a.stopPropagation(),t.KtG(r.getOrgSearchTerm(s))}),t.TgZ(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t._uU(3," Manage Search Keywords "),t.qZA(),t.TgZ(4,"mat-panel-description",219),t._uU(5," Keywords used by people to search your flowcharts "),t.TgZ(6,"mat-icon"),t._uU(7,"youtube_searched_for"),t.qZA()()(),t.TgZ(8,"div",343)(9,"h3"),t._uU(10,"Search Keywords"),t.qZA(),t.TgZ(11,"p",344),t._uU(12," Improve user search experience by using the right keywords in your Flowchart Metadata. Here is a list of all the keywords that internal/external users used to search for your flowcharts. You can add these keywords to the Keywords/Tag list for individual flowcharts, so people can find the right flowchart when they search specific keywords. Just COPY all keywords using the button below, then Open one flowchart at a time, click on Edit toggle on top right, then in the Flowchart Versions window, find the Flowchart Metadata & Permissions section, where you can add relevant keywords from your copied list for that flowchart. "),t.qZA(),t.TgZ(13,"div",345),t._uU(14),t.qZA(),t.YNc(15,bc,4,2,"button",346),t.TgZ(16,"mat-chip-list",347),t.YNc(17,wc,2,1,"mat-chip",348),t.qZA(),t.YNc(18,Cc,2,0,"p",11),t._UZ(19,"br"),t.qZA()()}if(2&o){const e=t.oxw(2);t.xp6(14),t.hij(" ",e.orgSearchTermsForCopy," "),t.xp6(1),t.Q6J("ngIf",e.orgSearchTerms.length>0),t.xp6(2),t.Q6J("ngForOf",e.orgSearchTerms),t.xp6(1),t.Q6J("ngIf",0===e.orgSearchTerms.length)}}function Tc(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-accordion",6)(1,"mat-expansion-panel",19),t.NdJ("opened",function(){const s=t.CHM(e).index,r=t.oxw();return t.KtG(r.step=s)})("click",function(a){const s=t.CHM(e),r=s.$implicit,c=s.index,g=t.oxw();return a.stopPropagation(),t.KtG(g.getUserCreatedOwnedFlowcharts(r,c)
1)}),t.TgZ(2,"mat-expansion-panel-header")(3,"mat-panel-title",8),t._uU(4),t.qZA()(),t.YNc(5,zi,1,0,"mat-spinner",9),t.YNc(6,ji,2,1,"div",10),t.YNc(7,hr,73,26,"div",20),t.YNc(8,ur,2,1,"div",10),t.YNc(9,Hr,34,10,"div",11),t._UZ(10,"br")(11,"br"),t.YNc(12,Ys,117,7,"mat-expansion-panel",21),t._UZ(13,"br")(14,"br"),t.YNc(15,fc,10,2,"mat-expansion-panel",22),t._UZ(16,"br")(17,"br"),t.YNc(18,yc,20,4,"mat-expansion-panel",23),t._UZ(19,"br"),t.qZA(),t._UZ(20,"br"),t.qZA()}if(2&o){const e=n.$implicit,i=n.index,a=t.oxw();t.xp6(1),t.Q6J("expanded",a.step===i),t.xp6(3),t.Oqu(a.selectedOrgDisplayName?a.selectedOrgDisplayName:e),t.xp6(1),t.Q6J("ngIf",a.orgListLoading),t.xp6(1),t.Q6J("ngIf",a.showOwnerData&&a.selectedOrgFcOwnerList&&a.selectedOrgFcOwnerList.length>0),t.xp6(1),t.Q6J("ngIf",!a.orgListLoading&&a.showOwnerData&&a.selectedOrgFcOwnerList&&a.selectedOrgFcOwnerList.length>0),t.xp6(1),t.Q6J("ngIf",a.showSharedData&&a.selectedOrgFcSharedList&&a.selectedOrgFcSharedList.length>0),t.xp6(1),t.Q6J("ngIf",a.showSharedData&&a.selectedOrgFcSharedList&&a.selectedOrgFcSharedList.length>0),t.xp6(3),t.Q6J("ngIf",!a.orgListLoading&&a.isSelectedOrgEditor),t.xp6(3),t.Q6J("ngIf",!a.orgListLoading&&a.isSelectedOrgEditor),t.xp6(3),t.Q6J("ngIf",!a.orgListLoading&&a.isSelectedOrgEditor)}}function xc(o,n){1&o&&t._UZ(0,"mat-spinner",24)}function vc(o,n){if(1&o&&(t.TgZ(0,"div",25),t._uU(1),t.qZA()),2&o){const e=t.oxw();
1t.xp6(1),t.hij(" Flowcharts created/owned by you in: ",e.publicOrgName," Org. ")}}function Pc(o,n){1&o&&(t.TgZ(0,"th",367),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," FlowchartName "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function kc(o,n){1&o&&t._UZ(0,"mat-spinner",24)}function Fc(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"td",83)(1,"a",215),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(2);return a.stopPropagation(),t.KtG(c.loadFlowchart(r))}),t.YNc(2,kc,1,0,"mat-spinner",9),t._uU(3),t.qZA()()}if(2&o){const e=n.$implicit,i=t.oxw(2);t.xp6(2),t.Q6J("ngIf",i.loadingFc&&i.loadingFcId===e.flowchartId),t.xp6(1),t.hij("",e.flowchartName," ")}}function Sc(o,n){1&o&&(t.TgZ(0,"th",368),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," isPublic "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Zc(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.isPublic)}}function Oc(o,n){1&o&&(t.TgZ(0,"th",369),t._uU(1," Actions "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Ac(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"td",83)(1,"button",86),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(2);return a.stopPropagation(),t.KtG(c.editFlowchartProperties(r,c.publicOrgFcOwnerList))}),t.TgZ(2,"mat-icon"),t._uU(3,"mode_edit"),t.qZA()(),t.TgZ(4,"button",370),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(2);return a.stopPropagation(),t.KtG(c.deleteSelectedFlowchart(r,c.publicOrgFcOwnerList,0))}),t.TgZ(5,"mat-icon"),t._uU(6,"delete_forever"),t.qZA()()()}2&o&&(t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(3),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300))}function Nc(o,n){1&o&&(t.TgZ(0,"th",371),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Version Count "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Ec(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.fcVersionCount," ")}}function Dc(o,n){1&o&&(t.TgZ(0,"th",372),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," hasMaster? "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Ic(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.hasMaster)}}function Uc(o,n){1&o&&(t.TgZ(0,"th",373),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Master Version "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Mc(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.masterFlowchartVersion," ")}}function qc(o,n){1&o&&(t.TgZ(0,"th",374),t._uU(1," Flowchart Copiable "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Hc(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.fcCopiable," ")}}function Lc(o,n){1&o&&(t.TgZ(0,"th",375),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Goal "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Rc(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.goalName)}}function Jc(o,n){1&o&&(t.TgZ(0,"th",376),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Subcategory "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Yc(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.hij(" ",e.subCategoryName," ")}}function Kc(o,n){1&o&&(t.TgZ(0,"th",377),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Category "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Qc(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.categoryName)}}function Bc(o,n){1&o&&(t.TgZ(0,"th",378),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Author "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Gc(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.creator)}}function Vc(o,n){if(1&o&&t._UZ(0,"div",201),2&o){const e=t.oxw().$implicit;
1t.Udp("background-image","url("+e.flowchartImageUrl+")")}}function Wc(o,n){1&o&&(t.TgZ(0,"div",201),t._uU(1," No Image "),t.qZA())}function zc(o,n){if(1&o&&(t.TgZ(0,"p")(1,"strong"),t._uU(2,"Flowchart Description"),t.qZA(),t._uU(3),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(3),t.hij(": ",e.flowchartDescription," ")}}function jc(o,n){if(1&o&&(t.TgZ(0,"p")(1,"strong"),t._uU(2,"Keywords"),t.qZA(),t._uU(3),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(3),t.hij(": ",e.keywords," ")}}function $c(o,n){if(1&o&&(t.TgZ(0,"p")(1,"strong"),t._uU(2,"User Activity Persistance Days"),t.qZA(),t._uU(3),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(3),t.hij(": ",e.fcUserActivityPersistanceDays," ")}}function Xc(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"p")(1,"button",379),t.NdJ("click",function(a){t.CHM(e);const s=t.oxw().$implicit,r=t.oxw(2);return a.stopPropagation(),t.KtG(r.copyElementText("puburl-"+s.flowchartId,"puburl",s))}),t.TgZ(2,"mat-icon"),t._uU(3,"content_copy"),t.qZA()(),t._uU(4," \xa0\xa0 "),t.TgZ(5,"strong"),t._uU(6,"Published URL"),t.qZA(),t._uU(7,": "),t.TgZ(8,"span",203),t._uU(9),t.qZA()()}if(2&o){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(7),t.MGl("id","puburl-",e.flowchartId,""),t.xp6(1),t.Oqu("Y"===e.isPublished?e.publishedUrl:"")}}function tl(o,n){if(1&o&&(t.TgZ(0,"td",196)(1,"div",197),t.YNc(2,Vc,1,2,"div",198),t.YNc(3,Wc,2,0,"div",199),t.TgZ(4,"div",200),t.YNc(5,zc,4,1,"p",11),t.YNc(6,jc,4,1,"p",11),t.YNc(7,$c,4,1,"p",11),t.YNc(8,Xc,10,4,"p",11),t.qZA()()()),2&o){const e=n.$implicit,i=t.oxw(2);t.uIk("colspan",i.columnsToDisplayForPublicOwner.length),t.xp6(1),t.Q6J("@detailExpand",e==i.ownerFcExpandedElement?"expanded":"collapsed"),t.xp6(1),t.Q6J("ngIf",e.flowchartImageUrl),t.xp6(1),t.Q6J("ngIf",!e.flowchartImageUrl),t.xp6(2),t.Q6J("ngIf",e.flowchartDescription),t.xp6(1),t.Q6J("ngIf",e.keywords),t.xp6(1),t.Q6J("ngIf",e.fcUserActivityPersistanceDays&&e.fcUserActivityPersistanceDays>0),t.xp6(1),t.Q6J("ngIf","Y"===e.isPublished)}}function el(o,n){1&o&&t._UZ(0,"tr",204)}function ol(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"tr",205),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(2);return a.stopPropagation(),t.KtG(c.ownerFcExpandedElement=c.ownerFcExpandedElement===r?null:r)}),t.qZA()}if(2&o){const e=n.$implicit,i=t.oxw(2);t.ekj("dztable-expanded-row",i.ownerFcExpandedElement===e)}}function il(o,n){1&o&&t._UZ(0,"tr",206)}function al(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div")(1,"mat-form-field",27)(2,"mat-label"),t._uU(3,"Filter"),t.qZA(),t.TgZ(4,"input",351),t.NdJ("keyup",function(a){t.CHM(e);const s=t.oxw();return a.stopPropagation(),t.KtG(s.applyPublicFilter(a))}),t.qZA()(),t.TgZ(5,"div",352)(6,"table",209,353),t.ynx(9,32),t.YNc(10,Pc,2,2,"th",354),t.YNc(11,Fc,4,2,"td",34),t.BQk(),t.ynx(12,355),t.YNc(13,Sc,2,2,"th",356),t.YNc(14,Zc,2,1,"td",34),t.BQk(),t.ynx(15,35),t.YNc(16,Oc,2,2,"th",357),t.YNc(17,Ac,7,4,"td",34),t.BQk(),t.ynx(18,48),t.YNc(19,Nc,2,2,"th",358),t.YNc(20,Ec,2,1,"td",34),t.BQk(),t.ynx(21,50),t.YNc(22,Dc,2,2,"th",359),t.YNc(23,Ic,2,1,"td",34),t.BQk(),t.ynx(24,54),t.YNc(25,Uc,2,2,"th",360),t.YNc(26,Mc,2,1,"td",34),t.BQk(),t.ynx(27,180),t.YNc(28,qc,2,2,"th",361),t.YNc(29,Hc,2,1,"td",34),t.BQk(),t.ynx(30,65),t.YNc(31,Lc,2,2,"th",362),t.YNc(32,Rc,2,1,"td",34),t.BQk(),t.ynx(33,67),t.YNc(34,Jc,2,2,"th",363),t.YNc(35,Yc,2,1,"td",34),t.BQk(),t.ynx(36,69),t.YNc(37,Kc,2,2,"th",364),t.YNc(38,Qc,2,1,"td",34),t.BQk(),t.ynx(39,71),t.YNc(40,Bc,2,2,"th",365),t.YNc(41,Gc,2,1,"td",34),t.BQk(),t.ynx(42,74),t.YNc(43,tl,9,8,"td",75),t.BQk(),t.YNc(44,el,1,0,"tr",76),t.YNc(45,ol,1,2,"tr",77),t.YNc(46,il,1,0,"tr",78),t.qZA()(),t.TgZ(47,"mat-paginator",79,366),t.NdJ("click",function(a){return a.stopPropagation()}),t.qZA(),t._UZ(49,"br"),t.qZA()}if(2&o){const e=t.oxw();
1t.xp6(6),t.Q6J("dataSource",e.fcPublicOwnerList),t.xp6(38),t.Q6J("matHeaderRowDef",e.columnsToDisplayForPublicOwner)("matHeaderRowDefSticky",!0),t.xp6(1),t.Q6J("matRowDefColumns",e.columnsToDisplayForPublicOwner),t.xp6(1),t.Q6J("matRowDefColumns",t.DdM(8,wt)),t.xp6(1),t.Q6J("pageIndex",0)("pageSize",100)("pageSizeOptions",t.DdM(9,at))}}function nl(o,n){1&o&&(t.TgZ(0,"div",380),t._uU(1," No flowcharts created/owned by you "),t.qZA())}function rl(o,n){1&o&&(t.TgZ(0,"div",380),t._uU(1," You have no favorite flowcharts. "),t.qZA())}function sl(o,n){1&o&&(t.TgZ(0,"th",388),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," FlowchartName "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function cl(o,n){1&o&&t._UZ(0,"mat-spinner",24)}function ll(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"td",83)(1,"a",389),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(2);return a.stopPropagation(),t.KtG(c.loadFlowchart(r))}),t.YNc(2,cl,1,0,"mat-spinner",9),t._uU(3),t.qZA()()}if(2&o){const e=n.$implicit,i=t.oxw(2);t.xp6(2),t.Q6J("ngIf",i.loadingFc&&i.loadingFcId===e.flowchartId),t.xp6(1),t.hij("",e.flowchartName," ")}}function dl(o,n){1&o&&(t.TgZ(0,"th",390),t._uU(1,"Action"),t.qZA())}function _l(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"td",83)(1,"button",391),t.NdJ("click",function(a){const r=t.CHM(e).$implicit,c=t.oxw(2);return a.stopPropagation(),t.KtG(c.removeFromFavorites(r))}),t.TgZ(2,"mat-icon"),t._uU(3,"delete_forever"),t.qZA()()()}2&o&&(t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300))}function gl(o,n){1&o&&(t.TgZ(0,"th",189),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Goal "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ml(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.goalName)}}function pl(o,n){1&o&&(t.TgZ(0,"th",190),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," SubCategory "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function hl(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.subCategoryName)}}function ul(o,n){1&o&&(t.TgZ(0,"th",191),t.NdJ("click",function(i){return i.stopPropagation()}),t._uU(1," Category "),t.qZA()),2&o&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function fl(o,n){if(1&o&&(t.TgZ(0,"td",83),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e.categoryName)}}function bl(o,n){1&o&&t._UZ(0,"tr",204)}function wl(o,n){1&o&&t._UZ(0,"tr",309)}function Cl(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div",381)(1,"mat-form-field",27)(2,"mat-label"),t._uU(3,"Filter"),t.qZA(),t.TgZ(4,"input",28),t.NdJ("keyup",function(a){t.CHM(e);const s=t.oxw();return a.stopPropagation(),t.KtG(s.applyFavFilter(a))}),t.qZA()(),t.TgZ(5,"div",382)(6,"table",383,384),t.ynx(8,32),t.YNc(9,sl,2,2,"th",385),t.YNc(10,ll,4,2,"td",34),t.BQk(),t.ynx(11,35),t.YNc(12,dl,2,0,"th",386),t.YNc(13,_l,4,2,"td",34),t.BQk(),t.ynx(14,65),t.YNc(15,gl,2,2,"th",66),t.YNc(16,ml,2,1,"td",34),t.BQk(),t.ynx(17,67),t.YNc(18,pl,2,2,"th",68),t.YNc(19,hl,2,1,"td",34),t.BQk(),t.ynx(20,69),t.YNc(21,ul,2,2,"th",70),t.YNc(22,fl,2,1,"td",34),t.BQk(),t.YNc(23,bl,1,0,"tr",76),t.YNc(24,wl,1,0,"tr",260),t.qZA()(),t.TgZ(25,"mat-paginator",79,387),t.NdJ("click",function(a){return a.stopPropagation()}),t.qZA(),t._UZ(27,"br"),t.qZA()}if(2&o){const e=t.oxw();
1t.xp6(6),t.Q6J("dataSource",e.userFavFcList),t.xp6(17),t.Q6J("matHeaderRowDef",e.columnsToDisplayForUserFavFlowcharts)("matHeaderRowDefSticky",!0),t.xp6(1),t.Q6J("matRowDefColumns",e.columnsToDisplayForUserFavFlowcharts),t.xp6(1),t.Q6J("pageIndex",0)("pageSize",100)("pageSizeOptions",t.DdM(7,at))}}function yl(o,n){if(1&o&&(t.TgZ(0,"mat-option",407)(1,"p",408),t._uU(2),t.TgZ(3,"span",409),t._uU(4),t.qZA()()()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(2),t.hij(" ",e.goalName," "),t.xp6(2),t.lnq("(",e.orgName," > ",e.categoryName," > ",e.subCategoryName,")")}}function Tl(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Use only these [a-z, A-Z, 0-9, _?'.,-] and Max 150 characters. "),t.qZA())}function xl(o,n){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,Tl,2,0,"mat-error",11),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.Q6J("ngIf",e.goalEditForm.controls.newGoalName.errors.pattern)}}function vl(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",410),t._uU(2),t.qZA()()),2&o){const e=t.oxw(3);t.xp6(2),t.Oqu(e.goalUpdateSuccessMsg)}}function Pl(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.hij(" ",e.genericErrMsg," ")}}function kl(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div")(1,"h4"),t._uU(2,"Select a Goal below to UPDATE its caption."),t.qZA(),t.TgZ(3,"form",397)(4,"mat-form-field",398)(5,"mat-card-content")(6,"mat-select",399),t.YNc(7,yl,5,5,"mat-option",400),t.qZA()()(),t.TgZ(8,"mat-form-field",398),t._UZ(9,"textarea",401,402),t.TgZ(11,"mat-hint",403)(12,"strong"),t._uU(13,"Use only these [a-z, A-Z, 0-9, _?'.,-] and Max 150 characters!"),t.qZA()(),t.TgZ(14,"mat-hint",404),t._uU(15),t.qZA()(),t.YNc(16,xl,2,1,"div",11),t.YNc(17,vl,3,1,"div",11),t.YNc(18,Pl,2,1,"mat-error",11),t._UZ(19,"br"),t.TgZ(20,"div",405)(21,"button",406),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.updateGoalCaption())}),t._uU(22," Update "),t.TgZ(23,"mat-icon"),t._uU(24,"save"),t.qZA()()()()()}if(2&o){const e=t.MAs(10),i=t.oxw().$implicit,a=t.oxw();t.xp6(3),t.Q6J("formGroup",a.goalEditForm),t.xp6(4),t.Q6J("ngForOf",i.value.selectedOrgEditableGoalList),t.xp6(8),t.hij("",(null==e.value?null:e.value.length)||0," / 150"),t.xp6(1),t.Q6J("ngIf",a.goalEditForm.controls.newGoalName.errors&&(a.goalEditForm.controls.newGoalName.dirty||a.goalEditForm.controls.newGoalName.touched)),t.xp6(1),t.Q6J("ngIf",!a.goalUpdateErr),t.xp6(1),t.Q6J("ngIf",a.goalUpdateErr),t.xp6(3),t.Q6J("disabled",a.goalEditForm.invalid)}}function Fl(o,n){if(1&o&&(t.TgZ(0,"mat-option",407)(1,"p",408),t._uU(2),t.TgZ(3,"span",409),t._uU(4),t.qZA()()()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(2),t.hij(" ",e.goalName," "),t.xp6(2),t.lnq("(",e.orgName," > ",e.categoryName," > ",e.subCategoryName,")")}}function Sl(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Use only these [a-z, A-Z, 0-9, _?'.,-] and Max 150 characters. "),t.qZA())}function Zl(o,n){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,Sl,2,0,"mat-error",11),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.Q6J("ngIf",e.goalSuggestForm.controls.suggestedGoalName.errors.pattern)}}function Ol(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",410),t._uU(2),t.qZA()()),2&o){const e=t.oxw(3);t.xp6(2),t.Oqu(e.goalSuggestSuccessMsg)}}function Al(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.hij(" ",e.genericErrMsg," ")}}function Nl(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div")(1,"h4"),t._uU(2," Goals created by other people - select a goal to SUGGEST changes. "),t.qZA(),t.TgZ(3,"form",397)(4,"mat-form-field",398)(5,"mat-card-content")(6,"mat-select",411),t.YNc(7,Fl,5,5,"mat-option",400),t.qZA()()(),t.TgZ(8,"mat-form-field",398),t._UZ(9,"textarea",412,413),t.TgZ(11,"mat-hint",403)(12,"strong"),t._uU(13,"Use only these [a-z, A-Z, 0-9, _?'.,-] and Max 150 characters!"),t.qZA()(),t.TgZ(14,"mat-hint",404),t._uU(15),t.qZA()(),t.YNc(16,Zl,2,1,"div",11),t.YNc(17,Ol,3,1,"div",11),t.YNc(18,Al,2,1,"mat-error",11),t._UZ(19,"br"),t.TgZ(20,"div",405)(21,"button",414),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.suggestGoalCaptionChange())}),t._uU(22," Suggest Change "),t.TgZ(23,"mat-icon"),t._uU(24,"save"),t.qZA()()()()()}if(2&o){const e=t.MAs(10),i=t.oxw().$implicit,a=t.oxw();
1t.xp6(3),t.Q6J("formGroup",a.goalSuggestForm),t.xp6(4),t.Q6J("ngForOf",i.value.selectedOrgNonEditableGoalList),t.xp6(8),t.hij("",(null==e.value?null:e.value.length)||0," / 150"),t.xp6(1),t.Q6J("ngIf",a.goalSuggestForm.controls.suggestedGoalName.errors&&(a.goalSuggestForm.controls.suggestedGoalName.dirty||a.goalSuggestForm.controls.suggestedGoalName.touched)),t.xp6(1),t.Q6J("ngIf",!a.goalSuggestErr),t.xp6(1),t.Q6J("ngIf",a.goalSuggestErr),t.xp6(3),t.Q6J("disabled",a.goalSuggestForm.invalid)}}function El(o,n){if(1&o&&(t.TgZ(0,"mat-option",407)(1,"p",408),t._uU(2),t.TgZ(3,"span",409),t._uU(4),t.qZA()()()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(2),t.hij(" ",e.subCategoryName," "),t.xp6(2),t.AsE("(",e.orgName," > ",e.categoryName,")")}}function Dl(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Use only these [a-z, A-Z, 0-9, -, whitespace] and Max 50 characters. "),t.qZA())}function Il(o,n){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,Dl,2,0,"mat-error",11),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.Q6J("ngIf",e.subcatEditForm.controls.newSubcatName.errors.pattern)}}function Ul(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",410),t._uU(2),t.qZA()()),2&o){const e=t.oxw(3);t.xp6(2),t.Oqu(e.successMsg)}}function Ml(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.hij(" ",e.genericErrMsg," ")}}function ql(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div")(1,"h4"),t._uU(2," SubCategories created by other people - select a SubCategory to SUGGEST changes. "),t.qZA(),t.TgZ(3,"form",397)(4,"mat-form-field",398)(5,"mat-card-content")(6,"mat-select",415),t.YNc(7,El,5,4,"mat-option",400),t.qZA()()(),t.TgZ(8,"mat-form-field",398),t._UZ(9,"input",416,417),t.TgZ(11,"mat-hint",403)(12,"strong"),t._uU(13,"Use only these [a-z, A-Z, 0-9, -, whitespace] and Max 50 characters!"),t.qZA()(),t.TgZ(14,"mat-hint",404),t._uU(15),t.qZA()(),t.YNc(16,Il,2,1,"div",11),t.YNc(17,Ul,3,1,"div",11),t.YNc(18,Ml,2,1,"mat-error",11),t._UZ(19,"br"),t.TgZ(20,"div",405)(21,"button",418),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.suggestSubcategoryCaptionChange())}),t._uU(22," Suggest Change "),t.TgZ(23,"mat-icon"),t._uU(24,"save"),t.qZA()()()()()}if(2&o){const e=t.MAs(10),i=t.oxw().$implicit,a=t.oxw();t.xp6(3),t.Q6J("formGroup",a.subcatEditForm),t.xp6(4),t.Q6J("ngForOf",i.value.selectedOrgNonEditableSubcatList),t.xp6(8),t.hij("",(null==e.value?null:e.value.length)||0," / 50"),t.xp6(1),t.Q6J("ngIf",a.subcatEditForm.controls.newSubcatName.errors&&(a.subcatEditForm.controls.newSubcatName.dirty||a.subcatEditForm.controls.newSubcatName.touched)),t.xp6(1),t.Q6J("ngIf",!a.genericErr),t.xp6(1),t.Q6J("ngIf",a.genericErr),t.xp6(3),t.Q6J("disabled",a.subcatEditForm.invalid)}}function Hl(o,n){if(1&o&&(t.TgZ(0,"mat-option",407)(1,"p",408),t._uU(2),t.TgZ(3,"span",409),t._uU(4),t.qZA()()()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(2),t.hij(" ",e.subCategoryName," "),t.xp6(2),t.AsE("(",e.orgName," > ",e.categoryName,")")}}function Ll(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Use only these [a-z, A-Z, 0-9, -, whitespace] and Max 50 characters. "),t.qZA())}function Rl(o,n){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,Ll,2,0,"mat-error",11),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.Q6J("ngIf",e.subcatEditForm.controls.newSubcatName.errors.pattern)}}function Jl(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",410),t._uU(2),t.qZA()()),2&o){const e=t.oxw(3);t.xp6(2),t.Oqu(e.successMsg)}}function Yl(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.hij(" ",e.genericErrMsg," ")}}function Kl(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div")(1,"h4"),t._uU(2,"Select a SubCategory below to UPDATE its caption."),t.qZA(),t.TgZ(3,"form",397)(4,"mat-form-field",398)(5,"mat-card-content")(6,"mat-select",415),t.YNc(7,Hl,5,4,"mat-option",400),t.qZA()()(),t.TgZ(8,"mat-form-field",398),t._UZ(9,"input",416,417),t.TgZ(11,"mat-hint",403)(12,"strong"),t._uU(13,"Use only these [a-z, A-Z, 0-9, -, whitespace] and Max 50 characters!"),t.qZA()(),t.TgZ(14,"mat-hint",404),t._uU(15),t.qZA()(),t.YNc(16,Rl,2,1,"div",11),t.YNc(17,Jl,3,1,"div",11),t.YNc(18,Yl,2,1,"mat-error",11),t._UZ(19,"br"),t.TgZ(20,"div",405)(21,"button",419),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.updateSubcategoryCaption())}),t._uU(22," Update "),t.TgZ(23,"mat-icon"),t._uU(24,"save"),t.qZA()()()()()}if(2&o){const e=t.MAs(10),i=t.oxw().$implicit,a=t.oxw();
1t.xp6(3),t.Q6J("formGroup",a.subcatEditForm),t.xp6(4),t.Q6J("ngForOf",i.value.selectedOrgEditableSubcatList),t.xp6(8),t.hij("",(null==e.value?null:e.value.length)||0," / 50"),t.xp6(1),t.Q6J("ngIf",a.subcatEditForm.controls.newSubcatName.errors&&(a.subcatEditForm.controls.newSubcatName.dirty||a.subcatEditForm.controls.newSubcatName.touched)),t.xp6(1),t.Q6J("ngIf",!a.genericErr),t.xp6(1),t.Q6J("ngIf",a.genericErr),t.xp6(3),t.Q6J("disabled",a.subcatEditForm.invalid)}}function Ql(o,n){if(1&o&&(t.TgZ(0,"mat-option",407)(1,"p",408),t._uU(2),t.qZA()()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(2),t.hij(" ",e.categoryName," ")}}function Bl(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Use only these [a-z, A-Z, 0-9, -, whitespace] and Max 50 characters. "),t.qZA())}function Gl(o,n){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,Bl,2,0,"mat-error",11),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.Q6J("ngIf",e.catEditForm.controls.newCatName.errors.pattern)}}function Vl(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",410),t._uU(2),t.qZA()()),2&o){const e=t.oxw(3);t.xp6(2),t.Oqu(e.successMsg)}}function Wl(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.hij(" ",e.genericErrMsg," ")}}function zl(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div")(1,"h4"),t._uU(2," Categories created by other people - select a Category to SUGGEST changes. "),t.qZA(),t.TgZ(3,"form",397)(4,"mat-form-field",398)(5,"mat-card-content")(6,"mat-select",420),t.YNc(7,Ql,3,2,"mat-option",400),t.qZA()()(),t.TgZ(8,"mat-form-field",398),t._UZ(9,"input",421,422),t.TgZ(11,"mat-hint",403)(12,"strong"),t._uU(13,"Use only these [a-z, A-Z, 0-9, -, whitespace] and Max 50 characters!"),t.qZA()(),t.TgZ(14,"mat-hint",404),t._uU(15),t.qZA()(),t.YNc(16,Gl,2,1,"div",11),t.YNc(17,Vl,3,1,"div",11),t.YNc(18,Wl,2,1,"mat-error",11),t._UZ(19,"br"),t.TgZ(20,"div",405)(21,"button",423),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.suggestCategoryCaptionChange())}),t._uU(22," Suggest Change "),t.TgZ(23,"mat-icon"),t._uU(24,"save"),t.qZA()()()()()}if(2&o){const e=t.MAs(10),i=t.oxw().$implicit,a=t.oxw();t.xp6(3),t.Q6J("formGroup",a.catEditForm),t.xp6(4),t.Q6J("ngForOf",i.value.selectedOrgNonEditableCatList),t.xp6(8),t.hij("",(null==e.value?null:e.value.length)||0," / 50"),t.xp6(1),t.Q6J("ngIf",a.catEditForm.controls.newCatName.errors&&(a.catEditForm.controls.newCatName.dirty||a.catEditForm.controls.newCatName.touched)),t.xp6(1),t.Q6J("ngIf",!a.genericErr),t.xp6(1),t.Q6J("ngIf",a.genericErr),t.xp6(3),t.Q6J("disabled",a.catEditForm.invalid)}}function jl(o,n){if(1&o&&(t.TgZ(0,"mat-option",407)(1,"p",408),t._uU(2),t.qZA()()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(2),t.hij(" ",e.categoryName," ")}}function $l(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Use only these [a-z, A-Z, 0-9, -, whitespace] and Max 50 characters. "),t.qZA())}function Xl(o,n){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,$l,2,0,"mat-error",11),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.Q6J("ngIf",e.catEditForm.controls.newCatName.errors.pattern)}}function td(o,n){if(1&o&&(t.TgZ(0,"div")(1,"p",410),t._uU(2),t.qZA()()),2&o){const e=t.oxw(3);t.xp6(2),t.Oqu(e.successMsg)}}function ed(o,n){if(1&o&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.hij(" ",e.genericErrMsg," ")}}function od(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div")(1,"h4"),t._uU(2,"Select a Category below to UPDATE its caption."),t.qZA(),t.TgZ(3,"form",397)(4,"mat-form-field",398)(5,"mat-card-content")(6,"mat-select",420),t.YNc(7,jl,3,2,"mat-option",400),t.qZA()()(),t.TgZ(8,"mat-form-field",398),t._UZ(9,"input",421,422),t.TgZ(11,"mat-hint",403)(12,"strong"),t._uU(13,"Use only these [a-z, A-Z, 0-9, -, whitespace] and Max 50 characters!"),t.qZA()(),t.TgZ(14,"mat-hint",404),t._uU(15),t.qZA()(),t.YNc(16,Xl,2,1,"div",11),t.YNc(17,td,3,1,"div",11),t.YNc(18,ed,2,1,"mat-error",11),t._UZ(19,"br"),t.TgZ(20,"div",405)(21,"button",424),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.updateCategoryCaption())}),t._uU(22," Update "),t.TgZ(23,"mat-icon"),t._uU(24,"save"),t.qZA()()()()()}if(2&o){const e=t.MAs(10),i=t.oxw().$implicit,a=t.oxw();
1t.xp6(3),t.Q6J("formGroup",a.catEditForm),t.xp6(4),t.Q6J("ngForOf",i.value.selectedOrgEditableCatList),t.xp6(8),t.hij("",(null==e.value?null:e.value.length)||0," / 50"),t.xp6(1),t.Q6J("ngIf",a.catEditForm.controls.newCatName.errors&&(a.catEditForm.controls.newCatName.dirty||a.catEditForm.controls.newCatName.touched)),t.xp6(1),t.Q6J("ngIf",!a.genericErr),t.xp6(1),t.Q6J("ngIf",a.genericErr),t.xp6(3),t.Q6J("disabled",a.catEditForm.invalid)}}const St=function(){return{standalone:!0}};function id(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-tab",392),t._UZ(1,"br"),t.TgZ(2,"div")(3,"p"),t._uU(4,"What do you want to modify?"),t.qZA(),t.TgZ(5,"mat-radio-group",393),t.NdJ("change",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.categoryTreeRadioChange(a))})("ngModelChange",function(a){t.CHM(e);const s=t.oxw();return t.KtG(s.selectedEditOption=a)}),t.TgZ(6,"mat-radio-button",394),t._uU(7,"Goal"),t.qZA(),t.TgZ(8,"mat-radio-button",395),t._uU(9,"Subcategory"),t.qZA(),t.TgZ(10,"mat-radio-button",396),t._uU(11,"Category"),t.qZA()(),t.YNc(12,kl,25,7,"div",11),t.YNc(13,Nl,25,7,"div",11),t.YNc(14,ql,25,7,"div",11),t.YNc(15,Kl,25,7,"div",11),t.YNc(16,zl,25,7,"div",11),t.YNc(17,od,25,7,"div",11),t.qZA()()}if(2&o){const e=n.$implicit,i=t.oxw();t.s9C("label",e.value.orgDisplayName?e.value.orgDisplayName:e.key),t.xp6(5),t.Q6J("ngModel",i.selectedEditOption)("ngModelOptions",t.DdM(9,St)),t.xp6(7),t.Q6J("ngIf","G"===i.selectedEditOption&&e.value.selectedOrgEditableGoalList&&e.value.selectedOrgEditableGoalList.length>0),t.xp6(1),t.Q6J("ngIf","G"===i.selectedEditOption&&e.value.selectedOrgNonEditableGoalList&&e.value.selectedOrgNonEditableGoalList.length>0),t.xp6(1),t.Q6J("ngIf","S"===i.selectedEditOption&&e.value.selectedOrgNonEditableSubcatList&&e.value.selectedOrgNonEditableSubcatList.length>0),t.xp6(1),t.Q6J("ngIf","S"===i.selectedEditOption&&e.value.selectedOrgEditableSubcatList&&e.value.selectedOrgEditableSubcatList.length>0),t.xp6(1),t.Q6J("ngIf","C"===i.selectedEditOption&&e.value.selectedOrgNonEditableCatList&&e.value.selectedOrgNonEditableCatList.length>0),t.xp6(1),t.Q6J("ngIf","C"===i.selectedEditOption&&e.value.selectedOrgEditableCatList&&e.value.selectedOrgEditableCatList.length>0)}}function ad(o,n){if(1&o&&(t.TgZ(0,"mat-option",439),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function nd(o,n){if(1&o&&(t.TgZ(0,"mat-option",439),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.lnq("",e.goalName," (",e.subCategoryName," / ",e.categoryName,")")}}function rd(o,n){if(1&o&&(t.TgZ(0,"mat-option",439),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e.flowchartName)}}function sd(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-form-field",398)(1,"p"),t._uU(2,"Select the Flowchart you want to copy"),t.qZA(),t._UZ(3,"label",440),t.TgZ(4,"mat-select",441),t.NdJ("selectionChange",function(){t.CHM(e);const a=t.oxw(2);return a.showDestinationOrgs=!0,t.KtG(a.loadGoalForNonDzSuperAdmin())}),t.YNc(5,rd,2,2,"mat-option",429),t.qZA()()}if(2&o){const e=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",e.sourceFlowchartList)}}function cd(o,n){if(1&o&&(t.TgZ(0,"mat-option",439),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function ld(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-form-field",398)(1,"p"),t._uU(2," Select the Destination Organization where you want to Copy Selected Flowchart "),t.qZA(),t._UZ(3,"label",442),t.TgZ(4,"mat-select",443),t.NdJ("selectionChange",function(){t.CHM(e);const a=t.oxw(2);return a.showDestinationGoals=!0,a.populateSelectedOrgGoalList("destination"),t.KtG(a.getDestinationOrgUserList())}),t.YNc(5,cd,2,2,"mat-option",429),t.qZA()()}if(2&o){const e=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",e.fcAccessibleOrgList)}}function dd(o,n){1&o&&(t.TgZ(0,"mat-form-field",398)(1,"p"),t._uU(2," Select the Destination Organization where you want to Copy Selected Flowchart "),t.qZA(),t._UZ(3,"label",442)(4,"input",444),t.qZA())}function _d(o,n){if(1&o&&(t.TgZ(0,"mat-option",439),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.lnq("",e.goalName," (",e.subCategoryName," / ",e.categoryName,")")}}function gd(o,n){if(1&o&&(t.TgZ(0,"mat-form-field",398)(1,"p"),t._uU(2," Select destination Goal where you want to Copy selected Flowchart "),t.qZA(),t._UZ(3,"label",436),t.TgZ(4,"mat-select",445),t.YNc(5,_d,2,4,"mat-option",429),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",e.destinationGoalList)}}function md(o,n){if(1&o&&(t.TgZ(0,"mat-option",439),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e.userEmail)}}function pd(o,n){if(1&o&&(t.TgZ(0,"mat-form-field",398)(1,"p"),t._uU(2," Select Flowchart author from destination organization user list "),t.qZA(),t._UZ(3,"label",446),t.TgZ(4,"mat-select",447),t.YNc(5,md,2,2,"mat-option",429),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",e.destinationOrgUserList)}}function hd(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"mat-form-field",398)(1,"p"),t._uU(2,"Enter Flowchart name"),t.qZA(),t.TgZ(3,"input",448),t.
1NdJ("focusout",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.validateForUniqueFlowchartName())}),t.qZA()()}}function ud(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Flowchart Name is required. "),t.qZA())}function fd(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Flowchart Name cannot be greater than 50 characters. "),t.qZA())}function bd(o,n){1&o&&(t.TgZ(0,"mat-error"),t._uU(1," Flowchart Name can contain only alphabets, numbers or hyphen '-', but no whitespace. (Max 50 characters). "),t.qZA())}function wd(o,n){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,ud,2,0,"mat-error",11),t.YNc(2,fd,2,0,"mat-error",11),t.YNc(3,bd,2,0,"mat-error",11),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.copyFlowchartForm.controls.flowchartName.errors.required),t.xp6(1),t.Q6J("ngIf",e.copyFlowchartForm.controls.flowchartName.errors.maxlength),t.xp6(1),t.Q6J("ngIf",e.copyFlowchartForm.controls.flowchartName.errors.pattern)}}function Cd(o,n){if(1&o&&(t.TgZ(0,"div")(1,"mat-error"),t._uU(2),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(2),t.Oqu(e.fcNameErrorMsg)}}function yd(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div")(1,"p"),t._uU(2," The author of the Selected source flowchart has allowed the boxes of their flowchart to be added to the Box-Clone-Group with the copied boxes in this flowchart. Please indicate below whether you want each one of your copied boxes added to the Box-Clone-Group with respective box from the source flowchart. If not sure keep unchecked. "),t.qZA(),t.TgZ(3,"mat-checkbox",449),t.NdJ("ngModelChange",function(a){t.CHM(e);const s=t.oxw(2);return t.KtG(s.addCloneGroupForCopy=a)}),t._uU(4,"Add new boxes created to the source flowchart box's Box-Clone-Group."),t.qZA(),t._UZ(5,"br"),t.qZA()}if(2&o){const e=t.oxw(2);t.xp6(3),t.Q6J("ngModel",e.addCloneGroupForCopy)("ngModelOptions",t.DdM(2,St))}}function Td(o,n){1&o&&t._UZ(0,"mat-spinner",24)}function xd(o,n){1&o&&(t.TgZ(0,"div")(1,"p",410),t._uU(2," Successfully copied flowchart to selected destination organization's goal. You have to logout and log back in again to see your copied flowchart under selected goal. "),t.qZA()())}function vd(o,n){if(1&o&&(t.TgZ(0,"div")(1,"mat-error"),t._uU(2),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(2),t.Oqu(e.copyFlowchartError)}}function Pd(o,n){if(1&o&&(t.TgZ(0,"mat-option",439),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function kd(o,n){if(1&o&&(t.TgZ(0,"mat-option",439),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e.flowchartName)}}function Fd(o,n){if(1&o&&(t.TgZ(0,"mat-option",439),t._uU(1),t.TgZ(2,"span",450),t._uU(3),t.qZA()()),2&o){const e=n.$implicit;t.Q6J("value",e),t.xp6(1),t.hij("",e.goalName," "),t.xp6(2),t.AsE("(",e.categoryName," / ",e.subCategoryName,")")}}function Sd(o,n){1&o&&t._UZ(0,"mat-spinner",24)}function Zd(o,n){1&o&&(t.TgZ(0,"div")(1,"p",410),t._uU(2," Successfully moved flowchart to the destination goal. "),t.TgZ(3,"strong"),t._uU(4," You have to logout and log back in to see all the changes related to moving this flowchart."),t.qZA()()())}function Od(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"div")(1,"mat-toolbar"),t._uU(2,"Copy/Move Flowchart"),t.qZA(),t._UZ(3,"br"),t.TgZ(4,"mat-expansion-panel",2),t.NdJ("opened",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.getFcAccessibleOrgs())}),t.TgZ(5,"mat-expansion-panel-header")(6,"mat-panel-title",3),t._uU(7,"Copy Flowchart"),t.qZA(),t.TgZ(8,"mat-panel-description",3),t._uU(9," Create identical new Flowchart "),t.TgZ(10,"mat-icon"),t._uU(11,"content_copy"),t.qZA()()(),t.TgZ(12,"mat-card",425)(13,"form",426)(14,"mat-form-field",398)(15,"p"),t._uU(16,"Select Organization"),t.qZA(),t._UZ(17,"label",427),t.TgZ(18,"mat-select",428),t.NdJ("selectionChange",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.populateSelectedOrgGoalList("source"))}),t.YNc(19,ad,2,2,"mat-option",429),t.qZA()(),t.TgZ(20,"mat-form-field",398)(21,"p"),t._uU(22,"Select Goal from Source Organization"),t.qZA(),t._UZ(23,"label",430),t.TgZ(24,"mat-select",431),t.NdJ("selectionChange",function(){t.CHM(e);const a=t.oxw();return a.populateMasterFlowcharts(),t.KtG(a.showSourceFcList=!0)}),t.YNc(25,nd,2,4,"mat-option",429),t.qZA()(),t.YNc(26,sd,6,1,"mat-form-field",432),t.YNc(27,ld,6,1,"mat-form-field",432),t.YNc(28,dd,5,0,"mat-form-field",432),t.YNc(29,gd,6,1,"mat-form-field",432),t.YNc(30,pd,6,1,"mat-form-field",432),t.YNc(31,hd,4,0,"mat-form-field",432),t.YNc(32,wd,4,3,"div",11),t.YNc(33,Cd,3,1,"div",11),t.YNc(34,yd,6,3,"div",11),t.TgZ(35,"button",433),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.copyFlowchart())}),t.YNc(36,Td,1,0,"mat-spinner",9),t._uU(37,"Copy Flowchart "),t.TgZ(38,"mat-icon"),t._uU(39,"content_copy"),t.qZA()(),t.YNc(40,xd,3,0,"div",11),t.YNc(41,vd,3,1,"div",11),t.qZA()()(),t._UZ(42,"br"),t.TgZ(43,"mat-expansion-panel",2),t.NdJ("opened",function(){t.CHM(e);const a=t.oxw();return a.getFcAccessibleOrgs(),t.KtG(a.populateFlowchartList())}),t.TgZ(44,"mat-expansion-panel-header")(45,"mat-panel-title",3),t._uU(46,"Move Flowchart"),t.qZA(),t.TgZ(47,"mat-panel-description",3),t._uU(48," Move Flowchart to another Goal "),t.TgZ(49,"mat-icon"),t._uU(50,"low_priority"),t.qZA()()(),t.TgZ(51,"mat-card",425)(52,"p"),t._uU(53," CAUTION: when we move your flowchart to the specified Goal, we will delete any links ( Published-Flowchart-URLs, Embeded-Flowchart-URLs or Restricted-Published-Flowchart-URLs) associated with this flowchart. If you have shared any of these Links, they will stop working permanently without any possibility of recovery. Once moved, you can choose to create new Links for that flowchart and share. "),t.qZA(),t.TgZ(54,"form",426)(55,"mat-form-field",398),t._UZ(56,"label",427),t.TgZ(57,"mat-select",428),t.NdJ("selectionChange",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.populateFlowchartList())}),t.YNc(58,Pd,2,2,"mat-option",429),t.qZA()(),t.TgZ(59,"mat-form-field",398),t._UZ(60,"label",434),t.TgZ(61,"mat-select",435),t.NdJ("selectionChange",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.loadDestinationGoals())}),t.YNc(62,kd,2,2,"mat-option",429),t.qZA()(),t.TgZ(63,"mat-form-field",398),t._UZ(64,"label",436),t.TgZ(65,"mat-select",437),t.YNc(66,Fd,4,4,"mat-option",429),t.qZA()(),t.TgZ(67,"button",438),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.validateAndConfirmMoveFlowchart())}),t.YNc(68,Sd,1,0,"mat-spinner",9),t._uU(69,"Move Flowchart "),t.TgZ(70,"mat-icon"),t._uU(71,"content_move"),t.qZA()(),t.YNc(72,Zd,5,0,"div",11),t.qZA()()()()}if(2&o){const e=t.oxw();
1t.xp6(4),t.Q6J("expanded",!1),t.xp6(9),t.Q6J("formGroup",e.copyFlowchartForm),t.xp6(6),t.Q6J("ngForOf",e.fcAccessibleOrgList),t.xp6(6),t.Q6J("ngForOf",e.sourceGoalList),t.xp6(1),t.Q6J("ngIf",e.showSourceFcList),t.xp6(1),t.Q6J("ngIf",e.showDestinationOrgs&&e.dzSuperAdmin),t.xp6(1),t.Q6J("ngIf",e.showDestinationOrgs&&!e.dzSuperAdmin),t.xp6(1),t.Q6J("ngIf",e.showDestinationGoals),t.xp6(1),t.Q6J("ngIf",e.showDestinationOrgUsers),t.xp6(1),t.Q6J("ngIf",e.showDestinationOrgUsers),t.xp6(1),t.Q6J("ngIf",e.copyFlowchartForm.controls.flowchartName.errors&&(e.copyFlowchartForm.controls.flowchartName.dirty||e.copyFlowchartForm.controls.flowchartName.touched)),t.xp6(1),t.Q6J("ngIf",e.fcNameErrorMsg),t.xp6(1),t.Q6J("ngIf",!e.dzSuperAdmin&&e.showCopyFlowchartWithCloneMsg),t.xp6(1),t.Q6J("disabled",!e.enableCopyFlowchartButton||e.copyFlowchartForm.invalid),t.xp6(1),t.Q6J("ngIf",e.copyingFlowchart),t.xp6(4),t.Q6J("ngIf",e.copyFlowchartSuccess),t.xp6(1),t.Q6J("ngIf",e.copyFlowchartError),t.xp6(2),t.Q6J("expanded",!1),t.xp6(11),t.Q6J("formGroup",e.moveFlowchartForm),t.xp6(4),t.Q6J("ngForOf",e.fcAccessibleOrgList),t.xp6(4),t.Q6J("ngForOf",e.sourceFlowchartList),t.xp6(4),t.Q6J("ngForOf",e.destinationGoalList),t.xp6(1),t.Q6J("disabled",e.moveFlowchartForm.invali
1d),t.xp6(1),t.Q6J("ngIf",e.copyingFlowchart),t.xp6(4),t.Q6J("ngIf",e.moveFlowchartSuccess)}}let Ad=(()=>{class o{constructor(e,i,a,s,r,c,g,m,w,C,p,f,u,x,h,_,F,Z,v,U,S,k,Ct,M,Id){this.zone=e,this.router=i,this._userService=a,this._utilService=s,this._flowchartService=r,this._flowchartListService=c,this._homeService=g,this._goalService=m,this._subcatService=w,this._catService=C,this._userMilestoneService=p,this._userWelcomeDialogService=f,this._entityActionsFeedbackDialogService=u,this._flowchartNotesDialogService=x,this._fcMoveConfirmDialogService=h,this._orgService=_,this._webhookEventService=F,this._webhookEventSubscriptionService=Z,this._addKbPageDialogService=v,this._editKbPageDialogService=U,this._snackBar=S,this.dialog=k,this.cdr=Ct,this.seoService=Id,this.loading=!1,this.pubListLoading=!1,this.orgListLoading=!1,this.genericErr=!1,this.successMsg="",this.goalUpdateSuccessMsg="",this.goalSuggestSuccessMsg="",this.goalUpdateErr=!1,this.goalSuggestErr=!1,this.userFavFlowcharts=[],this.orgNames=[],this.orgSearchTerms=[],this.orgSearchTermsForCopy="",this.dzSuperAdmin=!1,this.copyingFlowchart=!1,this.showCopyFlowchartToolbar=!1,this.fcAccessibleOrgList=[],this.sourceGoalList=[],this.sourceFlowchartList=[],this.destinationGoalList=[],this.destinationOrgUserList=[],this.showSourceFcList=!1,this.showDestinationOrgs=!1,this.showDestinationGoals=!1,this.showDestinationOrgUsers=!1,this.enableCopyFlowchartButton=!1,this.fcNameErrorMsg="",this.copyFlowchartSuccess=!1,this.copyFlowchartError="",this.showCopyFlowchartWithCloneMsg=!1,this.addCloneGroupForCopy=!1,this.selectedOrgFcOwnerList=[],this.selectedOrgFcSharedList=[],this.publicOrgFcOwnerList=[],this.isSelectedOrgEditor=!1,this.selectedOrgDisplayName="",this.showOwnerData=!1,this.showSharedData=!1,this.showOrgFcEntityActionData=!1,this.showDzWebhookEventsData=!1,this.showWebhookSubscribedEventData=!1,this.approving=!1,this.feedbackgiving=!1,this.loadingFc=!1,this.loadingFcId=0,this.answer="yes",this.publicOrgName="PUBLIC",this.orgCattreeMap={},this.selectedGoalForEdit="",this.selectedSubcatForEdit="",this.selectedCatForEdit="",this.publicOnlyUser=!1,this.userFavFcList=new P.by([]),this.fcPublicOwnerList=new P.by([]),this.fcOrgOwnerList=[new P.by([])],this.fcSharedList=[new P.by([])],this.columnsToDisplayForUserFavFlowcharts=["flowchartName","actions","goalName","subCategoryName","categoryName"],this.columnsToDisplayForPublicOwner=["flowchartName","isPublic","actions","fcVersionCount","hasMaster","masterFlowchartVersion","flowchartCopiable","goalName","subCategoryName","categoryName","creator"],this.columnsToDisplayForOrgOwner=["flowchartName","actions","fcVersionCount","hasMaster","alertNoMaster","masterFlowchartVersion","isPublished","alertNotPublish","alertNotEmbed","goalName","subCategoryName","categoryName","creator","userActivityPersistanceDays"],this.columnsToDisplayForShared=["flowchartName","isPublished","goalName","subCategoryName","categoryName","creator"],this.selectedOrgFlowchartEntityActionList=[],this.orgFlowchartEntityActionList=new P.by([]),this.columnsToDisplayForOrgFcEntityAction=["flowchartName","action","status","actions","requestorName","notes","isPublished","masterFlag","masterFlowchartVersion","flowchartCreator"],this.webhookEvents=new P.by([]),this.columnsToDisplayForWebhookEvents=["webhookEventName","webhookEventIdentifier","webhookEventDescription","statusName"],this.webhookSubscribedEvents=[new P.by([])],this.columnsToDisplayForWebhookSubscribedEvents=["webhookEventName","connectedAppName","connectedAppHookUrl","userName","wesUUID","statusName"],this.canPublishEmbedCustomPage=!1,this.canRestrictedPublishFc=!1,this.kbPublishFlag=!1,this.kbPublishedUrl="",this.kbPublishError=!1,this.kbEmbedFlag=!1,this.kbEmbedUrl="",this.kbEmbedIframeCode="",this.kbEmbedError=!1,this.kbSectionSelectedOrgName="",this.hidePublishKBCookieConsentBanner=!1,this.hideEmbedKBCookieConsentBanner=!1,this.kbHomeIndex1=!1,this.kbHomeIndex2=!1,this.kbHomeIndex3=!1,this.kbHomeIndex4=!1,this.kbHomeIndex5=!1,this.kbHomeIndex6=!1,this.kbHomeIndex7=!1,this.kbHomeIndex8=!1,this.kbHomeIndex9=!1,this.kbHomeIndex10=!1,this.kbhomeNames=[],this.selectedOrgKbPageDetails=[],this.orgKbPageDetails=new P.by([]),this.columnsToDisplayForOrgKbPageDetails=["customPageName","actions","isPublished","hideCookieConsentPublishView","publishBackgroun
1dColor","publishedUrl","isPublishedWithPassword","hideCookieConsentPasswordProtectedPublishView","pubWithPwdBackgroundColor","publishedUrlWithPassword","publishedPassword","canEmbed","hideCookieConsentEmbedView","embedBackgroundColor","embedUrl","canEmbedWithPassword","hideCookieConsentPasswordProtectedEmbedView","embedWithPwdBackgroundColor","embedUrlWithPassword","embedPassword"],this.orgCustomKbpLimitReached=!1,this.orgKbPagesSort=new t.n_E,this.showUserActivityPersistDaysColumn=!0,this.step=-1,this.orgFcOwnerPaginator=new t.n_E,this.orgFcOwnerSort=new t.n_E,this.fcSharedPaginator=new t.n_E,this.fcSharedSort=new t.n_E,this.orgFcEntityActionPaginator=new t.n_E,this.orgFcEntityActionSort=new t.n_E,this.orgWebhookSubscribedEventPaginator=new t.n_E,this.orgWebhookSubscribedEventsSort=new t.n_E,this.qrCodeDownloadLink="",this.sessionStorage=M;var yt=document.getElementById("footer");yt&&yt.style&&(yt.style.display="block"),this.seoService.createLinkForCanonicalURL(),this.seoService.generateTags({title:"My Settings - DeciZone",metaTitle:"My Settings - DeciZone",metaDescription:"My Settings page in DeciZone",metaImageUrl:"https://decizone.com/assets/images/DZ-LOGO-1200x628px-Fb-Li-Opt.png",robots:"noindex,nofollow",slug:window.location.href}),this._utilService.addFcToOrgHomeMilestoneAchieved.subscribe(Ud=>{Ud&&this._snackBar.open(O.pK8,"Dismiss",{duration:2500})})}ngOnInit(){this.userFavFlowcharts=[];var e=document.getElementById("footer");e&&e.style&&(e.style.display="block"),this._utilService.setShowSearchButton(!0),this.moveFlowchartForm=new l.nJ({sourceOrgName:new l.p4("",[l.kI.required]),sourceFc:new l.p4("",[l.kI.required]),destinationGoal:new l.p4("",[l.kI.required])}),this.copyFlowchartForm=new l.nJ({sourceOrgName:new l.p4("",[l.kI.required]),sourceGoal:new l.p4("",[l.kI.required]),sourceFc:new l.p4("",[l.kI.required]),destinationOrgName:new l.p4("",[l.kI.required]),destinationGoal:new l.p4("",[l.kI.required]),newFlowchartCreator:new l.p4("",[l.kI.required]),flowchartName:new l.p4("",[l.kI.required,l.kI.maxLength(50),l.kI.pattern("^[a-zA-Z0-9-]{1,50}$")])}),this.goalEditForm=new l.nJ({selectedGoalForEdit:new l.p4("",[l.kI.required]),newGoalName:new l.p4("",[l.kI.required,l.kI.pattern("^[a-zA-Z0-9_/'.,\\- ]+([a-zA-Z0-9_/'?.,\\- ])*$")])}),this.goalSuggestForm=new l.nJ({selectedGoalForSuggest:new l.p4("",[l.kI.required]),suggestedGoalName:new l.p4("",[l.kI.required,l.kI.pattern("^[a-zA-Z0-9_/'.,\\- ]+([a-zA-Z0-9_/'?.,\\- ])*$")])}),this.subcatEditForm=new l.nJ({selectedSubcatForEdit:new l.p4("",[l.kI.required]),newSubcatName:new l.p4("",[l.kI.required,l.kI.pattern("^[a-zA-Z0-9\\- ]+([a-zA-Z0-9\\- ])*$")])}),this.catEditForm=new l.nJ({selectedCatForEdit:new l.p4("",[l.kI.required]),newCatName:new l.p4("",[l.kI.required,l.kI.pattern("^[a-zA-Z0-9\\- ]+([a-zA-Z0-9\\- ])*$")])}),this._utilService.setFlowchartFlowProperty(!1),this.sessionStorage.getItem("showWelcomeModal")&&setTimeout(()=>{this._userWelcomeDialogService.open(),this._userWelcomeDialogService.confirmed().subscribe(a=>{this.sessionStorage.removeItem("showWelcomeModal")})}),this.publicOnlyUser=this.isPublicUserOnly(),this.dzSuperAdmin="true"===this.sessionStorage.getItem("dzSuperAdmin"),this.showCopyFlowchartToolbar="true"===this.sessionStorage.getItem("dzSuperAdmin")||"true"===this.sessionStorage.getItem("orgEditor")}applyFavFilter(e){this.userFavFcList.filter=e.target.value.trim().toLowerCase(),this.userFavFcList.paginator&&this.userFavFcList.paginator.firstPage()}applyPublicFilter(e){this.fcPublicOwnerList.filter=e.target.value.trim().toLowerCase(),this.fcPublicOwnerList.paginator&&this.fcPublicOwnerList.paginator.firstPage()}applyOrgOwnerFilter(e,i){this.fcOrgOwnerList[i].filter=e.target.value.trim().toLowerCase(),this.fcOrgOwnerList[i].paginator&&this.fcOrgOwnerList[i].paginator.firstPage()}applyOrgSharedFilter(e,i){this.fcSharedList[i].filter=e.target.value.trim().toLowerCase(),this.fcSharedList[i].paginator&&this.fcSharedList[i].paginator.firstPage()}ngAfterViewInit(){this.userFavFlowcharts.length>0&&(this.userFavFcList.paginator=this.favPaginator,this.userFavFcList.sort=this.favSort)}isPublicUserOnly(){let e={};e=this.sessionStorage.getObject("userProfile");let a=d.filter(e.userOrg,function(s){return"PUBLIC"!==s.orgName&&"ACTIVE"===s.userOrgStatus});return!(a&&a.length>=1)}
1expandCollapasePanel(e){e.toggle()}copyTextToClipboard(e){window.focus();const i=document.getElementById(e);i?(i.focus(),navigator.clipboard.writeText(i.textContent||"").then(()=>{this._snackBar.open("Text copied successfully!","Close",{duration:2e3})},a=>{this._snackBar.open("Failed to copy text: "+a,"Close",{duration:2e3})})):console.log("Element not found")}copyPwdToClipboard(e){window.focus();const i=document.getElementById(e);i?(i.focus(),i.select(),navigator.clipboard.writeText(i.value||"").then(()=>{this._snackBar.open("Password copied successfully!","Close",{duration:2e3})},a=>{this._snackBar.open("Failed to copy password: "+a,"Close",{duration:2e3})})):console.log("Element not found")}copyElementText(e,i,a){window.getSelection().selectAllChildren(document.getElementById(e)),document.execCommand("Copy");let s={"dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole()};"puburl"===i?(s.event="click_copypubfcurl",s["dlv-org_id"]=a.orgId,s["dlv-cat_id"]=a.categoryId,s["dlv-subcat_id"]=a.subCategoryId,s["dlv-goal_id"]=a.goalId,s["dlv-fc_id"]=a.flowchartId):"pubkb"===i?(s.event="click_copypubkburl",s["dlv-org_id"]=this.kbSectionSelectedOrgId):"embedkb"===i&&(s.event="click_copyembdkbcode",s["dlv-org_id"]=this.kbSectionSelectedOrgId),window.dataLayer.push(s)}getUserFavoriteFlowcharts(){this.userFavFlowcharts=this.sessionStorage.getObject("userfavoritefc"),this.userFavFcList=new P.by(this.userFavFlowcharts),this.cdr.detectChanges(),this.userFavFcList.paginator=this.favPaginator,this.userFavFcList.sort=this.favSort}loadFlowchart(e){this.loadingFc=!0,this.loadingFcId=e.flowchartId,this.zone.run(()=>this.router.navigate([`${e.goalId}/${e.flowchartRandomId}/${e.goalUrl}/${e.flowchartName}`]))}getPublicOrg(){this.publicOrgName="PUBLIC"}getOrgs(){var e;e=this.sessionStorage.getObject("orgNameList"),this.orgNames=d.filter(e,function(i){return"PUBLIC"!==i})}getEditableCatSubcatGoalListForOrg(){let e={};var i;let a=[];var s=this.sessionStorage.getObject("orgNameList"),c=this.sessionStorage.getObject("userProfile").displayName;let g=this.sessionStorage;d.forEach(s,function(m){let w=[],C=[],p=[],f=[],u=[],x=[];i=d.isEqual(m,"PUBLIC")?g.getObject("pubcattree"):g.getObject("cattree"),e=JSON.parse(JSON.stringify(i)),e[m]&&d.forEach(e[m].categoryBeanList,function(F){var Z={};(Z=F).orgName=m,d.includes(F.privileges,"EDIT")?f.push(Z):w.push(Z),d.forEach(F.subCategories,function(v){var U={};(U=v).orgName=m,U.orgId=F.organizationId,U.categoryId=F.categoryId,U.categoryName=F.categoryName,d.includes(v.privileges,"EDIT")?u.push(U):C.push(U),d.forEach(v.goalList,function(S){var k={};(k=S).orgName=m,k.orgId=F.organizationId,k.subCategoryId=v.subCategoryId,k.subCategoryName=v.subCategoryName,k.categoryId=F.categoryId,k.categoryName=F.categoryName,d.includes(S.privileges,"EDIT")||S.goalCreatorDisplayName===c&&d.includes(S.privileges,"EDIT_OWN")?x.push(k):p.push(k)})})});let _={};_.selectedOrgNonEditableCatList=w,_.selectedOrgNonEditableSubcatList=C,_.selectedOrgNonEditableGoalList=p,_.selectedOrgEditableCatList=f,_.selectedOrgEditableSubcatList=u,_.selectedOrgEditableGoalList=x,_.orgName=m,_.orgDisplayName=e[m].orgDisplayName,a.push(_)}),this.orgCattreeMap=d.reduce(a,function(m,w){return m[w.orgName]=w,m},{}),console.log(this.orgCattreeMap)}getFcAccessibleOrgs(){let e=this.sessionStorage.getObject("orgNameList");if(this.dzSuperAdmin)this.fcAccessibleOrgList=e;else{let i=[],a={};a=this.sessionStorage.getObject("userProfile");let r=d.filter(a.userOrg,function(c){return"PUBLIC"!==c.orgName&&"ACTIVE"===c.userOrgStatus});d.forEach(r,function(c){(d.includes(c.roleDetails,"ORG_SUPER_ADMIN")||d.includes(c.roleDetails,"ORG_SUB_ADMIN")||d.includes(c.roleDetails,"ORG_EDITOR"))&&i.push(c.orgName)}),this.fcAccessibleOrgList=i}this.copyFlowchartForm.controls.sourceOrgName.setValue(this.fcAccessibleOrgList[0]),this.moveFlowchartForm.controls.sourceOrgName.setValue(this.fcAccessibleOrgList[0]),this.dzSuperAdmin||this.copyFlowchartForm.controls.destinationOrgName.setValue(this.fcAccessibleOrgList[0]),this.populateSelectedOrgGoalList("source")}populateSelectedOrgGoalList(e){let i={},a=[];var s;let r=this;var c="";"source"===e?(c=this.copyFlowchartForm.get("sourceOrgName").value,this.dzSuperAdmin||this.copyFlowchartForm.controls.destinationOrgName.setValue(c)):c=this.copyFlowchartForm.get("destinationOrgName").value,s=d.isEqual(c,"PUBLIC")?this.sessionStorage.getObject("pubcattree"):this.sessionStorage.getObject("cattree"),i=JSON.parse(JSON.stringify(s)),i[c]&&d.forEach(i[c].categoryBeanList,function(m){m.orgName=c,d.forEach(m.subCategories,function(C){var p={};(p=C).orgName=c,p.orgId=m.organizationId,p.categoryId=m.categoryId,p.categoryName=m.categoryName,d.forEach(C.goalList,function(f){var u={};let x=!1;
1!r.dzSuperAdmin&&"source"===e&&(d.forEach(f.flowchartList,function(h){h.flowchartCopiable&&"Y"===h.flowchartCopiable&&(x=!0)}),!x)||((u=f).orgName=c,u.orgId=m.organizationId,u.subCategoryId=C.subCategoryId,u.subCategoryName=C.subCategoryName,u.categoryId=m.categoryId,u.categoryName=m.categoryName,a.push(u))})})}),"source"===e?(this.sourceGoalList=a,console.log("Source goal list",this.sourceGoalList)):"destination"===e&&(this.destinationGoalList=a)}populateMasterFlowcharts(){var e;let i={},a=[],s=this.copyFlowchartForm.get("sourceOrgName").value,r=this.copyFlowchartForm.get("sourceGoal").value,c=this;if(!d.isEqual(s,"PUBLIC")&&(e=this.sessionStorage.getObject("cattree"),i=JSON.parse(JSON.stringify(e)),i[s])){var m=d.find(i[s].categoryBeanList,function(p){return d.isEqual(p.categoryId,r.categoryId)}),w=d.find(m.subCategories,function(p){return d.isEqual(p.subCategoryId,r.subCategoryId)}),C=d.find(w.goalList,function(p){return d.isEqual(p.goalId,r.goalId)});d.forEach(C.flowchartList,function(p){c.dzSuperAdmin?p.masterFlag&&"Y"===p.masterFlag&&a.push(p):p.flowchartCopiable&&"Y"===p.flowchartCopiable&&p.masterFlag&&"Y"===p.masterFlag&&a.push(p)}),this.sourceFlowchartList=a}}loadGoalForNonDzSuperAdmin(){this.showDestinationGoals=!0,this.populateSelectedOrgGoalList("destination"),this.getDestinationOrgUserList();let e=this.copyFlowchartForm.get("sourceFc").value;e.flowchartCopyAppendClonegroupAllowed&&"Y"===e.flowchartCopyAppendClonegroupAllowed&&(this.showCopyFlowchartWithCloneMsg=!0)}getDestinationOrgUserList(){let e=this.copyFlowchartForm.get("destinationOrgName").value;var i=this.sessionStorage.getObject("cattree");this._userService.loadOrgUsers(e,i[e].orgUserAccess).subscribe(s=>{this.destinationOrgUserList=s.responseBody.userOrgBeanList,this.showDestinationOrgUsers=!0},s=>{this.showDestinationOrgUsers=!1})}validateForUniqueFlowchartName(){this.fcNameErrorMsg="",this.copyFlowchartForm.valid&&this._flowchartService.validateUniqueFlowchartName(this.copyFlowchartForm.get("flowchartName").value).subscribe(e=>{this.enableCopyFlowchartButton=!0},e=>{this.enableCopyFlowchartButton=!1,this.fcNameErrorMsg="FlowchartName has been taken.  Please select other name."})}copyFlowchart(){this.copyingFlowchart=!0,this.copyFlowchartError="",this.copyFlowchartSuccess=!1,console.log("clonegroup flag",this.addCloneGroupForCopy);let e=this.copyFlowchartForm.get("sourceGoal").value,i=this.copyFlowchartForm.get("sourceFc").value,a=this.copyFlowchartForm.get("destinationGoal").value,s=this.copyFlowchartForm.get("newFlowchartCreator").value;var c=this.sessionStorage.getObject("cattree")[this.copyFlowchartForm.get("destinationOrgName").value].orgUserAccess;let g={sourceOrgName:this.copyFlowchartForm.get("sourceOrgName").value,sourceGoalId:e.goalId,sourceFlowchartId:i.flowchartId,destinationOrgName:this.copyFlowchartForm.get("destinationOrgName").value,destinationGoalId:a.goalId,newFlowchartAuthor:s.userId,destinationFlowchartName:this.copyFlowchartForm.get("flowchartName").value,userAccess:c,orgName:this.copyFlowchartForm.get("destinationOrgName").value,createCloneGroup:this.addCloneGroupForCopy};this._flowchartService.copyFlowchart(g).subscribe(m=>{this.copyFlowchartSuccess=!0,this.copyingFlowchart=!1,this._homeService.updateCategoryTree(this.copyFlowchartForm.get("destinationOrgName").value)},m=>{this.copyingFlowchart=!1,this.copyFlowchartSuccess=!1,m.error&&"500"===m.error.statusCode?this.copyFlowchartError="Unexpected error occurred while copying flowchart.":m.error&&m.error.statusMessage&&(this.copyFlowchartError=m.error.statusMessage)})}populateFlowchartList(){var e;let i={},a=[],s=this.moveFlowchartForm.get("sourceOrgName").value;d.isEqual(s,"PUBLIC")||(e=this.sessionStorage.getObject("cattree"),i=JSON.parse(JSON.stringify(e)),i[s]&&d.forEach(i[s].categoryBeanList,function(c){c.orgName=s,d.forEach(c.subCategories,function(m){var w={};(w=m).orgName=s,w.orgId=c.organizationId,w.categoryId=c.categoryId,w.categoryName=c.categoryName,d.forEach(m.goalList,function(C){var p={};(p=C).orgName=s,p.orgId=c.organizationId,p.subCategoryId=m.subCategoryId,p.subCategoryName=m.subCategoryName,p.categoryId=c.categoryId,p.categoryName=c.categoryName,d.forEach(p.flowchartList,function(f){a.push(f)})})})})),this.sourceFlowchartList=a}loadDestinationGoals(){let e={},i=[];var a;let r=this.moveFlowchartForm.get("sourceOrgName").value,c=this.moveFlowchartForm.get("sourceFc").value;console.log("destinationgoal load - source flowchart",c),a=d.isEqual(r,"PUBLIC")?this.sessionStorage.getObject("pubcattree"):this.sessionStorage.getObject("cattree"),e=JSON.parse(JSON.stringify(a)),e[r]&&d.forEach(e[r].categoryBeanList,function(m){m.orgName=r,d.forEach(m.subCategories,function(C){var p={};(p=C).orgName=r,p.orgId=m.organizationId,p.categoryId=m.categoryId,p.categoryName=m.categoryName,d.forEach(C.goalList,function(f){var u={};f.goalId!==c.goalId&&((u=f).orgName=r,u.orgId=m.organizationId,u.subCategoryId=C.subCategoryId,u.subCategoryName=C.subCategoryName,u.categoryId=m.categoryId,u.categoryName=m.categoryName,i.push(u))})})}),this.destinationGoalList=i}validateAndConfirmMoveFlowchart(){this.moveFlowchartError="",this.moveFlowchartSuccess="";let e=this.moveFlowchartForm.get("sourceOrgName").value,i=this.moveFlowchartForm.get("sourceFc").value,a=this.moveFlowchartForm.get("destinationGoal").value,s=!1;this._flowchartService.validateFlowchartMoveRequest(i,a,e).subscribe(r=>{s=r.responseBody.validationStatus,this._fcMoveConfirmDialogService.open({flowchartId:i.flowchartId,flowchartName:i.flowchartName,destinationGoalName:a.goalName,destinationGoalId:a.goalId,userAccess:i.userAccess,validationStatus:s,validationMessages:r.responseBody.validationMessages,orgName:e}),this._fcMoveConfirmDialogService.confirmed().subscribe(g=>{g?(this.moveFlowchartSuccess="Successfully moved flowchart to selected destination goal - "+a.goalName,this.moveFlowchartForm.reset(),this._homeService.updateCategoryTree(e),this._snackBar.openFromComponent(G.f,{data:"Successfully moved flowchart to the destination goal. You have to logout and log back in to see all the changes related to moving this flowchart.",...O.jjv})):(this.moveFlowchartError="Unable to move flowchart to selected destination goal.  Please try after sometime or contact DeciZone Support team.",this._snackBar.openFromComponent(G.f,{data:this.moveFlowchartError,...O.wml}))})},r=>{this.moveFlowchartError="Unable to move flowchart to selected destination goal.  Please try after sometime or contact DeciZone Support team.",this._snackBar.openFromComponent(G.f,{data:this.moveFlowchartError,...O.wml})})}getUserCreatedOwnedFlowcharts(e,i){this.successMsg="",this.orgListLoading=!1,this.pubListLoading=!1,this.showOwnerData=!1,this.showSharedData=!1,this.selectedOrgFcOwnerList=[],this.selectedOrgFcSharedList=[],this.fcPublicOwnerList=new P.by([]),this.fcOrgOwnerList=[new P.by([])],this.fcSh
1aredList=[new P.by([])];var a,s=(a=this.sessionStorage.getObject("userProfile")).displayName;let r={};var c=this.sessionStorage.getObject("cattree");r=JSON.parse(JSON.stringify(c));let g=[],m=[];if("PUBLIC"!==e&&r[e]){this.orgListLoading=!0;var w=r[e].categoryBeanList;this.selectedOrgDisplayName=r[e].orgDisplayName;let p=d.filter(a.userOrg,function(f){return f.orgName===e});p&&p.length>0&&p[0].userActivityRecording&&"N"===p[0].userActivityRecording&&(this.showUserActivityPersistDaysColumn=!1),this.canRestrictedPublishFc=d.includes(r[e].privileges,"PUBLISH-FLOWCHART"),this.canPublishEmbedCustomPage=d.includes(r[e].privileges,"PUBLISH_KB"),p&&p.length>0&&(this.isSelectedOrgEditor=d.includes(p[0].roleDetails,"ORG_SUPER_ADMIN")||d.includes(p[0].roleDetails,"ORG_SUB_ADMIN")||d.includes(p[0].roleDetails,"ORG_EDITOR")),this.isSelectedOrgEditor&&(this.columnsToDisplayForOrgOwner=["flowchartName","actions","orgHome","kbHome1","kbHome2","kbHome3","kbHome4","kbHome5","kbHome6","kbHome7","kbHome8","kbHome9","kbHome10","fcVersionCount","hasMaster","alertNoMaster","masterFlowchartVersion","isPublished","alertNotPublish","alertNotEmbed","flowchartCopiable","flowchartAppendAsFragment","flowchartCopyAppendClonegroupAllowed","goalName","subCategoryName","categoryName","creator","userActivityPersistanceDays"]),d.forEach(w,function(f){d.forEach(f.subCategories,function(u){d.forEach(u.goalList,function(x){d.forEach(x.flowchartList,function(h){var _={};if(d.isEqual(h.flowchartCreator,s)&&d.includes(h.privileges,"EDIT_OWN")||d.includes(h.privileges,"EDIT")){_.flowchartId=h.flowchartId,_.flowchartRandomId=h.flowchartRandomId,_.flowchartName=h.flowchartName,_.hasMaster=h.masterFlag,_.isPublic=h.isPublic,_.isPublished=h.isPublished,_.publishedUrl=h.publishedUrl,_.publishedFcLayout=h.publishFcLayout,_.allowPublishedFcViewerReceiveTranscript=h.allowPublishedFcViewerReceiveTranscript,_.canEmbed=h.canEmbed,_.embedUrl=h.embedUrl,_.embedFcLayout=h.embedFcLayout,_.flowchartDescription=h.flowchartDescription,_.keywords=h.keywords,_.notes=h.notes,_.userActivityPersistanceDays=h.fcUserActivityPersistanceDays,_.flowchartCustomKeyName=h.flowchartCustomKeyName,_.flowchartCustomKeyValue=h.flowchartCustomKeyValue,_.fcVersionCount=h.flowchartVersionCount;let Z=h.masterFlowchartVersion;_.masterFlowchartVersion=null!=Z?Z.substring(d.lastIndexOf(Z,"-")+1):"",_.fcCopiable=h.flowchartCopiable,_.fcAppendAsFragment=h.flowchartAppendAsFragment,_.copyAppendClonegroupAllowed=h.flowchartCopyAppendClonegroupAllowed;var F=d.split(h.flowchartImageUrl,"/");_.flowchartImageName=F[F.length-1],_.flowchartImageUrl=h.flowchartImageUrl,_.userAccess=h.userAccess,_.categoryId=f.categoryId,_.categoryName=f.categoryName,_.subCategoryId=u.subCategoryId,_.subCategoryName=u.subCategoryName,_.goalId=x.goalId,_.goalName=x.goalName,_.goalUrl=x.goalUrl,_.orgId=f.organizationId,_.orgName=e,_.orgHomeFlag=!1,_.kbHome1Flag=!1,_.kbHome2Flag=!1,_.kbHome3Flag=!1,_.kbHome4Flag=!1,_.kbHome5Flag=!1,_.kbHome6Flag=!1,_.kbHome7Flag=!1,_.kbHome8Flag=!1,_.kbHome9Flag=!1,_.kbHome10Flag=!1,_.creator=h.flowchartCreator,_.owner=e,_.allowRestrictedPublishFc=d.includes(r[e].privileges,"PUBLISH-FLOWCHART"),_.canPublishOwn=d.includes(r[e].privileges,"PUBLISH-FLOWCHART")||d.includes(h.privileges,"PUBLISH_FC_OWN"),_.canDeleteFc=d.isEqual(h.flowchartCreator,s)&&d.includes(h.privileges,"DELETE_OWN")||d.includes(h.privileges,"DELETE"),g.push(_)}else _.flowchartId=h.flowchartId,_.flowchartRandomId=h.flowchartRandomId,_.flowchartName=h.flowchartName,_.hasMaster=h.masterFlag,_.isPublic=h.isPublic,_.isPublished=h.isPublished,_.publishedUrl=h.publishedUrl,_.publishedFcLayout=h.publishFcLayout,_.allowPublishedFcViewerReceiveTranscript=h.allowPublishedFcViewerReceiveTranscript,_.canEmbed=h.canEmbed,_.embedUrl=h.embedUrl,_.embedFcLayout=h.embedFcLayout,_.flowchartDescription=h.flowchartDescription,_.keywords=h.keywords,_.notes=h.notes,_.userActivityPersistanceDays=h.fcUserActivityPersistanceDays,_.flowchartCustomKeyName=h.flowchartCustomKeyName,_.flowchartCustomKeyValue=h.flowchartCustomKeyValue,F=d.split(h.flowchartImageUrl,"/"),_.flowchartImageName=F[F.length-1],_.flowchartImageUrl=h.flowchartImageUrl,_.userAccess=h.userAccess,_.categoryId=f.categoryId,_.categoryName=f.categoryName,_.subCategoryId=u.subCategoryId,_.subCategoryName=u.subCategoryName,_.goalId=x.goalId,_.goalName=x.goalName,_.goalUrl=x.goalUrl,_.orgId=f.organizationId,_.orgName=e,_.creator=h.flowchartCreator,_.owner=e,m.push(_)})})})}),g.length>0||m.length>0?this.isSelectedOrgEditor?this._userService.getConfigureFlowchartsForOrg(w[0].organizationId).subscribe(f=>{console.log(f.responseBody.orgHomeFlowchartList),d.forEach(f.responseBody.orgHomeFlowchartList,function(S){d.forEach(g,function(k){if(d.isEqual(k.flowchartId.toString(),S.flowchartId.toString()))return k.orgHomeFlag=!0,!1})});let h=1,_=this;d.forEach(f.responseBody.orgKbFlowchartList,(S,k)=>{1===h?(_.kbhomeNames[1]=k,_.kbHomeIndex1=!0):2===h?(_.kbhomeNames[2]=k,_.kbHomeIndex2=!0):3===h?(_.kbhomeNames[3]=k,_.kbHomeIndex3=!0):4===h?(_.kbhomeNames[4]=k,_.kbHomeIndex4=!0):5===h?(_.kbhomeNames[5]=k,_.kbHomeIndex5=!0):6===h?(_.kbhomeNames[6]=k,_.kbHomeIndex6=!0):7===h?(_.kbhomeNames[7]=k,_.kbHomeIndex7=!0):8===h?(_.kbhomeNames[8]=k,_.kbHomeIndex8=!0):9===h?(_.kbhomeNames[9]=k,_.kbHomeIndex9=!0):10===h&&(_.kbhomeNames[10]=k,_.kbHomeIndex10=!0),d.forEach(S,function(Ct){d.forEach(g,function(M){if(d.isEqual(M.flowchartId.toString(),Ct.flowchartId.toString()))return 1===h?M.kbHome1Flag=!0:2===h?M.kbHome2Flag=!0:3===h?M.kbHome3Flag=!0:4===h?M.kbHome4Flag=!0:5===h?M.kbHome5Flag=!0:6===h?M.kbHome6Flag=!0:7===h?M.kbHome7Flag=!0:8===h?M.kbHome8Flag=!0:9===h?M.kbHome9Flag=!0:10===h&&(M.kbHome10Flag=!0),!1})}),h++}),this.columnsToDisplayForOrgOwner=d.filter(["flowchartName","actions","orgHome","kbHome1","kbHome2","kbHome3","kbHome4","kbHome5","kbHome6","kbHome7","kbHome8","kbHome9","kbHome10","fcVersionCount","hasMaster","alertNoMaster","masterFlowchartVersion","isPublished","alertNotPublish","alertNotEmbed","flowchartCopiable","flowchartAppendAsFragment","flowchartCopyAppendClonegroupAllowed","goalName","subCategoryName","categoryName","creator","userActivityPersistanceDays"],function(S){return d.startsWith(S,"kbHome")?"kbHome1"===S&&_.kbHomeIndex1||"kbHome2"===S&&_.kbHomeIndex2||"kbHome3"===S&&_.kbHomeIndex3||"kbHome4"===S&&_.kbHomeIndex4||"kbHome5"===S&&_.kbHomeIndex5||"kbHome6"===S&&_.kbHomeIndex6||"kbHome7"===S&&_.kbHomeIndex7||"kbHome8"===S&&_.kbHomeIndex8||"kbHome9"===S&&_.kbHomeIndex9||"kbHome10"===S&&_.kbHomeIndex10?S:void 0:S}),console.log("Columns to display for org owner",this.columnsToDisplayForOrgOwner),d.forEach(f.responseBody.alertForNoMasterFlowchartList,function(S){d.forEach(g,function(k){if(d.isEqual(k.flowchartId.toString(),S.flowchartId.toString()))return k.alertNoMaster="Y",!1})}),d.forEach(f.responseBody.alertForNotPublishFlowchartList,function(S){d.forEach(g,function(k){if(d.isEqual(k.flowchartId.toString(),S.flowchartId.toString()))return k.alertNotPublish="Y",!1}
1)}),d.forEach(f.responseBody.alertForNotEmbedFlowchartList,function(S){d.forEach(g,function(k){if(d.isEqual(k.flowchartId.toString(),S.flowchartId.toString()))return k.alertNotEmbed="Y",!1})}),this.orgListLoading=!1,this._prepareSharedOwnedFlowchartList(g,m,i)},f=>{console.log("error in getting organization home flowchart list"),this.orgListLoading=!1}):(this.orgListLoading=!1,this._prepareSharedOwnedFlowchartList(g,m,i)):this.orgListLoading=!1}else this.publicOrgFcOwnerList=[],this.step=-1,this.pubListLoading=!0,this._userService.getPublicFlowchartsByUser().subscribe(C=>{console.log(C.responseBody.flowchartBeanList),d.forEach(C.responseBody.flowchartBeanList,function(p){var f={};f.flowchartId=p.flowchartId,f.flowchartRandomId=p.flowchartRandomId,f.flowchartName=p.flowchartName,f.hasMaster=p.masterFlag,f.isPublic=p.isPublic,f.isFeatured=p.isFeatured,f.isPublished=p.isPublished,f.publishedUrl=p.publishedUrl,f.publishedFcLayout=p.publishFcLayout,f.canEmbed=p.canEmbed,f.embedUrl=p.embedUrl,f.embedFcLayout=p.embedFcLayout,f.flowchartDescription=p.flowchartDescription,f.keywords=p.keywords,f.notes=p.notes,f.fcUserActivityPersistanceDays=null!=p.fcUserActivityPersistanceDays?p.fcUserActivityPersistanceDays:0,f.flowchartCustomKeyName=p.flowchartCustomKeyName,f.flowchartCustomKeyValue=p.flowchartCustomKeyValue,f.fcCopiable=p.flowchartCopiable;var u=d.split(p.flowchartImageUrl,"/");f.flowchartImageName=u[u.length-1],f.flowchartImageUrl=p.flowchartImageUrl,f.userAccess=p.userAccess,f.categoryName=p.categoryName,f.subCategoryName=p.subCategoryName,f.goalId=p.goalId,f.goalName=p.goalName,f.goalUrl=p.goalUrl,f.orgId=1,f.orgName=e,f.fcVersionCount=p.flowchartVersionCount;let x=p.masterFlowchartVersion;f.masterFlowchartVersion=null!=x?x.substring(d.lastIndexOf(x,"-")+1):"",f.creator=s,f.owner=s,f.canPublishOwn=!1,f.allowRestrictedPublishFc=!1,g.push(f)}),this.pubListLoading=!1,this.publicOrgFcOwnerList=g,this.showOwnerData=g.length>0,console.log("publicOrgFcOwnerList",this.publicOrgFcOwnerList),this.fcPublicOwnerList=new P.by(this.publicOrgFcOwnerList),this.cdr.detectChanges(),this.ownerFcExpandedElement=this.publicOrgFcOwnerList,this.fcPublicOwnerList.paginator=this.fcOwnerPaginator,this.fcPublicOwnerList.sort=this.fcOwnerSort},C=>{this.pubListLoading=!1}),console.log(this.selectedOrgFcOwnerList)}_prepareSharedOwnedFlowchartList(e,i,a){let s=d.sortBy(e,[function(c){return c.flowchartName}]),r=d.sortBy(i,[function(c){return c.flowchartName}]);this.selectedOrgFcOwnerList=s,this.showOwnerData=s.length>0,this.selectedOrgFcSharedList=r,this.showSharedData=r.length>0,this.fcOrgOwnerList[a]=new P.by(this.selectedOrgFcOwnerList),this.fcSharedList[a]=new P.by(this.selectedOrgFcSharedList),this.cdr.detectChanges(),this.ownerFcExpandedElement=this.selectedOrgFcOwnerList,this.fcOrgOwnerList[a].paginator=this.orgFcOwnerPaginator.toArray()[0],this.fcOrgOwnerList[a].sort=this.orgFcOwnerSort.toArray()[0],this.sharedFcExpandedElement=this.selectedOrgFcSharedList,this.fcSharedList[a].paginator=this.fcSharedPaginator.toArray()[a],this.fcSharedList[a].sort=this.fcSharedSort.toArray()[a]}setSelectedOrgForKBSection(e){console.log("kb expansion panel org -",e),this.kbSectionSelectedOrgName=e;let i={};var a=this.sessionStorage.getObject("cattree");i=JSON.parse(JSON.stringify(a)),this.kbSectionSelectedOrgId=i[e].orgId}getOrgSearchTerm(e){console.log("Get organization searchTerms");let i={};var a=this.sessionStorage.getObject("cattree");i=JSON.parse(JSON.stringify(a)),this._orgService.getOrgSearchTerms(i[e].orgId,i[e].orgUserAccess).subscribe(s=>{console.log("org searchterms result",s),this.orgSearchTerms=s.responseBody;let c=this.orgSearchTerms.map(g=>JSON.stringify(g)).join().replaceAll('"',"");this.orgSearchTermsForCopy=c,console.log("search terms string",this.orgSearchTermsForCopy)},s=>{this.orgSearchTerms=[],this.orgSearchTermsForCopy=""})}getWebhookEventsAndSubscriptions(e,i){let a=[],s=[];this._webhookEventService.getAllWebhookEvents().subscribe(r=>{console.log("Available decizone webhook events",r),r.responseBody&&(d.forEach(r.responseBody,function(c){var g={};g.webhookEventName=c.webhookEventName,g.webhookEventIdentifier=c.webhookEventIdentifier,g.webhookEventDescription=c.webhookEventDescription,g.statusName=c.statusName,a.push(g)}),this.showDzWebhookEventsData=a.length>0,this.webhookEvents=new P.by(a),this.webhookEventTable.renderRows(),console.log("webhook events",this.webhookEvents),this.cdr.detectChanges(),this.webhookEvents.paginator=this.webhookEventPaginator,this.webhookEvents.sort=this.webhookEventSort)},r=>{}),this._webhookEventSubscriptionService.getWebhookSubscribedEventsByOrg(e).subscribe(r=>{console.log("subscribed events for org -"+e,r),r.responseBody&&(d.forEac
1h(r.responseBody,function(c){var g={};g.webhookEventName=c.webhookEventName,g.connectedAppName=c.connectedAppName,g.connectedAppHookUrl=c.connectedAppHookUrl,g.userName=c.userName,g.wesUUID=c.wesUUID,g.statusName=c.statusName,s.push(g)}),this.showWebhookSubscribedEventData=s.length>0,this.webhookSubscribedEvents[i]=new P.by(s),this.webhookSubscribedEventTable.renderRows(),console.log("webhook Subscribed events",this.webhookEvents),this.cdr.detectChanges(),this.webhookSubscribedEvents[i].paginator=this.orgWebhookSubscribedEventPaginator.toArray()[i],this.webhookSubscribedEvents[i].sort=this.orgWebhookSubscribedEventsSort.toArray()[i])},r=>{})}updateCookieConsentFlag(e,i){console.log("consent checkbox value",i.checked);let a=this.kbSectionSelectedOrgName,s={};var r=this.sessionStorage.getObject("cattree");s=JSON.parse(JSON.stringify(r));let g={orgName:a,userAccess:s[a].orgUserAccess,customPageType:"kbp",hideCookieConsentPublishView:null,hideCookieConsentEmbedView:null};"publishView"===e&&(g.hideCookieConsentPublishView=i.checked?"Y":"N"),"embedView"===e&&(g.hideCookieConsentEmbedView=i.checked?"Y":"N"),this._orgService.updateOrgCustomPageProperty(g).subscribe(m=>{var w;"publishView"===e&&(this.hidePublishKBCookieConsentBanner=i.checked),"embedView"===e&&(this.hideEmbedKBCookieConsentBanner=i.checked),w=this.sessionStorage.getObject("userProfile");let p=d.filter(w.userOrg,function(u){return u.orgName===a});var f=p.length>0?p[0].orgCustomPageDetails:null;if(null!=f){let u=d.filter(f,function(x){return"kbp"===x.customPageType});u[0].hideCookieConsentBannerPublishView=this.hidePublishKBCookieConsentBanner?"Y":"N",u[0].hideCookieConsentBannerEmbedView=this.hideEmbedKBCookieConsentBanner?"Y":"N",this.sessionStorage.setObject("userProfile",w)}},m=>{"publishView"===e&&(this.hidePublishKBCookieConsentBanner=!i.checked),"embedView"===e&&(this.hideEmbedKBCookieConsentBanner=!i.checked)})}toggleKnowledgebasePublishFlag(e){let i=this.kbSectionSelectedOrgName;this.kbPublishError=!1;var a="This action will Publish the Knowledgebase page and give you the Published URL which can be shared.  Anyone with this shared Published URL will be able access the Knowledgebase page even without a DeciZone account.",s="Please confirm you want to go ahead and Publish Knowledgebase page for your organization.";e.checked||(a="If you UN-Publish Knowledgebase page now, anyone with the shared  Published URL will not be able to access this page until it is Published again. Are you sure you want to UN-Publish Knowledgebase page?",s="Please confirm you want to Un-Publish Knowledgebase page.");let c=this.dialog.open(kt,{width:"300px",data:{answer:"yes",title:s,message:a}});c.afterClosed().subscribe(g=>{if(c=null,"yes"===g){let w={};var m=this.sessionStorage.getObject("cattree");w=JSON.parse(JSON.stringify(m));let p={orgName:i,userAccess:w[i].orgUserAccess,customPageType:"kbp"};e.checked?this._orgService.publishOrgCustomPage(p).subscribe(f=>{var u;u=this.sessionStorage.getObject("userProfile");let h=d.filter(u.userOrg,function(Z){return Z.orgName===i});h[0].orgCustomPageDetails=f.responseBody,this.sessionStorage.setObject("userProfile",u),this.kbPublishFlag=e.checked;let _=d.filter(h[0].orgCustomPageDetails,function(Z){return"kbp"===Z.customPageType}),F={event:"toggle_kbpublish","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":_[0].orgId,"dlv-knowledgebase_id":_[0].customPageId};window.dataLayer.push(F),this.kbPublishedUrl=_[0].customPagePublishedUrl,this.kbPublishError=!1},f=>{this.kbPublishFlag=!e.checked,this.kbPublishError=!0}):this._orgService.unpublishOrgCustomPage(p).subscribe(f=>{var u;u=this.sessionStorage.getObject("userProfile");let h=d.filter(u.userOrg,function(Z){return Z.orgName===i});h[0].orgCustomPageDetails=f.responseBody,this.sessionStorage.setObject("userProfile",u),this.kbPublishFlag=e.checked;let _=d.filter(h[0].orgCustomPageDetails,function(Z){return"kbp"===Z.customPageType}),F={event:"toggle_kbpublish","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":_[0].orgId,"dlv-knowledgebase_id":_[0].customPageId};window.dataLayer.push(F),this.kbPublishedUrl=_[0].customPagePublishedUrl,this.kbPublishError=!1},f=>{this.kbPublishFlag=!e.checked,this.kbPublishError=!0})}else this.kbPublishFlag=!this.kbPublishFlag})}getEmbedCustomPageIframeCode(e){return'<iframe  width="600px" height="800px" src="'+e+'"><p>Your browser does not support all embedded objects. Please try opening this page in a browser like Chrome.</p></iframe>'}
1getEmbedCustomPageCode(){this.kbEmbedIframeCode='<iframe  width="600px" height="800px" src="'+this.kbEmbedUrl+'"><p>Your browser does not support all embedded objects. Please try opening this page in a browser like Chrome.</p></iframe>'}toggleKnowledgebaseEmbedFlag(e){let i=this.kbSectionSelectedOrgName;this.kbEmbedError=!1;var a="This feature will enable Knowledgebase page to be embedded in a iframe on a host webpage.  Any visitor to that host webpage will be able to benefit from your page without having to log into their DeciZone account.",s="Please confirm you want to ENABLE the embed feature for Knowledgebase page.";e.checked||(a="You are about to disable the embedded access for Knowledgebase page and visitors to the host website will not be able to access your page.  Are you sure you want to remove embed feature for Knowledgebase page?",s="Please confirm you want to DISABLE the embed feature for Knowledgebase page.");let c=this.dialog.open(kt,{width:"300px",data:{answer:"yes",title:s,message:a}});c.afterClosed().subscribe(g=>{if(c=null,"yes"===g){let w={};var m=this.sessionStorage.getObject("cattree");w=JSON.parse(JSON.stringify(m));let p={orgName:i,userAccess:w[i].orgUserAccess,customPageType:"kbp"};e.checked?this._orgService.embedOrgCustomPage(p).subscribe(f=>{var u;u=this.sessionStorage.getObject("userProfile");let h=d.filter(u.userOrg,function(F){return F.orgName===i});h[0].orgCustomPageDetails=f.responseBody,this.sessionStorage.setObject("userProfile",u),this.kbEmbedFlag=e.checked;let _=d.filter(h[0].orgCustomPageDetails,function(F){return"kbp"===F.customPageType});this.kbEmbedUrl=_[0].customPageEmbedUrl,this.getEmbedCustomPageCode(),this.kbEmbedError=!1},f=>{this.kbEmbedFlag=!e.checked,this.kbEmbedError=!0}):this._orgService.deactivateEmbedOrgCustomPage(p).subscribe(f=>{var u;u=this.sessionStorage.getObject("userProfile");let h=d.filter(u.userOrg,function(F){return F.orgName===i});h[0].orgCustomPageDetails=f.responseBody,this.sessionStorage.setObject("userProfile",u),this.kbEmbedFlag=e.checked,d.filter(h[0].orgCustomPageDetails,function(F){return"kbp"===F.customPageType}),this.kbEmbedError=!1},f=>{this.kbEmbedFlag=!e.checked,this.kbEmbedError=!0})}else this.kbEmbedFlag=!this.kbEmbedFlag})}editFlowchartProperties(e,i,a){this.successMsg="",console.log(e),new Array,this.sessionStorage.getObject("property");const g=new T.vA;g.disableClose=!0,g.autoFocus=!0,g.height="98%",g.width="98%",g.data={selectedFlowchart:e,showUserActivityPersistDays:this.showUserActivityPersistDaysColumn},g.panelClass=["dz-dialog-container","fc-property-edit-contr"];let m=this.dialog.open(mo,g);m.afterClosed().subscribe(w=>{m=null;var C=[];C=i;var p=e;console.log(p);var u,f=d.findIndex(C,function(h){return d.isEqual(h.flowchartId.toString(),p.flowchartId.toString())});if(C[f]=e,console.log(C[f]),this.selectedOrgFcOwnerList=C,console.log(this.selectedOrgFcOwnerList),(u=this.sessionStorage.getObject("flowchart"))&&d.isEqual(u.flowchartId,p.flowchartId)){u.flowchartName=p.flowchartName,u.flowchartDescription=p.flowchartDescription,u.keywords=p.keywords,u.notes=p.notes,u.flowchartImageUrl=p.flowchartImageUrl,u.fcCopiable=p.fcCopiable,u.fcAppendAsFragment=p.fcAppendAsFragment,u.copyAppendClonegroupAllowed=p.copyAppendClonegroupAllowed,u.userActivityPersistanceDays=p.userActivityPersistanceDays;var x=u.startBoxId;d.isEqual(x,p.updatedStartBoxId)&&(u.boxes[x].boxCaption=p.updatedStartBoxCaption),this.sessionStorage.setObject("flowchart",u)}})}refreshSelectedFlowchart(e,i,a){this.successMsg="",this.loading=!0;let s={flowchartName:e.flowchartName,orgName:e.orgName,userAccess:e.userAccess,userSessionId:this._utilService.getCookie("userSessionId")};this._flowchartService.deleteFlowchartFromMasterCache(s).subscribe(r=>{this.loading=!1,this.successMsg="Successfully deleted selected flowchart and/or flowchartversion from master cache.",this._snackBar.openFromComponent(G.f,{data:"Successfully Refreshed the selected flowchart for better experience: "+e.flowchartName,...O.jjv})},r=>{this.loading=!1,this.genericErr=!0,this.genericErrMsg="Error occurred during refreshing selected flowchart from master cache.",this._snackBar.openFromComponent(G.f,{data:K.R.ERRMSG_DELETE_FLOWCHART_FROM_CACHE_FAILED.errorMessage,...O.wml})})}deleteSelectedFlowchart(e,i,a){this.successMsg="",console.log(e);let r=this.dialog.open(po,{width:"300px",data:{title:"Confirm you want to delete the selected flowchart.",message:"This operation will delete all the versions and the flowchart.  Are you sure you want to delete the flowchart  "+e.flowchartName+" permanently?",answer:this.answer}});const c=r.componentInstance.genericErrMsg.subscribe(g=>{this.genericErrMsg=g,this.genericErr=!0});r.afterClosed().subscribe(g=>{if(c.unsubscribe(),"yes"===g){this.loading=!0;let m={flowchartId:e.flowchartId,flowchartCreator:e.creator,userSessionId:this._utilService.getCookie("userSessionId"),orgId:e.orgId,orgName:e.orgName,userAccess:e.userAccess};this._flowchartService.deleteSelectedFlowchart(m).subscribe(w=>{var C,p;(C=this.sessionStorage.getObject("flowchart"))&&d.isEqual(C.flowchartId,e.flowchartId)&&this.sessionStorage.removeItem("flowchart"),1===e.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(e.goalId,e.goalUrl):this._homeService.updateCategoryTree(e.orgName),this._homeService.updateUserFavoriteFlowchartsInSession(),d.remove(p=i,function(u){return u.flowchartId===e.flowchartId}),this.selectedOrgFcOwnerList=p,"PUBLIC"===e.orgName?(this.fcPublicOwnerList=new P.by(this.selectedOrgFcOwnerList),this.fcPublicOwnerTable.renderRows()):(this.fcOrgOwnerList[a]=new P.by(this.selectedOrgFcOwnerList),this.fcOrgOwnerTable.renderRows()),this.cdr.detectChanges(),this.ownerFcExpandedElement=this.selectedOrgFcOwnerList,console.log("updated owner flowchart list -",this.selectedOrgFcOwnerList),this.loading=!1,this._snackBar.openFromComponent(G.f,{data:"Successfully Refreshed the selected flowchart for better experience: "+e.flowchartName,...O.jjv})},w=>{this.loading=!1,this.genericErr=!0,this.genericErrMsg=w&&w.error?w.error.statusMessage:"",this._snackBar.openFromComponent(G.f,{data:K.R.ERRMSG_FLOWCHART_DELETE_SETTING_TABLE_FAILED.errorMessage,...O.wml})})}})}
1exportFlowchartActivity(e){let i={event:"click_orgfcreport","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":e.orgId,"dlv-cat_id":e.categoryId,"dlv-subcat_id":e.subCategoryId,"dlv-goal_id":e.goalId,"dlv-fc_id":e.flowchartId};window.dataLayer.push(i);let a=this.dialog.open(bo,{width:"300px",data:{selectedFlowchart:e}});a.afterClosed().subscribe(s=>{a=null,this.loading=!1})}updateAlertNoMasterFlag(e,i,a){this._flowchartService.updateFlowchartAlertFlag({flowchartId:i.flowchartId,orgId:i.orgId,alertNoMaster:a,orgName:i.orgName,userAccess:i.userAccess}).subscribe(r=>{i.alertNoMaster=a,d.forEach(e,function(c){if(d.isEqual(c.flowchartId.toString(),i.flowchartId.toString()))return c=i,!1}),this.selectedOrgFcOwnerList=e},r=>{console.log("error in updating alert flag for selected flowchart")})}updateAlertNotPublishFlag(e,i,a){this._flowchartService.updateFlowchartAlertFlag({flowchartId:i.flowchartId,orgId:i.orgId,alertNotPublish:a,orgName:i.orgName,userAccess:i.userAccess}).subscribe(r=>{i.alertNotPublish=a,d.forEach(e,function(c){if(d.isEqual(c.flowchartId.toString(),i.flowchartId.toString()))return c=i,!1}),this.selectedOrgFcOwnerList=e},r=>{console.log("error in updating alert flag for selected flowchart")})}updateAlertNotEmbedFlag(e,i,a){this._flowchartService.updateFlowchartAlertFlag({flowchartId:i.flowchartId,orgId:i.orgId,alertNotEmbed:a,orgName:i.orgName,userAccess:i.userAccess}).subscribe(r=>{i.alertNotEmbed=a,d.forEach(e,function(c){if(d.isEqual(c.flowchartId.toString(),i.flowchartId.toString()))return c=i,!1}),this.selectedOrgFcOwnerList=e},r=>{console.log("error in updating alert flag for selected flowchart")})}addFcToKnowledgebase(e,i,a,s){var r=[];r.push(i.flowchartId),this._userService.addFlowchartsToOrgKnowledgebaseList({flowchartList:r,orgId:i.orgId,orgName:i.orgName,userAccess:i.userAccess,customPageName:a}).subscribe(g=>{switch(s){case 1:i.kbHome1Flag=!0;break;case 2:i.kbHome2Flag=!0;break;case 3:i.kbHome3Flag=!0;break;case 4:i.kbHome4Flag=!0;break;case 5:i.kbHome5Flag=!0;break;case 6:i.kbHome6Flag=!0;break;case 7:i.kbHome7Flag=!0;break;case 8:i.kbHome8Flag=!0;break;case 9:i.kbHome9Flag=!0;break;case 10:i.kbHome10Flag=!0}d.forEach(e,function(w){if(d.isEqual(w.flowchartId.toString(),i.flowchartId.toString()))return w=i,!1});let m={event:"toggle_fcaddorgkb","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":i.orgId,"dlv-cat_id":i.categoryId,"dlv-subcat_id":i.subCategoryId,"dlv-goal_id":i.goalId,"dlv-fc_id":i.flowchartId};window.dataLayer.push(m),this.selectedOrgFcOwnerList=e},g=>{console.log("error in adding flowchart to org knowledgebase list")})}removeFcFromKnowledgebase(e,i,a,s){var r=[];r.push(i.flowchartId),this._userService.removeFlowchartsFromOrgKnowledgebaseList({flowchartList:r,orgId:i.orgId,orgName:i.orgName,userAccess:i.userAccess,customPageName:a}).subscribe(g=>{switch(s){case 1:i.kbHome1Flag=!1;break;case 2:i.kbHome2Flag=!1;break;case 3:i.kbHome3Flag=!1;break;case 4:i.kbHome4Flag=!1;break;case 5:i.kbHome5Flag=!1;break;case 6:i.kbHome6Flag=!1;break;case 7:i.kbHome7Flag=!1;break;case 8:i.kbHome8Flag=!1;break;case 9:i.kbHome9Flag=!1;break;case 10:i.kbHome10Flag=!1}d.forEach(e,function(w){if(d.isEqual(w.flowchartId.toString(),i.flowchartId.toString()))return w=i,!1});let m={event:"toggle_fcaddorgkb","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":i.orgId,"dlv-cat_id":i.categoryId,"dlv-subcat_id":i.subCategoryId,"dlv-goal_id":i.goalId,"dlv-fc_id":i.flowchartId,"dlv-knowledgebase_id":i.orgId};window.dataLayer.push(m),this.selectedOrgFcOwnerList=e},g=>{console.log("error in removing flowchart from org Knowledgebase list")})}addFcToOrgHome(e,i){var a=[];a.push(i.flowchartId),this._userService.addFlowchartsToOrgHomeList({flowchartList:a,orgId:i.orgId,orgName:i.orgName,userAccess:i.userAccess}).subscribe(r=>{i.orgHomeFlag=!0;let c=this.sessionStorage.getObject("userMilestones");-1===d.findIndex(c,{milestoneName:"ADDED_FC_TO_ORGHOME",isCompleted:!0})&&this._utilService.setAddFcToOrgHomeMilestoneAchieved(),this._userMilestoneService.saveOrUpdateUserMilestone("ADDED_FC_TO_ORGHOME",null);let m={event:"toggle_fcaddorghome","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":i.orgId,"dlv-cat_id":i.categoryId,"dlv-subcat_id":i.subCategoryId,"dlv-goal_id":i.goalId,"dlv-fc_id":i.flowchartId,"dlv-org_home_id":i.orgId};window.dataLayer.push(m),d.forEach(e,function(w){if(d.isEqual(w.flowchartId.toString(),i.flowchartId.toString()))return w=i,!1}),this.selectedOrgFcOwnerList=e},r=>{console.log("error in adding flowchart to org home list")})}removeFcFromOrgHome(e,i){var a=[];a.push(i.flowchartId),this._userService.removeFlowchartsFromOrgHomeList({flowchartList:a,orgId:i.orgId,orgName:i.orgName,userAccess:i.userAccess}).subscribe(r=>{i.orgHomeFlag=!1,d.forEach(e,function(g){if(d.isEqual(g.flowchartId.toString(),i.flowchartId.toString()))return g=i,!1});let c={event:"toggle_fcaddorghome","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":i.orgId,"dlv-cat_id":i.categoryId,"dlv-subcat_id":i.subCategoryId,"dlv-goal_id":i.goalId,"dlv-fc_id":i.flowchartId,"dlv-org_home_id":i.orgId};window.dataLayer.push(c),this.selectedOrgFcOwnerList=e},r=>{console.log("error in removing flowchart from org home list")})}resetTabFormSelection(e){this.goalEditForm.reset(),this.goalSuggestForm.reset(),this.subcatEditForm.reset(),this.catEditForm.reset(),this.genericErr=!1,this.successMsg="",this.selectedEditOption="",this.goalUpdateSuccessMsg="",this.goalUpdateErr=!1,this.goalSuggestErr=!1,this.goalSuggestSuccessMsg=""}categoryTreeRadioChange(e){this.goalEditForm.reset(),this.goalSuggestForm.reset(),this.subcatEditForm.reset(),this.catEditForm.reset(),this.genericErr=!1,this.successMsg="",this.selectedEditOption="",this.goalUpdateSuccessMsg="",this.goalUpdateErr=!1,this.goalSuggestErr=!1,this.goalSuggestSuccessMsg="",this.selectedEditOption=e.value}updateGoalCaption(){this.goalUpdateSuccessMsg="",this.goalUpdateErr=!1;var i=this.sessionStorage.getObject("userProfile").displayName;let a=this.goalEditForm.get("selectedGoalForEdit").value,s={requestor:i,goalCreator:a.goalCreatorDisplayName,orgName:a.orgName,orgId:a.orgId,goalId:a.goalId,currentGoalName:a.goalName,goalName:this.goalEditForm.get("newGoalName").value,subCategoryId:a.subCategoryId,subcategoryName:a.subCategoryName,categoryName:a.categoryName,userAccess:a.userAccess};this._goalService.editGoal(s).subscribe(r=>{this._userMilestoneService.saveOrUpdateUserMilestone("EDITED_CATEGORY_SUBCATEGORY_GOAL",null),this._homeService.updateCategoryTree(a.orgName),this.goalUpdateSuccessMsg="Successfully updated Goal caption.",this.goalUpdateErr=!1},r=>{this.goalUpdateErr=!0,400===r.status&&this.router.navigateByUrl("/error"),r.error&&"500"===r.error.statusCode?this.genericErrMsg="Unexpected error occurred while updating Goal caption.  Please contact DeciZone support team.":r.error&&r.error.statusMessage?this.genericErrMsg=r.error.statusMessage:this.router.navigateByUrl("/error")})}suggestGoalCaptionChange(){this.goalSuggestErr=!1,this.goalSuggestSuccessMsg="";var i=this.sessionStorage.getObject("userProfile").displayName;let a=this.goalSuggestForm.get("selectedGoalForSuggest").value,s={requestor:i,orgName:a.orgName,goalId:a.goalId,currentGoalName:a.goalName,goalName:this.goalSuggestForm.get("suggestedGoalName").value,subCategoryId:a.subCategoryId,subcategoryName:a.subCategoryName,categoryName:a.categoryName,userAccess:a.userAccess};
1this._goalService.goalUpdateRequest(s).subscribe(r=>{this._userMilestoneService.saveOrUpdateUserMilestone("EDITED_CATEGORY_SUBCATEGORY_GOAL",null),this.goalSuggestSuccessMsg="Your request for change has been submitted successfully. The changes will be implemented when and if approved.",this.goalSuggestErr=!1},r=>{this.goalSuggestErr=!0,400===r.status&&this.router.navigateByUrl("/error"),r.error&&"500"===r.error.statusCode?this.genericErrMsg="Unexpected error occurred while requesting for Goal change.  Please contact DeciZone support team.":r.error&&r.error.statusMessage?this.genericErrMsg=r.error.statusMessage:this.router.navigateByUrl("/error")})}updateSubcategoryCaption(){this.genericErr=!1,this.successMsg="";var i=this.sessionStorage.getObject("userProfile").displayName;let a=this.subcatEditForm.get("selectedSubcatForEdit").value,s={requestor:i,orgName:a.orgName,orgId:a.orgId,currentSubCategoryName:a.subCategoryName,subCategoryName:this.subcatEditForm.get("newSubcatName").value,subCategoryId:a.subCategoryId,categoryId:a.categoryId,categoryName:a.categoryName,userAccess:a.userAccess};this._subcatService.editSubcategory(s).subscribe(r=>{this._userMilestoneService.saveOrUpdateUserMilestone("EDITED_CATEGORY_SUBCATEGORY_GOAL",null),this._homeService.updateCategoryTree(a.orgName),this.successMsg="Successfully updated Subcategory caption.",this.genericErr=!1},r=>{this.genericErr=!0,400===r.status&&this.router.navigateByUrl("/error"),r.error&&"500"===r.error.statusCode?this.genericErrMsg="Unexpected error occurred while updating Subcategory caption.  Please contact DeciZone support team.":r.error&&r.error.statusMessage?this.genericErrMsg=r.error.statusMessage:this.router.navigateByUrl("/error")})}suggestSubcategoryCaptionChange(){this.genericErr=!1,this.successMsg="";var i=this.sessionStorage.getObject("userProfile").displayName;let a=this.subcatEditForm.get("selectedSubcatForEdit").value,s={requestor:i,orgName:a.orgName,categoryId:a.categoryId,currentSubCategoryName:a.subCategoryName,subCategoryId:a.subCategoryId,subCategoryName:this.subcatEditForm.get("newSubcatName").value,categoryName:a.categoryName,userAccess:a.userAccess};this._subcatService.subcategoryUpdateRequest(s).subscribe(r=>{this._userMilestoneService.saveOrUpdateUserMilestone("EDITED_CATEGORY_SUBCATEGORY_GOAL",null),this.successMsg="Your request for change has been submitted successfully. The changes will be implemented when and if approved.",this.genericErr=!1},r=>{this.genericErr=!0,400===r.status&&this.router.navigateByUrl("/error"),r.error&&"500"===r.error.statusCode?this.genericErrMsg="Unexpected error occurred while requesting for Subcategory change.  Please contact DeciZone support team.":r.error&&r.error.statusMessage?this.genericErrMsg=r.error.statusMessage:this.router.navigateByUrl("/error")})}suggestCategoryCaptionChange(){this.genericErr=!1,this.successMsg="";var i=this.sessionStorage.getObject("userProfile").displayName;let a=this.catEditForm.get("selectedCatForEdit").value,s={requestor:i,orgName:a.orgName,orgId:a.organizationId,categoryId:a.categoryId,currentCategoryName:a.categoryName,categoryName:this.catEditForm.get("newCatName").value,userAccess:a.userAccess};this._catService.categoryUpdateRequest(s).subscribe(r=>{this._userMilestoneService.saveOrUpdateUserMilestone("EDITED_CATEGORY_SUBCATEGORY_GOAL",null),this.successMsg="Your request for change has been submitted successfully. The changes will be implemented when and if approved.",this.genericErr=!1},r=>{this.genericErr=!0,400===r.status&&this.router.navigateByUrl("/error"),r.error&&"500"===r.error.statusCode?this.genericErrMsg="Unexpected error occurred while requesting for Category change.  Please contact DeciZone support team.":r.error&&r.error.statusMessage?this.genericErrMsg=r.error.statusMessage:this.router.navigateByUrl("/error")})}updateCategoryCaption(){this.genericErr=!1,this.successMsg="";var i=this.sessionStorage.getObject("userProfile").displayName;let a=this.catEditForm.get("selectedCatForEdit").value,s={requestor:i,orgName:a.orgName,orgId:a.organizationId,currentCategoryName:a.categoryName,categoryName:this.catEditForm.get("newCatName").value,categoryId:a.categoryId,userAccess:a.userAccess};this._catService.editCategory(s).subscribe(r=>{this._userMilestoneService.saveOrUpdateUserMilestone("EDITED_CATEGORY_SUBCATEGORY_GOAL",null),this._homeService.updateCategoryTree(a.orgName),this.successMsg="Successfully updated Category caption.",this.genericErr=!1},r=>{this.genericErr=!0,400===r.status&&this.router.navigateByUrl("/error"),r.error&&"500"===r.error.statusCode?this.genericErrMsg="Unexpected error occurred while updating Category caption.  Please contact DeciZone support team.":r.error&&r.error.statusMessage?this.genericErrMsg=r.error.statusMessage:this.router.navigateByUrl("/error")})}goFlowchartPublishRestriction(e){this._flowchartService.setPublishedFcOrgName(e);let i={event:"click_mangrestrpubfc","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":void 0,"dlv-cat_id":void 0,"dlv-subcat_id":void 0,"dlv-goal_id":void 0,"dlv-fc_id":void 0};window.dataLayer.push(i),this.router.navigateByUrl("/flowchart-published-restriction")}loadOrgKbPages(e,i){var a;a=this.sessionStorage.getObject("userProfile");let r=d.filter(a.userOrg,function(m){return m.orgName===e}),c=r[0].orgCustomKbpCount;var g=r.length>0?r[0].orgCustomPageDetails:null;if(null!=g){if(this.selectedOrgKbPageDetails=d.filter(g,function(m){return"kbp"===m.customPageType}),this.selectedOrgKbPageDetails){this.selectedOrgKbPageDetails.length===c&&(this.orgCustomKbpLimitReached=!0);let m=this;
1d.forEach(m.selectedOrgKbPageDetails,function(w){w.canCustomPageEmbed&&"Y"===w.canCustomPageEmbed&&(w.embedCustomPageIframeCode=m.getEmbedCustomPageIframeCode(w.customPageEmbedUrl)),w.canEmbedWithPassword&&"Y"===w.canEmbedWithPassword&&(w.ppEmbedCustomPageIframeCode=m.getEmbedCustomPageIframeCode(w.embedUrlWithPassword))}),this.orgKbPageDetails[i]=new P.by(this.selectedOrgKbPageDetails)}this.cdr.detectChanges(),this.orgKbPageDetails[i].sort=this.orgFcEntityActionSort.toArray()[0]}console.log("selected org kb pages -",this.orgKbPageDetails[i])}addKnowledgebasePage(e,i){var a=this.sessionStorage.getObject("cattree");this._addKbPageDialogService.open({selectedOrgName:e,userAccess:a[e].orgUserAccess,orgCustomKbpLimitReached:this.orgCustomKbpLimitReached}),this._addKbPageDialogService.confirmed().subscribe(c=>{c&&this.loadOrgKbPages(e,i)})}editKnowledgeBasePageProperties(e,i,a){var s=this.sessionStorage.getObject("cattree");this._editKbPageDialogService.open({selectedKbPage:e,orgName:e.orgName,userAccess:s[e.orgName].orgUserAccess}),this._editKbPageDialogService.confirmed().subscribe(g=>{g&&this.loadOrgKbPages(e.orgName,a)})}toggleEmbedPwdVisibility(e){e.embedPasswordHide=!e.embedPasswordHide}togglePublishPwdVisibility(e){e.publishPasswordHide=!e.publishPasswordHide}getOrgFlowchartEntityActions(e,i){console.log("inside entity actions panel"),this._orgService.getOrgFlowchartNotApprovedEntityActions(e).subscribe(a=>{let r=d.sortBy(a.responseBody,[function(c){return c.flowchartBean.flowchartName}]);this.selectedOrgFlowchartEntityActionList=r,this.showOrgFcEntityActionData=r.length>0,this.orgFlowchartEntityActionList[i]=new P.by(this.selectedOrgFlowchartEntityActionList),this.cdr.detectChanges(),this.orgFlowchartEntityActionList[i].paginator=this.orgFcEntityActionPaginator.toArray()[0],this.orgFlowchartEntityActionList[i].sort=this.orgFcEntityActionSort.toArray()[0]},a=>{})}openFlowchartRequestedViaEntityAction(e,i){this.loadingFc=!0,this.loadingFcId=e,this.zone.run(()=>this.router.navigate([`${i.goalId}/${i.flowchartRandomId}/${i.goalUrl}/${i.flowchartName}`]))}approveSelectedFcForAction(e){this.approving=!0,this.loadingFcId=e.flowchartBean.flowchartId,console.log("selected approval fc",e.flowchartBean);let i=[];i.push(e.flowchartBean.flowchartId);var a=this.sessionStorage.getObject("cattree");this._flowchartService.updateEntityActionsForFlowcharts({flowchartIds:i,orgId:e.flowchartBean.orgId,action:"PUBLISH",status:"APPROVED",userAccess:a[e.flowchartBean.orgName].orgUserAccess}).subscribe(c=>{e.status="APPROVED",e.flowchartBean.isPublished="Y",this._homeService.updateCategoryTree(e.flowchartBean.orgName),this.approving=!1},c=>{this.approving=!1})}feedbackForSelectedFcForAction(e){this.feedbackgiving=!0,this.loadingFcId=e.flowchartBean.flowchartId,[].push(e.flowchartBean.flowchartId);var a=this.sessionStorage.getObject("cattree");this._entityActionsFeedbackDialogService.open({flowchartId:e.flowchartBean.flowchartId,flowchartName:e.flowchartBean.flowchartName,userAccess:a[e.flowchartBean.orgName].orgUserAccess,flowchartCreator:e.flowchartBean.flowchartCreator,orgId:e.flowchartBean.orgId}),this._entityActionsFeedbackDialogService.confirmed().subscribe(c=>{c&&(e.status="FEEDBACK_GIVEN",this._homeService.updateCategoryTree(e.flowchartBean.orgName)),this.feedbackgiving=!1})}openFlowchartNotes(e){var i=this.sessionStorage.getObject("cattree");this._flowchartNotesDialogService.open({flowchartId:e.flowchartBean.flowchartId,flowchartName:e.flowchartBean.flowchartName,notes:e.flowchartBean.notes,userAccess:i[e.flowchartBean.orgName].orgUserAccess,flowchartCreator:e.flowchartBean.flowchartCreator,orgId:e.flowchartBean.orgId}),this._flowchartNotesDialogService.confirmed().subscribe(r=>{r&&this._homeService.updateCategoryTree(e.flowchartBean.orgName)})}removeFromFavorites(e){let i=[];i.push(e.flowchartId),this._homeService.removeFlowchartsFromUserFavorite(i).subscribe(a=>{this._homeService.updateUserFavoriteFlowchartsInSession();let s=this.userFavFlowcharts;d.remove(s,function(c){return c.flowchartId===e.flowchartId}),this.userFavFlowcharts=s,this.userFavFcList=new P.by(this.userFavFlowcharts
1),this.cdr.detectChanges(),this.userFavFcList.paginator=this.favPaginator,this.userFavFcList.sort=this.favSort},a=>{this._snackBar.openFromComponent(G.f,{data:K.R.ERRMSG_FLOWCHART_FAVORITE_REMOVE.errorMessage,...O.wml})})}generateQRCodeForPublish(e,i){var s=this.sessionStorage.getObject("cattree")[e].orgUserAccess,r=i.customPagePublishedCode+"||"+i.customPageName;i.publishQrcodeUrl?this._downloadQRCode(i.publishQrcodeUrl):this._orgService.generateKBCustomPageQrcode({orgCustomPageId:i.customPageId,orgName:e,userAccess:s,generateQrcodeForPublishKb:"Y",publishKbQrcodeText:r}).subscribe(g=>{console.log("successfully generated qrcode - ",g),this._downloadQRCode(g.responseBody)},g=>{console.log("error ",g.error)})}_downloadQRCode(e){const i=window.open(e,"_blank");if(i){const a=document.createElement("a");a.href=e,a.download="qrcode.png",i.document.body.appendChild(a),a.click(),i.document.body.removeChild(a),window.URL.revokeObjectURL(e)}else alert("Please allow popups for this website")}generateQRCodeForPublishWithPassword(e,i){var s=this.sessionStorage.getObject("cattree")[e].orgUserAccess,r=i.publishedCodeWithPassword+"||"+i.customPageName;i.publishWithPasswordQrcodeUrl?this._downloadQRCode(i.publishWithPasswordQrcodeUrl):this._orgService.generateKBCustomPageQrcode({orgCustomPageId:i.customPageId,orgName:e,userAccess:s,generateQrcodeForPublishWithPasswordKb:"Y",publishWithPasswordKbQrcodeText:r}).subscribe(g=>{console.log("successfully generated qrcode - ",g),this._downloadQRCode(g.responseBody)},g=>{console.log("error ",g.error)})}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.R0b),t.Y36(D.F0),t.Y36(wo.K),t.Y36(V.f),t.Y36(q.q),t.Y36(st.A),t.Y36(Tt.Y),t.Y36(Co.O),t.Y36(yo.K),t.Y36(To.H),t.Y36(et.d),t.Y36(ko.u),t.Y36(Oo),t.Y36(Ao.U),t.Y36(qo),t.Y36(bt.Q),t.Y36(xo),t.Y36(vo),t.Y36(di),t.Y36(Si),t.Y36(pt.ux),t.Y36(T.uw),t.Y36(t.sBO),t.Y36(R.qo),t.Y36(Po.v))}
1,o.\u0275cmp=t.Xpm({type:o,selectors:[["app-setting"]],viewQuery:function(e,i){if(1&e&&(t.Gf(Di,5),t.Gf(Ii,5),t.Gf(Ui,5),t.Gf(Mi,5),t.Gf(qi,5),t.Gf(Hi,5),t.Gf(P.BZ,5),t.Gf(P.BZ,5),t.Gf(P.BZ,5),t.Gf(P.BZ,5),t.Gf(P.BZ,5),t.Gf(Li,5),t.Gf(Ri,5),t.Gf(Ji,5),t.Gf(Yi,5),t.Gf(Ki,5),t.Gf(Qi,5),t.Gf(Bi,5),t.Gf(Gi,5),t.Gf(Vi,5)),2&e){let a;t.iGM(a=t.CRH())&&(i.favPaginator=a.first),t.iGM(a=t.CRH())&&(i.favSort=a.first),t.iGM(a=t.CRH())&&(i.fcOwnerPaginator=a.first),t.iGM(a=t.CRH())&&(i.fcOwnerSort=a.first),t.iGM(a=t.CRH())&&(i.webhookEventPaginator=a.first),t.iGM(a=t.CRH())&&(i.webhookEventSort=a.first),t.iGM(a=t.CRH())&&(i.orgFcEntityActionTable=a.first),t.iGM(a=t.CRH())&&(i.fcOrgOwnerTable=a.first),t.iGM(a=t.CRH())&&(i.fcPublicOwnerTable=a.first),t.iGM(a=t.CRH())&&(i.webhookEventTable=a.first),t.iGM(a=t.CRH())&&(i.webhookSubscribedEventTable=a.first),t.iGM(a=t.CRH())&&(i.orgKbPagesSort=a),t.iGM(a=t.CRH())&&(i.orgFcOwnerPaginator=a),t.iGM(a=t.CRH())&&(i.orgFcOwnerSort=a),t.iGM(a=t.CRH())&&(i.fcSharedPaginator=a),t.iGM(a=t.CRH())&&(i.fcSharedSort=a),t.iGM(a=t.CRH())&&(i.orgFcEntityActionPaginator=a),t.iGM(a=t.CRH())&&(i.orgFcEntityActionSort=a),t.iGM(a=t.CRH())&&(i.orgWebhookSubscribedEventPaginator=a),t.iGM(a=t.CRH())&&(i.orgWebhookSubscribedEventsSort=a)}},decls:61,vars:17,consts:[[1,"settings-page"],[1,"settings-headers-align"],[3,"expanded","opened"],[1,"fc-panel"],["class","no-org-padding",4,"ngIf"],["class","createdByMe-Org",4,"ngFor","ngForOf"],[1,"createdByMe-Org"],[3,"expanded"],[1,"orgname-title"],["class","app-spinner",4,"ngIf"],["class","flowchart-list-title",4,"ngIf"],[4,"ngIf"],["class","no-flowchart",4,"ngIf"],[3,"opened"],[1,"fav-panel"],["class","favorites-table",4,"ngIf"],["mat-stretch-tabs","",1,"home-card-tab-group",3,"selectedTabChange"],["class","home-card-tabs",3,"label",4,"ngFor","ngForOf"],[1,"no-org-padding"],[1,"my-org-content-setting",3,"expanded","opened","click"],[3,"click",4,"ngIf"],["class","orgCustomPageTable",3,"click",4,"ngIf"],["class","fc-entity-action-section",3,"click",4,"ngIf"],["class","org-searchterms-section",3,"click",4,"ngIf"],[1,"app-spinner"],[1,"flowchart-list-title"],[3,"click"],[1,"dztable-table-filter"],["matInput","","placeholder","i.e. Power",3,"keyup"],[1,"settings-org-fc","dztable-container","mat-elevation-z8"],["matSort","","mat-table","","multiTemplateDataRows","",1,"dztable-table",3,"dataSource"],["fcOrgOwnerTable","","orgFcOwnerSort","matSort"],["matColumnDef","flowchartName","sticky",""],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the name of the flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","actions"],["mat-header-cell","","matTooltip","Indicates important actions you can take on this flowchart.  Be careful since these actiona may not be reversible.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["matColumnDef","orgHome",4,"ngIf"],["matColumnDef","kbHome1",4,"ngIf"],["matColumnDef","kbHome2",4,"ngIf"],["matColumnDef","kbHome3",4,"ngIf"],["matColumnDef","kbHome4",4,"ngIf"],["matColumnDef","kbHome5",4,"ngIf"],["matColumnDef","kbHome6",4,"ngIf"],["matColumnDef","kbHome7",4,"ngIf"],["matColumnDef","kbHome8",4,"ngIf"],["matColumnDef","kbHome9",4,"ngIf"],["matColumnDef","kbHome10",4,"ngIf"],["matColumnDef","fcVersionCount"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the number of versions this flowchart has currently.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","hasMaster"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates if this flowchart has a Master version selected currently.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","alertNoMaster"],["mat-header-cell","","mat-sort-header","","matTooltip","Check this box if you would like an email alert when this flowchart has no Master version selected.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["matColumnDef","masterFlowchartVersion"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the Master version name of the flowchart when a Master version is selected.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","isPublished"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates if the flowchart is currently in Publish enabled state.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","alertNotPublish"],["mat-header-cell","","mat-sort-header","","matTooltip","Check this box if you would like an email alert when this flowchart is not in a Publish enabled state.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["matColumnDef","alertNotEmbed"],["mat-header-cell","","mat-sort-header","","matTooltip","Check this box if you would like an email alert when this flowchart is not in a Embed enabled state.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["matColumnDef","flowchartCopiable",4,"ngIf"],["matColumnDef","flowchartAppendAsFragment",4,"ngIf"],["matColumnDef","flowchartCopyAppendClonegroupAllowed",4,"ngIf"],["matColumnDef","goalName"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the Goal this flowchart belongs to.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","subCategoryName"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the SubCategory this flowchart belongs to.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","categoryName"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the Category this flowchart belongs to.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","creator"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the name of the flowchart author.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","userActivityPersistanceDays",4,"ngIf"],["matColumnDef","expandedDetail"],["mat-cell","","class","td-expandedDetail",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","","class","dztable-element-row",3,"dztable-expanded-row","click",4,"matRowDef","matRowDefColumns"],["mat-row","","class","dztable-detail-row",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageIndex","pageSize","pageSizeOptions","click"],["orgFcOwnerPaginator",""],["id","setting-managerestrdpuburl","color","accent","class","button-center","mat-raised-button","",3,"click",4,"ngIf"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the name of the flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-cell",""],["mat-raised-button","","matTooltip","Open this flowchart.",1,"settings-org-fc-td-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","matTooltip","Indicates important actions you can take on this flowchart.  Be careful since these actiona may not be reversible.",3,"matTooltipShowDelay","matTooltipHideDelay"],["
1id","setting-editfcprop","matTooltip","Edit Flowchart Properties","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","setting-delfcallver","matTooltip","Delete selected flowchart and all versions","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","setting-reffcallver","matTooltip","Refresh information for all versions of this flowchart - try this if you are having issues loading this flowchart for some reason.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","setting-exportfcactiy","matTooltip","Export Flowchart Activity","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","setting-delfcallver","matTooltip","Delete selected flowchart and all versions","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","setting-reffcallver","matTooltip","Refresh information for all versions of this flowchart - try this if you are having issues loading this flowchart for some reason.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","setting-exportfcactiy","matTooltip","Export Flowchart Activity","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matColumnDef","orgHome"],["mat-header-cell","","matTooltip","Check this box if you want to show this flowchart in the OrgHome page.  Uncheck if you do not want to show this flowchart on the OrgHome page.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["mat-header-cell","","matTooltip","Check this box if you want to show this flowchart in the OrgHome page.  Uncheck if you do not want to show this flowchart on the OrgHome page.",3,"matTooltipShowDelay","matTooltipHideDelay"],["matTooltip","Flowchart cannot be added to Organization Home view without master version.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"ngIf"],["id","setting-mastrchkbx","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-mastrchecked","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Flowchart cannot be added to Organization Home view without master version.",3,"matTooltipShowDelay","matTooltipHideDelay"],["id","setting-notmastrcheckbx","mat-icon-button","","disabled",""],["id","setting-mastrchkbx","mat-icon-button","",3,"click"],["id","setting-mastrchecked","mat-icon-button","",3,"click"],["matColumnDef","kbHome1"],["mat-header-cell","","matTooltip","Check this box if you want to show this flowchart in the Knowledge Base page.  Uncheck if you do not want to show this flowchart on the Knowledge Base page.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["mat-header-cell","","matTooltip","Check this box if you want to show this flowchart in the Knowledge Base page.  Uncheck if you do not want to show this flowchart on the Knowledge Base page.",3,"matTooltipShowDelay","matTooltipHideDelay"],["matTooltip","Flowchart cannot be added to Organization Knowledge Base view without master version.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"ngIf"],["id","setting-kb1chkbx","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb1chkbox","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Flowchart cannot be added to Organization Knowledge Base view without master version.",3,"matTooltipShowDelay","matTooltipHideDelay"],["id","setting-kb1chkbxblnk","mat-icon-button","","disabled",""],["id","setting-kb1chkbx","mat-icon-button","",3,"click"],["id","setting-kb1chkbox","mat-icon-button","",3,"click"],["matColumnDef","kbHome2"],["id","setting-kb2chkbx","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb2chkbox","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb2chkbxblnk","mat-icon-button","","disabled",""],["id","setting-kb2chkbx","mat-icon-button","",3,"click"],["id","setting-kb2chkbox","mat-icon-button","",3,"click"],["matColumnDef","kbHome3"],["id","setting-kb3chkbx","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb3chkbox","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb3chkbxblnk","mat-icon-button","","disabled",""],["id","setting-kb3chkbx","mat-icon-button","",3,"click"],["id","setting-kb3chkbox","mat-icon-button","",3,"click"],["matColumnDef","kbHome4"],["id","setting-kb4chkbx","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb4chkbox","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb4chkbxblnk","mat-icon-button","","disabled",""],["id","setting-kb4chkbx","mat-icon-button","",3,"click"],["id","setting-kb4chkbox","mat-icon-button","",3,"click"],["matColumnDef","kbHome5"],["
1id","setting-kb5chkbx","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb5chkbox","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb5chkbxblnk","mat-icon-button","","disabled",""],["id","setting-kb5chkbx","mat-icon-button","",3,"click"],["id","setting-kb5chkbox","mat-icon-button","",3,"click"],["matColumnDef","kbHome6"],["id","setting-kb6chkbx","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb6chkbox","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb6chkbxblnk","mat-icon-button","","disabled",""],["id","setting-kb6chkbx","mat-icon-button","",3,"click"],["id","setting-kb6chkbox","mat-icon-button","",3,"click"],["matColumnDef","kbHome7"],["id","setting-kb7chkbx","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb7chkbox","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb7chkbxblnk","mat-icon-button","","disabled",""],["id","setting-kb7chkbx","mat-icon-button","",3,"click"],["id","setting-kb7chkbox","mat-icon-button","",3,"click"],["matColumnDef","kbHome8"],["id","setting-kb8chkbx","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb8chkbox","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb8chkbxblnk","mat-icon-button","","disabled",""],["id","setting-kb8chkbx","mat-icon-button","",3,"click"],["id","setting-kb8chkbox","mat-icon-button","",3,"click"],["matColumnDef","kbHome9"],["id","setting-kb9chkbx","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb9chkbox","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb9chkbxblnk","mat-icon-button","","disabled",""],["id","setting-kb9chkbx","mat-icon-button","",3,"click"],["id","setting-kb9chkbox","mat-icon-button","",3,"click"],["matColumnDef","kbHome10"],["id","setting-kb10chkbx","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb10chkbox","mat-icon-button","",3,"click",4,"ngIf"],["id","setting-kb10chkbxblnk","mat-icon-button","","disabled",""],["id","setting-kb10chkbx","mat-icon-button","",3,"click"],["id","setting-kb10chkbox","mat-icon-button","",3,"click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the number of versions this flowchart has currently.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates if this flowchart has a Master version selected currently.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Check this box if you would like an email alert when this flowchart has no Master version selected.",3,"matTooltipShowDelay","matTooltipHideDelay"],["matTooltip","Organization admin will be alerted if there is no master set for this flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Organization admin will be alerted if there is no master set for this flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay"],["mat-icon-button","",3,"click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the Master version name of the flowchart when a Master version is selected.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates if the flowchart is currently in Publish enabled state.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Check this box if you would like an email alert when this flowchart is not in a Publish enabled state.",3,"matTooltipShowDelay","matTooltipHideDelay"],["mat-header-cell","","mat-sort-header","","matTooltip","Check this box if you would like an email alert when this flowchart is not in a Embed enabled state.",3,"matTooltipShowDelay","matTooltipHideDelay"],["matTooltip","Organization admin will be alerted if flowchart is not set for Embed.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"ngIf"],["matTooltip","Organization admin will be alerted if flowchart is not set for Embed.",3,"matTooltipShowDelay","matTooltipHideDelay"],["matColumnDef","flowchartCopiable"],["mat-header-cell","","matTooltip","Indicates if copying the flowchart is allowed.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["mat-header-cell","","matTooltip","Indicates if copying the flowchart is allowed.",3,"matTooltipShowDelay","matTooltipHideDelay"],["matColumnDef","flowchartAppendAsFragment"],["mat-header-cell","","matTooltip","Indicates if appending the flowchart as a fragment is allowed.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["mat-header-cell","","matTooltip","Indicates if appending the flowchart as a fragment is allowed.",3,"matTooltipShowDelay","matTooltipHideDelay"],["matColumnDef","flowchartCopyAppendClonegroupAllowed"],["mat-header-cell","","matTooltip","Indicates if copying the Clone-Groups of this flowchart is allowed when it is Copied or Appended.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["mat-header-cell","","matTooltip","Indicates if copying the Clone-Groups of this flowchart is allowed when it is Copied or Appended.",3,"matTooltipShowDelay","matTooltipHideDelay"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the Goal this flowchart belongs to.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the SubCategory this flowchart belongs to.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the Category this flowchart belongs to.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the name of the flowchart author.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matColumnDef","userActivityPersistanceDays"],["mat-header-cell","","matTooltip","Flowchart level user activity persistance days.  This will show as '[Disabled]' when Organization level User Activity Recording flag is turned OFF.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["mat-header-cell","","matTooltip","Flowchart level user activity persistance days.  This will show as '[Disabled]' when Organization level User Activity Recording flag is turned OFF.",3,"matTooltipShowDelay","matTooltipHideDelay"],["mat-cell","",1,"td-expandedDetail"],[1,"dztable-element-detail"],["class","dztable-element-diagram fcDetailsImage mat-elevation-z6",3,"background-image",4,"ngIf"],["class","dztable-element-diagram fcDetailsImage mat-elevation-z6",4,"ngIf"],[1,"dztable-element-description"],[1,"dztable-element-diagram","fcDetailsImage","mat-elevation-z6"],["id","setting-copypuburl","mat-icon-button","","matTooltip","Copy URL for PUBLISHed flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[3,"id"],["mat-header-row",""],["mat-row","",1,"dztable-element-row",3,"click"],["mat-row","",1,"dztable-detail-row"],["id","setting-managerestrdpuburl","color","accent","mat-raised-button","",1,"button-center",3,"click"],[1,"settings-org-shared-fc","dztable-container","mat-elevation-z8"],["mat-table","","matSort","","multiTemplateDataRows","",1,"dztable-table",3,"dataSource"],["fcSharedSort","matSort"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the name of the Flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates if this flowchart is currently in Publish enabled state.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["fcSharedPaginator",""],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the name of the Flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-raised-button","",1,"settings-org-fc-td-button",3,"click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates if this flowchart is currently in Publish enabled state.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[1,"orgCustomPageTable",3,"click"],["id","myorg-orgusers"],[1,"kbpage-description"],[1,"settings-org-kb-page","dztable-container","mat-elevation-z8"],["orgKbPagesSort","matSort"],["matColumnDef","customPageName","sticky",""],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the name of the KnowledgeBase Page.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-header-cell","","matTooltip","You can Manager how this Knowledge Base page is Published or Embeded.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","","matTooltip","Is this Knowledge Base page Published? (No Password Required)",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","hideCookieConsentPublishView"],["mat-header-cell","","mat-sort-header","","matTooltip","Hide Cookie Consent Banner for Published Knowledge Base Page (No Password)?",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","publishBackgroun
1dColor"],["mat-header-cell","","mat-sort-header","","matTooltip","Background Color for Published Knowledge Base Page (No Password)?",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","publishedUrl"],["mat-header-cell","","mat-sort-header","","matTooltip","Published Knowledge Base URL (No Password).",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","isPublishedWithPassword"],["mat-header-cell","","mat-sort-header","","matTooltip","Is this Knowledge Base page Published? (Password Required)",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","hideCookieConsentPasswordProtectedPublishView"],["mat-header-cell","","mat-sort-header","","matTooltip","Hide Cookie Consent Banner for Published Knowledge Base Page ( Password Required)?",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","pubWithPwdBackgroundColor"],["mat-header-cell","","mat-sort-header","","matTooltip","Background Color for Published Knowledge Base Page ( Password Required)?",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","publishedUrlWithPassword"],["mat-header-cell","","mat-sort-header","","matTooltip","Published Knowledge Base URL (Requires Password).",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","publishedPassword"],["mat-header-cell","","mat-sort-header","","matTooltip","Password for Published Page",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","canEmbed"],["mat-header-cell","","mat-sort-header","","matTooltip","Is this Knowledge Base page enabled for Embedding (No Password Required)",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","hideCookieConsentEmbedView"],["mat-header-cell","","mat-sort-header","","matTooltip","Hide Cookie Consent Banner for Embedded Knowledge Base Page ( No Password)?",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","embedBackgroundColor"],["mat-header-cell","","mat-sort-header","","matTooltip","Background Color for Embedded Knowledge Base Page ( No Password)?",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","embedUrl"],["mat-header-cell","","mat-sort-header","","matTooltip","Code to Embed this Knowledge Base Page in your website (No Password).",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","canEmbedWithPassword"],["mat-header-cell","","mat-sort-header","","matTooltip","Is this Knowledge Base page enabled for Embedding (Password Required)",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","hideCookieConsentPasswordProtectedEmbedView"],["mat-header-cell","","mat-sort-header","","matTooltip","Hide Cookie Consent Banner for Embedded Knowledge Base Page ( Password Required)?",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","embedWithPwdBackgroundColor"],["mat-header-cell","","mat-sort-header","","matTooltip","Background Color for Embedded Knowledge Base Page ( Password Required)?",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","embedUrlWithPassword"],["mat-header-cell","","mat-sort-header","","matTooltip","Code to Embed this Knowledge Base Page in your website (Password)",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","embedPassword"],["mat-header-cell","","mat-sort-header","","matTooltip","Password for Embed Page",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["id","profile-addusrtoorg","matTooltip","Create another Custom page i.e. Knowledge Base Page.","mat-raised-button","","color","accent",1,"button-center",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[1,"settings-org-kb-descr",3,"click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the name of the KnowledgeBase Page.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","matTooltip","You can Manager how this Knowledge Base page is Published or Embeded.",3,"matTooltipShowDelay","matTooltipHideDelay"],["
1id","setting-editfcprop","matTooltip","Edit KnowledgeBase Page Properties","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Is this Knowledge Base page Published? (No Password Required)",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Hide Cookie Consent Banner for Published Knowledge Base Page (No Password)?",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Background Color for Published Knowledge Base Page (No Password)?",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[1,"kb-bg-color",3,"ngStyle"],["mat-header-cell","","mat-sort-header","","matTooltip","Published Knowledge Base URL (No Password).",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["class","kb-table-url-hidden",3,"id",4,"ngIf"],["id","setting-copypubkburl","matTooltip","Copy URL for PUBLISHed Knowledge Base page.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","setting-copypubkburl-qrcode","class","qrcode","matTooltip","Create & Download QR Code for the URL for PUBLISHed Knowledge Base page.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],[1,"kb-table-url-hidden",3,"id"],["id","setting-copypubkburl","matTooltip","Copy URL for PUBLISHed Knowledge Base page.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","setting-copypubkburl-qrcode","matTooltip","Create & Download QR Code for the URL for PUBLISHed Knowledge Base page.","mat-icon-button","",1,"qrcode",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Is this Knowledge Base page Published? (Password Required)",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Hide Cookie Consent Banner for Published Knowledge Base Page ( Password Required)?",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Background Color for Published Knowledge Base Page ( Password Required)?",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Published Knowledge Base URL (Requires Password).",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","setting-copypubkburl-pwd","matTooltip","Copy URL for PUBLISHed Knowledge Base page requiring Password.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","setting-copypubkburl-pwd-qrcode","class","qrcode","matTooltip","Create & Download QR Code for the URL for PUBLISHed Knowledge Base page.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","setting-copypubkburl-pwd","matTooltip","Copy URL for PUBLISHed Knowledge Base page requiring Password.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","setting-copypubkburl-pwd-qrcode","matTooltip","Create & Download QR Code for the URL for PUBLISHed Knowledge Base page.","mat-icon-button","",1,"qrcode",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Password for Published Page",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["class","pswd-in-table","readonly","",3,"id","type","value",4,"ngIf"],["mat-icon-button","","matTooltip","Show/Hide password",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","setting-copypubkbpwd","matTooltip","Copy Password for PUBLISHed Knowledge Base page","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["readonly","",1,"pswd-in-table",3,"id","type","value"],["mat-icon-button","","matTooltip","Show/Hide password",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","setting-copypubkbpwd","matTooltip","Copy Password for PUBLISHed Knowledge Base page","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Is this Knowledge Base page enabled for Embedding (No Password Required)",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Hide Cookie Consent Banner for Embedded Knowledge Base Page ( No Password)?",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Backgroun
1d Color for Embedded Knowledge Base Page ( No Password)?",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Code to Embed this Knowledge Base Page in your website (No Password).",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","setting-copyembed","matTooltip","Copy code to Embed this Knowledge Base Page in your website.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","setting-copyembed","matTooltip","Copy code to Embed this Knowledge Base Page in your website.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Is this Knowledge Base page enabled for Embedding (Password Required)",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Hide Cookie Consent Banner for Embedded Knowledge Base Page ( Password Required)?",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Background Color for Embedded Knowledge Base Page ( Password Required)?",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Code to Embed this Knowledge Base Page in your website (Password)",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","setting-copyembed-pwd","matTooltip","Copy code to Embed this Knowledge Base Page in your website (Password Required).","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","setting-copyembed-pwd","matTooltip","Copy code to Embed this Knowledge Base Page in your website (Password Required).","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Password for Embed Page",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["readonly","",3,"id","type","value",4,"ngIf"],["id","setting-copyembedkbpwd","matTooltip","Copy Password for Embed Knowledge Base page.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["readonly","",3,"id","type","value"],["id","setting-copyembedkbpwd","matTooltip","Copy Password for Embed Knowledge Base page.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-row",""],[1,"fc-entity-action-section",3,"click"],[1,"settings-org-fc-entity-action","dztable-container","mat-elevation-z8"],["orgFcEntityActionTable","","orgFcEntityActionSort","matSort"],["mat-header-cell","","mat-sort-header","","matTooltip","This is the Name of the Flowchart on which some action is requested.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","action"],["mat-header-cell","","mat-sort-header","","matTooltip","When any member of your Org with role CREATER requests flowchart actions, you will see the requested action here.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","","matTooltip","This shows the status for the Requested action (Approved, Feedback_Given, etc.).",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-header-cell","","matTooltip","Here you can either give Feedback or Approve the requested action. An email notification will be sent to the Requestor. Any Feedback given is also copied into the Flowchart Notes.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["matColumnDef","requestorName"],["mat-header-cell","","mat-sort-header","","matTooltip","This is the member of your Org with Role CREATER who requested the flowchart action.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","notes"],["mat-header-cell","","mat-sort-header","","matTooltip","These are the Notes saved with the Flowchart and any Feedback given is also appended to the notes automatically. To see the latest flowchart Notes below, please log out of your account and log back in.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates if the flowchart is currently in Published status.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","masterFlag"],["mat-header-cell","","mat-sort-header","","matTooltip","Indiacates if the flowchart currently has a Master Version selected.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the flowchart version name that is the current Master version.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","flowchartCreator"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates which member created this flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["orgFcEntityActionPaginator",""],["mat-header-cell","","mat-sort-header","","matTooltip","This is the Name of the Flowchart on which some action is requested.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","When any member of your Org with role CREATER requests flowchart actions, you will see the requested action here.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","This shows the status for the Requested action (Approved, Feedback_Given, etc.).",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","matTooltip","Here you can either give Feedback or Approve the requested action. An email notification will be sent to the Requestor. Any Feedback given is also copied into the Flowchart Notes.",3,"matTooltipShowDelay","matTooltipHideDelay"],[1,"approve-right-margin"],[3,"disabled","click"],["mat-header-cell","","mat-sort-header","","matTooltip","This is the member of your Org with Role 
1CREATER who requested the flowchart action.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","These are the Notes saved with the Flowchart and any Feedback given is also appended to the notes automatically. To see the latest flowchart Notes below, please log out of your account and log back in.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates if the flowchart is currently in Published status.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indiacates if the flowchart currently has a Master Version selected.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the flowchart version name that is the current Master version.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates which member created this flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[1,"org-searchterms-section",3,"click"],[1,"org-searchterms-container"],[1,"small-text"],["id","org-searchterm-copy",1,"searchterm-copy-always-hide"],["id","setting-copy-search-keywords","matTooltip","Copy All Keywords used by people to search your flowcharts.","mat-raised-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["aria-label","Keywords used by people to search your flowcharts",1,"search-keyword-list"],["class","each-keyword",4,"ngFor","ngForOf"],["id","setting-copy-search-keywords","matTooltip","Copy All Keywords used by people to search your flowcharts.","mat-raised-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[1,"each-keyword"],["matInput","","placeholder","i.e. Product",3,"keyup"],[1,"settings-public-org-fc","dztable-container","mat-elevation-z8"],["fcPublicOwnerTable","","fcOwnerSort","matSort"],["mat-header-cell","","mat-sort-header","","matTooltip","This is the Name of the flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["matColumnDef","isPublic"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates if the flowchart is shared in Public Org.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-header-cell","","matTooltip","Important actions you can take on this flowchart. Be careful as these actions may not be reversible.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates how many versions this Flowchart currently has.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates if a Master Version is selected for this flowchart currently.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the name of the Master Flowchart Version if a Master version is selected.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-header-cell","","matTooltip","Indicates if the flowchart is allowed to be copied.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates which Goal this flowchart belongs to.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates which SubCategory this flowchart belongs to.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates which Category this flowchart belongs to.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates which Org member authored this flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["fcOwnerPaginator",""],["mat-header-cell","","mat-sort-header","","matTooltip","This is the Name of the flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates if the flowchart is shared in Public Org.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","matTooltip","Important actions you can take on this flowchart. Be careful as these actions may not be reversible.",3,"matTooltipShowDelay","matTooltipHideDelay"],["
1id","setting-delfcallversn","matTooltip","Delete selected flowchart and all versions","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates how many versions this Flowchart currently has.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates if a Master Version is selected for this flowchart currently.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates the name of the Master Flowchart Version if a Master version is selected.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","matTooltip","Indicates if the flowchart is allowed to be copied.",3,"matTooltipShowDelay","matTooltipHideDelay"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates which Goal this flowchart belongs to.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates which SubCategory this flowchart belongs to.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates which Category this flowchart belongs to.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell","","mat-sort-header","","matTooltip","Indicates which Org member authored this flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","setting-copypublurl","mat-icon-button","","matTooltip","Copy URL for PUBLISHed flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[1,"no-flowchart"],[1,"favorites-table"],[1,"settings-favorites-fc","dztable-container","mat-elevation-z8"],["mat-table","","matSort","",1,"dztable-table",3,"dataSource"],["favSort","matSort"],["mat-header-cell","","mat-sort-header","","matTooltip","This is the name of the flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"matHeaderCellDef"],["mat-header-cell","",4,"matHeaderCellDef"],["favPaginator",""],["mat-header-cell","","mat-sort-header","","matTooltip","This is the name of the flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-raised-button","",1,"settings-favorites-fc-td-button",3,"click"],["mat-header-cell",""],["id","setting-delfcallver","matTooltip","Delete selected flowchart from your favorite list","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[1,"home-card-tabs",3,"label"],[1,"common-radio-group",3,"ngModel","ngModelOptions","change","ngModelChange"],["value","G",1,"edit-cat-tree-radiobtn"],["value","S",1,"edit-cat-tree-radiobtn"],["value","C",1,"edit-cat-tree-radiobtn"],[1,"the-form",3,"formGroup"],[1,"form-full-width"],["formControlName","selectedGoalForEdit","name","selectedGoalForEdit","placeholder","Select Goal to edit caption","required",""],["class","drop-down-option",3,"value",4,"ngFor","ngForOf"],["matInput","","placeholder","Enter New Goal","maxlength","150","matTextareaAutosize","","matAutosizeMinRows","2","matAutosizeMaxRows","3","formControlName","newGoalName","name","newGoalName","required",""],["newGoalName",""],["align","start"],["align","end"],["mat-dialog-actions",""],["id","setting-updatgoalcap","mat-raised-button","","color","accent",1,"button-center",3,"disabled","click"],[1,"drop-down-option",3,"value"],[1,"drop-down-option-caption"],[1,"drop-down-option-small-text"],[1,"action-success"],["formControlName","selectedGoalForSuggest","name","selectedGoalForSuggest","placeholder","Select Goal to suggest caption","required",""],["matInput","","placeholder","Enter New Goal","maxlength","150","matTextareaAutosize","","matAutosizeMinRows","2","matAutosizeMaxRows","3","formControlName","suggestedGoalName","name","suggestedGoalName","required",""],["suggestedGoalName",""],["id","setting-suggestgoalchng","mat-raised-button","","color","accent",1,"button-center",3,"disabled","click"],["formControlName","selectedSubcatForEdit","name","selectedSubcatForEdit","placeholder","Select Subcategory to edit caption","required",""],["type","text","matInput","","placeholder","Enter New Subcategory","maxlength","50","name","newSubcatName","formControlName","newSubcatName","required",""],["newSubcatName",""],["id","setting-suggestsubcatcapchg","mat-raised-button","","color","accent",1,"button-center",3,"disabled","click"],["id","setting-updatsubcatcap","mat-raised-button","","color","accent",1,"button-center",3,"disabled","click"],["formControlName","selectedCatForEdit","name","selectedCatForEdit","placeholder","Select Category to edit caption","required",""],["type","text","matInput","","placeholder","Enter New Category","maxlength","50","name","newCatName","formControlName","newCatName","required",""],["newCatName",""],["id","setting-suggestcat
1capchg","mat-raised-button","","color","accent",1,"button-center",3,"disabled","click"],["id","setting-updatcatcap","mat-raised-button","","color","accent",1,"button-center",3,"disabled","click"],[1,"personal-card"],[3,"formGroup"],["for","","orgName","Select Org which has your flowchart"],["placeholder","Select Org which has your flowchart","formControlName","sourceOrgName","name","sourceOrgName","required","",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["for","","goalName","Select Goal from Source Organization"],["placeholder","Select Goal","formControlName","sourceGoal","name","sourceGoal","required","",3,"selectionChange"],["class","form-full-width",4,"ngIf"],["id","setting-copyfc","mat-raised-button","","color","accent",1,"button-center",3,"disabled","click"],["for","","fcName","Select the Flowchart you want to move"],["placeholder","Select the Flowchart you want to move","formControlName","sourceFc","name","sourceFc","required","",3,"selectionChange"],["for","","goalName","Select Goal"],["placeholder","Select Destination Goal","formControlName","destinationGoal","name","destinationGoal","required",""],["id","setting-movefc","mat-raised-button","","color","accent",1,"button-center",3,"disabled","click"],[3,"value"],["for","","fcName","Select Source Flowchart for Copy"],["placeholder","Select Source Flowchart for Copy","formControlName","sourceFc","name","sourceFc","required","",3,"selectionChange"],["for","","orgName","Select Destination Organization"],["placeholder","Select Destination Organization","formControlName","destinationOrgName","name","destinationOrgName","required","",3,"selectionChange"],["matInput","","formControlName","destinationOrgName","name","destinationOrgName","readonly",""],["placeholder","Select Goal","formControlName","destinationGoal","name","destinationGoal","required",""],["for","","goalName","Select New Flowchart Author"],["placeholder","Select New Flowchart Author","formControlName","newFlowchartCreator","name","newFlowchartCreator","required",""],["matInput","","placeholder","Enter Flowchart Name","name","flowchartName","formControlName","flowchartName","required","",3,"focusout"],[3,"ngModel","ngModelOptions","ngModelChange"],[1,"gray-text"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"mat-accordion",1)(2,"mat-expansion-panel",2),t.NdJ("opened",function(){return i.getOrgs()}),t.TgZ(3,"mat-expansion-panel-header")(4,"mat-panel-title",3),t._uU(5," Organization Flowcharts"),t.qZA(),t.TgZ(6,"mat-panel-description",3),t._uU(7,"Shared With Me "),t.TgZ(8,"mat-icon"),t._uU(9,"schema"),t.qZA()()(),t.YNc(10,Wi,2,0,"p",4),t.YNc(11,Tc,21,10,"mat-accordion",5),t.qZA(),t._UZ(12,"br"),t.TgZ(13,"mat-expansion-panel",2),t.NdJ("opened",function(){return i.getUserCreatedOwnedFlowcharts(i.publicOrgName,0)}),t.TgZ(14,"mat-expansion-panel-header")(15,"mat-panel-title",3),t._uU(16," Public Flowcharts"),t.qZA(),t.TgZ(17,"mat-panel-description",3),t._uU(18," Personal Flowcharts "),t.TgZ(19,"mat-icon"),t._uU(20,"people_outline"),t.qZA()()(),t.TgZ(21,"mat-accordion",6)(22,"mat-expansion-panel",7)(23,"mat-expansion-panel-header")(24,"mat-panel-title",8),t._uU(25),t.qZA()(),t.YNc(26,xc,1,0,"mat-spinner",9),t.YNc(27,vc,2,1,"div",10),t.YNc(28,al,50,10,"div",11),t.YNc(29,nl,2,0,"div",12),t.qZA(),t._UZ(30,"br"),t.qZA()(),t._UZ(31,"br"),t.TgZ(32,"mat-expansion-panel",13),t.NdJ("opened",function(){return i.getUserFavoriteFlowcharts()}),t.TgZ(33,"mat-expansion-panel-header")(34,"mat-panel-title",14),t._uU(35," My Favorites"),t.qZA(),t.TgZ(36,"mat-panel-description",14),t._uU(37,"My Favorite Flowcharts "),t.TgZ(38,"mat-icon"),t._uU(39,"favorite"),t.qZA()()(),t.YNc(40,rl,2,0,"div",12),t.YNc(41,Cl,28,8,"div",15),t.qZA(),t._UZ(42,"br"),t.TgZ(43,"mat-toolbar"),t._uU(44,"Edit Category/Subcategory/Goal "),t.qZA(),t._UZ(45,"br"),t.TgZ(46,"mat-expansion-panel",2),t.NdJ("opened",function(){return i.getEditableCatSubcatGoalListForOrg()}),t.TgZ(47,"mat-expansion-panel-header")(48,"mat-panel-title",3),t._uU(49," Edit Captions"),t.qZA(),t.TgZ(50,"mat-panel-description",3),t._uU(51," Category Tree "),t.TgZ(52,"mat-icon"),t._uU(53,"edit"),t.qZA()()(),t.TgZ(54,"mat-tab-group",16),t.NdJ("selectedTabChange",function(s){return i.resetTabFormSelection(s)}),t.YNc(55,id,18,10,"mat-tab",17),t.ALo(56,"keys"),t.qZA()(),t._UZ(57,"br"),t.YNc(58,Od,73,25,"div",11),t.qZA(),t._UZ(59,"br"),t.qZA(),t._UZ(60,"br")),2&e&&(t.xp6(2),t.Q6J("expanded",!0),t.xp6(8),t.Q6J("ngIf",!i.orgNames||0===i.orgNames.length),t.xp6(1),t.Q6J("ngForOf",i.orgNames),t.xp6(2),t.Q6J("expanded",!1),t.xp6(9),t.Q6J("expanded",!0),t.xp6(3),t.Oqu(i.publicOrgName),t.xp6(1),t.Q6J("ngIf",i.pubListLoading),t.xp6(1),t.Q6J("ngIf",i.showOwnerData&&i.publicOrgFcOwnerList&&i.publicOrgFcOwnerList.length>0),t.xp6(1),t.Q6J("ngIf",!i.pubListLoading&&i.showOwnerData&&i.publicOrgFcOwnerList&&i.publicOrgFcOwnerList.length>0),t.xp6(1),t.Q6J("ngIf",!i.pubListLoading&&i.publicOrgFcOwnerList&&0===i.publicOrgFcOwnerList.length),t.xp6(11),t.Q6J("ngIf",i.userFavFlowcharts&&0===i.userFavFlowcharts.length),t.xp6(1),t.Q6J("ngIf",i.userFavFlowcharts&&i.userFavFlowcharts.length>0),t.xp6(5),t.Q6J("expanded",!1),t.xp6(9),t.Q6J("ngForOf",t.lcZ(56,15,i.orgCattreeMap)),t.xp6(3),t.Q6J("ngIf",i.showCopy
1FlowchartToolbar))},dependencies:[A.sg,A.O5,A.PC,xt.Zl,l._Y,l.Fj,l.JJ,l.JL,l.Q7,l.nD,l.On,l.sg,l.u,E.TO,E.KE,E.bx,E.hX,j.Nt,Zi.ey,H.lW,H.zs,$.a8,$.dn,vt.oG,X.qn,X.HS,T.H8,it.pp,it.ib,it.yz,it.yK,it.u4,W.Hw,Oi.NW,ct.Ou,lt.VQ,lt.U0,Ai.gD,Ft.YE,Ft.nU,P.BZ,P.fO,P.as,P.w1,P.Dz,P.nj,P.ge,P.ev,P.XQ,P.Gk,tt.SP,tt.uX,Ni.Ye,ut.gM,Ei],styles:[".common-modal.common-modal-settings[_ngcontent-%COMP%]{height:calc(100% - 100px)}.settings-page[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-direction:column;position:relative;width:95%;height:90%;max-width:1250px;margin:0 auto;overflow-y:auto}.settings-page[_ngcontent-%COMP%]   .mat-expansion-panel-body[_ngcontent-%COMP%]{padding:10px 16px}.settings-item[_ngcontent-%COMP%]{margin:10px}.favorites-table[_ngcontent-%COMP%]{padding:2px}.settings-headers-align[_ngcontent-%COMP%]{margin:0 2px}.settings-headers-align[_ngcontent-%COMP%]   .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:var(--primarytextcolor)}.settings-headers-align[_ngcontent-%COMP%]   .mat-expansion-panel-header-title[_ngcontent-%COMP%], .settings-headers-align[_ngcontent-%COMP%]   .mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-basis:0}.settings-headers-align[_ngcontent-%COMP%]   .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.item-name[_ngcontent-%COMP%]{color:#a9a9a9;width:200px;display:inline-block;height:100%}.item-value[_ngcontent-%COMP%]{color:#00f;font-style:bold}.close-cross[_ngcontent-%COMP%]{position:absolute;top:0;right:0;padding:0;width:40px;min-width:40px}.fc-panel[_ngcontent-%COMP%], .fav-panel[_ngcontent-%COMP%], .orgname-title[_ngcontent-%COMP%]{font-weight:700}.no-flowchart[_ngcontent-%COMP%]{text-align:center;padding-bottom:20px;font-weight:700;font-size:15px}.flowchart-list-title[_ngcontent-%COMP%]{padding:10px 40px;font-size:15px;font-weight:700}.form-full-width[_ngcontent-%COMP%]{width:100%}.file-upload-section[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:block;margin:10px}#uploadedImage[_ngcontent-%COMP%]{background-position:center center;background-repeat:no-repeat;width:200px;right:0;margin:auto;height:200px;background-size:contain}.uploadoption[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-around;align-items:flex-start;flex-grow:1;margin:20px 0}.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}.fcDetailsImage[_ngcontent-%COMP%]{background-position:center center;background-repeat:no-repeat;width:150px;line-height:100px;height:100px;background-size:contain;margin:5px}.fc-properties-card[_ngcontent-%COMP%]{margin:0 2px;background-color:#fff!important}.fc-properties-card[_ngcontent-%COMP%]   .mat-card-title[_ngcontent-%COMP%]{font-weight:700;color:var(--secondarytextcolor)}.action-success[_ngcontent-%COMP%]{color:green}.justify-center[_ngcontent-%COMP%]{margin:0 auto;width:250px;display:block}.drop-down-option[_ngcontent-%COMP%]{line-height:2em!important;height:auto!important;white-space:normal!important;border-bottom:1px solid #c1c1c1}.drop-down-option-small-text[_ngcontent-%COMP%]{font-size:smaller;color:gray}.edit-cat-tree-radiobtn[_ngcontent-%COMP%]{margin:5px}.button-center[_ngcontent-%COMP%]{margin:10px auto;display:block}.drop-down-option-caption[_ngcontent-%COMP%]{margin:3px 3px 3px 1em!important;text-indent:-1em!important}.no-org-padding[_ngcontent-%COMP%]{padding:0 15px}a.social-share-diabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.settings-public-org-fc[_ngcontent-%COMP%]{text-align:center}.settings-public-org-fc[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-public-org-fc[_ngcontent-%COMP%]   .td-expandedDetail[_ngcontent-%COMP%]{background-color:#fffbeb}.settings-public-org-fc[_ngcontent-%COMP%]   .settings-org-fc-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-flowchartName[_ngcontent-%COMP%]{width:150px;text-align:start}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-isPublic[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{width:120px}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-fcVersionCount[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-hasMaster[_ngcontent-%COMP%]{width:100px}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-masterFlowchartVersion[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-flowchartCopiable[_ngcontent-%COMP%]{width:100px}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-goalName[_ngcontent-%COMP%]{width:200
1px;background-color:#fffbeb}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-subCategoryName[_ngcontent-%COMP%]{width:150px}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-categoryName[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-public-org-fc[_ngcontent-%COMP%]   .mat-column-creator[_ngcontent-%COMP%]{width:150px}.settings-org-fc[_ngcontent-%COMP%]{text-align:center}.settings-org-fc[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-org-fc[_ngcontent-%COMP%]   .td-expandedDetail[_ngcontent-%COMP%]{background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .settings-org-fc-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-org-fc[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-flowchartName[_ngcontent-%COMP%]{width:150px;text-align:start}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{width:200px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-orgHome[_ngcontent-%COMP%]{width:100px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome1[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome2[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome3[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome4[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome5[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome6[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome7[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome8[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome9[_ngcontent-%COMP%], .settings-org-fc[_ngcontent-%COMP%]   .mat-column-kbHome10[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-fcVersionCount[_ngcontent-%COMP%]{width:100px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-hasMaster[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-alertNoMaster[_ngcontent-%COMP%]{width:100px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-masterFlowchartVersion[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-isPublished[_ngcontent-%COMP%]{width:100px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-alertNotPublish[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-alertNotEmbed[_ngcontent-%COMP%]{width:100px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-flowchartCopiable[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-flowchartAppendAsFragment[_ngcontent-%COMP%]{width:100px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-flowchartCopyAppendClonegroupAllowed[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-goalName[_ngcontent-%COMP%]{width:200px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-subCategoryName[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-categoryName[_ngcontent-%COMP%]{width:150px}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-creator[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-org-fc[_ngcontent-%COMP%]   .mat-column-userActivityPersistanceDays[_ngcontent-%COMP%]{width:100px}.settings-favorites-fc[_ngcontent-%COMP%]{text-align:center}.settings-favorites-fc[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-favorites-fc[_ngcontent-%COMP%]   .td-expandedDetail[_ngcontent-%COMP%]{background-color:#fffbeb}.settings-favorites-fc[_ngcontent-%COMP%]   .settings-favorites-fc-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-favorites-fc[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-favorites-fc[_ngcontent-%COMP%]   .mat-column-flowchartName[_ngcontent-%COMP%]{width:200
1px;text-align:start}.settings-favorites-fc[_ngcontent-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{width:75px;background-color:#fffbeb}.settings-favorites-fc[_ngcontent-%COMP%]   .mat-column-goalName[_ngcontent-%COMP%]{width:200px}.settings-favorites-fc[_ngcontent-%COMP%]   .mat-column-subCategoryName[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-favorites-fc[_ngcontent-%COMP%]   .mat-column-categoryName[_ngcontent-%COMP%]{width:150px}.settings-org-shared-fc[_ngcontent-%COMP%]{text-align:center}.settings-org-shared-fc[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-org-shared-fc[_ngcontent-%COMP%]   .td-expandedDetail[_ngcontent-%COMP%]{background-color:#fffbeb}.settings-org-shared-fc[_ngcontent-%COMP%]   .settings-org-fc-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-column-flowchartName[_ngcontent-%COMP%]{width:150px;text-align:start}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-column-isPublished[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-column-goalName[_ngcontent-%COMP%]{width:200px}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-column-subCategoryName[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-column-categoryName[_ngcontent-%COMP%]{width:150px}.settings-org-shared-fc[_ngcontent-%COMP%]   .mat-column-creator[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-webhook-events[_ngcontent-%COMP%]{text-align:center}.settings-webhook-events[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-webhook-events[_ngcontent-%COMP%]   .settings-webhook-events-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-webhook-events[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-webhook-events[_ngcontent-%COMP%]   .mat-column-webhookEventName[_ngcontent-%COMP%]{width:100px;text-align:start}.settings-webhook-events[_ngcontent-%COMP%]   .mat-column-webhookEventIdentifier[_ngcontent-%COMP%]{width:75px;background-color:#fffbeb}.settings-webhook-events[_ngcontent-%COMP%]   .mat-column-webhookEventDescription[_ngcontent-%COMP%]{width:100px}.settings-webhook-events[_ngcontent-%COMP%]   .mat-column-statusName[_ngcontent-%COMP%]{width:50px;background-color:#fffbeb}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]{text-align:center}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .settings-org-webhook-subscribed-events-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-column-webhookEventName[_ngcontent-%COMP%]{width:100px;text-align:start}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-column-connectedAppName[_ng
1content-%COMP%]{width:75px;background-color:#fffbeb}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-column-connectedAppHookUrl[_ngcontent-%COMP%]{width:150px}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-column-userName[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-column-wesUUID[_ngcontent-%COMP%]{width:75px}.settings-org-webhook-subscribed-events[_ngcontent-%COMP%]   .mat-column-statusName[_ngcontent-%COMP%]{width:50px;background-color:#fffbeb}.settings-org-fc-entity-action[_ngcontent-%COMP%]{text-align:center}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .settings-org-fc-entity-action-td-button[_ngcontent-%COMP%]{white-space:initial;padding:0 3px;word-break:break-word}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-flowchartName[_ngcontent-%COMP%]{width:150px;text-align:start}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-action[_ngcontent-%COMP%]{width:75px;background-color:#fffbeb}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-status[_ngcontent-%COMP%]{width:100px}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{width:200px;background-color:#fffbeb}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-requestorName[_ngcontent-%COMP%]{width:100px}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-notes[_ngcontent-%COMP%]{width:120px;background-color:#fffbeb}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-isPublished[_ngcontent-%COMP%]{width:100px}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-masterFlag[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-masterFlowchartVersion[_ngcontent-%COMP%]{width:100px}.settings-org-fc-entity-action[_ngcontent-%COMP%]   .mat-column-flowchartCreator[_ng
1content-%COMP%]{width:150px;background-color:#fffbeb}.kbpage-section[_ngcontent-%COMP%]{width:95%;margin:auto}.kbpage-container[_ngcontent-%COMP%]{padding:5%;position:relative}.kbpage-mng-publishing[_ngcontent-%COMP%], .kbpage-mng-embedding[_ngcontent-%COMP%]{margin:10px 0 20px}@media screen and (max-width: 600px){.kbpage-description[_ngcontent-%COMP%]{display:none}}#embed-kb[_ngcontent-%COMP%]{display:block;margin:10px;padding:10px;border:1px solid lightgray}.personal-card[_ngcontent-%COMP%]{margin-top:20px}.personal-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:20px;font-weight:600}.personal-card[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:18px}.org-searchterms-section[_ngcontent-%COMP%]{width:95%;margin:auto}.org-searchterms-container[_ngcontent-%COMP%]{padding:5%;position:relative}.search-keyword-list[_ngcontent-%COMP%]{max-height:300px;overflow:auto}.each-keyword[_ngcontent-%COMP%]{background-color:var(--secondarycolor)}.searchterm-copy-always-hide[_ngcontent-%COMP%]{height:1px;overflow:hidden;width:1px}.entity-action-status[_ngcontent-%COMP%]{color:green}.fc-entity-action-section[_ngcontent-%COMP%]{width:95%;margin:auto}.fc-notes-textinput[_ngcontent-%COMP%]{height:100px;background-color:#ffd74040}.user-activity-persist-disable-msg[_ngcontent-%COMP%]{color:brown;font-style:italic}#useracty-persistance[_ngcontent-%COMP%]{width:250px}.note-italic[_ngcontent-%COMP%]{font-style:italic}.orgCustomPageTable[_ngcontent-%COMP%]{width:100%}.orgCustomPageTable[_ngcontent-%COMP%]   .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:var(--secondarytextcolor)}.settings-org-kb-page[_ngcontent-%COMP%]{text-align:center}.settings-org-kb-page[_ngcontent-%COMP%]   .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.settings-org-kb-page[_ngcontent-%COMP%]   .td-expandedDetail[_ngcontent-%COMP%]{background-color:#fffbeb}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-customPageName[_ngcontent-%COMP%]{width:150px;text-align:start;word-wrap:break-word}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{width:40px;text-align:start;background-color:#fffbeb}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-isPublished[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-hideCookieConsentPublishView[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-publishBackgroundColor[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-publishedUrl[_ngcontent-%COMP%]{width:100px}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-isPublishedWithPassword[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-hideCookieConsentPasswordProtectedPublishView[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-pubWithPwdBackgroundColor[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-publishedUrlWithPassword[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-publishedPassword[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-canEmbed[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-hideCookieConsentEmbedView[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-embedBackgroundColor[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-embedUrl[_ngcontent-%COMP%]{width:100px}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-canEmbedWithPassword[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-hideCookieConsentPasswordProtectedEmbedView[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-embedWithPwdBackgroundColor[_ngcontent-%COMP%], .settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-embedUrlWithPassword[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.settings-org-kb-page[_ngcontent-%COMP%]   .mat-column-embedPassword[_ngcontent-%COMP%]{width:150px;background-color:#fffbeb}.orgCustomPageTable[_ngcontent-%COMP%]{width:95%;margin:auto}
1.kb-table-url-hidden[_ngcontent-%COMP%]{display:none}.pswd-in-table[_ngcontent-%COMP%]{width:150px}.kb-bg-color[_ngcontent-%COMP%]{height:25px;width:50px;margin:0 auto;border:1px solid lightgrey}"],data:{animation:[(0,J.X$)("detailExpand",[(0,J.SB)("collapsed, void",(0,J.oB)({height:"0px",minHeight:"0",display:"none"})),(0,J.SB)("expanded",(0,J.oB)({height:"*"})),(0,J.eR)("expanded <=> collapsed",(0,J.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)")),(0,J.eR)("expanded <=> void",(0,J.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}}),o})();var Nd=b(70319),Ed=b(62368);let Dd=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[A.ez,y.o9,l.u5,l.UX,z.K,Ed.l,Q.QG,Nd.Mc.forChild(),D.Bz.forChild([{path:"",component:Ad}])]}),o})()},58704:(mt,Y,b)=>{b.d(Y,{u:()=>d});var A=b(95698),D=b(54004),y=b(94650),l=b(65938),z=b(93531),t=b(65244),T=b(19132),nt=b(21952),rt=b(4859),O=b(97392);let K=(()=>{class I{constructor(N,L,q,st,et,V){this.ngZone=N,this.dialogRef=L,this._utilService=q,this._userMilestoneService=st,this.router=et,this.displayName="",this.firstName="",this.sessionStorage=V}ngOnInit(){let N={};N=this.sessionStorage.getObject("userProfile"),this.displayName=N.displayName,this.firstName=N.firstName}openQuickTour(){this.close(),this.sessionStorage.removeItem("showWelcomeModal"),this._utilService.startQuickTour()}goToCreateFCGuide(){if(this._utilService.getUserLoggedInStatus()){this._userMilestoneService.saveOrUpdateUserMilestone("VISITED_CREATE_FLOWCHART_GUIDE",null);let N={event:"tutorial_begin","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this._utilService.getLoggedInUserOrgId(),"dlv-component_id":"welcomedilog-createfc-guide"};window.dataLayer.push(N)}}close(){this.ngZone.run(()=>{this.dialogRef.close()})}}return I.\u0275fac=function(N){return new(N||I)(y.Y36(y.R0b),y.Y36(l.so),y.Y36(z.f),y.Y36(t.d),y.Y36(T.F0),y.Y36(nt.qo))},I.\u0275cmp=y.Xpm({type:I,selectors:[["ng-component"]],decls:40,vars:1,consts:[[1,"dialogue-container","welcome-dialog"],["id","welcomedilog-close","mat-button","",1,"close-cross",3,"click"],[1,"welcome-dialog-h2"],[1,""],[1,"video-parent"],[1,"videoWrapper"],["id","yt-usrwelcomdlg","width","300","height","300","loading","lazy","src","https://www.youtube-nocookie.com/embed/DwyazTIZcQk?origin=https%3A%2F%2Fdecizone.com","title","DeciZone Training 1 - Platform Review","frameborder","0","allow","\n          accelerometer;\n          autoplay;\n          clipboard-write;\n          encrypted-media;\n          gyroscope;\n          picture-in-picture;\n          web-share;\n        ","referrerpolicy","strict-origin-when-cross-origin","allowfullscreen",""],["mat-dialog-actions","",1,"dialogue-buttons"],["id","welcomedilog-dztour","type","button","mat-raised-button","","color","accent",3,"click"],["id","usrwelcom-createfcguide","rel","noopener nofollow","target","_blank","rel","noopener","href","/create-flowchart-guide",1,""],["id","welcomedilog-createfcguide","mat-raised-button","","color","accent","routerLinkActive","active",3,"click"],["id","welcomedilog-botmclose","type","button","mat-raised-button","","cdkFocusInitial","",3,"click"]],template:function(N,L){1&N&&(y.TgZ(0,"div",0)(1,"button",1),y.NdJ("click",function(){return L.close()}),y.TgZ(2,"mat-icon"),y._uU(3,"close"),y.qZA()(),y.TgZ(4,"h2",2)(5,"mat-icon"),y._uU(6,"local_florist"),y.qZA(),y._uU(7),y.qZA(),y.TgZ(8,"p",3),y._uU(9,"Lets get you up to speed in 3 simple steps."),y.qZA(),y.TgZ(10,"p",3)(11,"mat-icon"),y._uU(12,"looks_one"),y.qZA(),y._uU(13," Please start with the DeciZone Platform Review video below. "),y.qZA(),y.TgZ(14,"div",4)(15,"div",5),y._UZ(16,"iframe",6),y.qZA()(),y.TgZ(17,"p",3)(18,"mat-icon"),y._uU(19,"looks_two"),y.qZA(),y._uU(20," Lets take a quick tour."),y.qZA(),y.TgZ(21,"div",7)(22,"button",8),y.NdJ("click",function(){return L.openQuickTour()}),y.TgZ(23,"mat-icon"),y._uU(24,"swap_calls"),y.qZA(),y._uU(25," DeciZone Tour "),y.qZA()(),y.TgZ(26,"p",3)(27,"mat-icon"),y._uU(28,"looks_3"),y.qZA(),y._uU(29," Lets create your first DeciZone flowchart. The Step-by-step Create flowchart guide below opens in a new browser tab so you can follow each step along at your own pace. "),y.qZA(),y.TgZ(30,"a",9)(31,"button",10),y.NdJ("
1click",function(){return L.goToCreateFCGuide()}),y.TgZ(32,"mat-icon"),y._uU(33,"map"),y.qZA(),y._uU(34," Step-by-step Create Flowchart Guide "),y.TgZ(35,"mat-icon"),y._uU(36,"open_in_new"),y.qZA()()(),y.TgZ(37,"div",7)(38,"button",11),y.NdJ("click",function(){return L.close()}),y._uU(39," Close "),y.qZA()()()),2&N&&(y.xp6(7),y.hij(" Welcome ",L.displayName," "))},dependencies:[rt.lW,l.H8,O.Hw],encapsulation:2}),I})(),d=(()=>{class I{constructor(N){this.dialog=N}open(){this.dialogRef=this.dialog.open(K,{width:"500px",disableClose:!0,autoFocus:!1,data:{}})}confirmed(){return this.dialogRef.afterClosed().pipe((0,A.q)(1),(0,D.U)(N=>N))}}return I.\u0275fac=function(N){return new(N||I)(y.LFG(l.uw))},I.\u0275prov=y.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),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.