import{a as bt}from"./chunk-7F4EMYHG.js";import{a as St,b as Ct}from"./chunk-QSIVP57B.js";import{d as yt}from"./chunk-QW4LUA7P.js";import{a as ut,b as ht,f as gt}from"./chunk-B7SSGZRS.js";import{a as _t}from"./chunk-V73QNHIW.js";import{a as ne}from"./chunk-62SRS66B.js";import{b as ft}from"./chunk-QJMD2SGW.js";import{o as st,t as dt}from"./chunk-Y4TQXMUD.js";import{d as ct,e as mt,h as pt,i as ie}from"./chunk-WTUSPDMW.js";import{A as ot,B as rt,D as lt,E as at,b as qe,c as Ke,g as ze,h as He,j as Ge,l as Qe,m as Ye,n as je,p as Je,t as Ze,u as Xe,v as $e,w as et,x as tt,y as it,z as nt}from"./chunk-EYGQBKHN.js";import{$b as Re,Aa as ke,Da as Me,Tb as Ie,Ua as Te,Ub as Oe,Va as Fe,Vb as We,Wa as De,Ya as Pe,Za as Be,_a as Ve,db as Ne,eb as Le,f as ye,ha as Ee,i as Se,l as Ce,lb as Ae,mb as xe,nb as Ue,t as we,xa as ve,za as be}from"./chunk-3H2Q52KW.js";import{$b as I,$c as pe,A as se,Ab as ce,Cc as V,Da as N,Dd as te,Ec as r,Fc as b,Gc as k,Hb as w,Hd as _e,Ia as de,Kc as g,Lc as f,Mc as _,Qc as me,Rb as p,Rc as E,Sb as ee,Sc as M,Tc as H,Zb as Q,_b as re,ac as O,bc as t,cc as n,dc as y,hc as F,lb as s,mb as P,nc as u,pc as C,sa as d,sc as L,ta as c,td as ue,ud as he,vd as ge,wc as q,xc as K,yc as z,zd as fe}from"./chunk-DF3EMM3Z.js";import{a as x,b as U,g as vt,i as ae}from"./chunk-2AVGQ2MQ.js";var Y=vt(bt());var kt=["matSelectEdit"],Mt=["matSelectCreate"],Tt=["matSelectCreateNoBackup"],Ft=["matSelectEditNoBackup"],Dt=["matSelectBlukryptHost"],Pt=["matSelectCreateFilter"],Bt=["matSelectEditFilter"],v=()=>({standalone:!0}),Z=(h,S)=>({"pointer-events":h,opacity:S}),X=h=>({hide:h}),wt=(h,S)=>({"fa-eye":h,"fa-eye-slash":S}),A=h=>({display:h}),Et=h=>({redAlert:h});function Vt(h,S){if(h&1&&(t(0,"li")(1,"h3")(2,"a",480),r(3),n()()()),h&2){let o=C();s(3),b(o.parent)}}function Nt(h,S){if(h&1&&(t(0,"li")(1,"a",481),r(2),n()()),h&2){let o=C();s(2),b(o.child)}}function Lt(h,S){if(h&1&&(t(0,"li")(1,"span"),r(2),n()()),h&2){let o=C();s(2),b(o.subchild)}}function At(h,S){h&1&&(t(0,"small"),r(1,`
                            Policy Name is required.
                        `),n())}function xt(h,S){if(h&1&&(t(0,"small"),r(1),n()),h&2){let o=C(2);s(),k(`
                            `,o.errortext,`
                        `)}}function Ut(h,S){h&1&&(t(0,"small"),r(1,`
                            Policy Name must be at least 3 characters long.
                        `),n())}function It(h,S){if(h&1&&(t(0,"div",482),r(1,`
                        `),w(2,At,2,0,"small",18),r(3,`
                        `),w(4,xt,2,1,"small",18),r(5,`
                        `),w(6,Ut,2,0,"small",18),r(7,`
                    `),n()),h&2){C();let o=V(25);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 Ot(h,S){h&1&&(t(0,"small",483),r(1,`
                        This value is too short. It should have 5 characters or more.
                    `),n())}function Wt(h,S){h&1&&(t(0,"small",483),r(1,`
                        This value is too long. It should have 512 characters or fewer.
                    `),n())}function Rt(h,S){if(h&1&&(t(0,"mat-option",400),r(1),n()),h&2){let o=S.$implicit;L("value",o.scheduleName),s(),b(o.scheduleName)}}function qt(h,S){if(h&1){let o=F();t(0,"tr")(1,"td"),r(2),n(),t(3,"td"),r(4),n(),t(5,"td")(6,"button",487),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.editSchedule(e.scheduleName))}),r(7," Edit"),n()()()}if(h&2){let o=S.$implicit;s(2),b(o.scheduleName),s(2),k("",o.time," hrs")}}function Kt(h,S){if(h&1&&(t(0,"div",15)(1,"div",105)(2,"div",484)(3,"div",108)(4,"h5"),y(5,"i",485),r(6," Schedule Details"),n()(),t(7,"div",110)(8,"div",111)(9,"table",486)(10,"tbody"),I(11,qt,8,2,"tr",null,Q),n()()()()()()()),h&2){let o=C();s(11),O(o.defaultSchedules)}}function zt(h,S){if(h&1&&(t(0,"mat-option",400),r(1),n()),h&2){let o=S.$implicit;L("value",o.scheduleName),s(),b(o.scheduleName)}}function Ht(h,S){if(h&1){let o=F();t(0,"tr")(1,"td"),r(2),n(),t(3,"td"),r(4),n(),t(5,"td"),r(6),n(),t(7,"td")(8,"button",487),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.editNoBackupSchedule(e.scheduleName))}),r(9," Edit"),n()()()}if(h&2){let o=S.$implicit;s(2),b(o.scheduleName),s(2),k("",o.fromTime," hrs"),s(2),k("",o.toTime," hrs")}}function Gt(h,S){if(h&1&&(t(0,"div",15)(1,"div",105)(2,"div",488)(3,"div",108)(4,"h5"),y(5,"i",485),r(6," Schedule Details"),n()(),t(7,"div",110)(8,"div",111)(9,"table",486)(10,"tbody"),I(11,Ht,10,3,"tr",null,Q),n()()()()()()()),h&2){let o=C();s(11),O(o.defaultNoBackupSchedules)}}function Qt(h,S){if(h&1){let o=F();t(0,"div",24)(1,"label",489),r(2,"Default Folders to Backup for MS SQL"),n(),t(3,"a",490),u("click",function(){d(o);let e=C();return c(e.addSqlServer())}),r(4,"Configure SQL Server"),n(),t(5,"c-input-group",21)(6,"input",491),_("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())}),n(),t(7,"button",492),u("click",function(){d(o);let e=C();return c(e.addDefaultFolderSQL())}),r(8,"Add"),n()()()}if(h&2){let o=C();s(6),g("ngModel",o.sqlBackupFolders)}}function Yt(h,S){if(h&1){let o=F();t(0,"li",494),r(1),t(2,"a",495),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.removeDefaultFolder(e))}),y(3,"i",496),n()()}if(h&2){let o=S.$implicit;s(),k(" ",o," ")}}function jt(h,S){if(h&1&&(t(0,"ul",493),I(1,Yt,4,1,"li",494,Q),n()),h&2){let o=C();s(),O(o.defaultUniversalFolders)}}function Jt(h,S){h&1&&(t(0,"span"),r(1,"There are no default folders to backup"),n())}function Zt(h,S){if(h&1){let o=F();t(0,"li",494),r(1),t(2,"a",495),u("click",function(){let e=d(o).$implicit,l=C(3);return c(l.removeDefaultFolderSQL(e))}),y(3,"i",496),n()()}if(h&2){let o=S.$implicit;s(),k(" ",o,"")}}function Xt(h,S){if(h&1&&(t(0,"ul",493),I(1,Zt,4,1,"li",494,re),n()),h&2){let o=C(2);s(),O(o.sqlBackupFoldersList)}}function $t(h,S){h&1&&(t(0,"span"),r(1,"There are no default folders for SQL to backup"),n())}function ei(h,S){if(h&1&&(t(0,"div",497)(1,"div",108)(2,"h5"),y(3,"i",109),r(4," Default MS SQL Folders"),n()(),t(5,"div",110)(6,"div",111)(7,"div"),w(8,Xt,3,0,"ul",112)(9,$t,2,0,"span",18),n()()()()),h&2){let o=C();s(8),p("ngIf",o.sqlBackupFoldersList.length>=1),s(),p("ngIf",o.sqlBackupFoldersList.length<=0)}}function ti(h,S){if(h&1){let o=F();t(0,"li",494),r(1),t(2,"a",495),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.removeExclusionFolder(e))}),y(3,"i",496),n()()}if(h&2){let o=S.$implicit;s(),k(" ",o," ")}}function ii(h,S){if(h&1&&(t(0,"ul",493),I(1,ti,4,1,"li",494,Q),n()),h&2){let o=C();s(),O(o.userExcludedFoldersUniversal)}}function ni(h,S){h&1&&(t(0,"span"),r(1,"These folders will be excluded"),n())}function oi(h,S){if(h&1){let o=F();t(0,"li",494),r(1),t(2,"a",495),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.removeExceptionFolder(e))}),y(3,"i",496),n()()}if(h&2){let o=S.$implicit;s(),k(" ",o,"")}}function ri(h,S){if(h&1&&(t(0,"ul",493),I(1,oi,4,1,"li",494,re),n()),h&2){let o=C();s(),O(o.userExceptionsFoldersUniversal)}}function li(h,S){h&1&&(t(0,"span"),r(1,"These folders will be Exceptions to exclusions"),n())}function ai(h,S){h&1&&(t(0,"h5",498)(1,"label",499),y(2,"i",500),n()())}function si(h,S){h&1&&(t(0,"h5",501)(1,"label",502),y(2,"i",503),n()())}function di(h,S){if(h&1&&(t(0,"mat-option",400),r(1),n()),h&2){let o=S.$implicit;L("value",o.filterName),s(),b(o.filterName)}}function ci(h,S){if(h&1){let o=F();t(0,"tr",508)(1,"td",509)(2,"p")(3,"b"),r(4),n()(),t(5,"span",510),r(6),n()(),t(7,"td",511)(8,"button",512),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.editFilter(e.filterName))}),r(9," Edit"),n()()()}if(h&2){let o=S.$implicit;s(4),k("",o.filterName," :"),s(2),b(o.filters),s(2),p("disabled",o.filterName==="all_files")}}function mi(h,S){if(h&1){let o=F();t(0,"div",504)(1,"div",105)(2,"div",107)(3,"div",108)(4,"h5"),y(5,"i",505),r(6," Filters "),n()(),t(7,"div",506)(8,"div",204)(9,"span"),r(10,"Backup files without an extension"),n(),t(11,"div",54)(12,"label",238)(13,"input",507),_("ngModelChange",function(e){d(o);let l=C();return f(l.backupFilesWithoutExtension,e)||(l.backupFilesWithoutExtension=e),c(e)}),n(),y(14,"div",240),n()()(),t(15,"div",111)(16,"table",486)(17,"tbody"),I(18,ci,10,3,"tr",508,Q),n()()()()()()()}if(h&2){let o=C();s(13),g("ngModel",o.backupFilesWithoutExtension),s(5),O(o.defaultFilters)}}function pi(h,S){h&1&&(t(0,"h5",513)(1,"label",499),y(2,"i",500),n()())}function ui(h,S){h&1&&(t(0,"h5",514)(1,"label",502),y(2,"i",503),n()())}function hi(h,S){if(h&1&&(t(0,"mat-option",400),r(1),n()),h&2){let o=S.$implicit;L("value",o.filterName),s(),b(o.filterName)}}function gi(h,S){if(h&1){let o=F();t(0,"tr")(1,"td",509)(2,"p")(3,"b"),r(4),n()(),t(5,"span",510),r(6),n()(),t(7,"td",511)(8,"button",512),u("click",function(){let e=d(o).$implicit,l=C(2);return c(l.editFilter(e.filterName))}),r(9," Edit"),n()()()}if(h&2){let o=S.$implicit;s(4),k("",o.filterName," :"),s(2),b(o.filters),s(2),p("disabled",o.filterName==="all_files")}}function fi(h,S){if(h&1&&(t(0,"div",504)(1,"div",105)(2,"div",107)(3,"div",108)(4,"h5"),y(5,"i",505),r(6," Filters "),n()(),t(7,"div",506)(8,"div",111)(9,"table",486)(10,"tbody"),I(11,gi,10,3,"tr",null,Q),n()()()()()()()),h&2){let o=C();s(11),O(o.defaultSearchFilters)}}function _i(h,S){if(h&1){let o=F();t(0,"div",243)(1,"span",133),r(2,"Unusual Activity Detection Enabled"),n(),t(3,"div",515)(4,"c-form-check",55)(5,"input",516),_("ngModelChange",function(e){d(o);let l=C();return f(l.rwDetectionEnabled,e)||(l.rwDetectionEnabled=e),c(e)}),n()()()()}if(h&2){let o=C();s(4),p("switch",!0),s(),p("ngModelOptions",E(3,v)),g("ngModel",o.rwDetectionEnabled)}}function yi(h,S){if(h&1){let o=F();t(0,"div",71)(1,"label",517),r(2,"Dedup"),n(),t(3,"select",518),_("ngModelChange",function(e){d(o);let l=C();return f(l.dedup,e)||(l.dedup=e),c(e)}),t(4,"option",519),r(5,"Disabled"),n(),t(6,"option",520),r(7,"User"),n()()()}if(h&2){let o=C();s(3),g("ngModel",o.dedup)}}function Si(h,S){if(h&1){let o=F();t(0,"div",71)(1,"label",517),r(2,"dedup"),n(),t(3,"select",518),_("ngModelChange",function(e){d(o);let l=C();return f(l.dedup,e)||(l.dedup=e),c(e)}),t(4,"option",519),r(5,"Disabled"),n(),t(6,"option",521),r(7,"User"),n(),t(8,"option",522),r(9,"Global"),n()()()}if(h&2){let o=C();s(3),g("ngModel",o.dedup)}}function Ci(h,S){if(h&1&&(t(0,"mat-option",400),r(1),n()),h&2){let o=S.$implicit;L("value",o.gatewayName),s(),b(o.gatewayName)}}function wi(h,S){if(h&1){let o=F();t(0,"div",24)(1,"label",523),r(2,"Preferred BluKrypt Hostnames"),n(),t(3,"mat-form-field",51)(4,"mat-select",467,13),_("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,Ci,2,2,"mat-option",46),n()()()}if(h&2){let o=C();s(4),g("ngModel",o.checkedListPg),p("ngModelOptions",E(3,v)),s(2),p("ngForOf",o.pgs)}}function Ei(h,S){h&1&&(t(0,"div")(1,"div",483),r(2,"Password must be at least 5 characters long."),n()())}function vi(h,S){h&1&&(t(0,"div")(1,"div"),r(2,"Passwords must match."),n()())}function bi(h,S){h&1&&(t(0,"small"),r(1," Schedule Name is required. "),n())}function ki(h,S){if(h&1&&(t(0,"div",482),w(1,bi,2,0,"small",18),n()),h&2){C();let o=V(1413);s(),p("ngIf",o.errors==null?null:o.errors.required)}}function Mi(h,S){if(h&1&&(t(0,"small",482),r(1),n()),h&2){let o=C();s(),k(" ",o.errortext," ")}}function Ti(h,S){h&1&&(t(0,"small"),r(1," Schedule Name is required. "),n())}function Fi(h,S){if(h&1&&(t(0,"small"),r(1),n()),h&2){let o=C(2);s(),k(" ",o.errortext," ")}}function Di(h,S){if(h&1&&(t(0,"div",482),w(1,Ti,2,0,"small",18)(2,Fi,2,1,"small",18),n()),h&2){C();let o=V(1413);s(),p("ngIf",o.errors==null?null:o.errors.required),s(),p("ngIf",o.errors&&o.errors.pattern)}}function Pi(h,S){if(h&1&&(t(0,"small",483),r(1),n()),h&2){let o=C();s(),k(" ",o.errortext," ")}}function Bi(h,S){if(h&1&&(t(0,"mat-option",400),r(1),n()),h&2){let o=S.$implicit;L("value",o.extensionName),s(),b(o.filterName)}}function Vi(h,S){if(h&1){let o=F();t(0,"span",524),r(1),t(2,"a",525),u("click",function(){let e=d(o).$implicit,l=C();return c(l.removeExtensionCreate(e))}),y(3,"i",496),n()()}if(h&2){let o=S.$implicit;s(),k("",o," ")}}function Ni(h,S){if(h&1&&(t(0,"mat-option",400),r(1),n()),h&2){let o=S.$implicit;L("value",o.extensionName),s(),b(o.filterName)}}function Li(h,S){if(h&1){let o=F();t(0,"span",526),r(1),t(2,"a",525),u("click",function(){let e=d(o).$implicit,l=C();return c(l.removeExtension(e))}),y(3,"i",496),n()()}if(h&2){let o=S.$implicit;s(),k("",o," ")}}var fn=(()=>{class h{constructor(o,m,e,l,a,i,B,T,W,G,D,R,j){this.http=o,this.datePipe=m,this.titleService=e,this.toastr=l,this.apiService=a,this.AuthService=i,this.globalConstantsService=B,this.cdr=T,this.router=W,this.sharedService=G,this.el=D,this.licenseCheckService=R,this.userRoleService=j,this.parent="Policy Management",this.child="BluVault Policies",this.subchild="Clone Policy",this.title="Policy Management",this.errortext="Only letters, numbers, and @, -, _, . are allowed. The input must be at least 3 characters long.",this.menuOptionsEdit={open:!0,view:!0,versions:!0,share:!0,download:!0,restore:!0},this.policygroupName="",this.description="",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=!1,this.canAdminChangeUserPassword=!1,this.canDelegatedAdminChangeUserPassword="true",this.passwordChangeEnforce=!0,this.canAdminRestoreAll=!0,this.isAdminDeleteBackupFile=!1,this.searchEnabled=!1,this.overridePolicySettings=!0,this.showUserConsentFieldInPolicies=!1,this.storageProvider="ParaBlu",this.hostedSetup=!0,this.allowEndUserTocontrolRestore=!1,this.showDropDownSchedule=!1,this.checkedListSchedule=[],this.currentSelectedSchedule={},this.schedules=[],this.showDropDownNoBackupSchedule=!1,this.checkedListNoBackupSchedule=[],this.currentSelectedNoBackupSchedule={},this.noBackupSchedules=[],this.shareCheckedList=new N,this.shareIndividualCheckedList=new N,this.shareCheckedListNoBackup=new N,this.shareIndividualCheckedListNoBackup=new N,this.showDropDownFilter=!1,this.checkedListFilter=[],this.currentSelectedFilter={},this.shareCheckedListFilter=new N,this.shareIndividualCheckedListFilter=new N,this.showDropDownSearchFilter=!1,this.checkedListSearchFilter=[],this.currentSelectedSearchFilter={},this.shareCheckedListSearchFilter=new N,this.shareIndividualCheckedListSearchFilter=new N,this.searchAlgorithm="NEAREST",this.showDropDownPg=!1,this.checkedListPg=[],this.currentSelectedPg={},this.pgs=[],this.shareCheckedListPg=new N,this.shareIndividualCheckedListPg=new N,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.nwFromClientToPGMBFinal="",this.switchError="",this.switchWarning="",this.isVersionEnabled=!0,this.versions="3",this.verError="",this.isSizeEnabled=!1,this.maxPermissibleFileSize="UNLIMITED",this.sizeError="",this.isLimitEnabled=!1,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.scheduleModel={scheduleName:"",time:"",timeZone:Y.default.tz.guess(),backupType:"INCR",dayArray:[]},this.scheduleEditModel={scheduleName:"",time:"",timeZone:Y.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.contentIndexEnabled="true",this.searchFilterType="inclusion",this.filterType="inclusion",this.nobackupscheduleElement={},this.nobackupscheduleModel={scheduleName:"",fromTime:"",toTime:"",timeZone:Y.default.tz.guess(),backupType:"INCR",dayArray:[]},this.nobackupscheduleEditModel={scheduleName:"",fromTime:"",toTime:"",timeZone:Y.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.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.endpointUiPreferencesEdit=["DECOUPLE","SUPPORT","INTIATE_BACKUP","RESTORE","BACKUP_SETTINGS","BACKUP_FILES","REFRESH_BACKUP_POLICY","PAUSE_BACKUP","ABOUT","SYSTRAYICON","EXIT","STOP_BACKUP","UPDATE_AGENT"],this.endpointDisabledUiPreferencesEdit=["DISALLOW_ADMIN_RESTORES","BLOCK_NOTIFICATIONS"],this.preferencesEdit={DECOUPLE:!0,SUPPORT:!0,INTIATE_BACKUP:!0,RESTORE:!0,BACKUP_SETTINGS:!0,BACKUP_FILES:!0,REFRESH_BACKUP_POLICY:!0,PAUSE_BACKUP:!0,ABOUT:!0,SYSTRAYICON:!0,EXIT:!0,NETWORK_SETTINGS:!1,UPDATE_AGENT:!0,STOP_BACKUP:!0,DISALLOW_ADMIN_RESTORES:!1,BLOCK_NOTIFICATIONS:!1},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:!1,canAdminChangeUserPassword:!1,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:!0,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 ae(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=yield this.userRoleService.getUserRole()})}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 for kbps or mbps":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 for gbps");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(),i=this.apiService.getPolicy(this.sharedService.getDataByKey("currentPolicyName")),B=this.apiService.getAllNoBackupSchedules();se([o,m,e,l,a,i,B]).subscribe(([T,W,G,D,R,j,oe])=>{console.log("API 1 response status:",T.status),console.log("API 1 response body:",T.body.scheduleElementList),console.log("API 1 response headers:",T.headers),console.log("API 2 response body:",W.body.inclusionFilterElementList),console.log("API 2 response headers:",W.headers),console.log("API 3 response body:",G.body.privacyGatewayElementList),console.log("API 3 response headers:",G.headers),console.log("API 4 response body:",D.body),console.log("API 4 response headers:",D.headers),console.log("API 5 response body:",R.body),console.log("API 5 response headers:",R.headers),console.log("API 6 response body:",j.body.backupPolicyElement),console.log("API 6 response headers:",j.headers),console.log("API 7 response body:",oe.body.noBkpScheduleElementList),console.log("API 7 response headers:",oe.headers);let le=G.body.privacyGatewayElementList.map(J=>({gatewayName:J.gatewayName,status:!1}));console.log("Transformed Data:",le),this.schedules=T.body.scheduleElementList,this.noBackupSchedules=oe.body.noBkpScheduleElementList,this.filters=W.body.inclusionFilterElementList.map(J=>U(x({},J),{status:!1})),console.log("filterssssssssss : "+JSON.stringify(this.filters)),this.searchfilters=W.body.inclusionFilterElementList.map(J=>U(x({},J),{status:!1})),this.pgs=le,console.log("API 5 response body:",JSON.stringify(R.body.globalExcludedFoldersElement.globalExcludedFoldersList.win));let $=[...new Set([...R.body.globalExcludedFoldersElement.globalExcludedFoldersList.win,...R.body.globalExcludedFoldersElement.globalExcludedFoldersList.mac])];$=[...new Set([...$,...R.body.globalExcludedFoldersElement.globalExcludedFoldersList.linux])],console.log("CombinedExclusions :",JSON.stringify($)),this.userExcludedFoldersUniversal=$.reverse(),this.noOfDevicesAllowedCloud=D.body.cloudPropertyElement.noOfDevicesAllowed,this.passwordChangeEnforce=D.body.cloudPropertyElement.passwordChangeEnforce,this.passwordChangeEnforce&&(this.canUserChangePassword=D.body.cloudPropertyElement.canUserChangePassword,this.canAdminChangeUserPassword=D.body.cloudPropertyElement.canAdminChangeUserPassword),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,this.getPolicy(j.body.backupPolicyElement)},T=>{switch(console.error("Error from Api's call: ",T),T.status){case 400:console.error("Bad Request: ",T.message);break;case 401:console.error("Unauthorized: ",T.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",T.message);break;case 404:console.error("Not Found: ",T.message);break;case 500:console.error("Internal Server Error: ",T.message);break;case 503:console.error("Internal Server Error: ",T.message);break;default:console.error("Unknown Error: ",T.message);break}})}getSelectedValueSchedule(o,m){if(o)this.checkedListSchedule.push(m);else{var e=this.checkedListSchedule.indexOf(m);this.checkedListSchedule.splice(e,1)}console.log("this.checkedList1111 : "+this.checkedListSchedule),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);l.noBkpScheduleElementList?(console.log("scheduleElementList from  getMultipleNoBackupSchedules: "+JSON.stringify(l.noBkpScheduleElementList)),this.defaultNoBackupSchedules=l.noBkpScheduleElementList):(console.log("scheduleElementList from  getMultipleNoBackupSchedules:  empty"),this.defaultNoBackupSchedules=[]),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"}submitEditPolicy(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===!1&&this.canAdminChangeUserPassword===!1){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)<1)&&(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.toString(),this.policyModel.osType="universal",this.policyModel.backupFolderPaths=this.defaultUniversalFolders,this.policyModel.sqlBackupFolders=this.sqlBackupFoldersList,this.policyModel.excludedFolderpaths=this.userExcludedFoldersUniversal,this.policyModel.exceptionsToExclusions=this.userExceptionsFoldersUniversal,this.policyModel.memoryUtilization=this.memoryUtilization.toString(),this.policyModel.cpuUtilization=this.cpuUtilization.toString(),this.policyModel.dcmEnabled=this.dcmEnabled,this.policyModel.clientDedup=this.clientDedup.toString(),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,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.toString(),this.policyModel.legalHoldEnabled=this.legalHold?"true":"false",this.policyModel.rwDetectionEnabled=this.rwDetectionEnabled?"true":"false",this.policyModel.noOfDaysToKeepDeviceNotHeard=this.noOfDaysToKeepDeviceNotHeard==="UNLIMITED"?"-1":this.noOfDaysToKeepDeviceNotHeard.toString(),this.policyModel.noOfDaysToKeepUserDeviceNotActive=this.noOfDaysToKeepUserDeviceNotActive==="UNLIMITED"?"-1":this.noOfDaysToKeepUserDeviceNotActive,this.policyModel.webBasedLogin=this.webBasedLogin.toString(),this.policyModel.compressionEnabled=this.compEnabled.toString(),this.policyModel.vssEnabled=this.vssEnabled.toString(),this.policyModel.searchAlgoForPg=this.searchAlgorithm,this.policyModel.privacyGatewayMappingElement=this.getprivacyElement(),this.policyModel.policyRefresh=this.policyRefresh+":00",this.policyModel.logUnaccessedFiles=this.switchlogUnaccessedFiles?"true":"false",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.toString(),this.policyModel.noOfDaysToKeepDeletedFiles=this.noOfDaysToKeepDeletedFiles==="UNLIMITED"?"-1":this.noOfDaysToKeepDeletedFiles.toString(),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.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.onUnitChange(),this.policyModel.serverUserName=this.serverUserNameToSave?btoa(this.serverUserNameToSave):"",this.policyModel.serverPassword=this.serverPasswordToSave?btoa(this.serverPasswordToSave):"",console.log("Policy Details : "+JSON.stringify(this.policyModel)),this.apiService.createPolicy(this.policyModel).subscribe(a=>{console.log("Policy cloned successfully:",a),this.toastr.success("Policy cloned 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}}getPolicy(o){this.policygroupName=o.policygroupName+"_copy",this.description=o.description,this.checkedListSchedule=o.scheduleNames,this.checkedListNoBackupSchedule=o.noBkpScheduleNames?o.noBkpScheduleNames:[],this.schedules=this.schedules.map(l=>U(x({},l),{checked:this.checkedListSchedule.includes(l.scheduleName)})),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.getMultipleNoBackupSchedules(this.checkedListNoBackupSchedule.toString()),this.versions=o.maxVersions,o.maxVersions=="-1"?(this.isVersionEnabled=!1,this.versions="UNLIMITED"):this.isVersionEnabled=!0,this.maxPermissibleFileSize=o.maxFileSize,o.maxFileSize=="1048576"||o.maxFileSize=="-1"?(this.isSizeEnabled=!1,this.maxPermissibleFileSize="UNLIMITED"):this.isSizeEnabled=!0,this.perUserBackupStorageLimit=o.userSizeAllowed,o.userSizeAllowed=="102400"?(this.isLimitEnabled=!1,this.perUserBackupStorageLimit="UNLIMITED"):this.isLimitEnabled=!0,this.noOfDevicesAllowed=o.noOfDevicesAllowed,this.defaultUniversalFolders=o.backupFolderPaths,this.userExcludedFoldersUniversal=o.excludedFolderpaths,this.userExceptionsFoldersUniversal=o.exceptionsToExclusions?o.exceptionsToExclusions:[],this.sqlBackupFoldersList=o.sqlBackupFolders?o.sqlBackupFolders:[],this.serverUserNameToSave=o.serverUserName,this.serverPasswordToSave=o.serverPassword,this.serverUserName=o.serverUserName?atob(o.serverUserName):"",this.serverPassword=o.serverPassword?atob(o.serverPassword):"",this.serverRePassword=o.serverPassword?atob(o.serverPassword):"",this.memoryUtilization=o.memoryUtilization,this.cpuUtilization=o.cpuUtilization,this.dcmEnabled=o.dcmEnabled,this.clientDedup=o.clientDedup,this.inclusionFilter=o.filterType=="inclusion",this.checkedListFilter=o.filterInclusionName,this.filters=this.filters.map(l=>U(x({},l),{checked:this.checkedListFilter.includes(l.filterName)})),this.getMultipleFilters(this.checkedListFilter.toString()),this.inclusionSearchFilter=o.searchFilterType=="inclusion",this.checkedListSearchFilter=o.searchFilterInclusionName,this.filters=this.filters.map(l=>U(x({},l),{checked:this.checkedListSearchFilter.includes(l.filterName)})),this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()),this.applyFilterToExceptionsToExclusion=o.applyFilterToExceptionsToExclusion,this.backupFilesWithoutExtension=o.backupFilesWithoutExtension,this.nwFromClientToPGMB=o.nwFromClientToPGMB;let m=Math.round(o.nwFromClientToPGMB*1e4)/1e4,e="mbps";m<1?(m=Math.round(m*1024),e="kbps"):m>1024&&m===1e4?(m=-1,e="mbps"):m>1024?(m=Math.round(m/1024),e="gbps"):m=Math.round(m),m==-1?(this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps",this.isThrottleEnabled=!1):(this.nwFromClientToPGMB=m.toString(),this.networkThrottlingUnit=e,this.isThrottleEnabled=!0),this.contentIndexEnabled=o.contentIndexEnabled,this.cpuThrottling=o.cpuThrottling,this.legalHold=o.legalHoldEnabled,this.rwDetectionEnabled=o.rwDetectionEnabled,o.noOfDaysToKeepDeviceNotHeard==-1?this.noOfDaysToKeepDeviceNotHeard="UNLIMITED":this.noOfDaysToKeepDeviceNotHeard=o.noOfDaysToKeepDeviceNotHeard,o.noOfDaysToKeepUserDeviceNotActive==-1||o.noOfDaysToKeepUserDeviceNotActive==0?(this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED",this.switchnoOfDaysToKeepUserDeviceNotActive=!1):(this.noOfDaysToKeepUserDeviceNotActive=o.noOfDaysToKeepUserDeviceNotActive,this.switchnoOfDaysToKeepUserDeviceNotActive=!0),this.numberOfThreadsAllowedForBackup=o.numberOfThreadsAllowedForBackup,this.webBasedLogin=o.webBasedLogin,this.compEnabled=o.compressionEnabled,this.vssEnabled=o.vssEnabled,this.policyRefresh=o.policyRefresh.split(":")[0],this.switchlogUnaccessedFiles=o.logUnaccessedFiles,this.switchAllowedDomains=o.endpointDomainCheck,this.allowedDomains=o.allowedDomains,this.autoUpdateAgent=o.autoUpdateAgent,this.isPasswordEnabled=o.switchAgentPassword,this.agentPassword=o.agentPassword,this.agentRePassword=o.agentPassword,this.canBackupHiddenFiles=o.canBackupHiddenFiles,this.downloadAgent=o.downloadAgent,o.noOfDaysToKeepDeletedFiles==-1?(this.switchnoOfDaysToKeepDeletedFiles=!1,this.noOfDaysToKeepDeletedFiles="UNLIMITED"):(this.switchnoOfDaysToKeepDeletedFiles=!0,this.noOfDaysToKeepDeletedFiles=o.noOfDaysToKeepDeletedFiles),this.switchuserConsentEnabled=o.userConsentEnabled,o.userConsentEnabled&&(this.userConsentDisplayText=o.userConsentDisplayText),this.preScanCommand=o.preScanCommand,this.preBackupCommand=o.preBackupCommand,this.postBackupCommand=o.postBackupCommand,this.continueOnPreScan=o.continueOnPreScan,this.continueOnPreBkp=o.continueOnPreBkp,this.continueOnPostBkp=o.continueOnPostBkp,this.preScanCommandEnabled=o.preScanCommandEnabled,this.preBackupCommandEnabled=o.preBackupCommandEnabled,this.postBackupCommandEnabled=o.postBackupCommandEnabled,this.passwordChangeEnforce||(this.canUserChangePassword=o.canUserChangePassword,this.canAdminChangeUserPassword=o.canAdminChangeUserPassword),this.canAdminRestoreAll=o.canAdminRestore,this.allowEndUserTocontrolRestore=o.allowEndUserTocontrolRestore,this.isAdminDeleteBackupFile=o.canAdminDelete,this.searchAlgorithm=o.searchAlgoForPg,this.checkedListPg=o.privacyGatewayMappingElement.privacyGatewayNames,this.pgs=this.pgs.map(l=>U(x({},l),{checked:this.checkedListPg.includes(l.gatewayName)})),console.log("policyElement.privacyGatewayMappingElement.privacyGatewayNames : "+o.privacyGatewayMappingElement.privacyGatewayNames),this.endpointUiPreferencesEdit=o.endpointUiPreferences,this.endpointDisabledUiPreferencesEdit=o.endpointDisabledUiPreferences,this.updatePreferencesEdit(),this.menuOptionsEdit=o.menuOptions,this.createUserAdmins=o.emailsRestriction.createUser.includes("admins")?"admins":"",this.createUserReadonlyadmins=o.emailsRestriction.createUser.includes("readonlyadmins")?"readonlyadmins":"",this.createUserUsers=o.emailsRestriction.createUser.includes("users")?"users":"",this.userDeletedAdmins=o.emailsRestriction.userDeleted.includes("admins")?"admins":"",this.userDeletedReadonlyadmins=o.emailsRestriction.userDeleted.includes("readonlyadmins")?"readonlyadmins":"",this.userDeletedUsers=o.emailsRestriction.userDeleted.includes("users")?"users":"",this.userBlockedAdmins=o.emailsRestriction.userBlocked.includes("admins")?"admins":"",this.userBlockedReadonlyadmins=o.emailsRestriction.userBlocked.includes("readonlyadmins")?"readonlyadmins":"",this.userBlockedUsers=o.emailsRestriction.userBlocked.includes("users")?"users":"",this.userLimitReachedAdmins=o.emailsRestriction.userLimitReached.includes("admins")?"admins":"",this.userLimitReachedReadonlyadmins=o.emailsRestriction.userLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.userLimitReachedUsers=o.emailsRestriction.userLimitReached.includes("users")?"users":"",this.deviceDeletedAdmins=o.emailsRestriction.deviceDeleted.includes("admins")?"admins":"",this.deviceDeletedReadonlyadmins=o.emailsRestriction.deviceDeleted.includes("readonlyadmins")?"readonlyadmins":"",this.deviceDeletedUsers=o.emailsRestriction.deviceDeleted.includes("users")?"users":"",this.deviceBlockedAdmins=o.emailsRestriction.deviceBlocked.includes("admins")?"admins":"",this.deviceBlockedReadonlyadmins=o.emailsRestriction.deviceBlocked.includes("readonlyadmins")?"readonlyadmins":"",this.deviceBlockedUsers=o.emailsRestriction.deviceBlocked.includes("users")?"users":"",this.deviceDecoupledAdmins=o.emailsRestriction.deviceDecoupled.includes("admins")?"admins":"",this.deviceDecoupledReadonlyadmins=o.emailsRestriction.deviceDecoupled.includes("readonlyadmins")?"readonlyadmins":"",this.deviceDecoupledUsers=o.emailsRestriction.deviceDecoupled.includes("users")?"users":"",this.deviceLimitReachedAdmins=o.emailsRestriction.deviceLimitReached.includes("admins")?"admins":"",this.deviceLimitReachedReadonlyadmins=o.emailsRestriction.deviceLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.deviceLimitReachedUsers=o.emailsRestriction.deviceLimitReached.includes("users")?"users":"",this.weeklyBkpreportAdmins=o.emailsRestriction.weeklyBkpreport.includes("admins")?"admins":"",this.weeklyBkpreportReadonlyadmins=o.emailsRestriction.weeklyBkpreport.includes("readonlyadmins")?"readonlyadmins":"",this.weeklyBkpreportUsers=o.emailsRestriction.weeklyBkpreport.includes("users")?"users":"",this.firstBkpCompletedAdmins=o.emailsRestriction.firstBkpCompleted.includes("admins")?"admins":"",this.firstBkpCompletedReadonlyadmins=o.emailsRestriction.firstBkpCompleted.includes("readonlyadmins")?"readonlyadmins":"",this.firstBkpCompletedUsers=o.emailsRestriction.firstBkpCompleted.includes("users")?"users":"",this.restoreInitiatedAdmins=o.emailsRestriction.restoreInitiated.includes("admins")?"admins":"",this.restoreInitiatedReadonlyadmins=o.emailsRestriction.restoreInitiated.includes("readonlyadmins")?"readonlyadmins":"",this.restoreInitiatedUsers=o.emailsRestriction.restoreInitiated.includes("users")?"users":"",this.restoreCompletedAdmins=o.emailsRestriction.restoreCompleted.includes("admins")?"admins":"",this.restoreCompletedReadonlyadmins=o.emailsRestriction.restoreCompleted.includes("readonlyadmins")?"readonlyadmins":"",this.restoreCompletedUsers=o.emailsRestriction.restoreCompleted.includes("users")?"users":"",this.storageLimitReachedAdmins=o.emailsRestriction.storageLimitReached.includes("admins")?"admins":"",this.storageLimitReachedReadonlyadmins=o.emailsRestriction.storageLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.storageLimitReachedUsers=o.emailsRestriction.storageLimitReached.includes("users")?"users":""}updatePreferencesEdit(){this.endpointUiPreferencesEdit.forEach(o=>{this.preferencesEdit[o]=!0}),this.endpointDisabledUiPreferencesEdit.forEach(o=>{this.preferencesEdit[o]=!1})}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:Y.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,i]=l.split(":").map(Number);this.myTime=new Date,this.myTime.setHours(a),this.myTime.setMinutes(i),this.scheduleDaysListEdit=this.scheduleElement.dayArray.map(B=>B.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:Y.default.tz.guess(),backupType:"INCR",dayArray:[]}}onNoBackupScheduleDayChange(){this.updateShowDailyLabelNoBackup(),this.matSelectCreateNoBackup.close()}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){if(!this.validateRequiredFieldsCreateNoBackup()){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.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}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"),i=this.nobackupmyTimeEnd.getMinutes().toString().padStart(2,"0");if(this.nobackupscheduleModel.toTime=`${a}:${i}`,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(B=>{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()},B=>{console.error("Error creating filter:",B)})}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,i]=l.split(":").map(Number);this.nobackupmyTime=new Date,this.nobackupmyTime.setHours(a),this.nobackupmyTime.setMinutes(i);let B=this.nobackupscheduleElement.toTime,[T,W]=B.split(":").map(Number);this.nobackupmyTimeEnd=new Date,this.nobackupmyTimeEnd.setHours(T),this.nobackupmyTimeEnd.setMinutes(W),this.nobackupscheduleDaysListEdit=this.nobackupscheduleElement.dayArray.map(G=>G.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(),this.matSelectEditNoBackup.close()}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"),i=this.nobackupmyTimeEnd.getMinutes().toString().padStart(2,"0");if(this.nobackupscheduleEditModel.toTime=`${a}:${i}`,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(B=>{this.toastr.success("Schedule updated successfully.","Info"),this.getAllNoBackupSchedules(),this.getMultipleNoBackupSchedules(this.checkedListNoBackupSchedule.toString()),this.closeNoBackupEditModal(),this.cdr.detectChanges()},B=>{console.error("Error creating filter:",B)})}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=>U(x({},l),{status:!1})),this.cannedFiltersTemplateCreate.sort((l,a)=>l.filterName.localeCompare(a.filterName)),this.cannedFiltersTemplateEdit=e.filterTemplateElementList.map(l=>U(x({},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.serverPassword,this.serverRePassword=this.serverPassword,this.serverUserName=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(ye),P(te),P(Ce),P(ft),P(ie),P(ct),P(ne),P(pe),P(we),P(mt),P(de),P(_t),P(pt))}}static{this.\u0275cmp=ce({type:h,selectors:[["app-clone"]],viewQuery:function(m,e){if(m&1&&(q(kt,5),q(Mt,5),q(Tt,5),q(Ft,5),q(Dt,5),q(Pt,5),q(Bt,5)),m&2){let l;K(l=z())&&(e.matSelectEdit=l.first),K(l=z())&&(e.matSelectCreate=l.first),K(l=z())&&(e.matSelectCreateNoBackup=l.first),K(l=z())&&(e.matSelectEditNoBackup=l.first),K(l=z())&&(e.matSelectBlukryptHost=l.first),K(l=z())&&(e.matSelectCreateFilter=l.first),K(l=z())&&(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:[me([te,ie,ne])],decls:1749,vars:462,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,"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"],[1,"clickAble",2,"cursor","pointer","font-size","small","font-weight","600",3,"click"],["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","ngModel","ngModelOptions"],[1,"col-lg-8"],["type","text","name","maxVersions","id","maxVersions","placeholder","Enter maxVersions","required","","autocomplete","off","value","3",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","data-parsley-type","integer","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",3,"selected"],["value","exclusion",3,"selected"],[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","ngModelOptions","ngModel"],[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,"ngModelChange","change","ngModel"],["cSelect","","name","bkpsettings","id","bkpsettings","required","","title","Select share",1,"form-control","bkpsettings",3,"ngModelChange","change","ngModel"],["cSelect","","name","initiatebackup","id","initiatebackup","required","","title","Select share",1,"form-control","initiatebackup",3,"ngModelChange","change","ngModel"],["cSelect","","name","stopbackup","id","stopbackup","required","","title","Select share",1,"form-control","stopbackup",3,"ngModelChange","change","ngModel"],["cSelect","","name","support","id","support","required","","title","Select support",1,"form-control","support",3,"ngModelChange","change","ngModel"],["for","about"],["cSelect","","name","about","id","about","required","","title","Select about",1,"form-control","about",3,"ngModelChange","change","ngModel"],["for","blockNotifications"],["cSelect","","name","blockNotifications","id","blockNotifications","title","Select share",1,"form-control","blockNotifications",3,"ngModelChange","change","ngModel"],["for","systrayIcon"],["cSelect","","name","systrayIcon","id","systrayIcon","required","","title","Select systrayIcon",1,"form-control","systrayIcon",3,"ngModelChange","change","ngModel"],["cSelect","","name","restore","id","restore","required","","title","Select restore",1,"form-control","restore",3,"ngModelChange","change","ngModel"],["cSelect","","name","refbkppolicy","id","refbkppolicy","required","","title","Select share",1,"form-control","refbkppolicy",3,"ngModelChange","change","ngModel"],["for","pauseBackup"],["cSelect","","name","pauseBackup","id","pauseBackup","required","","title","Select pauseBackup",1,"form-control","pauseBackup",3,"ngModelChange","change","ngModel"],["for","updateAgent"],["cSelect","","name","updateAgent","id","updateAgent","required","","title","Select updateAgent",1,"form-control","updateAgent",3,"ngModelChange","change","ngModel"],["cSelect","","name","decouple","id","decouple","required","","title","Select decouple",1,"form-control","decouple",3,"ngModelChange","change","ngModel"],["cSelect","","name","network_settings","id","network_settings","required","","title","Select Network Settings",1,"form-control","network_settings",3,"ngModelChange","change","ngModel"],["for","disallowAdminRestores"],["cSelect","","name","disallowAdminRestores","id","disallowAdminRestores","required","","title","Select Disallow Admin Restores",1,"form-control","disallowAdminRestores",3,"ngModelChange","change","ngModel"],["cSelect","","name","exitt","id","exitt","required","","title","Select exit",1,"form-control","exitt",3,"ngModelChange","change","ngModel"],[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,"ngModelChange","change","ngModel"],[1,"form-group","Versions"],["for","Versions"],["cSelect","","name","Versions","id","Versions","required","","title","Select Versions",1,"form-control","Versions",3,"ngModelChange","change","ngModel"],[1,"form-group","Download"],["for","Download"],["cSelect","","name","Download","id","Download","required","","title","Select Download",1,"form-control","Download",3,"ngModelChange","change","ngModel"],[1,"form-group","View"],["for","View"],["cSelect","","name","View","id","View","required","","title","Select View",1,"form-control","View",3,"ngModelChange","change","ngModel"],[1,"form-group","Share","hide"],["for","Share"],["cSelect","","name","Share","id","Share","required","","title","Select Share",1,"form-control","Share",3,"ngModelChange","change","ngModel"],[1,"form-group","portalRestore"],["for","portalRestore"],["cSelect","","name","portalRestore","id","portalRestore","required","","title","Select Restore",1,"form-control","portalRestore",3,"ngModelChange","change","ngModel"],[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%"],["multiple","","placeholder","Select Search Filters",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","ngModelOptions","ngModel"],[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","ngModelOptions","ngModel"],[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"],["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","ngModelOptions","ngModel"],["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","ngModelOptions","ngModel"],["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","ngModelOptions","ngModel"],["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"],["value","inclusion"],["value","exclusion"],["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",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","ngModelOptions","ngModel"],["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,Vt,4,1,"li",18)(5,Nt,3,1,"li",18)(6,Lt,3,1,"li",18),n()()()(),t(7,"c-row")(8,"form",19,0),u("ngSubmit",function(){d(l);let i=V(9);return c(e.submitEditPolicy(i))}),t(10,"c-col",20)(11,"c-card",21)(12,"c-card-header"),r(13,`
          `),r(14,`
          `),t(15,"div",22),r(16,`
            `),t(17,"div",23),r(18,`
                `),t(19,"div",24),r(20,`
                    `),t(21,"label",25),r(22,"Policy Name"),n(),r(23,`
                    `),t(24,"input",26,1),_("ngModelChange",function(i){return d(l),f(e.policygroupName,i)||(e.policygroupName=i),c(i)}),n(),r(26,`
                    `),w(27,It,8,3,"div",27),r(28,`
                    `),n(),r(29,`
                `),r(30,`
                `),t(31,"div",21),r(32,`
                    `),t(33,"label",28),r(34,"Description"),n(),r(35,`
                    `),t(36,"textarea",29),_("ngModelChange",function(i){return d(l),f(e.description,i)||(e.description=i),c(i)}),u("input",function(){return d(l),c(e.validateDescription())}),n(),r(37,`
                    `),w(38,Ot,2,0,"small",30),r(39,`
                    `),w(40,Wt,2,0,"small",30),r(41,`
                `),n(),r(42,`
                `),t(43,"div",31),r(44,`
                    `),t(45,"label",32),r(46,"Maximum Backup Size(GB)"),n(),r(47,`
                    `),t(48,"input",33),_("ngModelChange",function(i){return d(l),f(e.policyStorageSizeAllowed,i)||(e.policyStorageSizeAllowed=i),c(i)}),n(),r(49,`
                    `),t(50,"label",34),r(51,"Number of Users Allowed"),n(),r(52,`
                    `),t(53,"input",35),_("ngModelChange",function(i){return d(l),f(e.policyUsersAllowed,i)||(e.policyUsersAllowed=i),c(i)}),n(),r(54,`
                `),n(),r(55,`
            `),n(),r(56,`
        `),n(),r(57,`
        `),n(),t(58,"c-card-body")(59,"c-nav",36)(60,"c-nav-item")(61,"button",37),r(62," General "),n()(),t(63,"c-nav-item")(64,"button",37),r(65," Email Alert Configurations "),n()(),t(66,"c-nav-item")(67,"button",37),r(68," User action preferences "),n()(),t(69,"c-nav-item",38)(70,"button",37),r(71," Search "),n()(),t(72,"c-nav-item")(73,"button",37),r(74," Advanced "),n()()(),t(75,"c-tab-content",39,2)(77,"c-tab-pane",40)(78,"div",15)(79,"div",23),y(80,"br"),t(81,"legend",41),r(82,"Backup Information"),n(),t(83,"div",24)(84,"label",42),r(85,"Schedules - "),t(86,"a",43),u("click",function(){return d(l),c(e.addNewSchedule())}),r(87,"Create New Schedule"),n()(),t(88,"mat-form-field",44)(89,"mat-select",45),_("ngModelChange",function(i){return d(l),f(e.checkedListSchedule,i)||(e.checkedListSchedule=i),c(i)}),u("selectionChange",function(){return d(l),c(e.onScheduleChange())}),w(90,Rt,2,2,"mat-option",46),n()()()(),t(91,"div",47),y(92,"br")(93,"br"),w(94,Kt,13,0,"div",48),n(),t(95,"div",23)(96,"div",24)(97,"label",49),r(98,"'No Backup' windows - "),t(99,"a",50),u("click",function(){return d(l),c(e.addNewNoBackupSchedule())}),r(100,"Create New 'No backp' window"),n()(),t(101,"mat-form-field",51)(102,"mat-select",52),_("ngModelChange",function(i){return d(l),f(e.checkedListNoBackupSchedule,i)||(e.checkedListNoBackupSchedule=i),c(i)}),u("selectionChange",function(){return d(l),c(e.onNoBackupScheduleChange())}),w(103,zt,2,2,"mat-option",46),n()()()(),t(104,"div",47),w(105,Gt,13,0,"div",48),n(),t(106,"div",23)(107,"div",24)(108,"label",53),r(109,"Maximum number of Versions Allowed"),n(),t(110,"div",15)(111,"div",54)(112,"c-form-check",55)(113,"input",56),_("ngModelChange",function(i){return d(l),f(e.isVersionEnabled,i)||(e.isVersionEnabled=i),c(i)}),u("change",function(){return d(l),c(e.toggleVersion())}),n()()(),t(114,"div",57)(115,"input",58),_("ngModelChange",function(i){return d(l),f(e.versions,i)||(e.versions=i),c(i)}),u("blur",function(){return d(l),c(e.myFunctionVer())}),n(),t(116,"span",59),r(117),n()()()(),t(118,"div",24)(119,"label",60),r(120,"Maximum Permissible File Size (In MB)"),n(),t(121,"div",15)(122,"div",54)(123,"c-form-check",55)(124,"input",61),_("ngModelChange",function(i){return d(l),f(e.isSizeEnabled,i)||(e.isSizeEnabled=i),c(i)}),u("change",function(){return d(l),c(e.toggleSize())}),n()()(),t(125,"div",57)(126,"input",62),_("ngModelChange",function(i){return d(l),f(e.maxPermissibleFileSize,i)||(e.maxPermissibleFileSize=i),c(i)}),u("blur",function(){return d(l),c(e.myFunctionMPS())}),n(),t(127,"span",63),r(128),n()()()(),t(129,"div",24)(130,"label",64),r(131,"Per Asset Backup Storage Limit (In GB)"),n(),t(132,"div",15)(133,"div",54)(134,"c-form-check",55)(135,"input",65),_("ngModelChange",function(i){return d(l),f(e.isLimitEnabled,i)||(e.isLimitEnabled=i),c(i)}),u("change",function(){return d(l),c(e.toggleLimit())}),n()()(),t(136,"div",57)(137,"input",66),_("ngModelChange",function(i){return d(l),f(e.perUserBackupStorageLimit,i)||(e.perUserBackupStorageLimit=i),c(i)}),u("blur",function(){return d(l),c(e.myFunctionUBS())}),n(),t(138,"span",67),r(139),n()()()()()(),t(140,"div",15)(141,"div",23)(142,"legend",41),r(143,"Asset Information"),n(),t(144,"div",24)(145,"label",68),r(146,"Maximum Assets Allowed"),n(),t(147,"input",69),_("ngModelChange",function(i){return d(l),f(e.noOfDevicesAllowed,i)||(e.noOfDevicesAllowed=i),c(i)}),u("blur",function(){return d(l),c(e.myFunctionDevice())}),n(),t(148,"span",70),r(149),n()(),t(150,"div",71)(151,"label",72),r(152,"Operating System Type"),n(),t(153,"select",73),_("ngModelChange",function(i){return d(l),f(e.osType,i)||(e.osType=i),c(i)}),t(154,"option",74),r(155,"Universal"),n()()(),t(156,"div",24)(157,"label",75),r(158,"Default Folders to Backup"),n(),t(159,"c-input-group",21)(160,"input",76),_("ngModelChange",function(i){return d(l),f(e.defaultFoldersBackup,i)||(e.defaultFoldersBackup=i),c(i)}),u("keyup.enter",function(){return d(l),c(e.addDefaultFolder())}),n(),t(161,"button",77),u("click",function(){return d(l),c(e.addDefaultFolder())}),r(162,"Add"),n()()(),w(163,Qt,9,1,"div",78),t(164,"div",79)(165,"label",80),r(166,"Server User Name"),n(),t(167,"input",81),_("ngModelChange",function(i){return d(l),f(e.serverUserNameToSave,i)||(e.serverUserNameToSave=i),c(i)}),n()(),t(168,"div",79)(169,"label",82),r(170,"Server Password"),n(),t(171,"input",83),_("ngModelChange",function(i){return d(l),f(e.serverPasswordToSave,i)||(e.serverPasswordToSave=i),c(i)}),n()(),t(172,"div",24)(173,"label",84),r(174,"Exclusion Folder Name"),n(),t(175,"c-input-group",21)(176,"input",85),_("ngModelChange",function(i){return d(l),f(e.exclusionFolderName,i)||(e.exclusionFolderName=i),c(i)}),u("keyup.enter",function(){return d(l),c(e.addExclusionFolder())}),n(),t(177,"button",86),u("click",function(){return d(l),c(e.addExclusionFolder())}),r(178,"Add"),n()()(),t(179,"div")(180,"div",87)(181,"label",88),r(182,"Exceptions to exclusions"),n(),t(183,"c-input-group",21)(184,"input",89),_("ngModelChange",function(i){return d(l),f(e.exceptionFolderName,i)||(e.exceptionFolderName=i),c(i)}),u("keyup.enter",function(){return d(l),c(e.addExceptionFolder())}),n(),t(185,"button",90),u("click",function(){return d(l),c(e.addExceptionFolder())}),r(186,"Add"),n()()()(),t(187,"div",71)(188,"label",91),r(189,"Memory Utilization (In MB)"),n(),t(190,"input",92),_("ngModelChange",function(i){return d(l),f(e.memoryUtilization,i)||(e.memoryUtilization=i),c(i)}),n()(),t(191,"div",71)(192,"label",93),r(193,"CPU Utilization (In Percentage)"),n(),t(194,"input",94),_("ngModelChange",function(i){return d(l),f(e.cpuUtilization,i)||(e.cpuUtilization=i),c(i)}),n()(),t(195,"div",71)(196,"label",95),r(197,"DCM Enabled"),n(),t(198,"select",96),_("ngModelChange",function(i){return d(l),f(e.dcmEnabled,i)||(e.dcmEnabled=i),c(i)}),t(199,"option",97),r(200,"Enabled"),n(),t(201,"option",98),r(202,"Disabled"),n()()(),t(203,"div",71)(204,"label",99),r(205,"Client Dedup"),n(),t(206,"select",100),_("ngModelChange",function(i){return d(l),f(e.clientDedup,i)||(e.clientDedup=i),c(i)}),t(207,"option",101),r(208,"Enabled"),n(),t(209,"option",102),r(210,"Disabled"),n()()(),t(211,"div",71)(212,"label",103),r(213,"Maximun File Size For Backup Batch"),n(),y(214,"input",104),n()(),t(215,"div",47),y(216,"br")(217,"br"),t(218,"div",15)(219,"div",105)(220,"div",106)(221,"div",107)(222,"div",108)(223,"h5"),y(224,"i",109),r(225," Default Folders"),n()(),t(226,"div",110)(227,"div",111)(228,"div"),w(229,jt,3,0,"ul",112)(230,Jt,2,0,"span",18),n()()()(),t(231,"div",113)(232,"div",114),y(233,"input",115),t(234,"label",116),r(235,"Backup SQL Database"),n()()(),w(236,ei,10,2,"div",117),t(237,"div",107)(238,"div",108)(239,"h5"),y(240,"i",109),r(241," Excluded Folders"),n()(),t(242,"div",118)(243,"div",111)(244,"div"),w(245,ii,3,0,"ul",112)(246,ni,2,0,"span",18),n()()()(),t(247,"div",107)(248,"div",108)(249,"h5"),y(250,"i",109),r(251," Exceptions to exclusions "),t(252,"a",119),y(253,"i",120),n()()(),t(254,"div",118)(255,"div"),w(256,ri,3,0,"ul",112)(257,li,2,0,"span",18),n()()()()()()()(),t(258,"div",15)(259,"div",23)(260,"legend",41),r(261,"Filters "),t(262,"a",121),y(263,"i",120),n()(),t(264,"div",24)(265,"label",122),r(266,"Filters - "),t(267,"a",50),u("click",function(){return d(l),c(e.addNewFilter())}),r(268,"Create New Filter"),n()(),y(269,"br"),t(270,"label",122),r(271,"Filter type"),n(),t(272,"select",123),_("ngModelChange",function(i){return d(l),f(e.filterType,i)||(e.filterType=i),c(i)}),u("change",function(i){return d(l),c(e.onSelectChangeFilterType(i))}),t(273,"option",124),r(274,"Inclusion"),n(),t(275,"option",125),r(276,"Exclusion"),n()(),t(277,"div",126),w(278,ai,3,0,"h5",127)(279,si,3,0,"h5",128),t(280,"mat-form-field",129)(281,"mat-select",130),_("ngModelChange",function(i){return d(l),f(e.checkedListFilter,i)||(e.checkedListFilter=i),c(i)}),u("selectionChange",function(){return d(l),c(e.onFilterChange())}),w(282,di,2,2,"mat-option",46),n()()(),t(283,"div",131)(284,"div",54)(285,"c-form-check",55)(286,"input",132),_("ngModelChange",function(i){return d(l),f(e.applyFilterToExceptionsToExclusion,i)||(e.applyFilterToExceptionsToExclusion=i),c(i)}),n()()(),t(287,"span",133),r(288,"Apply filters to Exceptions To Exclusions"),n()()()(),t(289,"div",47),y(290,"br")(291,"br"),w(292,mi,20,1,"div",134),n()()(),t(293,"c-tab-pane",40)(294,"div",15)(295,"div",105)(296,"legend",41),r(297,"Email Alert Configurations"),n()(),t(298,"div",135)(299,"div",24)(300,"select",136),_("ngModelChange",function(i){return d(l),f(e.createUserAdmins,i)||(e.createUserAdmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(301,"option",137),r(302,"Enabled"),n(),t(303,"option",138),r(304,"Disabled"),n()()()(),t(305,"div",135)(306,"div",24)(307,"select",139),_("ngModelChange",function(i){return d(l),f(e.createUserReadonlyadmins,i)||(e.createUserReadonlyadmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(308,"option",140),r(309,"Enabled"),n(),t(310,"option",138),r(311,"Disabled"),n()()()(),t(312,"div",16)(313,"div",24)(314,"label"),r(315,"User Created"),n(),t(316,"select",141),_("ngModelChange",function(i){return d(l),f(e.createUserUsers,i)||(e.createUserUsers=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(317,"option",142),r(318,"Enabled"),n(),t(319,"option",143),r(320,"Disabled"),n()()()(),t(321,"div",135)(322,"div",24)(323,"select",144),_("ngModelChange",function(i){return d(l),f(e.userDeletedAdmins,i)||(e.userDeletedAdmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(324,"option",137),r(325,"Enabled"),n(),t(326,"option",138),r(327,"Disabled"),n()()()(),t(328,"div",135)(329,"div",24)(330,"select",145),_("ngModelChange",function(i){return d(l),f(e.userDeletedReadonlyadmins,i)||(e.userDeletedReadonlyadmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(331,"option",140),r(332,"Enabled"),n(),t(333,"option",138),r(334,"Disabled"),n()()()(),t(335,"div",16)(336,"div",24)(337,"label"),r(338,"User Deleted"),n(),t(339,"select",146),_("ngModelChange",function(i){return d(l),f(e.userDeletedUsers,i)||(e.userDeletedUsers=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(340,"option",142),r(341,"Enabled"),n(),t(342,"option",143),r(343,"Disabled"),n()()()(),t(344,"div",135)(345,"div",24)(346,"select",147),_("ngModelChange",function(i){return d(l),f(e.userBlockedAdmins,i)||(e.userBlockedAdmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(347,"option",137),r(348,"Enabled"),n(),t(349,"option",138),r(350,"Disabled"),n()()()(),t(351,"div",135)(352,"div",24)(353,"select",148),_("ngModelChange",function(i){return d(l),f(e.userBlockedReadonlyadmins,i)||(e.userBlockedReadonlyadmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(354,"option",140),r(355,"Enabled"),n(),t(356,"option",138),r(357,"Disabled"),n()()()(),t(358,"div",16)(359,"div",24)(360,"label"),r(361,"User Blocked"),n(),t(362,"select",149),_("ngModelChange",function(i){return d(l),f(e.userBlockedUsers,i)||(e.userBlockedUsers=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(363,"option",142),r(364,"Enabled"),n(),t(365,"option",143),r(366,"Disabled"),n()()()(),t(367,"div",135)(368,"div",24)(369,"select",150),_("ngModelChange",function(i){return d(l),f(e.userLimitReachedAdmins,i)||(e.userLimitReachedAdmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(370,"option",137),r(371,"Enabled"),n(),t(372,"option",138),r(373,"Disabled"),n()()()(),t(374,"div",135)(375,"div",24)(376,"select",151),_("ngModelChange",function(i){return d(l),f(e.userLimitReachedReadonlyadmins,i)||(e.userLimitReachedReadonlyadmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(377,"option",140),r(378,"Enabled"),n(),t(379,"option",138),r(380,"Disabled"),n()()()(),t(381,"div",135)(382,"div",24)(383,"label"),r(384,"User Limit Reached"),n(),t(385,"select",152),_("ngModelChange",function(i){return d(l),f(e.userLimitReachedUsers,i)||(e.userLimitReachedUsers=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(386,"option",142),r(387,"Enabled"),n(),t(388,"option",143),r(389,"Disabled"),n()()()(),t(390,"div",135)(391,"div",24)(392,"select",153),_("ngModelChange",function(i){return d(l),f(e.deviceDeletedAdmins,i)||(e.deviceDeletedAdmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(393,"option",137),r(394,"Enabled"),n(),t(395,"option",138),r(396,"Disabled"),n()()()(),t(397,"div",135)(398,"div",24)(399,"select",154),_("ngModelChange",function(i){return d(l),f(e.deviceDeletedReadonlyadmins,i)||(e.deviceDeletedReadonlyadmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(400,"option",140),r(401,"Enabled"),n(),t(402,"option",138),r(403,"Disabled"),n()()()(),t(404,"div",16)(405,"div",24)(406,"label"),r(407,"Asset Deleted"),n(),t(408,"select",155),_("ngModelChange",function(i){return d(l),f(e.deviceDeletedUsers,i)||(e.deviceDeletedUsers=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(409,"option",142),r(410,"Enabled"),n(),t(411,"option",143),r(412,"Disabled"),n()()()(),t(413,"div",135)(414,"div",24)(415,"select",156),_("ngModelChange",function(i){return d(l),f(e.deviceBlockedAdmins,i)||(e.deviceBlockedAdmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(416,"option",137),r(417,"Enabled"),n(),t(418,"option",138),r(419,"Disabled"),n()()()(),t(420,"div",135)(421,"div",24)(422,"select",157),_("ngModelChange",function(i){return d(l),f(e.deviceBlockedReadonlyadmins,i)||(e.deviceBlockedReadonlyadmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(423,"option",140),r(424,"Enabled"),n(),t(425,"option",138),r(426,"Disabled"),n()()()(),t(427,"div",16)(428,"div",24)(429,"label"),r(430,"Asset Blocked"),n(),t(431,"select",158),_("ngModelChange",function(i){return d(l),f(e.deviceBlockedUsers,i)||(e.deviceBlockedUsers=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(432,"option",142),r(433,"Enabled"),n(),t(434,"option",143),r(435,"Disabled"),n()()()(),t(436,"div",135)(437,"div",24)(438,"select",159),_("ngModelChange",function(i){return d(l),f(e.deviceDecoupledAdmins,i)||(e.deviceDecoupledAdmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(439,"option",137),r(440,"Enabled"),n(),t(441,"option",138),r(442,"Disabled"),n()()()(),t(443,"div",135)(444,"div",24)(445,"select",160),_("ngModelChange",function(i){return d(l),f(e.deviceDecoupledReadonlyadmins,i)||(e.deviceDecoupledReadonlyadmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(446,"option",140),r(447,"Enabled"),n(),t(448,"option",138),r(449,"Disabled"),n()()()(),t(450,"div",16)(451,"div",24)(452,"label"),r(453,"Asset de-couple"),n(),t(454,"select",161),_("ngModelChange",function(i){return d(l),f(e.deviceDecoupledUsers,i)||(e.deviceDecoupledUsers=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(455,"option",142),r(456,"Enabled"),n(),t(457,"option",143),r(458,"Disabled"),n()()()(),t(459,"div",135)(460,"div",24)(461,"select",162),_("ngModelChange",function(i){return d(l),f(e.deviceLimitReachedAdmins,i)||(e.deviceLimitReachedAdmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(462,"option",137),r(463,"Enabled"),n(),t(464,"option",138),r(465,"Disabled"),n()()()(),t(466,"div",135)(467,"div",24)(468,"select",163),_("ngModelChange",function(i){return d(l),f(e.deviceLimitReachedReadonlyadmins,i)||(e.deviceLimitReachedReadonlyadmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(469,"option",140),r(470,"Enabled"),n(),t(471,"option",138),r(472,"Disabled"),n()()()(),t(473,"div",16)(474,"div",24)(475,"label"),r(476,"Asset Limit Reached"),n(),t(477,"select",164),_("ngModelChange",function(i){return d(l),f(e.deviceLimitReachedUsers,i)||(e.deviceLimitReachedUsers=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(478,"option",142),r(479,"Enabled"),n(),t(480,"option",143),r(481,"Disabled"),n()()()(),t(482,"div",135)(483,"div",24)(484,"select",165),_("ngModelChange",function(i){return d(l),f(e.weeklyBkpreportAdmins,i)||(e.weeklyBkpreportAdmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(485,"option",137),r(486,"Enabled"),n(),t(487,"option",138),r(488,"Disabled"),n()()()(),t(489,"div",135)(490,"div",24)(491,"select",166),_("ngModelChange",function(i){return d(l),f(e.weeklyBkpreportReadonlyadmins,i)||(e.weeklyBkpreportReadonlyadmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(492,"option",140),r(493,"Enabled"),n(),t(494,"option",138),r(495,"Disabled"),n()()()(),t(496,"div",16)(497,"div",24)(498,"label"),r(499,"Weekly backup report"),n(),t(500,"select",167),_("ngModelChange",function(i){return d(l),f(e.weeklyBkpreportUsers,i)||(e.weeklyBkpreportUsers=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(501,"option",142),r(502,"Enabled"),n(),t(503,"option",143),r(504,"Disabled"),n()()()(),t(505,"div",135)(506,"div",24)(507,"select",168),_("ngModelChange",function(i){return d(l),f(e.firstBkpCompletedAdmins,i)||(e.firstBkpCompletedAdmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(508,"option",137),r(509,"Enabled"),n(),t(510,"option",138),r(511,"Disabled"),n()()()(),t(512,"div",135)(513,"div",24)(514,"select",169),_("ngModelChange",function(i){return d(l),f(e.firstBkpCompletedReadonlyadmins,i)||(e.firstBkpCompletedReadonlyadmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(515,"option",140),r(516,"Enabled"),n(),t(517,"option",138),r(518,"Disabled"),n()()()(),t(519,"div",16)(520,"div",24)(521,"label"),r(522,"First backup completed"),n(),t(523,"select",170),_("ngModelChange",function(i){return d(l),f(e.firstBkpCompletedUsers,i)||(e.firstBkpCompletedUsers=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(524,"option",142),r(525,"Enabled"),n(),t(526,"option",143),r(527,"Disabled"),n()()()(),t(528,"div",135)(529,"div",24)(530,"select",171),_("ngModelChange",function(i){return d(l),f(e.restoreInitiatedAdmins,i)||(e.restoreInitiatedAdmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(531,"option",137),r(532,"Enabled"),n(),t(533,"option",138),r(534,"Disabled"),n()()()(),t(535,"div",135)(536,"div",24)(537,"select",172),_("ngModelChange",function(i){return d(l),f(e.restoreInitiatedReadonlyadmins,i)||(e.restoreInitiatedReadonlyadmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(538,"option",140),r(539,"Enabled"),n(),t(540,"option",138),r(541,"Disabled"),n()()()(),t(542,"div",16)(543,"div",24)(544,"label"),r(545,"Restore initiated"),n(),t(546,"select",173),_("ngModelChange",function(i){return d(l),f(e.restoreInitiatedUsers,i)||(e.restoreInitiatedUsers=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(547,"option",142),r(548,"Enabled"),n(),t(549,"option",143),r(550,"Disabled"),n()()()(),t(551,"div",135)(552,"div",24)(553,"select",174),_("ngModelChange",function(i){return d(l),f(e.restoreCompletedAdmins,i)||(e.restoreCompletedAdmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(554,"option",137),r(555,"Enabled"),n(),t(556,"option",138),r(557,"Disabled"),n()()()(),t(558,"div",135)(559,"div",24)(560,"select",175),_("ngModelChange",function(i){return d(l),f(e.restoreCompletedReadonlyadmins,i)||(e.restoreCompletedReadonlyadmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(561,"option",140),r(562,"Enabled"),n(),t(563,"option",138),r(564,"Disabled"),n()()()(),t(565,"div",16)(566,"div",24)(567,"label"),r(568,"Restore completed"),n(),t(569,"select",176),_("ngModelChange",function(i){return d(l),f(e.restoreCompletedUsers,i)||(e.restoreCompletedUsers=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(570,"option",142),r(571,"Enabled"),n(),t(572,"option",143),r(573,"Disabled"),n()()()(),t(574,"div",135)(575,"div",24)(576,"select",177),_("ngModelChange",function(i){return d(l),f(e.storageLimitReachedAdmins,i)||(e.storageLimitReachedAdmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(577,"option",137),r(578,"Enabled"),n(),t(579,"option",138),r(580,"Disabled"),n()()()(),t(581,"div",135)(582,"div",24)(583,"select",178),_("ngModelChange",function(i){return d(l),f(e.storageLimitReachedReadonlyadmins,i)||(e.storageLimitReachedReadonlyadmins=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(584,"option",140),r(585,"Enabled"),n(),t(586,"option",138),r(587,"Disabled"),n()()()(),t(588,"div",16)(589,"div",24)(590,"label"),r(591,"Storage limit reached"),n(),t(592,"select",179),_("ngModelChange",function(i){return d(l),f(e.storageLimitReachedUsers,i)||(e.storageLimitReachedUsers=i),c(i)}),u("change",function(){return d(l),c(e.updateOutput())}),t(593,"option",142),r(594,"Enabled"),n(),t(595,"option",143),r(596,"Disabled"),n()()()()()(),t(597,"c-tab-pane",40)(598,"div",15)(599,"div",105)(600,"legend",41),r(601,"Agent "),t(602,"a",180),y(603,"i",120),n()()(),t(604,"div",16)(605,"div",24)(606,"label",181),r(607,"My Backup Files"),n(),t(608,"select",182),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.BACKUP_FILES,i)||(e.preferencesEdit.BACKUP_FILES=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(609,"option",101),r(610,"Enabled"),n(),t(611,"option",102),r(612,"Disabled"),n()()(),t(613,"div",24)(614,"label",181),r(615,"Settings"),n(),t(616,"select",183),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.BACKUP_SETTINGS,i)||(e.preferencesEdit.BACKUP_SETTINGS=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(617,"option",101),r(618,"Enabled"),n(),t(619,"option",102),r(620,"Disabled"),n()()(),t(621,"div",24)(622,"label",181),r(623,"Initiate Backup"),n(),t(624,"select",184),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.INTIATE_BACKUP,i)||(e.preferencesEdit.INTIATE_BACKUP=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(625,"option",101),r(626,"Enabled"),n(),t(627,"option",102),r(628,"Disabled"),n()()(),t(629,"div",24)(630,"label",181),r(631,"Stop Backup"),n(),t(632,"select",185),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.STOP_BACKUP,i)||(e.preferencesEdit.STOP_BACKUP=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(633,"option",101),r(634,"Enabled"),n(),t(635,"option",102),r(636,"Disabled"),n()()(),t(637,"div",24)(638,"label",181),r(639,"Support"),n(),t(640,"select",186),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.SUPPORT,i)||(e.preferencesEdit.SUPPORT=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(641,"option",101),r(642,"Enabled"),n(),t(643,"option",102),r(644,"Disabled"),n()()(),t(645,"div",24)(646,"label",187),r(647,"About"),n(),t(648,"select",188),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.ABOUT,i)||(e.preferencesEdit.ABOUT=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(649,"option",101),r(650,"Enabled"),n(),t(651,"option",102),r(652,"Disabled"),n()()(),t(653,"div",71)(654,"label",189),r(655,"Block Notifications"),n(),t(656,"select",190),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.BLOCK_NOTIFICATIONS,i)||(e.preferencesEdit.BLOCK_NOTIFICATIONS=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(657,"option",97),r(658,"Enabled"),n(),t(659,"option",98),r(660,"Disabled"),n()()(),t(661,"div",24)(662,"label",191),r(663,"Systray Icon"),n(),t(664,"select",192),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.SYSTRAYICON,i)||(e.preferencesEdit.SYSTRAYICON=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(665,"option",101),r(666,"Enabled"),n(),t(667,"option",102),r(668,"Disabled"),n()()()(),t(669,"div",16)(670,"div",24)(671,"label",181),r(672,"Restore"),n(),t(673,"select",193),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.RESTORE,i)||(e.preferencesEdit.RESTORE=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(674,"option",101),r(675,"Enabled"),n(),t(676,"option",102),r(677,"Disabled"),n()()(),t(678,"div",24)(679,"label",181),r(680,"Refresh Policy"),n(),t(681,"select",194),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.REFRESH_BACKUP_POLICY,i)||(e.preferencesEdit.REFRESH_BACKUP_POLICY=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(682,"option",101),r(683,"Enabled"),n(),t(684,"option",102),r(685,"Disabled"),n()()(),t(686,"div",24)(687,"label",195),r(688,"Pause Backup"),n(),t(689,"select",196),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.PAUSE_BACKUP,i)||(e.preferencesEdit.PAUSE_BACKUP=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(690,"option",101),r(691,"Enabled"),n(),t(692,"option",102),r(693,"Disabled"),n()()(),t(694,"div",24)(695,"label",197),r(696,"Update Agent"),n(),t(697,"select",198),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.UPDATE_AGENT,i)||(e.preferencesEdit.UPDATE_AGENT=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(698,"option",101),r(699,"Enabled"),n(),t(700,"option",102),r(701,"Disabled"),n()()(),t(702,"div",24)(703,"label",181),r(704,"Decouple"),n(),t(705,"select",199),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.DECOUPLE,i)||(e.preferencesEdit.DECOUPLE=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(706,"option",101),r(707,"Enabled"),n(),t(708,"option",102),r(709,"Disabled"),n()()(),t(710,"div",24)(711,"label",181),r(712,"Network Settings"),n(),t(713,"select",200),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.NETWORK_SETTINGS,i)||(e.preferencesEdit.NETWORK_SETTINGS=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(714,"option",101),r(715,"Enabled"),n(),t(716,"option",102),r(717,"Disabled"),n()()(),t(718,"div",79)(719,"label",201),r(720,"Disallow Admin Restores"),n(),t(721,"select",202),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.DISALLOW_ADMIN_RESTORES,i)||(e.preferencesEdit.DISALLOW_ADMIN_RESTORES=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(722,"option",97),r(723,"Enabled"),n(),t(724,"option",98),r(725,"Disabled"),n()()(),t(726,"div",24)(727,"label",181),r(728,"Exit"),n(),t(729,"select",203),_("ngModelChange",function(i){return d(l),f(e.preferencesEdit.EXIT,i)||(e.preferencesEdit.EXIT=i),c(i)}),u("change",function(){return d(l),c(e.updatePreferences())}),t(730,"option",101),r(731,"Enabled"),n(),t(732,"option",102),r(733,"Disabled"),n()()()()(),t(734,"div",15)(735,"div",204)(736,"legend",41),r(737,"Portal "),t(738,"a",205),y(739,"i",120),n()(),t(740,"div",16)(741,"div",206)(742,"label",207),r(743,"Open"),n(),t(744,"select",208),_("ngModelChange",function(i){return d(l),f(e.menuOptionsEdit.open,i)||(e.menuOptionsEdit.open=i),c(i)}),u("change",function(){return d(l),c(e.updateMenuOptions())}),t(745,"option",101),r(746,"Enabled"),n(),t(747,"option",102),r(748,"Disabled"),n()()(),t(749,"div",209)(750,"label",210),r(751,"Versions"),n(),t(752,"select",211),_("ngModelChange",function(i){return d(l),f(e.menuOptionsEdit.versions,i)||(e.menuOptionsEdit.versions=i),c(i)}),u("change",function(){return d(l),c(e.updateMenuOptions())}),t(753,"option",101),r(754,"Enabled"),n(),t(755,"option",102),r(756,"Disabled"),n()()(),t(757,"div",212)(758,"label",213),r(759,"Download"),n(),t(760,"select",214),_("ngModelChange",function(i){return d(l),f(e.menuOptionsEdit.download,i)||(e.menuOptionsEdit.download=i),c(i)}),u("change",function(){return d(l),c(e.updateMenuOptions())}),t(761,"option",101),r(762,"Enabled"),n(),t(763,"option",102),r(764,"Disabled"),n()()()(),t(765,"div",16)(766,"div",215)(767,"label",216),r(768,"View"),n(),t(769,"select",217),_("ngModelChange",function(i){return d(l),f(e.menuOptionsEdit.view,i)||(e.menuOptionsEdit.view=i),c(i)}),u("change",function(){return d(l),c(e.updateMenuOptions())}),t(770,"option",101),r(771,"Enabled"),n(),t(772,"option",102),r(773,"Disabled"),n()()(),t(774,"div",218)(775,"label",219),r(776,"Share"),n(),t(777,"select",220),_("ngModelChange",function(i){return d(l),f(e.menuOptionsEdit.share,i)||(e.menuOptionsEdit.share=i),c(i)}),u("change",function(){return d(l),c(e.updateMenuOptions())}),t(778,"option",97),r(779,"Enabled"),n(),t(780,"option",98),r(781,"Disabled"),n()()(),t(782,"div",221)(783,"label",222),r(784,"Restore"),n(),t(785,"select",223),_("ngModelChange",function(i){return d(l),f(e.menuOptionsEdit.restore,i)||(e.menuOptionsEdit.restore=i),c(i)}),u("change",function(){return d(l),c(e.updateMenuOptions())}),t(786,"option",101),r(787,"Enabled"),n(),t(788,"option",102),r(789,"Disabled"),n()()()()()(),t(790,"div",224)(791,"div",105)(792,"legend",41),r(793,"Share Details"),n(),t(794,"div",225)(795,"div",24)(796,"div",114),y(797,"input",226),t(798,"label",227),r(799,"Enable Domain Control"),n()()(),t(800,"div",15)(801,"div",228)(802,"label",229),r(803,"Share Domain Inclusions/Exclusions"),n(),y(804,"input",230),n(),t(805,"div",231)(806,"div",232),y(807,"input",233),t(808,"label",234),r(809,"Share only with these Email domains"),n(),y(810,"br")(811,"input",235),t(812,"label",234),r(813,"Share with all Email domains excepting these"),n()()()()(),t(814,"div",236)(815,"div",237)(816,"label",238),y(817,"input",239)(818,"div",240),n()(),t(819,"span",133),r(820,"Allow sharer visibility to the shared link"),n()(),t(821,"div",225)(822,"div",24)(823,"div",114),y(824,"input",241),t(825,"label",242),r(826,"Highly Secure Sharing"),n()()(),t(827,"div",204)(828,"div",243)(829,"div",244)(830,"label",238),y(831,"input",245)(832,"div",240),n()(),t(833,"span",133),r(834,"Complex Password"),n()(),t(835,"div",243)(836,"div",246)(837,"label",238),y(838,"input",247)(839,"div",240),n()(),t(840,"span",133),r(841,"Allow Download"),n()(),t(842,"div",243)(843,"div",248)(844,"label",238),y(845,"input",249)(846,"div",240),n()(),t(847,"span",133),r(848,"Require Expiration Date for shared data"),n()(),t(849,"div",243)(850,"div",250)(851,"label",238),y(852,"input",251)(853,"div",240),n()(),t(854,"span",133),r(855,"Enable multi-factor authentication"),n()()()()()()(),t(856,"c-tab-pane",40)(857,"div",15)(858,"div",105)(859,"legend",41),r(860,"Search "),t(861,"a",252),y(862,"i",120),n()(),t(863,"div",16)(864,"div",253)(865,"label",254),r(866,"Content Index"),n(),t(867,"select",255),_("ngModelChange",function(i){return d(l),f(e.contentIndexEnabled,i)||(e.contentIndexEnabled=i),c(i)}),t(868,"option",101),r(869,"Enabled"),n(),t(870,"option",102),r(871,"Disabled"),n()()()()()(),t(872,"div",15)(873,"div",23)(874,"legend",41),r(875,"Search Filters"),n(),t(876,"div",24)(877,"label",256),r(878,"filters - "),t(879,"a",257),u("click",function(){return d(l),c(e.addNewFilter())}),r(880,"Create New Filter"),n()(),y(881,"br"),t(882,"label",122),r(883,"Filter type"),n(),t(884,"select",258),_("ngModelChange",function(i){return d(l),f(e.searchFilterType,i)||(e.searchFilterType=i),c(i)}),u("change",function(i){return d(l),c(e.onSelectChangeSearchFilterType(i))}),t(885,"option",124),r(886,"Inclusion"),n(),t(887,"option",125),r(888,"Exclusion"),n()()(),t(889,"div",126),w(890,pi,3,0,"h5",259)(891,ui,3,0,"h5",260),t(892,"mat-form-field",261)(893,"mat-select",262),_("ngModelChange",function(i){return d(l),f(e.checkedListSearchFilter,i)||(e.checkedListSearchFilter=i),c(i)}),u("selectionChange",function(){return d(l),c(e.onSearchFilterChange())}),w(894,hi,2,2,"mat-option",46),n()()()(),t(895,"div",47),y(896,"br")(897,"br"),w(898,fi,13,0,"div",134),n()()(),t(899,"c-tab-pane",40)(900,"div",15)(901,"div",23)(902,"legend",263),r(903,"partialFileAttributes"),n(),t(904,"div",264)(905,"label",265),r(906,"incrementalFileTransfer"),n(),t(907,"select",266)(908,"option",101),r(909,"Enabled"),n(),t(910,"option",102),r(911,"Disabled"),n()()(),y(912,"br"),t(913,"legend",41),r(914,"Throttling Attributes"),n(),t(915,"div",24)(916,"fieldset",267)(917,"label",268),r(918,"Throttle traffic at endpoint agent to"),n(),t(919,"div",269)(920,"c-form-check",55)(921,"input",270),_("ngModelChange",function(i){return d(l),f(e.isThrottleEnabled,i)||(e.isThrottleEnabled=i),c(i)}),u("change",function(){return d(l),c(e.toggleThrottle())}),n()()(),t(922,"div",15)(923,"div",16)(924,"input",271),_("ngModelChange",function(i){return d(l),f(e.nwFromClientToPGMB,i)||(e.nwFromClientToPGMB=i),c(i)}),u("blur",function(){return d(l),c(e.validateInput())}),n(),t(925,"span",272),r(926),n(),t(927,"span",273),r(928),n()(),t(929,"div",16)(930,"select",274),_("ngModelChange",function(i){return d(l),f(e.networkThrottlingUnit,i)||(e.networkThrottlingUnit=i),c(i)}),u("change",function(){return d(l),c(e.onUnitChange())}),t(931,"option",275),r(932,"Kbps"),n(),t(933,"option",276),r(934,"Mbps"),n(),t(935,"option",277),r(936,"Gbps"),n()()()()()(),t(937,"div",87)(938,"label",278),r(939,"CPU Throttling"),n(),y(940,"br"),t(941,"div",279)(942,"input",280),_("ngModelChange",function(i){return d(l),f(e.cpuThrottling,i)||(e.cpuThrottling=i),c(i)}),u("input",function(i){return d(l),c(e.onSliderChange(i))}),n(),t(943,"p"),r(944,"Value: "),t(945,"span",281),r(946),n()()()(),t(947,"div",71)(948,"label",282),r(949,"nwFromPGToCloud (In MBPS)"),n(),y(950,"input",283),n(),t(951,"div",71)(952,"label",284),r(953,"filesCrawlLimit"),n(),y(954,"input",285),n(),t(955,"div",71)(956,"label",286),r(957,"networkThrottling"),n(),t(958,"select",287)(959,"option",101),r(960,"Enabled"),n(),t(961,"option",102),r(962,"Disabled"),n()()()(),t(963,"div",288),y(964,"br")(965,"br"),t(966,"div",289)(967,"div",105)(968,"div",290)(969,"div",110)(970,"div",24)(971,"label",291),r(972,"partialFileSize (In MB)"),n(),y(973,"input",292),n(),t(974,"div",24)(975,"label",293),r(976,"fileChunkableSize (In MB)"),n(),y(977,"input",294),n()()()()()()(),t(978,"div",15)(979,"div",23)(980,"legend",41),r(981,"Options"),n(),t(982,"div",204)(983,"div",295)(984,"c-form-check",55)(985,"input",296),_("ngModelChange",function(i){return d(l),f(e.legalHold,i)||(e.legalHold=i),c(i)}),n()()(),t(986,"span",297),r(987,"Legal Hold"),n()(),t(988,"div",24)(989,"div",114)(990,"span",298),y(991,"input",299),t(992,"label",300),r(993,"System Folders"),n()()()(),w(994,_i,6,4,"div",301),t(995,"div",87)(996,"label",302),r(997,"Block assets which have not been heard from in"),n(),t(998,"div",15)(999,"div",54)(1e3,"c-form-check",55)(1001,"input",303),_("ngModelChange",function(i){return d(l),f(e.switchnoOfDaysToKeepDeviceNotHeard,i)||(e.switchnoOfDaysToKeepDeviceNotHeard=i),c(i)}),u("change",function(){return d(l),c(e.toggleDeviceNotHeard())}),n()()(),t(1002,"div",304)(1003,"input",305),_("ngModelChange",function(i){return d(l),f(e.noOfDaysToKeepDeviceNotHeard,i)||(e.noOfDaysToKeepDeviceNotHeard=i),c(i)}),u("blur",function(){return d(l),c(e.myFunctionnoOfDaysToKeepDeviceNotHeard())}),n(),t(1004,"span",306),r(1005),n()(),t(1006,"div",307)(1007,"label"),r(1008,"days"),n()()()(),t(1009,"div",87)(1010,"label",308),r(1011,"Delete users/assets which have not been active for"),n(),t(1012,"div",15)(1013,"div",54)(1014,"c-form-check",55)(1015,"input",309),_("ngModelChange",function(i){return d(l),f(e.switchnoOfDaysToKeepUserDeviceNotActive,i)||(e.switchnoOfDaysToKeepUserDeviceNotActive=i),c(i)}),u("change",function(){return d(l),c(e.toggleDeviceNotActive())}),n()()(),t(1016,"div",304)(1017,"input",310),_("ngModelChange",function(i){return d(l),f(e.noOfDaysToKeepUserDeviceNotActive,i)||(e.noOfDaysToKeepUserDeviceNotActive=i),c(i)}),u("blur",function(){return d(l),c(e.myFunctionnoOfDaysToKeepUserDeviceNotActive())}),n(),t(1018,"span",311),r(1019),n()(),t(1020,"div",307)(1021,"label"),r(1022,"days"),n()()()(),t(1023,"div",71)(1024,"label",312),r(1025,"Number of threads allowed for Backup"),n(),t(1026,"input",313),_("ngModelChange",function(i){return d(l),f(e.numberOfThreadsAllowedForBackup,i)||(e.numberOfThreadsAllowedForBackup=i),c(i)}),n()(),t(1027,"div",24)(1028,"label",314),r(1029,"Web Based Login"),n(),t(1030,"select",315),_("ngModelChange",function(i){return d(l),f(e.webBasedLogin,i)||(e.webBasedLogin=i),c(i)}),t(1031,"option",101),r(1032,"Enabled"),n(),t(1033,"option",102),r(1034,"Disabled"),n()()(),t(1035,"div",316)(1036,"label",317),r(1037,"Can Administrator Restore User Data"),n(),t(1038,"select",318),_("ngModelChange",function(i){return d(l),f(e.canAdminRestoreAll,i)||(e.canAdminRestoreAll=i),c(i)}),u("ngModelChange",function(){return d(l),c(e.flipAllowEndUserTocontrolRestore())}),t(1039,"option",319),r(1040,"Yes"),n(),t(1041,"option",319),r(1042,"No"),n()()(),t(1043,"div",320)(1044,"label",321),r(1045,"Allow end-user over-ride"),n(),t(1046,"select",322),_("ngModelChange",function(i){return d(l),f(e.allowEndUserTocontrolRestore,i)||(e.allowEndUserTocontrolRestore=i),c(i)}),t(1047,"option",319),r(1048,"Yes"),n(),t(1049,"option",319),r(1050,"No"),n()()(),t(1051,"div",316)(1052,"label",323),r(1053,"Can Administrator Delete User Data"),n(),t(1054,"select",324),_("ngModelChange",function(i){return d(l),f(e.isAdminDeleteBackupFile,i)||(e.isAdminDeleteBackupFile=i),c(i)}),t(1055,"option",319),r(1056,"Yes"),n(),t(1057,"option",319),r(1058,"No"),n()()(),w(1059,yi,8,1,"div",325)(1060,Si,10,1,"div",325),t(1061,"div",71)(1062,"label",326),r(1063,"Compression Enabled"),n(),t(1064,"select",327),_("ngModelChange",function(i){return d(l),f(e.compEnabled,i)||(e.compEnabled=i),c(i)}),t(1065,"option",101),r(1066,"Enabled"),n(),t(1067,"option",102),r(1068,"Disabled"),n()()(),t(1069,"div",328)(1070,"label",329),r(1071,"VSS"),n(),t(1072,"select",330),_("ngModelChange",function(i){return d(l),f(e.vssEnabled,i)||(e.vssEnabled=i),c(i)}),t(1073,"option",101),r(1074,"Enabled"),n(),t(1075,"option",102),r(1076,"Disabled"),n()()(),t(1077,"div",331)(1078,"label",332),r(1079,"Blukrypt Search Algorithm"),n(),t(1080,"select",333),_("ngModelChange",function(i){return d(l),f(e.searchAlgorithm,i)||(e.searchAlgorithm=i),c(i)}),u("change",function(){return d(l),c(e.onSearchAlgorithmChange())}),t(1081,"option",334),r(1082,"Nearest"),n(),t(1083,"option",335),r(1084,"Priority"),n()()(),w(1085,wi,7,4,"div",78),t(1086,"div",24)(1087,"label",336),r(1088,"Policy Refresh Frequency (In Hours)"),n(),t(1089,"input",337),_("ngModelChange",function(i){return d(l),f(e.policyRefresh,i)||(e.policyRefresh=i),c(i)}),n()(),t(1090,"div",71)(1091,"label",338),r(1092,"Capture Unaccessed Items"),n(),t(1093,"div",57)(1094,"label",238)(1095,"input",339),_("ngModelChange",function(i){return d(l),f(e.switchlogUnaccessedFiles,i)||(e.switchlogUnaccessedFiles=i),c(i)}),n(),y(1096,"div",240),n()()(),t(1097,"div",24)(1098,"fieldset",267)(1099,"label",340),r(1100,"Endpoint Domain Check"),n(),t(1101,"div",57)(1102,"c-form-check",55)(1103,"input",341),_("ngModelChange",function(i){return d(l),f(e.switchAllowedDomains,i)||(e.switchAllowedDomains=i),c(i)}),n()()(),t(1104,"div",105)(1105,"label",342),r(1106,"Allowed Domains"),n(),t(1107,"input",343),_("ngModelChange",function(i){return d(l),f(e.allowedDomains,i)||(e.allowedDomains=i),c(i)}),n()()()(),t(1108,"div",24)(1109,"label",344),r(1110,"Auto Update Agent"),n(),t(1111,"select",345),_("ngModelChange",function(i){return d(l),f(e.autoUpdateAgent,i)||(e.autoUpdateAgent=i),c(i)}),t(1112,"option",97),r(1113,"Enabled"),n(),t(1114,"option",98),r(1115,"Disabled"),n()()(),t(1116,"div",24)(1117,"div",126)(1118,"label",105),r(1119,"Agent uninstallation password"),n(),t(1120,"div",54)(1121,"c-form-check",55)(1122,"input",346),_("ngModelChange",function(i){return d(l),f(e.isPasswordEnabled,i)||(e.isPasswordEnabled=i),c(i)}),u("ngModelChange",function(){return d(l),c(e.togglePasswordFields())}),n()()(),t(1123,"div",347)(1124,"input",348),_("ngModelChange",function(i){return d(l),f(e.agentPassword,i)||(e.agentPassword=i),c(i)}),n(),t(1125,"span",349),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"))}),n(),w(1126,Ei,3,0,"div",18),t(1127,"input",350),_("ngModelChange",function(i){return d(l),f(e.agentRePassword,i)||(e.agentRePassword=i),c(i)}),u("ngModelChange",function(){return d(l),c(e.checkPasswordsMatch())}),n(),w(1128,vi,3,0,"div",18),n()()(),t(1129,"div",24)(1130,"label",351),r(1131,"Backup Hidden Files"),n(),t(1132,"select",352),_("ngModelChange",function(i){return d(l),f(e.canBackupHiddenFiles,i)||(e.canBackupHiddenFiles=i),c(i)}),t(1133,"option",101),r(1134,"Enabled"),n(),t(1135,"option",102),r(1136,"Disabled"),n()()(),t(1137,"div",353)(1138,"span",354)(1139,"p"),r(1140,"Fairness Algorithm"),n()(),t(1141,"div",355)(1142,"label",238),y(1143,"input",356)(1144,"div",240),n()(),t(1145,"div",57),y(1146,"input",357)(1147,"span",63),n()(),t(1148,"div",24)(1149,"label",358),r(1150,"Enable Download Agent"),n(),t(1151,"a",359),y(1152,"i",120),n(),t(1153,"select",360),_("ngModelChange",function(i){return d(l),f(e.downloadAgent,i)||(e.downloadAgent=i),c(i)}),t(1154,"option",101),r(1155,"Enabled"),n(),t(1156,"option",102),r(1157,"Disabled"),n()()(),t(1158,"div",24)(1159,"span",15)(1160,"p"),r(1161,"Purge deleted files from the catalog after"),n()(),t(1162,"div",361)(1163,"div",362)(1164,"c-form-check",55)(1165,"input",363),_("ngModelChange",function(i){return d(l),f(e.switchnoOfDaysToKeepDeletedFiles,i)||(e.switchnoOfDaysToKeepDeletedFiles=i),c(i)}),u("change",function(){return d(l),c(e.toggleDeletedFiles())}),n()()(),t(1166,"div",16)(1167,"input",364),_("ngModelChange",function(i){return d(l),f(e.noOfDaysToKeepDeletedFiles,i)||(e.noOfDaysToKeepDeletedFiles=i),c(i)}),u("blur",function(){return d(l),c(e.myFunctionnoOfDaysToKeepDeletedFiles())}),n(),t(1168,"span",365),r(1169),n()(),t(1170,"div",54),r(1171," days "),n()(),t(1172,"div",24)(1173,"span",15)(1174,"p"),r(1175,"User Consent Display Text"),n()(),t(1176,"div",361)(1177,"div",362)(1178,"c-form-check",55)(1179,"input",366),_("ngModelChange",function(i){return d(l),f(e.switchuserConsentEnabled,i)||(e.switchuserConsentEnabled=i),c(i)}),n()()(),t(1180,"div",347)(1181,"textarea",367),_("ngModelChange",function(i){return d(l),f(e.userConsentDisplayText,i)||(e.userConsentDisplayText=i),c(i)}),n()()()()(),t(1182,"div",15)(1183,"div",304)(1184,"label",368),r(1185,"Enable Pre Scan Command"),n(),y(1186,"br"),t(1187,"c-form-check",55)(1188,"input",369),_("ngModelChange",function(i){return d(l),f(e.preScanCommandEnabled,i)||(e.preScanCommandEnabled=i),c(i)}),u("change",function(){return d(l),c(e.togglePreScan())}),n()()(),t(1189,"div",370)(1190,"label",371),r(1191,"Pre Scan Command Path"),n(),t(1192,"input",372),_("ngModelChange",function(i){return d(l),f(e.preScanCommand,i)||(e.preScanCommand=i),c(i)}),u("input",function(){return d(l),c(e.checkPreScanCommand())}),n(),t(1193,"span",373),r(1194),n()(),t(1195,"div",374)(1196,"div",24)(1197,"label",375),r(1198,"Continue backup on command-failure"),n(),t(1199,"input",376),_("ngModelChange",function(i){return d(l),f(e.continueOnPreScan,i)||(e.continueOnPreScan=i),c(i)}),n()()()(),t(1200,"div",15)(1201,"div",304)(1202,"label",377),r(1203,"Enable Pre Backup Command"),n(),y(1204,"br"),t(1205,"c-form-check",55)(1206,"input",378),_("ngModelChange",function(i){return d(l),f(e.preBackupCommandEnabled,i)||(e.preBackupCommandEnabled=i),c(i)}),u("change",function(){return d(l),c(e.togglePreBackup())}),n()()(),t(1207,"div",370)(1208,"label",379),r(1209,"Pre Backup Command Path"),n(),t(1210,"input",380),_("ngModelChange",function(i){return d(l),f(e.preBackupCommand,i)||(e.preBackupCommand=i),c(i)}),u("input",function(){return d(l),c(e.checkPreBackupCommand())}),n(),t(1211,"span",381),r(1212),n()(),t(1213,"div",374)(1214,"div",24)(1215,"label",382),r(1216,"Continue backup on command-failure"),n(),t(1217,"input",383),_("ngModelChange",function(i){return d(l),f(e.continueOnPreBkp,i)||(e.continueOnPreBkp=i),c(i)}),n()()()(),t(1218,"div",15)(1219,"div",304)(1220,"label",384),r(1221,"Enable Post Backup Command"),n(),y(1222,"br"),t(1223,"c-form-check",55)(1224,"input",385),_("ngModelChange",function(i){return d(l),f(e.postBackupCommandEnabled,i)||(e.postBackupCommandEnabled=i),c(i)}),u("change",function(){return d(l),c(e.togglePostBackup())}),n()()(),t(1225,"div",370)(1226,"label",386),r(1227,"Post Backup Command Path"),n(),t(1228,"input",387),_("ngModelChange",function(i){return d(l),f(e.postBackupCommand,i)||(e.postBackupCommand=i),c(i)}),u("input",function(){return d(l),c(e.checkPostBackupCommand())}),n(),t(1229,"span",388),r(1230),n()(),t(1231,"div",374)(1232,"div",24)(1233,"label",389),r(1234,"Continue backup on command-failure"),n(),t(1235,"input",390),_("ngModelChange",function(i){return d(l),f(e.continueOnPostBkp,i)||(e.continueOnPostBkp=i),c(i)}),n()()()(),t(1236,"div",71)(1237,"label",391),r(1238,"Full Backup Enabled"),n(),t(1239,"select",392)(1240,"option",97),r(1241,"Enabled"),n(),t(1242,"option",98),r(1243,"Disabled"),n()()(),t(1244,"div",393)(1245,"label",394),r(1246,"Full Backup Start Date"),n(),y(1247,"input",395),n()()(),t(1248,"div",15)(1249,"div",23)(1250,"legend",41),r(1251,"Password Enforcement "),t(1252,"a",396),y(1253,"i",120),n()(),t(1254,"div",316)(1255,"label",397),r(1256,"Can User Change Password"),n(),t(1257,"select",398),_("ngModelChange",function(i){return d(l),f(e.canUserChangePassword,i)||(e.canUserChangePassword=i),c(i)}),t(1258,"option",399),r(1259,"Enabled"),n(),t(1260,"option",400),r(1261,"Disabled"),n()()(),t(1262,"div",316)(1263,"label",401),r(1264,"Can Admin Change User Password"),n(),t(1265,"select",402),_("ngModelChange",function(i){return d(l),f(e.canAdminChangeUserPassword,i)||(e.canAdminChangeUserPassword=i),c(i)}),t(1266,"option",400),r(1267,"Enabled"),n(),t(1268,"option",399),r(1269,"Disabled"),n()()()()(),t(1270,"div",15)(1271,"div",105)(1272,"c-callout",403),r(1273," Grayed out options are currently controlled in Cloud Properties. Please speak to you Administrator or visit the Cloud Properties page to change their behavior. "),y(1274,"br"),r(1275,"Both password enforcement options cannot be disabled at same time. "),n()()()()(),t(1276,"div",15)(1277,"div",16)(1278,"a",404),u("click",function(){return d(l),c(e.submitPolicy())}),r(1279,"Save"),n(),t(1280,"a",405),u("click",function(){return d(l),c(e.sendMeTo("/pms/policy"))}),r(1281,"Cancel"),n()()()()()()()(),t(1282,"div",406)(1283,"div",407)(1284,"div",408)(1285,"div",409)(1286,"div",410)(1287,"h4",411),r(1288,"Configure SQL Server"),n()(),t(1289,"div",412)(1290,"div",87)(1291,"label",413),r(1292,"SQL Server User Name"),n(),t(1293,"input",414),_("ngModelChange",function(i){return d(l),f(e.serverUserName,i)||(e.serverUserName=i),c(i)}),n()(),t(1294,"div",87)(1295,"label",415),r(1296,"SQL Server Password"),n(),t(1297,"input",416),_("ngModelChange",function(i){return d(l),f(e.serverPassword,i)||(e.serverPassword=i),c(i)}),n(),t(1298,"span",417),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"))}),n()(),t(1299,"div",87)(1300,"label",418),r(1301,"Re-Type SQL Server Password"),n(),t(1302,"input",419),_("ngModelChange",function(i){return d(l),f(e.serverRePassword,i)||(e.serverRePassword=i),c(i)}),n()()(),t(1303,"div",420)(1304,"button",421),u("click",function(){return d(l),c(e.closeSqlServerDetails())}),r(1305,"Close"),n(),t(1306,"button",422),u("click",function(){return d(l),c(e.addSqlServerDetails())}),r(1307,"Save"),n()()()()(),t(1308,"div",423)(1309,"div",408)(1310,"form",424)(1311,"div",425)(1312,"div",410)(1313,"h4",411),r(1314,"Confirm Add"),n(),t(1315,"button",426)(1316,"span",427),r(1317,"\xD7"),n()()(),t(1318,"div",412)(1319,"p"),r(1320,"Are you sure, you want to add the folder path"),n()(),t(1321,"div",420)(1322,"button",428),r(1323,"Close"),n(),t(1324,"button",429),r(1325,"Save"),n()()()()()(),t(1326,"div",430)(1327,"div",408)(1328,"form",431)(1329,"div",425)(1330,"div",410)(1331,"h4",411),r(1332,"Confirm Add"),n(),t(1333,"button",426)(1334,"span",427),r(1335,"\xD7"),n()()(),t(1336,"div",412)(1337,"p"),r(1338,"Are you sure, you want to add the folder path"),n()(),t(1339,"div",420)(1340,"button",428),r(1341,"Close"),n(),t(1342,"button",429),r(1343,"Save"),n()()()()()(),t(1344,"div",423)(1345,"div",408)(1346,"form",424)(1347,"div",425)(1348,"div",410)(1349,"h4",411),r(1350,"Confirm Add"),n(),t(1351,"button",426)(1352,"span",427),r(1353,"\xD7"),n()()(),t(1354,"div",412)(1355,"p"),r(1356,"Are you sure, you want to add the folder path"),n()(),t(1357,"div",420)(1358,"button",428),r(1359,"Close"),n(),t(1360,"button",429),r(1361,"Save"),n()()()()()(),t(1362,"div",430)(1363,"div",408)(1364,"form",431)(1365,"div",425)(1366,"div",410)(1367,"h4",411),r(1368,"Confirm Add"),n(),t(1369,"button",426)(1370,"span",427),r(1371,"\xD7"),n()()(),t(1372,"div",412)(1373,"p"),r(1374,"Are you sure, you want to add the folder path"),n()(),t(1375,"div",420)(1376,"button",428),r(1377,"Close"),n(),t(1378,"button",429),r(1379,"Save"),n()()()()()(),t(1380,"div",432)(1381,"div",408)(1382,"form",433)(1383,"div",425)(1384,"div",410)(1385,"h4",411),r(1386,"Confirm Add"),n(),t(1387,"button",426)(1388,"span",427),r(1389,"\xD7"),n()()(),t(1390,"div",412)(1391,"p"),r(1392,"Are you sure, you want to add the folder path"),n()(),t(1393,"div",420)(1394,"button",428),r(1395,"Close"),n(),t(1396,"button",429),r(1397,"Save"),n()()()()()()(),t(1398,"div",434)(1399,"div",435)(1400,"div",409)(1401,"div",436)(1402,"h4",437),r(1403,"Create Schedule"),n(),t(1404,"a",438),u("click",function(){return d(l),c(e.closeSchCreateModal())}),y(1405,"i",439),n()(),t(1406,"form",19,3),u("ngSubmit",function(){d(l);let i=V(1407);return c(e.submitCreateSchedule(i))}),t(1408,"div",412)(1409,"div",24)(1410,"label",440),r(1411,"Schedule Name"),n(),t(1412,"input",441,4),_("ngModelChange",function(i){return d(l),f(e.scheduleModel.scheduleName,i)||(e.scheduleModel.scheduleName=i),c(i)}),u("input",function(){return d(l),c(e.validateScheduleName())}),n(),w(1414,ki,2,1,"div",27)(1415,Mi,2,1,"small",27),n(),t(1416,"div",24)(1417,"label",442),r(1418,"Schedule Start Time"),n(),t(1419,"timepicker",443),_("ngModelChange",function(i){return d(l),f(e.myTime,i)||(e.myTime=i),c(i)}),u("ngModelChange",function(){return d(l),c(e.validateTime())}),n()(),t(1420,"div",444)(1421,"label",122),r(1422,"Days"),n(),t(1423,"mat-form-field",445)(1424,"mat-select",446,5),_("ngModelChange",function(i){return d(l),f(e.scheduleDaysList,i)||(e.scheduleDaysList=i),c(i)}),u("selectionChange",function(){return d(l),c(e.onScheduleDayChange())}),t(1426,"mat-option",400),r(1427,"Sunday"),n(),t(1428,"mat-option",400),r(1429,"Monday"),n(),t(1430,"mat-option",400),r(1431,"Tuesday"),n(),t(1432,"mat-option",400),r(1433,"Wednesday"),n(),t(1434,"mat-option",400),r(1435,"Thursday"),n(),t(1436,"mat-option",400),r(1437,"Friday"),n(),t(1438,"mat-option",400),r(1439,"Saturday"),n()()(),r(1440," - "),t(1441,"button",447),u("click",function(){return d(l),c(e.toggleSelectAllDays())}),r(1442),n()()(),t(1443,"div",420)(1444,"button",421),u("click",function(){return d(l),c(e.closeSchCreateModal())}),r(1445,"Close"),n(),t(1446,"button",448),r(1447,"Save changes"),n()()()()()(),t(1448,"div",449)(1449,"div",435)(1450,"div",409)(1451,"div",410)(1452,"h4",437),r(1453,"Confirmation"),n()(),t(1454,"div",412)(1455,"h4"),r(1456,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),n()(),t(1457,"div",420)(1458,"button",421),u("click",function(){return d(l),c(e.closeScheduleConfPopup())}),r(1459,"Cancel"),n(),t(1460,"button",450),u("click",function(){return d(l),c(e.getParticularSchedule())}),r(1461,"Ok"),n()()()()(),t(1462,"div",451)(1463,"div",435)(1464,"div",409)(1465,"div",436)(1466,"h4",437),r(1467,"Edit Schedule"),n(),t(1468,"a",438),u("click",function(){return d(l),c(e.closeEditModal())}),y(1469,"i",439),n()(),t(1470,"form",19,6),u("ngSubmit",function(){d(l);let i=V(1471);return c(e.submitEditSchedule(i))}),t(1472,"div",412)(1473,"div",24)(1474,"label",440),r(1475,"Schedule Name"),n(),y(1476,"input",452),n(),t(1477,"div",24)(1478,"label",442),r(1479,"Schedule Start Time"),n(),t(1480,"timepicker",443),_("ngModelChange",function(i){return d(l),f(e.myTime,i)||(e.myTime=i),c(i)}),u("ngModelChange",function(){return d(l),c(e.validateTime())}),n()(),t(1481,"div",444)(1482,"label",122),r(1483,"Days"),n(),t(1484,"mat-form-field",453)(1485,"mat-select",446,7),_("ngModelChange",function(i){return d(l),f(e.scheduleDaysListEdit,i)||(e.scheduleDaysListEdit=i),c(i)}),u("selectionChange",function(){return d(l),c(e.onScheduleDayChangeEdit())}),t(1487,"mat-option",400),r(1488,"Sunday"),n(),t(1489,"mat-option",400),r(1490,"Monday"),n(),t(1491,"mat-option",400),r(1492,"Tuesday"),n(),t(1493,"mat-option",400),r(1494,"Wednesday"),n(),t(1495,"mat-option",400),r(1496,"Thursday"),n(),t(1497,"mat-option",400),r(1498,"Friday"),n(),t(1499,"mat-option",400),r(1500,"Saturday"),n()()(),r(1501," - "),t(1502,"button",447),u("click",function(){return d(l),c(e.toggleSelectAllDaysEdit())}),r(1503),n()()(),t(1504,"div",420)(1505,"button",421),u("click",function(){return d(l),c(e.closeEditModal())}),r(1506,"Close"),n(),t(1507,"button",448),r(1508,"Save changes"),n()()()()()(),t(1509,"div",449)(1510,"div",435)(1511,"div",409)(1512,"div",410)(1513,"h4",437),r(1514,"Confirmation"),n()(),t(1515,"div",412)(1516,"h4"),r(1517,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),n()(),t(1518,"div",420)(1519,"button",421),u("click",function(){return d(l),c(e.closeNoBackupScheduleConfPopup())}),r(1520,"Cancel"),n(),t(1521,"button",450),u("click",function(){return d(l),c(e.getParticularNoBackupSchedule())}),r(1522,"Ok"),n()()()()(),t(1523,"div",454)(1524,"div",435)(1525,"div",409)(1526,"div",436)(1527,"h4",437),r(1528,"Create Schedule"),n(),t(1529,"a",438),u("click",function(){return d(l),c(e.closeNoBackupSchCreateModal())}),y(1530,"i",439),n()(),t(1531,"form",19,8),u("ngSubmit",function(){d(l);let i=V(1532);return c(e.submitCreateNoBackupSchedule(i))}),t(1533,"div",412)(1534,"div",24)(1535,"label",440),r(1536,"Schedule Name"),n(),t(1537,"input",455,4),_("ngModelChange",function(i){return d(l),f(e.nobackupscheduleModel.scheduleName,i)||(e.nobackupscheduleModel.scheduleName=i),c(i)}),n(),w(1539,Di,3,2,"div",27),n(),t(1540,"div",24)(1541,"label",442),r(1542,"Schedule Start Time "),t(1543,"a",456),y(1544,"i",120),n()(),t(1545,"timepicker",443),_("ngModelChange",function(i){return d(l),f(e.nobackupmyTime,i)||(e.nobackupmyTime=i),c(i)}),u("ngModelChange",function(){return d(l),c(e.validateTimeNBST())}),n()(),t(1546,"div",24)(1547,"label",442),r(1548,"Schedule End Time "),t(1549,"a",456),y(1550,"i",120),n()(),t(1551,"timepicker",443),_("ngModelChange",function(i){return d(l),f(e.nobackupmyTimeEnd,i)||(e.nobackupmyTimeEnd=i),c(i)}),u("ngModelChange",function(){return d(l),c(e.validateTimeNBET())}),n()(),t(1552,"div",444)(1553,"label",122),r(1554,"Days"),n(),t(1555,"mat-form-field",457)(1556,"mat-select",446,9),_("ngModelChange",function(i){return d(l),f(e.nobackupscheduleDaysList,i)||(e.nobackupscheduleDaysList=i),c(i)}),u("selectionChange",function(){return d(l),c(e.onNoBackupScheduleDayChange())}),t(1558,"mat-option",400),r(1559,"Sunday"),n(),t(1560,"mat-option",400),r(1561,"Monday"),n(),t(1562,"mat-option",400),r(1563,"Tuesday"),n(),t(1564,"mat-option",400),r(1565,"Wednesday"),n(),t(1566,"mat-option",400),r(1567,"Thursday"),n(),t(1568,"mat-option",400),r(1569,"Friday"),n(),t(1570,"mat-option",400),r(1571,"Saturday"),n()()(),r(1572," - "),t(1573,"button",447),u("click",function(){return d(l),c(e.toggleSelectAllDaysNoBackup())}),r(1574),n()()(),t(1575,"div",420)(1576,"button",421),u("click",function(){return d(l),c(e.closeNoBackupSchCreateModal())}),r(1577,"Close"),n(),t(1578,"button",448),r(1579,"Save changes"),n()()()()()(),t(1580,"div",458)(1581,"div",435)(1582,"div",409)(1583,"div",436)(1584,"h4",437),r(1585,"Edit Schedule"),n(),t(1586,"a",438),u("click",function(){return d(l),c(e.closeEditModal())}),y(1587,"i",439),n()(),t(1588,"form",19,6),u("ngSubmit",function(){d(l);let i=V(1471);return c(e.submitEditNoBackupSchedule(i))}),t(1590,"div",412)(1591,"div",24)(1592,"label",440),r(1593,"Schedule Name"),n(),y(1594,"input",459),n(),t(1595,"div",24)(1596,"label",442),r(1597,"Schedule Start Time "),t(1598,"a",456),y(1599,"i",120),n()(),t(1600,"timepicker",443),_("ngModelChange",function(i){return d(l),f(e.nobackupmyTime,i)||(e.nobackupmyTime=i),c(i)}),u("ngModelChange",function(){return d(l),c(e.validateTimeNBST())}),n()(),t(1601,"div",24)(1602,"label",442),r(1603,"Schedule End Time "),t(1604,"a",456),y(1605,"i",120),n()(),t(1606,"timepicker",443),_("ngModelChange",function(i){return d(l),f(e.nobackupmyTimeEnd,i)||(e.nobackupmyTimeEnd=i),c(i)}),u("ngModelChange",function(){return d(l),c(e.validateTimeNBET())}),n()(),t(1607,"div",444)(1608,"label",122),r(1609,"Days"),n(),t(1610,"mat-form-field",460)(1611,"mat-select",446,10),_("ngModelChange",function(i){return d(l),f(e.nobackupscheduleDaysListEdit,i)||(e.nobackupscheduleDaysListEdit=i),c(i)}),u("selectionChange",function(){return d(l),c(e.onNoBackupScheduleDayChangeEdit())}),t(1613,"mat-option",400),r(1614,"Sunday"),n(),t(1615,"mat-option",400),r(1616,"Monday"),n(),t(1617,"mat-option",400),r(1618,"Tuesday"),n(),t(1619,"mat-option",400),r(1620,"Wednesday"),n(),t(1621,"mat-option",400),r(1622,"Thursday"),n(),t(1623,"mat-option",400),r(1624,"Friday"),n(),t(1625,"mat-option",400),r(1626,"Saturday"),n()()(),r(1627," - "),t(1628,"button",447),u("click",function(){return d(l),c(e.toggleSelectAllDaysEditNoBackup())}),r(1629),n()()(),t(1630,"div",420)(1631,"button",421),u("click",function(){return d(l),c(e.closeNoBackupEditModal())}),r(1632,"Close"),n(),t(1633,"button",448),r(1634,"Save changes"),n()()()()()(),t(1635,"div",449)(1636,"div",435)(1637,"div",409)(1638,"div",410)(1639,"h4",437),r(1640,"Confirmation"),n()(),t(1641,"div",412)(1642,"h4"),r(1643,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),n()(),t(1644,"div",420)(1645,"button",421),u("click",function(){return d(l),c(e.closeConfFilterPopup())}),r(1646,"Cancel"),n(),t(1647,"button",450),u("click",function(){return d(l),c(e.getFilter())}),r(1648,"Ok"),n()()()()(),t(1649,"div",461)(1650,"div",435)(1651,"div",409)(1652,"div",436)(1653,"h4",437),r(1654,"Create Filter"),n(),t(1655,"a",438),u("click",function(){return d(l),c(e.closeCreateFilterModal())}),y(1656,"i",439),n()(),t(1657,"div",412)(1658,"div",24)(1659,"label",440),r(1660,"Filter Name"),n(),t(1661,"input",462),_("ngModelChange",function(i){return d(l),f(e.filterModel.filterName,i)||(e.filterModel.filterName=i),c(i)}),u("input",function(){return d(l),c(e.validateFilterName())}),n(),w(1662,Pi,2,1,"small",30),n(),t(1663,"div",71)(1664,"label",463),r(1665,"Filter Type"),n(),t(1666,"select",464),_("ngModelChange",function(i){return d(l),f(e.filterModel.filterType,i)||(e.filterModel.filterType=i),c(i)}),t(1667,"option",465),r(1668,"Inclusion Filter"),n(),t(1669,"option",466),r(1670,"Exclusion Filter"),n()()(),t(1671,"div",24)(1672,"label",442),r(1673,"Select Filter Template"),n(),t(1674,"mat-form-field",51)(1675,"mat-select",467,11),_("ngModelChange",function(i){return d(l),f(e.checkedList,i)||(e.checkedList=i),c(i)}),u("selectionChange",function(){return d(l),c(e.onFilterCreateChange())}),w(1677,Bi,2,2,"mat-option",46),n()()(),t(1678,"div",24)(1679,"label",122),r(1680,"Filters"),n(),t(1681,"a",468),y(1682,"i",120),n(),t(1683,"div",469)(1684,"span",470),w(1685,Vi,4,1,"span",471),n(),t(1686,"input",472),_("ngModelChange",function(i){return d(l),f(e.newFilterExtensionCreate,i)||(e.newFilterExtensionCreate=i),c(i)}),u("blur",function(){return d(l),c(e.handleBlur())})("keyup.enter",function(){return d(l),c(e.handleKeyUp())}),n()(),y(1687,"br"),n()(),t(1688,"div",420)(1689,"button",421),u("click",function(){return d(l),c(e.closeCreateFilterModal())}),r(1690,"Close"),n(),t(1691,"button",422),u("click",function(){return d(l),c(e.submitCreateFilter())}),r(1692,"Save changes"),n()()()()(),t(1693,"div",473)(1694,"div",435)(1695,"div",409)(1696,"div",436)(1697,"h4",437),r(1698,"Edit Filter"),n(),t(1699,"a",438),u("click",function(){return d(l),c(e.closeEditFilterModal())}),y(1700,"i",439),n()(),t(1701,"div",412)(1702,"div",24)(1703,"label",440),r(1704,"Filter Name"),n(),t(1705,"input",474),_("ngModelChange",function(i){return d(l),f(e.filterEditModel.filterName,i)||(e.filterEditModel.filterName=i),c(i)}),n()(),t(1706,"div",71)(1707,"label",463),r(1708,"Filter Type"),n(),t(1709,"select",464),_("ngModelChange",function(i){return d(l),f(e.filterEditModel.filterType,i)||(e.filterEditModel.filterType=i),c(i)}),t(1710,"option",465),r(1711,"Inclusion Filter"),n(),t(1712,"option",466),r(1713,"Exclusion Filter"),n()()(),t(1714,"div",24)(1715,"label",442),r(1716,"Select Filter Template"),n(),t(1717,"mat-form-field",51)(1718,"mat-select",467,12),_("ngModelChange",function(i){return d(l),f(e.checkedList,i)||(e.checkedList=i),c(i)}),u("selectionChange",function(){return d(l),c(e.onFilterChangeEdit())}),w(1720,Ni,2,2,"mat-option",46),n()()(),t(1721,"div",24)(1722,"label",122),r(1723,"Filters"),n(),t(1724,"a",475),y(1725,"i",120),n(),y(1726,"br"),t(1727,"div",476),w(1728,Li,4,1,"span",477),t(1729,"input",478),_("ngModelChange",function(i){return d(l),f(e.newFilterExtensionEdit,i)||(e.newFilterExtensionEdit=i),c(i)}),u("blur",function(){return d(l),c(e.handleBlurEdit())})("keyup.enter",function(){return d(l),c(e.handleKeyUpEdit())}),n()()()(),t(1730,"div",420)(1731,"button",421),u("click",function(){return d(l),c(e.closeEditFilterModal())}),r(1732,"Close"),n(),t(1733,"button",422),u("click",function(){return d(l),c(e.submitEditFilter())}),r(1734,"Save changes"),n()()()()(),t(1735,"div",479)(1736,"div",435)(1737,"div",409)(1738,"div",410)(1739,"h4",437),r(1740,"Confirmation"),n()(),t(1741,"div",412)(1742,"h4"),r(1743,"Will be effective on next policy refresh, for immediate effect manually refresh policy."),n()(),t(1744,"div",420)(1745,"button",421),u("click",function(){return d(l),c(e.closePolicySaveConfirmPopup())}),r(1746,"Cancel"),n(),t(1747,"button",450),u("click",function(){d(l);let i=V(9);return c(e.submitEditPolicy(i))}),r(1748,"Ok"),n()()()()()}if(m&2){let l=V(25),a=V(76),i=V(1413);s(4),p("ngIf",e.parent!=""),s(),p("ngIf",e.child!=""),s(),p("ngIf",e.subchild!=""),s(18),g("ngModel",e.policygroupName),s(3),p("ngIf",l.invalid&&l.dirty),s(9),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",a)("tabPaneIdx",0),s(3),p("cTabContent",a)("tabPaneIdx",1),s(3),p("cTabContent",a)("tabPaneIdx",2),s(3),p("cTabContent",a)("tabPaneIdx",3),s(3),p("cTabContent",a)("tabPaneIdx",4),s(2),p("activeTabPaneIdx",0),s(14),g("ngModel",e.checkedListSchedule),p("ngModelOptions",E(375,v)),s(),p("ngForOf",e.schedules),s(4),p("ngIf",e.defaultSchedules.length>=1),s(8),g("ngModel",e.checkedListNoBackupSchedule),p("ngModelOptions",E(376,v)),s(),p("ngForOf",e.noBackupSchedules),s(2),p("ngIf",e.defaultNoBackupSchedules.length>=1),s(7),p("switch",!0),s(),g("ngModel",e.isVersionEnabled),p("ngModelOptions",E(377,v)),s(2),g("ngModel",e.versions),p("disabled",!e.isVersionEnabled),s(2),b(e.verError),s(6),p("switch",!0),s(),g("ngModel",e.isSizeEnabled),p("ngModelOptions",E(378,v)),s(2),g("ngModel",e.maxPermissibleFileSize),p("disabled",!e.isSizeEnabled),s(2),b(e.sizeError),s(6),p("switch",!0),s(),g("ngModel",e.isLimitEnabled),p("ngModelOptions",E(379,v)),s(2),g("ngModel",e.perUserBackupStorageLimit),p("disabled",!e.isLimitEnabled),s(2),b(e.limitError),s(8),g("ngModel",e.noOfDevicesAllowed),s(2),b(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(),p("selected",e.inclusionFilter),s(2),p("selected",!e.inclusionFilter),s(3),p("ngIf",e.inclusionFilter),s(),p("ngIf",!e.inclusionFilter),s(2),g("ngModel",e.checkedListFilter),p("ngModelOptions",E(380,v)),s(),p("ngForOf",e.filters),s(3),p("switch",!0),s(),p("ngModelOptions",E(381,v)),g("ngModel",e.applyFilterToExceptionsToExclusion),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(16),g("ngModel",e.preferencesEdit.BACKUP_FILES),s(8),g("ngModel",e.preferencesEdit.BACKUP_SETTINGS),s(8),g("ngModel",e.preferencesEdit.INTIATE_BACKUP),s(8),g("ngModel",e.preferencesEdit.STOP_BACKUP),s(8),g("ngModel",e.preferencesEdit.SUPPORT),s(8),g("ngModel",e.preferencesEdit.ABOUT),s(8),g("ngModel",e.preferencesEdit.BLOCK_NOTIFICATIONS),s(8),g("ngModel",e.preferencesEdit.SYSTRAYICON),s(9),g("ngModel",e.preferencesEdit.RESTORE),s(8),g("ngModel",e.preferencesEdit.REFRESH_BACKUP_POLICY),s(8),g("ngModel",e.preferencesEdit.PAUSE_BACKUP),s(8),g("ngModel",e.preferencesEdit.UPDATE_AGENT),s(8),g("ngModel",e.preferencesEdit.DECOUPLE),s(8),g("ngModel",e.preferencesEdit.NETWORK_SETTINGS),s(8),g("ngModel",e.preferencesEdit.DISALLOW_ADMIN_RESTORES),s(8),g("ngModel",e.preferencesEdit.EXIT),s(15),g("ngModel",e.menuOptionsEdit.open),s(8),g("ngModel",e.menuOptionsEdit.versions),s(8),g("ngModel",e.menuOptionsEdit.download),s(9),g("ngModel",e.menuOptionsEdit.view),s(8),g("ngModel",e.menuOptionsEdit.share),s(8),g("ngModel",e.menuOptionsEdit.restore),s(82),g("ngModel",e.contentIndexEnabled),s(17),g("ngModel",e.searchFilterType),s(),p("selected",e.inclusionSearchFilter),s(2),p("selected",!e.inclusionSearchFilter),s(3),p("ngIf",e.inclusionSearchFilter),s(),p("ngIf",e.exclusionSearchFilter),s(2),g("ngModel",e.checkedListSearchFilter),p("ngModelOptions",E(382,v)),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",E(383,v)),s(3),g("ngModel",e.nwFromClientToPGMB),p("disabled",!e.isThrottleEnabled),s(2),b(e.switchError),s(2),b(e.switchWarning),s(2),g("ngModel",e.networkThrottlingUnit),p("disabled",!e.isThrottleEnabled),s(12),g("ngModel",e.cpuThrottling),s(4),b(e.cpuThrottling),s(38),p("switch",!0),s(),p("ngModelOptions",E(384,v)),g("ngModel",e.legalHold),s(9),p("ngIf",e.inclusionLicenses.includes("rwdetectionenabled")),s(6),p("switch",!0),s(),p("ngModelOptions",E(385,v)),g("ngModel",e.switchnoOfDaysToKeepDeviceNotHeard),s(2),g("ngModel",e.noOfDaysToKeepDeviceNotHeard),s(2),b(e.deviceNotHeardError),s(9),p("switch",!0),s(),g("ngModel",e.switchnoOfDaysToKeepUserDeviceNotActive),p("ngModelOptions",E(386,v)),s(2),g("ngModel",e.noOfDaysToKeepUserDeviceNotActive),p("disabled",!e.switchnoOfDaysToKeepUserDeviceNotActive),s(2),b(e.deviceNotActiveError),s(7),g("ngModel",e.numberOfThreadsAllowedForBackup),s(4),g("ngModel",e.webBasedLogin),s(5),p("ngStyle",H(387,Z,e.overridePolicySettings?"none":"auto",e.overridePolicySettings?"0.4":"1")),s(3),g("ngModel",e.canAdminRestoreAll),p("ngClass",M(390,X,e.overridePolicySettings)),s(),p("ngValue",!0),s(2),p("ngValue",!1),s(2),p("ngStyle",H(392,Z,e.overridePolicySettings||!e.canAdminRestoreAll?"none":"auto",e.overridePolicySettings||!e.canAdminRestoreAll?"0.5":"1")),s(3),g("ngModel",e.allowEndUserTocontrolRestore),p("ngClass",M(395,X,e.overridePolicySettings)),s(),p("ngValue",!0),s(2),p("ngValue",!1),s(2),p("ngStyle",H(397,Z,e.overridePolicySettings||!e.canAdminRestoreAll?"none":"auto",e.overridePolicySettings||!e.canAdminRestoreAll?"0.5":"1")),s(3),g("ngModel",e.isAdminDeleteBackupFile),p("ngClass",M(400,X,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),ee("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(),p("ngModelOptions",E(402,v)),g("ngModel",e.switchAllowedDomains),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",H(403,wt,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(),p("ngModelOptions",E(406,v)),g("ngModel",e.switchnoOfDaysToKeepDeletedFiles),s(2),g("ngModel",e.noOfDaysToKeepDeletedFiles),p("disabled",!e.switchnoOfDaysToKeepDeletedFiles),s(2),b(e.deletedFilesError),s(3),ee("display",e.showUserConsentFieldInPolicies?"block":"none"),s(6),p("switch",!0),s(),p("ngModelOptions",E(407,v)),g("ngModel",e.switchuserConsentEnabled),s(2),g("ngModel",e.userConsentDisplayText),p("disabled",!e.switchuserConsentEnabled),s(6),p("switch",!0),s(),p("ngModelOptions",E(408,v)),g("ngModel",e.preScanCommandEnabled),s(4),g("ngModel",e.preScanCommand),p("disabled",!e.preScanCommandEnabled),s(2),b(e.preScanError),s(5),g("ngModel",e.continueOnPreScan),p("disabled",!e.preScanCommandEnabled),s(6),p("switch",!0),s(),p("ngModelOptions",E(409,v)),g("ngModel",e.preBackupCommandEnabled),s(4),g("ngModel",e.preBackupCommand),p("disabled",!e.preBackupCommandEnabled),s(2),b(e.preBackupError),s(5),g("ngModel",e.continueOnPreBkp),p("disabled",!e.preBackupCommandEnabled),s(6),p("switch",!0),s(),p("ngModelOptions",E(410,v)),g("ngModel",e.postBackupCommandEnabled),s(4),g("ngModel",e.postBackupCommand),p("disabled",!e.postBackupCommandEnabled),s(2),b(e.postBackupError),s(5),g("ngModel",e.continueOnPostBkp),p("disabled",!e.postBackupCommandEnabled),s(19),p("ngStyle",H(411,Z,e.passwordChangeEnforce?"none":"auto",e.passwordChangeEnforce?"0.4":"1")),s(3),g("ngModel",e.canUserChangePassword),p("ngClass",M(414,X,e.passwordChangeEnforce)),s(),p("value",!0),s(2),p("value",!1),s(2),p("ngStyle",H(416,Z,e.passwordChangeEnforce?"none":"auto",e.passwordChangeEnforce?"0.4":"1")),s(3),g("ngModel",e.canAdminChangeUserPassword),p("ngClass",M(419,X,e.passwordChangeEnforce)),s(),p("value",!0),s(2),p("value",!1),s(15),p("ngStyle",M(421,A,e.displayConfigSQLStyle)),s(10),g("ngModel",e.serverUserName),s(4),g("ngModel",e.serverPassword),s(),p("ngClass",H(423,wt,e.isPasswordVisible,!e.isPasswordVisible)),s(4),g("ngModel",e.serverRePassword),s(96),p("ngStyle",M(426,A,e.displaySchCreateStyle)),s(14),p("ngClass",M(428,Et,e.invalidScheduleName)),g("ngModel",e.scheduleModel.scheduleName),s(2),p("ngIf",i.invalid&&(i.dirty||i.touched)),s(),p("ngIf",e.invalidScheduleName),s(4),g("ngModel",e.myTime),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",E(430,v)),s(5),g("ngModel",e.scheduleDaysList),p("ngModelOptions",E(431,v)),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),k(" ",e.showDaily?"Daily":"De Select All"," "),s(6),p("ngStyle",M(432,A,e.displayScheduleConfStyle)),s(14),p("ngStyle",M(434,A,e.displaySchEditStyle)),s(14),L("value",e.scheduleElement.scheduleName),s(4),g("ngModel",e.myTime),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",E(436,v)),s(5),g("ngModel",e.scheduleDaysListEdit),p("ngModelOptions",E(437,v)),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),k(" ",e.showDailyEdit?"Daily":"De Select All"," "),s(6),p("ngStyle",M(438,A,e.displayNoBackupConfStyle)),s(14),p("ngStyle",M(440,A,e.displayNoBackupCreateStyle)),s(14),g("ngModel",e.nobackupscheduleModel.scheduleName),s(2),p("ngIf",i.invalid&&(i.dirty||i.touched)),s(6),g("ngModel",e.nobackupmyTime),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",E(442,v)),s(6),g("ngModel",e.nobackupmyTimeEnd),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",E(443,v)),s(5),g("ngModel",e.nobackupscheduleDaysList),p("ngModelOptions",E(444,v)),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),k(" ",e.nobackupshowDaily?"Daily":"De Select All"," "),s(6),p("ngStyle",M(445,A,e.displayNoBackupEditStyle)),s(14),L("value",e.nobackupscheduleElement.scheduleName),s(6),g("ngModel",e.nobackupmyTime),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",E(447,v)),s(6),g("ngModel",e.nobackupmyTimeEnd),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",E(448,v)),s(5),g("ngModel",e.nobackupscheduleDaysListEdit),p("ngModelOptions",E(449,v)),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),k(" ",e.nobackupshowDailyEdit?"Daily":"De Select All"," "),s(6),p("ngStyle",M(450,A,e.displayFilterConfStyle)),s(14),p("ngStyle",M(452,A,e.displayFilterCreateStyle)),s(12),p("ngClass",M(454,Et,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",E(456,v)),s(2),p("ngForOf",e.cannedFiltersTemplateCreate),s(7),ee("display",e.extensionsVisible?"block":"none"),s(),p("ngForOf",e.cannedFiltersCreate),s(),g("ngModel",e.newFilterExtensionCreate),s(7),p("ngStyle",M(457,A,e.displayFilterEditStyle)),s(12),L("value",e.filterElement.filterName),g("ngModel",e.filterEditModel.filterName),s(4),g("ngModel",e.filterEditModel.filterType),s(9),g("ngModel",e.checkedList),p("ngModelOptions",E(459,v)),s(2),p("ngForOf",e.cannedFiltersTemplateEdit),s(8),p("ngForOf",e.cannedFilters),s(),g("ngModel",e.newFilterExtensionEdit),s(6),p("ngStyle",M(460,A,e.displayConfirmPolicySave))}},dependencies:[be,ke,Le,Ne,Ee,at,Ye,Xe,$e,Ke,je,Je,qe,Ze,ze,He,it,nt,ot,rt,tt,et,fe,Me,dt,Se,Oe,We,Ie,Ue,xe,Ae,_e,ue,he,ge,Re,lt,Qe,Ge,De,Ve,Pe,Be,Te,Fe,Ct,yt,St,st,ht,ut,gt,ve],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{fn as CloneComponent};
