import{a as wt}from"./chunk-7F4EMYHG.js";import{a as ft,b as yt}from"./chunk-CIR225GR.js";import{d as gt}from"./chunk-GXOV5BJW.js";import{a as ct,b as mt,f as pt}from"./chunk-Q7H2D3EK.js";import{a as ht}from"./chunk-3QM6O57J.js";import"./chunk-Q7NEU37N.js";import{a as ie}from"./chunk-4QKT4DDC.js";import{a as ut}from"./chunk-PMLGCQK5.js";import{o as lt,t as at}from"./chunk-FNARCYSS.js";import{d as st,e as dt,g as te}from"./chunk-QO3I7KTG.js";import{A as it,B as nt,D as rt,E as ot,b as Oe,c as Re,g as qe,h as ze,j as Ke,l as He,m as Ge,n as Qe,p as je,t as Je,u as Ze,v as Ye,w as Xe,x as $e,y as et,z as tt}from"./chunk-EZUMFAMZ.js";import{$a as Me,$b as Ue,Aa as ve,Da as be,Zb as Ae,_a as ke,_b as Ie,ab as Te,cb as Fe,db as De,e as fe,eb as Be,fc as We,h as ye,ha as Ce,jb as Pe,k as _e,kb as Ve,rb as xe,s as Se,sb as Ne,tb as Le,xa as we,za as Ee}from"./chunk-VA2ZAQUO.js";import{$b as K,A as le,Bc as B,Bd as ee,Cb as se,Dc as r,Ec as k,Fa as V,Fc as M,Fd as ge,Jb as w,Jc as g,Ka as ae,Kc as f,Lc as y,Pc as de,Qc as v,Rc as T,Sc as q,Tb as p,Ub as $,_c as ce,ac as ne,bc as L,cc as A,dc as t,ec as i,fc as _,jc as F,mc as u,nb as s,ob as P,oc as C,rc as x,sd as me,td as pe,ua as d,ud as ue,va as c,vc as W,wc as O,xc as R,yd as he}from"./chunk-F5OOQG77.js";import{a as j,b as J,g as Ct,i as oe}from"./chunk-2AVGQ2MQ.js";var H=Ct(wt());var Et=["matSelectEdit"],vt=["matSelectCreate"],bt=["matSelectCreateNoBackup"],kt=["matSelectEditNoBackup"],Mt=["matSelectBlukryptHost"],Tt=["matSelectCreateFilter"],Ft=["matSelectEditFilter"],b=()=>({standalone:!0}),Z=(h,S)=>({"pointer-events":h,opacity:S}),Y=h=>({hide:h}),_t=(h,S)=>({"fa-eye":h,"fa-eye-slash":S}),N=h=>({display:h}),St=h=>({redAlert:h});function Dt(h,S){if(h&1&&(t(0,"li")(1,"h3")(2,"a",477),r(3),i()()()),h&2){let o=C();s(3),k(o.parent)}}function Bt(h,S){if(h&1&&(t(0,"li")(1,"a",478),r(2),i()()),h&2){let o=C();s(2),k(o.child)}}function Pt(h,S){if(h&1&&(t(0,"li")(1,"span"),r(2),i()()),h&2){let o=C();s(2),k(o.subchild)}}function Vt(h,S){h&1&&(t(0,"small"),r(1,`
                            Policy Name is required.
                        `),i())}function xt(h,S){if(h&1&&(t(0,"small"),r(1),i()),h&2){let o=C(2);s(),M(`
                        `,o.errortext,`
                      `)}}function Nt(h,S){h&1&&(t(0,"small"),r(1,`
                        Policy Name must be at least 3 characters long.
                      `),i())}function Lt(h,S){if(h&1&&(t(0,"div",479),r(1,`
                        `),w(2,Vt,2,0,"small",18),r(3,`
                      `),w(4,xt,2,1,"small",18),r(5,`
                      `),w(6,Nt,2,0,"small",18),r(7,`
                    `),i()),h&2){C();let o=B(24);s(2),p("ngIf",o.errors==null?null:o.errors.required),s(2),p("ngIf",o.errors&&o.errors.pattern),s(2),p("ngIf",o.errors&&o.errors.minlength)}}function At(h,S){h&1&&(t(0,"small",480),r(1,`
                        This value is too short. It should have 5 characters or more.
                    `),i())}function It(h,S){h&1&&(t(0,"small",480),r(1,`
                        This value is too long. It should have 512 characters or fewer.
                    `),i())}function Ut(h,S){if(h&1&&(t(0,"mat-option",399),r(1),i()),h&2){let o=S.$implicit;x("value",o.scheduleName),s(),k(o.scheduleName)}}function Wt(h,S){if(h&1){let o=F();t(0,"tr")(1,"td"),r(2),i(),t(3,"td"),r(4),i(),t(5,"td")(6,"button",484),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.editSchedule(e.scheduleName))}),r(7," Edit"),i()()()}if(h&2){let o=S.$implicit;s(2),k(o.scheduleName),s(2),M("",o.time," hrs")}}function Ot(h,S){if(h&1&&(t(0,"div",15)(1,"div",104)(2,"div",481)(3,"div",107)(4,"h5"),_(5,"i",482),r(6," Schedule Details"),i()(),t(7,"div",109)(8,"div",110)(9,"table",483)(10,"tbody"),L(11,Wt,8,2,"tr",null,K),i()()()()()()()),h&2){let o=C();s(11),A(o.defaultSchedules)}}function Rt(h,S){if(h&1&&(t(0,"mat-option",399),r(1),i()),h&2){let o=S.$implicit;x("value",o.scheduleName),s(),k(o.scheduleName)}}function qt(h,S){if(h&1){let o=F();t(0,"tr")(1,"td"),r(2),i(),t(3,"td"),r(4),i(),t(5,"td"),r(6),i(),t(7,"td")(8,"button",484),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.editNoBackupSchedule(e.scheduleName))}),r(9," Edit"),i()()()}if(h&2){let o=S.$implicit;s(2),k(o.scheduleName),s(2),M("",o.fromTime," hrs"),s(2),M("",o.toTime," hrs")}}function zt(h,S){if(h&1&&(t(0,"div",15)(1,"div",104)(2,"div",485)(3,"div",107)(4,"h5"),_(5,"i",482),r(6," 'No Backup' Window Details"),i()(),t(7,"div",109)(8,"div",110)(9,"table",483)(10,"tbody"),L(11,qt,10,3,"tr",null,K),i()()()()()()()),h&2){let o=C();s(11),A(o.defaultNoBackupSchedules)}}function Kt(h,S){if(h&1){let o=F();t(0,"div",24)(1,"label",486),r(2,"Default Folders to Backup for MS SQL"),i(),t(3,"a",487),u("click",function(){d(o);let e=C();return c(e.addSqlServer())}),r(4,"Configure SQL Server"),i(),t(5,"c-input-group",21)(6,"input",488),y("ngModelChange",function(e){d(o);let l=C();return f(l.sqlBackupFolders,e)||(l.sqlBackupFolders=e),c(e)}),u("keyup.enter",function(){d(o);let e=C();return c(e.addDefaultFolderSQL())}),i(),t(7,"button",489),u("click",function(){d(o);let e=C();return c(e.addDefaultFolderSQL())}),r(8,"Add"),i()()()}if(h&2){let o=C();s(6),g("ngModel",o.sqlBackupFolders)}}function Ht(h,S){if(h&1){let o=F();t(0,"li",491),r(1),t(2,"a",492),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.removeDefaultFolder(e))}),_(3,"i",493),i()()}if(h&2){let o=S.$implicit;s(),M(" ",o," ")}}function Gt(h,S){if(h&1&&(t(0,"ul",490),L(1,Ht,4,1,"li",491,K),i()),h&2){let o=C();s(),A(o.defaultUniversalFolders)}}function Qt(h,S){h&1&&(t(0,"span"),r(1,"There are no default folders to backup"),i())}function jt(h,S){if(h&1){let o=F();t(0,"li",491),r(1),t(2,"a",492),u("click",function(){let e=d(o).$implicit,l=C(3);return c(l.removeDefaultFolderSQL(e))}),_(3,"i",493),i()()}if(h&2){let o=S.$implicit;s(),M(" ",o,"")}}function Jt(h,S){if(h&1&&(t(0,"ul",490),L(1,jt,4,1,"li",491,ne),i()),h&2){let o=C(2);s(),A(o.sqlBackupFoldersList)}}function Zt(h,S){h&1&&(t(0,"span"),r(1,"There are no default folders for SQL to backup"),i())}function Yt(h,S){if(h&1&&(t(0,"div",494)(1,"div",107)(2,"h5"),_(3,"i",108),r(4," Default MS SQL Folders"),i()(),t(5,"div",109)(6,"div",110)(7,"div"),w(8,Jt,3,0,"ul",111)(9,Zt,2,0,"span",18),i()()()()),h&2){let o=C();s(8),p("ngIf",o.sqlBackupFoldersList.length>=1),s(),p("ngIf",o.sqlBackupFoldersList.length<=0)}}function Xt(h,S){if(h&1){let o=F();t(0,"li",491),r(1),t(2,"a",492),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.removeExclusionFolder(e))}),_(3,"i",493),i()()}if(h&2){let o=S.$implicit;s(),M(" ",o," ")}}function $t(h,S){if(h&1&&(t(0,"ul",490),L(1,Xt,4,1,"li",491,K),i()),h&2){let o=C();s(),A(o.userExcludedFoldersUniversal)}}function ei(h,S){h&1&&(t(0,"span"),r(1,"These folders will be excluded"),i())}function ti(h,S){if(h&1){let o=F();t(0,"li",491),r(1),t(2,"a",492),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.removeExceptionFolder(e))}),_(3,"i",493),i()()}if(h&2){let o=S.$implicit;s(),M(" ",o,"")}}function ii(h,S){if(h&1&&(t(0,"ul",490),L(1,ti,4,1,"li",491,ne),i()),h&2){let o=C();s(),A(o.userExceptionsFoldersUniversal)}}function ni(h,S){h&1&&(t(0,"span"),r(1,"These folders will be Exceptions to exclusions"),i())}function ri(h,S){h&1&&(t(0,"h5",495)(1,"label",496),_(2,"i",497),i()())}function oi(h,S){h&1&&(t(0,"h5",498)(1,"label",499),_(2,"i",500),i()())}function li(h,S){if(h&1&&(t(0,"mat-option",399),r(1),i()),h&2){let o=S.$implicit;x("value",o.filterName),s(),k(o.filterName)}}function ai(h,S){if(h&1){let o=F();t(0,"tr",505)(1,"td",506)(2,"p")(3,"b"),r(4),i()(),t(5,"span",507),r(6),i()(),t(7,"td",508)(8,"button",509),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.editFilter(e.filterName))}),r(9," Edit"),i()()()}if(h&2){let o=S.$implicit;s(4),M("",o.filterName," :"),s(2),k(o.filters),s(2),p("disabled",o.filterName==="all_files")}}function si(h,S){if(h&1){let o=F();t(0,"div",501)(1,"div",104)(2,"div",106)(3,"div",107)(4,"h5"),_(5,"i",502),r(6," Filters "),i()(),t(7,"div",503)(8,"div",203)(9,"span"),r(10,"Backup files without an extension"),i(),t(11,"div",53)(12,"label",237)(13,"input",504),y("ngModelChange",function(e){d(o);let l=C();return f(l.backupFilesWithoutExtension,e)||(l.backupFilesWithoutExtension=e),c(e)}),i(),_(14,"div",239),i()()(),t(15,"div",110)(16,"table",483)(17,"tbody"),L(18,ai,10,3,"tr",505,K),i()()()()()()()}if(h&2){let o=C();s(13),g("ngModel",o.backupFilesWithoutExtension),s(5),A(o.defaultFilters)}}function di(h,S){h&1&&(t(0,"h5",510)(1,"label",496),_(2,"i",497),i()())}function ci(h,S){h&1&&(t(0,"h5",511)(1,"label",499),_(2,"i",500),i()())}function mi(h,S){if(h&1&&(t(0,"mat-option",399),r(1),i()),h&2){let o=S.$implicit;x("value",o.filterName),s(),k(o.filterName)}}function pi(h,S){if(h&1){let o=F();t(0,"tr")(1,"td",506)(2,"p")(3,"b"),r(4),i()(),t(5,"span",507),r(6),i()(),t(7,"td",508)(8,"button",509),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.editFilter(e.filterName))}),r(9," Edit"),i()()()}if(h&2){let o=S.$implicit;s(4),M("",o.filterName," :"),s(2),k(o.filters),s(2),p("disabled",o.filterName==="all_files")}}function ui(h,S){if(h&1&&(t(0,"div",501)(1,"div",104)(2,"div",106)(3,"div",107)(4,"h5"),_(5,"i",502),r(6," Filters "),i()(),t(7,"div",503)(8,"div",110)(9,"table",483)(10,"tbody"),L(11,pi,10,3,"tr",null,K),i()()()()()()()),h&2){let o=C();s(11),A(o.defaultSearchFilters)}}function hi(h,S){if(h&1){let o=F();t(0,"div",242)(1,"span",132),r(2,"Unusual Activity Detection Enabled"),i(),t(3,"div",512)(4,"c-form-check",54)(5,"input",513),y("ngModelChange",function(e){d(o);let l=C();return f(l.rwDetectionEnabled,e)||(l.rwDetectionEnabled=e),c(e)}),i()()()()}if(h&2){let o=C();s(4),p("switch",!0),s(),g("ngModel",o.rwDetectionEnabled),p("ngModelOptions",v(3,b))}}function gi(h,S){if(h&1){let o=F();t(0,"div",70)(1,"label",514),r(2,"Dedup"),i(),t(3,"select",515),y("ngModelChange",function(e){d(o);let l=C();return f(l.dedup,e)||(l.dedup=e),c(e)}),t(4,"option",516),r(5,"Disabled"),i(),t(6,"option",517),r(7,"User"),i()()()}if(h&2){let o=C();s(3),g("ngModel",o.dedup)}}function fi(h,S){if(h&1){let o=F();t(0,"div",70)(1,"label",514),r(2,"dedup"),i(),t(3,"select",515),y("ngModelChange",function(e){d(o);let l=C();return f(l.dedup,e)||(l.dedup=e),c(e)}),t(4,"option",516),r(5,"Disabled"),i(),t(6,"option",518),r(7,"User"),i(),t(8,"option",519),r(9,"Global"),i()()()}if(h&2){let o=C();s(3),g("ngModel",o.dedup)}}function yi(h,S){if(h&1&&(t(0,"mat-option",399),r(1),i()),h&2){let o=S.$implicit;x("value",o.gatewayName),s(),k(o.gatewayName)}}function _i(h,S){if(h&1){let o=F();t(0,"div",24)(1,"label",520),r(2,"Preferred BluKrypt Hostnames"),i(),t(3,"mat-form-field",50)(4,"mat-select",464,13),y("ngModelChange",function(e){d(o);let l=C();return f(l.checkedListPg,e)||(l.checkedListPg=e),c(e)}),u("selectionChange",function(){d(o);let e=C();return c(e.onBlukryptChange())}),w(6,yi,2,2,"mat-option",46),i()()()}if(h&2){let o=C();s(4),g("ngModel",o.checkedListPg),p("ngModelOptions",v(3,b)),s(2),p("ngForOf",o.pgs)}}function Si(h,S){h&1&&(t(0,"div")(1,"div",480),r(2,"Password must be at least 5 characters long."),i()())}function Ci(h,S){h&1&&(t(0,"div")(1,"div"),r(2,"Passwords must match."),i()())}function wi(h,S){h&1&&(t(0,"small"),r(1," Schedule Name is required. "),i())}function Ei(h,S){if(h&1&&(t(0,"div",479),w(1,wi,2,0,"small",18),i()),h&2){C();let o=B(1411);s(),p("ngIf",o.errors==null?null:o.errors.required)}}function vi(h,S){if(h&1&&(t(0,"small",479),r(1),i()),h&2){let o=C();s(),M(" ",o.errortext," ")}}function bi(h,S){h&1&&(t(0,"small"),r(1," Schedule Name is required. "),i())}function ki(h,S){if(h&1&&(t(0,"small"),r(1),i()),h&2){let o=C(2);s(),M(" ",o.errortext," ")}}function Mi(h,S){if(h&1&&(t(0,"div",479),w(1,bi,2,0,"small",18)(2,ki,2,1,"small",18),i()),h&2){C();let o=B(1411);s(),p("ngIf",o.errors==null?null:o.errors.required),s(),p("ngIf",o.errors&&o.errors.pattern)}}function Ti(h,S){if(h&1&&(t(0,"small",480),r(1),i()),h&2){let o=C();s(),M(" ",o.errortext," ")}}function Fi(h,S){if(h&1&&(t(0,"mat-option",399),r(1),i()),h&2){let o=S.$implicit;x("value",o.extensionName),s(),k(o.filterName)}}function Di(h,S){if(h&1){let o=F();t(0,"span",521),r(1),t(2,"a",522),u("click",function(){let e=d(o).$implicit,l=C();return c(l.removeExtensionCreate(e))}),_(3,"i",493),i()()}if(h&2){let o=S.$implicit;s(),M("",o," ")}}function Bi(h,S){if(h&1&&(t(0,"mat-option",399),r(1),i()),h&2){let o=S.$implicit;x("value",o.extensionName),s(),k(o.filterName)}}function Pi(h,S){if(h&1){let o=F();t(0,"span",523),r(1),t(2,"a",522),u("click",function(){let e=d(o).$implicit,l=C();return c(l.removeExtension(e))}),_(3,"i",493),i()()}if(h&2){let o=S.$implicit;s(),M("",o," ")}}var pn=(()=>{class h{constructor(o,m,e,l,a,n,E,I,z,D,U,G){this.http=o,this.datePipe=m,this.titleService=e,this.toastr=l,this.apiService=a,this.AuthService=n,this.globalConstantsService=E,this.cdr=I,this.router=z,this.sharedService=D,this.el=U,this.licenseCheckService=G,this.parent="Policy Management",this.child="BluVault Policies",this.subchild="Create Policy",this.title="Policy Management",this.errortext="Only letters, numbers, and @, -, _, . are allowed. The input must be at least 3 characters long.",this.policygroupName="",this.description="",this.descriptionLengthError=!1,this.policyStorageSizeAllowed="0",this.policyUsersAllowed="0",this.osType="universal",this.defaultUniversalFolders=["/users/","/home/","C:\\","D:\\"],this.userExcludedFoldersUniversal=[],this.userExceptionsFoldersUniversal=[],this.sqlBackupFoldersList=[],this.noOfDevicesAllowed="1",this.deviceAllowedError="",this.noOfDevicesAllowedCloud="3",this.canUserChangePassword="true",this.canAdminChangeUserPassword="true",this.canDelegatedAdminChangeUserPassword="true",this.passwordChangeEnforce=!0,this.canAdminRestoreAll=!0,this.isAdminDeleteBackupFile=!0,this.searchEnabled=!1,this.overridePolicySettings=!0,this.showUserConsentFieldInPolicies=!1,this.storageProvider="ParaBlu",this.hostedSetup=!0,this.allowEndUserTocontrolRestore=!1,this.showDropDownSchedule=!1,this.checkedListSchedule=["sch1"],this.currentSelectedSchedule={},this.schedules=[],this.showDropDownNoBackupSchedule=!1,this.checkedListNoBackupSchedule=[],this.currentSelectedNoBackupSchedule={},this.noBackupSchedules=[],this.shareCheckedList=new V,this.shareIndividualCheckedList=new V,this.shareCheckedListNoBackup=new V,this.shareIndividualCheckedListNoBackup=new V,this.showDropDownFilter=!1,this.checkedListFilter=["all_files"],this.currentSelectedFilter={},this.shareCheckedListFilter=new V,this.shareIndividualCheckedListFilter=new V,this.showDropDownSearchFilter=!1,this.checkedListSearchFilter=["all_files"],this.currentSelectedSearchFilter={},this.shareCheckedListSearchFilter=new V,this.shareIndividualCheckedListSearchFilter=new V,this.searchAlgorithm="NEAREST",this.showDropDownPg=!1,this.checkedListPg=[],this.currentSelectedPg={},this.pgs=[],this.shareCheckedListPg=new V,this.shareIndividualCheckedListPg=new V,this.filters=[{filterName:"Filter1",checked:!1},{filterName:"Filter2",checked:!1},{filterName:"Filter3",checked:!1}],this.searchfilters=[{filterName:"Filter1",checked:!1},{filterName:"Filter2",checked:!1},{filterName:"Filter3",checked:!1}],this.defaultSchedules=[],this.defaultNoBackupSchedules=[],this.defaultFilters=[],this.defaultSearchFilters=[],this.inclusionFilter=!0,this.exclusionFilter=!1,this.inclusionSearchFilter=!0,this.exclusionSearchFilter=!1,this.isThrottleEnabled=!1,this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps",this.switchError="",this.switchWarning="",this.isVersionEnabled=!0,this.versions="3",this.verError="",this.isSizeEnabled=!1,this.maxPermissibleFileSize="UNLIMITED",this.sizeError="",this.isLimitEnabled=!0,this.perUserBackupStorageLimit="250",this.limitError="",this.cpuThrottling="5",this.defaultFoldersBackup="",this.exclusionFolderName="",this.exceptionFolderName="",this.sqlBackupFolders="",this.applyFilterToExceptionsToExclusion=!0,this.backupFilesWithoutExtension=!0,this.legalHold=!1,this.rwDetectionEnabled=!1,this.switchnoOfDaysToKeepDeviceNotHeard=!0,this.noOfDaysToKeepDeviceNotHeard="60",this.switchnoOfDaysToKeepUserDeviceNotActive=!1,this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED",this.deviceNotHeardError="",this.deviceNotActiveError="",this.switchAllowedDomains=!1,this.allowedDomains="",this.isPasswordEnabled=!1,this.agentPassword="",this.agentRePassword="",this.passwordsDoNotMatch=!1,this.deletedFilesError="",this.switchnoOfDaysToKeepDeletedFiles=!1,this.noOfDaysToKeepDeletedFiles="UNLIMITED",this.switchuserConsentEnabled=!1,this.userConsentDisplayText="",this.preScanCommandEnabled=!1,this.preScanCommand="",this.continueOnPreScan=!1,this.preBackupCommandEnabled=!1,this.preBackupCommand="",this.continueOnPreBkp=!1,this.postBackupCommandEnabled=!1,this.postBackupCommand="",this.continueOnPostBkp=!1,this.memoryUtilization="128",this.cpuUtilization="80",this.dcmEnabled=!1,this.clientDedup="true",this.maxFileSizeForBkpBatch="50",this.createUserAdmins="admins",this.createUserReadonlyadmins="readonlyadmins",this.createUserUsers="",this.userDeletedAdmins="admins",this.userDeletedReadonlyadmins="readonlyadmins",this.userDeletedUsers="",this.userBlockedAdmins="admins",this.userBlockedReadonlyadmins="readonlyadmins",this.userBlockedUsers="",this.userLimitReachedAdmins="admins",this.userLimitReachedReadonlyadmins="readonlyadmins",this.userLimitReachedUsers="",this.deviceDeletedAdmins="admins",this.deviceDeletedReadonlyadmins="readonlyadmins",this.deviceDeletedUsers="",this.deviceBlockedAdmins="admins",this.deviceBlockedReadonlyadmins="readonlyadmins",this.deviceBlockedUsers="",this.deviceDecoupledAdmins="admins",this.deviceDecoupledReadonlyadmins="readonlyadmins",this.deviceDecoupledUsers="",this.deviceLimitReachedAdmins="admins",this.deviceLimitReachedReadonlyadmins="readonlyadmins",this.deviceLimitReachedUsers="",this.weeklyBkpreportAdmins="admins",this.weeklyBkpreportReadonlyadmins="readonlyadmins",this.weeklyBkpreportUsers="",this.firstBkpCompletedAdmins="admins",this.firstBkpCompletedReadonlyadmins="readonlyadmins",this.firstBkpCompletedUsers="",this.restoreInitiatedAdmins="admins",this.restoreInitiatedReadonlyadmins="readonlyadmins",this.restoreInitiatedUsers="",this.restoreCompletedAdmins="admins",this.restoreCompletedReadonlyadmins="readonlyadmins",this.restoreCompletedUsers="",this.storageLimitReachedAdmins="admins",this.storageLimitReachedReadonlyadmins="readonlyadmins",this.storageLimitReachedUsers="",this.endpointUiPreferences=[],this.endpointDisabledUiPreferences=[],this.menuOptions={},this.webBasedLogin="true",this.numberOfThreadsAllowedForBackup="1",this.dedup="User",this.vssEnabled="true",this.compEnabled="true",this.privacyGatewayMappingElement={},this.policyRefresh="4",this.switchlogUnaccessedFiles="true",this.autoUpdateAgent="false",this.canBackupHiddenFiles="true",this.downloadAgent="true",this.displayScheduleConfStyle="none",this.displaySchEditStyle="none",this.scheduleNameToEdit="",this.scheduleElement={},this.scheduleDaysListEdit=[],this.myTime=new Date,this.myDate=new Date,this.allDays=["1","2","3","4","5","6","7"],this.showDailyEdit=!0,this.displaySchCreateStyle="none",this.scheduleDaysList=[],this.showDaily=!0,this.contentIndexEnabled="true",this.scheduleModel={scheduleName:"",time:"",timeZone:H.default.tz.guess(),backupType:"INCR",dayArray:[]},this.scheduleEditModel={scheduleName:"",time:"",timeZone:H.default.tz.guess(),backupType:"INCR",dayArray:[]},this.displayNoBackupConfStyle="none",this.displayNoBackupCreateStyle="none",this.displayNoBackupEditStyle="none",this.nobackupscheduleNameToEdit="",this.nobackupscheduleDaysList=[],this.nobackupscheduleDaysListEdit=[],this.nobackupmyTime=new Date,this.nobackupmyTimeEnd=new Date,this.nobackupallDays=["1","2","3","4","5","6","7"],this.nobackupshowDaily=!0,this.nobackupshowDailyEdit=!0,this.nobackupscheduleElement={},this.nobackupscheduleModel={scheduleName:"",fromTime:"",toTime:"",timeZone:H.default.tz.guess(),backupType:"INCR",dayArray:[]},this.nobackupscheduleEditModel={scheduleName:"",fromTime:"",toTime:"",timeZone:H.default.tz.guess(),backupType:"INCR",dayArray:[]},this.displayFilterConfStyle="none",this.displayFilterCreateStyle="none",this.displayFilterEditStyle="none",this.filterModel={filterName:"",filterType:"inclusion",filters:""},this.filterEditModel={filterName:"",filterType:"inclusion",filters:""},this.filterToEdit="",this.extensionsVisible=!0,this.filterElement={},this.checkedList=[],this.cannedFiltersCreate=["doc","docx","ppt","pptx","txt","pdf","jpg","png"],this.checkedListExtensionCreate=[],this.cannedFilters=[],this.checkedListExtensionEdit=[],this.userDefinedExtensionsCreate=[],this.userDefinedExtensionsEdit=[],this.cannedFiltersTemplateCreate=[],this.cannedFiltersTemplateEdit=[],this.newFilterExtensionCreate="",this.newFilterExtensionEdit="",this.checkedListExtension=[],this.searchFilterType="inclusion",this.filterType="inclusion",this.storage_type="",this.userType="",this.invalidScheduleName=!1,this.invalidFilterName=!1,this.isPasswordVisible=!1,this.isRePasswordVisible=!1,this.displayConfirmPolicySave="none",this.displayConfigSQLStyle="none",this.serverUserNameToSave="",this.serverPasswordToSave="",this.serverUserName="",this.serverPassword="",this.serverRePassword="",this.preScanError="",this.preBackupError="",this.postBackupError="",this.policyRefreshError="",this.domainError="",this.inclusionLicenses=[],this.exclusionLicenses=[],this.policyModel={sqlBackupFolders:[],backupSystemFilesEnabled:"false",legalHoldEnabled:"false",sqlbkpEnabled:"false",shareEnabled:"false",highSecureShareEnabled:"true",complexPassword:!0,allowDownload:!1,shareExpireDateEnable:!0,googleAuth:!0,maxFileSizeForBkpBatch:"50",clientDedup:"true",policygroupName:"test123",description:"",cloudCredential:"",dcmEnabled:!1,destination:"",backupFolderPaths:["/users/","/home/","C:\\","D:\\"],maxVersions:"-1",maxFileSize:"1048576",osType:"universal",pftEnabled:"true",pftSize:"9",dedup:"User",fullBackupEnabled:"false",fullBackupStartDate:"",fileChunkableSize:"8",nwFromPGToCloud:"4",nwFromClientToPG:1e4,nwFromClientToPGMB:1e4,filterInclusionName:["all_files"],searchFilterInclusionName:["all_files"],vssEnabled:"true",networkThrottlingNames:["DEFAULT_NETWORK_THROTTLE"],scheduleNames:[],noBkpScheduleNames:[],userSizeAllowed:"250",memoryUtilization:"128",cpuUtilization:"80",fullBackupSchedule:"",compressionEnabled:"true",privacyGatewayMappingElement:{gatewayNwThrottlingName:"Default",privacyGatewayNames:[]},endpointUiPreferences:["EXIT","DECOUPLE","SUPPORT","INTIATE_BACKUP","RESTORE","STOP_BACKUP","BACKUP_SETTINGS","BACKUP_FILES","REFRESH_BACKUP_POLICY","PAUSE_BACKUP","ABOUT","UPDATE_AGENT","SYSTRAYICON"],endpointDisabledUiPreferences:["DISALLOW_ADMIN_RESTORES","BLOCK_NOTIFICATIONS"],menuOptions:{open:"true",view:"true",versions:"true",share:"false",download:"true",restore:"true"},calloutScripts:[],crawlLimit:"500",policyRefresh:"4:00",canUserChangePassword:"false",canAdminChangeUserPassword:"false",canDelegatedAdminChangeUserPassword:"true",canBackupHiddenFiles:"true",downloadAgent:"true",searchAlgoForPg:"NEAREST",cpuThrottling:"5",daysToWaitForNextBackup:0,noOfDevicesAllowed:"1",endpointDomainCheck:"false",allowedDomains:"",webBasedLogin:"true",canAdminRestore:"true",canAdminDelete:"true",contentIndexEnabled:"true",noOfDaysToKeepDeviceNotHeard:"60",noOfDaysToKeepUserDeviceNotActive:"-1",noOfDaysToKeepDeletedFiles:"-1",filterType:"inclusion",searchFilterType:"inclusion",preScanCommand:"",preBackupCommand:"",postBackupCommand:"",continueOnPreScan:"false",continueOnPreBkp:"false",continueOnPostBkp:"false",preScanCommandEnabled:"false",preBackupCommandEnabled:"false",postBackupCommandEnabled:"false",switchAgentPassword:"false",agentPassword:"",shareDomainType:"Share only with these Email domains",shareDomainIncExclusions:[""],allowEndUserTocontrolRestore:"false",showShareLink:"false",userConsentEnabled:!1,userConsentDisplayText:"",numberOfThreadsAllowedForBackup:"1",shareDomainsEnabled:"false",logUnaccessedFiles:"false",rwDetectionEnabled:"false",backupFilesWithoutExtension:"true",applyFilterToExceptionsToExclusion:"true",serverUserName:"",serverPassword:"",autoUpdateAgent:"false",policyStorageSizeAllowed:"0",policyUsersAllowed:"0",excludedFolderpaths:["{OneDrive}","{user.home}\\Documents\\My Pictures","{user.home}\\Documents\\My Videos","{user.home}\\Documents\\My Music","{user.home}\\Templates","{user.home}\\Local Settings","{user.home}\\Cookies","{user.home}\\NetHood","{user.home}\\PrintHood","{user.home}\\Application Data","{user.home}\\My Documents","{user.home}\\Start Menu","{user.home}\\SendTo","{Local Settings}","{swapfile.sys}","{credDB.cef}","{thumbs.db}","{NTUSER.DAT}","{desktop.ini}","{pagefile.sys}","{UsrClass.dat}","{hiberfil.sys}","{$RECYCLE.BIN}","{AppData}","{temp}","{win\\system.root\\Users\\all users}","{win\\system.root\\ProgramData}","{win\\system.root\\Program Files}","{win\\system.root\\Windows}","{user.home}\\recent","{mac/system.root/Network}","{mac.com.apple.Network}","{user.home}\\recent","{.Trashes}","{.webtmp}","{.MobileBackups.trash}","{.MobileBackups}","{Backups.backupdb}","{net}","{.vol}","{automount}","{.com.apple.NetBootX}","{.DS_Store}","{.hotfiles.btree}","{.fseventsd}","{.Spotlight-V100}","{.DocumentRevisions-V100}","{Network Trash Folder}","{lost+found}","{.AppleDB}","{.AppleDouble}","{.journal_info_block}","{.journal}","{.HFS+ Private Directory Data}","{mac/system.root/var}","{.trash}","{tmp}","{dev}","{mac/system.root/etc}","{mac/system.root/opt}","{cores}","{mac/system.root/private}","{mac/system.root/usr}","{Volumes}","{mac/system.root/Applications}","{mac/system.root/System}","{mac/system.root/sbin}","{mac/system.root/bin}","{mac/system.root/Library}","{mac/.ParaBlu}","{mac/Trash}","{mac/System}","{mac/Applications}","{mac/Library}","{linux/.ParaBlu}","{linux/system.root/opt/parablu-epa}","{linux/system.root/var}","{linux/system.root/boot}","{linux/system.root/media}","{linux/system.root/run}","{linux/system.root/tmp}","{linux/system.root/sys}","{linux/system.root/proc}","{linux/system.root/dev}"],exceptionsToExclusions:[],emailsRestriction:{createUser:"admins,readonlyadmins,users",userDeleted:"admins,readonlyadmins,users",userBlocked:"admins,readonlyadmins,users",userLimitReached:"admins,readonlyadmins",deviceDeleted:"admins,readonlyadmins,users",deviceBlocked:"admins,readonlyadmins,users",deviceDecoupled:"admins,readonlyadmins",deviceLimitReached:"admins,readonlyadmins,users",weeklyBkpreport:"admins,readonlyadmins",firstBkpCompleted:"admins,readonlyadmins",restoreInitiated:"admins,readonlyadmins,users",restoreCompleted:"admins,readonlyadmins,users",storageLimitReached:"admins,readonlyadmins"},policyType:""},this.output={createUser:"",userDeleted:"",userBlocked:"",userLimitReached:"",deviceDeleted:"",deviceBlocked:"",deviceDecoupled:"",deviceLimitReached:"",weeklyBkpreport:"",firstBkpCompleted:"",restoreInitiated:"",restoreCompleted:"",storageLimitReached:""},this.titleService.setTitle(this.title)}ngOnInit(){return oe(this,null,function*(){yield new Promise(o=>{this.globalConstantsService.fetchConstants().subscribe(()=>{this.storage_type=this.globalConstantsService.getConstant("STORAGE_TYPE"),this.storage_type=="ONE_DRIVE"||this.storage_type=="GOOGLE_DRIVE"?this.dedup="User":this.dedup="Global",o()})}),this.callApis(),this.inclusionLicenses=yield this.licenseCheckService.getInclusionLicensesNew(),this.userType=this.sharedService.getDataByKey("userType"),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.getMultipleFilters(this.checkedListFilter.toString()),this.getMultipleSearchFilters(this.checkedListSearchFilter.toString())})}sendMeTo(o){this.router.navigate([o])}onSelectChangeFilterType(o){let e=o.target.value;e==="inclusion"?(this.inclusionFilter=!0,this.exclusionFilter=!1):e==="exclusion"&&(this.inclusionFilter=!1,this.exclusionFilter=!0)}onSelectChangeSearchFilterType(o){let e=o.target.value;e==="inclusion"?(this.inclusionSearchFilter=!0,this.exclusionSearchFilter=!1):e==="exclusion"&&(this.inclusionSearchFilter=!1,this.exclusionSearchFilter=!0)}onSliderChange(o){this.cpuThrottling=o.target.value}toggleThrottle(){this.isThrottleEnabled?this.nwFromClientToPGMB="4":(this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps"),this.validateInput()}validateInput(){this.switchError="",this.switchWarning="";let o=Number(this.nwFromClientToPGMB);if(isNaN(o))this.nwFromClientToPGMB!=="UNLIMITED"&&(this.switchError="Input can be any integer");else if(o.toString().includes("."))this.switchError="Please enter an integral value";else switch(this.networkThrottlingUnit){case"kbps":case"mbps":o<1||o>1024?this.switchError="Value must be between 1 and 1024.":o<256&&this.networkThrottlingUnit==="kbps"&&(this.switchWarning="Recommended value is 1Mbps or greater. You should consider increasing this value to at least 256kbps");break;case"gbps":(o<1||o>9)&&(this.switchError="Value must be between 1 and 9.");break;default:break}}toggleVersion(){this.verError="",this.isVersionEnabled?this.versions="3":this.versions="UNLIMITED",this.myFunctionVer()}myFunctionVer(){console.log("versions : "+this.versions),this.verError="";let o=Number(this.versions);console.log("inputValue : "+o),isNaN(o)?this.versions!=="UNLIMITED"&&(this.verError="Input can be any integer"):o>1e7?this.verError="Maximum number of Versions Allowed is 1 Crore":this.versions.includes(".")?this.verError="Please enter an integral value":o<1&&!isNaN(o)?this.verError="Minimum number of Versions Allowed is 1":this.verError=""}toggleSize(){this.sizeError="",this.isSizeEnabled?this.maxPermissibleFileSize="":this.maxPermissibleFileSize="UNLIMITED"}myFunctionMPS(){console.log("maxPermissibleFileSize : "+this.maxPermissibleFileSize),this.sizeError="";let o=Number(this.maxPermissibleFileSize);console.log("inputValue : "+o),isNaN(o)?this.maxPermissibleFileSize!=="UNLIMITED"&&(this.sizeError='Input can be either "UNLIMITED" or a positive integer.'):o>999999?this.sizeError="Maximum Permissible File Size Allowed is 999999":this.maxPermissibleFileSize.includes(".")?this.sizeError="Please enter an integral value":o<1&&!isNaN(o)?this.sizeError="Minimum File Size Allowed is 1":this.sizeError=""}toggleLimit(){this.limitError="",this.isLimitEnabled?this.perUserBackupStorageLimit="":this.perUserBackupStorageLimit="UNLIMITED"}myFunctionUBS(){console.log("perUserBackupStorageLimit : "+this.perUserBackupStorageLimit),this.limitError="";let o=Number(this.perUserBackupStorageLimit);console.log("inputValue : "+o),isNaN(o)?this.perUserBackupStorageLimit!=="UNLIMITED"&&(this.limitError='Input can be either "UNLIMITED" or a positive integer.'):o>99999?this.limitError="Maximum Per User Backup Storage Limit Allowed is 99999":this.perUserBackupStorageLimit.includes(".")?this.limitError="Please enter an integral value":o<1&&!isNaN(o)?this.limitError="Minimum Per User Backup Storage Limit Allowed is 1":this.limitError=""}myFunctionDevice(){parseInt(this.noOfDevicesAllowed)<=0?this.deviceAllowedError="This value should be greater than or equal to 1.":this.noOfDevicesAllowed>this.noOfDevicesAllowedCloud?this.deviceAllowedError="This value exceeds the number of devices licensable per user. Please enter a value lower than or equal to "+this.noOfDevicesAllowedCloud:this.deviceAllowedError=""}updateOutput(){this.output.createUser=this.getEnabledOptions(["createUserAdmins","createUserReadonlyadmins","createUserUsers"]),this.output.userDeleted=this.getEnabledOptions(["userDeletedAdmins","userDeletedReadonlyadmins","userDeletedUsers"]),this.output.userBlocked=this.getEnabledOptions(["userBlockedAdmins","userBlockedReadonlyadmins","userBlockedUsers"]),this.output.userLimitReached=this.getEnabledOptions(["userLimitReachedAdmins","userLimitReachedReadonlyadmins","userLimitReachedUsers"]),this.output.deviceDeleted=this.getEnabledOptions(["deviceDeletedAdmins","deviceDeletedReadonlyadmins","deviceDeletedUsers"]),this.output.deviceBlocked=this.getEnabledOptions(["deviceBlockedAdmins","deviceBlockedReadonlyadmins","deviceBlockedUsers"]),this.output.deviceDecoupled=this.getEnabledOptions(["deviceDecoupledAdmins","deviceDecoupledReadonlyadmins","deviceDecoupledUsers"]),this.output.deviceLimitReached=this.getEnabledOptions(["deviceLimitReachedAdmins","deviceLimitReachedReadonlyadmins","deviceLimitReachedUsers"]),this.output.weeklyBkpreport=this.getEnabledOptions(["weeklyBkpreportAdmins","weeklyBkpreportReadonlyadmins","weeklyBkpreportUsers"]),this.output.firstBkpCompleted=this.getEnabledOptions(["firstBkpCompletedAdmins","firstBkpCompletedReadonlyadmins","firstBkpCompletedUsers"]),this.output.restoreInitiated=this.getEnabledOptions(["restoreInitiatedAdmins","restoreInitiatedReadonlyadmins","restoreInitiatedUsers"]),this.output.restoreCompleted=this.getEnabledOptions(["restoreCompletedAdmins","restoreCompletedReadonlyadmins","restoreCompletedUsers"]),this.output.storageLimitReached=this.getEnabledOptions(["storageLimitReachedAdmins","storageLimitReachedReadonlyadmins","storageLimitReachedUsers"])}getEnabledOptions(o){return o.map(m=>this[m]).filter(m=>m!=="").join(",")}updatePreferences(){let o=["bkpfiles","bkpsettings","initiatebackup","stopbackup","support","about","systrayIcon","restore","refbkppolicy","pauseBackup","updateAgent","decouple","network_settings","exitt","disallowAdminRestores","blockNotifications"];this.endpointUiPreferences=[],this.endpointDisabledUiPreferences=[],this.getSelectedValues(o),console.log("Enabled Preferences:",this.endpointUiPreferences),console.log("Disabled Preferences:",this.endpointDisabledUiPreferences)}getSelectedValues(o){o.forEach(m=>{let e=document.getElementById(m);if(e){let l=this.mapIdToPreference(m);e.value==="true"?this.endpointUiPreferences.push(l):this.endpointDisabledUiPreferences.push(l)}})}mapIdToPreference(o){switch(o){case"pauseBackup":return"PAUSE_BACKUP";case"stopbackup":return"STOP_BACKUP";case"initiatebackup":return"INTIATE_BACKUP";case"updateAgent":return"UPDATE_AGENT";case"systrayIcon":return"SYSTRAYICON";case"bkpfiles":return"BACKUP_FILES";case"bkpsettings":return"BACKUP_SETTINGS";case"decouple":return"DECOUPLE";case"network_settings":return"NETWORK_SETTINGS";case"refbkppolicy":return"REFRESH_BACKUP_POLICY";case"blockNotifications":return"BLOCK_NOTIFICATIONS";case"disallowAdminRestores":return"DISALLOW_ADMIN_RESTORES";case"exitt":return"EXIT";default:return o.toUpperCase()}}updateMenuOptions(){let o=["Open","View","Versions","Share","Download","portalRestore"];this.menuOptions=this.getSelectedMenuOptions(o),console.log("Menu Options:",this.menuOptions)}getSelectedMenuOptions(o){let m={};return o.forEach(e=>{let l=document.getElementById(e);l&&(console.log("element : "+l.getAttribute("id")),l.getAttribute("id")=="portalRestore"?m.restore=l.value:m[e.toLowerCase()]=l.value)}),m}getprivacyElement(){let o={};return o.gatewayNwThrottlingName="Default",o.privacyGatewayNames=this.checkedListPg,o}flipAllowEndUserTocontrolRestore(){this.canAdminRestoreAll||(this.allowEndUserTocontrolRestore=!1,this.isAdminDeleteBackupFile=!1)}toggleDeviceNotHeard(){this.switchnoOfDaysToKeepDeviceNotHeard?this.noOfDaysToKeepDeviceNotHeard="60":this.noOfDaysToKeepDeviceNotHeard="UNLIMITED",this.myFunctionnoOfDaysToKeepDeviceNotHeard()}myFunctionnoOfDaysToKeepDeviceNotHeard(){console.log("noOfDaysToKeepDeviceNotHeard : "+this.noOfDaysToKeepDeviceNotHeard),this.deviceNotHeardError="";let o=Number(this.noOfDaysToKeepDeviceNotHeard);console.log("inputValue : "+o),isNaN(o)?this.noOfDaysToKeepDeviceNotHeard!=="UNLIMITED"&&(this.deviceNotHeardError='Input can be either "UNLIMITED" or a positive integer.'):o>1e7?this.deviceNotHeardError="Maximum No. of Days To Keep Device Not Heard Allowed is 1 Crore":this.noOfDaysToKeepDeviceNotHeard.includes(".")?this.deviceNotHeardError="Please enter an integral value":o<7&&!isNaN(o)?this.deviceNotHeardError="Minimum value allowed is 7":this.deviceNotHeardError=""}toggleDeviceNotActive(){this.switchnoOfDaysToKeepUserDeviceNotActive?this.noOfDaysToKeepUserDeviceNotActive="60":this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED",this.myFunctionnoOfDaysToKeepUserDeviceNotActive()}myFunctionnoOfDaysToKeepUserDeviceNotActive(){console.log("noOfDaysToKeepUserDeviceNotActive : "+this.noOfDaysToKeepUserDeviceNotActive),this.deviceNotActiveError="";let o=Number(this.noOfDaysToKeepUserDeviceNotActive);console.log("inputValue : "+o),isNaN(o)?this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.deviceNotActiveError='Input can be either "UNLIMITED" or a positive integer.'):o>1e7?this.deviceNotActiveError="Maximum No. of Days To Keep Device Not Heard Allowed is 1 Crore":this.noOfDaysToKeepUserDeviceNotActive.includes(".")?this.deviceNotActiveError="Please enter an integral value":o<7&&!isNaN(o)?this.deviceNotActiveError="Minimum value allowed is 7":this.deviceNotActiveError=""}togglePasswordFields(){this.isPasswordEnabled||(this.agentPassword="",this.agentRePassword="",this.passwordsDoNotMatch=!1)}checkPasswordsMatch(){this.passwordsDoNotMatch=this.agentPassword!==this.agentRePassword}toggleDeletedFiles(){this.switchnoOfDaysToKeepDeletedFiles?(console.log("iffffffffffff"),this.noOfDaysToKeepDeletedFiles="90"):(console.log("elseeeeeee"),this.noOfDaysToKeepDeletedFiles="UNLIMITED"),this.myFunctionnoOfDaysToKeepDeletedFiles()}myFunctionnoOfDaysToKeepDeletedFiles(){console.log("noOfDaysToKeepDeletedFiles : "+this.noOfDaysToKeepDeletedFiles),this.deletedFilesError="";let o=Number(this.noOfDaysToKeepDeletedFiles);console.log("inputValue : "+o),isNaN(o)?this.noOfDaysToKeepDeletedFiles!=="UNLIMITED"&&(this.deletedFilesError='Input can be either "UNLIMITED" or a positive integer.'):this.noOfDaysToKeepDeletedFiles.includes(".")?this.deletedFilesError="Please enter an integral value":o<1&&!isNaN(o)?this.deletedFilesError="Minimum number of Versions Allowed is 1":this.deletedFilesError=""}togglePreScan(){this.preScanCommandEnabled?this.continueOnPreScan=!0:this.continueOnPreScan=!1}checkPreScanCommand(){this.preScanError="",this.preScanCommand==""&&(this.preScanError="This value is required.")}togglePreBackup(){this.preBackupCommandEnabled?this.continueOnPreBkp=!0:this.continueOnPreBkp=!1}checkPreBackupCommand(){this.preBackupError="",this.preBackupCommand==""&&(this.preBackupError="This value is required.")}togglePostBackup(){this.postBackupCommandEnabled?this.continueOnPostBkp=!0:this.continueOnPostBkp=!1}checkPostBackupCommand(){this.postBackupError="",this.postBackupCommand==""&&(this.postBackupError="This value is required.")}addDefaultFolder(){var o=new RegExp("^.:"),m=new RegExp("[^/]([A-Za-z]:)"),e="{user.home}";if(this.defaultFoldersBackup.trim()!==""){if(this.defaultFoldersBackup.includes(e)||this.defaultFoldersBackup==="ALL")this.defaultUniversalFolders.push(this.defaultFoldersBackup);else{if(this.defaultFoldersBackup=this.defaultFoldersBackup.replace(/\/+$/,"").replace(/\\+$/,""),m.test(this.defaultFoldersBackup)){this.toastr.error("Invalid folder path. Drive letters must be at the beginning.","Error");return}o.test(this.defaultFoldersBackup)?(this.defaultFoldersBackup=this.defaultFoldersBackup.replace(/\//g,"\\"),this.defaultFoldersBackup=this.defaultFoldersBackup.concat("\\")):(this.defaultFoldersBackup=this.defaultFoldersBackup.replace(/\\/g,"/"),this.defaultFoldersBackup=this.defaultFoldersBackup.concat("/")),this.defaultFoldersBackup=this.defaultFoldersBackup.replace(/\\+([A-Za-z]:)/,"/$1"),this.defaultUniversalFolders.push(this.defaultFoldersBackup)}this.defaultFoldersBackup="",this.toastr.success("Selected Folder has been added successfully","Success")}else this.toastr.error("Please enter a valid folder path.","Error")}removeDefaultFolder(o){var m=this.defaultUniversalFolders.indexOf(o);m>-1&&(this.defaultUniversalFolders.splice(m,1),this.toastr.success("Selected Folder has been removed successfully.","Success"))}addExclusionFolder(){var o=new RegExp("^.:"),m=new RegExp("[^/]([A-Za-z]:)");if(this.exclusionFolderName.trim()!==""){if(this.exclusionFolderName=this.exclusionFolderName.replace(/\/+$/,"").replace(/\\+$/,""),m.test(this.exclusionFolderName)){this.toastr.error("Invalid folder path. Drive letters must be at the beginning.","Error");return}o.test(this.exclusionFolderName)?(this.exclusionFolderName=this.exclusionFolderName.replace(/\//g,"\\"),this.exclusionFolderName=this.exclusionFolderName.concat("\\")):(this.exclusionFolderName=this.exclusionFolderName.replace(/\\/g,"/"),this.exclusionFolderName=this.exclusionFolderName.concat("/")),this.exclusionFolderName=this.exclusionFolderName.replace(/\\+([A-Za-z]:)/,"/$1"),this.userExcludedFoldersUniversal.reverse(),this.userExcludedFoldersUniversal.push(this.exclusionFolderName),this.userExcludedFoldersUniversal.reverse(),this.exclusionFolderName="",this.toastr.success("Selected Folder has been added successfully","Success")}else this.toastr.error("Please enter a valid folder path.","Error")}removeExclusionFolder(o){var m=this.userExcludedFoldersUniversal.indexOf(o);m>-1&&(this.userExcludedFoldersUniversal.splice(m,1),this.toastr.success("Selected Folder has been removed successfully.","Success"))}addExceptionFolder(){var o=new RegExp("^.:"),m=new RegExp("[^/]([A-Za-z]:)");if(this.exceptionFolderName.trim()!==""){if(this.exceptionFolderName=this.exceptionFolderName.replace(/\/+$/,"").replace(/\\+$/,""),m.test(this.exceptionFolderName)){this.toastr.error("Invalid folder path. Drive letters must be at the beginning.","Error");return}o.test(this.exceptionFolderName)?(this.exceptionFolderName=this.exceptionFolderName.replace(/\//g,"\\"),this.exceptionFolderName=this.exceptionFolderName.concat("\\")):(this.exceptionFolderName=this.exceptionFolderName.replace(/\\/g,"/"),this.exceptionFolderName=this.exceptionFolderName.concat("/")),this.exceptionFolderName=this.exceptionFolderName.replace(/\\+([A-Za-z]:)/,"/$1"),this.userExceptionsFoldersUniversal.push(this.exceptionFolderName),this.exceptionFolderName="",this.toastr.success("Selected Folder has been added successfully","Success")}else this.toastr.error("Please enter a valid folder path.","Error")}removeExceptionFolder(o){var m=this.userExceptionsFoldersUniversal.indexOf(o);m>-1&&(this.userExceptionsFoldersUniversal.splice(m,1),this.toastr.success("Selected Folder has been removed successfully.","Success"))}addDefaultFolderSQL(){this.sqlBackupFolders!=""?(this.sqlBackupFoldersList.push(this.sqlBackupFolders),this.sqlBackupFoldersList.reverse(),this.sqlBackupFolders="",this.toastr.success("Selected Folder has been added successfully","Success")):this.toastr.error("Please enter a valid folder path.","Error")}removeDefaultFolderSQL(o){var m=this.sqlBackupFoldersList.indexOf(o);m>-1&&(this.sqlBackupFoldersList.splice(m,1),this.toastr.success("Selected Folder has been removed successfully.","Success"))}callApis(){let o=this.apiService.getAllSchedules(),m=this.apiService.getAllFilters(),e=this.apiService.getPgs(),l=this.apiService.cloudProperties(),a=this.apiService.getGlobalExclusion(),n=this.apiService.getAllNoBackupSchedules();le([o,m,e,l,a,n]).subscribe(([E,I,z,D,U,G])=>{console.log("API 1 response status:",E.status),console.log("API 1 response body:",E.body.scheduleElementList),console.log("API 1 response headers:",E.headers),console.log("API 2 response body:",I.body.inclusionFilterElementList),console.log("API 2 response headers:",I.headers),console.log("API 3 response body:",z.body.privacyGatewayElementList),console.log("API 3 response headers:",z.headers),console.log("API 4 response body:",D.body),console.log("API 4 response headers:",D.headers),console.log("API 5 response body:",U.body),console.log("API 5 response headers:",U.headers),console.log("API 6 response body:",G.body.noBkpScheduleElementList),console.log("API 6 response headers:",G.headers);let re=z.body.privacyGatewayElementList.map(Q=>({gatewayName:Q.gatewayName,status:!1}));console.log("Transformed Data:",re),this.schedules=E.body.scheduleElementList,this.noBackupSchedules=G.body.noBkpScheduleElementList,this.filters=I.body.inclusionFilterElementList.map(Q=>J(j({},Q),{status:!1})),this.searchfilters=I.body.inclusionFilterElementList.map(Q=>J(j({},Q),{status:!1})),this.pgs=re,console.log("API 5 response body:",JSON.stringify(U.body.globalExcludedFoldersElement.globalExcludedFoldersList.win));let X=[...new Set([...U.body.globalExcludedFoldersElement.globalExcludedFoldersList.win,...U.body.globalExcludedFoldersElement.globalExcludedFoldersList.mac])];X=[...new Set([...X,...U.body.globalExcludedFoldersElement.globalExcludedFoldersList.linux])],console.log("CombinedExclusions :",JSON.stringify(X)),this.userExcludedFoldersUniversal=X.reverse(),this.noOfDevicesAllowedCloud=D.body.cloudPropertyElement.noOfDevicesAllowed,this.passwordChangeEnforce=D.body.cloudPropertyElement.passwordChangeEnforce,this.passwordChangeEnforce&&(this.canUserChangePassword=D.body.cloudPropertyElement.canUserChangePassword?"true":"false",this.canAdminChangeUserPassword=D.body.cloudPropertyElement.canAdminChangeUserPassword?"true":"false"),this.searchEnabled=D.body.cloudPropertyElement.searchEnabled,this.overridePolicySettings=D.body.cloudPropertyElement.overridePolicySettings,this.overridePolicySettings&&(this.canAdminRestoreAll=D.body.cloudPropertyElement.canAdminRestoreAll,this.isAdminDeleteBackupFile=D.body.cloudPropertyElement.isAdminDeleteBackupFile),this.showUserConsentFieldInPolicies=D.body.cloudPropertyElement.showUserConsentFieldInPolicies,this.storageProvider=D.body.cloudPropertyElement.storageProvider,this.hostedSetup=D.body.cloudPropertyElement.hostedSetup},E=>{switch(console.error("Error from Api's call: ",E),E.status){case 400:console.error("Bad Request: ",E.message);break;case 401:console.error("Unauthorized: ",E.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",E.message);break;case 404:console.error("Not Found: ",E.message);break;case 500:console.error("Internal Server Error: ",E.message);break;case 503:console.error("Internal Server Error: ",E.message);break;default:console.error("Unknown Error: ",E.message);break}})}getSelectedValueSchedule(o,m){if(o)this.checkedListSchedule.push(m),console.log("this.checkedList1 : "+this.checkedListSchedule);else{var e=this.checkedListSchedule.indexOf(m);this.checkedListSchedule.splice(e,1)}this.getMultipleSchedules(this.checkedListSchedule.toString()),this.currentSelectedSchedule={checked:o,name:m},this.shareCheckedlistCreate(),this.shareIndividualStatusCreate()}shareCheckedlistCreate(){this.shareCheckedList.emit(this.checkedListSchedule)}shareIndividualStatusCreate(){this.shareIndividualCheckedList.emit(this.currentSelectedSchedule)}getSelectedValueNoBackupSchedule(o,m){if(o)this.checkedListNoBackupSchedule.push(m),console.log("this.checkedList1 : "+this.checkedListNoBackupSchedule);else{var e=this.checkedListNoBackupSchedule.indexOf(m);this.checkedListNoBackupSchedule.splice(e,1)}this.getMultipleNoBackupSchedules(this.checkedListNoBackupSchedule.toString()),this.currentSelectedNoBackupSchedule={checked:o,name:m},this.shareCheckedlistCreateNoBackup(),this.shareIndividualStatusCreateNoBackup()}shareCheckedlistCreateNoBackup(){this.shareCheckedListNoBackup.emit(this.checkedListNoBackupSchedule)}shareIndividualStatusCreateNoBackup(){this.shareIndividualCheckedListNoBackup.emit(this.currentSelectedNoBackupSchedule)}getMultipleSchedules(o){this.apiService.getMultipleSchedules(o).subscribe(m=>{var e=JSON.stringify(m.body),l=JSON.parse(e);console.log("scheduleElementList from  getMultipleSchedules: "+JSON.stringify(l.scheduleElementList)),this.defaultSchedules=l.scheduleElementList,this.cdr.detectChanges()},m=>{switch(console.error("Error from getMultipleSchedules: ",m),m.status){case 400:console.error("Bad Request: ",m.message);break;case 401:console.error("Unauthorized: ",m.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",m.message);break;case 404:console.error("Not Found: ",m.message);break;case 500:console.error("Internal Server Error: ",m.message);break;case 503:console.error("Internal Server Error: ",m.message);break;default:console.error("Unknown Error: ",m.message);break}})}getMultipleNoBackupSchedules(o){this.apiService.getMultipleNoBackupSchedules(o).subscribe(m=>{var e=JSON.stringify(m.body),l=JSON.parse(e);console.log("scheduleElementList from  getMultipleNoBackupSchedules: "+JSON.stringify(l.noBkpScheduleElementList)),this.defaultNoBackupSchedules=l.noBkpScheduleElementList,this.cdr.detectChanges()},m=>{switch(console.error("Error from getMultipleNoBackupSchedules: ",m),m.status){case 400:console.error("Bad Request: ",m.message);break;case 401:console.error("Unauthorized: ",m.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",m.message);break;case 404:console.error("Not Found: ",m.message);break;case 500:console.error("Internal Server Error: ",m.message);break;case 503:console.error("Internal Server Error: ",m.message);break;default:console.error("Unknown Error: ",m.message);break}})}getSelectedValueFilter(o,m){if(o)this.checkedListFilter.push(m),console.log("this.checkedList1 : "+this.checkedListFilter);else{var e=this.checkedListFilter.indexOf(m);e>-1&&this.checkedListFilter.splice(e,1)}this.getMultipleFilters(this.checkedListFilter.toString()),this.currentSelectedFilter={checked:o,name:m},this.shareCheckedlistFilter(),this.shareIndividualStatusFilter()}shareCheckedlistFilter(){this.shareCheckedListFilter.emit(this.checkedListFilter)}shareIndividualStatusFilter(){this.shareIndividualCheckedListFilter.emit(this.currentSelectedFilter)}getMultipleFilters(o){this.apiService.getMultipleFilters(o).subscribe(m=>{var e=JSON.stringify(m.body),l=JSON.parse(e);console.log("inclusionFilterElementList from  getMultipleFilters: "+JSON.stringify(l.inclusionFilterElementList)),this.defaultFilters=l.inclusionFilterElementList,this.cdr.detectChanges()},m=>{switch(console.error("Error from getMultipleFilters: ",m),m.status){case 400:console.error("Bad Request: ",m.message);break;case 401:console.error("Unauthorized: ",m.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",m.message);break;case 404:console.error("Not Found: ",m.message);break;case 500:console.error("Internal Server Error: ",m.message);break;case 503:console.error("Internal Server Error: ",m.message);break;default:console.error("Unknown Error: ",m.message);break}})}getSelectedValueSearchFilter(o,m){if(o)this.checkedListSearchFilter.push(m),console.log("this.checkedList1Search : "+this.checkedListSearchFilter);else{var e=this.checkedListSearchFilter.indexOf(m);e>-1&&this.checkedListSearchFilter.splice(e,1)}this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()),this.currentSelectedSearchFilter={checked:o,name:m},this.shareCheckedlistSearchFilter(),this.shareIndividualStatusSearchFilter()}shareCheckedlistSearchFilter(){this.shareCheckedListSearchFilter.emit(this.checkedListSearchFilter)}shareIndividualStatusSearchFilter(){this.shareIndividualCheckedListSearchFilter.emit(this.currentSelectedSearchFilter)}getMultipleSearchFilters(o){this.apiService.getMultipleFilters(o).subscribe(m=>{var e=JSON.stringify(m.body),l=JSON.parse(e);console.log("inclusionFilterElementList from  getMultipleFilters: "+JSON.stringify(l.inclusionFilterElementList)),this.defaultSearchFilters=l.inclusionFilterElementList,this.cdr.detectChanges()},m=>{switch(console.error("Error from getMultipleFilters: ",m),m.status){case 400:console.error("Bad Request: ",m.message);break;case 401:console.error("Unauthorized: ",m.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",m.message);break;case 404:console.error("Not Found: ",m.message);break;case 500:console.error("Internal Server Error: ",m.message);break;case 503:console.error("Internal Server Error: ",m.message);break;default:console.error("Unknown Error: ",m.message);break}})}getSelectedValuePg(o,m){if(o)this.checkedListPg.push(m),console.log("this.checkedListPg : "+this.checkedListPg);else{var e=this.checkedListPg.indexOf(m);this.checkedListPg.splice(e,1),console.log("this.checkedListPg : "+this.checkedListPg)}this.currentSelectedPg={checked:o,name:m},this.shareCheckedlistCreatePg(),this.shareIndividualStatusCreatePg()}shareCheckedlistCreatePg(){this.shareCheckedListPg.emit(this.checkedListPg)}shareIndividualStatusCreatePg(){this.shareIndividualCheckedListPg.emit(this.currentSelectedSchedule)}onSearchAlgorithmChange(){this.searchAlgorithm==="NEAREST"&&(this.checkedListPg=[],this.pgs.forEach(o=>o.checked=!1))}validatePolicyGroupName(){return!!/^[a-zA-Z0-9@._-]*$/.test(this.policygroupName)}validateDescription(){return!this.description||this.description.length>=5&&this.description.length<=512}submitPolicy(){this.displayConfirmPolicySave="block"}closePolicySaveConfirmPopup(){this.displayConfirmPolicySave="none"}submitCreatePolicy(o){this.displayConfirmPolicySave="none",this.verError="",this.limitError="",this.sizeError="",this.switchError="",this.deviceNotHeardError="",this.deviceNotActiveError="",this.preScanError="",this.preBackupError="",this.postBackupError="",this.policyRefreshError="",this.domainError="";let m=!1;if(!this.validatePolicyGroupName()||!this.validateDescription())return;if(this.checkedListSchedule.length<=0||this.checkedListFilter.length<=0){this.checkedListSchedule.length<=0&&this.toastr.error("Please select at least one schedule."),this.checkedListFilter.length<=0&&this.toastr.error("Please select at least one filter.");return}if(this.searchEnabled&&this.checkedListSearchFilter.length<=0){this.toastr.error("Please select at least one search filter.");return}if(this.searchAlgorithm=="PRIORITY"&&this.checkedListPg.length<=0){this.toastr.error("Please select at least one BluKrypt Hostname.");return}if((this.verError!=""||Number(this.versions)<1)&&(this.verError="Minimum number of Versions Allowed is 1",this.toastr.error("Please check the value for Maximum number of Versions Allowed."),m=!0),(this.limitError!=""||Number(this.perUserBackupStorageLimit)<1||isNaN(Number(this.perUserBackupStorageLimit))&&this.perUserBackupStorageLimit!=="UNLIMITED")&&(this.limitError='Input can be either "UNLIMITED" or a positive integer.',this.toastr.error("Please check the value for Per Asset Backup Storage Limit."),m=!0),(this.sizeError!=""||Number(this.maxPermissibleFileSize)<1||isNaN(Number(this.maxPermissibleFileSize))&&this.maxPermissibleFileSize!=="UNLIMITED")&&(this.sizeError='Input can be either "UNLIMITED" or a positive integer.',this.toastr.error("Please check the value for Maximum Permissible File Size."),m=!0),this.deviceAllowedError!=""){this.toastr.error("Please check the value for Maximum Assets Allowed.");return}if(this.switchError!=""&&(this.toastr.error("Please check the value for Throttle traffic at endpoint agent."),m=!0),this.defaultUniversalFolders.length==0){this.toastr.error("Please add at-least one default folders to backup up");return}if((this.deviceNotHeardError!=""||Number(this.noOfDaysToKeepDeviceNotHeard)<7)&&(this.toastr.error("Please check the value for Block assets which have not been heard from in."),this.deviceNotHeardError="Minimum value allowed is 7",m=!0),isNaN(Number(this.noOfDaysToKeepDeviceNotHeard))&&this.noOfDaysToKeepDeviceNotHeard!=="UNLIMITED"&&(this.toastr.error("Please check the value for Block assets which have not been heard from in."),this.deviceNotHeardError="Input can be either 'UNLIMITED' or any integer",m=!0),(this.deviceNotActiveError!=""||Number(this.noOfDaysToKeepUserDeviceNotActive)<7)&&(this.toastr.error("Please check the value for Delete users/assets which have not been active for."),this.deviceNotActiveError="Minimum value allowed is 7",m=!0),isNaN(Number(this.noOfDaysToKeepUserDeviceNotActive))&&this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.toastr.error("Please check the value for Delete users/assets which have not been active for."),this.deviceNotActiveError="Input can be either 'UNLIMITED' or any integer",m=!0),(this.policyRefresh===null||this.policyRefresh==="")&&(this.toastr.error("Please check the value for Policy Refresh Frequency."),this.policyRefreshError="This value is required",m=!0),(Number(this.policyRefresh)<=0||Number(this.policyRefresh)>23)&&(this.toastr.error("Please check the value for Policy Refresh Frequency."),this.policyRefreshError="This allowed range is 1 to 23",m=!0),this.switchAllowedDomains&&(this.allowedDomains==null||this.allowedDomains.trim()==="")&&(this.toastr.error("Please check the value for Allowed Domains."),this.domainError="This value is required",m=!0),this.canUserChangePassword==="false"&&this.canAdminChangeUserPassword==="false"){this.toastr.error("Please check password enforcement.");return}this.preScanCommandEnabled&&this.preScanCommand==""&&(this.toastr.error("Please check Pre Scan Command Path."),this.preScanError="This value is required",m=!0),this.preBackupCommandEnabled&&this.preBackupCommand==""&&(this.toastr.error("Please check Pre Backup Command Path."),this.preBackupError="This value is required",m=!0),this.postBackupCommandEnabled&&this.postBackupCommand==""&&(this.toastr.error("Please check Post Backup Command Path."),this.postBackupError="This value is required",m=!0),(this.deletedFilesError!=""||Number(this.noOfDaysToKeepDeletedFiles)<7)&&(this.toastr.error("Please check the value for Purge deleted files from the catalog after."),this.deletedFilesError="Minimum value allowed is 1",m=!0),isNaN(Number(this.noOfDaysToKeepDeletedFiles))&&this.noOfDaysToKeepDeletedFiles!=="UNLIMITED"&&(this.toastr.error("Please check the value for Purge deleted files from the catalog after."),this.deletedFilesError="Input can be either 'UNLIMITED' or any integer",m=!0),this.inclusionLicenses.includes("issqlbkpenabled")&&this.sqlBackupFoldersList.length>0&&(this.serverUserNameToSave==""||this.serverPasswordToSave=="")&&(this.displayConfigSQLStyle="block",this.toastr.error("Please configure the SQL Server.","Error"),m=!0);let e=document.querySelector(".ng-invalid, .text-danger");e&&(e.scrollIntoView({behavior:"smooth",block:"center"}),e.focus());let l=Array.from(document.querySelectorAll('span[style*="color: #f55753"]'));for(let a of l)if(a.textContent?.trim()){a.scrollIntoView({behavior:"smooth",block:"center"});break}if(!m){if(o.invalid){o.control.markAllAsTouched(),this.toastr.error("Please fill in all required fields.");return}this.updateOutput(),this.updatePreferences(),this.updateMenuOptions(),this.policyModel.policygroupName=this.policygroupName,this.policyModel.description=this.description,this.policyModel.maxVersions=this.versions==="UNLIMITED"?"-1":this.versions,this.policyModel.maxFileSize=this.maxPermissibleFileSize==="UNLIMITED"?"1048576":this.maxPermissibleFileSize,this.policyModel.userSizeAllowed=this.perUserBackupStorageLimit==="UNLIMITED"?"102400":this.perUserBackupStorageLimit,this.policyModel.noOfDevicesAllowed=this.noOfDevicesAllowed,this.policyModel.osType="universal",this.policyModel.excludedFolderpaths=this.userExcludedFoldersUniversal,this.policyModel.exceptionsToExclusions=this.userExceptionsFoldersUniversal,this.policyModel.memoryUtilization=this.memoryUtilization,this.policyModel.cpuUtilization=this.cpuUtilization,this.policyModel.dcmEnabled=this.dcmEnabled,this.policyModel.clientDedup=this.clientDedup,this.policyModel.dedup=this.dedup,this.policyModel.maxFileSizeForBkpBatch=this.maxFileSizeForBkpBatch,this.policyModel.filterType=this.inclusionFilter?"inclusion":"exclusion",this.policyModel.searchFilterType=this.inclusionSearchFilter?"inclusion":"exclusion",this.policyModel.applyFilterToExceptionsToExclusion=this.applyFilterToExceptionsToExclusion?"true":"false",this.policyModel.backupFilesWithoutExtension=this.backupFilesWithoutExtension?"true":"false",this.policyModel.emailsRestriction=this.output,this.policyModel.endpointUiPreferences=this.endpointUiPreferences,this.policyModel.endpointDisabledUiPreferences=this.endpointDisabledUiPreferences,this.policyModel.menuOptions=this.menuOptions,this.policyModel.cpuThrottling=this.cpuThrottling,this.policyModel.legalHoldEnabled=this.legalHold?"true":"false",this.policyModel.rwDetectionEnabled=this.rwDetectionEnabled?"true":"false",this.policyModel.noOfDaysToKeepDeviceNotHeard=this.noOfDaysToKeepDeviceNotHeard==="UNLIMITED"?"-1":this.noOfDaysToKeepDeviceNotHeard,this.policyModel.noOfDaysToKeepUserDeviceNotActive=this.noOfDaysToKeepUserDeviceNotActive==="UNLIMITED"?"-1":this.noOfDaysToKeepUserDeviceNotActive,this.policyModel.webBasedLogin=this.webBasedLogin,this.policyModel.compressionEnabled=this.compEnabled,this.policyModel.vssEnabled=this.vssEnabled,this.policyModel.searchAlgoForPg=this.searchAlgorithm,this.policyModel.privacyGatewayMappingElement=this.getprivacyElement(),this.policyModel.policyRefresh=this.policyRefresh+":00",this.policyModel.logUnaccessedFiles=this.switchlogUnaccessedFiles,this.policyModel.endpointDomainCheck=this.switchAllowedDomains?"true":"false",this.policyModel.allowedDomains=this.allowedDomains,this.policyModel.switchAgentPassword=this.isPasswordEnabled?"true":"false",this.policyModel.agentPassword=this.agentPassword,this.policyModel.canBackupHiddenFiles=this.canBackupHiddenFiles,this.policyModel.downloadAgent=this.downloadAgent,this.policyModel.noOfDaysToKeepDeletedFiles=this.noOfDaysToKeepDeletedFiles==="UNLIMITED"?"-1":this.noOfDaysToKeepDeletedFiles,this.policyModel.userConsentDisplayText=this.userConsentDisplayText,this.policyModel.userConsentEnabled=this.switchuserConsentEnabled,this.policyModel.preScanCommand=this.preScanCommand,this.policyModel.preBackupCommand=this.preBackupCommand,this.policyModel.postBackupCommand=this.postBackupCommand,this.policyModel.continueOnPreScan=this.continueOnPreScan==!0?"true":"false",this.policyModel.continueOnPreBkp=this.continueOnPreBkp==!0?"true":"false",this.policyModel.continueOnPostBkp=this.continueOnPostBkp==!0?"true":"false",this.policyModel.preScanCommandEnabled=this.preScanCommandEnabled==!0?"true":"false",this.policyModel.preBackupCommandEnabled=this.preBackupCommandEnabled==!0?"true":"false",this.policyModel.postBackupCommandEnabled=this.postBackupCommandEnabled==!0?"true":"false",this.policyModel.canUserChangePassword=this.canUserChangePassword,this.policyModel.canAdminChangeUserPassword=this.canAdminChangeUserPassword,this.policyModel.canDelegatedAdminChangeUserPassword="true",this.policyModel.filterInclusionName=this.checkedListFilter,this.policyModel.scheduleNames=this.checkedListSchedule,this.policyModel.noBkpScheduleNames=this.checkedListNoBackupSchedule.length>0?this.checkedListNoBackupSchedule:[],this.policyModel.searchFilterInclusionName=this.checkedListSearchFilter>0?this.checkedListSearchFilter:["all_files"],this.policyModel.backupFolderPaths=this.defaultUniversalFolders,this.policyModel.excludedFolderpaths=this.userExcludedFoldersUniversal,this.policyModel.exceptionsToExclusions=this.userExceptionsFoldersUniversal,this.policyModel.sqlBackupFolders=this.sqlBackupFoldersList,this.policyModel.autoUpdateAgent=this.autoUpdateAgent,this.policyModel.contentIndexEnabled=this.contentIndexEnabled,this.policyModel.canAdminRestore=this.canAdminRestoreAll?"true":"false",this.policyModel.allowEndUserTocontrolRestore=this.allowEndUserTocontrolRestore?"true":"false",this.policyModel.canAdminDelete=this.isAdminDeleteBackupFile?"true":"false",this.policyModel.serverUserName=this.serverUserNameToSave?btoa(this.serverUserNameToSave):"",this.policyModel.serverPassword=this.serverPasswordToSave?btoa(this.serverPasswordToSave):"",this.onUnitChange(),console.log("Policy Details : "+JSON.stringify(this.policyModel)),this.apiService.createPolicy(this.policyModel).subscribe(a=>{console.log("Policy created successfully:",a),this.toastr.success("Policy created successfully.","Info"),setTimeout(()=>{this.router.navigate(["/pms/policy"])},5e3)},a=>{switch(a.status){case 400:console.error("Bad Request: ",a.message);break;case 401:console.error("Unauthorized: ",a.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error("Policy with same name already exists .","Error");break;case 331:this.toastr.error("Policy with same name already exists and is blocked.","Error");break;case 421:this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 500:console.error("Internal Server Error: ",a.message);break;case 503:console.error("Internal Server Error: ",a.message);break;default:console.error("Unknown Error: ",a.message);break}})}}onUnitChange(){this.validateInput();let o=Number(this.nwFromClientToPGMB);if(console.log("nwvalue : "+this.nwFromClientToPGMB),this.nwFromClientToPGMB=="UNLIMITED")this.policyModel.nwFromClientToPG=1e4,this.policyModel.nwFromClientToPGMB=1e4;else switch(this.networkThrottlingUnit){case"kbps":this.policyModel.nwFromClientToPG=parseFloat((o/1024).toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat((o/1024).toFixed(4));break;case"mbps":this.policyModel.nwFromClientToPG=parseFloat(o.toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat(o.toFixed(4)),console.log("123 : "+parseFloat(o.toFixed(4)));break;case"gbps":this.policyModel.nwFromClientToPG=parseFloat((o*1024).toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat((o*1024).toFixed(4));break;default:break}}newFilterEdit(o){console.log("filterName : "+o)}onScheduleChange(){let o=this.el.nativeElement.querySelector(".mainSchedules"),m=o.querySelector("mat-select");m.classList.remove("redAlert"),o.classList.remove("redAlert"),this.checkedListSchedule.length>0?this.getMultipleSchedules(this.checkedListSchedule.toString()):(this.defaultSchedules=[],m&&(m.classList.add("redAlert"),o.classList.add("redAlert")),this.toastr.error("No schedules selected. Please select at least one schedule.","Info"))}onNoBackupScheduleChange(){this.checkedListNoBackupSchedule.length>0?this.getMultipleNoBackupSchedules(this.checkedListNoBackupSchedule.toString()):(this.defaultNoBackupSchedules=[],this.toastr.info("No schedules selected. Please select at least one filter.","Info"))}onFilterChange(){let o=this.el.nativeElement.querySelector(".mainFilters"),m=o.querySelector("mat-select");m.classList.remove("redAlert"),o.classList.remove("redAlert"),this.checkedListFilter.length>0?this.getMultipleFilters(this.checkedListFilter.toString()):(this.defaultFilters=[],m&&(m.classList.add("redAlert"),o.classList.add("redAlert")),this.toastr.error("No filters selected. Please select at least one filter.","Info"))}onSearchFilterChange(){let o=this.el.nativeElement.querySelector(".mainSearchFilters"),m=o.querySelector("mat-select");m.classList.remove("redAlert"),o.classList.remove("redAlert"),this.checkedListSearchFilter.length>0?this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()):(this.defaultSearchFilters=[],m&&(m.classList.add("redAlert"),o.classList.add("redAlert")),this.toastr.error("No filters selected. Please select at least one filter.","Info"))}addNewSchedule(){this.displaySchCreateStyle="block"}closeSchCreateModal(){this.displaySchCreateStyle="none",this.scheduleDaysList=[],this.myTime=new Date,this.showDaily=!0,this.resetScheduleModel()}resetScheduleModel(){this.el.nativeElement.querySelector(".scheduleName").classList.remove("redAlert");let m=this.el.nativeElement.querySelector(".backupdays"),e=m.querySelector("mat-select");e&&(e.classList.remove("redAlert"),m.classList.remove("redAlert")),this.scheduleModel={scheduleName:"",time:"",timeZone:H.default.tz.guess(),backupType:"INCR",dayArray:[]}}onScheduleDayChange(){this.updateShowDailyLabel()}updateShowDailyLabel(){this.showDaily=this.scheduleDaysList.length===0}toggleSelectAllDays(){this.showDaily?this.scheduleDaysList=[...this.allDays]:this.scheduleDaysList=[],this.updateShowDailyLabel()}validateRequiredFieldsSchedule(){let o=!0,m=this.el.nativeElement.querySelector(".scheduleName");m&&(m.value.trim()?m.classList.remove("redAlert"):(m.classList.add("redAlert"),o=!1));let e=this.el.nativeElement.querySelector(".backupdays"),l=e.querySelector("mat-select");return l&&(this.scheduleDaysList.length<=0?(l.classList.add("redAlert"),e.classList.add("redAlert"),o=!1):(l.classList.remove("redAlert"),e.classList.remove("redAlert"))),o}validateTime(){(!this.myTime||!(this.myTime instanceof Date))&&(this.myTime=new Date);let o=this.myTime.getHours(),m=this.myTime.getMinutes();o>23&&this.myTime.setHours(23),m>59&&this.myTime.setMinutes(59)}submitCreateSchedule(o){if(console.log("save called11 : "),!this.validateRequiredFieldsSchedule()){this.toastr.error("Please fill all required fields.","Error");return}if(o.invalid){o.control.markAllAsTouched(),this.toastr.error("Please check all fields.");return}if(this.scheduleModel.scheduleName==""){this.toastr.error("Please enter Schedule Name.");return}if(this.scheduleDaysList.length<=0){this.scheduleDaysList.length<=0&&this.toastr.error("Please select at least one day for the schedule.");return}console.log("save called22 : ");let e=this.myTime.getHours().toString().padStart(2,"0"),l=this.myTime.getMinutes().toString().padStart(2,"0");this.scheduleModel.time=`${e}:${l}`,this.scheduleModel.dayArray=this.scheduleDaysList,this.apiService.saveSchedule(this.scheduleModel).subscribe(a=>{console.log("Schedule created successfully:",a),this.toastr.success("Schedule created successfully.","Info"),this.checkedListSchedule.push(this.scheduleModel.scheduleName),this.getAllSchedules(),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.closeSchCreateModal()},a=>{switch(a.status){case 400:console.error("Bad Request: ",a.message);break;case 401:console.error("Unauthorized: ",a.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error("Schedule with same name already exists .","Error");break;case 421:this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 500:console.error("Internal Server Error: ",a.message);break;case 503:console.error("Internal Server Error: ",a.message);break;default:console.error("Unknown Error: ",a.message);break}})}getAllSchedules(){this.apiService.getAllSchedules().subscribe(o=>{this.schedules=o.body.scheduleElementList,this.cdr.detectChanges()},o=>{switch(console.error("Error from getAllSchedules: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}closeScheduleConfPopup(){this.displayScheduleConfStyle="none"}closeEditModal(){this.displaySchEditStyle="none"}editSchedule(o){console.log("schedule to edit : "+o),this.scheduleNameToEdit=o,this.displayScheduleConfStyle="block"}getParticularSchedule(){this.displayScheduleConfStyle="none",this.apiService.getParticularSchedule(this.scheduleNameToEdit).subscribe(o=>{var m=JSON.stringify(o.body),e=JSON.parse(m);this.scheduleElement=e.scheduleElement,this.displaySchEditStyle="block";let l=this.scheduleElement.time,[a,n]=l.split(":").map(Number);this.myTime=new Date,this.myTime.setHours(a),this.myTime.setMinutes(n),this.scheduleDaysListEdit=this.scheduleElement.dayArray.map(E=>E.toString()),this.cdr.detectChanges()},o=>{switch(console.error("Error from getParticularSchedule: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}onScheduleDayChangeEdit(){this.updateShowDailyLabelEdit()}updateShowDailyLabelEdit(){this.showDailyEdit=this.scheduleDaysListEdit.length===0}toggleSelectAllDaysEdit(){this.showDailyEdit?this.scheduleDaysListEdit=[...this.allDays]:this.scheduleDaysListEdit=[],this.updateShowDailyLabelEdit()}validateRequiredFieldsScheduleEdit(){let o=!0,m=this.el.nativeElement.querySelector(".scheduleNameEdit");m&&(m.value.trim()?m.classList.remove("redAlert"):(m.classList.add("redAlert"),o=!1));let e=this.el.nativeElement.querySelector(".backupdaysEdit"),l=e.querySelector("mat-select");return l&&(this.scheduleDaysListEdit.length<=0?(l.classList.add("redAlert"),e.classList.add("redAlert"),o=!1):(l.classList.remove("redAlert"),e.classList.remove("redAlert"))),o}submitEditSchedule(o){if(!this.validateRequiredFieldsScheduleEdit()){this.toastr.error("Please fill all required fields.","Error");return}if(this.scheduleDaysListEdit.length<=0){this.scheduleDaysListEdit.length<=0&&this.toastr.error("Please select at least one day for the schedule.");return}let e=this.myTime.getHours().toString().padStart(2,"0"),l=this.myTime.getMinutes().toString().padStart(2,"0");this.scheduleEditModel.time=`${e}:${l}`,this.scheduleEditModel.scheduleName=this.scheduleNameToEdit,this.scheduleEditModel.dayArray=this.scheduleDaysListEdit,this.apiService.editSchedule(this.scheduleEditModel).subscribe(a=>{console.log("Schedule updated successfully:",a),this.closeEditModal(),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.toastr.success("Schedule updated successfully.","Info")},a=>{switch(a.status){case 400:console.error("Bad Request: ",a.message);break;case 401:console.error("Unauthorized: ",a.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error("Schedule with same name already exists .","Error");break;case 421:this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 500:console.error("Internal Server Error: ",a.message);break;case 503:console.error("Internal Server Error: ",a.message);break;default:console.error("Unknown Error: ",a.message);break}})}addNewNoBackupSchedule(){this.displayNoBackupCreateStyle="block"}closeNoBackupSchCreateModal(){this.displayNoBackupCreateStyle="none",this.nobackupscheduleDaysList=[],this.nobackupmyTime=new Date,this.nobackupshowDaily=!0,this.resetNoBackupScheduleModel()}resetNoBackupScheduleModel(){this.el.nativeElement.querySelector(".scheduleNameNoBackup").classList.remove("redAlert");let m=this.el.nativeElement.querySelector(".nobackupdays"),e=m.querySelector("mat-select");e&&(e.classList.remove("redAlert"),m.classList.remove("redAlert")),this.nobackupscheduleModel={scheduleName:"",fromTime:"",toTime:"",timeZone:H.default.tz.guess(),backupType:"INCR",dayArray:[]}}onNoBackupScheduleDayChange(){this.updateShowDailyLabelNoBackup()}updateShowDailyLabelNoBackup(){this.nobackupshowDaily=this.nobackupscheduleDaysList.length===0}toggleSelectAllDaysNoBackup(){this.nobackupshowDaily?this.nobackupscheduleDaysList=[...this.nobackupallDays]:this.nobackupscheduleDaysList=[],this.updateShowDailyLabelNoBackup()}convertToTime(o){let[m,e]=o.split(":").map(Number),l=new Date;return l.setHours(m,e,0,0),l.getTime()}validateRequiredFieldsCreateNoBackup(){let o=!0,m=this.el.nativeElement.querySelector(".scheduleNameNoBackup");m&&(m.value.trim()?m.classList.remove("redAlert"):(m.classList.add("redAlert"),o=!1));let e=this.el.nativeElement.querySelector(".nobackupdays"),l=e.querySelector("mat-select");return l&&(this.nobackupscheduleDaysList.length<=0?(l.classList.add("redAlert"),e.classList.add("redAlert"),o=!1):(l.classList.remove("redAlert"),e.classList.remove("redAlert"))),o}validateTimeNBST(){(!this.nobackupmyTime||!(this.nobackupmyTime instanceof Date))&&(this.nobackupmyTime=new Date);let o=this.nobackupmyTime.getHours(),m=this.nobackupmyTime.getMinutes();o>23&&this.nobackupmyTime.setHours(23),m>59&&this.nobackupmyTime.setMinutes(59)}validateTimeNBET(){(!this.nobackupmyTimeEnd||!(this.nobackupmyTimeEnd instanceof Date))&&(this.nobackupmyTimeEnd=new Date);let o=this.nobackupmyTimeEnd.getHours(),m=this.nobackupmyTimeEnd.getMinutes();o>23&&this.nobackupmyTimeEnd.setHours(23),m>59&&this.nobackupmyTimeEnd.setMinutes(59)}submitCreateNoBackupSchedule(o){let m=this.validateRequiredFieldsCreateNoBackup();if(o.invalid){o.control.markAllAsTouched(),this.nobackupscheduleDaysList.length<=0,this.toastr.error("Please check all fields.");return}if(this.nobackupscheduleModel.scheduleName==""){this.toastr.error("Please enter Schedule Name.");return}if(this.nobackupscheduleDaysList.length<=0){this.nobackupscheduleDaysList.length<=0&&this.toastr.error("Please select at least one day for the schedule.");return}if(!m){this.toastr.error("Please fill all required fields.","Error");return}let e=this.nobackupmyTime.getHours().toString().padStart(2,"0"),l=this.nobackupmyTime.getMinutes().toString().padStart(2,"0");this.nobackupscheduleModel.fromTime=`${e}:${l}`,this.nobackupscheduleModel.dayArray=this.nobackupscheduleDaysList;let a=this.nobackupmyTimeEnd.getHours().toString().padStart(2,"0"),n=this.nobackupmyTimeEnd.getMinutes().toString().padStart(2,"0");if(this.nobackupscheduleModel.toTime=`${a}:${n}`,this.convertToTime(this.nobackupscheduleModel.toTime)===this.convertToTime(this.nobackupscheduleModel.fromTime)){this.toastr.error("Start time and End time cannot be the same. Please check.");return}if(this.convertToTime(this.nobackupscheduleModel.toTime)<this.convertToTime(this.nobackupscheduleModel.fromTime)){this.toastr.error("End time is less than start time. Please check End time");return}this.apiService.saveNoBackupSchedule(this.nobackupscheduleModel).subscribe(E=>{this.toastr.success("Schedule created successfully.","Info"),this.checkedListNoBackupSchedule.push(this.nobackupscheduleModel.scheduleName),this.getAllNoBackupSchedules(),this.getMultipleNoBackupSchedules(this.checkedListNoBackupSchedule.toString()),this.closeNoBackupSchCreateModal(),this.cdr.detectChanges()},E=>{console.error("Error creating filter:",E)})}getAllNoBackupSchedules(){this.apiService.getAllNoBackupSchedules().subscribe(o=>{this.noBackupSchedules=o.body.noBkpScheduleElementList,this.cdr.detectChanges()},o=>{switch(console.error("Error from getAllNoBackupSchedules: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}closeNoBackupScheduleConfPopup(){this.displayNoBackupConfStyle="none"}closeNoBackupEditModal(){this.displayNoBackupEditStyle="none"}editNoBackupSchedule(o){console.log("schedule to edit : "+o),this.nobackupscheduleNameToEdit=o,this.displayNoBackupConfStyle="block"}getParticularNoBackupSchedule(){this.displayNoBackupConfStyle="none",this.apiService.getParticularNoBackupSchedule(this.nobackupscheduleNameToEdit).subscribe(o=>{var m=JSON.stringify(o.body),e=JSON.parse(m);this.nobackupscheduleElement=e.noBkpScheduleElement,this.displayNoBackupEditStyle="block";let l=this.nobackupscheduleElement.fromTime,[a,n]=l.split(":").map(Number);this.nobackupmyTime=new Date,this.nobackupmyTime.setHours(a),this.nobackupmyTime.setMinutes(n);let E=this.nobackupscheduleElement.toTime,[I,z]=E.split(":").map(Number);this.nobackupmyTimeEnd=new Date,this.nobackupmyTimeEnd.setHours(I),this.nobackupmyTimeEnd.setMinutes(z),this.nobackupscheduleDaysListEdit=this.nobackupscheduleElement.dayArray.map(D=>D.toString()),this.cdr.detectChanges()},o=>{switch(console.error("Error from getParticularSchedule: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}onNoBackupScheduleDayChangeEdit(){this.updateShowDailyLabelEditNoBackup()}updateShowDailyLabelEditNoBackup(){this.nobackupshowDailyEdit=this.nobackupscheduleDaysListEdit.length===0}toggleSelectAllDaysEditNoBackup(){this.nobackupshowDailyEdit?this.nobackupscheduleDaysListEdit=[...this.allDays]:this.nobackupscheduleDaysListEdit=[],this.updateShowDailyLabelEditNoBackup()}validateRequiredFieldsEditNoBackup(){let o=!0,m=this.el.nativeElement.querySelector(".scheduleNameNoBackupEdit");m&&(m.value.trim()?m.classList.remove("redAlert"):(m.classList.add("redAlert"),o=!1));let e=this.el.nativeElement.querySelector(".nobackupdaysEdit"),l=e.querySelector("mat-select");return l&&(this.nobackupscheduleDaysListEdit.length<=0?(l.classList.add("redAlert"),e.classList.add("redAlert"),o=!1):(l.classList.remove("redAlert"),e.classList.remove("redAlert"))),o}submitEditNoBackupSchedule(o){if(!this.validateRequiredFieldsEditNoBackup()){this.toastr.error("Please fill all required fields.","Error");return}if(this.nobackupscheduleDaysListEdit.length<=0){this.nobackupscheduleDaysListEdit.length<=0&&this.toastr.error("Please select at least one day for the schedule.");return}let e=this.myTime.getHours().toString().padStart(2,"0"),l=this.myTime.getMinutes().toString().padStart(2,"0");this.nobackupscheduleEditModel.fromTime=`${e}:${l}`,this.nobackupscheduleEditModel.scheduleName=this.nobackupscheduleNameToEdit,this.nobackupscheduleEditModel.dayArray=this.nobackupscheduleDaysListEdit;let a=this.nobackupmyTimeEnd.getHours().toString().padStart(2,"0"),n=this.nobackupmyTimeEnd.getMinutes().toString().padStart(2,"0");if(this.nobackupscheduleEditModel.toTime=`${a}:${n}`,this.convertToTime(this.nobackupscheduleModel.toTime)===this.convertToTime(this.nobackupscheduleModel.fromTime)){this.toastr.error("Start time and End time cannot be the same. Please check.");return}if(this.convertToTime(this.nobackupscheduleModel.toTime)<this.convertToTime(this.nobackupscheduleModel.fromTime)){this.toastr.error("End time is less than start time. Please check End time");return}this.apiService.editNoBackupSchedule(this.nobackupscheduleEditModel).subscribe(E=>{this.toastr.success("Schedule updated successfully.","Info"),this.getAllNoBackupSchedules(),this.closeNoBackupEditModal(),this.cdr.detectChanges()},E=>{console.error("Error creating filter:",E)})}addNewFilter(){this.displayFilterCreateStyle="block",this.getAllCannedFilters()}closeCreateFilterModal(){this.displayFilterCreateStyle="none",this.resetFilterModel()}resetFilterModel(){this.filterModel={filterName:"",filterType:"inclusion",filters:""}}onFilterCreateChange(){if(this.checkedList.length>0){let o=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionCreate=o,this.showExtensions(),this.cannedFiltersCreate=o.concat(this.userDefinedExtensionsCreate)}else this.cannedFiltersCreate=this.userDefinedExtensionsCreate,this.checkedListExtensionCreate=[]}showExtensions(){this.extensionsVisible=!0}validateScheduleName(){let o=/^[a-zA-Z0-9@._-]{3,}$/;this.scheduleModel.scheduleName?this.invalidScheduleName=!o.test(this.scheduleModel.scheduleName):this.invalidScheduleName=!1}validateFilterName(){let o=/^[a-zA-Z0-9@._-]{3,}$/;this.invalidFilterName=!!this.filterModel.filterName&&!o.test(this.filterModel.filterName)}isFilterNameValid(o){let m=/^[a-zA-Z0-9@._-]{3,}$/;return new RegExp(m).test(o)}submitCreateFilter(){if(this.filterModel.filterName==""||!this.isFilterNameValid(this.filterModel.filterName)){this.invalidFilterName=!0,this.toastr.error("Please check filter name.","Error");return}if(this.cannedFiltersCreate.length==0){this.toastr.error("Please check filter extensions.","Error");return}this.filterModel.filters=this.cannedFiltersCreate.join(","),this.apiService.saveFilter(this.filterModel).subscribe(o=>{this.checkedListFilter.push(this.filterModel.filterName),this.getMultipleFilters(this.checkedListFilter.toString()),this.closeCreateFilterModal(),this.toastr.success("Filter created successfully.","Info"),this.getAllFilters()},o=>{switch(o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error("Filter with same name already exists .","Error");break;case 421:this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}getAllFilters(){this.apiService.getAllFilters().subscribe(o=>{var m=JSON.stringify(o.body),e=JSON.parse(m);this.filters=e.inclusionFilterElementList,this.cdr.detectChanges(),this.getAllCannedFilters()},o=>{switch(console.error("Error from getAllFilters: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}getAllCannedFilters(){this.apiService.getAllCannedFilters().subscribe(o=>{var m=JSON.stringify(o.body),e=JSON.parse(m);this.cannedFiltersTemplateCreate=e.filterTemplateElementList.map(l=>J(j({},l),{status:!1})),this.cannedFiltersTemplateCreate.sort((l,a)=>l.filterName.localeCompare(a.filterName)),this.cannedFiltersTemplateEdit=e.filterTemplateElementList.map(l=>J(j({},l),{status:!1})),this.cannedFiltersTemplateEdit.sort((l,a)=>l.filterName.localeCompare(a.filterName)),this.cdr.detectChanges()},o=>{switch(console.error("Error from getAllCannedFilters: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}editFilter(o){this.filterToEdit=o,this.displayFilterConfStyle="block"}closeConfFilterPopup(){this.filterToEdit="",this.displayFilterConfStyle="none"}closeEditFilterModal(){this.displayFilterEditStyle="none"}getFilter(){this.displayFilterConfStyle="none",this.apiService.getFilter(this.filterToEdit).subscribe(o=>{var m=JSON.stringify(o.body),e=JSON.parse(m);this.filterElement=e.inclusionFilterElement,this.filterEditModel.filterName=this.filterElement.filterName,this.filterEditModel.filterType="inclusion",this.filterEditModel.filters=this.filterElement.filters,this.cannedFilters=this.filterElement.filters.split(","),this.userDefinedExtensionsEdit=this.filterElement.filters.split(","),this.displayFilterEditStyle="block",this.cdr.detectChanges(),this.getAllCannedFilters()},o=>{switch(console.error("Error from getFilter: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}onFilterChangeEdit(){if(this.checkedList.length>0){let o=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionEdit=o,this.showExtensions(),o.some(m=>this.userDefinedExtensionsEdit.includes(m))||(this.cannedFilters=o.concat(this.userDefinedExtensionsEdit))}else this.cannedFilters=this.userDefinedExtensionsEdit,this.checkedListExtensionEdit=[]}submitEditFilter(){if(this.cannedFilters.length==0){this.toastr.error("Please check filter extensions.","Error");return}this.filterEditModel.filters=this.cannedFilters.join(","),this.apiService.editFilter(this.filterEditModel).subscribe(o=>{console.log("Filter updated successfully:",o),this.closeEditFilterModal(),this.toastr.success("Filter updated successfully.","Info"),this.getMultipleFilters(this.checkedListFilter.toString())},o=>{switch(o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error("Filter with same name already exists .","Error");break;case 421:this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}removeExtension(o){var m=this.checkedListExtensionEdit.indexOf(o);this.checkedListExtensionEdit.splice(m,1),this.userDefinedExtensionsEdit.splice(m,1);var e=this.cannedFilters.indexOf(o);this.cannedFilters.splice(e,1)}removeExtensionCreate(o){var m=this.checkedListExtension.indexOf(o);this.checkedListExtension.splice(m,1);var e=this.cannedFiltersCreate.indexOf(o);this.cannedFiltersCreate.splice(e,1)}addFilterExtensionCreate(){this.newFilterExtensionCreate.trim()&&(this.userDefinedExtensionsCreate.push(this.newFilterExtensionCreate.trim()),this.checkedListExtensionCreate.length>0?this.cannedFiltersCreate=this.userDefinedExtensionsCreate.concat(this.checkedListExtensionCreate):this.cannedFiltersCreate=this.userDefinedExtensionsCreate,this.newFilterExtensionCreate="",this.showExtensions())}addFilterExtensionEdit(){this.newFilterExtensionEdit.trim()&&(this.userDefinedExtensionsEdit.push(this.newFilterExtensionEdit.trim()),this.checkedListExtensionEdit.length>0?this.cannedFilters=this.userDefinedExtensionsEdit.concat(this.checkedListExtensionEdit):this.cannedFilters=this.userDefinedExtensionsEdit,this.newFilterExtensionEdit="",this.showExtensions())}showPassword(o){let m=document.getElementById(o);m.type="text",o==="agentPassword"?this.isPasswordVisible=!0:this.isRePasswordVisible=!0}hidePassword(o){let m=document.getElementById(o);m.type="password",o==="agentPassword"?this.isPasswordVisible=!1:this.isRePasswordVisible=!1}handleBlur(){this.newFilterExtensionCreate.trim()&&this.addFilterExtensionCreate()}handleKeyUp(){this.newFilterExtensionCreate.trim()&&this.addFilterExtensionCreate()}handleBlurEdit(){this.newFilterExtensionEdit.trim()&&this.addFilterExtensionEdit()}handleKeyUpEdit(){this.newFilterExtensionEdit.trim()&&this.addFilterExtensionEdit()}onBlukryptChange(){if(this.checkedList.length>0){let o=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionEdit=o,this.showExtensions(),o.some(m=>this.userDefinedExtensionsEdit.includes(m))||(this.cannedFilters=o.concat(this.userDefinedExtensionsEdit))}else this.cannedFilters=this.userDefinedExtensionsEdit,this.checkedListExtensionEdit=[];this.matSelectBlukryptHost.close()}closeSqlServerDetails(){this.displayConfigSQLStyle="none",this.serverPassword="",this.serverRePassword="",this.serverUserName=""}addSqlServer(){this.displayConfigSQLStyle="block",this.serverPassword="",this.serverRePassword="",this.serverUserName=""}addSqlServerDetails(){this.displayConfigSQLStyle="none",this.serverUserNameToSave=this.serverUserName,this.serverPasswordToSave=this.serverPassword}showPasswordSQL(o){let m=document.getElementById(o);m.type="text",o==="serverPassword"?this.isPasswordVisible=!0:this.isRePasswordVisible=!0}hidePasswordSQL(o){let m=document.getElementById(o);m.type="password",o==="serverPassword"?this.isPasswordVisible=!1:this.isRePasswordVisible=!1}static{this.\u0275fac=function(m){return new(m||h)(P(fe),P(ee),P(_e),P(ut),P(te),P(st),P(ie),P(ce),P(Se),P(dt),P(ae),P(ht))}}static{this.\u0275cmp=se({type:h,selectors:[["app-create"]],viewQuery:function(m,e){if(m&1&&(W(Et,5),W(vt,5),W(bt,5),W(kt,5),W(Mt,5),W(Tt,5),W(Ft,5)),m&2){let l;O(l=R())&&(e.matSelectEdit=l.first),O(l=R())&&(e.matSelectCreate=l.first),O(l=R())&&(e.matSelectCreateNoBackup=l.first),O(l=R())&&(e.matSelectEditNoBackup=l.first),O(l=R())&&(e.matSelectBlukryptHost=l.first),O(l=R())&&(e.matSelectCreateFilter=l.first),O(l=R())&&(e.matSelectEditFilter=l.first)}},inputs:{schedules:"schedules",noBackupSchedules:"noBackupSchedules",pgs:"pgs"},outputs:{shareCheckedList:"shareCheckedList",shareIndividualCheckedList:"shareIndividualCheckedList",shareCheckedListNoBackup:"shareCheckedListNoBackup",shareIndividualCheckedListNoBackup:"shareIndividualCheckedListNoBackup",shareCheckedListFilter:"shareCheckedListFilter",shareIndividualCheckedListFilter:"shareIndividualCheckedListFilter",shareCheckedListSearchFilter:"shareCheckedListSearchFilter",shareIndividualCheckedListSearchFilter:"shareIndividualCheckedListSearchFilter",shareCheckedListPg:"shareCheckedListPg",shareIndividualCheckedListPg:"shareIndividualCheckedListPg"},features:[de([ee,te,ie])],decls:1747,vars:437,consts:[["myForm","ngForm"],["policyNameInput","ngModel"],["tabContent1","cTabContent"],["myScheduleForm","ngForm"],["scheduleNameInput","ngModel"],["matSelectCreate",""],["myScheduleEditForm","ngForm"],["matSelectEdit",""],["myNoBackupScheduleForm","ngForm"],["matSelectCreateNoBackup",""],["matSelectEditNoBackup",""],["matSelectCreateFilter",""],["matSelectEditFilter",""],["matSelectBlukryptHost",""],[1,"container"],[1,"row"],[1,"col-lg-6"],[1,"breadcrumb"],[4,"ngIf"],[3,"ngSubmit"],["xs","12"],[1,"mb-3"],[1,"row",2,"margin-top","10px"],[1,"col-lg-7"],[1,"form-group"],["for","policyName"],["type","text","name","policyName","id","policyName","minlength","3","maxlength","50","placeholder","Enter Policy Name","required","","autocomplete","off","autofocus","","pattern","^[a-zA-Z0-9@._-]*$","title","Only letters, numbers, and @, -, _, . are allowed",1,"form-control",3,"ngModelChange","ngModel"],["class","text-danger",4,"ngIf"],["cLabel","","for","description"],["cFormControl","","name","description","id","description","minlength","5","maxlength","512","rows","3",3,"ngModelChange","input","ngModel"],["style","color: red;",4,"ngIf"],[1,"form-group","hide","d-none"],["for","policyStorageSizeAllowed"],["type","number","name","policyStorageSizeAllowed","id","policyStorageSizeAllowed","placeholder","","value","0","autocomplete","off","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","policyUsersAllowed"],["type","number","name","policyUsersAllowed","id","policyUsersAllowed","placeholder","","value","0","autocomplete","off","required","",1,"form-control",3,"ngModelChange","ngModel"],["variant","tabs","role","tablist"],["cNavLink","",3,"cTabContent","tabPaneIdx"],[1,"d-none"],["cRounded","bottom",3,"activeTabPaneIdx"],[1,"p-3","preview"],[1,"h4",2,"color","#585f69"],["for","schedules"],[1,"clickAble",2,"cursor","pointer","font-size","small","font-weight","600",3,"click"],["appearance","fill",1,"mainSchedules",2,"width","100%"],["multiple","","placeholder","Select Schedules",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],[3,"value",4,"ngFor","ngForOf"],[1,"col-lg-5"],["class","row",4,"ngIf"],["for","noBackupSchedules"],["appearance","fill",2,"width","100%"],["multiple","","placeholder","Select 'No Backup' windows",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],["for","maxVersions",1,"col-lg-12"],[1,"col-lg-2"],[3,"switch"],["cFormCheckInput","","id","switchver","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],[1,"col-lg-8"],["type","text","name","maxVersions","id","maxVersions","placeholder","Enter maxVersions","required","","autocomplete","off",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","vererror",2,"color","#f55753","font-size","0.9em"],["for","maxPermissibleFileSize",1,"col-lg-12"],["cFormCheckInput","","id","switchsize","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","maxPermissibleFileSize","id","maxPermissibleFileSize","placeholder","Enter Maximum Permissible File Size","required","","autocomplete","off","value","UNLIMITED",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","sizeerror",2,"color","#f55753","font-size","0.9em"],["for","perUserBackupStorageLimit",1,"col-lg-12"],["cFormCheckInput","","id","switchlimit","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","perUserBackupStorageLimit","id","perUserBackupStorageLimit","placeholder","Enter Per Asset Backup Storage Limit","required","","autocomplete","off","value","250",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","limiterror",2,"color","#f55753","font-size","0.9em"],["for","noOfDevicesAllowed"],["type","number","name","noOfDevicesAllowed","id","noOfDevicesAllowed","placeholder","Maximum Assets Allowed","required","","autocomplete","off","value","10","min","1",1,"form-control",3,"ngModelChange","blur","ngModel"],["id","deviceerror",2,"color","#f55753","font-size","0.9em"],[1,"form-group","d-none"],["for","osType"],["cSelect","","name","osType","id","osType","required","","title","Select OS Type",1,"form-control","selectOsTypePicker",3,"ngModelChange","ngModel"],["value","universal","selected",""],["for","defaultFoldersBackup"],["aria-describedby","defaultFoldersBackupBtn","name","defaultFoldersBackup","id","defaultFoldersBackup","aria-label","Default Folders to Backup","cFormControl","","placeholder","Enter Default Folders to Backup",3,"ngModelChange","keyup.enter","ngModel"],["cButton","","color","secondary","id","defaultFoldersBackupBtn","type","button","variant","outline",3,"click"],["class","form-group",4,"ngIf"],[1,"form-group","hide"],["for","serverUserNameToSave"],["type","text","name","serverUserNameToSave","id","serverUserNameToSave","value","","placeholder","Enter Server User Name","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel"],["for","serverPasswordToSave"],["type","password","name","serverPasswordToSave","id","serverPasswordToSave","value","","placeholder","Enter Password","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel"],["for","exclusionFolderName"],["aria-describedby","exclusionFoldersBtn","name","exclusionFolderName","id","exclusionFolderName","aria-label","Exclusion Folder Name","cFormControl","","placeholder","Enter the full path of the folder",3,"ngModelChange","keyup.enter","ngModel"],["cButton","","color","secondary","id","exclusionFoldersBtn","type","button","variant","outline",3,"click"],[1,"form-group","col-lg-12"],["for","exceptionFolderName"],["aria-describedby","exceptionFoldersBtn","name","exceptionFolderName","id","exceptionFolderName","aria-label","Exceptions to exclusions","cFormControl","","placeholder","Enter the full path of the folder",3,"ngModelChange","keyup.enter","ngModel"],["cButton","","color","secondary","id","exceptionFoldersBtn","type","button","variant","outline",3,"click"],["for","memoryUtilization"],["type","text","name","memoryUtilization","id","memoryUtilization","placeholder","Enter memoryUtilization","required","","autocomplete","off","value","128","data-parsley-min","128","data-parsley-max","1024","data-parsley-type","integer",1,"form-control",3,"ngModelChange","ngModel"],["for","cpuUtilization"],["type","text","name","cpuUtilization","id","cpuUtilization","placeholder","Enter cpuUtilization","required","","autocomplete","off","value","80","data-parsley-min","20","data-parsley-max","100","data-parsley-type","integer",1,"form-control",3,"ngModelChange","ngModel"],["for","dcmEnabled"],["cSelect","","name","dcmEnabled","id","dcmEnabled","required","","title","Select dcmEnabled",1,"form-control","dcmEnabled",3,"ngModelChange","ngModel"],["value","true"],["value","false","selected",""],["for","clientDedup"],["cSelect","","name","clientDedup","id","clientDedup","title","Select clientDedup",1,"form-control","clientDedup",3,"ngModelChange","ngModel"],["value","true","selected",""],["value","false"],["for","maxFileSizeForBkpBatch"],["type","text","name","maxFileSizeForBkpBatch","id","maxFileSizeForBkpBatch","placeholder","Enter maxFileSizeForBkpBatch","autocomplete","off","value","50",1,"form-control"],[1,"col-lg-12"],[1,"panel","panel-default",2,"overflow-y","scroll","height","450px"],[1,"panel","panel-default"],[1,"panel-heading"],[1,"fa","fa-folder-open"],[1,"panel-body"],[1,"table-responsive"],["class","list-group",4,"ngIf"],[1,"form-group","hide",2,"margin-left","10px"],[1,"checkbox","check-primary"],["id","sqlbkpEnabled","name","sqlbkpEnabled","type","checkbox","value","enabled"],["for","sqlbkpEnabled"],["class","panel panel-default","style","overflow-y: scroll;height: 150px;",4,"ngIf"],[1,"panel-body",2,"overflow-y","scroll","height","150px"],["cTooltip","These sub-folders will be backed up even if their parent folders have been excluded above.","cTooltipPlacement","right",2,"color","#062D4D","cursor","pointer"],["aria-hidden","true",1,"fa","fa-question-circle"],["cTooltip","File extensions that you wish to include or exclude.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["for","filters"],["cSelect","","name","filtersType","id","filtersType","title","Select Filter Type",1,"form-control","selectFilterTypePicker",3,"ngModelChange","change","ngModel"],["value","inclusion"],["value","exclusion"],[1,"row","col-lg-12"],["class","col-lg-1 inclusionBadge","style","margin-top: 10px;",4,"ngIf"],["class","col-lg-1 exclusionBadge","style","margin-top:10px;",4,"ngIf"],["appearance","fill",1,"mainFilters",2,"width","100%"],["multiple","","placeholder","Select Filters",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],[1,"col-lg-12","row",2,"margin-top","20px"],["cFormCheckInput","","id","applyFilterToExceptionsToExclusion","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],[2,"margin-top","5px"],["class","row allFilters",4,"ngIf"],[1,"col-lg-6","d-none"],["cSelect","","name","createUser[]",1,"form-control","userCreateAdmins",3,"ngModelChange","change","ngModel"],["value","admins","selected",""],["value",""],["cSelect","","name","createUser[]",1,"form-control","userCreateReadonlyadmins",3,"ngModelChange","change","ngModel"],["value","readonlyadmins","selected",""],["cSelect","","name","createUser[]",1,"form-control","userCreateUsers",3,"ngModelChange","change","ngModel"],["value","users"],["value","","selected",""],["cSelect","","name","userDeleted[]",1,"form-control","userDeletedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","userDeleted[]",1,"form-control","userDeletedReadonlyadmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","userDeleted[]",1,"form-control","userDeletedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","userBlocked[]",1,"form-control","userBlockedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","userBlocked[]",1,"form-control","userBlockedReadonlyadmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","userBlocked[]",1,"form-control","userBlockedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","userLimitReached[]",1,"form-control","userLimitReachedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","userLimitReached[]",1,"form-control","userLimitReachedReadonlyadmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","userLimitReached[]",1,"form-control","userLimitReachedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceDeleted[]",1,"form-control","deviceDeletedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceDeleted[]",1,"form-control","deviceDeletedReadonlyadmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceDeleted[]",1,"form-control","deviceDeletedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceBlocked[]",1,"form-control","deviceBlockedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceBlocked[]",1,"form-control","deviceBlockedReadonlyadmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceBlocked[]",1,"form-control","deviceBlockedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceDecoupled[]",1,"form-control","deviceDecoupledAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceDecoupled[]",1,"form-control","deviceDecoupledReadonlyadmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceDecoupled[]",1,"form-control","deviceDecoupledUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceLimitReached[]",1,"form-control","deviceLimitReachedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceLimitReached[]",1,"form-control","deviceLimitReachedReadonlyadmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceLimitReached[]",1,"form-control","deviceLimitReachedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","weeklyBkpreport[]",1,"form-control","weeklyBkpreportAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","weeklyBkpreport[]",1,"form-control","weeklyBkpreportReadonlyadmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","weeklyBkpreport[]",1,"form-control","weeklyBkpreportUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","firstBkpCompleted[]",1,"form-control","firstBkpCompletedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","firstBkpCompleted[]",1,"form-control","firstBkpCompletedReadonlyadmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","firstBkpCompleted[]",1,"form-control","firstBkpCompletedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","restoreInitiated[]",1,"form-control","restoreInitiatedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","restoreInitiated[]",1,"form-control","restoreInitiatedReadonlyadmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","restoreInitiated[]",1,"form-control","restoreInitiatedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","restoreCompleted[]",1,"form-control","restoreCompletedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","restoreCompleted[]",1,"form-control","restoreCompletedReadonlyadmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","restoreCompleted[]",1,"form-control","restoreCompletedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","storageLimitReached[]",1,"form-control","storageLimitReachedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","storageLimitReached[]",1,"form-control","storageLimitReachedReadonlyadmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","storageLimitReached[]",1,"form-control","storageLimitReachedUsers",3,"ngModelChange","change","ngModel"],["cTooltip","Changes will reflect on next relaunch of agent.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["for","shareEnabled"],["cSelect","","name","bkpfiles","id","bkpfiles","required","","title","Select share",1,"form-control","bkpfiles",3,"change"],["cSelect","","name","bkpsettings","id","bkpsettings","required","","title","Select share",1,"form-control","bkpsettings",3,"change"],["cSelect","","name","initiatebackup","id","initiatebackup","required","","title","Select share",1,"form-control","initiatebackup",3,"change"],["cSelect","","name","stopbackup","id","stopbackup","required","","title","Select share",1,"form-control","stopbackup",3,"change"],["cSelect","","name","support","id","support","required","","title","Select share",1,"form-control","support",3,"change"],["for","about"],["cSelect","","name","about","id","about","required","","title","Select about",1,"form-control","about",3,"change"],["for","blockNotifications"],["cSelect","","name","blockNotifications","id","blockNotifications","title","Select share",1,"form-control","blockNotifications",3,"change"],["for","systrayIcon"],["cSelect","","name","systrayIcon","id","systrayIcon","required","","title","Select systrayIcon",1,"form-control","systrayIcon",3,"change"],["cSelect","","name","restore","id","restore","required","","title","Select share",1,"form-control","restore",3,"change"],["cSelect","","name","refbkppolicy","id","refbkppolicy","required","","title","Select share",1,"form-control","refbkppolicy",3,"change"],["for","pauseBackup"],["cSelect","","name","pauseBackup","id","pauseBackup","required","","title","Select pauseBackup",1,"form-control","pauseBackup",3,"change"],["for","updateAgent"],["cSelect","","name","updateAgent","id","updateAgent","required","","title","Select updateAgent",1,"form-control","updateAgent",3,"change"],["cSelect","","name","decouple","id","decouple","required","","title","Select share",1,"form-control","decouple",3,"change"],["cSelect","","name","network_settings","id","network_settings","required","","title","Select Network Settings",1,"form-control","network_settings",3,"change"],["for","disallowAdminRestores"],["cSelect","","name","disallowAdminRestores","id","disallowAdminRestores","required","","title","Select Disallow Admin Restores",1,"form-control","disallowAdminRestores",3,"change"],["cSelect","","name","exitt","id","exitt","required","","title","Select share",1,"form-control","exitt",3,"change"],[1,"col-lg-12","row"],["cTooltip","Portal changes will reflect on user login.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],[1,"form-group","Open"],["for","Open"],["cSelect","","name","Open","id","Open","required","","title","Select Open",1,"form-control","Open",3,"change"],[1,"form-group","Versions"],["for","Versions"],["cSelect","","name","Versions","id","Versions","required","","title","Select Versions",1,"form-control","Versions",3,"change"],[1,"form-group","Download"],["for","Download"],["cSelect","","name","Download","id","Download","required","","title","Select Download",1,"form-control","Download",3,"change"],[1,"form-group","View"],["for","View"],["cSelect","","name","View","id","View","required","","title","Select View",1,"form-control","View",3,"change"],[1,"form-group","Share","hide"],["for","Share"],["cSelect","","name","Share","id","Share","required","","title","Select Share",1,"form-control","Share",3,"change"],[1,"form-group","portalRestore"],["for","portalRestore"],["cSelect","","name","portalRestore","id","portalRestore","required","","title","Select Restore",1,"form-control","portalRestore",3,"change"],[1,"row","shareDetailsLabel","hide"],[1,"col-lg-12",2,"border","1px dashed grey","border-radius","10px"],["id","shareDomainsEnabled","name","shareDomainsEnabled","type","checkbox","value","enabled"],["for","shareDomainsEnabled"],[1,"form-group","col-lg-6"],["for","shareDomainIncExclusions"],["type","text","name","shareDomainIncExclusions","id","shareDomainIncExclusions","placeholder","","autocomplete","off","value","",1,"form-control"],[1,"col-lg-6",2,"margin-left","-14px","margin-top","20px"],[1,"col-lg-12",2,"margin-bottom","15px"],["type","radio","name","shareDomainType","id","only","value","Share only with these Email domains"],["for","link"],["type","radio","name","shareDomainType","id","withall","value","Share with all Email domains excepting these"],[1,"col-lg-6","row",2,"margin-top","10px"],[1,"col-lg-2","controllerSLBlock"],[1,"switch"],["id","controllerSL","type","checkbox","name","controllerSL","value","true"],[1,"slider","round"],["id","highSecureShareEnabled","name","highSecureShareEnabled","type","checkbox","value","enabled","checked",""],["for","highSecureShareEnabled"],[1,"col-lg-6","row"],[1,"col-lg-2","controllerCPBlock"],["id","controllerCP","type","checkbox","name","controllerCP","value","true","checked",""],[1,"col-lg-2","controllerADBlock"],["id","controllerAD","type","checkbox","name","controllerAD","value","true"],[1,"col-lg-2","controllerEDBlock"],["id","controllerED","type","checkbox","name","controllerED","value","true","checked",""],[1,"col-lg-2","controllerMFABlock"],["id","controllerMFA","type","checkbox","name","controllerMFA","value","true","checked",""],["cTooltip","Related to search.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],[1,"form-group","contentIndexEnabled"],["for","contentIndexEnabled"],["cSelect","","name","contentIndexEnabled","id","contentIndexEnabled","required","","title","Select Content Index Enabled",1,"form-control","contentIndexEnabled",3,"ngModelChange","ngModel"],["for","filters",1,"d-none"],[1,"clickAble","d-none",2,"font-size","small","font-weight","600",3,"click"],["cSelect","","name","searchFilterType","id","searchfiltersType","title","Select Filter Type",1,"form-control","selectSearchFilterTypePicker",3,"ngModelChange","change","ngModel"],["class","col-lg-1 inclusionBadgeCS","style","margin-top: 10px;",4,"ngIf"],["class","col-lg-1 exclusionBadgeCS","style","margin-top:10px;",4,"ngIf"],["appearance","fill",1,"mainSearchFilters",2,"width","100%"],["placeholder","Select Search Filters","multiple","",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],[1,"h4","d-none",2,"color","#585f69"],[1,"form-group","partial","d-none"],["for","incrementalFileTransfer"],["cSelect","","name","incrementalFileTransfer","id","incrementalFileTransfer","required","","title","Select incrementalFileTransfer",1,"form-control","incrementalFileTransfer"],["data-role","controlgroup","data-type","horizontal"],["for","nwFromClientToPG",1,"col-lg-12"],[1,"col-lg-8",2,"margin-bottom","10px"],["cFormCheckInput","","id","switch","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","nwFromClientToPGMB","id","nwFromClientToPGMB","placeholder","","required","","autocomplete","off",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","switcherror",2,"color","#f55753","font-size","0.9em"],["id","switchwarning",2,"color","#062D4D","font-size","0.9em"],["cSelect","","name","networkThrottlingUnit","id","networkThrottlingUnit",1,"form-control",3,"ngModelChange","change","ngModel","disabled"],["value","kbps"],["value","mbps"],["value","gbps"],["for","cpuThrottling"],[1,"slidecontainer"],["type","range","min","1","max","10","name","cpuThrottling","id","myRange",1,"slidercpu",3,"ngModelChange","input","ngModel"],["id","demo"],["for","nwFromPGToCloud"],["type","text","name","nwFromPGToCloud","id","nwFromPGToCloud","placeholder","Enter nwFromPGToCloud","required","","autocomplete","off","value","4","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","10",1,"form-control"],["for","filesCrawlLimit"],["type","text","name","filesCrawlLimit","id","filesCrawlLimit","placeholder","Enter filesCrawlLimit","required","","autocomplete","off","value","500","data-parsley-type","integer","data-parsley-min","1",1,"form-control"],["for","networkThrottling"],["cSelect","","name","networkThrottling","id","networkThrottling","required","","title","Select networkThrottling",1,"form-control","networkThrottling"],[1,"col-lg-5","d-none"],[1,"row","partialfileattributerow"],[1,"panel","panel-default",2,"margin-top","30px"],["for","partialFileSize"],["type","text","name","partialFileSize","id","partialFileSize","placeholder","Enter partialFileSize","required","","autocomplete","off","value","9","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","<?=MAX_ENABLE_PARTIAL_FILE_TRANSFER?>",1,"form-control"],["for","fileChunkableSize"],["type","text","name","fileChunkableSize","id","fileChunkableSize","placeholder","Enter fileChunkableSize","required","","autocomplete","off","value","8","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","<?=MAX_PARTIAL_FILE_TRANSFER_CHUNK_SIZE?>",1,"form-control"],[1,"col-lg-1"],["cFormCheckInput","","id","legalHold","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],[1,"col-lg-11"],[1,"systemFolders",2,"display","none"],["id","systemFolders","name","systemFolders","type","checkbox","value","enabled"],["for","systemFolders"],["class","col-lg-6 row",4,"ngIf"],["for","noOfDaysToKeepDeviceNotHeard",1,"col-lg-12"],["cFormCheckInput","","id","switchnoOfDaysToKeepDeviceNotHeard","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],[1,"col-lg-4"],["type","text","name","noOfDaysToKeepDeviceNotHeard","id","noOfDaysToKeepDeviceNotHeard","placeholder","Enter No. of Days To Keep Device Not Heard","required","","autocomplete","off","value","60",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","noOfDaysToKeepDeviceNotHearderror",2,"color","#f55753","font-size","0.9em"],[1,"col-lg-2",2,"margin-top","10px"],["for","noOfDaysToKeepUserDeviceNotActive",1,"col-lg-12"],["cFormCheckInput","","id","switchnoOfDaysToKeepUserDeviceNotActive","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","noOfDaysToKeepUserDeviceNotActive","id","noOfDaysToKeepUserDeviceNotActive","placeholder","Enter No. of Days To Keep Device Not Heard","required","","autocomplete","off","value","60",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","noOfDaysToKeepUserDeviceNotActiveerror",2,"color","#f55753","font-size","0.9em"],["for","numberOfThreadsAllowedForBackup"],["type","number","name","numberOfThreadsAllowedForBackup","id","numberOfThreadsAllowedForBackup","placeholder","Enter Number of threads allowed for Backup","required","","autocomplete","off","value","1","min","1","max","5",1,"form-control",3,"ngModelChange","ngModel"],["for","webBasedLogin"],["cSelect","","name","webBasedLogin","id","webBasedLogin","required","","title","Select Web Based Login",1,"form-control","webBasedLogin",3,"ngModelChange","ngModel"],[1,"form-group",3,"ngStyle"],["for","canAdminRestore"],["name","canAdminRestore","id","canAdminRestore","required","","title","Select Can Admin Restore",1,"form-control","canAdminRestore",3,"ngModelChange","ngModel","ngClass"],[3,"ngValue"],[1,"form-group",2,"margin-left","30px",3,"ngStyle"],["for","allowEndUserTocontrolRestore"],["name","allowEndUserTocontrolRestore","id","allowEndUserTocontrolRestore","required","","title","Select option",1,"form-control","allowEndUserTocontrolRestore",3,"ngModelChange","ngModel","ngClass"],["for","canAdminDelete"],["name","canAdminDelete","id","canAdminDelete","required","","title","Select Can Admin Delete",1,"form-control","canAdminDelete",3,"ngModelChange","ngModel","ngClass"],["class","form-group d-none",4,"ngIf"],["for","compEnabled"],["cSelect","","name","compEnabled","id","compEnabled","required","","title","Select compEnabled",1,"form-control","compEnabled",3,"ngModelChange","ngModel"],[1,"form-group","vssContainer","d-none",2,"display","none"],["for","vssEnabled"],["cSelect","","name","vssEnabled","id","vssEnabled","required","","title","Select vss",1,"form-control","vssEnabled",3,"ngModelChange","ngModel"],[1,"form-group","searchAlgoForPg"],["for","searchAlgoForPg"],["cSelect","","name","searchAlgoForPg","id","sortAlgoForPg","required","",1,"form-control","searchAlgoForPg",3,"ngModelChange","change","ngModel"],["value","NEAREST"],["value","PRIORITY"],["for","policyRefresh"],["type","number","id","policyRefresh","name","policyRefresh","value","4","min","1","max","23","required","",1,"form-control","input-small",3,"ngModelChange","ngModel"],["for","logUnaccessedFiles",1,"col-lg-12",2,"margin-top","10px"],["id","switchlogUnaccessedFiles","name","switchlogUnaccessedFiles","type","checkbox",3,"ngModelChange","ngModel"],["for","endpointDomainCheck",1,"col-lg-12"],["cFormCheckInput","","id","switchAllowedDomains","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],["for","allowedDomains"],["type","text","name","allowedDomains","id","allowedDomains","placeholder","","autocomplete","off","value","",1,"form-control",3,"ngModelChange","ngModel","disabled"],["for","autoupdateAgent"],["cSelect","","name","autoUpdateAgent","id","autoUpdateAgent","required","","title","Select Auto Update Agent",1,"form-control","autoUpdateAgent",3,"ngModelChange","ngModel"],["cFormCheckInput","","id","switchAgentPassword","type","checkbox","name","isPasswordEnabled",3,"ngModelChange","ngModel"],[1,"col-lg-10"],["type","password","name","agentPassword","id","agentPassword","placeholder","Enter Password","autocomplete","off","minlength","5",1,"form-control",2,"margin-bottom","10px",3,"ngModelChange","ngModel","required","disabled"],["title","Toggle password visibility",1,"fa","fa-fw","field-icon",2,"line-height","0px","cursor","pointer",3,"mousedown","mouseup","mouseleave","ngClass"],["type","password","name","agentRePassword","id","agentRePassword","placeholder","Re-Type Password","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel","required","disabled"],["for","canBackupHiddenFiles"],["cSelect","","name","canBackupHiddenFiles","id","canBackupHiddenFiles","required","","title","Select canBackupHiddenFiles",1,"form-control","canBackupHiddenFiles",3,"ngModelChange","ngModel"],[1,"form-group","row","d-none",2,"padding-left","3%"],[2,"color","#93a3b5"],[1,"col-lg-4",2,"padding-left","0%"],["id","switchFairnessAlgorithm","type","checkbox"],["type","number","min","0","name","daysToWaitForNextBackup","id","daysToWaitForNextBackup","autocomptocomplete","off","value","0","disabled","",1,"form-control"],["for","downloadAgent"],["cTooltip","Relogin on portal is required","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["cSelect","","name","downloadAgent","id","downloadAgent","required","","title","Select downloadAgent",1,"form-control","downloadAgent",3,"ngModelChange","ngModel"],[1,"row",2,"margin-left","0px"],[1,"col-lg-2",2,"padding-left","0%"],["cFormCheckInput","","id","switchnoOfDaysToKeepDeletedFiles","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","noOfDaysToKeepDeletedFiles","id","noOfDaysToKeepDeletedFiles","autocomptocomplete","off","value","UNLIMITED",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","sizenoOfDaysToKeepDeletedFiles",2,"color","#f55753","font-size","0.9em"],["cFormCheckInput","","id","switchuserConsentEnabled","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],["cFormControl","","name","userConsentDisplayText","id","userConsentDisplayText","maxlength","8000","rows","3","placeholder","Enter User Consent Display Text",3,"ngModelChange","ngModel","disabled"],["for","preScanCommandEnabled"],["cFormCheckInput","","id","preScanCommandEnabled","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],[1,"col-lg-5","form-group"],["for","preScanCommand"],["type","text","name","preScanCommand","id","preScanCommand","placeholder","","autocomplete","off",1,"form-control",3,"ngModelChange","input","ngModel","disabled"],["id","preScanError",2,"color","#f55753","font-size","0.9em"],[1,"col-lg-3"],["for","continueOnPreScan"],["id","continueOnPreScan","name","continueOnPreScan","type","checkbox",3,"ngModelChange","ngModel","disabled"],["for","preBackupCommandEnabled"],["cFormCheckInput","","id","preBackupCommandEnabled","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],["for","preBackupCommand"],["type","text","name","preBackupCommand","id","preBackupCommand","placeholder","","autocomplete","off",1,"form-control",3,"ngModelChange","input","ngModel","disabled"],["id","preBackupError",2,"color","#f55753","font-size","0.9em"],["for","continueOnPreBkp"],["id","continueOnPreBkp","name","continueOnPreBkp","type","checkbox",3,"ngModelChange","ngModel","disabled"],["for","postBackupCommandEnabled"],["cFormCheckInput","","id","postBackupCommandEnabled","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],["for","postBackupCommand"],["type","text","name","postBackupCommand","id","postBackupCommand","placeholder","","autocomplete","off",1,"form-control",3,"ngModelChange","input","ngModel","disabled"],["id","postBackupError",2,"color","#f55753","font-size","0.9em"],["for","continueOnPostBkp"],["id","continueOnPostBkp","name","continueOnPostBkp","type","checkbox",3,"ngModelChange","ngModel","disabled"],["for","fullBackupEnabled"],["cSelect","","name","fullBackupEnabled","id","fullBackupEnabled","required","","title","Select fullBackupEnabled",1,"form-control","fullBackupEnabled"],[1,"form-group","backupDate","d-none",2,"display","none"],["for","fullBackupStartDate"],["type","text","id","fullBackupStartDate","name","fullBackupStartDate","placeholder","Select date for full backup","autocomplete","off",1,"form-control","backupDatePicker","input-small"],["cTooltip","Go to Global settings to enable this option.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["for","canUserChangePassword"],["cSelect","","name","canUserChangePassword","id","canUserChangePassword","required","","title","Select Can User Change Password",1,"form-control","canUserChangePassword",3,"ngModelChange","ngModel","ngClass"],["selected","",3,"value"],[3,"value"],["for","canAdminChangeUserPassword"],["cSelect","","name","canAdminChangeUserPassword","id","canAdminChangeUserPassword","required","","title","Select Allow Admin To Change User Password",1,"form-control","canAdminChangeUserPassword",3,"ngModelChange","ngModel","ngClass"],["color","warning"],[1,"btn","btn-primary","pull-right",3,"click"],[1,"btn","btn-default","pull-right",2,"margin-right","10px",3,"click"],[1,"main"],["tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal",2,"--cui-modal-width","50% !important",3,"ngStyle"],["role","document",1,"modal-dialog"],[1,"modal-content"],[1,"modal-header"],["id","myModalLabel",1,"modal-title"],[1,"modal-body"],["for","serverUserName"],["type","text","name","serverUserName","id","serverUserName","value","","placeholder","Enter Server User Name","autocomplete","off","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","serverPassword"],["type","password","name","serverPassword","id","serverPassword","value","","placeholder","Enter Server Password","autocomplete","off","required","",1,"form-control",3,"ngModelChange","ngModel"],["title","Toggle password visibility",1,"fa","fa-fw","field-icon",2,"cursor","pointer",3,"mousedown","mouseup","mouseleave","ngClass"],["for","serverRePassword"],["type","password","name","serverRePassword","id","serverRePassword","placeholder","Re-Type Server Password","autocomplete","off","value","","data-parsley-equalto","#serverPassword","data-parsley-trigger","change","required","",1,"form-control",3,"ngModelChange","ngModel"],[1,"modal-footer"],["type","button",1,"btn","btn-default",3,"click"],["type","submit",1,"btn","btn-primary",3,"click"],["id","confirmAdd","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["ng-submit","addDefaultFolderConfirm(defaultFoldersBackup)",1,""],[1,"modal-content","smallModal"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],["aria-hidden","true"],["type","button","data-dismiss","modal",1,"btn","btn-default"],["type","submit",1,"saveRename","btn","btn-primary"],["id","confirmAdd1","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["ng-submit","addExclusionFolderConfirm(exclusionFolderName)",1,""],["id","confirmAdd2","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["ng-submit","addExceptionFolderConfirm(exceptionFolderName)",1,""],["id","modalCreateSchedule","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["role","document",1,"modal-dialog","modal-lg"],[1,"modal-header","header-container"],[1,"modal-title"],[2,"cursor","pointer",3,"click"],[1,"fa-solid","fa-xmark"],["for","filterName"],["type","text","name","scheduleName","id","scheduleName","value","","placeholder","Enter Schedule Name","required","","autocomplete","off","pattern","^[a-zA-Z0-9@._-]*$",1,"form-control",3,"ngModelChange","input","ngClass","ngModel"],["for","filterTemplate"],["required","",3,"ngModelChange","ngModel","showMeridian","minuteStep","ngModelOptions"],[1,"form-group","col-lg-12",2,"margin-top","20px"],["appearance","fill",1,"backupdays",2,"width","70%"],["multiple","","required","",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],["type","button",1,"btn","btn-link",3,"click"],["type","submit",1,"btn","btn-primary"],["id","modalConfirmation","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["type","button",1,"btn","btn-primary",3,"click"],["id","modalEditSchedule","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["type","text","name","scheduleNameEdit","placeholder","Enter Filter Name","required","","autocomplete","off","readonly","",1,"form-control","scheduleNameEdit",3,"value"],["appearance","fill",1,"backupdaysEdit",2,"width","70%"],["id","modalCreateNoBackupSchedule","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["type","text","name","scheduleNameNoBackup","value","","placeholder","Enter Schedule Name","required","","autocomplete","off","pattern","^[a-zA-Z0-9@._-]*$",1,"form-control","scheduleNameNoBackup",3,"ngModelChange","ngModel"],["cTooltip","The above schedule will be honored in the time zone under which the CrashPlan endpoint agent is operating.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["appearance","fill",1,"nobackupdays",2,"width","70%"],["id","modalEditNoBackupSchedule","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["type","text","name","scheduleNameNoBackupEdit","placeholder","Enter Filter Name","required","","autocomplete","off","readonly","",1,"form-control","scheduleNameNoBackupEdit",3,"value"],["appearance","fill",1,"nobackupdaysEdit",2,"width","70%"],["id","modalCreateFilter","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["type","text","name","filterName","value","","placeholder","Enter Filter Name","required","","autocomplete","off",1,"form-control",3,"ngModelChange","input","ngClass","ngModel"],["for","filterType"],["name","filterType","required","",1,"form-control","filterType",3,"ngModelChange","ngModel"],["multiple","",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],["cTooltip","Enter filter extension and press enter to add.","cTooltipPlacement","right",2,"color","#062D4D","cursor","pointer"],[1,"form-control",2,"border","1px solid rgba(8, 10, 12, 0.175)","border-radius","10px"],["id","extensionsSpanCreate"],["style","word-wrap: break-word;width: fit-content;margin-right: 10px;",4,"ngFor","ngForOf"],["type","text","name","newFilterExtensionCreate","placeholder","Enter filters","required","","autocomplete","off",1,"form-control",2,"margin-top","10px","width","25%","margin-bottom","10px",3,"ngModelChange","blur","keyup.enter","ngModel"],["id","modal2","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["type","text","name","filterName","placeholder","Enter Filter Name","required","","autocomplete","off","readonly","",1,"form-control",3,"ngModelChange","ngModel","value"],["cTooltip","Enter filter extension and press enter to add.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],[1,"form-control",2,"border","1px solid rgba(8, 10, 12, 0.175)","border-radius","10px","display","block","word-break","break-all"],["style","white-space:nowrap;word-wrap: break-word;width: fit-content;margin-right: 10px;","class","",4,"ngFor","ngForOf"],["type","text","name","newFilterExtensionEdit","placeholder","Enter filters","required","","autocomplete","off",1,"form-control",2,"margin-top","10px","width","25%","margin-bottom","10px",3,"ngModelChange","blur","keyup.enter","ngModel"],["tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["href","pms"],["href","pms/policy"],[1,"text-danger"],[2,"color","red"],[1,"panel","panel-default",2,"margin-top","45px"],[1,"fa","fa-clock"],[1,"table","table-bordered","table-responsive",2,"display","table"],["cButton","","color","primary","size","sm",2,"margin-right","10px",3,"click"],[1,"panel","panel-default",2,"margin-top","20px"],["for","sqlBackupFolders"],[1,"clickAble","showSQLSettings",2,"font-size","small","font-weight","600",3,"click"],["aria-describedby","sqlBackupFoldersBtn","name","sqlBackupFolders","id","sqlBackupFolders","aria-label","Default Folders to Backup for MS SQL","cFormControl","","placeholder","Enter defaultFoldersBackup for SQL",3,"ngModelChange","keyup.enter","ngModel"],["cButton","","color","secondary","id","sqlBackupFoldersBtn","type","button","variant","outline",3,"click"],[1,"list-group"],[1,"list-group-item",2,"word-wrap","break-word"],[1,"pull-right","clickAble",2,"color","#062D4D",3,"click"],[1,"fa","fa-times-circle"],[1,"panel","panel-default",2,"overflow-y","scroll","height","150px"],[1,"col-lg-1","inclusionBadge",2,"margin-top","10px"],[1,"badge","badge-success"],[1,"fa","fa-plus-circle"],[1,"col-lg-1","exclusionBadge",2,"margin-top","10px"],[1,"badge","badge-danger"],[1,"fa","fa-minus-circle"],[1,"row","allFilters"],[1,"fa","fa-filter"],[1,"panel-body",2,"word-break","break-all"],["id","backupFilesWithoutExtension","type","checkbox","name","backupFilesWithoutExtension","value","true","checked","",3,"ngModelChange","ngModel"],["ng-repeat"," in "],[2,"white-space","unset !important"],[2,"word-break","break-all"],[2,"white-space","nowrap !important"],["cButton","","color","primary","size","sm",2,"margin-right","10px",3,"click","disabled"],[1,"col-lg-1","inclusionBadgeCS",2,"margin-top","10px"],[1,"col-lg-1","exclusionBadgeCS",2,"margin-top","10px"],[1,"col-lg-2","rwDetectionEnabledBlock"],["cFormCheckInput","","id","rwDetectionEnabled","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],["for","dedup"],["cSelect","","name","dedup","id","dedup","required","","title","Select dedup",1,"form-control","dedup",3,"ngModelChange","ngModel"],["value","Disabled"],["value","User","selected",""],["value","User"],["value","Global","selected",""],["for","Blukryptipaddress"],[2,"word-wrap","break-word","width","fit-content","margin-right","10px"],[1,"clickAble",2,"color","#062D4D","cursor","pointer",3,"click"],[1,"",2,"white-space","nowrap","word-wrap","break-word","width","fit-content","margin-right","10px"]],template:function(m,e){if(m&1){let l=F();t(0,"div",14)(1,"div",15)(2,"div",16)(3,"ol",17),w(4,Dt,4,1,"li",18)(5,Bt,3,1,"li",18)(6,Pt,3,1,"li",18),i()()()(),t(7,"c-row")(8,"form",19,0),u("ngSubmit",function(){d(l);let n=B(9);return c(e.submitCreatePolicy(n))}),t(10,"c-col",20)(11,"c-card",21)(12,"c-card-header"),r(13,`
          `),t(14,"div",22),r(15,`
            `),t(16,"div",23),r(17,`
                `),t(18,"div",24),r(19,`
                    `),t(20,"label",25),r(21,"Policy Name"),i(),r(22,`
                    `),t(23,"input",26,1),y("ngModelChange",function(n){return d(l),f(e.policygroupName,n)||(e.policygroupName=n),c(n)}),i(),r(25,`
                    `),w(26,Lt,8,3,"div",27),r(27,`
                `),i(),r(28,`                
                `),t(29,"div",21),r(30,`
                    `),t(31,"label",28),r(32,"Description"),i(),r(33,`
                    `),t(34,"textarea",29),y("ngModelChange",function(n){return d(l),f(e.description,n)||(e.description=n),c(n)}),u("input",function(){return d(l),c(e.validateDescription())}),i(),r(35,`
                    `),w(36,At,2,0,"small",30),r(37,`
                    `),w(38,It,2,0,"small",30),r(39,`
                `),i(),r(40,`
                `),t(41,"div",31),r(42,`
                    `),t(43,"label",32),r(44,"Maximum Backup Size(GB)"),i(),r(45,`
                    `),t(46,"input",33),y("ngModelChange",function(n){return d(l),f(e.policyStorageSizeAllowed,n)||(e.policyStorageSizeAllowed=n),c(n)}),i(),r(47,`
                    `),t(48,"label",34),r(49,"Number of Users Allowed"),i(),r(50,`
                    `),t(51,"input",35),y("ngModelChange",function(n){return d(l),f(e.policyUsersAllowed,n)||(e.policyUsersAllowed=n),c(n)}),i(),r(52,`
                `),i(),r(53,`
            `),i(),r(54,`
        `),i(),r(55,`
        `),i(),t(56,"c-card-body")(57,"c-nav",36)(58,"c-nav-item")(59,"button",37),r(60," General "),i()(),t(61,"c-nav-item")(62,"button",37),r(63," Email Alert Configurations "),i()(),t(64,"c-nav-item")(65,"button",37),r(66," User action preferences "),i()(),t(67,"c-nav-item",38)(68,"button",37),r(69," Search "),i()(),t(70,"c-nav-item")(71,"button",37),r(72," Advanced "),i()()(),t(73,"c-tab-content",39,2)(75,"c-tab-pane",40)(76,"div",15)(77,"div",23),_(78,"br"),t(79,"legend",41),r(80,"Backup Information"),i(),t(81,"div",24)(82,"label",42),r(83,"Schedules - "),t(84,"a",43),u("click",function(){return d(l),c(e.addNewSchedule())}),r(85,"Create New Schedule"),i()(),t(86,"mat-form-field",44)(87,"mat-select",45),y("ngModelChange",function(n){return d(l),f(e.checkedListSchedule,n)||(e.checkedListSchedule=n),c(n)}),u("selectionChange",function(){return d(l),c(e.onScheduleChange())}),w(88,Ut,2,2,"mat-option",46),i()()()(),t(89,"div",47),_(90,"br")(91,"br"),w(92,Ot,13,0,"div",48),i(),t(93,"div",23)(94,"div",24)(95,"label",49),r(96,"'No Backup' windows - "),t(97,"a",43),u("click",function(){return d(l),c(e.addNewNoBackupSchedule())}),r(98,"Create New 'No backp' window"),i()(),t(99,"mat-form-field",50)(100,"mat-select",51),y("ngModelChange",function(n){return d(l),f(e.checkedListNoBackupSchedule,n)||(e.checkedListNoBackupSchedule=n),c(n)}),u("selectionChange",function(){return d(l),c(e.onNoBackupScheduleChange())}),w(101,Rt,2,2,"mat-option",46),i()()()(),t(102,"div",47),w(103,zt,13,0,"div",48),i(),t(104,"div",23)(105,"div",24)(106,"label",52),r(107,"Maximum number of Versions Allowed"),i(),t(108,"div",15)(109,"div",53)(110,"c-form-check",54)(111,"input",55),y("ngModelChange",function(n){return d(l),f(e.isVersionEnabled,n)||(e.isVersionEnabled=n),c(n)}),u("change",function(){return d(l),c(e.toggleVersion())}),i()()(),t(112,"div",56)(113,"input",57),y("ngModelChange",function(n){return d(l),f(e.versions,n)||(e.versions=n),c(n)}),u("blur",function(){return d(l),c(e.myFunctionVer())}),i(),t(114,"span",58),r(115),i()()()(),t(116,"div",24)(117,"label",59),r(118,"Maximum Permissible File Size (In MB)"),i(),t(119,"div",15)(120,"div",53)(121,"c-form-check",54)(122,"input",60),y("ngModelChange",function(n){return d(l),f(e.isSizeEnabled,n)||(e.isSizeEnabled=n),c(n)}),u("change",function(){return d(l),c(e.toggleSize())}),i()()(),t(123,"div",56)(124,"input",61),y("ngModelChange",function(n){return d(l),f(e.maxPermissibleFileSize,n)||(e.maxPermissibleFileSize=n),c(n)}),u("blur",function(){return d(l),c(e.myFunctionMPS())}),i(),t(125,"span",62),r(126),i()()()(),t(127,"div",24)(128,"label",63),r(129,"Per Asset Backup Storage Limit (In GB)"),i(),t(130,"div",15)(131,"div",53)(132,"c-form-check",54)(133,"input",64),y("ngModelChange",function(n){return d(l),f(e.isLimitEnabled,n)||(e.isLimitEnabled=n),c(n)}),u("change",function(){return d(l),c(e.toggleLimit())}),i()()(),t(134,"div",56)(135,"input",65),y("ngModelChange",function(n){return d(l),f(e.perUserBackupStorageLimit,n)||(e.perUserBackupStorageLimit=n),c(n)}),u("blur",function(){return d(l),c(e.myFunctionUBS())}),i(),t(136,"span",66),r(137),i()()()()()(),t(138,"div",15)(139,"div",23)(140,"legend",41),r(141,"Asset Information"),i(),t(142,"div",24)(143,"label",67),r(144,"Maximum Assets Allowed"),i(),t(145,"input",68),y("ngModelChange",function(n){return d(l),f(e.noOfDevicesAllowed,n)||(e.noOfDevicesAllowed=n),c(n)}),u("blur",function(){return d(l),c(e.myFunctionDevice())}),i(),t(146,"span",69),r(147),i()(),t(148,"div",70)(149,"label",71),r(150,"Operating System Type"),i(),t(151,"select",72),y("ngModelChange",function(n){return d(l),f(e.osType,n)||(e.osType=n),c(n)}),t(152,"option",73),r(153,"Universal"),i()()(),t(154,"div",24)(155,"label",74),r(156,"Default Folders to Backup"),i(),t(157,"c-input-group",21)(158,"input",75),y("ngModelChange",function(n){return d(l),f(e.defaultFoldersBackup,n)||(e.defaultFoldersBackup=n),c(n)}),u("keyup.enter",function(){return d(l),c(e.addDefaultFolder())}),i(),t(159,"button",76),u("click",function(){return d(l),c(e.addDefaultFolder())}),r(160,"Add"),i()()(),w(161,Kt,9,1,"div",77),t(162,"div",78)(163,"label",79),r(164,"Server User Name"),i(),t(165,"input",80),y("ngModelChange",function(n){return d(l),f(e.serverUserNameToSave,n)||(e.serverUserNameToSave=n),c(n)}),i()(),t(166,"div",78)(167,"label",81),r(168,"Server Password"),i(),t(169,"input",82),y("ngModelChange",function(n){return d(l),f(e.serverPasswordToSave,n)||(e.serverPasswordToSave=n),c(n)}),i()(),t(170,"div",24)(171,"label",83),r(172,"Exclusion Folder Name"),i(),t(173,"c-input-group",21)(174,"input",84),y("ngModelChange",function(n){return d(l),f(e.exclusionFolderName,n)||(e.exclusionFolderName=n),c(n)}),u("keyup.enter",function(){return d(l),c(e.addExclusionFolder())}),i(),t(175,"button",85),u("click",function(){return d(l),c(e.addExclusionFolder())}),r(176,"Add"),i()()(),t(177,"div")(178,"div",86)(179,"label",87),r(180,"Exceptions to exclusions"),i(),t(181,"c-input-group",21)(182,"input",88),y("ngModelChange",function(n){return d(l),f(e.exceptionFolderName,n)||(e.exceptionFolderName=n),c(n)}),u("keyup.enter",function(){return d(l),c(e.addExceptionFolder())}),i(),t(183,"button",89),u("click",function(){return d(l),c(e.addExceptionFolder())}),r(184,"Add"),i()()()(),t(185,"div",70)(186,"label",90),r(187,"Memory Utilization (In MB)"),i(),t(188,"input",91),y("ngModelChange",function(n){return d(l),f(e.memoryUtilization,n)||(e.memoryUtilization=n),c(n)}),i()(),t(189,"div",70)(190,"label",92),r(191,"CPU Utilization (In Percentage)"),i(),t(192,"input",93),y("ngModelChange",function(n){return d(l),f(e.cpuUtilization,n)||(e.cpuUtilization=n),c(n)}),i()(),t(193,"div",70)(194,"label",94),r(195,"DCM Enabled"),i(),t(196,"select",95),y("ngModelChange",function(n){return d(l),f(e.dcmEnabled,n)||(e.dcmEnabled=n),c(n)}),t(197,"option",96),r(198,"Enabled"),i(),t(199,"option",97),r(200,"Disabled"),i()()(),t(201,"div",70)(202,"label",98),r(203,"Client Dedup"),i(),t(204,"select",99),y("ngModelChange",function(n){return d(l),f(e.clientDedup,n)||(e.clientDedup=n),c(n)}),t(205,"option",100),r(206,"Enabled"),i(),t(207,"option",101),r(208,"Disabled"),i()()(),t(209,"div",70)(210,"label",102),r(211,"Maximun File Size For Backup Batch"),i(),_(212,"input",103),i()(),t(213,"div",47),_(214,"br")(215,"br"),t(216,"div",15)(217,"div",104)(218,"div",105)(219,"div",106)(220,"div",107)(221,"h5"),_(222,"i",108),r(223," Default Folders"),i()(),t(224,"div",109)(225,"div",110)(226,"div"),w(227,Gt,3,0,"ul",111)(228,Qt,2,0,"span",18),i()()()(),t(229,"div",112)(230,"div",113),_(231,"input",114),t(232,"label",115),r(233,"Backup SQL Database"),i()()(),w(234,Yt,10,2,"div",116),t(235,"div",106)(236,"div",107)(237,"h5"),_(238,"i",108),r(239," Excluded Folders"),i()(),t(240,"div",117)(241,"div",110)(242,"div"),w(243,$t,3,0,"ul",111)(244,ei,2,0,"span",18),i()()()(),t(245,"div",106)(246,"div",107)(247,"h5"),_(248,"i",108),r(249," Exceptions to exclusions "),t(250,"a",118),_(251,"i",119),i()()(),t(252,"div",117)(253,"div"),w(254,ii,3,0,"ul",111)(255,ni,2,0,"span",18),i()()()()()()()(),t(256,"div",15)(257,"div",23)(258,"legend",41),r(259,"Filters "),t(260,"a",120),_(261,"i",119),i()(),t(262,"div",24)(263,"label",121),r(264,"Filters - "),t(265,"a",43),u("click",function(){return d(l),c(e.addNewFilter())}),r(266,"Create New Filter"),i()(),_(267,"br"),t(268,"label",121),r(269,"Filter type"),i(),t(270,"select",122),y("ngModelChange",function(n){return d(l),f(e.filterType,n)||(e.filterType=n),c(n)}),u("change",function(n){return d(l),c(e.onSelectChangeFilterType(n))}),t(271,"option",123),r(272,"Inclusion"),i(),t(273,"option",124),r(274,"Exclusion"),i()(),t(275,"div",125),w(276,ri,3,0,"h5",126)(277,oi,3,0,"h5",127),t(278,"mat-form-field",128)(279,"mat-select",129),y("ngModelChange",function(n){return d(l),f(e.checkedListFilter,n)||(e.checkedListFilter=n),c(n)}),u("selectionChange",function(){return d(l),c(e.onFilterChange())}),w(280,li,2,2,"mat-option",46),i()()(),t(281,"div",130)(282,"div",53)(283,"c-form-check",54)(284,"input",131),y("ngModelChange",function(n){return d(l),f(e.applyFilterToExceptionsToExclusion,n)||(e.applyFilterToExceptionsToExclusion=n),c(n)}),i()()(),t(285,"span",132),r(286,"Apply filters to Exceptions To Exclusions"),i()()()(),t(287,"div",47),_(288,"br")(289,"br"),w(290,si,20,1,"div",133),i()()(),t(291,"c-tab-pane",40)(292,"div",15)(293,"div",104)(294,"legend",41),r(295,"Email Alert Configurations"),i()(),t(296,"div",134)(297,"div",24)(298,"select",135),y("ngModelChange",function(n){return d(l),f(e.createUserAdmins,n)||(e.createUserAdmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(299,"option",136),r(300,"Enabled"),i(),t(301,"option",137),r(302,"Disabled"),i()()()(),t(303,"div",134)(304,"div",24)(305,"select",138),y("ngModelChange",function(n){return d(l),f(e.createUserReadonlyadmins,n)||(e.createUserReadonlyadmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(306,"option",139),r(307,"Enabled"),i(),t(308,"option",137),r(309,"Disabled"),i()()()(),t(310,"div",16)(311,"div",24)(312,"label"),r(313,"User Created"),i(),t(314,"select",140),y("ngModelChange",function(n){return d(l),f(e.createUserUsers,n)||(e.createUserUsers=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(315,"option",141),r(316,"Enabled"),i(),t(317,"option",142),r(318,"Disabled"),i()()()(),t(319,"div",134)(320,"div",24)(321,"select",143),y("ngModelChange",function(n){return d(l),f(e.userDeletedAdmins,n)||(e.userDeletedAdmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(322,"option",136),r(323,"Enabled"),i(),t(324,"option",137),r(325,"Disabled"),i()()()(),t(326,"div",134)(327,"div",24)(328,"select",144),y("ngModelChange",function(n){return d(l),f(e.userDeletedReadonlyadmins,n)||(e.userDeletedReadonlyadmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(329,"option",139),r(330,"Enabled"),i(),t(331,"option",137),r(332,"Disabled"),i()()()(),t(333,"div",16)(334,"div",24)(335,"label"),r(336,"User Deleted"),i(),t(337,"select",145),y("ngModelChange",function(n){return d(l),f(e.userDeletedUsers,n)||(e.userDeletedUsers=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(338,"option",141),r(339,"Enabled"),i(),t(340,"option",142),r(341,"Disabled"),i()()()(),t(342,"div",134)(343,"div",24)(344,"select",146),y("ngModelChange",function(n){return d(l),f(e.userBlockedAdmins,n)||(e.userBlockedAdmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(345,"option",136),r(346,"Enabled"),i(),t(347,"option",137),r(348,"Disabled"),i()()()(),t(349,"div",134)(350,"div",24)(351,"select",147),y("ngModelChange",function(n){return d(l),f(e.userBlockedReadonlyadmins,n)||(e.userBlockedReadonlyadmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(352,"option",139),r(353,"Enabled"),i(),t(354,"option",137),r(355,"Disabled"),i()()()(),t(356,"div",16)(357,"div",24)(358,"label"),r(359,"User Blocked"),i(),t(360,"select",148),y("ngModelChange",function(n){return d(l),f(e.userBlockedUsers,n)||(e.userBlockedUsers=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(361,"option",141),r(362,"Enabled"),i(),t(363,"option",142),r(364,"Disabled"),i()()()(),t(365,"div",134)(366,"div",24)(367,"select",149),y("ngModelChange",function(n){return d(l),f(e.userLimitReachedAdmins,n)||(e.userLimitReachedAdmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(368,"option",136),r(369,"Enabled"),i(),t(370,"option",137),r(371,"Disabled"),i()()()(),t(372,"div",134)(373,"div",24)(374,"select",150),y("ngModelChange",function(n){return d(l),f(e.userLimitReachedReadonlyadmins,n)||(e.userLimitReachedReadonlyadmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(375,"option",139),r(376,"Enabled"),i(),t(377,"option",137),r(378,"Disabled"),i()()()(),t(379,"div",134)(380,"div",24)(381,"label"),r(382,"User Limit Reached"),i(),t(383,"select",151),y("ngModelChange",function(n){return d(l),f(e.userLimitReachedUsers,n)||(e.userLimitReachedUsers=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(384,"option",141),r(385,"Enabled"),i(),t(386,"option",142),r(387,"Disabled"),i()()()(),t(388,"div",134)(389,"div",24)(390,"select",152),y("ngModelChange",function(n){return d(l),f(e.deviceDeletedAdmins,n)||(e.deviceDeletedAdmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(391,"option",136),r(392,"Enabled"),i(),t(393,"option",137),r(394,"Disabled"),i()()()(),t(395,"div",134)(396,"div",24)(397,"select",153),y("ngModelChange",function(n){return d(l),f(e.deviceDeletedReadonlyadmins,n)||(e.deviceDeletedReadonlyadmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(398,"option",139),r(399,"Enabled"),i(),t(400,"option",137),r(401,"Disabled"),i()()()(),t(402,"div",16)(403,"div",24)(404,"label"),r(405,"Asset Deleted"),i(),t(406,"select",154),y("ngModelChange",function(n){return d(l),f(e.deviceDeletedUsers,n)||(e.deviceDeletedUsers=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(407,"option",141),r(408,"Enabled"),i(),t(409,"option",142),r(410,"Disabled"),i()()()(),t(411,"div",134)(412,"div",24)(413,"select",155),y("ngModelChange",function(n){return d(l),f(e.deviceBlockedAdmins,n)||(e.deviceBlockedAdmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(414,"option",136),r(415,"Enabled"),i(),t(416,"option",137),r(417,"Disabled"),i()()()(),t(418,"div",134)(419,"div",24)(420,"select",156),y("ngModelChange",function(n){return d(l),f(e.deviceBlockedReadonlyadmins,n)||(e.deviceBlockedReadonlyadmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(421,"option",139),r(422,"Enabled"),i(),t(423,"option",137),r(424,"Disabled"),i()()()(),t(425,"div",16)(426,"div",24)(427,"label"),r(428,"Asset Blocked"),i(),t(429,"select",157),y("ngModelChange",function(n){return d(l),f(e.deviceBlockedUsers,n)||(e.deviceBlockedUsers=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(430,"option",141),r(431,"Enabled"),i(),t(432,"option",142),r(433,"Disabled"),i()()()(),t(434,"div",134)(435,"div",24)(436,"select",158),y("ngModelChange",function(n){return d(l),f(e.deviceDecoupledAdmins,n)||(e.deviceDecoupledAdmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(437,"option",136),r(438,"Enabled"),i(),t(439,"option",137),r(440,"Disabled"),i()()()(),t(441,"div",134)(442,"div",24)(443,"select",159),y("ngModelChange",function(n){return d(l),f(e.deviceDecoupledReadonlyadmins,n)||(e.deviceDecoupledReadonlyadmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(444,"option",139),r(445,"Enabled"),i(),t(446,"option",137),r(447,"Disabled"),i()()()(),t(448,"div",16)(449,"div",24)(450,"label"),r(451,"Asset de-couple"),i(),t(452,"select",160),y("ngModelChange",function(n){return d(l),f(e.deviceDecoupledUsers,n)||(e.deviceDecoupledUsers=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(453,"option",141),r(454,"Enabled"),i(),t(455,"option",142),r(456,"Disabled"),i()()()(),t(457,"div",134)(458,"div",24)(459,"select",161),y("ngModelChange",function(n){return d(l),f(e.deviceLimitReachedAdmins,n)||(e.deviceLimitReachedAdmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(460,"option",136),r(461,"Enabled"),i(),t(462,"option",137),r(463,"Disabled"),i()()()(),t(464,"div",134)(465,"div",24)(466,"select",162),y("ngModelChange",function(n){return d(l),f(e.deviceLimitReachedReadonlyadmins,n)||(e.deviceLimitReachedReadonlyadmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(467,"option",139),r(468,"Enabled"),i(),t(469,"option",137),r(470,"Disabled"),i()()()(),t(471,"div",16)(472,"div",24)(473,"label"),r(474,"Asset Limit Reached"),i(),t(475,"select",163),y("ngModelChange",function(n){return d(l),f(e.deviceLimitReachedUsers,n)||(e.deviceLimitReachedUsers=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(476,"option",141),r(477,"Enabled"),i(),t(478,"option",142),r(479,"Disabled"),i()()()(),t(480,"div",134)(481,"div",24)(482,"select",164),y("ngModelChange",function(n){return d(l),f(e.weeklyBkpreportAdmins,n)||(e.weeklyBkpreportAdmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(483,"option",136),r(484,"Enabled"),i(),t(485,"option",137),r(486,"Disabled"),i()()()(),t(487,"div",134)(488,"div",24)(489,"select",165),y("ngModelChange",function(n){return d(l),f(e.weeklyBkpreportReadonlyadmins,n)||(e.weeklyBkpreportReadonlyadmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(490,"option",139),r(491,"Enabled"),i(),t(492,"option",137),r(493,"Disabled"),i()()()(),t(494,"div",16)(495,"div",24)(496,"label"),r(497,"Weekly backup report"),i(),t(498,"select",166),y("ngModelChange",function(n){return d(l),f(e.weeklyBkpreportUsers,n)||(e.weeklyBkpreportUsers=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(499,"option",141),r(500,"Enabled"),i(),t(501,"option",142),r(502,"Disabled"),i()()()(),t(503,"div",134)(504,"div",24)(505,"select",167),y("ngModelChange",function(n){return d(l),f(e.firstBkpCompletedAdmins,n)||(e.firstBkpCompletedAdmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(506,"option",136),r(507,"Enabled"),i(),t(508,"option",137),r(509,"Disabled"),i()()()(),t(510,"div",134)(511,"div",24)(512,"select",168),y("ngModelChange",function(n){return d(l),f(e.firstBkpCompletedReadonlyadmins,n)||(e.firstBkpCompletedReadonlyadmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(513,"option",139),r(514,"Enabled"),i(),t(515,"option",137),r(516,"Disabled"),i()()()(),t(517,"div",16)(518,"div",24)(519,"label"),r(520,"First backup completed"),i(),t(521,"select",169),y("ngModelChange",function(n){return d(l),f(e.firstBkpCompletedUsers,n)||(e.firstBkpCompletedUsers=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(522,"option",141),r(523,"Enabled"),i(),t(524,"option",142),r(525,"Disabled"),i()()()(),t(526,"div",134)(527,"div",24)(528,"select",170),y("ngModelChange",function(n){return d(l),f(e.restoreInitiatedAdmins,n)||(e.restoreInitiatedAdmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(529,"option",136),r(530,"Enabled"),i(),t(531,"option",137),r(532,"Disabled"),i()()()(),t(533,"div",134)(534,"div",24)(535,"select",171),y("ngModelChange",function(n){return d(l),f(e.restoreInitiatedReadonlyadmins,n)||(e.restoreInitiatedReadonlyadmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(536,"option",139),r(537,"Enabled"),i(),t(538,"option",137),r(539,"Disabled"),i()()()(),t(540,"div",16)(541,"div",24)(542,"label"),r(543,"Restore initiated"),i(),t(544,"select",172),y("ngModelChange",function(n){return d(l),f(e.restoreInitiatedUsers,n)||(e.restoreInitiatedUsers=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(545,"option",141),r(546,"Enabled"),i(),t(547,"option",142),r(548,"Disabled"),i()()()(),t(549,"div",134)(550,"div",24)(551,"select",173),y("ngModelChange",function(n){return d(l),f(e.restoreCompletedAdmins,n)||(e.restoreCompletedAdmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(552,"option",136),r(553,"Enabled"),i(),t(554,"option",137),r(555,"Disabled"),i()()()(),t(556,"div",134)(557,"div",24)(558,"select",174),y("ngModelChange",function(n){return d(l),f(e.restoreCompletedReadonlyadmins,n)||(e.restoreCompletedReadonlyadmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(559,"option",139),r(560,"Enabled"),i(),t(561,"option",137),r(562,"Disabled"),i()()()(),t(563,"div",16)(564,"div",24)(565,"label"),r(566,"Restore completed"),i(),t(567,"select",175),y("ngModelChange",function(n){return d(l),f(e.restoreCompletedUsers,n)||(e.restoreCompletedUsers=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(568,"option",141),r(569,"Enabled"),i(),t(570,"option",142),r(571,"Disabled"),i()()()(),t(572,"div",134)(573,"div",24)(574,"select",176),y("ngModelChange",function(n){return d(l),f(e.storageLimitReachedAdmins,n)||(e.storageLimitReachedAdmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(575,"option",136),r(576,"Enabled"),i(),t(577,"option",137),r(578,"Disabled"),i()()()(),t(579,"div",134)(580,"div",24)(581,"select",177),y("ngModelChange",function(n){return d(l),f(e.storageLimitReachedReadonlyadmins,n)||(e.storageLimitReachedReadonlyadmins=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(582,"option",139),r(583,"Enabled"),i(),t(584,"option",137),r(585,"Disabled"),i()()()(),t(586,"div",16)(587,"div",24)(588,"label"),r(589,"Storage limit reached"),i(),t(590,"select",178),y("ngModelChange",function(n){return d(l),f(e.storageLimitReachedUsers,n)||(e.storageLimitReachedUsers=n),c(n)}),u("change",function(){return d(l),c(e.updateOutput())}),t(591,"option",141),r(592,"Enabled"),i(),t(593,"option",142),r(594,"Disabled"),i()()()()()(),t(595,"c-tab-pane",40)(596,"div",15)(597,"div",104)(598,"legend",41),r(599,"Agent "),t(600,"a",179),_(601,"i",119),i()()(),t(602,"div",16)(603,"div",24)(604,"label",180),r(605,"My Backup Files"),i(),t(606,"select",181),u("change",function(){return d(l),c(e.updatePreferences())}),t(607,"option",100),r(608,"Enabled"),i(),t(609,"option",101),r(610,"Disabled"),i()()(),t(611,"div",24)(612,"label",180),r(613,"Settings"),i(),t(614,"select",182),u("change",function(){return d(l),c(e.updatePreferences())}),t(615,"option",100),r(616,"Enabled"),i(),t(617,"option",101),r(618,"Disabled"),i()()(),t(619,"div",24)(620,"label",180),r(621,"Initiate Backup"),i(),t(622,"select",183),u("change",function(){return d(l),c(e.updatePreferences())}),t(623,"option",100),r(624,"Enabled"),i(),t(625,"option",101),r(626,"Disabled"),i()()(),t(627,"div",24)(628,"label",180),r(629,"Stop Backup"),i(),t(630,"select",184),u("change",function(){return d(l),c(e.updatePreferences())}),t(631,"option",100),r(632,"Enabled"),i(),t(633,"option",101),r(634,"Disabled"),i()()(),t(635,"div",24)(636,"label",180),r(637,"Support"),i(),t(638,"select",185),u("change",function(){return d(l),c(e.updatePreferences())}),t(639,"option",100),r(640,"Enabled"),i(),t(641,"option",101),r(642,"Disabled"),i()()(),t(643,"div",24)(644,"label",186),r(645,"About"),i(),t(646,"select",187),u("change",function(){return d(l),c(e.updatePreferences())}),t(647,"option",100),r(648,"Enabled"),i(),t(649,"option",101),r(650,"Disabled"),i()()(),t(651,"div",70)(652,"label",188),r(653,"Block Notifications"),i(),t(654,"select",189),u("change",function(){return d(l),c(e.updatePreferences())}),t(655,"option",96),r(656,"Enabled"),i(),t(657,"option",97),r(658,"Disabled"),i()()(),t(659,"div",24)(660,"label",190),r(661,"Systray Icon"),i(),t(662,"select",191),u("change",function(){return d(l),c(e.updatePreferences())}),t(663,"option",100),r(664,"Enabled"),i(),t(665,"option",101),r(666,"Disabled"),i()()()(),t(667,"div",16)(668,"div",24)(669,"label",180),r(670,"Restore"),i(),t(671,"select",192),u("change",function(){return d(l),c(e.updatePreferences())}),t(672,"option",100),r(673,"Enabled"),i(),t(674,"option",101),r(675,"Disabled"),i()()(),t(676,"div",24)(677,"label",180),r(678,"Refresh Policy"),i(),t(679,"select",193),u("change",function(){return d(l),c(e.updatePreferences())}),t(680,"option",100),r(681,"Enabled"),i(),t(682,"option",101),r(683,"Disabled"),i()()(),t(684,"div",24)(685,"label",194),r(686,"Pause Backup"),i(),t(687,"select",195),u("change",function(){return d(l),c(e.updatePreferences())}),t(688,"option",100),r(689,"Enabled"),i(),t(690,"option",101),r(691,"Disabled"),i()()(),t(692,"div",24)(693,"label",196),r(694,"Update Agent"),i(),t(695,"select",197),u("change",function(){return d(l),c(e.updatePreferences())}),t(696,"option",100),r(697,"Enabled"),i(),t(698,"option",101),r(699,"Disabled"),i()()(),t(700,"div",24)(701,"label",180),r(702,"Decouple"),i(),t(703,"select",198),u("change",function(){return d(l),c(e.updatePreferences())}),t(704,"option",100),r(705,"Enabled"),i(),t(706,"option",101),r(707,"Disabled"),i()()(),t(708,"div",24)(709,"label",180),r(710,"Network Settings"),i(),t(711,"select",199),u("change",function(){return d(l),c(e.updatePreferences())}),t(712,"option",100),r(713,"Enabled"),i(),t(714,"option",101),r(715,"Disabled"),i()()(),t(716,"div",78)(717,"label",200),r(718,"Disallow Admin Restores"),i(),t(719,"select",201),u("change",function(){return d(l),c(e.updatePreferences())}),t(720,"option",96),r(721,"Enabled"),i(),t(722,"option",97),r(723,"Disabled"),i()()(),t(724,"div",24)(725,"label",180),r(726,"Exit"),i(),t(727,"select",202),u("change",function(){return d(l),c(e.updatePreferences())}),t(728,"option",100),r(729,"Enabled"),i(),t(730,"option",101),r(731,"Disabled"),i()()()()(),t(732,"div",15)(733,"div",203)(734,"legend",41),r(735,"Portal "),t(736,"a",204),_(737,"i",119),i()(),t(738,"div",16)(739,"div",205)(740,"label",206),r(741,"Open"),i(),t(742,"select",207),u("change",function(){return d(l),c(e.updateMenuOptions())}),t(743,"option",100),r(744,"Enabled"),i(),t(745,"option",101),r(746,"Disabled"),i()()(),t(747,"div",208)(748,"label",209),r(749,"Versions"),i(),t(750,"select",210),u("change",function(){return d(l),c(e.updateMenuOptions())}),t(751,"option",100),r(752,"Enabled"),i(),t(753,"option",101),r(754,"Disabled"),i()()(),t(755,"div",211)(756,"label",212),r(757,"Download"),i(),t(758,"select",213),u("change",function(){return d(l),c(e.updateMenuOptions())}),t(759,"option",100),r(760,"Enabled"),i(),t(761,"option",101),r(762,"Disabled"),i()()()(),t(763,"div",16)(764,"div",214)(765,"label",215),r(766,"View"),i(),t(767,"select",216),u("change",function(){return d(l),c(e.updateMenuOptions())}),t(768,"option",100),r(769,"Enabled"),i(),t(770,"option",101),r(771,"Disabled"),i()()(),t(772,"div",217)(773,"label",218),r(774,"Share"),i(),t(775,"select",219),u("change",function(){return d(l),c(e.updateMenuOptions())}),t(776,"option",96),r(777,"Enabled"),i(),t(778,"option",97),r(779,"Disabled"),i()()(),t(780,"div",220)(781,"label",221),r(782,"Restore"),i(),t(783,"select",222),u("change",function(){return d(l),c(e.updateMenuOptions())}),t(784,"option",100),r(785,"Enabled"),i(),t(786,"option",101),r(787,"Disabled"),i()()()()()(),t(788,"div",223)(789,"div",104)(790,"legend",41),r(791,"Share Details"),i(),t(792,"div",224)(793,"div",24)(794,"div",113),_(795,"input",225),t(796,"label",226),r(797,"Enable Domain Control"),i()()(),t(798,"div",15)(799,"div",227)(800,"label",228),r(801,"Share Domain Inclusions/Exclusions"),i(),_(802,"input",229),i(),t(803,"div",230)(804,"div",231),_(805,"input",232),t(806,"label",233),r(807,"Share only with these Email domains"),i(),_(808,"br")(809,"input",234),t(810,"label",233),r(811,"Share with all Email domains excepting these"),i()()()()(),t(812,"div",235)(813,"div",236)(814,"label",237),_(815,"input",238)(816,"div",239),i()(),t(817,"span",132),r(818,"Allow sharer visibility to the shared link"),i()(),t(819,"div",224)(820,"div",24)(821,"div",113),_(822,"input",240),t(823,"label",241),r(824,"Highly Secure Sharing"),i()()(),t(825,"div",203)(826,"div",242)(827,"div",243)(828,"label",237),_(829,"input",244)(830,"div",239),i()(),t(831,"span",132),r(832,"Complex Password"),i()(),t(833,"div",242)(834,"div",245)(835,"label",237),_(836,"input",246)(837,"div",239),i()(),t(838,"span",132),r(839,"Allow Download"),i()(),t(840,"div",242)(841,"div",247)(842,"label",237),_(843,"input",248)(844,"div",239),i()(),t(845,"span",132),r(846,"Require Expiration Date for shared data"),i()(),t(847,"div",242)(848,"div",249)(849,"label",237),_(850,"input",250)(851,"div",239),i()(),t(852,"span",132),r(853,"Enable multi-factor authentication"),i()()()()()()(),t(854,"c-tab-pane",40)(855,"div",15)(856,"div",104)(857,"legend",41),r(858,"Search "),t(859,"a",251),_(860,"i",119),i()(),t(861,"div",16)(862,"div",252)(863,"label",253),r(864,"Content Index"),i(),t(865,"select",254),y("ngModelChange",function(n){return d(l),f(e.contentIndexEnabled,n)||(e.contentIndexEnabled=n),c(n)}),t(866,"option",100),r(867,"Enabled"),i(),t(868,"option",101),r(869,"Disabled"),i()()()()()(),t(870,"div",15)(871,"div",23)(872,"legend",41),r(873,"Search Filters"),i(),t(874,"div",24)(875,"label",255),r(876,"filters - "),t(877,"a",256),u("click",function(){return d(l),c(e.addNewFilter())}),r(878,"Create New Filter"),i()(),_(879,"br"),t(880,"label",121),r(881,"Filter type"),i(),t(882,"select",257),y("ngModelChange",function(n){return d(l),f(e.searchFilterType,n)||(e.searchFilterType=n),c(n)}),u("change",function(n){return d(l),c(e.onSelectChangeSearchFilterType(n))}),t(883,"option",123),r(884,"Inclusion"),i(),t(885,"option",124),r(886,"Exclusion"),i()()(),t(887,"div",125),w(888,di,3,0,"h5",258)(889,ci,3,0,"h5",259),t(890,"mat-form-field",260)(891,"mat-select",261),y("ngModelChange",function(n){return d(l),f(e.checkedListSearchFilter,n)||(e.checkedListSearchFilter=n),c(n)}),u("selectionChange",function(){return d(l),c(e.onSearchFilterChange())}),w(892,mi,2,2,"mat-option",46),i()()()(),t(893,"div",47),_(894,"br")(895,"br"),w(896,ui,13,0,"div",133),i()()(),t(897,"c-tab-pane",40)(898,"div",15)(899,"div",23)(900,"legend",262),r(901,"partialFileAttributes"),i(),t(902,"div",263)(903,"label",264),r(904,"incrementalFileTransfer"),i(),t(905,"select",265)(906,"option",100),r(907,"Enabled"),i(),t(908,"option",101),r(909,"Disabled"),i()()(),_(910,"br"),t(911,"legend",41),r(912,"Throttling Attributes"),i(),t(913,"div",24)(914,"fieldset",266)(915,"label",267),r(916,"Throttle traffic at endpoint agent to"),i(),t(917,"div",268)(918,"c-form-check",54)(919,"input",269),y("ngModelChange",function(n){return d(l),f(e.isThrottleEnabled,n)||(e.isThrottleEnabled=n),c(n)}),u("change",function(){return d(l),c(e.toggleThrottle())}),i()()(),t(920,"div",15)(921,"div",16)(922,"input",270),y("ngModelChange",function(n){return d(l),f(e.nwFromClientToPGMB,n)||(e.nwFromClientToPGMB=n),c(n)}),u("blur",function(){return d(l),c(e.validateInput())}),i(),t(923,"span",271),r(924),i(),t(925,"span",272),r(926),i()(),t(927,"div",16)(928,"select",273),y("ngModelChange",function(n){return d(l),f(e.networkThrottlingUnit,n)||(e.networkThrottlingUnit=n),c(n)}),u("change",function(){return d(l),c(e.onUnitChange())}),t(929,"option",274),r(930,"Kbps"),i(),t(931,"option",275),r(932,"Mbps"),i(),t(933,"option",276),r(934,"Gbps"),i()()()()()(),t(935,"div",86)(936,"label",277),r(937,"CPU Throttling"),i(),_(938,"br"),t(939,"div",278)(940,"input",279),y("ngModelChange",function(n){return d(l),f(e.cpuThrottling,n)||(e.cpuThrottling=n),c(n)}),u("input",function(n){return d(l),c(e.onSliderChange(n))}),i(),t(941,"p"),r(942,"Value: "),t(943,"span",280),r(944),i()()()(),t(945,"div",70)(946,"label",281),r(947,"nwFromPGToCloud (In MBPS)"),i(),_(948,"input",282),i(),t(949,"div",70)(950,"label",283),r(951,"filesCrawlLimit"),i(),_(952,"input",284),i(),t(953,"div",70)(954,"label",285),r(955,"networkThrottling"),i(),t(956,"select",286)(957,"option",100),r(958,"Enabled"),i(),t(959,"option",101),r(960,"Disabled"),i()()()(),t(961,"div",287),_(962,"br")(963,"br"),t(964,"div",288)(965,"div",104)(966,"div",289)(967,"div",109)(968,"div",24)(969,"label",290),r(970,"partialFileSize (In MB)"),i(),_(971,"input",291),i(),t(972,"div",24)(973,"label",292),r(974,"fileChunkableSize (In MB)"),i(),_(975,"input",293),i()()()()()()(),t(976,"div",15)(977,"div",23)(978,"legend",41),r(979,"Options"),i(),t(980,"div",203)(981,"div",294)(982,"c-form-check",54)(983,"input",295),y("ngModelChange",function(n){return d(l),f(e.legalHold,n)||(e.legalHold=n),c(n)}),i()()(),t(984,"span",296),r(985,"Legal Hold"),i()(),t(986,"div",24)(987,"div",113)(988,"span",297),_(989,"input",298),t(990,"label",299),r(991,"System Folders"),i()()()(),w(992,hi,6,4,"div",300),t(993,"div",86)(994,"label",301),r(995,"Block assets which have not been heard from in"),i(),t(996,"div",15)(997,"div",53)(998,"c-form-check",54)(999,"input",302),y("ngModelChange",function(n){return d(l),f(e.switchnoOfDaysToKeepDeviceNotHeard,n)||(e.switchnoOfDaysToKeepDeviceNotHeard=n),c(n)}),u("change",function(){return d(l),c(e.toggleDeviceNotHeard())}),i()()(),t(1e3,"div",303)(1001,"input",304),y("ngModelChange",function(n){return d(l),f(e.noOfDaysToKeepDeviceNotHeard,n)||(e.noOfDaysToKeepDeviceNotHeard=n),c(n)}),u("blur",function(){return d(l),c(e.myFunctionnoOfDaysToKeepDeviceNotHeard())}),i(),t(1002,"span",305),r(1003),i()(),t(1004,"div",306)(1005,"label"),r(1006,"days"),i()()()(),t(1007,"div",86)(1008,"label",307),r(1009,"Delete users/assets which have not been active for"),i(),t(1010,"div",15)(1011,"div",53)(1012,"c-form-check",54)(1013,"input",308),y("ngModelChange",function(n){return d(l),f(e.switchnoOfDaysToKeepUserDeviceNotActive,n)||(e.switchnoOfDaysToKeepUserDeviceNotActive=n),c(n)}),u("change",function(){return d(l),c(e.toggleDeviceNotActive())}),i()()(),t(1014,"div",303)(1015,"input",309),y("ngModelChange",function(n){return d(l),f(e.noOfDaysToKeepUserDeviceNotActive,n)||(e.noOfDaysToKeepUserDeviceNotActive=n),c(n)}),u("blur",function(){return d(l),c(e.myFunctionnoOfDaysToKeepUserDeviceNotActive())}),i(),t(1016,"span",310),r(1017),i()(),t(1018,"div",306)(1019,"label"),r(1020,"days"),i()()()(),t(1021,"div",70)(1022,"label",311),r(1023,"Number of threads allowed for Backup"),i(),t(1024,"input",312),y("ngModelChange",function(n){return d(l),f(e.numberOfThreadsAllowedForBackup,n)||(e.numberOfThreadsAllowedForBackup=n),c(n)}),i()(),t(1025,"div",24)(1026,"label",313),r(1027,"Web Based Login"),i(),t(1028,"select",314),y("ngModelChange",function(n){return d(l),f(e.webBasedLogin,n)||(e.webBasedLogin=n),c(n)}),t(1029,"option",100),r(1030,"Enabled"),i(),t(1031,"option",101),r(1032,"Disabled"),i()()(),t(1033,"div",315)(1034,"label",316),r(1035,"Can Administrator Restore User Data"),i(),t(1036,"select",317),y("ngModelChange",function(n){return d(l),f(e.canAdminRestoreAll,n)||(e.canAdminRestoreAll=n),c(n)}),u("ngModelChange",function(){return d(l),c(e.flipAllowEndUserTocontrolRestore())}),t(1037,"option",318),r(1038,"Yes"),i(),t(1039,"option",318),r(1040,"No"),i()()(),t(1041,"div",319)(1042,"label",320),r(1043,"Allow end-user over-ride"),i(),t(1044,"select",321),y("ngModelChange",function(n){return d(l),f(e.allowEndUserTocontrolRestore,n)||(e.allowEndUserTocontrolRestore=n),c(n)}),t(1045,"option",318),r(1046,"Yes"),i(),t(1047,"option",318),r(1048,"No"),i()()(),t(1049,"div",315)(1050,"label",322),r(1051,"Can Administrator Delete User Data"),i(),t(1052,"select",323),y("ngModelChange",function(n){return d(l),f(e.isAdminDeleteBackupFile,n)||(e.isAdminDeleteBackupFile=n),c(n)}),t(1053,"option",318),r(1054,"Yes"),i(),t(1055,"option",318),r(1056,"No"),i()()(),w(1057,gi,8,1,"div",324)(1058,fi,10,1,"div",324),t(1059,"div",70)(1060,"label",325),r(1061,"Compression Enabled"),i(),t(1062,"select",326),y("ngModelChange",function(n){return d(l),f(e.compEnabled,n)||(e.compEnabled=n),c(n)}),t(1063,"option",100),r(1064,"Enabled"),i(),t(1065,"option",101),r(1066,"Disabled"),i()()(),t(1067,"div",327)(1068,"label",328),r(1069,"VSS"),i(),t(1070,"select",329),y("ngModelChange",function(n){return d(l),f(e.vssEnabled,n)||(e.vssEnabled=n),c(n)}),t(1071,"option",100),r(1072,"Enabled"),i(),t(1073,"option",101),r(1074,"Disabled"),i()()(),t(1075,"div",330)(1076,"label",331),r(1077,"Blukrypt Search Algorithm"),i(),t(1078,"select",332),y("ngModelChange",function(n){return d(l),f(e.searchAlgorithm,n)||(e.searchAlgorithm=n),c(n)}),u("change",function(){return d(l),c(e.onSearchAlgorithmChange())}),t(1079,"option",333),r(1080,"Nearest"),i(),t(1081,"option",334),r(1082,"Priority"),i()()(),w(1083,_i,7,4,"div",77),t(1084,"div",24)(1085,"label",335),r(1086,"Policy Refresh Frequency (In Hours)"),i(),t(1087,"input",336),y("ngModelChange",function(n){return d(l),f(e.policyRefresh,n)||(e.policyRefresh=n),c(n)}),i()(),t(1088,"div",70)(1089,"label",337),r(1090,"Capture Unaccessed Items"),i(),t(1091,"div",56)(1092,"label",237)(1093,"input",338),y("ngModelChange",function(n){return d(l),f(e.switchlogUnaccessedFiles,n)||(e.switchlogUnaccessedFiles=n),c(n)}),i(),_(1094,"div",239),i()()(),t(1095,"div",24)(1096,"fieldset",266)(1097,"label",339),r(1098,"Endpoint Domain Check"),i(),t(1099,"div",56)(1100,"c-form-check",54)(1101,"input",340),y("ngModelChange",function(n){return d(l),f(e.switchAllowedDomains,n)||(e.switchAllowedDomains=n),c(n)}),i()()(),t(1102,"div",104)(1103,"label",341),r(1104,"Allowed Domains"),i(),t(1105,"input",342),y("ngModelChange",function(n){return d(l),f(e.allowedDomains,n)||(e.allowedDomains=n),c(n)}),i()()()(),t(1106,"div",24)(1107,"label",343),r(1108,"Auto Update Agent"),i(),t(1109,"select",344),y("ngModelChange",function(n){return d(l),f(e.autoUpdateAgent,n)||(e.autoUpdateAgent=n),c(n)}),t(1110,"option",96),r(1111,"Enabled"),i(),t(1112,"option",97),r(1113,"Disabled"),i()()(),t(1114,"div",24)(1115,"div",125)(1116,"label",104),r(1117,"Agent uninstallation password"),i(),t(1118,"div",53)(1119,"c-form-check",54)(1120,"input",345),y("ngModelChange",function(n){return d(l),f(e.isPasswordEnabled,n)||(e.isPasswordEnabled=n),c(n)}),u("ngModelChange",function(){return d(l),c(e.togglePasswordFields())}),i()()(),t(1121,"div",346)(1122,"input",347),y("ngModelChange",function(n){return d(l),f(e.agentPassword,n)||(e.agentPassword=n),c(n)}),i(),t(1123,"span",348),u("mousedown",function(){return d(l),c(e.showPassword("agentPassword"))})("mouseup",function(){return d(l),c(e.hidePassword("agentPassword"))})("mouseleave",function(){return d(l),c(e.hidePassword("agentPassword"))}),i(),w(1124,Si,3,0,"div",18),t(1125,"input",349),y("ngModelChange",function(n){return d(l),f(e.agentRePassword,n)||(e.agentRePassword=n),c(n)}),u("ngModelChange",function(){return d(l),c(e.checkPasswordsMatch())}),i(),w(1126,Ci,3,0,"div",18),i()()(),t(1127,"div",24)(1128,"label",350),r(1129,"Backup Hidden Files"),i(),t(1130,"select",351),y("ngModelChange",function(n){return d(l),f(e.canBackupHiddenFiles,n)||(e.canBackupHiddenFiles=n),c(n)}),t(1131,"option",100),r(1132,"Enabled"),i(),t(1133,"option",101),r(1134,"Disabled"),i()()(),t(1135,"div",352)(1136,"span",353)(1137,"p"),r(1138,"Fairness Algorithm"),i()(),t(1139,"div",354)(1140,"label",237),_(1141,"input",355)(1142,"div",239),i()(),t(1143,"div",56),_(1144,"input",356)(1145,"span",62),i()(),t(1146,"div",24)(1147,"label",357),r(1148,"Enable Download Agent"),i(),t(1149,"a",358),_(1150,"i",119),i(),t(1151,"select",359),y("ngModelChange",function(n){return d(l),f(e.downloadAgent,n)||(e.downloadAgent=n),c(n)}),t(1152,"option",100),r(1153,"Enabled"),i(),t(1154,"option",101),r(1155,"Disabled"),i()()(),t(1156,"div",24)(1157,"span",15)(1158,"p"),r(1159,"Purge deleted files from the catalog after"),i()(),t(1160,"div",360)(1161,"div",361)(1162,"c-form-check",54)(1163,"input",362),y("ngModelChange",function(n){return d(l),f(e.switchnoOfDaysToKeepDeletedFiles,n)||(e.switchnoOfDaysToKeepDeletedFiles=n),c(n)}),u("change",function(){return d(l),c(e.toggleDeletedFiles())}),i()()(),t(1164,"div",16)(1165,"input",363),y("ngModelChange",function(n){return d(l),f(e.noOfDaysToKeepDeletedFiles,n)||(e.noOfDaysToKeepDeletedFiles=n),c(n)}),u("blur",function(){return d(l),c(e.myFunctionnoOfDaysToKeepDeletedFiles())}),i(),t(1166,"span",364),r(1167),i()(),t(1168,"div",53),r(1169," days "),i()(),t(1170,"div",24)(1171,"span",15)(1172,"p"),r(1173,"User Consent Display Text"),i()(),t(1174,"div",360)(1175,"div",361)(1176,"c-form-check",54)(1177,"input",365),y("ngModelChange",function(n){return d(l),f(e.switchuserConsentEnabled,n)||(e.switchuserConsentEnabled=n),c(n)}),i()()(),t(1178,"div",346)(1179,"textarea",366),y("ngModelChange",function(n){return d(l),f(e.userConsentDisplayText,n)||(e.userConsentDisplayText=n),c(n)}),i()()()()(),t(1180,"div",15)(1181,"div",303)(1182,"label",367),r(1183,"Enable Pre Scan Command"),i(),_(1184,"br"),t(1185,"c-form-check",54)(1186,"input",368),y("ngModelChange",function(n){return d(l),f(e.preScanCommandEnabled,n)||(e.preScanCommandEnabled=n),c(n)}),u("change",function(){return d(l),c(e.togglePreScan())}),i()()(),t(1187,"div",369)(1188,"label",370),r(1189,"Pre Scan Command Path"),i(),t(1190,"input",371),y("ngModelChange",function(n){return d(l),f(e.preScanCommand,n)||(e.preScanCommand=n),c(n)}),u("input",function(){return d(l),c(e.checkPreScanCommand())}),i(),t(1191,"span",372),r(1192),i()(),t(1193,"div",373)(1194,"div",24)(1195,"label",374),r(1196,"Continue backup on command-failure"),i(),t(1197,"input",375),y("ngModelChange",function(n){return d(l),f(e.continueOnPreScan,n)||(e.continueOnPreScan=n),c(n)}),i()()()(),t(1198,"div",15)(1199,"div",303)(1200,"label",376),r(1201,"Enable Pre Backup Command"),i(),_(1202,"br"),t(1203,"c-form-check",54)(1204,"input",377),y("ngModelChange",function(n){return d(l),f(e.preBackupCommandEnabled,n)||(e.preBackupCommandEnabled=n),c(n)}),u("change",function(){return d(l),c(e.togglePreBackup())}),i()()(),t(1205,"div",369)(1206,"label",378),r(1207,"Pre Backup Command Path"),i(),t(1208,"input",379),y("ngModelChange",function(n){return d(l),f(e.preBackupCommand,n)||(e.preBackupCommand=n),c(n)}),u("input",function(){return d(l),c(e.checkPreBackupCommand())}),i(),t(1209,"span",380),r(1210),i()(),t(1211,"div",373)(1212,"div",24)(1213,"label",381),r(1214,"Continue backup on command-failure"),i(),t(1215,"input",382),y("ngModelChange",function(n){return d(l),f(e.continueOnPreBkp,n)||(e.continueOnPreBkp=n),c(n)}),i()()()(),t(1216,"div",15)(1217,"div",303)(1218,"label",383),r(1219,"Enable Post Backup Command"),i(),_(1220,"br"),t(1221,"c-form-check",54)(1222,"input",384),y("ngModelChange",function(n){return d(l),f(e.postBackupCommandEnabled,n)||(e.postBackupCommandEnabled=n),c(n)}),u("change",function(){return d(l),c(e.togglePostBackup())}),i()()(),t(1223,"div",369)(1224,"label",385),r(1225,"Post Backup Command Path"),i(),t(1226,"input",386),y("ngModelChange",function(n){return d(l),f(e.postBackupCommand,n)||(e.postBackupCommand=n),c(n)}),u("input",function(){return d(l),c(e.checkPostBackupCommand())}),i(),t(1227,"span",387),r(1228),i()(),t(1229,"div",373)(1230,"div",24)(1231,"label",388),r(1232,"Continue backup on command-failure"),i(),t(1233,"input",389),y("ngModelChange",function(n){return d(l),f(e.continueOnPostBkp,n)||(e.continueOnPostBkp=n),c(n)}),i()()()(),t(1234,"div",70)(1235,"label",390),r(1236,"Full Backup Enabled"),i(),t(1237,"select",391)(1238,"option",96),r(1239,"Enabled"),i(),t(1240,"option",97),r(1241,"Disabled"),i()()(),t(1242,"div",392)(1243,"label",393),r(1244,"Full Backup Start Date"),i(),_(1245,"input",394),i()()(),t(1246,"div",15)(1247,"div",23)(1248,"legend",41),r(1249,"Password Enforcement "),t(1250,"a",395),_(1251,"i",119),i()(),t(1252,"div",315)(1253,"label",396),r(1254,"Can User Change Password"),i(),t(1255,"select",397),y("ngModelChange",function(n){return d(l),f(e.canUserChangePassword,n)||(e.canUserChangePassword=n),c(n)}),t(1256,"option",398),r(1257,"Enabled"),i(),t(1258,"option",399),r(1259,"Disabled"),i()()(),t(1260,"div",315)(1261,"label",400),r(1262,"Can Admin Change User Password"),i(),t(1263,"select",401),y("ngModelChange",function(n){return d(l),f(e.canAdminChangeUserPassword,n)||(e.canAdminChangeUserPassword=n),c(n)}),t(1264,"option",399),r(1265,"Enabled"),i(),t(1266,"option",398),r(1267,"Disabled"),i()()()()(),t(1268,"div",15)(1269,"div",104)(1270,"c-callout",402),r(1271," Grayed out options are currently controlled in Cloud Properties. Please speak to you Administrator or visit the Cloud Properties page to change their behavior. "),_(1272,"br"),r(1273,"Both password enforcement options cannot be disabled at same time. "),i()()()()(),t(1274,"div",15)(1275,"div",16)(1276,"a",403),u("click",function(){return d(l),c(e.submitPolicy())}),r(1277,"Save"),i(),t(1278,"a",404),u("click",function(){return d(l),c(e.sendMeTo("/pms/policy"))}),r(1279,"Cancel"),i()()()()()()()(),t(1280,"div",405)(1281,"div",406)(1282,"div",407)(1283,"div",408)(1284,"div",409)(1285,"h4",410),r(1286,"Configure SQL Server"),i()(),t(1287,"div",411)(1288,"div",86)(1289,"label",412),r(1290,"SQL Server User Name"),i(),t(1291,"input",413),y("ngModelChange",function(n){return d(l),f(e.serverUserName,n)||(e.serverUserName=n),c(n)}),i()(),t(1292,"div",86)(1293,"label",414),r(1294,"SQL Server Password"),i(),t(1295,"input",415),y("ngModelChange",function(n){return d(l),f(e.serverPassword,n)||(e.serverPassword=n),c(n)}),i(),t(1296,"span",416),u("mousedown",function(){return d(l),c(e.showPasswordSQL("serverPassword"))})("mouseup",function(){return d(l),c(e.hidePasswordSQL("serverPassword"))})("mouseleave",function(){return d(l),c(e.hidePasswordSQL("serverPassword"))}),i()(),t(1297,"div",86)(1298,"label",417),r(1299,"Re-Type SQL Server Password"),i(),t(1300,"input",418),y("ngModelChange",function(n){return d(l),f(e.serverRePassword,n)||(e.serverRePassword=n),c(n)}),i()()(),t(1301,"div",419)(1302,"button",420),u("click",function(){return d(l),c(e.closeSqlServerDetails())}),r(1303,"Close"),i(),t(1304,"button",421),u("click",function(){return d(l),c(e.addSqlServerDetails())}),r(1305,"Save"),i()()()()(),t(1306,"div",422)(1307,"div",407)(1308,"form",423)(1309,"div",424)(1310,"div",409)(1311,"h4",410),r(1312,"Confirm Add"),i(),t(1313,"button",425)(1314,"span",426),r(1315,"\xD7"),i()()(),t(1316,"div",411)(1317,"p"),r(1318,"Are you sure, you want to add the folder path"),i()(),t(1319,"div",419)(1320,"button",427),r(1321,"Close"),i(),t(1322,"button",428),r(1323,"Save"),i()()()()()(),t(1324,"div",429)(1325,"div",407)(1326,"form",430)(1327,"div",424)(1328,"div",409)(1329,"h4",410),r(1330,"Confirm Add"),i(),t(1331,"button",425)(1332,"span",426),r(1333,"\xD7"),i()()(),t(1334,"div",411)(1335,"p"),r(1336,"Are you sure, you want to add the folder path"),i()(),t(1337,"div",419)(1338,"button",427),r(1339,"Close"),i(),t(1340,"button",428),r(1341,"Save"),i()()()()()(),t(1342,"div",422)(1343,"div",407)(1344,"form",423)(1345,"div",424)(1346,"div",409)(1347,"h4",410),r(1348,"Confirm Add"),i(),t(1349,"button",425)(1350,"span",426),r(1351,"\xD7"),i()()(),t(1352,"div",411)(1353,"p"),r(1354,"Are you sure, you want to add the folder path"),i()(),t(1355,"div",419)(1356,"button",427),r(1357,"Close"),i(),t(1358,"button",428),r(1359,"Save"),i()()()()()(),t(1360,"div",429)(1361,"div",407)(1362,"form",430)(1363,"div",424)(1364,"div",409)(1365,"h4",410),r(1366,"Confirm Add"),i(),t(1367,"button",425)(1368,"span",426),r(1369,"\xD7"),i()()(),t(1370,"div",411)(1371,"p"),r(1372,"Are you sure, you want to add the folder path"),i()(),t(1373,"div",419)(1374,"button",427),r(1375,"Close"),i(),t(1376,"button",428),r(1377,"Save"),i()()()()()(),t(1378,"div",431)(1379,"div",407)(1380,"form",432)(1381,"div",424)(1382,"div",409)(1383,"h4",410),r(1384,"Confirm Add"),i(),t(1385,"button",425)(1386,"span",426),r(1387,"\xD7"),i()()(),t(1388,"div",411)(1389,"p"),r(1390,"Are you sure, you want to add the folder path"),i()(),t(1391,"div",419)(1392,"button",427),r(1393,"Close"),i(),t(1394,"button",428),r(1395,"Save"),i()()()()()(),t(1396,"div",433)(1397,"div",434)(1398,"div",408)(1399,"div",435)(1400,"h4",436),r(1401,"Create Schedule"),i(),t(1402,"a",437),u("click",function(){return d(l),c(e.closeSchCreateModal())}),_(1403,"i",438),i()(),t(1404,"form",19,3),u("ngSubmit",function(){d(l);let n=B(1405);return c(e.submitCreateSchedule(n))}),t(1406,"div",411)(1407,"div",24)(1408,"label",439),r(1409,"Schedule Name"),i(),t(1410,"input",440,4),y("ngModelChange",function(n){return d(l),f(e.scheduleModel.scheduleName,n)||(e.scheduleModel.scheduleName=n),c(n)}),u("input",function(){return d(l),c(e.validateScheduleName())}),i(),w(1412,Ei,2,1,"div",27)(1413,vi,2,1,"small",27),i(),t(1414,"div",24)(1415,"label",441),r(1416,"Schedule Start Time"),i(),t(1417,"timepicker",442),y("ngModelChange",function(n){return d(l),f(e.myTime,n)||(e.myTime=n),c(n)}),u("ngModelChange",function(){return d(l),c(e.validateTime())}),i()(),t(1418,"div",443)(1419,"label",121),r(1420,"Days"),i(),t(1421,"mat-form-field",444)(1422,"mat-select",445,5),y("ngModelChange",function(n){return d(l),f(e.scheduleDaysList,n)||(e.scheduleDaysList=n),c(n)}),u("selectionChange",function(){return d(l),c(e.onScheduleDayChange())}),t(1424,"mat-option",399),r(1425,"Sunday"),i(),t(1426,"mat-option",399),r(1427,"Monday"),i(),t(1428,"mat-option",399),r(1429,"Tuesday"),i(),t(1430,"mat-option",399),r(1431,"Wednesday"),i(),t(1432,"mat-option",399),r(1433,"Thursday"),i(),t(1434,"mat-option",399),r(1435,"Friday"),i(),t(1436,"mat-option",399),r(1437,"Saturday"),i()()(),r(1438," - "),t(1439,"button",446),u("click",function(){return d(l),c(e.toggleSelectAllDays())}),r(1440),i()()(),t(1441,"div",419)(1442,"button",420),u("click",function(){return d(l),c(e.closeSchCreateModal())}),r(1443,"Close"),i(),t(1444,"button",447),r(1445,"Save changes"),i()()()()()(),t(1446,"div",448)(1447,"div",434)(1448,"div",408)(1449,"div",409)(1450,"h4",436),r(1451,"Confirmation"),i()(),t(1452,"div",411)(1453,"h4"),r(1454,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),i()(),t(1455,"div",419)(1456,"button",420),u("click",function(){return d(l),c(e.closeScheduleConfPopup())}),r(1457,"Cancel"),i(),t(1458,"button",449),u("click",function(){return d(l),c(e.getParticularSchedule())}),r(1459,"Ok"),i()()()()(),t(1460,"div",450)(1461,"div",434)(1462,"div",408)(1463,"div",435)(1464,"h4",436),r(1465,"Edit Schedule"),i(),t(1466,"a",437),u("click",function(){return d(l),c(e.closeEditModal())}),_(1467,"i",438),i()(),t(1468,"form",19,6),u("ngSubmit",function(){d(l);let n=B(1469);return c(e.submitEditSchedule(n))}),t(1470,"div",411)(1471,"div",24)(1472,"label",439),r(1473,"Schedule Name"),i(),_(1474,"input",451),i(),t(1475,"div",24)(1476,"label",441),r(1477,"Schedule Start Time"),i(),t(1478,"timepicker",442),y("ngModelChange",function(n){return d(l),f(e.myTime,n)||(e.myTime=n),c(n)}),u("ngModelChange",function(){return d(l),c(e.validateTime())}),i()(),t(1479,"div",443)(1480,"label",121),r(1481,"Days"),i(),t(1482,"mat-form-field",452)(1483,"mat-select",445,7),y("ngModelChange",function(n){return d(l),f(e.scheduleDaysListEdit,n)||(e.scheduleDaysListEdit=n),c(n)}),u("selectionChange",function(){return d(l),c(e.onScheduleDayChangeEdit())}),t(1485,"mat-option",399),r(1486,"Sunday"),i(),t(1487,"mat-option",399),r(1488,"Monday"),i(),t(1489,"mat-option",399),r(1490,"Tuesday"),i(),t(1491,"mat-option",399),r(1492,"Wednesday"),i(),t(1493,"mat-option",399),r(1494,"Thursday"),i(),t(1495,"mat-option",399),r(1496,"Friday"),i(),t(1497,"mat-option",399),r(1498,"Saturday"),i()()(),r(1499," - "),t(1500,"button",446),u("click",function(){return d(l),c(e.toggleSelectAllDaysEdit())}),r(1501),i()()(),t(1502,"div",419)(1503,"button",420),u("click",function(){return d(l),c(e.closeEditModal())}),r(1504,"Close"),i(),t(1505,"button",447),r(1506,"Save changes"),i()()()()()(),t(1507,"div",448)(1508,"div",434)(1509,"div",408)(1510,"div",409)(1511,"h4",436),r(1512,"Confirmation"),i()(),t(1513,"div",411)(1514,"h4"),r(1515,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),i()(),t(1516,"div",419)(1517,"button",420),u("click",function(){return d(l),c(e.closeNoBackupScheduleConfPopup())}),r(1518,"Cancel"),i(),t(1519,"button",449),u("click",function(){return d(l),c(e.getParticularNoBackupSchedule())}),r(1520,"Ok"),i()()()()(),t(1521,"div",453)(1522,"div",434)(1523,"div",408)(1524,"div",435)(1525,"h4",436),r(1526,"Create Schedule"),i(),t(1527,"a",437),u("click",function(){return d(l),c(e.closeNoBackupSchCreateModal())}),_(1528,"i",438),i()(),t(1529,"form",19,8),u("ngSubmit",function(){d(l);let n=B(1530);return c(e.submitCreateNoBackupSchedule(n))}),t(1531,"div",411)(1532,"div",24)(1533,"label",439),r(1534,"Schedule Name"),i(),t(1535,"input",454,4),y("ngModelChange",function(n){return d(l),f(e.nobackupscheduleModel.scheduleName,n)||(e.nobackupscheduleModel.scheduleName=n),c(n)}),i(),w(1537,Mi,3,2,"div",27),i(),t(1538,"div",24)(1539,"label",441),r(1540,"Schedule Start Time "),t(1541,"a",455),_(1542,"i",119),i()(),t(1543,"timepicker",442),y("ngModelChange",function(n){return d(l),f(e.nobackupmyTime,n)||(e.nobackupmyTime=n),c(n)}),u("ngModelChange",function(){return d(l),c(e.validateTimeNBST())}),i()(),t(1544,"div",24)(1545,"label",441),r(1546,"Schedule End Time "),t(1547,"a",455),_(1548,"i",119),i()(),t(1549,"timepicker",442),y("ngModelChange",function(n){return d(l),f(e.nobackupmyTimeEnd,n)||(e.nobackupmyTimeEnd=n),c(n)}),u("ngModelChange",function(){return d(l),c(e.validateTimeNBET())}),i()(),t(1550,"div",443)(1551,"label",121),r(1552,"Days"),i(),t(1553,"mat-form-field",456)(1554,"mat-select",445,9),y("ngModelChange",function(n){return d(l),f(e.nobackupscheduleDaysList,n)||(e.nobackupscheduleDaysList=n),c(n)}),u("selectionChange",function(){return d(l),c(e.onNoBackupScheduleDayChange())}),t(1556,"mat-option",399),r(1557,"Sunday"),i(),t(1558,"mat-option",399),r(1559,"Monday"),i(),t(1560,"mat-option",399),r(1561,"Tuesday"),i(),t(1562,"mat-option",399),r(1563,"Wednesday"),i(),t(1564,"mat-option",399),r(1565,"Thursday"),i(),t(1566,"mat-option",399),r(1567,"Friday"),i(),t(1568,"mat-option",399),r(1569,"Saturday"),i()()(),r(1570," - "),t(1571,"button",446),u("click",function(){return d(l),c(e.toggleSelectAllDaysNoBackup())}),r(1572),i()()(),t(1573,"div",419)(1574,"button",420),u("click",function(){return d(l),c(e.closeNoBackupSchCreateModal())}),r(1575,"Close"),i(),t(1576,"button",447),r(1577,"Save changes"),i()()()()()(),t(1578,"div",457)(1579,"div",434)(1580,"div",408)(1581,"div",435)(1582,"h4",436),r(1583,"Edit Schedule"),i(),t(1584,"a",437),u("click",function(){return d(l),c(e.closeEditModal())}),_(1585,"i",438),i()(),t(1586,"form",19,6),u("ngSubmit",function(){d(l);let n=B(1469);return c(e.submitEditNoBackupSchedule(n))}),t(1588,"div",411)(1589,"div",24)(1590,"label",439),r(1591,"Schedule Name"),i(),_(1592,"input",458),i(),t(1593,"div",24)(1594,"label",441),r(1595,"Schedule Start Time "),t(1596,"a",455),_(1597,"i",119),i()(),t(1598,"timepicker",442),y("ngModelChange",function(n){return d(l),f(e.nobackupmyTime,n)||(e.nobackupmyTime=n),c(n)}),u("ngModelChange",function(){return d(l),c(e.validateTimeNBST())}),i()(),t(1599,"div",24)(1600,"label",441),r(1601,"Schedule End Time "),t(1602,"a",455),_(1603,"i",119),i()(),t(1604,"timepicker",442),y("ngModelChange",function(n){return d(l),f(e.nobackupmyTimeEnd,n)||(e.nobackupmyTimeEnd=n),c(n)}),u("ngModelChange",function(){return d(l),c(e.validateTimeNBET())}),i()(),t(1605,"div",443)(1606,"label",121),r(1607,"Days"),i(),t(1608,"mat-form-field",459)(1609,"mat-select",445,10),y("ngModelChange",function(n){return d(l),f(e.nobackupscheduleDaysListEdit,n)||(e.nobackupscheduleDaysListEdit=n),c(n)}),u("selectionChange",function(){return d(l),c(e.onNoBackupScheduleDayChangeEdit())}),t(1611,"mat-option",399),r(1612,"Sunday"),i(),t(1613,"mat-option",399),r(1614,"Monday"),i(),t(1615,"mat-option",399),r(1616,"Tuesday"),i(),t(1617,"mat-option",399),r(1618,"Wednesday"),i(),t(1619,"mat-option",399),r(1620,"Thursday"),i(),t(1621,"mat-option",399),r(1622,"Friday"),i(),t(1623,"mat-option",399),r(1624,"Saturday"),i()()(),r(1625," - "),t(1626,"button",446),u("click",function(){return d(l),c(e.toggleSelectAllDaysEditNoBackup())}),r(1627),i()()(),t(1628,"div",419)(1629,"button",420),u("click",function(){return d(l),c(e.closeNoBackupEditModal())}),r(1630,"Close"),i(),t(1631,"button",447),r(1632,"Save changes"),i()()()()()(),t(1633,"div",448)(1634,"div",434)(1635,"div",408)(1636,"div",409)(1637,"h4",436),r(1638,"Confirmation"),i()(),t(1639,"div",411)(1640,"h4"),r(1641,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),i()(),t(1642,"div",419)(1643,"button",420),u("click",function(){return d(l),c(e.closeConfFilterPopup())}),r(1644,"Cancel"),i(),t(1645,"button",449),u("click",function(){return d(l),c(e.getFilter())}),r(1646,"Ok"),i()()()()(),t(1647,"div",460)(1648,"div",434)(1649,"div",408)(1650,"div",435)(1651,"h4",436),r(1652,"Create Filter"),i(),t(1653,"a",437),u("click",function(){return d(l),c(e.closeCreateFilterModal())}),_(1654,"i",438),i()(),t(1655,"div",411)(1656,"div",24)(1657,"label",439),r(1658,"Filter Name"),i(),t(1659,"input",461),y("ngModelChange",function(n){return d(l),f(e.filterModel.filterName,n)||(e.filterModel.filterName=n),c(n)}),u("input",function(){return d(l),c(e.validateFilterName())}),i(),w(1660,Ti,2,1,"small",30),i(),t(1661,"div",70)(1662,"label",462),r(1663,"Filter Type"),i(),t(1664,"select",463),y("ngModelChange",function(n){return d(l),f(e.filterModel.filterType,n)||(e.filterModel.filterType=n),c(n)}),t(1665,"option",123),r(1666,"Inclusion Filter"),i(),t(1667,"option",124),r(1668,"Exclusion Filter"),i()()(),t(1669,"div",24)(1670,"label",441),r(1671,"Select Filter Template"),i(),t(1672,"mat-form-field",50)(1673,"mat-select",464,11),y("ngModelChange",function(n){return d(l),f(e.checkedList,n)||(e.checkedList=n),c(n)}),u("selectionChange",function(){return d(l),c(e.onFilterCreateChange())}),w(1675,Fi,2,2,"mat-option",46),i()()(),t(1676,"div",24)(1677,"label",121),r(1678,"Filters"),i(),t(1679,"a",465),_(1680,"i",119),i(),t(1681,"div",466)(1682,"span",467),w(1683,Di,4,1,"span",468),i(),t(1684,"input",469),y("ngModelChange",function(n){return d(l),f(e.newFilterExtensionCreate,n)||(e.newFilterExtensionCreate=n),c(n)}),u("blur",function(){return d(l),c(e.handleBlur())})("keyup.enter",function(){return d(l),c(e.handleKeyUp())}),i()(),_(1685,"br"),i()(),t(1686,"div",419)(1687,"button",420),u("click",function(){return d(l),c(e.closeCreateFilterModal())}),r(1688,"Close"),i(),t(1689,"button",421),u("click",function(){return d(l),c(e.submitCreateFilter())}),r(1690,"Save changes"),i()()()()(),t(1691,"div",470)(1692,"div",434)(1693,"div",408)(1694,"div",435)(1695,"h4",436),r(1696,"Edit Filter"),i(),t(1697,"a",437),u("click",function(){return d(l),c(e.closeEditFilterModal())}),_(1698,"i",438),i()(),t(1699,"div",411)(1700,"div",24)(1701,"label",439),r(1702,"Filter Name"),i(),t(1703,"input",471),y("ngModelChange",function(n){return d(l),f(e.filterEditModel.filterName,n)||(e.filterEditModel.filterName=n),c(n)}),i()(),t(1704,"div",70)(1705,"label",462),r(1706,"Filter Type"),i(),t(1707,"select",463),y("ngModelChange",function(n){return d(l),f(e.filterEditModel.filterType,n)||(e.filterEditModel.filterType=n),c(n)}),t(1708,"option",123),r(1709,"Inclusion Filter"),i(),t(1710,"option",124),r(1711,"Exclusion Filter"),i()()(),t(1712,"div",24)(1713,"label",441),r(1714,"Select Filter Template"),i(),t(1715,"mat-form-field",50)(1716,"mat-select",464,12),y("ngModelChange",function(n){return d(l),f(e.checkedList,n)||(e.checkedList=n),c(n)}),u("selectionChange",function(){return d(l),c(e.onFilterChangeEdit())}),w(1718,Bi,2,2,"mat-option",46),i()()(),t(1719,"div",24)(1720,"label",121),r(1721,"Filters"),i(),t(1722,"a",472),_(1723,"i",119),i(),_(1724,"br"),t(1725,"div",473),w(1726,Pi,4,1,"span",474),t(1727,"input",475),y("ngModelChange",function(n){return d(l),f(e.newFilterExtensionEdit,n)||(e.newFilterExtensionEdit=n),c(n)}),u("blur",function(){return d(l),c(e.handleBlurEdit())})("keyup.enter",function(){return d(l),c(e.handleKeyUpEdit())}),i()()()(),t(1728,"div",419)(1729,"button",420),u("click",function(){return d(l),c(e.closeEditFilterModal())}),r(1730,"Close"),i(),t(1731,"button",421),u("click",function(){return d(l),c(e.submitEditFilter())}),r(1732,"Save changes"),i()()()()(),t(1733,"div",476)(1734,"div",434)(1735,"div",408)(1736,"div",409)(1737,"h4",436),r(1738,"Confirmation"),i()(),t(1739,"div",411)(1740,"h4"),r(1741,"Will be effective on next policy refresh, for immediate effect manually refresh policy."),i()(),t(1742,"div",419)(1743,"button",420),u("click",function(){return d(l),c(e.closePolicySaveConfirmPopup())}),r(1744,"Cancel"),i(),t(1745,"button",449),u("click",function(){d(l);let n=B(9);return c(e.submitCreatePolicy(n))}),r(1746,"Ok"),i()()()()()()}if(m&2){let l=B(9),a=B(24),n=B(74),E=B(1411);s(4),p("ngIf",e.parent!=""),s(),p("ngIf",e.child!=""),s(),p("ngIf",e.subchild!=""),s(17),g("ngModel",e.policygroupName),s(3),p("ngIf",a.invalid&&(a.dirty||a.touched||l.submitted)),s(8),g("ngModel",e.description),s(2),p("ngIf",e.description.length>0&&e.description.length<5),s(2),p("ngIf",e.description.length>0&&e.description.length>512),s(8),g("ngModel",e.policyStorageSizeAllowed),s(5),g("ngModel",e.policyUsersAllowed),s(8),p("cTabContent",n)("tabPaneIdx",0),s(3),p("cTabContent",n)("tabPaneIdx",1),s(3),p("cTabContent",n)("tabPaneIdx",2),s(3),p("cTabContent",n)("tabPaneIdx",3),s(3),p("cTabContent",n)("tabPaneIdx",4),s(2),p("activeTabPaneIdx",0),s(14),g("ngModel",e.checkedListSchedule),p("ngModelOptions",v(350,b)),s(),p("ngForOf",e.schedules),s(4),p("ngIf",e.defaultSchedules.length>=1),s(8),g("ngModel",e.checkedListNoBackupSchedule),p("ngModelOptions",v(351,b)),s(),p("ngForOf",e.noBackupSchedules),s(2),p("ngIf",e.defaultNoBackupSchedules.length>=1),s(7),p("switch",!0),s(),p("ngModelOptions",v(352,b)),g("ngModel",e.isVersionEnabled),s(2),g("ngModel",e.versions),p("disabled",!e.isVersionEnabled),s(2),k(e.verError),s(6),p("switch",!0),s(),g("ngModel",e.isSizeEnabled),p("ngModelOptions",v(353,b)),s(2),g("ngModel",e.maxPermissibleFileSize),p("disabled",!e.isSizeEnabled),s(2),k(e.sizeError),s(6),p("switch",!0),s(),g("ngModel",e.isLimitEnabled),p("ngModelOptions",v(354,b)),s(2),g("ngModel",e.perUserBackupStorageLimit),p("disabled",!e.isLimitEnabled),s(2),k(e.limitError),s(8),g("ngModel",e.noOfDevicesAllowed),s(2),k(e.deviceAllowedError),s(4),g("ngModel",e.osType),s(7),g("ngModel",e.defaultFoldersBackup),s(3),p("ngIf",e.inclusionLicenses.includes("issqlbkpenabled")),s(4),g("ngModel",e.serverUserNameToSave),s(4),g("ngModel",e.serverPasswordToSave),s(5),g("ngModel",e.exclusionFolderName),s(8),g("ngModel",e.exceptionFolderName),s(6),g("ngModel",e.memoryUtilization),s(4),g("ngModel",e.cpuUtilization),s(4),g("ngModel",e.dcmEnabled),s(8),g("ngModel",e.clientDedup),s(23),p("ngIf",e.defaultUniversalFolders.length>=1),s(),p("ngIf",e.defaultUniversalFolders.length<=0),s(6),p("ngIf",e.inclusionLicenses.includes("issqlbkpenabled")),s(9),p("ngIf",e.userExcludedFoldersUniversal.length>=1),s(),p("ngIf",e.userExcludedFoldersUniversal.length<=0),s(10),p("ngIf",e.userExceptionsFoldersUniversal.length>=1),s(),p("ngIf",e.userExceptionsFoldersUniversal.length<=0),s(15),g("ngModel",e.filterType),s(6),p("ngIf",e.inclusionFilter),s(),p("ngIf",e.exclusionFilter),s(2),g("ngModel",e.checkedListFilter),p("ngModelOptions",v(355,b)),s(),p("ngForOf",e.filters),s(3),p("switch",!0),s(),g("ngModel",e.applyFilterToExceptionsToExclusion),p("ngModelOptions",v(356,b)),s(6),p("ngIf",e.defaultFilters.length>=1),s(8),g("ngModel",e.createUserAdmins),s(7),g("ngModel",e.createUserReadonlyadmins),s(9),g("ngModel",e.createUserUsers),s(7),g("ngModel",e.userDeletedAdmins),s(7),g("ngModel",e.userDeletedReadonlyadmins),s(9),g("ngModel",e.userDeletedUsers),s(7),g("ngModel",e.userBlockedAdmins),s(7),g("ngModel",e.userBlockedReadonlyadmins),s(9),g("ngModel",e.userBlockedUsers),s(7),g("ngModel",e.userLimitReachedAdmins),s(7),g("ngModel",e.userLimitReachedReadonlyadmins),s(9),g("ngModel",e.userLimitReachedUsers),s(7),g("ngModel",e.deviceDeletedAdmins),s(7),g("ngModel",e.deviceDeletedReadonlyadmins),s(9),g("ngModel",e.deviceDeletedUsers),s(7),g("ngModel",e.deviceBlockedAdmins),s(7),g("ngModel",e.deviceBlockedReadonlyadmins),s(9),g("ngModel",e.deviceBlockedUsers),s(7),g("ngModel",e.deviceDecoupledAdmins),s(7),g("ngModel",e.deviceDecoupledReadonlyadmins),s(9),g("ngModel",e.deviceDecoupledUsers),s(7),g("ngModel",e.deviceLimitReachedAdmins),s(7),g("ngModel",e.deviceLimitReachedReadonlyadmins),s(9),g("ngModel",e.deviceLimitReachedUsers),s(7),g("ngModel",e.weeklyBkpreportAdmins),s(7),g("ngModel",e.weeklyBkpreportReadonlyadmins),s(9),g("ngModel",e.weeklyBkpreportUsers),s(7),g("ngModel",e.firstBkpCompletedAdmins),s(7),g("ngModel",e.firstBkpCompletedReadonlyadmins),s(9),g("ngModel",e.firstBkpCompletedUsers),s(7),g("ngModel",e.restoreInitiatedAdmins),s(7),g("ngModel",e.restoreInitiatedReadonlyadmins),s(9),g("ngModel",e.restoreInitiatedUsers),s(7),g("ngModel",e.restoreCompletedAdmins),s(7),g("ngModel",e.restoreCompletedReadonlyadmins),s(9),g("ngModel",e.restoreCompletedUsers),s(7),g("ngModel",e.storageLimitReachedAdmins),s(7),g("ngModel",e.storageLimitReachedReadonlyadmins),s(9),g("ngModel",e.storageLimitReachedUsers),s(275),g("ngModel",e.contentIndexEnabled),s(17),g("ngModel",e.searchFilterType),s(6),p("ngIf",e.inclusionSearchFilter),s(),p("ngIf",e.exclusionSearchFilter),s(2),g("ngModel",e.checkedListSearchFilter),p("ngModelOptions",v(357,b)),s(),p("ngForOf",e.searchfilters),s(4),p("ngIf",e.defaultSearchFilters.length>=1),s(22),p("switch",!0),s(),g("ngModel",e.isThrottleEnabled),p("ngModelOptions",v(358,b)),s(3),g("ngModel",e.nwFromClientToPGMB),p("disabled",!e.isThrottleEnabled),s(2),k(e.switchError),s(2),k(e.switchWarning),s(2),g("ngModel",e.networkThrottlingUnit),p("disabled",!e.isThrottleEnabled),s(12),g("ngModel",e.cpuThrottling),s(4),k(e.cpuThrottling),s(38),p("switch",!0),s(),g("ngModel",e.legalHold),p("ngModelOptions",v(359,b)),s(9),p("ngIf",e.inclusionLicenses.includes("rwdetectionenabled")),s(6),p("switch",!0),s(),g("ngModel",e.switchnoOfDaysToKeepDeviceNotHeard),p("ngModelOptions",v(360,b)),s(2),g("ngModel",e.noOfDaysToKeepDeviceNotHeard),p("disabled",!e.switchnoOfDaysToKeepDeviceNotHeard),s(2),k(e.deviceNotHeardError),s(9),p("switch",!0),s(),g("ngModel",e.switchnoOfDaysToKeepUserDeviceNotActive),p("ngModelOptions",v(361,b)),s(2),g("ngModel",e.noOfDaysToKeepUserDeviceNotActive),p("disabled",!e.switchnoOfDaysToKeepUserDeviceNotActive),s(2),k(e.deviceNotActiveError),s(7),g("ngModel",e.numberOfThreadsAllowedForBackup),s(4),g("ngModel",e.webBasedLogin),s(5),p("ngStyle",q(362,Z,e.overridePolicySettings?"none":"auto",e.overridePolicySettings?"0.4":"1")),s(3),g("ngModel",e.canAdminRestoreAll),p("ngClass",T(365,Y,e.overridePolicySettings)),s(),p("ngValue",!0),s(2),p("ngValue",!1),s(2),p("ngStyle",q(367,Z,e.overridePolicySettings||!e.canAdminRestoreAll?"none":"auto",e.overridePolicySettings||!e.canAdminRestoreAll?"0.5":"1")),s(3),g("ngModel",e.allowEndUserTocontrolRestore),p("ngClass",T(370,Y,e.overridePolicySettings)),s(),p("ngValue",!0),s(2),p("ngValue",!1),s(2),p("ngStyle",q(372,Z,e.overridePolicySettings||!e.canAdminRestoreAll?"none":"auto",e.overridePolicySettings||!e.canAdminRestoreAll?"0.5":"1")),s(3),g("ngModel",e.isAdminDeleteBackupFile),p("ngClass",T(375,Y,e.overridePolicySettings)),s(),p("ngValue",!0),s(2),p("ngValue",!1),s(2),p("ngIf",e.storage_type=="GOOGLE_DRIVE"||e.storage_type=="ONE_DRIVE"),s(),p("ngIf",e.storage_type=="ANY"||e.storage_type=="AZURE"),s(4),g("ngModel",e.compEnabled),s(8),g("ngModel",e.vssEnabled),s(5),$("display",e.userType=="superAdmin"?"block":"none"),s(3),g("ngModel",e.searchAlgorithm),s(5),p("ngIf",e.searchAlgorithm==="PRIORITY"),s(4),g("ngModel",e.policyRefresh),s(6),g("ngModel",e.switchlogUnaccessedFiles),s(7),p("switch",!0),s(),g("ngModel",e.switchAllowedDomains),p("ngModelOptions",v(377,b)),s(4),g("ngModel",e.allowedDomains),p("disabled",!e.switchAllowedDomains),s(4),g("ngModel",e.autoUpdateAgent),s(10),p("switch",!0),s(),g("ngModel",e.isPasswordEnabled),s(2),g("ngModel",e.agentPassword),p("required",e.isPasswordEnabled)("disabled",!e.isPasswordEnabled),s(),p("ngClass",q(378,_t,e.isPasswordVisible,!e.isPasswordVisible)),s(),p("ngIf",e.isPasswordEnabled&&e.agentPassword.length<5),s(),g("ngModel",e.agentRePassword),p("required",e.isPasswordEnabled)("disabled",!e.isPasswordEnabled),s(),p("ngIf",e.isPasswordEnabled&&e.passwordsDoNotMatch),s(4),g("ngModel",e.canBackupHiddenFiles),s(21),g("ngModel",e.downloadAgent),s(11),p("switch",!0),s(),g("ngModel",e.switchnoOfDaysToKeepDeletedFiles),p("ngModelOptions",v(381,b)),s(2),g("ngModel",e.noOfDaysToKeepDeletedFiles),p("disabled",!e.switchnoOfDaysToKeepDeletedFiles),s(2),k(e.deletedFilesError),s(3),$("display",e.showUserConsentFieldInPolicies?"block":"none"),s(6),p("switch",!0),s(),g("ngModel",e.switchuserConsentEnabled),p("ngModelOptions",v(382,b)),s(2),g("ngModel",e.userConsentDisplayText),p("disabled",!e.switchuserConsentEnabled),s(6),p("switch",!0),s(),p("ngModelOptions",v(383,b)),g("ngModel",e.preScanCommandEnabled),s(4),g("ngModel",e.preScanCommand),p("disabled",!e.preScanCommandEnabled),s(2),k(e.preScanError),s(5),g("ngModel",e.continueOnPreScan),p("disabled",!e.preScanCommandEnabled),s(6),p("switch",!0),s(),p("ngModelOptions",v(384,b)),g("ngModel",e.preBackupCommandEnabled),s(4),g("ngModel",e.preBackupCommand),p("disabled",!e.preBackupCommandEnabled),s(2),k(e.preBackupError),s(5),g("ngModel",e.continueOnPreBkp),p("disabled",!e.preBackupCommandEnabled),s(6),p("switch",!0),s(),p("ngModelOptions",v(385,b)),g("ngModel",e.postBackupCommandEnabled),s(4),g("ngModel",e.postBackupCommand),p("disabled",!e.postBackupCommandEnabled),s(2),k(e.postBackupError),s(5),g("ngModel",e.continueOnPostBkp),p("disabled",!e.postBackupCommandEnabled),s(19),p("ngStyle",q(386,Z,e.passwordChangeEnforce?"none":"auto",e.passwordChangeEnforce?"0.4":"1")),s(3),g("ngModel",e.canUserChangePassword),p("ngClass",T(389,Y,e.passwordChangeEnforce)),s(),p("value",!0),s(2),p("value",!1),s(2),p("ngStyle",q(391,Z,e.passwordChangeEnforce?"none":"auto",e.passwordChangeEnforce?"0.4":"1")),s(3),g("ngModel",e.canAdminChangeUserPassword),p("ngClass",T(394,Y,e.passwordChangeEnforce)),s(),p("value",!0),s(2),p("value",!1),s(15),p("ngStyle",T(396,N,e.displayConfigSQLStyle)),s(10),g("ngModel",e.serverUserName),s(4),g("ngModel",e.serverPassword),s(),p("ngClass",q(398,_t,e.isPasswordVisible,!e.isPasswordVisible)),s(4),g("ngModel",e.serverRePassword),s(96),p("ngStyle",T(401,N,e.displaySchCreateStyle)),s(14),p("ngClass",T(403,St,e.invalidScheduleName)),g("ngModel",e.scheduleModel.scheduleName),s(2),p("ngIf",E.invalid&&(E.dirty||E.touched)),s(),p("ngIf",e.invalidScheduleName),s(4),g("ngModel",e.myTime),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",v(405,b)),s(5),g("ngModel",e.scheduleDaysList),p("ngModelOptions",v(406,b)),s(2),p("value","1"),s(2),p("value","2"),s(2),p("value","3"),s(2),p("value","4"),s(2),p("value","5"),s(2),p("value","6"),s(2),p("value","7"),s(4),M(" ",e.showDaily?"Daily":"De Select All"," "),s(6),p("ngStyle",T(407,N,e.displayScheduleConfStyle)),s(14),p("ngStyle",T(409,N,e.displaySchEditStyle)),s(14),x("value",e.scheduleElement.scheduleName),s(4),g("ngModel",e.myTime),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",v(411,b)),s(5),g("ngModel",e.scheduleDaysListEdit),p("ngModelOptions",v(412,b)),s(2),p("value","1"),s(2),p("value","2"),s(2),p("value","3"),s(2),p("value","4"),s(2),p("value","5"),s(2),p("value","6"),s(2),p("value","7"),s(4),M(" ",e.showDailyEdit?"Daily":"De Select All"," "),s(6),p("ngStyle",T(413,N,e.displayNoBackupConfStyle)),s(14),p("ngStyle",T(415,N,e.displayNoBackupCreateStyle)),s(14),g("ngModel",e.nobackupscheduleModel.scheduleName),s(2),p("ngIf",E.invalid&&(E.dirty||E.touched)),s(6),g("ngModel",e.nobackupmyTime),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",v(417,b)),s(6),g("ngModel",e.nobackupmyTimeEnd),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",v(418,b)),s(5),g("ngModel",e.nobackupscheduleDaysList),p("ngModelOptions",v(419,b)),s(2),p("value","1"),s(2),p("value","2"),s(2),p("value","3"),s(2),p("value","4"),s(2),p("value","5"),s(2),p("value","6"),s(2),p("value","7"),s(4),M(" ",e.nobackupshowDaily?"Daily":"De Select All"," "),s(6),p("ngStyle",T(420,N,e.displayNoBackupEditStyle)),s(14),x("value",e.nobackupscheduleElement.scheduleName),s(6),g("ngModel",e.nobackupmyTime),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",v(422,b)),s(6),g("ngModel",e.nobackupmyTimeEnd),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",v(423,b)),s(5),g("ngModel",e.nobackupscheduleDaysListEdit),p("ngModelOptions",v(424,b)),s(2),p("value","1"),s(2),p("value","2"),s(2),p("value","3"),s(2),p("value","4"),s(2),p("value","5"),s(2),p("value","6"),s(2),p("value","7"),s(4),M(" ",e.nobackupshowDailyEdit?"Daily":"De Select All"," "),s(6),p("ngStyle",T(425,N,e.displayFilterConfStyle)),s(14),p("ngStyle",T(427,N,e.displayFilterCreateStyle)),s(12),p("ngClass",T(429,St,e.invalidFilterName)),g("ngModel",e.filterModel.filterName),s(),p("ngIf",e.invalidFilterName),s(4),g("ngModel",e.filterModel.filterType),s(9),g("ngModel",e.checkedList),p("ngModelOptions",v(431,b)),s(2),p("ngForOf",e.cannedFiltersTemplateCreate),s(7),$("display",e.extensionsVisible?"block":"none"),s(),p("ngForOf",e.cannedFiltersCreate),s(),g("ngModel",e.newFilterExtensionCreate),s(7),p("ngStyle",T(432,N,e.displayFilterEditStyle)),s(12),x("value",e.filterElement.filterName),g("ngModel",e.filterEditModel.filterName),s(4),g("ngModel",e.filterEditModel.filterType),s(9),g("ngModel",e.checkedList),p("ngModelOptions",v(434,b)),s(2),p("ngForOf",e.cannedFiltersTemplateEdit),s(8),p("ngForOf",e.cannedFilters),s(),g("ngModel",e.newFilterExtensionEdit),s(6),p("ngStyle",T(435,N,e.displayConfirmPolicySave))}},dependencies:[Ee,ve,Ve,Pe,Ce,ot,Ge,Ze,Ye,Re,Qe,je,Oe,Je,qe,ze,et,tt,it,nt,$e,Xe,he,be,at,ye,Ie,Ue,Ae,Le,Ne,xe,ge,me,pe,ue,We,rt,He,Ke,Te,Be,Fe,De,ke,Me,yt,gt,ft,lt,mt,ct,pt,we],styles:['@charset "UTF-8";.switch[_ngcontent-%COMP%]{position:relative;display:inline-block;width:50px;height:22px}.switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:none}.slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;inset:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.slider[_ngcontent-%COMP%]:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#062d4d}input[_ngcontent-%COMP%]:focus + .slider[_ngcontent-%COMP%]{box-shadow:0 0 1px #062d4d}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translate(26px)}.slider.round[_ngcontent-%COMP%]{border-radius:34px}.slider.round[_ngcontent-%COMP%]:before{border-radius:50%}.slidecontainer[_ngcontent-%COMP%]{width:100%}.slidercpu[_ngcontent-%COMP%]{width:100%;height:15px;border-radius:5px;background:#d3d3d3;outline:none;opacity:.7;-webkit-transition:.2s;transition:opacity .2s}.slidercpu[_ngcontent-%COMP%]:hover{opacity:1}.slidercpu[_ngcontent-%COMP%]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:25px;height:25px;border-radius:50%;background:#2196f3;cursor:pointer}.slidercpu[_ngcontent-%COMP%]::-moz-range-thumb{width:25px;height:25px;border-radius:50%;background:#2196f3;cursor:pointer}.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.6}h5[_ngcontent-%COMP%]{color:#000}breadcrumb[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]:before{padding:0 5px;color:#ccc;content:"/\\a0"}.breadcrumb[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:inline-block}.breadcrumb[_ngcontent-%COMP%]{display:list-item!important}.breadcrumb[_ngcontent-%COMP%]{background:transparent;padding:0;margin-top:10px}.form-group[_ngcontent-%COMP%]{margin-bottom:20px}.drop-toggle[_ngcontent-%COMP%]{background-color:#fff;border:none;padding:5px 10px;border-radius:4px;cursor:pointer;cursor:hand;border:1px solid #ccc;width:233px;text-align:left}.drop-toggle[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{float:right}.drop-show[_ngcontent-%COMP%]{padding:4px;width:222px;background-color:#fff;border:1px solid #BABABA;position:absolute;z-index:100;-webkit-box-shadow:0 6px 10px rgba(0,0,0,.15);-moz-box-shadow:0 6px 10px rgba(0,0,0,.15);box-shadow:0 6px 10px #00000026;margin-left:1px}.drop-show[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:block;font-size:15px;cursor:pointer}.drop-show[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{vertical-align:top}.drop-show[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block}.panel-default[_ngcontent-%COMP%]{border:1px solid rgba(8,10,12,.175);border-radius:10px;padding:10px}.panel-default[_ngcontent-%COMP%] > .panel-heading[_ngcontent-%COMP%]{color:#444;background-color:#fff;border:none}.panel-heading[_ngcontent-%COMP%]{padding:10px 15px 0}.panel-body[_ngcontent-%COMP%]{padding:5px 15px 15px}.form-check-input[_ngcontent-%COMP%]{height:22px!important}.form-switch[_ngcontent-%COMP%]   .form-check-input[_ngcontent-%COMP%]{width:50px!important}']})}}return h})();export{pn as CreateComponent};
