import{a as yt}from"./chunk-P6NDU2IL.js";import{a as Mt}from"./chunk-7F4EMYHG.js";import{a as bt,c as vt}from"./chunk-NO3NTK2R.js";import{g as wt,m as Et}from"./chunk-JM23TNSL.js";import{a as ut,b as gt,f as ft}from"./chunk-FITPDU3A.js";import{a as Ct}from"./chunk-DZCRME5F.js";import{a as te}from"./chunk-3HNYH5UC.js";import{a as St}from"./chunk-P45W5AKE.js";import{b as _t}from"./chunk-P26KST3Z.js";import{l as dt}from"./chunk-35ZOE3OZ.js";import{e as ct,f as mt,g as ht,i as pt,j as ee}from"./chunk-2QHWGTUH.js";import{A as rt,B as ot,D as st,E as at,b as Ge,c as Ke,g as qe,h as He,j as je,l as Ye,m as Je,n as Qe,p as Xe,t as Ze,u as $e,v as et,w as tt,x as it,y as nt,z as lt}from"./chunk-7RPCZF4K.js";import{Bb as Ie,C as Ce,Cb as xe,Db as Ue,F as ye,L as we,N as Ee,Pa as Te,Qa as Me,Ta as Fe,h as pe,hc as Ne,ib as ke,ic as Re,jb as Le,jc as We,k as ue,kb as De,mb as Pe,nb as Ve,o as ge,ob as Ae,p as fe,pc as ze,q as _e,ta as be,tb as Be,u as Se,ub as Oe,xa as ve,y as $}from"./chunk-6564DHLL.js";import{$b as W,A as se,Ba as O,Dc as P,Eb as y,Fc as r,Ga as ae,Gc as E,Hc as F,Lc as g,Mc as f,Nc as _,Qb as u,Rb as Z,Rc as me,Sc as b,Tc as L,Uc as Q,Yb as N,_b as R,ac as t,bc as i,cc as S,cd as he,eb as de,gc as D,ib as a,ob as M,oc as h,qa as d,qc as w,ra as c,tc as V,xc as z,yb as ce,yc as G,zc as K}from"./chunk-YRCUNHHT.js";import{a as A,b as B,g as Tt,i as oe}from"./chunk-2AVGQ2MQ.js";var le=Tt(Mt());var Ft=["matSelectEdit"],kt=["matSelectCreate"],Lt=["matSelectCreateFilter"],Dt=["matSelectEditFilter"],Pt=["matSelectBlukryptHost"],v=()=>({standalone:!0}),x=p=>({display:p}),ie=(p,C)=>({"pointer-events":p,opacity:C}),ne=p=>({hide:p}),Vt=p=>({redAlert:p});function At(p,C){if(p&1&&(t(0,"li")(1,"h3")(2,"a",406),r(3),i()()()),p&2){let l=w();a(3),E(l.parent)}}function Bt(p,C){if(p&1&&(t(0,"li")(1,"a",407),r(2),i()()),p&2){let l=w();a(),u("href","pms/"+l.productKey,de),a(),E(l.child)}}function Ot(p,C){if(p&1&&(t(0,"li")(1,"span"),r(2),i()()),p&2){let l=w();a(2),E(l.subchild)}}function It(p,C){p&1&&(t(0,"small"),r(1,`
                            Policy Name is required.
                        `),i())}function xt(p,C){if(p&1&&(t(0,"small"),r(1),i()),p&2){let l=w(2);a(),F(`
                            `,l.errortext,`
                        `)}}function Ut(p,C){p&1&&(t(0,"small"),r(1,`
                            Policy Name must be at least 3 characters long.
                        `),i())}function Nt(p,C){if(p&1&&(t(0,"div",408),r(1,`
                        `),y(2,It,2,0,"small",15),r(3,`
                        `),y(4,xt,2,1,"small",15),r(5,`
                        `),y(6,Ut,2,0,"small",15),r(7,`
                    `),i()),p&2){w();let l=P(25);a(2),u("ngIf",l.errors==null?null:l.errors.required),a(2),u("ngIf",l.errors&&l.errors.pattern),a(2),u("ngIf",l.errors&&l.errors.minlength)}}function Rt(p,C){p&1&&(t(0,"small",409),r(1,`
                        This value is too short. It should have 5 characters or more.
                    `),i())}function Wt(p,C){p&1&&(t(0,"small",409),r(1,`
                        This value is too long. It should have 512 characters or fewer.
                    `),i())}function zt(p,C){if(p&1&&(t(0,"c-nav-item")(1,"button",34),r(2," Search "),i()()),p&2){w();let l=P(74);a(),u("cTabContent",l)("tabPaneIdx",3)}}function Gt(p,C){if(p&1&&(t(0,"mat-option",376),r(1),i()),p&2){let l=C.$implicit;V("value",l.scheduleName),a(),E(l.scheduleName)}}function Kt(p,C){if(p&1){let l=D();t(0,"tr")(1,"td"),r(2),i(),t(3,"td"),r(4),i(),t(5,"td")(6,"button",413),h("click",function(){let e=d(l).$implicit,o=w(2);return c(o.editSchedule(e.scheduleName))}),r(7," Edit"),i()()()}if(p&2){let l=C.$implicit;a(2),E(l.scheduleName),a(2),F("",l.time," hrs")}}function qt(p,C){if(p&1&&(t(0,"div",12)(1,"div",104)(2,"div",410)(3,"div",107)(4,"h5"),S(5,"i",411),r(6," Schedule Details"),i()(),t(7,"div",109)(8,"div",110)(9,"table",412)(10,"tbody"),R(11,Kt,8,2,"tr",null,N),i()()()()()()()),p&2){let l=w();a(11),W(l.defaultSchedules)}}function Ht(p,C){if(p&1&&(t(0,"option",376),r(1),i()),p&2){let l=C.$implicit;V("value",l.host),a(),E(l.host)}}function jt(p,C){if(p&1){let l=D();t(0,"li",415),r(1),t(2,"a",416),h("click",function(){let e=d(l).$implicit,o=w(2);return c(o.removeDefaultFolder(e))}),S(3,"i",417),i()()}if(p&2){let l=C.$implicit;a(),F(" ",l," ")}}function Yt(p,C){if(p&1&&(t(0,"ul",414),R(1,jt,4,1,"li",415,N),i()),p&2){let l=w();a(),W(l.defaultUniversalFolders)}}function Jt(p,C){p&1&&(t(0,"span"),r(1,"There are no default folders to backup"),i())}function Qt(p,C){if(p&1){let l=D();t(0,"li",415),r(1),t(2,"a",416),h("click",function(){let e=d(l).$implicit,o=w(2);return c(o.removeExclusionFolder(e))}),S(3,"i",417),i()()}if(p&2){let l=C.$implicit;a(),F(" ",l," ")}}function Xt(p,C){if(p&1&&(t(0,"ul",414),R(1,Qt,4,1,"li",415,N),i()),p&2){let l=w();a(),W(l.userExcludedFoldersUniversal)}}function Zt(p,C){p&1&&(t(0,"span"),r(1,"These folders will be excluded"),i())}function $t(p,C){p&1&&(t(0,"h5",418)(1,"label",419),S(2,"i",420),i()())}function ei(p,C){p&1&&(t(0,"h5",421)(1,"label",422),S(2,"i",423),i()())}function ti(p,C){if(p&1&&(t(0,"mat-option",376),r(1),i()),p&2){let l=C.$implicit;V("value",l.filterName),a(),E(l.filterName)}}function ii(p,C){if(p&1){let l=D();t(0,"tr",427)(1,"td",428)(2,"p")(3,"b"),r(4),i()(),t(5,"span",429),r(6),i()(),t(7,"td",430)(8,"button",431),h("click",function(){let e=d(l).$implicit,o=w(2);return c(o.editFilter(e.filterName))}),r(9," Edit"),i()()()}if(p&2){let l=C.$implicit;a(4),F("",l.filterName," :"),a(2),E(l.filters),a(2),u("disabled",l.filterName==="all_files")}}function ni(p,C){if(p&1&&(t(0,"div",424)(1,"div",104)(2,"div",106)(3,"div",107)(4,"h5"),S(5,"i",425),r(6," Filters "),i()(),t(7,"div",426)(8,"div",110)(9,"table",412)(10,"tbody"),R(11,ii,10,3,"tr",427,N),i()()()()()()()),p&2){let l=w();a(11),W(l.defaultFilters)}}function li(p,C){p&1&&(t(0,"h5",432)(1,"label",419),S(2,"i",420),i()())}function ri(p,C){p&1&&(t(0,"h5",433)(1,"label",422),S(2,"i",423),i()())}function oi(p,C){if(p&1&&(t(0,"mat-option",376),r(1),i()),p&2){let l=C.$implicit;V("value",l.filterName),a(),E(l.filterName)}}function si(p,C){if(p&1){let l=D();t(0,"tr")(1,"td",428)(2,"p")(3,"b"),r(4),i()(),t(5,"span",429),r(6),i()(),t(7,"td",430)(8,"button",431),h("click",function(){let e=d(l).$implicit,o=w(2);return c(o.editFilter(e.filterName))}),r(9," Edit"),i()()()}if(p&2){let l=C.$implicit;a(4),F("",l.filterName," :"),a(2),E(l.filters),a(2),u("disabled",l.filterName==="all_files")}}function ai(p,C){if(p&1&&(t(0,"div",424)(1,"div",104)(2,"div",106)(3,"div",107)(4,"h5"),S(5,"i",425),r(6," Filters "),i()(),t(7,"div",426)(8,"div",110)(9,"table",412)(10,"tbody"),R(11,si,10,3,"tr",null,N),i()()()()()()()),p&2){let l=w();a(11),W(l.defaultSearchFilters)}}function di(p,C){if(p&1){let l=D();t(0,"div",60)(1,"label",434),r(2,"Dedup"),i(),t(3,"select",435),_("ngModelChange",function(e){d(l);let o=w();return f(o.dedup,e)||(o.dedup=e),c(e)}),t(4,"option",436),r(5,"Disabled"),i(),t(6,"option",437),r(7,"User"),i()()()}if(p&2){let l=w();a(3),g("ngModel",l.dedup)}}function ci(p,C){if(p&1){let l=D();t(0,"div",60)(1,"label",434),r(2,"dedup"),i(),t(3,"select",435),_("ngModelChange",function(e){d(l);let o=w();return f(o.dedup,e)||(o.dedup=e),c(e)}),t(4,"option",436),r(5,"Disabled"),i(),t(6,"option",438),r(7,"User"),i(),t(8,"option",439),r(9,"Global"),i()()()}if(p&2){let l=w();a(3),g("ngModel",l.dedup)}}function mi(p,C){if(p&1&&(t(0,"mat-option",376),r(1),i()),p&2){let l=C.$implicit;V("value",l.gatewayName),a(),E(l.gatewayName)}}function hi(p,C){if(p&1){let l=D();t(0,"div",21)(1,"label",440),r(2,"Preferred BluKrypt Hostnames"),i(),t(3,"mat-form-field",391)(4,"mat-select",392,10),_("ngModelChange",function(e){d(l);let o=w();return f(o.checkedListPg,e)||(o.checkedListPg=e),c(e)}),h("selectionChange",function(){d(l);let e=w();return c(e.onBlukryptChange())}),y(6,mi,2,2,"mat-option",42),i()()()}if(p&2){let l=w();a(4),g("ngModel",l.checkedListPg),u("ngModelOptions",b(3,v)),a(2),u("ngForOf",l.pgs)}}function pi(p,C){p&1&&(t(0,"small"),r(1," Schedule Name is required. "),i())}function ui(p,C){if(p&1&&(t(0,"small"),r(1),i()),p&2){let l=w(2);a(),F(" ",l.errortext," ")}}function gi(p,C){if(p&1&&(t(0,"div",408),y(1,pi,2,0,"small",15)(2,ui,2,1,"small",15),i()),p&2){w();let l=P(1202);a(),u("ngIf",l.errors==null?null:l.errors.required),a(),u("ngIf",l.errors&&l.errors.pattern)}}function fi(p,C){if(p&1&&(t(0,"small",409),r(1),i()),p&2){let l=w();a(),F(" ",l.errortext," ")}}function _i(p,C){if(p&1&&(t(0,"mat-option",376),r(1),i()),p&2){let l=C.$implicit;V("value",l.extensionName),a(),E(l.filterName)}}function Si(p,C){if(p&1){let l=D();t(0,"span",441),r(1),t(2,"a",442),h("click",function(){let e=d(l).$implicit,o=w();return c(o.removeExtensionCreate(e))}),S(3,"i",417),i()()}if(p&2){let l=C.$implicit;a(),F("",l," ")}}function Ci(p,C){if(p&1&&(t(0,"mat-option",376),r(1),i()),p&2){let l=C.$implicit;V("value",l.extensionName),a(),E(l.filterName)}}function yi(p,C){if(p&1){let l=D();t(0,"span",443),r(1),t(2,"a",442),h("click",function(){let e=d(l).$implicit,o=w();return c(o.removeExtension(e))}),S(3,"i",417),i()()}if(p&2){let l=C.$implicit;a(),F("",l," ")}}var nn=(()=>{class p{constructor(l,m,e,o,s,n,q,T,U,H,k,I,j,Y,X){this.http=l,this.datePipe=m,this.titleService=e,this.toastr=o,this.apiService=s,this.AuthService=n,this.globalConstantsService=q,this.cdr=T,this.router=U,this.sharedService=H,this.el=k,this.activatedRoute=I,this.configService=j,this.licenseCheckService=Y,this.userRoleService=X,this.parent="Policy Management",this.child=" for Business Policies",this.subchild="Clone Policy",this.title="Policy Management",this.errortext="Only letters, numbers, and @, -, _, . are allowed.",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=["/"],this.userExcludedFoldersUniversal=[],this.noOfDevicesAllowed="1",this.deviceAllowedError="",this.noOfDevicesAllowedCloud="3",this.canUserChangePassword=!0,this.canAdminChangeUserPassword=!0,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.shareCheckedList=new O,this.shareIndividualCheckedList=new O,this.showDropDownFilter=!1,this.checkedListFilter=[],this.currentSelectedFilter={},this.shareCheckedListFilter=new O,this.shareIndividualCheckedListFilter=new O,this.showDropDownSearchFilter=!1,this.checkedListSearchFilter=[],this.currentSelectedSearchFilter={},this.shareCheckedListSearchFilter=new O,this.shareIndividualCheckedListSearchFilter=new O,this.searchAlgorithm="NEAREST",this.showDropDownPg=!1,this.checkedListPg=[],this.currentSelectedPg={},this.pgs=[],this.shareCheckedListPg=new O,this.shareIndividualCheckedListPg=new O,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.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=!0,this.perUserBackupStorageLimit="250",this.limitError="",this.cpuThrottling="5",this.defaultFoldersBackup="",this.exclusionFolderName="",this.legalHold=!1,this.rwDetectionEnabled=!1,this.deviceNotHeardError="",this.deletedFilesError="",this.switchnoOfDaysToKeepDeletedFiles=!1,this.noOfDaysToKeepDeletedFiles="UNLIMITED",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.storageLimitReachedAdmins="admins",this.storageLimitReachedReadonlyadmins="readonlyadmins",this.storageLimitReachedUsers="",this.endpointUiPreferences=[],this.endpointDisabledUiPreferences=[],this.menuOptions={},this.webBasedLogin="true",this.numberOfThreadsAllowedForBackup="1",this.dedup="user",this.vssEnabled="false",this.compEnabled="true",this.privacyGatewayMappingElement={},this.policyRefresh="4",this.switchlogUnaccessedFiles="true",this.canBackupHiddenFiles="true",this.createLinkEnabled=!1,this.includethreshholdLimit=!1,this.threshholdLimit="80",this.includepurgeFilesOlderThan=!1,this.purgeFilesOlderThan="365",this.includepurgeFilesSizeGTThan=!1,this.purgeFilesSizeGTThan="5",this.itemVisible=[!1,!1,!1,!1,!1,!1,!1,!1],this.displayOnedriveArchiving="none",this.includethreshholdLimitCheck=!0,this.includepurgeFilesOlderThanCheck=!0,this.includepurgeFilesSizeGTThanCheck=!0,this.switchnoOfDaysToKeepUserDeviceNotActive=!1,this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED",this.deletedAssetsError="",this.switchpurgeDeletedFilesOlderThan=!1,this.purgeDeletedFilesOlderThan="UNLIMITED",this.msAppBluKrypt="",this.msAppAgentList=[],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,UPDATE_AGENT:!0,STOP_BACKUP:!0,DISALLOW_ADMIN_RESTORES:!1,BLOCK_NOTIFICATIONS:!1},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:le.default.tz.guess(),backupType:"INCR",dayArray:[],hostName:this.configService.componentName},this.scheduleEditModel={scheduleName:"",time:"",timeZone:le.default.tz.guess(),backupType:"INCR",dayArray:[],hostName:this.configService.componentName},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.contentIndexEnabled="true",this.searchFilterType="inclusion",this.filterType="inclusion",this.threshholdLimitOld="",this.purgeFilesOlderThanOld="",this.purgeFilesSizeGTThanOld="",this.storage_type="",this.userType="",this.invalidFilterName=!1,this.displayConfirmPolicySave="none",this.threshholdLimitError="",this.purgeFilesOlderThanError="",this.purgeFilesSizeGTThanError="",this.productKey="",this.productTitle="",this.inclusionLicenses=[],this.policyModel={backupSystemFilesEnabled:"false",legalHoldEnabled:"false",shareEnabled:"false",highSecureShareEnabled:"true",complexPassword:!0,allowDownload:!1,shareExpireDateEnable:!0,googleAuth:!0,policygroupName:"test123",description:"",destination:"",backupFolderPaths:["/"],maxVersions:"-1",backupAllVersions:!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:"false",networkThrottlingNames:["DEFAULT_NETWORK_THROTTLE"],scheduleNames:[],userSizeAllowed:"250",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,canBackupHiddenFiles:"true",searchAlgoForPg:"NEAREST",cpuThrottling:"5",daysToWaitForNextBackup:0,noOfDevicesAllowed:"1",endpointDomainCheck:"false",webBasedLogin:"true",canAdminRestore:"true",canAdminDelete:"true",contentIndexEnabled:"true",noOfDaysToKeepDeletedFiles:"-1",filterType:"inclusion",searchFilterType:"inclusion",shareDomainType:"Share only with these Email domains",shareDomainIncExclusions:[""],allowEndUserTocontrolRestore:"false",showShareLink:"false",numberOfThreadsAllowedForBackup:"1",shareDomainsEnabled:"false",logUnaccessedFiles:"false",rwDetectionEnabled:"false",policyStorageSizeAllowed:"0",policyUsersAllowed:"0",excludedFolderpaths:[],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",storageLimitReached:"admins,readonlyadmins"},policyType:"",createMailLinkEnabled:!1,createLinkEnabled:!1,threshholdLimit:"80",purgeFilesOlderThan:"365",purgeFilesSizeGTThan:"5",cpThresHoldFlagEnabled:!1,cpPurgeFilesOlderThanEnabled:!1,cpPurgeFilesSizeGTThanFlagEnabled:!1,filters:{from:"",to:"",subject:""},msAppBluKrypt:"",noOfDaysToKeepUserDeviceNotActive:"-1",purgeDeletedFilesOlderThan:-1,hostName:this.configService.componentName},this.output={createUser:"",userDeleted:"",userBlocked:"",userLimitReached:"",deviceDeleted:"",deviceBlocked:"",deviceDecoupled:"",deviceLimitReached:"",weeklyBkpreport:"",firstBkpCompleted:"",restoreInitiated:"",storageLimitReached:""},this.addDefaultFolder=()=>yt(this.defaultFoldersBackup,this.defaultUniversalFolders,this.toastr),this.collapses=[!1,!1,!1,!1],this.titleService.setTitle(this.title)}ngOnInit(){return oe(this,null,function*(){let l;this.inclusionLicenses=yield this.licenseCheckService.getInclusionLicensesNew(),this.activatedRoute.params.subscribe(m=>{this.productKey=m.productKey,this.sharedService.setData("selectedProductType",this.productKey),l=St.find(e=>e.key===this.productKey),l?.defaultUniversalFolders&&Object.assign(this.defaultUniversalFolders,l?.defaultUniversalFolders),this.child=l?.title+this.child,this.productTitle=l?.title||"",this.policyModel.policyType=this.productKey}),yield new Promise(m=>{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",m()})}),this.callApis(),l?.licencedFeaturesFlags?.[1]&&this.inclusionLicenses.includes(l.licencedFeaturesFlags[1])?this.displayOnedriveArchiving="block":this.displayOnedriveArchiving="none",l?.licencedFeaturesFlags?.[0]&&this.inclusionLicenses.includes(l.licencedFeaturesFlags[0])?this.searchEnabled=!0:this.searchEnabled=!1,this.userType=yield this.userRoleService.getUserRole()})}sendMeTo(l){this.router.navigate([l])}onSelectChangeFilterType(l){let e=l.target.value;e==="inclusion"?(this.inclusionFilter=!0,this.exclusionFilter=!1):e==="exclusion"&&(this.inclusionFilter=!1,this.exclusionFilter=!0)}onSelectChangeSearchFilterType(l){let e=l.target.value;e==="inclusion"?(this.inclusionSearchFilter=!0,this.exclusionSearchFilter=!1):e==="exclusion"&&(this.inclusionSearchFilter=!1,this.exclusionSearchFilter=!0)}onSliderChange(l){this.cpuThrottling=l.target.value}toggleThrottle(){this.isThrottleEnabled?this.nwFromClientToPGMB="4":(this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps"),this.validateInput()}toggleNoOfDaysToKeepUserDeviceNotActive(){this.switchnoOfDaysToKeepUserDeviceNotActive?(console.log("iffffffffffff"),this.noOfDaysToKeepUserDeviceNotActive="60"):(console.log("elseeeeeee"),this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED"),this.myFunctionnoOfDaysToKeepUserDeviceNotActive()}myFunctionnoOfDaysToKeepUserDeviceNotActive(){console.log("noOfDaysToKeepUserDeviceNotActive : "+this.noOfDaysToKeepUserDeviceNotActive),this.deletedAssetsError="";let l=Number(this.noOfDaysToKeepUserDeviceNotActive);console.log("inputValue : "+l),isNaN(l)?this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.deletedAssetsError='Input can be either "UNLIMITED" or any integer'):this.noOfDaysToKeepUserDeviceNotActive.includes(".")?this.deletedAssetsError="Please enter an integral value":l<7&&!isNaN(l)?this.deletedAssetsError="Minimum number of Versions Allowed is 7":this.deletedAssetsError=""}validateInput(){this.switchError="",this.switchWarning="";let l=Number(this.nwFromClientToPGMB);isNaN(l)?this.nwFromClientToPGMB!=="UNLIMITED"&&(this.switchError="Input can be any integer"):l>9999?this.switchError="Network Throttle Setting from Client to BluKrypt Allowed is 9999":this.nwFromClientToPGMB.includes(".")?this.switchError="Please enter an integral value":l<256&&this.networkThrottlingUnit==="kbps"&&(this.switchWarning="Recommended value is 1Mbps or greater. You should consider increasing this value to at least 256kbps")}toggleVersion(){this.verError="",this.isVersionEnabled?this.versions="3":this.versions="UNLIMITED",this.myFunctionVer()}myFunctionVer(){console.log("versions : "+this.versions),this.verError="";let l=Number(this.versions);console.log("inputValue : "+l),isNaN(l)?this.versions!=="UNLIMITED"&&(this.verError="Input can be any integer"):l>1e7?this.verError="Maximum number of Versions Allowed is 1 Crore":this.versions.includes(".")?this.verError="Please enter an integral value":l<1&&!isNaN(l)?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 l=Number(this.maxPermissibleFileSize);console.log("inputValue : "+l),isNaN(l)?this.maxPermissibleFileSize!=="UNLIMITED"&&(this.sizeError='Input can be either "UNLIMITED" or any integer'):l>999999?this.sizeError="Maximum Permissible File Size Allowed is 999999":this.maxPermissibleFileSize.includes(".")?this.sizeError="Please enter an integral value":l<1&&!isNaN(l)?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 l=Number(this.perUserBackupStorageLimit);console.log("inputValue : "+l),isNaN(l)?this.perUserBackupStorageLimit!=="UNLIMITED"&&(this.limitError='Input can be either "UNLIMITED" or any integer'):l>99999?this.limitError="Maximum Per User Backup Storage Limit Allowed is 99999":this.perUserBackupStorageLimit.includes(".")?this.limitError="Please enter an integral value":l<1&&!isNaN(l)?this.limitError="Minimum Per User Backup Storage Limit Allowed is 1":this.limitError=""}myFunctionDevice(){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=""}togglePurgeDeletedFilesOlderThan(){this.switchpurgeDeletedFilesOlderThan?(console.log("iffffffffffff"),this.purgeDeletedFilesOlderThan="90"):(console.log("elseeeeeee"),this.purgeDeletedFilesOlderThan="UNLIMITED"),this.myFunctionpurgeDeletedFilesOlderThan()}myFunctionpurgeDeletedFilesOlderThan(){console.log("purgeDeletedFilesOlderThan : "+this.purgeDeletedFilesOlderThan),this.deletedFilesError="";let l=Number(this.purgeDeletedFilesOlderThan);console.log("inputValue : "+l),isNaN(l)?this.purgeDeletedFilesOlderThan!=="UNLIMITED"&&(this.deletedFilesError='Input can be either "UNLIMITED" or any integer'):this.purgeDeletedFilesOlderThan.includes(".")?this.deletedFilesError="Please enter an integral value":l<1&&!isNaN(l)?this.deletedFilesError="Minimum number of Versions Allowed is 1":this.deletedFilesError=""}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.storageLimitReached=this.getEnabledOptions(["storageLimitReachedAdmins","storageLimitReachedReadonlyadmins","storageLimitReachedUsers"])}getEnabledOptions(l){return l.map(m=>this[m]).filter(m=>m!=="").join(",")}updatePreferences(){let l=["bkpfiles","bkpsettings","initiatebackup","stopbackup","support","about","systrayIcon","restore","refbkppolicy","pauseBackup","updateAgent","decouple","exitt","disallowAdminRestores","blockNotifications"];this.endpointUiPreferences=[],this.endpointDisabledUiPreferences=[],this.getSelectedValues(l),console.log("Enabled Preferences:",this.endpointUiPreferences),console.log("Disabled Preferences:",this.endpointDisabledUiPreferences)}getSelectedValues(l){l.forEach(m=>{let e=document.getElementById(m);if(e){let o=this.mapIdToPreference(m);e.value==="true"?this.endpointUiPreferences.push(o):this.endpointDisabledUiPreferences.push(o)}})}mapIdToPreference(l){switch(l){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"refbkppolicy":return"REFRESH_BACKUP_POLICY";case"blockNotifications":return"BLOCK_NOTIFICATIONS";case"disallowAdminRestores":return"DISALLOW_ADMIN_RESTORES";case"exitt":return"EXIT";default:return l.toUpperCase()}}updateMenuOptions(){let l=["Open","View","Versions","Share","Download","portalRestore"];this.menuOptions=this.getSelectedMenuOptions(l),console.log("Menu Options:",this.menuOptions)}getSelectedMenuOptions(l){let m={};return l.forEach(e=>{let o=document.getElementById(e);o&&(console.log("element : "+o.getAttribute("id")),o.getAttribute("id")=="portalRestore"?m.restore=o.value:m[e.toLowerCase()]=o.value)}),m}getprivacyElement(){let l={};return l.gatewayNwThrottlingName="Default",l.privacyGatewayNames=this.checkedListPg,l}flipAllowEndUserTocontrolRestore(){this.canAdminRestoreAll||(this.allowEndUserTocontrolRestore=!1,this.isAdminDeleteBackupFile=!1)}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 l=Number(this.noOfDaysToKeepDeletedFiles);console.log("inputValue : "+l),isNaN(l)?this.noOfDaysToKeepDeletedFiles!=="UNLIMITED"&&(this.deletedFilesError='Input can be either "UNLIMITED" or any integer'):this.noOfDaysToKeepDeletedFiles.includes(".")?this.deletedFilesError="Please enter an integral value":l<1&&!isNaN(l)?this.deletedFilesError="Minimum number of Versions Allowed is 1":this.deletedFilesError=""}removeDefaultFolder(l){var m=this.defaultUniversalFolders.indexOf(l);m>-1&&(this.defaultUniversalFolders.splice(m,1),this.toastr.success("Selected Folder has been removed successfully.","Success"))}addExclusionFolder(){var l=new RegExp(":"),m=new RegExp("[^/]([A-Za-z]:)");if(this.exclusionFolderName!=""){if(m.test(this.defaultFoldersBackup)){this.toastr.error("Invalid folder path.","Error");return}l.test(this.exclusionFolderName)?(this.exclusionFolderName=this.exclusionFolderName.replace(/\/+$/,""),this.exclusionFolderName=this.exclusionFolderName.replace(/\\+$/,""),this.exclusionFolderName=this.exclusionFolderName.concat("\\"),this.exclusionFolderName=this.exclusionFolderName.replace(/\//g,"\\")):(this.exclusionFolderName=this.exclusionFolderName.replace(/\/+$/,""),this.exclusionFolderName=this.exclusionFolderName.replace(/\\+$/,""),!this.exclusionFolderName.endsWith("}")&&!this.exclusionFolderName.endsWith("/")&&(this.exclusionFolderName=this.exclusionFolderName.concat("/")),this.exclusionFolderName=this.exclusionFolderName.replace(/\\/g,"/")),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(l){var m=this.userExcludedFoldersUniversal.indexOf(l);m>-1&&(this.userExcludedFoldersUniversal.splice(m,1),this.toastr.success("Selected Folder has been removed successfully.","Success"))}callApis(){let l=this.apiService.getAllSchedules(),m=this.apiService.getAllFilters(),e=this.apiService.getPgs(),o=this.apiService.cloudProperties(),s=this.apiService.getGlobalExclusion(),n=this.apiService.getGsuitePolicy(this.sharedService.getDataByKey("currentPolicyName"),this.productKey),q=this.apiService.getMSAgentSettings();se([l,m,e,o,s,n,q]).subscribe(([T,U,H,k,I,j,Y])=>{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:",U.body.inclusionFilterElementList),console.log("API 2 response headers:",U.headers),console.log("API 3 response body:",H.body.privacyGatewayElementList),console.log("API 3 response headers:",H.headers),console.log("API 4 response body:",k.body),console.log("API 4 response headers:",k.headers),console.log("API 5 response body:",I.body),console.log("API 5 response headers:",I.headers),console.log("API 6 response body:",j.body.gmailBackupPolicyElement),console.log("API 6 response headers:",j.headers),console.log("API 7 response body:",Y.body.MSAppBluKryptElementList),console.log("API 7 response headers:",Y.headers);let X=H.body.privacyGatewayElementList.map(J=>({gatewayName:J.gatewayName,status:!1}));console.log("Transformed Data:",X),this.msAppAgentList=Y.body.MSAppBluKryptElementList,this.schedules=T.body.scheduleElementList,this.filters=U.body.inclusionFilterElementList.map(J=>B(A({},J),{status:!1})),console.log("filterssssssssss : "+JSON.stringify(this.filters)),this.searchfilters=U.body.inclusionFilterElementList.map(J=>B(A({},J),{status:!1})),this.pgs=X,console.log("API 5 response body:",JSON.stringify(I.body.globalExcludedFoldersElement.globalExcludedFoldersList.win));let re=[...new Set([...I.body.globalExcludedFoldersElement.globalExcludedFoldersList.win,...I.body.globalExcludedFoldersElement.globalExcludedFoldersList.mac])];re=[...new Set([...re,...I.body.globalExcludedFoldersElement.globalExcludedFoldersList.linux])],console.log("CombinedExclusions :",JSON.stringify(re)),this.noOfDevicesAllowedCloud=k.body.cloudPropertyElement.noOfDevicesAllowed,this.canUserChangePassword=k.body.cloudPropertyElement.canUserChangePassword,this.canAdminChangeUserPassword=k.body.cloudPropertyElement.canAdminChangeUserPassword,this.passwordChangeEnforce=k.body.cloudPropertyElement.passwordChangeEnforce,this.canAdminRestoreAll=k.body.cloudPropertyElement.canAdminRestoreAll,this.isAdminDeleteBackupFile=k.body.cloudPropertyElement.isAdminDeleteBackupFile,this.overridePolicySettings=k.body.cloudPropertyElement.overridePolicySettings,this.showUserConsentFieldInPolicies=k.body.cloudPropertyElement.showUserConsentFieldInPolicies,this.storageProvider=k.body.cloudPropertyElement.storageProvider,this.hostedSetup=k.body.cloudPropertyElement.hostedSetup,this.getPolicy(j.body.gmailBackupPolicyElement)},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(l,m){if(l)this.checkedListSchedule.push(m),console.log("this.checkedList1 : "+this.checkedListSchedule);else{var e=this.checkedListSchedule.indexOf(m);this.checkedListSchedule.splice(e,1)}this.getMultipleSchedules(this.checkedListSchedule.toString()),this.currentSelectedSchedule={checked:l,name:m},this.shareCheckedlistCreate(),this.shareIndividualStatusCreate()}shareCheckedlistCreate(){this.shareCheckedList.emit(this.checkedListSchedule)}shareIndividualStatusCreate(){this.shareIndividualCheckedList.emit(this.currentSelectedSchedule)}getMultipleSchedules(l){this.apiService.getMultipleSchedules(l).subscribe(m=>{var e=JSON.stringify(m.body),o=JSON.parse(e);console.log("scheduleElementList from  getMultipleSchedules: "+JSON.stringify(o.scheduleElementList)),this.defaultSchedules=o.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}})}getSelectedValueFilter(l,m){if(l)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:l,name:m},this.shareCheckedlistFilter(),this.shareIndividualStatusFilter()}shareCheckedlistFilter(){this.shareCheckedListFilter.emit(this.checkedListFilter)}shareIndividualStatusFilter(){this.shareIndividualCheckedListFilter.emit(this.currentSelectedFilter)}getMultipleFilters(l){this.apiService.getMultipleFilters(l).subscribe(m=>{var e=JSON.stringify(m.body),o=JSON.parse(e);console.log("inclusionFilterElementList from  getMultipleFilters: "+JSON.stringify(o.inclusionFilterElementList)),this.defaultFilters=o.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(l,m){if(l)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:l,name:m},this.shareCheckedlistSearchFilter(),this.shareIndividualStatusSearchFilter()}shareCheckedlistSearchFilter(){this.shareCheckedListSearchFilter.emit(this.checkedListSearchFilter)}shareIndividualStatusSearchFilter(){this.shareIndividualCheckedListSearchFilter.emit(this.currentSelectedSearchFilter)}getMultipleSearchFilters(l){this.apiService.getMultipleFilters(l).subscribe(m=>{var e=JSON.stringify(m.body),o=JSON.parse(e);console.log("inclusionFilterElementList from  getMultipleFilters: "+JSON.stringify(o.inclusionFilterElementList)),this.defaultSearchFilters=o.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(l,m){if(l)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:l,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(l=>l.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(l){this.displayConfirmPolicySave="none",this.verError="",this.limitError="",this.sizeError="",this.deletedAssetsError="",this.deletedFilesError="",this.threshholdLimitError="",this.purgeFilesOlderThanError="",this.purgeFilesSizeGTThanError="";let m=!1;if(!(!this.validatePolicyGroupName()||!this.validateDescription())){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 any 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 any integer',this.toastr.error("Please check the value for Maximum Permissible File Size."),m=!0),this.defaultUniversalFolders.length==0){this.toastr.error("Please add at-least one default folders to backup up");return}if((this.deletedAssetsError!=""||Number(this.noOfDaysToKeepUserDeviceNotActive)<7)&&(this.toastr.error("Please check the value for Delete assets which have not been active for."),this.deletedAssetsError="Minimum value allowed is 7",m=!0),isNaN(Number(this.noOfDaysToKeepUserDeviceNotActive))&&this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.toastr.error("Please check the value for Delete assets which have not been active for."),this.deletedAssetsError="Input can be either 'UNLIMITED' or any integer",m=!0),(this.deletedFilesError!=""||Number(this.purgeDeletedFilesOlderThan)<1)&&(this.toastr.error("Please check the value for Purge deleted files from the catalog after."),this.deletedFilesError="Minimum number of allowed is 1",m=!0),isNaN(Number(this.purgeDeletedFilesOlderThan))&&this.purgeDeletedFilesOlderThan!=="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.threshholdLimitError!=""&&(this.toastr.error("Please check the value for {{productTitle}} consumption is higher than (%)."),m=!0),this.purgeFilesOlderThanError!=""&&(this.toastr.error("Please check the value for Files have not been modified in (days)."),m=!0),this.purgeFilesSizeGTThanError!=""&&(this.toastr.error("Please check the value for Files are of size greater than (MB)."),m=!0),!m){if(l.invalid){l.control.markAllAsTouched(),this.toastr.error("Please fill in all required fields.");return}this.updateOutput(),this.updatePreferences(),this.updateMenuOptions(),this.policyModel.policygroupName=this.policygroupName,this.policyModel.description=this.description,this.policyModel.maxVersions=this.versions==="UNLIMITED"?"-1":this.versions,this.policyModel.maxFileSize=this.maxPermissibleFileSize==="UNLIMITED"?"1048576":this.maxPermissibleFileSize,this.policyModel.userSizeAllowed=this.perUserBackupStorageLimit==="UNLIMITED"?"102400":this.perUserBackupStorageLimit,this.policyModel.noOfDevicesAllowed=this.noOfDevicesAllowed,this.policyModel.osType="universal",this.policyModel.backupFolderPaths=this.defaultUniversalFolders,this.policyModel.excludedFolderpaths=this.userExcludedFoldersUniversal,this.policyModel.filterType=this.inclusionFilter?"inclusion":"exclusion",this.policyModel.searchFilterType=this.inclusionSearchFilter?"inclusion":"exclusion",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.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.dedup=this.dedup,this.policyModel.logUnaccessedFiles=this.switchlogUnaccessedFiles?"true":"false",this.policyModel.canBackupHiddenFiles=this.canBackupHiddenFiles,this.policyModel.canUserChangePassword=this.canUserChangePassword,this.policyModel.canAdminChangeUserPassword=this.canAdminChangeUserPassword,this.policyModel.filterInclusionName=this.checkedListFilter,this.policyModel.scheduleNames=this.checkedListSchedule,this.policyModel.searchFilterInclusionName=this.checkedListSearchFilter.length>0?this.checkedListSearchFilter:["all_files"],this.policyModel.backupFolderPaths=this.defaultUniversalFolders,this.policyModel.excludedFolderpaths=this.userExcludedFoldersUniversal,this.onUnitChange(),this.policyModel.noOfDaysToKeepUserDeviceNotActive=this.noOfDaysToKeepUserDeviceNotActive==="UNLIMITED"?"-1":this.noOfDaysToKeepUserDeviceNotActive,this.policyModel.purgeDeletedFilesOlderThan=this.purgeDeletedFilesOlderThan==="UNLIMITED"?-1:parseInt(this.purgeDeletedFilesOlderThan),this.policyModel.msAppBluKrypt=this.msAppBluKrypt,this.policyModel.contentIndexEnabled=this.contentIndexEnabled,this.policyModel.createLinkEnabled=this.createLinkEnabled,this.policyModel.threshholdLimit=this.includethreshholdLimitCheck?this.threshholdLimit:this.threshholdLimitOld,this.policyModel.purgeFilesOlderThan=this.includepurgeFilesOlderThanCheck?this.purgeFilesOlderThan:this.purgeFilesOlderThanOld,this.policyModel.purgeFilesSizeGTThan=this.includepurgeFilesSizeGTThanCheck?this.purgeFilesSizeGTThan:this.purgeFilesSizeGTThanOld,this.policyModel.cpThresHoldFlagEnabled=this.includethreshholdLimitCheck,this.policyModel.cpPurgeFilesOlderThanEnabled=this.includepurgeFilesOlderThanCheck,this.policyModel.cpPurgeFilesSizeGTThanFlagEnabled=this.includepurgeFilesSizeGTThanCheck,this.policyModel.canAdminRestore=this.canAdminRestoreAll?"true":"false",this.policyModel.allowEndUserTocontrolRestore=this.allowEndUserTocontrolRestore?"true":"false",this.policyModel.canAdminDelete=this.isAdminDeleteBackupFile?"true":"false",console.log("Policy Details : "+JSON.stringify(this.policyModel)),this.apiService.editGmailPolicy(this.policyModel,this.productKey).subscribe(e=>{console.log("Policy cloned successfully:",e),this.toastr.success("Policy cloned successfully.","Info"),setTimeout(()=>{this.router.navigate(["/pms/"+this.productKey])},5e3)},e=>{switch(e.status){case 400:console.error("Bad Request: ",e.message);break;case 401:console.error("Unauthorized: ",e.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 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: ",e.message);break;case 503:console.error("Internal Server Error: ",e.message);break;default:console.error("Unknown Error: ",e.message);break}})}}}onUnitChange(){let l=Number(this.nwFromClientToPGMB);switch(this.networkThrottlingUnit){case"kbps":this.policyModel.nwFromClientToPG=parseFloat((l/1024).toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat((l/1024).toFixed(4));break;case"mbps":this.policyModel.nwFromClientToPG=parseFloat(l.toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat(l.toFixed(4));break;case"gbps":this.policyModel.nwFromClientToPG=parseFloat((l*1024).toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat((l*1024).toFixed(4));break;default:break}}getPolicy(l){this.policygroupName=l.policygroupName+"_copy",this.description=l.description,this.checkedListSchedule=l.scheduleNames,this.schedules=this.schedules.map(o=>B(A({},o),{checked:this.checkedListSchedule.includes(o.scheduleName)})),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.versions=l.maxVersions,l.maxVersions=="-1"?(this.isVersionEnabled=!1,this.versions="UNLIMITED"):this.isVersionEnabled=!0,this.maxPermissibleFileSize=l.maxFileSize,l.maxFileSize=="1048576"||l.maxFileSize=="-1"?(this.isSizeEnabled=!1,this.maxPermissibleFileSize="UNLIMITED"):this.isSizeEnabled=!0,this.perUserBackupStorageLimit=l.userSizeAllowed,l.userSizeAllowed=="102400"?(this.isLimitEnabled=!1,this.perUserBackupStorageLimit="UNLIMITED"):this.isLimitEnabled=!0,this.noOfDevicesAllowed=l.noOfDevicesAllowed?l.noOfDevicesAllowed:this.noOfDevicesAllowedCloud,this.defaultUniversalFolders=l.backupFolderPaths,this.userExcludedFoldersUniversal=l.excludedFolderpaths?l.excludedFolderpaths:[],this.inclusionFilter=l.filterType=="inclusion",this.checkedListFilter=l.filterInclusionName,this.filters=this.filters.map(o=>B(A({},o),{checked:this.checkedListFilter.includes(o.filterName)})),this.getMultipleFilters(this.checkedListFilter.toString()),this.inclusionSearchFilter=l.searchFilterType=="inclusion",this.checkedListSearchFilter=l.searchFilterInclusionName,this.filters=this.filters.map(o=>B(A({},o),{checked:this.checkedListSearchFilter.includes(o.filterName)})),this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()),this.nwFromClientToPGMB=l.nwFromClientToPGMB;let m=Math.round(l.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=l.contentIndexEnabled,this.cpuThrottling=l.cpuThrottling,this.legalHold=l.legalHoldEnabled,this.rwDetectionEnabled=l.rwDetectionEnabled,this.numberOfThreadsAllowedForBackup=l.numberOfThreadsAllowedForBackup,this.webBasedLogin=l.webBasedLogin,this.compEnabled=l.compressionEnabled,this.vssEnabled=l.vssEnabled,this.policyRefresh=l.policyRefresh.split(":")[0],this.switchlogUnaccessedFiles=l.logUnaccessedFiles,this.canBackupHiddenFiles=l.canBackupHiddenFiles,l.purgeDeletedFilesOlderThan==-1?(this.switchpurgeDeletedFilesOlderThan=!1,this.purgeDeletedFilesOlderThan="UNLIMITED"):(this.switchpurgeDeletedFilesOlderThan=!0,this.purgeDeletedFilesOlderThan=l.purgeDeletedFilesOlderThan),l.noOfDaysToKeepDeletedFiles==-1?(this.switchnoOfDaysToKeepDeletedFiles=!1,this.noOfDaysToKeepDeletedFiles="UNLIMITED"):(this.switchnoOfDaysToKeepDeletedFiles=!0,this.noOfDaysToKeepDeletedFiles=l.noOfDaysToKeepDeletedFiles),l.noOfDaysToKeepUserDeviceNotActive==-1?(this.switchnoOfDaysToKeepUserDeviceNotActive=!1,this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED"):(this.switchnoOfDaysToKeepUserDeviceNotActive=!0,this.noOfDaysToKeepUserDeviceNotActive=l.noOfDaysToKeepUserDeviceNotActive),this.canUserChangePassword=l.canUserChangePassword,this.canAdminChangeUserPassword=l.canAdminChangeUserPassword,this.canAdminRestoreAll=l.canAdminRestore,this.allowEndUserTocontrolRestore=l.allowEndUserTocontrolRestore,this.isAdminDeleteBackupFile=l.canAdminDelete,this.searchAlgorithm=l.searchAlgoForPg,this.checkedListPg=l.privacyGatewayMappingElement.privacyGatewayNames,this.pgs=this.pgs.map(o=>B(A({},o),{checked:this.checkedListPg.includes(o.gatewayName)})),console.log("policyElement.privacyGatewayMappingElement.privacyGatewayNames : "+l.privacyGatewayMappingElement.privacyGatewayNames),this.endpointUiPreferencesEdit=l.endpointUiPreferences?l.endpointUiPreferences:[],this.endpointDisabledUiPreferencesEdit=l.endpointDisabledUiPreferences?l.endpointDisabledUiPreferences:[],this.updatePreferencesEdit(),this.menuOptionsEdit=l.menuOptions,this.createUserAdmins=l.emailsRestriction.createUser.includes("admins")?"admins":"",this.createUserReadonlyadmins=l.emailsRestriction.createUser.includes("readonlyadmins")?"readonlyadmins":"",this.createUserUsers=l.emailsRestriction.createUser.includes("users")?"users":"",this.userDeletedAdmins=l.emailsRestriction.userDeleted.includes("admins")?"admins":"",this.userDeletedReadonlyadmins=l.emailsRestriction.userDeleted.includes("readonlyadmins")?"readonlyadmins":"",this.userDeletedUsers=l.emailsRestriction.userDeleted.includes("users")?"users":"",this.userBlockedAdmins=l.emailsRestriction.userBlocked.includes("admins")?"admins":"",this.userBlockedReadonlyadmins=l.emailsRestriction.userBlocked.includes("readonlyadmins")?"readonlyadmins":"",this.userBlockedUsers=l.emailsRestriction.userBlocked.includes("users")?"users":"",this.userLimitReachedAdmins=l.emailsRestriction.userLimitReached.includes("admins")?"admins":"",this.userLimitReachedReadonlyadmins=l.emailsRestriction.userLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.userLimitReachedUsers=l.emailsRestriction.userLimitReached.includes("users")?"users":"",this.deviceDeletedAdmins=l.emailsRestriction.deviceDeleted.includes("admins")?"admins":"",this.deviceDeletedReadonlyadmins=l.emailsRestriction.deviceDeleted.includes("readonlyadmins")?"readonlyadmins":"",this.deviceDeletedUsers=l.emailsRestriction.deviceDeleted.includes("users")?"users":"",this.deviceBlockedAdmins=l.emailsRestriction.deviceBlocked.includes("admins")?"admins":"",this.deviceBlockedReadonlyadmins=l.emailsRestriction.deviceBlocked.includes("readonlyadmins")?"readonlyadmins":"",this.deviceBlockedUsers=l.emailsRestriction.deviceBlocked.includes("users")?"users":"",this.deviceDecoupledAdmins=l.emailsRestriction.deviceDecoupled.includes("admins")?"admins":"",this.deviceDecoupledReadonlyadmins=l.emailsRestriction.deviceDecoupled.includes("readonlyadmins")?"readonlyadmins":"",this.deviceDecoupledUsers=l.emailsRestriction.deviceDecoupled.includes("users")?"users":"",this.deviceLimitReachedAdmins=l.emailsRestriction.deviceLimitReached.includes("admins")?"admins":"",this.deviceLimitReachedReadonlyadmins=l.emailsRestriction.deviceLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.deviceLimitReachedUsers=l.emailsRestriction.deviceLimitReached.includes("users")?"users":"",this.weeklyBkpreportAdmins=l.emailsRestriction.weeklyBkpreport.includes("admins")?"admins":"",this.weeklyBkpreportReadonlyadmins=l.emailsRestriction.weeklyBkpreport.includes("readonlyadmins")?"readonlyadmins":"",this.weeklyBkpreportUsers=l.emailsRestriction.weeklyBkpreport.includes("users")?"users":"",this.firstBkpCompletedAdmins=l.emailsRestriction.firstBkpCompleted.includes("admins")?"admins":"",this.firstBkpCompletedReadonlyadmins=l.emailsRestriction.firstBkpCompleted.includes("readonlyadmins")?"readonlyadmins":"",this.firstBkpCompletedUsers=l.emailsRestriction.firstBkpCompleted.includes("users")?"users":"",this.restoreInitiatedAdmins=l.emailsRestriction.restoreInitiated.includes("admins")?"admins":"",this.restoreInitiatedReadonlyadmins=l.emailsRestriction.restoreInitiated.includes("readonlyadmins")?"readonlyadmins":"",this.restoreInitiatedUsers=l.emailsRestriction.restoreInitiated.includes("users")?"users":"",this.storageLimitReachedAdmins=l.emailsRestriction.storageLimitReached.includes("admins")?"admins":"",this.storageLimitReachedReadonlyadmins=l.emailsRestriction.storageLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.storageLimitReachedUsers=l.emailsRestriction.storageLimitReached.includes("users")?"users":"",this.msAppBluKrypt=l.msAppBluKrypt,this.createLinkEnabled=l.createLinkEnabled,this.threshholdLimitOld=l.threshholdLimit,this.purgeFilesOlderThanOld=l.purgeFilesOlderThan,this.purgeFilesSizeGTThanOld=l.purgeFilesSizeGTThan,this.includethreshholdLimitCheck=l.cpThresHoldFlagEnabled,this.includepurgeFilesOlderThanCheck=l.cpPurgeFilesOlderThanEnabled,this.includepurgeFilesSizeGTThanCheck=l.cpPurgeFilesSizeGTThanFlagEnabled,l.createLinkEnabled&&(this.threshholdLimit=l.threshholdLimit,this.purgeFilesOlderThan=l.purgeFilesOlderThan,this.purgeFilesSizeGTThan=l.purgeFilesSizeGTThan,this.toggleCollapse(0),console.log("hzjvcjhsdvchjsdvchjsvchjvsdj00 : "+l.cpThresHoldFlagEnabled),l.cpThresHoldFlagEnabled==!1&&(console.log("hzjvcjhsdvchjsdvchjsvchjvsdj : "+l.cpThresHoldFlagEnabled),this.threshholdLimit=""),l.cpPurgeFilesOlderThanEnabled==!1&&(this.purgeFilesOlderThan=""),l.cpPurgeFilesSizeGTThanFlagEnabled==!1&&(this.purgeFilesSizeGTThan=""))}updatePreferencesEdit(){this.endpointUiPreferencesEdit.forEach(l=>{this.preferencesEdit[l]=!0}),this.endpointDisabledUiPreferencesEdit.forEach(l=>{this.preferencesEdit[l]=!1})}newFilterEdit(l){console.log("filterName : "+l)}toggleCollapse(l){this.collapses[l]=!this.collapses[l],this.threshholdLimit=this.threshholdLimitOld,this.purgeFilesOlderThan=this.purgeFilesOlderThanOld,this.purgeFilesSizeGTThan=this.purgeFilesSizeGTThanOld}toggleAccordion(l){this.itemVisible=this.itemVisible.map((m,e)=>e===l?!m:!1),this.itemVisible[l]?(this.onAccordionOpen(l),this.createLinkEnabled=!0):this.createLinkEnabled=!1}onAccordionOpen(l){switch(l){case 0:this.handleBackupAccordionOpen();break;default:console.log("Unknown accordion item opened")}}handleBackupAccordionOpen(){console.log("First accordion item opened")}includethreshholdLimitChange(){this.threshholdLimitError="",this.includethreshholdLimitCheck?this.threshholdLimitOld!=""?this.threshholdLimit=this.threshholdLimitOld:this.threshholdLimit="80":this.threshholdLimit="",!this.includethreshholdLimitCheck&&!this.includepurgeFilesOlderThanCheck&&!this.includepurgeFilesSizeGTThanCheck&&this.toastr.error("Please ensure that at least one option is selected.","Info")}checkthreshholdLimit(){let l=Number(this.threshholdLimit);this.threshholdLimitError="",l<1&&(this.threshholdLimitError="This value should be between 1 and 100.")}includepurgeFilesOlderThanChange(){this.purgeFilesOlderThanError="",this.includepurgeFilesOlderThanCheck?this.purgeFilesOlderThanOld!=""?this.purgeFilesOlderThan=this.purgeFilesOlderThanOld:this.purgeFilesOlderThan="365":this.purgeFilesOlderThan="",!this.includethreshholdLimitCheck&&!this.includepurgeFilesOlderThanCheck&&!this.includepurgeFilesSizeGTThanCheck&&this.toastr.error("Please ensure that at least one option is selected.","Info")}checkpurgeFilesOlderThan(){let l=Number(this.purgeFilesOlderThan);this.purgeFilesOlderThanError="",(l<1||l>9131)&&(this.purgeFilesOlderThanError="This value should be between 1 and 9131.")}includepurgeFilesSizeGTThanChange(){this.purgeFilesSizeGTThanError="",this.includepurgeFilesSizeGTThanCheck?this.purgeFilesSizeGTThanOld!=""?this.purgeFilesSizeGTThan=this.purgeFilesSizeGTThanOld:this.purgeFilesSizeGTThan="5":this.purgeFilesSizeGTThan="",!this.includethreshholdLimitCheck&&!this.includepurgeFilesOlderThanCheck&&!this.includepurgeFilesSizeGTThanCheck&&this.toastr.error("Please ensure that at least one option is selected.","Info")}checkpurgeFilesSizeGTThan(){let l=Number(this.purgeFilesSizeGTThan);this.purgeFilesSizeGTThanError="",l<1&&(this.purgeFilesSizeGTThanError="This value should be greater than or equal to 1.")}onScheduleChange(){let l=this.el.nativeElement.querySelector(".mainSchedules"),m=l.querySelector("mat-select");m.classList.remove("redAlert"),l.classList.remove("redAlert"),this.checkedListSchedule.length>0?this.getMultipleSchedules(this.checkedListSchedule.toString()):(this.defaultSchedules=[],m&&(m.classList.add("redAlert"),l.classList.add("redAlert")),this.toastr.error("No schedules selected. Please select at least one schedule.","Info"))}onFilterChange(){let l=this.el.nativeElement.querySelector(".mainFilters"),m=l.querySelector("mat-select");m.classList.remove("redAlert"),l.classList.remove("redAlert"),this.checkedListFilter.length>0?this.getMultipleFilters(this.checkedListFilter.toString()):(this.defaultFilters=[],m&&(m.classList.add("redAlert"),l.classList.add("redAlert")),this.toastr.error("No filters selected. Please select at least one filter.","Info"))}onSearchFilterChange(){let l=this.el.nativeElement.querySelector(".mainSearchFilters"),m=l.querySelector("mat-select");m.classList.remove("redAlert"),l.classList.remove("redAlert"),this.checkedListSearchFilter.length>0?this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()):(this.defaultSearchFilters=[],m&&(m.classList.add("redAlert"),l.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:le.default.tz.guess(),backupType:"INCR",dayArray:[],hostName:this.configService.componentName}}onScheduleDayChange(){this.updateShowDailyLabel()}updateShowDailyLabel(){this.showDaily=this.scheduleDaysList.length===0}toggleSelectAllDays(){this.showDaily?this.scheduleDaysList=[...this.allDays]:this.scheduleDaysList=[],this.updateShowDailyLabel()}validateRequiredFieldsSchedule(){let l=!0,m=this.el.nativeElement.querySelector(".scheduleName");m&&(m.value.trim()?m.classList.remove("redAlert"):(m.classList.add("redAlert"),l=!1));let e=this.el.nativeElement.querySelector(".backupdays"),o=e.querySelector("mat-select");return o&&(this.scheduleDaysList.length<=0?(o.classList.add("redAlert"),e.classList.add("redAlert"),l=!1):(o.classList.remove("redAlert"),e.classList.remove("redAlert"))),l}submitCreateSchedule(l){if(console.log("save called11 : "),!this.validateRequiredFieldsSchedule()){this.toastr.error("Please fill all required fields.","Error");return}if(l.invalid){l.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"),o=this.myTime.getMinutes().toString().padStart(2,"0");this.scheduleModel.time=`${e}:${o}`,this.scheduleModel.dayArray=this.scheduleDaysList,this.apiService.saveSchedule(this.scheduleModel).subscribe(s=>{console.log("Schedule created successfully:",s),this.toastr.success("Schedule created successfully.","Info"),this.checkedListSchedule.push(this.scheduleModel.scheduleName),this.getAllSchedules(),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.closeSchCreateModal()},s=>{switch(s.status){case 400:console.error("Bad Request: ",s.message);break;case 401:console.error("Unauthorized: ",s.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: ",s.message);break;case 503:console.error("Internal Server Error: ",s.message);break;default:console.error("Unknown Error: ",s.message);break}})}getAllSchedules(){this.apiService.getAllSchedules().subscribe(l=>{this.schedules=l.body.scheduleElementList,this.cdr.detectChanges()},l=>{switch(console.error("Error from getAllSchedules: ",l),l.status){case 400:console.error("Bad Request: ",l.message);break;case 401:console.error("Unauthorized: ",l.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",l.message);break;case 404:console.error("Not Found: ",l.message);break;case 500:console.error("Internal Server Error: ",l.message);break;case 503:console.error("Internal Server Error: ",l.message);break;default:console.error("Unknown Error: ",l.message);break}})}closeScheduleConfPopup(){this.displayScheduleConfStyle="none"}closeEditModal(){this.displaySchEditStyle="none"}editSchedule(l){console.log("schedule to edit : "+l),this.scheduleNameToEdit=l,this.displayScheduleConfStyle="block"}getParticularSchedule(){this.displayScheduleConfStyle="none",this.apiService.getParticularSchedule(this.scheduleNameToEdit).subscribe(l=>{var m=JSON.stringify(l.body),e=JSON.parse(m);this.scheduleElement=e.scheduleElement,this.displaySchEditStyle="block";let o=this.scheduleElement.time,[s,n]=o.split(":").map(Number);this.myTime=new Date,this.myTime.setHours(s),this.myTime.setMinutes(n),this.scheduleDaysListEdit=this.scheduleElement.dayArray.map(q=>q.toString()),this.cdr.detectChanges()},l=>{switch(console.error("Error from getParticularSchedule: ",l),l.status){case 400:console.error("Bad Request: ",l.message);break;case 401:console.error("Unauthorized: ",l.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",l.message);break;case 404:console.error("Not Found: ",l.message);break;case 500:console.error("Internal Server Error: ",l.message);break;case 503:console.error("Internal Server Error: ",l.message);break;default:console.error("Unknown Error: ",l.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 l=!0,m=this.el.nativeElement.querySelector(".scheduleNameEdit");m&&(m.value.trim()?m.classList.remove("redAlert"):(m.classList.add("redAlert"),l=!1));let e=this.el.nativeElement.querySelector(".backupdaysEdit"),o=e.querySelector("mat-select");return o&&(this.scheduleDaysListEdit.length<=0?(o.classList.add("redAlert"),e.classList.add("redAlert"),l=!1):(o.classList.remove("redAlert"),e.classList.remove("redAlert"))),l}submitEditSchedule(l){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"),o=this.myTime.getMinutes().toString().padStart(2,"0");this.scheduleEditModel.time=`${e}:${o}`,this.scheduleEditModel.scheduleName=this.scheduleNameToEdit,this.scheduleEditModel.dayArray=this.scheduleDaysListEdit,this.apiService.editSchedule(this.scheduleEditModel).subscribe(s=>{console.log("Schedule updated successfully:",s),this.closeEditModal(),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.toastr.success("Schedule updated successfully.","Info")},s=>{switch(s.status){case 400:console.error("Bad Request: ",s.message);break;case 401:console.error("Unauthorized: ",s.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: ",s.message);break;case 503:console.error("Internal Server Error: ",s.message);break;default:console.error("Unknown Error: ",s.message);break}})}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 l=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionCreate=l,this.showExtensions(),this.cannedFiltersCreate=l.concat(this.userDefinedExtensionsCreate)}else this.cannedFiltersCreate=this.userDefinedExtensionsCreate,this.checkedListExtensionCreate=[]}showExtensions(){this.extensionsVisible=!0}validateFilterName(){let l=/^[a-zA-Z0-9@._-]{3,}$/;this.invalidFilterName=!!this.filterModel.filterName&&!l.test(this.filterModel.filterName)}isFilterNameValid(l){let m=/^[a-zA-Z0-9@._-]{3,}$/;return new RegExp(m).test(l)}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(l=>{this.checkedListFilter.push(this.filterModel.filterName),this.getMultipleFilters(this.checkedListFilter.toString()),this.closeCreateFilterModal(),this.toastr.success("Filter created successfully.","Info"),this.getAllFilters()},l=>{switch(l.status){case 400:console.error("Bad Request: ",l.message);break;case 401:console.error("Unauthorized: ",l.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: ",l.message);break;case 503:console.error("Internal Server Error: ",l.message);break;default:console.error("Unknown Error: ",l.message);break}})}getAllFilters(){this.apiService.getAllFilters().subscribe(l=>{var m=JSON.stringify(l.body),e=JSON.parse(m);this.filters=e.inclusionFilterElementList,this.cdr.detectChanges(),this.getAllCannedFilters()},l=>{switch(console.error("Error from getAllFilters: ",l),l.status){case 400:console.error("Bad Request: ",l.message);break;case 401:console.error("Unauthorized: ",l.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",l.message);break;case 404:console.error("Not Found: ",l.message);break;case 500:console.error("Internal Server Error: ",l.message);break;case 503:console.error("Internal Server Error: ",l.message);break;default:console.error("Unknown Error: ",l.message);break}})}getAllCannedFilters(){this.apiService.getAllCannedFilters().subscribe(l=>{var m=JSON.stringify(l.body),e=JSON.parse(m);this.cannedFiltersTemplateCreate=e.filterTemplateElementList.map(o=>B(A({},o),{status:!1})),this.cannedFiltersTemplateCreate.sort((o,s)=>o.filterName.localeCompare(s.filterName)),this.cannedFiltersTemplateEdit=e.filterTemplateElementList.map(o=>B(A({},o),{status:!1})),this.cannedFiltersTemplateEdit.sort((o,s)=>o.filterName.localeCompare(s.filterName)),this.cdr.detectChanges()},l=>{switch(console.error("Error from getAllCannedFilters: ",l),l.status){case 400:console.error("Bad Request: ",l.message);break;case 401:console.error("Unauthorized: ",l.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",l.message);break;case 404:console.error("Not Found: ",l.message);break;case 500:console.error("Internal Server Error: ",l.message);break;case 503:console.error("Internal Server Error: ",l.message);break;default:console.error("Unknown Error: ",l.message);break}})}editFilter(l){this.filterToEdit=l,this.displayFilterConfStyle="block"}closeConfFilterPopup(){this.filterToEdit="",this.displayFilterConfStyle="none"}closeEditFilterModal(){this.displayFilterEditStyle="none"}getFilter(){this.displayFilterConfStyle="none",this.apiService.getFilter(this.filterToEdit).subscribe(l=>{var m=JSON.stringify(l.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()},l=>{switch(console.error("Error from getFilter: ",l),l.status){case 400:console.error("Bad Request: ",l.message);break;case 401:console.error("Unauthorized: ",l.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",l.message);break;case 404:console.error("Not Found: ",l.message);break;case 500:console.error("Internal Server Error: ",l.message);break;case 503:console.error("Internal Server Error: ",l.message);break;default:console.error("Unknown Error: ",l.message);break}})}onFilterChangeEdit(){if(this.checkedList.length>0){let l=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionEdit=l,this.showExtensions(),l.some(m=>this.userDefinedExtensionsEdit.includes(m))||(this.cannedFilters=l.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(l=>{console.log("Filter updated successfully:",l),this.closeEditFilterModal(),this.toastr.success("Filter updated successfully.","Info"),this.getMultipleFilters(this.checkedListFilter.toString())},l=>{switch(l.status){case 400:console.error("Bad Request: ",l.message);break;case 401:console.error("Unauthorized: ",l.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: ",l.message);break;case 503:console.error("Internal Server Error: ",l.message);break;default:console.error("Unknown Error: ",l.message);break}})}removeExtension(l){var m=this.checkedListExtensionEdit.indexOf(l);this.checkedListExtensionEdit.splice(m,1),this.userDefinedExtensionsEdit.splice(m,1);var e=this.cannedFilters.indexOf(l);this.cannedFilters.splice(e,1)}removeExtensionCreate(l){var m=this.checkedListExtension.indexOf(l);this.checkedListExtension.splice(m,1);var e=this.cannedFiltersCreate.indexOf(l);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())}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 l=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionEdit=l,this.showExtensions(),l.some(m=>this.userDefinedExtensionsEdit.includes(m))||(this.cannedFilters=l.concat(this.userDefinedExtensionsEdit))}else this.cannedFilters=this.userDefinedExtensionsEdit,this.checkedListExtensionEdit=[];this.matSelectBlukryptHost.close()}static{this.\u0275fac=function(m){return new(m||p)(M(pe),M($),M(ye),M(_t),M(ee),M(ct),M(te),M(he),M(Ee),M(mt),M(ae),M(we),M(ht),M(Ct),M(pt))}}static{this.\u0275cmp=ce({type:p,selectors:[["ng-component"]],viewQuery:function(m,e){if(m&1&&(z(Ft,5),z(kt,5),z(Lt,5),z(Dt,5),z(Pt,5)),m&2){let o;G(o=K())&&(e.matSelectEdit=o.first),G(o=K())&&(e.matSelectCreate=o.first),G(o=K())&&(e.matSelectCreateFilter=o.first),G(o=K())&&(e.matSelectEditFilter=o.first),G(o=K())&&(e.matSelectBlukryptHost=o.first)}},inputs:{schedules:"schedules",pgs:"pgs"},outputs:{shareCheckedList:"shareCheckedList",shareIndividualCheckedList:"shareIndividualCheckedList",shareCheckedListFilter:"shareCheckedListFilter",shareIndividualCheckedListFilter:"shareIndividualCheckedListFilter",shareCheckedListSearchFilter:"shareCheckedListSearchFilter",shareIndividualCheckedListSearchFilter:"shareIndividualCheckedListSearchFilter",shareCheckedListPg:"shareCheckedListPg",shareIndividualCheckedListPg:"shareIndividualCheckedListPg"},features:[me([$,ee,te])],decls:1411,vars:320,consts:[["myForm","ngForm"],["policyNameInput","ngModel"],["tabContent1","cTabContent"],["myScheduleForm","ngForm"],["scheduleNameInput","ngModel"],["matSelectCreate",""],["myScheduleEditForm","ngForm"],["matSelectEdit",""],["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"],["cRounded","bottom",3,"activeTabPaneIdx"],[1,"p-3","preview"],[1,"h4",2,"color","#585f69"],["for","schedules"],[1,"clickAble",2,"cursor","pointer","font-size","small","font-weight","600",3,"click"],["appearance","fill",1,"mainSchedules",2,"width","100%"],["multiple","","placeholder","Select Schedules",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],[3,"value",4,"ngFor","ngForOf"],[1,"col-lg-5"],["class","row",4,"ngIf"],["for","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"],[1,"form-group","d-none"],[1,"row",2,"margin-left","0px"],[1,"col-lg-2",2,"padding-left","0%"],["cFormCheckInput","","id","switchpurgeDeletedFilesOlderThan","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","purgeDeletedFilesOlderThan","id","purgeDeletedFilesOlderThan","autocomptocomplete","off","value","UNLIMITED",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","deletedFilesError",2,"color","#f55753","font-size","0.9em"],["for","msAppBluKrypt"],["cSelect","","name","msAppBluKrypt","id","msAppBluKrypt","title","Select Backup Agent",1,"form-control","msAppBluKrypt",3,"ngModelChange","ngModel"],[1,"row",2,"margin-bottom","10px",3,"ngStyle"],[1,"row","col-lg-12",2,"border","1px solid lightgray","border-radius","10px"],[1,"h4","col-lg-11",2,"color","#585f69","padding","5px"],[1,"col-lg-1",3,"switch"],["cFormCheckInput","","id","createLinkEnabled","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["cCollapse","",1,"row",3,"visible"],[1,"shadow","mb-4"],["for","threshholdLimit"],[1,"checkbox","check-primary",2,"display","inline","float","right"],["id","includethreshholdLimit","name","includethreshholdLimit","type","checkbox","value","enabled","checked","",3,"ngModelChange","change","ngModel"],["for","includethreshholdLimit",2,"margin-left","5px"],["type","number","id","threshholdLimit","name","threshholdLimit","min","1","max","100","value","80",1,"form-control","input-small",3,"ngModelChange","input","ngModel","disabled"],["id","threshholdLimitError",2,"color","#f55753","font-size","0.9em"],[1,"text-center"],["for","purgeFilesOlderThan"],["id","includepurgeFilesOlderThan","name","includepurgeFilesOlderThan","type","checkbox","value","enabled","checked","",3,"ngModelChange","change","ngModel"],["for","includepurgeFilesOlderThan",2,"margin-left","5px"],["type","number","id","purgeFilesOlderThan","name","purgeFilesOlderThan","min","1","value","90","max","9131",1,"form-control","input-small",3,"ngModelChange","input","ngModel","disabled"],["id","purgeFilesOlderThanError",2,"color","#f55753","font-size","0.9em"],["for","purgeFilesSizeGTThan"],["id","includepurgeFilesSizeGTThan","name","includepurgeFilesSizeGTThan","type","checkbox","value","enabled","checked","",3,"ngModelChange","change","ngModel"],["for","includepurgeFilesSizeGTThan",2,"margin-left","5px"],["type","number","id","purgeFilesSizeGTThan","name","purgeFilesSizeGTThan","min","1","value","5",1,"form-control","input-small",3,"ngModelChange","input","ngModel","disabled"],["id","purgeFilesSizeGTThanError",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"],["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"],["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,"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,"panel-body",2,"overflow-y","scroll","height","150px"],["cTooltip","File extensions that you wish to include or exclude.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["aria-hidden","true",1,"fa","fa-question-circle"],["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"],["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","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"],[1,"row","d-none"],["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"],["value","true","selected",""],["value","false"],["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"],["value","true"],["value","false","selected",""],["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"],[1,"form-group","hide"],["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"],[1,"checkbox","check-primary"],["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"],[2,"margin-top","5px"],["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"],[1,"form-group","col-lg-12","d-none"],["for","cpuThrottling"],[1,"slidecontainer"],["type","range","min","1","max","10","name","cpuThrottling","id","myRange",1,"slidercpu",3,"ngModelChange","input","ngModel"],["id","demo"],["for","nwFromPGToCloud"],["type","text","name","nwFromPGToCloud","id","nwFromPGToCloud","placeholder","Enter nwFromPGToCloud","required","","autocomplete","off","value","4","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","10",1,"form-control"],["for","filesCrawlLimit"],["type","text","name","filesCrawlLimit","id","filesCrawlLimit","placeholder","Enter filesCrawlLimit","required","","autocomplete","off","value","500","data-parsley-type","integer","data-parsley-min","1",1,"form-control"],["for","networkThrottling"],["cSelect","","name","networkThrottling","id","networkThrottling","required","","title","Select networkThrottling",1,"form-control","networkThrottling"],[1,"col-lg-5","d-none"],[1,"row","partialfileattributerow"],[1,"panel","panel-default",2,"margin-top","30px"],["for","partialFileSize"],["type","text","name","partialFileSize","id","partialFileSize","placeholder","Enter partialFileSize","required","","autocomplete","off","value","9","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","<?=MAX_ENABLE_PARTIAL_FILE_TRANSFER?>",1,"form-control"],["for","fileChunkableSize"],["type","text","name","fileChunkableSize","id","fileChunkableSize","placeholder","Enter fileChunkableSize","required","","autocomplete","off","value","8","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","<?=MAX_PARTIAL_FILE_TRANSFER_CHUNK_SIZE?>",1,"form-control"],[1,"col-lg-1"],["cFormCheckInput","","id","legalHold","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],[1,"col-lg-11"],[1,"systemFolders",2,"display","none"],["id","systemFolders","name","systemFolders","type","checkbox","value","enabled"],["for","systemFolders"],[1,"col-lg-6","row","d-none"],[1,"col-lg-2","rwDetectionEnabledBlock"],["cFormCheckInput","","id","rwDetectionEnabled","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],["for","webBasedLogin"],["cSelect","","name","webBasedLogin","id","webBasedLogin","required","","title","Select Web Based Login",1,"form-control","webBasedLogin",3,"ngModelChange","ngModel"],["cFormCheckInput","","id","switchnoOfDaysToKeepUserDeviceNotActive","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","noOfDaysToKeepUserDeviceNotActive","id","noOfDaysToKeepUserDeviceNotActive","autocomptocomplete","off","value","UNLIMITED",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],[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"],["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"],["class","form-group",4,"ngIf"],["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","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","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"],["for","canAdminChangeUserPassword"],["cSelect","","name","canAdminChangeUserPassword","id","canAdminChangeUserPassword","required","","title","Select Allow Admin To Change User Password",1,"form-control","canAdminChangeUserPassword",3,"ngModelChange","ngModel","ngClass"],[1,"bs-callout","bs-callout-primary",2,"padding-top","10px","padding-bottom","1px"],[1,"btn","btn-primary","pull-right",3,"click"],[1,"btn","btn-default","pull-right",2,"margin-right","10px",3,"click"],[1,"main"],["id","confirmAdd","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["role","document",1,"modal-dialog"],["ng-submit","addDefaultFolderConfirm(defaultFoldersBackup)",1,""],[1,"modal-content","smallModal"],[1,"modal-header"],["id","myModalLabel",1,"modal-title"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],["aria-hidden","true"],[1,"modal-body"],[1,"modal-footer"],["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-content"],[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","scheduleName",3,"ngModelChange","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"],[3,"value"],["type","button",1,"btn","btn-link",3,"click"],["type","button",1,"btn","btn-default",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","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"],["appearance","fill",2,"width","100%"],["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"],["type","submit",1,"btn","btn-primary",3,"click"],["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"],[3,"href"],[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,"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,"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"],["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"],["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 o=D();t(0,"div",11)(1,"div",12)(2,"div",13)(3,"ol",14),y(4,At,4,1,"li",15)(5,Bt,3,2,"li",15)(6,Ot,3,1,"li",15),i()()()(),t(7,"c-row")(8,"form",16,0),h("ngSubmit",function(){d(o);let n=P(9);return c(e.submitEditPolicy(n))}),t(10,"c-col",17)(11,"c-card",18)(12,"c-card-header"),r(13,`
          `),r(14,`
          `),t(15,"div",19),r(16,`
            `),t(17,"div",20),r(18,`
                `),t(19,"div",21),r(20,`
                    `),t(21,"label",22),r(22,"Policy Name"),i(),r(23,`
                    `),t(24,"input",23,1),_("ngModelChange",function(n){return d(o),f(e.policygroupName,n)||(e.policygroupName=n),c(n)}),i(),r(26,`
                    `),y(27,Nt,8,3,"div",24),r(28,`
                `),i(),r(29,`
                `),r(30,`
                `),t(31,"div",18),r(32,`
                    `),t(33,"label",25),r(34,"Description"),i(),r(35,`
                    `),t(36,"textarea",26),_("ngModelChange",function(n){return d(o),f(e.description,n)||(e.description=n),c(n)}),h("input",function(){return d(o),c(e.validateDescription())}),i(),r(37,`
                    `),y(38,Rt,2,0,"small",27),r(39,`
                    `),y(40,Wt,2,0,"small",27),r(41,`
                `),i(),r(42,`
                `),t(43,"div",28),r(44,`
                    `),t(45,"label",29),r(46,"Maximum Backup Size(GB)"),i(),r(47,`
                    `),t(48,"input",30),_("ngModelChange",function(n){return d(o),f(e.policyStorageSizeAllowed,n)||(e.policyStorageSizeAllowed=n),c(n)}),i(),r(49,`
                    `),t(50,"label",31),r(51,"Number of Users Allowed"),i(),r(52,`
                    `),t(53,"input",32),_("ngModelChange",function(n){return d(o),f(e.policyUsersAllowed,n)||(e.policyUsersAllowed=n),c(n)}),i(),r(54,`
                `),i(),r(55,`
            `),i(),r(56,`
        `),i(),r(57,`
        `),i(),t(58,"c-card-body")(59,"c-nav",33)(60,"c-nav-item")(61,"button",34),r(62," General "),i()(),t(63,"c-nav-item")(64,"button",34),r(65," Email Alert Configurations "),i()(),t(66,"c-nav-item")(67,"button",34),r(68," User action preferences "),i()(),y(69,zt,3,2,"c-nav-item",15),t(70,"c-nav-item")(71,"button",34),r(72," Advanced "),i()()(),t(73,"c-tab-content",35,2)(75,"c-tab-pane",36)(76,"div",12)(77,"div",20),S(78,"br"),t(79,"legend",37),r(80,"Backup Information"),i(),t(81,"div",21)(82,"label",38),r(83,"Schedules - "),t(84,"a",39),h("click",function(){return d(o),c(e.addNewSchedule())}),r(85,"Create New Schedule"),i()(),t(86,"mat-form-field",40)(87,"mat-select",41),_("ngModelChange",function(n){return d(o),f(e.checkedListSchedule,n)||(e.checkedListSchedule=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onScheduleChange())}),y(88,Gt,2,2,"mat-option",42),i()()()(),t(89,"div",43),S(90,"br")(91,"br"),y(92,qt,13,0,"div",44),i(),t(93,"div",20)(94,"div",21)(95,"label",45),r(96,"Maximum number of Versions Allowed"),i(),t(97,"div",12)(98,"div",46)(99,"c-form-check",47)(100,"input",48),_("ngModelChange",function(n){return d(o),f(e.isVersionEnabled,n)||(e.isVersionEnabled=n),c(n)}),h("change",function(){return d(o),c(e.toggleVersion())}),i()()(),t(101,"div",49)(102,"input",50),_("ngModelChange",function(n){return d(o),f(e.versions,n)||(e.versions=n),c(n)}),h("blur",function(){return d(o),c(e.myFunctionVer())}),i(),t(103,"span",51),r(104),i()()()(),t(105,"div",21)(106,"label",52),r(107,"Maximum Permissible File Size (In MB)"),i(),t(108,"div",12)(109,"div",46)(110,"c-form-check",47)(111,"input",53),_("ngModelChange",function(n){return d(o),f(e.isSizeEnabled,n)||(e.isSizeEnabled=n),c(n)}),h("change",function(){return d(o),c(e.toggleSize())}),i()()(),t(112,"div",49)(113,"input",54),_("ngModelChange",function(n){return d(o),f(e.maxPermissibleFileSize,n)||(e.maxPermissibleFileSize=n),c(n)}),h("blur",function(){return d(o),c(e.myFunctionMPS())}),i(),t(114,"span",55),r(115),i()()()(),t(116,"div",21)(117,"label",56),r(118,"Per Asset Backup Storage Limit (In GB)"),i(),t(119,"div",12)(120,"div",46)(121,"c-form-check",47)(122,"input",57),_("ngModelChange",function(n){return d(o),f(e.isLimitEnabled,n)||(e.isLimitEnabled=n),c(n)}),h("change",function(){return d(o),c(e.toggleLimit())}),i()()(),t(123,"div",49)(124,"input",58),_("ngModelChange",function(n){return d(o),f(e.perUserBackupStorageLimit,n)||(e.perUserBackupStorageLimit=n),c(n)}),h("blur",function(){return d(o),c(e.myFunctionUBS())}),i(),t(125,"span",59),r(126),i()()()(),t(127,"div",60)(128,"span",12)(129,"p"),r(130,"Purge deleted files from the catalog after"),i()(),t(131,"div",61)(132,"div",62)(133,"c-form-check",47)(134,"input",63),_("ngModelChange",function(n){return d(o),f(e.switchpurgeDeletedFilesOlderThan,n)||(e.switchpurgeDeletedFilesOlderThan=n),c(n)}),h("change",function(){return d(o),c(e.togglePurgeDeletedFilesOlderThan())}),i()()(),t(135,"div",13)(136,"input",64),_("ngModelChange",function(n){return d(o),f(e.purgeDeletedFilesOlderThan,n)||(e.purgeDeletedFilesOlderThan=n),c(n)}),h("blur",function(){return d(o),c(e.myFunctionpurgeDeletedFilesOlderThan())}),i(),t(137,"span",65),r(138),i()(),t(139,"div",46),r(140," days "),i()()(),t(141,"div",21)(142,"label",66),r(143,"M365 Backup Agent"),i(),t(144,"select",67),_("ngModelChange",function(n){return d(o),f(e.msAppBluKrypt,n)||(e.msAppBluKrypt=n),c(n)}),y(145,Ht,2,2,"option",42),i()()()(),t(146,"div",68)(147,"div",20)(148,"div",69)(149,"legend",70),r(150),i(),t(151,"c-form-check",71)(152,"input",72),_("ngModelChange",function(n){return d(o),f(e.createLinkEnabled,n)||(e.createLinkEnabled=n),c(n)}),h("change",function(){return d(o),c(e.toggleCollapse(0))}),i()()(),t(153,"div",73)(154,"c-card",74)(155,"c-card-body")(156,"div",21)(157,"label",75),r(158),i(),t(159,"div",76)(160,"input",77),_("ngModelChange",function(n){return d(o),f(e.includethreshholdLimitCheck,n)||(e.includethreshholdLimitCheck=n),c(n)}),h("change",function(){return d(o),c(e.includethreshholdLimitChange())}),i(),t(161,"label",78),r(162,"Include Site consumption limit"),i()(),t(163,"input",79),_("ngModelChange",function(n){return d(o),f(e.threshholdLimit,n)||(e.threshholdLimit=n),c(n)}),h("input",function(){return d(o),c(e.checkthreshholdLimit())}),i(),t(164,"span",80),r(165),i()(),t(166,"div",81)(167,"span"),r(168,"AND"),i()(),t(169,"div",21)(170,"label",82),r(171,"Files have not been modified in (days)"),i(),t(172,"div",76)(173,"input",83),_("ngModelChange",function(n){return d(o),f(e.includepurgeFilesOlderThanCheck,n)||(e.includepurgeFilesOlderThanCheck=n),c(n)}),h("change",function(){return d(o),c(e.includepurgeFilesOlderThanChange())}),i(),t(174,"label",84),r(175,"Include days"),i()(),t(176,"input",85),_("ngModelChange",function(n){return d(o),f(e.purgeFilesOlderThan,n)||(e.purgeFilesOlderThan=n),c(n)}),h("input",function(){return d(o),c(e.checkpurgeFilesOlderThan())}),i(),t(177,"span",86),r(178),i()(),t(179,"div",81)(180,"span"),r(181,"AND"),i()(),t(182,"div",21)(183,"label",87),r(184,"Files are of size greater than (MB)"),i(),t(185,"div",76)(186,"input",88),_("ngModelChange",function(n){return d(o),f(e.includepurgeFilesSizeGTThanCheck,n)||(e.includepurgeFilesSizeGTThanCheck=n),c(n)}),h("change",function(){return d(o),c(e.includepurgeFilesSizeGTThanChange())}),i(),t(187,"label",89),r(188,"Include size"),i()(),t(189,"input",90),_("ngModelChange",function(n){return d(o),f(e.purgeFilesSizeGTThan,n)||(e.purgeFilesSizeGTThan=n),c(n)}),h("input",function(){return d(o),c(e.checkpurgeFilesSizeGTThan())}),i(),t(190,"span",91),r(191),i()()()()()()(),t(192,"div",12)(193,"div",20)(194,"legend",37),r(195,"Asset Information"),i(),t(196,"div",60)(197,"label",92),r(198,"Maximum Assets Allowed"),i(),t(199,"input",93),_("ngModelChange",function(n){return d(o),f(e.noOfDevicesAllowed,n)||(e.noOfDevicesAllowed=n),c(n)}),h("blur",function(){return d(o),c(e.myFunctionDevice())}),i(),t(200,"span",94),r(201),i()(),t(202,"div",60)(203,"label",95),r(204,"Operating System Type"),i(),t(205,"select",96),_("ngModelChange",function(n){return d(o),f(e.osType,n)||(e.osType=n),c(n)}),t(206,"option",97),r(207,"Universal"),i()()(),t(208,"div",21)(209,"label",98),r(210,"Default Folders to Backup"),i(),t(211,"c-input-group",18)(212,"input",99),_("ngModelChange",function(n){return d(o),f(e.defaultFoldersBackup,n)||(e.defaultFoldersBackup=n),c(n)}),h("keyup.enter",function(){return d(o),c(e.addDefaultFolder())}),i(),t(213,"button",100),h("click",function(){return d(o),c(e.addDefaultFolder())}),r(214,"Add"),i()()(),t(215,"div",21)(216,"label",101),r(217,"Exclusion Folder Name"),i(),t(218,"c-input-group",18)(219,"input",102),_("ngModelChange",function(n){return d(o),f(e.exclusionFolderName,n)||(e.exclusionFolderName=n),c(n)}),h("keyup.enter",function(){return d(o),c(e.addExclusionFolder())}),i(),t(220,"button",103),h("click",function(){return d(o),c(e.addExclusionFolder())}),r(221,"Add"),i()()(),S(222,"div"),i(),t(223,"div",43),S(224,"br")(225,"br"),t(226,"div",12)(227,"div",104)(228,"div",105)(229,"div",106)(230,"div",107)(231,"h5"),S(232,"i",108),r(233," Default Folders"),i()(),t(234,"div",109)(235,"div",110)(236,"div"),y(237,Yt,3,0,"ul",111)(238,Jt,2,0,"span",15),i()()()(),t(239,"div",106)(240,"div",107)(241,"h5"),S(242,"i",108),r(243," Excluded Folders"),i()(),t(244,"div",112)(245,"div",110)(246,"div"),y(247,Xt,3,0,"ul",111)(248,Zt,2,0,"span",15),i()()()()()()()()(),t(249,"div",12)(250,"div",20)(251,"legend",37),r(252,"Filters "),t(253,"a",113),S(254,"i",114),i()(),t(255,"div",21)(256,"label",115),r(257,"Filters - "),t(258,"a",39),h("click",function(){return d(o),c(e.addNewFilter())}),r(259,"Create New Filter"),i()(),S(260,"br"),t(261,"label",115),r(262,"Filter type"),i(),t(263,"select",116),_("ngModelChange",function(n){return d(o),f(e.filterType,n)||(e.filterType=n),c(n)}),h("change",function(n){return d(o),c(e.onSelectChangeFilterType(n))}),t(264,"option",117),r(265,"Inclusion"),i(),t(266,"option",118),r(267,"Exclusion"),i()(),t(268,"div",119),y(269,$t,3,0,"h5",120)(270,ei,3,0,"h5",121),t(271,"mat-form-field",122)(272,"mat-select",123),_("ngModelChange",function(n){return d(o),f(e.checkedListFilter,n)||(e.checkedListFilter=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onFilterChange())}),y(273,ti,2,2,"mat-option",42),i()()()()(),t(274,"div",43),S(275,"br")(276,"br"),y(277,ni,13,0,"div",124),i()()(),t(278,"c-tab-pane",36)(279,"div",12)(280,"div",104)(281,"legend",37),r(282,"Email Alert Configurations"),i()(),t(283,"div",125)(284,"div",21)(285,"select",126),_("ngModelChange",function(n){return d(o),f(e.createUserAdmins,n)||(e.createUserAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(286,"option",127),r(287,"Enabled"),i(),t(288,"option",128),r(289,"Disabled"),i()()()(),t(290,"div",125)(291,"div",21)(292,"select",129),_("ngModelChange",function(n){return d(o),f(e.createUserReadonlyadmins,n)||(e.createUserReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(293,"option",130),r(294,"Enabled"),i(),t(295,"option",128),r(296,"Disabled"),i()()()(),t(297,"div",13)(298,"div",21)(299,"label"),r(300,"User Created"),i(),t(301,"select",131),_("ngModelChange",function(n){return d(o),f(e.createUserUsers,n)||(e.createUserUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(302,"option",132),r(303,"Enabled"),i(),t(304,"option",133),r(305,"Disabled"),i()()()(),t(306,"div",125)(307,"div",21)(308,"select",134),_("ngModelChange",function(n){return d(o),f(e.userDeletedAdmins,n)||(e.userDeletedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(309,"option",127),r(310,"Enabled"),i(),t(311,"option",128),r(312,"Disabled"),i()()()(),t(313,"div",125)(314,"div",21)(315,"select",135),_("ngModelChange",function(n){return d(o),f(e.userDeletedReadonlyadmins,n)||(e.userDeletedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(316,"option",130),r(317,"Enabled"),i(),t(318,"option",128),r(319,"Disabled"),i()()()(),t(320,"div",13)(321,"div",21)(322,"label"),r(323,"User Deleted"),i(),t(324,"select",136),_("ngModelChange",function(n){return d(o),f(e.userDeletedUsers,n)||(e.userDeletedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(325,"option",132),r(326,"Enabled"),i(),t(327,"option",133),r(328,"Disabled"),i()()()(),t(329,"div",125)(330,"div",21)(331,"select",137),_("ngModelChange",function(n){return d(o),f(e.userBlockedAdmins,n)||(e.userBlockedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(332,"option",127),r(333,"Enabled"),i(),t(334,"option",128),r(335,"Disabled"),i()()()(),t(336,"div",125)(337,"div",21)(338,"select",138),_("ngModelChange",function(n){return d(o),f(e.userBlockedReadonlyadmins,n)||(e.userBlockedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(339,"option",130),r(340,"Enabled"),i(),t(341,"option",128),r(342,"Disabled"),i()()()(),t(343,"div",13)(344,"div",21)(345,"label"),r(346,"User Blocked"),i(),t(347,"select",139),_("ngModelChange",function(n){return d(o),f(e.userBlockedUsers,n)||(e.userBlockedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(348,"option",132),r(349,"Enabled"),i(),t(350,"option",133),r(351,"Disabled"),i()()()(),t(352,"div",125)(353,"div",21)(354,"select",140),_("ngModelChange",function(n){return d(o),f(e.userLimitReachedAdmins,n)||(e.userLimitReachedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(355,"option",127),r(356,"Enabled"),i(),t(357,"option",128),r(358,"Disabled"),i()()()(),t(359,"div",125)(360,"div",21)(361,"select",141),_("ngModelChange",function(n){return d(o),f(e.userLimitReachedReadonlyadmins,n)||(e.userLimitReachedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(362,"option",130),r(363,"Enabled"),i(),t(364,"option",128),r(365,"Disabled"),i()()()(),t(366,"div",125)(367,"div",21)(368,"label"),r(369,"User Limit Reached"),i(),t(370,"select",142),_("ngModelChange",function(n){return d(o),f(e.userLimitReachedUsers,n)||(e.userLimitReachedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(371,"option",132),r(372,"Enabled"),i(),t(373,"option",133),r(374,"Disabled"),i()()()(),t(375,"div",125)(376,"div",21)(377,"select",143),_("ngModelChange",function(n){return d(o),f(e.deviceDeletedAdmins,n)||(e.deviceDeletedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(378,"option",127),r(379,"Enabled"),i(),t(380,"option",128),r(381,"Disabled"),i()()()(),t(382,"div",125)(383,"div",21)(384,"select",144),_("ngModelChange",function(n){return d(o),f(e.deviceDeletedReadonlyadmins,n)||(e.deviceDeletedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(385,"option",130),r(386,"Enabled"),i(),t(387,"option",128),r(388,"Disabled"),i()()()(),t(389,"div",13)(390,"div",21)(391,"label"),r(392,"Asset Deleted"),i(),t(393,"select",145),_("ngModelChange",function(n){return d(o),f(e.deviceDeletedUsers,n)||(e.deviceDeletedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(394,"option",132),r(395,"Enabled"),i(),t(396,"option",133),r(397,"Disabled"),i()()()(),t(398,"div",125)(399,"div",21)(400,"select",146),_("ngModelChange",function(n){return d(o),f(e.deviceBlockedAdmins,n)||(e.deviceBlockedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(401,"option",127),r(402,"Enabled"),i(),t(403,"option",128),r(404,"Disabled"),i()()()(),t(405,"div",125)(406,"div",21)(407,"select",147),_("ngModelChange",function(n){return d(o),f(e.deviceBlockedReadonlyadmins,n)||(e.deviceBlockedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(408,"option",130),r(409,"Enabled"),i(),t(410,"option",128),r(411,"Disabled"),i()()()(),t(412,"div",13)(413,"div",21)(414,"label"),r(415,"Asset Blocked"),i(),t(416,"select",148),_("ngModelChange",function(n){return d(o),f(e.deviceBlockedUsers,n)||(e.deviceBlockedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(417,"option",132),r(418,"Enabled"),i(),t(419,"option",133),r(420,"Disabled"),i()()()(),t(421,"div",125)(422,"div",21)(423,"select",149),_("ngModelChange",function(n){return d(o),f(e.deviceDecoupledAdmins,n)||(e.deviceDecoupledAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(424,"option",127),r(425,"Enabled"),i(),t(426,"option",128),r(427,"Disabled"),i()()()(),t(428,"div",125)(429,"div",21)(430,"select",150),_("ngModelChange",function(n){return d(o),f(e.deviceDecoupledReadonlyadmins,n)||(e.deviceDecoupledReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(431,"option",130),r(432,"Enabled"),i(),t(433,"option",128),r(434,"Disabled"),i()()()(),t(435,"div",125)(436,"div",21)(437,"label"),r(438,"Asset de-couple"),i(),t(439,"select",151),_("ngModelChange",function(n){return d(o),f(e.deviceDecoupledUsers,n)||(e.deviceDecoupledUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(440,"option",132),r(441,"Enabled"),i(),t(442,"option",133),r(443,"Disabled"),i()()()(),t(444,"div",125)(445,"div",21)(446,"select",152),_("ngModelChange",function(n){return d(o),f(e.deviceLimitReachedAdmins,n)||(e.deviceLimitReachedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(447,"option",127),r(448,"Enabled"),i(),t(449,"option",128),r(450,"Disabled"),i()()()(),t(451,"div",125)(452,"div",21)(453,"select",153),_("ngModelChange",function(n){return d(o),f(e.deviceLimitReachedReadonlyadmins,n)||(e.deviceLimitReachedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(454,"option",130),r(455,"Enabled"),i(),t(456,"option",128),r(457,"Disabled"),i()()()(),t(458,"div",125)(459,"div",21)(460,"label"),r(461,"Asset Limit Reached"),i(),t(462,"select",154),_("ngModelChange",function(n){return d(o),f(e.deviceLimitReachedUsers,n)||(e.deviceLimitReachedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(463,"option",132),r(464,"Enabled"),i(),t(465,"option",133),r(466,"Disabled"),i()()()(),t(467,"div",125)(468,"div",21)(469,"select",155),_("ngModelChange",function(n){return d(o),f(e.weeklyBkpreportAdmins,n)||(e.weeklyBkpreportAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(470,"option",127),r(471,"Enabled"),i(),t(472,"option",128),r(473,"Disabled"),i()()()(),t(474,"div",125)(475,"div",21)(476,"select",156),_("ngModelChange",function(n){return d(o),f(e.weeklyBkpreportReadonlyadmins,n)||(e.weeklyBkpreportReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(477,"option",130),r(478,"Enabled"),i(),t(479,"option",128),r(480,"Disabled"),i()()()(),t(481,"div",13)(482,"div",21)(483,"label"),r(484,"Weekly backup report"),i(),t(485,"select",157),_("ngModelChange",function(n){return d(o),f(e.weeklyBkpreportUsers,n)||(e.weeklyBkpreportUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(486,"option",132),r(487,"Enabled"),i(),t(488,"option",133),r(489,"Disabled"),i()()()(),t(490,"div",125)(491,"div",21)(492,"select",158),_("ngModelChange",function(n){return d(o),f(e.firstBkpCompletedAdmins,n)||(e.firstBkpCompletedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(493,"option",127),r(494,"Enabled"),i(),t(495,"option",128),r(496,"Disabled"),i()()()(),t(497,"div",125)(498,"div",21)(499,"select",159),_("ngModelChange",function(n){return d(o),f(e.firstBkpCompletedReadonlyadmins,n)||(e.firstBkpCompletedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(500,"option",130),r(501,"Enabled"),i(),t(502,"option",128),r(503,"Disabled"),i()()()(),t(504,"div",13)(505,"div",21)(506,"label"),r(507,"First backup completed"),i(),t(508,"select",160),_("ngModelChange",function(n){return d(o),f(e.firstBkpCompletedUsers,n)||(e.firstBkpCompletedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(509,"option",132),r(510,"Enabled"),i(),t(511,"option",133),r(512,"Disabled"),i()()()(),t(513,"div",125)(514,"div",21)(515,"select",161),_("ngModelChange",function(n){return d(o),f(e.restoreInitiatedAdmins,n)||(e.restoreInitiatedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(516,"option",127),r(517,"Enabled"),i(),t(518,"option",128),r(519,"Disabled"),i()()()(),t(520,"div",125)(521,"div",21)(522,"select",162),_("ngModelChange",function(n){return d(o),f(e.restoreInitiatedReadonlyadmins,n)||(e.restoreInitiatedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(523,"option",130),r(524,"Enabled"),i(),t(525,"option",128),r(526,"Disabled"),i()()()(),t(527,"div",13)(528,"div",21)(529,"label"),r(530,"Restore initiated"),i(),t(531,"select",163),_("ngModelChange",function(n){return d(o),f(e.restoreInitiatedUsers,n)||(e.restoreInitiatedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(532,"option",132),r(533,"Enabled"),i(),t(534,"option",133),r(535,"Disabled"),i()()()(),t(536,"div",125)(537,"div",21)(538,"select",164),_("ngModelChange",function(n){return d(o),f(e.storageLimitReachedAdmins,n)||(e.storageLimitReachedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(539,"option",127),r(540,"Enabled"),i(),t(541,"option",128),r(542,"Disabled"),i()()()(),t(543,"div",125)(544,"div",21)(545,"select",165),_("ngModelChange",function(n){return d(o),f(e.storageLimitReachedReadonlyadmins,n)||(e.storageLimitReachedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(546,"option",130),r(547,"Enabled"),i(),t(548,"option",128),r(549,"Disabled"),i()()()(),t(550,"div",13)(551,"div",21)(552,"label"),r(553,"Storage limit reached"),i(),t(554,"select",166),_("ngModelChange",function(n){return d(o),f(e.storageLimitReachedUsers,n)||(e.storageLimitReachedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(555,"option",132),r(556,"Enabled"),i(),t(557,"option",133),r(558,"Disabled"),i()()()()()(),t(559,"c-tab-pane",36)(560,"div",167)(561,"div",104)(562,"legend",37),r(563,"Agent "),t(564,"a",168),S(565,"i",114),i()()(),t(566,"div",13)(567,"div",21)(568,"label",169),r(569,"My Backup Files"),i(),t(570,"select",170),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.BACKUP_FILES,n)||(e.preferencesEdit.BACKUP_FILES=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(571,"option",171),r(572,"Enabled"),i(),t(573,"option",172),r(574,"Disabled"),i()()(),t(575,"div",21)(576,"label",169),r(577,"Settings"),i(),t(578,"select",173),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.BACKUP_SETTINGS,n)||(e.preferencesEdit.BACKUP_SETTINGS=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(579,"option",171),r(580,"Enabled"),i(),t(581,"option",172),r(582,"Disabled"),i()()(),t(583,"div",21)(584,"label",169),r(585,"Initiate Backup"),i(),t(586,"select",174),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.INTIATE_BACKUP,n)||(e.preferencesEdit.INTIATE_BACKUP=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(587,"option",171),r(588,"Enabled"),i(),t(589,"option",172),r(590,"Disabled"),i()()(),t(591,"div",60)(592,"label",169),r(593,"Stop Backup"),i(),t(594,"select",175),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.STOP_BACKUP,n)||(e.preferencesEdit.STOP_BACKUP=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(595,"option",171),r(596,"Enabled"),i(),t(597,"option",172),r(598,"Disabled"),i()()(),t(599,"div",21)(600,"label",169),r(601,"Support"),i(),t(602,"select",176),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.SUPPORT,n)||(e.preferencesEdit.SUPPORT=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(603,"option",171),r(604,"Enabled"),i(),t(605,"option",172),r(606,"Disabled"),i()()(),t(607,"div",21)(608,"label",177),r(609,"About"),i(),t(610,"select",178),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.ABOUT,n)||(e.preferencesEdit.ABOUT=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(611,"option",171),r(612,"Enabled"),i(),t(613,"option",172),r(614,"Disabled"),i()()(),t(615,"div",21)(616,"label",179),r(617,"Block Notifications"),i(),t(618,"select",180),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.BLOCK_NOTIFICATIONS,n)||(e.preferencesEdit.BLOCK_NOTIFICATIONS=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(619,"option",181),r(620,"Enabled"),i(),t(621,"option",182),r(622,"Disabled"),i()()(),t(623,"div",21)(624,"label",183),r(625,"Systray Icon"),i(),t(626,"select",184),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.SYSTRAYICON,n)||(e.preferencesEdit.SYSTRAYICON=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(627,"option",171),r(628,"Enabled"),i(),t(629,"option",172),r(630,"Disabled"),i()()()(),t(631,"div",13)(632,"div",21)(633,"label",169),r(634,"Restore"),i(),t(635,"select",185),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.RESTORE,n)||(e.preferencesEdit.RESTORE=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(636,"option",171),r(637,"Enabled"),i(),t(638,"option",172),r(639,"Disabled"),i()()(),t(640,"div",21)(641,"label",169),r(642,"Refresh Policy"),i(),t(643,"select",186),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.REFRESH_BACKUP_POLICY,n)||(e.preferencesEdit.REFRESH_BACKUP_POLICY=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(644,"option",171),r(645,"Enabled"),i(),t(646,"option",172),r(647,"Disabled"),i()()(),t(648,"div",60)(649,"label",187),r(650,"Pause Backup"),i(),t(651,"select",188),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.PAUSE_BACKUP,n)||(e.preferencesEdit.PAUSE_BACKUP=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(652,"option",171),r(653,"Enabled"),i(),t(654,"option",172),r(655,"Disabled"),i()()(),t(656,"div",21)(657,"label",189),r(658,"Update Agent"),i(),t(659,"select",190),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.UPDATE_AGENT,n)||(e.preferencesEdit.UPDATE_AGENT=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(660,"option",171),r(661,"Enabled"),i(),t(662,"option",172),r(663,"Disabled"),i()()(),t(664,"div",21)(665,"label",169),r(666,"Decouple"),i(),t(667,"select",191),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.DECOUPLE,n)||(e.preferencesEdit.DECOUPLE=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(668,"option",171),r(669,"Enabled"),i(),t(670,"option",172),r(671,"Disabled"),i()()(),t(672,"div",192)(673,"label",193),r(674,"Disallow Admin Restores"),i(),t(675,"select",194),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.DISALLOW_ADMIN_RESTORES,n)||(e.preferencesEdit.DISALLOW_ADMIN_RESTORES=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(676,"option",181),r(677,"Enabled"),i(),t(678,"option",182),r(679,"Disabled"),i()()(),t(680,"div",21)(681,"label",169),r(682,"Exit"),i(),t(683,"select",195),_("ngModelChange",function(n){return d(o),f(e.preferencesEdit.EXIT,n)||(e.preferencesEdit.EXIT=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(684,"option",171),r(685,"Enabled"),i(),t(686,"option",172),r(687,"Disabled"),i()()()()(),t(688,"div",12)(689,"div",196)(690,"legend",37),r(691,"Portal "),t(692,"a",197),S(693,"i",114),i()(),t(694,"div",13)(695,"div",198)(696,"label",199),r(697,"Open"),i(),t(698,"select",200),_("ngModelChange",function(n){return d(o),f(e.menuOptionsEdit.open,n)||(e.menuOptionsEdit.open=n),c(n)}),h("change",function(){return d(o),c(e.updateMenuOptions())}),t(699,"option",171),r(700,"Enabled"),i(),t(701,"option",172),r(702,"Disabled"),i()()(),t(703,"div",201)(704,"label",202),r(705,"Versions"),i(),t(706,"select",203),_("ngModelChange",function(n){return d(o),f(e.menuOptionsEdit.versions,n)||(e.menuOptionsEdit.versions=n),c(n)}),h("change",function(){return d(o),c(e.updateMenuOptions())}),t(707,"option",171),r(708,"Enabled"),i(),t(709,"option",172),r(710,"Disabled"),i()()(),t(711,"div",204)(712,"label",205),r(713,"Download"),i(),t(714,"select",206),_("ngModelChange",function(n){return d(o),f(e.menuOptionsEdit.download,n)||(e.menuOptionsEdit.download=n),c(n)}),h("change",function(){return d(o),c(e.updateMenuOptions())}),t(715,"option",171),r(716,"Enabled"),i(),t(717,"option",172),r(718,"Disabled"),i()()()(),t(719,"div",13)(720,"div",207)(721,"label",208),r(722,"View"),i(),t(723,"select",209),_("ngModelChange",function(n){return d(o),f(e.menuOptionsEdit.view,n)||(e.menuOptionsEdit.view=n),c(n)}),h("change",function(){return d(o),c(e.updateMenuOptions())}),t(724,"option",171),r(725,"Enabled"),i(),t(726,"option",172),r(727,"Disabled"),i()()(),t(728,"div",210)(729,"label",211),r(730,"Share"),i(),t(731,"select",212),_("ngModelChange",function(n){return d(o),f(e.menuOptionsEdit.share,n)||(e.menuOptionsEdit.share=n),c(n)}),h("change",function(){return d(o),c(e.updateMenuOptions())}),t(732,"option",181),r(733,"Enabled"),i(),t(734,"option",182),r(735,"Disabled"),i()()(),t(736,"div",213)(737,"label",214),r(738,"Restore"),i(),t(739,"select",215),_("ngModelChange",function(n){return d(o),f(e.menuOptionsEdit.restore,n)||(e.menuOptionsEdit.restore=n),c(n)}),h("change",function(){return d(o),c(e.updateMenuOptions())}),t(740,"option",171),r(741,"Enabled"),i(),t(742,"option",172),r(743,"Disabled"),i()()()()()(),t(744,"div",216)(745,"div",104)(746,"legend",37),r(747,"Share Details"),i(),t(748,"div",217)(749,"div",21)(750,"div",218),S(751,"input",219),t(752,"label",220),r(753,"Enable Domain Control"),i()()(),t(754,"div",12)(755,"div",221)(756,"label",222),r(757,"Share Domain Inclusions/Exclusions"),i(),S(758,"input",223),i(),t(759,"div",224)(760,"div",225),S(761,"input",226),t(762,"label",227),r(763,"Share only with these Email domains"),i(),S(764,"br")(765,"input",228),t(766,"label",227),r(767,"Share with all Email domains excepting these"),i()()()()(),t(768,"div",229)(769,"div",230)(770,"label",231),S(771,"input",232)(772,"div",233),i()(),t(773,"span",234),r(774,"Allow sharer visibility to the shared link"),i()(),t(775,"div",217)(776,"div",21)(777,"div",218),S(778,"input",235),t(779,"label",236),r(780,"Highly Secure Sharing"),i()()(),t(781,"div",196)(782,"div",237)(783,"div",238)(784,"label",231),S(785,"input",239)(786,"div",233),i()(),t(787,"span",234),r(788,"Complex Password"),i()(),t(789,"div",237)(790,"div",240)(791,"label",231),S(792,"input",241)(793,"div",233),i()(),t(794,"span",234),r(795,"Allow Download"),i()(),t(796,"div",237)(797,"div",242)(798,"label",231),S(799,"input",243)(800,"div",233),i()(),t(801,"span",234),r(802,"Require Expiration Date for shared data"),i()(),t(803,"div",237)(804,"div",244)(805,"label",231),S(806,"input",245)(807,"div",233),i()(),t(808,"span",234),r(809,"Enable multi-factor authentication"),i()()()()()()(),t(810,"c-tab-pane",36)(811,"div",12)(812,"div",104)(813,"legend",37),r(814,"Search "),t(815,"a",246),S(816,"i",114),i()(),t(817,"div",13)(818,"div",247)(819,"label",248),r(820,"Content Index"),i(),t(821,"select",249),_("ngModelChange",function(n){return d(o),f(e.contentIndexEnabled,n)||(e.contentIndexEnabled=n),c(n)}),t(822,"option",171),r(823,"Enabled"),i(),t(824,"option",172),r(825,"Disabled"),i()()()()()(),t(826,"div",12)(827,"div",20)(828,"legend",37),r(829,"Search Filters"),i(),t(830,"div",21)(831,"label",250),r(832,"filters - "),t(833,"a",251),h("click",function(){return d(o),c(e.addNewFilter())}),r(834,"Create New Filter"),i()(),S(835,"br"),t(836,"label",115),r(837,"Filter type"),i(),t(838,"select",252),_("ngModelChange",function(n){return d(o),f(e.searchFilterType,n)||(e.searchFilterType=n),c(n)}),h("change",function(n){return d(o),c(e.onSelectChangeSearchFilterType(n))}),t(839,"option",117),r(840,"Inclusion"),i(),t(841,"option",118),r(842,"Exclusion"),i()()(),t(843,"div",119),y(844,li,3,0,"h5",253)(845,ri,3,0,"h5",254),t(846,"mat-form-field",255)(847,"mat-select",256),_("ngModelChange",function(n){return d(o),f(e.checkedListSearchFilter,n)||(e.checkedListSearchFilter=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onSearchFilterChange())}),y(848,oi,2,2,"mat-option",42),i()()()(),t(849,"div",43),S(850,"br")(851,"br"),y(852,ai,13,0,"div",124),i()()(),t(853,"c-tab-pane",36)(854,"div",12)(855,"div",20)(856,"legend",257),r(857,"partialFileAttributes"),i(),t(858,"div",258)(859,"label",259),r(860,"incrementalFileTransfer"),i(),t(861,"select",260)(862,"option",171),r(863,"Enabled"),i(),t(864,"option",172),r(865,"Disabled"),i()()(),S(866,"br"),t(867,"legend",257),r(868,"Throttling Attributes"),i(),t(869,"div",60)(870,"fieldset",261)(871,"label",262),r(872,"Throttle traffic at endpoint agent to"),i(),t(873,"div",263)(874,"c-form-check",47)(875,"input",264),_("ngModelChange",function(n){return d(o),f(e.isThrottleEnabled,n)||(e.isThrottleEnabled=n),c(n)}),h("change",function(){return d(o),c(e.toggleThrottle())}),i()()(),t(876,"div",12)(877,"div",13)(878,"input",265),_("ngModelChange",function(n){return d(o),f(e.nwFromClientToPGMB,n)||(e.nwFromClientToPGMB=n),c(n)}),h("blur",function(){return d(o),c(e.validateInput())}),i(),t(879,"span",266),r(880),i(),t(881,"span",267),r(882),i()(),t(883,"div",13)(884,"select",268),_("ngModelChange",function(n){return d(o),f(e.networkThrottlingUnit,n)||(e.networkThrottlingUnit=n),c(n)}),h("change",function(){return d(o),c(e.onUnitChange())}),t(885,"option",269),r(886,"Kbps"),i(),t(887,"option",270),r(888,"Mbps"),i(),t(889,"option",271),r(890,"Gbps"),i()()()()()(),t(891,"div",272)(892,"label",273),r(893,"CPU Throttling"),i(),S(894,"br"),t(895,"div",274)(896,"input",275),_("ngModelChange",function(n){return d(o),f(e.cpuThrottling,n)||(e.cpuThrottling=n),c(n)}),h("input",function(n){return d(o),c(e.onSliderChange(n))}),i(),t(897,"p"),r(898,"Value: "),t(899,"span",276),r(900),i()()()(),t(901,"div",60)(902,"label",277),r(903,"nwFromPGToCloud (In MBPS)"),i(),S(904,"input",278),i(),t(905,"div",60)(906,"label",279),r(907,"filesCrawlLimit"),i(),S(908,"input",280),i(),t(909,"div",60)(910,"label",281),r(911,"networkThrottling"),i(),t(912,"select",282)(913,"option",171),r(914,"Enabled"),i(),t(915,"option",172),r(916,"Disabled"),i()()()(),t(917,"div",283),S(918,"br")(919,"br"),t(920,"div",284)(921,"div",104)(922,"div",285)(923,"div",109)(924,"div",21)(925,"label",286),r(926,"partialFileSize (In MB)"),i(),S(927,"input",287),i(),t(928,"div",21)(929,"label",288),r(930,"fileChunkableSize (In MB)"),i(),S(931,"input",289),i()()()()()()(),t(932,"div",12)(933,"div",20)(934,"legend",37),r(935,"Options"),i(),t(936,"div",196)(937,"div",290)(938,"c-form-check",47)(939,"input",291),_("ngModelChange",function(n){return d(o),f(e.legalHold,n)||(e.legalHold=n),c(n)}),i()()(),t(940,"span",292),r(941,"Legal Hold"),i()(),t(942,"div",21)(943,"div",218)(944,"span",293),S(945,"input",294),t(946,"label",295),r(947,"System Folders"),i()()()(),t(948,"div",296)(949,"span",234),r(950,"Unusual Activity Detection Enabled"),i(),t(951,"div",297)(952,"c-form-check",47)(953,"input",298),_("ngModelChange",function(n){return d(o),f(e.rwDetectionEnabled,n)||(e.rwDetectionEnabled=n),c(n)}),i()()()(),t(954,"div",21)(955,"label",299),r(956,"Web Based Login"),i(),t(957,"select",300),_("ngModelChange",function(n){return d(o),f(e.webBasedLogin,n)||(e.webBasedLogin=n),c(n)}),t(958,"option",171),r(959,"Enabled"),i(),t(960,"option",172),r(961,"Disabled"),i()()(),t(962,"div",21)(963,"span",12)(964,"p"),r(965,"Delete assets which have not been active for"),i()(),t(966,"div",61)(967,"div",62)(968,"c-form-check",47)(969,"input",301),_("ngModelChange",function(n){return d(o),f(e.switchnoOfDaysToKeepUserDeviceNotActive,n)||(e.switchnoOfDaysToKeepUserDeviceNotActive=n),c(n)}),h("change",function(){return d(o),c(e.toggleNoOfDaysToKeepUserDeviceNotActive())}),i()()(),t(970,"div",13)(971,"input",302),_("ngModelChange",function(n){return d(o),f(e.noOfDaysToKeepUserDeviceNotActive,n)||(e.noOfDaysToKeepUserDeviceNotActive=n),c(n)}),h("blur",function(){return d(o),c(e.myFunctionnoOfDaysToKeepUserDeviceNotActive())}),i(),t(972,"span",65),r(973),i()(),t(974,"div",46),r(975," days "),i()()(),t(976,"div",303)(977,"label",304),r(978,"Can Administrator Restore User Data"),i(),t(979,"select",305),_("ngModelChange",function(n){return d(o),f(e.canAdminRestoreAll,n)||(e.canAdminRestoreAll=n),c(n)}),h("ngModelChange",function(){return d(o),c(e.flipAllowEndUserTocontrolRestore())}),t(980,"option",306),r(981,"Yes"),i(),t(982,"option",306),r(983,"No"),i()()(),t(984,"div",303)(985,"label",307),r(986,"Can Administrator Delete User Data"),i(),t(987,"select",308),_("ngModelChange",function(n){return d(o),f(e.isAdminDeleteBackupFile,n)||(e.isAdminDeleteBackupFile=n),c(n)}),t(988,"option",306),r(989,"Yes"),i(),t(990,"option",306),r(991,"No"),i()()(),y(992,di,8,1,"div",309)(993,ci,10,1,"div",309),t(994,"div",60)(995,"label",310),r(996,"Compression Enabled"),i(),t(997,"select",311),_("ngModelChange",function(n){return d(o),f(e.compEnabled,n)||(e.compEnabled=n),c(n)}),t(998,"option",171),r(999,"Enabled"),i(),t(1e3,"option",172),r(1001,"Disabled"),i()()(),t(1002,"div",312)(1003,"label",313),r(1004,"VSS"),i(),t(1005,"select",314),_("ngModelChange",function(n){return d(o),f(e.vssEnabled,n)||(e.vssEnabled=n),c(n)}),t(1006,"option",171),r(1007,"Enabled"),i(),t(1008,"option",172),r(1009,"Disabled"),i()()(),t(1010,"div",315)(1011,"label",316),r(1012,"Blukrypt Search Algorithm"),i(),t(1013,"select",317),_("ngModelChange",function(n){return d(o),f(e.searchAlgorithm,n)||(e.searchAlgorithm=n),c(n)}),h("change",function(){return d(o),c(e.onSearchAlgorithmChange())}),t(1014,"option",318),r(1015,"Nearest"),i(),t(1016,"option",319),r(1017,"Priority"),i()()(),y(1018,hi,7,4,"div",320),t(1019,"div",60)(1020,"label",321),r(1021,"Policy Refresh Frequency (In Hours)"),i(),t(1022,"input",322),_("ngModelChange",function(n){return d(o),f(e.policyRefresh,n)||(e.policyRefresh=n),c(n)}),i()(),t(1023,"div",60)(1024,"label",323),r(1025,"Capture Unaccessed Items"),i(),t(1026,"div",49)(1027,"label",231)(1028,"input",324),_("ngModelChange",function(n){return d(o),f(e.switchlogUnaccessedFiles,n)||(e.switchlogUnaccessedFiles=n),c(n)}),i(),S(1029,"div",233),i()()(),t(1030,"div",60)(1031,"label",325),r(1032,"Backup Hidden Files"),i(),t(1033,"select",326),_("ngModelChange",function(n){return d(o),f(e.canBackupHiddenFiles,n)||(e.canBackupHiddenFiles=n),c(n)}),t(1034,"option",171),r(1035,"Enabled"),i(),t(1036,"option",172),r(1037,"Disabled"),i()()(),t(1038,"div",327)(1039,"span",328)(1040,"p"),r(1041,"Fairness Algorithm"),i()(),t(1042,"div",329)(1043,"label",231),S(1044,"input",330)(1045,"div",233),i()(),t(1046,"div",49),S(1047,"input",331)(1048,"span",55),i()(),t(1049,"div",60)(1050,"label",332),r(1051,"Full Backup Enabled"),i(),t(1052,"select",333)(1053,"option",181),r(1054,"Enabled"),i(),t(1055,"option",182),r(1056,"Disabled"),i()()(),t(1057,"div",334)(1058,"label",335),r(1059,"Full Backup Start Date"),i(),S(1060,"input",336),i()()(),t(1061,"div",167)(1062,"div",20)(1063,"legend",37),r(1064,"Password Enforcement "),t(1065,"a",337),S(1066,"i",114),i()(),t(1067,"div",303)(1068,"label",338),r(1069,"Can User Change Password"),i(),t(1070,"select",339),_("ngModelChange",function(n){return d(o),f(e.canUserChangePassword,n)||(e.canUserChangePassword=n),c(n)}),t(1071,"option",171),r(1072,"Enabled"),i(),t(1073,"option",172),r(1074,"Disabled"),i()()(),t(1075,"div",303)(1076,"label",340),r(1077,"Can Admin Change User Password"),i(),t(1078,"select",341),_("ngModelChange",function(n){return d(o),f(e.canAdminChangeUserPassword,n)||(e.canAdminChangeUserPassword=n),c(n)}),t(1079,"option",181),r(1080,"Enabled"),i(),t(1081,"option",182),r(1082,"Disabled"),i()()()()(),t(1083,"div",167)(1084,"div",104)(1085,"div",342)(1086,"p"),r(1087," Grayed out options are currently controlled in Cloud Properties. Please speak to you Administrator or visit the Cloud Properties page to change their behavior. "),S(1088,"br"),r(1089,"Both password enforcement options cannot be disabled at same time. "),i()()()()()(),t(1090,"div",12)(1091,"div",13)(1092,"a",343),h("click",function(){return d(o),c(e.submitPolicy())}),r(1093,"Save"),i(),t(1094,"a",344),h("click",function(){return d(o),c(e.sendMeTo("/pms/"+e.productKey))}),r(1095,"Cancel"),i()()()()()()()(),t(1096,"div",345)(1097,"div",346)(1098,"div",347)(1099,"form",348)(1100,"div",349)(1101,"div",350)(1102,"h4",351),r(1103,"Confirm Add"),i(),t(1104,"button",352)(1105,"span",353),r(1106,"\xD7"),i()()(),t(1107,"div",354)(1108,"p"),r(1109,"Are you sure, you want to add the folder path"),i()(),t(1110,"div",355)(1111,"button",356),r(1112,"Close"),i(),t(1113,"button",357),r(1114,"Save"),i()()()()()(),t(1115,"div",358)(1116,"div",347)(1117,"form",359)(1118,"div",349)(1119,"div",350)(1120,"h4",351),r(1121,"Confirm Add"),i(),t(1122,"button",352)(1123,"span",353),r(1124,"\xD7"),i()()(),t(1125,"div",354)(1126,"p"),r(1127,"Are you sure, you want to add the folder path"),i()(),t(1128,"div",355)(1129,"button",356),r(1130,"Close"),i(),t(1131,"button",357),r(1132,"Save"),i()()()()()(),t(1133,"div",346)(1134,"div",347)(1135,"form",348)(1136,"div",349)(1137,"div",350)(1138,"h4",351),r(1139,"Confirm Add"),i(),t(1140,"button",352)(1141,"span",353),r(1142,"\xD7"),i()()(),t(1143,"div",354)(1144,"p"),r(1145,"Are you sure, you want to add the folder path"),i()(),t(1146,"div",355)(1147,"button",356),r(1148,"Close"),i(),t(1149,"button",357),r(1150,"Save"),i()()()()()(),t(1151,"div",358)(1152,"div",347)(1153,"form",359)(1154,"div",349)(1155,"div",350)(1156,"h4",351),r(1157,"Confirm Add"),i(),t(1158,"button",352)(1159,"span",353),r(1160,"\xD7"),i()()(),t(1161,"div",354)(1162,"p"),r(1163,"Are you sure, you want to add the folder path"),i()(),t(1164,"div",355)(1165,"button",356),r(1166,"Close"),i(),t(1167,"button",357),r(1168,"Save"),i()()()()()(),t(1169,"div",360)(1170,"div",347)(1171,"form",361)(1172,"div",349)(1173,"div",350)(1174,"h4",351),r(1175,"Confirm Add"),i(),t(1176,"button",352)(1177,"span",353),r(1178,"\xD7"),i()()(),t(1179,"div",354)(1180,"p"),r(1181,"Are you sure, you want to add the folder path"),i()(),t(1182,"div",355)(1183,"button",356),r(1184,"Close"),i(),t(1185,"button",357),r(1186,"Save"),i()()()()()()(),t(1187,"div",362)(1188,"div",363)(1189,"div",364)(1190,"div",365)(1191,"h4",366),r(1192,"Create Schedule"),i(),t(1193,"a",367),h("click",function(){return d(o),c(e.closeSchCreateModal())}),S(1194,"i",368),i()(),t(1195,"form",16,3),h("ngSubmit",function(){d(o);let n=P(1196);return c(e.submitCreateSchedule(n))}),t(1197,"div",354)(1198,"div",21)(1199,"label",369),r(1200,"Schedule Name"),i(),t(1201,"input",370,4),_("ngModelChange",function(n){return d(o),f(e.scheduleModel.scheduleName,n)||(e.scheduleModel.scheduleName=n),c(n)}),i(),y(1203,gi,3,2,"div",24),i(),t(1204,"div",21)(1205,"label",371),r(1206,"Schedule Start Time"),i(),t(1207,"timepicker",372),_("ngModelChange",function(n){return d(o),f(e.myTime,n)||(e.myTime=n),c(n)}),i()(),t(1208,"div",373)(1209,"label",115),r(1210,"Days"),i(),t(1211,"mat-form-field",374)(1212,"mat-select",375,5),_("ngModelChange",function(n){return d(o),f(e.scheduleDaysList,n)||(e.scheduleDaysList=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onScheduleDayChange())}),t(1214,"mat-option",376),r(1215,"Sunday"),i(),t(1216,"mat-option",376),r(1217,"Monday"),i(),t(1218,"mat-option",376),r(1219,"Tuesday"),i(),t(1220,"mat-option",376),r(1221,"Wednesday"),i(),t(1222,"mat-option",376),r(1223,"Thursday"),i(),t(1224,"mat-option",376),r(1225,"Friday"),i(),t(1226,"mat-option",376),r(1227,"Saturday"),i()()(),r(1228," - "),t(1229,"button",377),h("click",function(){return d(o),c(e.toggleSelectAllDays())}),r(1230),i()()(),t(1231,"div",355)(1232,"button",378),h("click",function(){return d(o),c(e.closeSchCreateModal())}),r(1233,"Close"),i(),t(1234,"button",379),r(1235,"Save changes"),i()()()()()(),t(1236,"div",380)(1237,"div",363)(1238,"div",364)(1239,"div",350)(1240,"h4",366),r(1241,"Confirmation"),i()(),t(1242,"div",354)(1243,"h4"),r(1244,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),i()(),t(1245,"div",355)(1246,"button",378),h("click",function(){return d(o),c(e.closeScheduleConfPopup())}),r(1247,"Cancel"),i(),t(1248,"button",381),h("click",function(){return d(o),c(e.getParticularSchedule())}),r(1249,"Ok"),i()()()()(),t(1250,"div",382)(1251,"div",363)(1252,"div",364)(1253,"div",365)(1254,"h4",366),r(1255,"Edit Schedule"),i(),t(1256,"a",367),h("click",function(){return d(o),c(e.closeEditModal())}),S(1257,"i",368),i()(),t(1258,"form",16,6),h("ngSubmit",function(){d(o);let n=P(1259);return c(e.submitEditSchedule(n))}),t(1260,"div",354)(1261,"div",21)(1262,"label",369),r(1263,"Schedule Name"),i(),S(1264,"input",383),i(),t(1265,"div",21)(1266,"label",371),r(1267,"Schedule Start Time"),i(),t(1268,"timepicker",372),_("ngModelChange",function(n){return d(o),f(e.myTime,n)||(e.myTime=n),c(n)}),i()(),t(1269,"div",373)(1270,"label",115),r(1271,"Days"),i(),t(1272,"mat-form-field",384)(1273,"mat-select",375,7),_("ngModelChange",function(n){return d(o),f(e.scheduleDaysListEdit,n)||(e.scheduleDaysListEdit=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onScheduleDayChangeEdit())}),t(1275,"mat-option",376),r(1276,"Sunday"),i(),t(1277,"mat-option",376),r(1278,"Monday"),i(),t(1279,"mat-option",376),r(1280,"Tuesday"),i(),t(1281,"mat-option",376),r(1282,"Wednesday"),i(),t(1283,"mat-option",376),r(1284,"Thursday"),i(),t(1285,"mat-option",376),r(1286,"Friday"),i(),t(1287,"mat-option",376),r(1288,"Saturday"),i()()(),r(1289," - "),t(1290,"button",377),h("click",function(){return d(o),c(e.toggleSelectAllDaysEdit())}),r(1291),i()()(),t(1292,"div",355)(1293,"button",378),h("click",function(){return d(o),c(e.closeEditModal())}),r(1294,"Close"),i(),t(1295,"button",379),r(1296,"Save changes"),i()()()()()(),t(1297,"div",380)(1298,"div",363)(1299,"div",364)(1300,"div",350)(1301,"h4",366),r(1302,"Confirmation"),i()(),t(1303,"div",354)(1304,"h4"),r(1305,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),i()(),t(1306,"div",355)(1307,"button",378),h("click",function(){return d(o),c(e.closeConfFilterPopup())}),r(1308,"Cancel"),i(),t(1309,"button",381),h("click",function(){return d(o),c(e.getFilter())}),r(1310,"Ok"),i()()()()(),t(1311,"div",385)(1312,"div",363)(1313,"div",364)(1314,"div",365)(1315,"h4",366),r(1316,"Create Filter"),i(),t(1317,"a",367),h("click",function(){return d(o),c(e.closeCreateFilterModal())}),S(1318,"i",368),i()(),t(1319,"div",354)(1320,"div",21)(1321,"label",369),r(1322,"Filter Name"),i(),t(1323,"input",386),_("ngModelChange",function(n){return d(o),f(e.filterModel.filterName,n)||(e.filterModel.filterName=n),c(n)}),h("input",function(){return d(o),c(e.validateFilterName())}),i(),y(1324,fi,2,1,"small",27),i(),t(1325,"div",60)(1326,"label",387),r(1327,"Filter Type"),i(),t(1328,"select",388),_("ngModelChange",function(n){return d(o),f(e.filterModel.filterType,n)||(e.filterModel.filterType=n),c(n)}),t(1329,"option",389),r(1330,"Inclusion Filter"),i(),t(1331,"option",390),r(1332,"Exclusion Filter"),i()()(),t(1333,"div",21)(1334,"label",371),r(1335,"Select Filter Template"),i(),t(1336,"mat-form-field",391)(1337,"mat-select",392,8),_("ngModelChange",function(n){return d(o),f(e.checkedList,n)||(e.checkedList=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onFilterCreateChange())}),y(1339,_i,2,2,"mat-option",42),i()()(),t(1340,"div",21)(1341,"label",115),r(1342,"Filters"),i(),t(1343,"a",393),S(1344,"i",114),i(),t(1345,"div",394)(1346,"span",395),y(1347,Si,4,1,"span",396),i(),t(1348,"input",397),_("ngModelChange",function(n){return d(o),f(e.newFilterExtensionCreate,n)||(e.newFilterExtensionCreate=n),c(n)}),h("blur",function(){return d(o),c(e.handleBlur())})("keyup.enter",function(){return d(o),c(e.handleKeyUp())}),i()(),S(1349,"br"),i()(),t(1350,"div",355)(1351,"button",378),h("click",function(){return d(o),c(e.closeCreateFilterModal())}),r(1352,"Close"),i(),t(1353,"button",398),h("click",function(){return d(o),c(e.submitCreateFilter())}),r(1354,"Save changes"),i()()()()(),t(1355,"div",399)(1356,"div",363)(1357,"div",364)(1358,"div",365)(1359,"h4",366),r(1360,"Edit Filter"),i(),t(1361,"a",367),h("click",function(){return d(o),c(e.closeEditFilterModal())}),S(1362,"i",368),i()(),t(1363,"div",354)(1364,"div",21)(1365,"label",369),r(1366,"Filter Name"),i(),t(1367,"input",400),_("ngModelChange",function(n){return d(o),f(e.filterEditModel.filterName,n)||(e.filterEditModel.filterName=n),c(n)}),i()(),t(1368,"div",60)(1369,"label",387),r(1370,"Filter Type"),i(),t(1371,"select",388),_("ngModelChange",function(n){return d(o),f(e.filterEditModel.filterType,n)||(e.filterEditModel.filterType=n),c(n)}),t(1372,"option",389),r(1373,"Inclusion Filter"),i(),t(1374,"option",390),r(1375,"Exclusion Filter"),i()()(),t(1376,"div",21)(1377,"label",371),r(1378,"Select Filter Template"),i(),t(1379,"mat-form-field",391)(1380,"mat-select",392,9),_("ngModelChange",function(n){return d(o),f(e.checkedList,n)||(e.checkedList=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onFilterChangeEdit())}),y(1382,Ci,2,2,"mat-option",42),i()()(),t(1383,"div",21)(1384,"label",115),r(1385,"Filters"),i(),t(1386,"a",401),S(1387,"i",114),i(),S(1388,"br"),t(1389,"div",402),y(1390,yi,4,1,"span",403),t(1391,"input",404),_("ngModelChange",function(n){return d(o),f(e.newFilterExtensionEdit,n)||(e.newFilterExtensionEdit=n),c(n)}),h("blur",function(){return d(o),c(e.handleBlurEdit())})("keyup.enter",function(){return d(o),c(e.handleKeyUpEdit())}),i()()()(),t(1392,"div",355)(1393,"button",378),h("click",function(){return d(o),c(e.closeEditFilterModal())}),r(1394,"Close"),i(),t(1395,"button",398),h("click",function(){return d(o),c(e.submitEditFilter())}),r(1396,"Save changes"),i()()()()(),t(1397,"div",405)(1398,"div",363)(1399,"div",364)(1400,"div",350)(1401,"h4",366),r(1402,"Confirmation"),i()(),t(1403,"div",354)(1404,"h4"),r(1405,"Are you sure you want to continue?"),i()(),t(1406,"div",355)(1407,"button",378),h("click",function(){return d(o),c(e.closePolicySaveConfirmPopup())}),r(1408,"Cancel"),i(),t(1409,"button",381),h("click",function(){d(o);let n=P(9);return c(e.submitEditPolicy(n))}),r(1410,"Ok"),i()()()()()}if(m&2){let o=P(25),s=P(74),n=P(1202);a(4),u("ngIf",e.parent!=""),a(),u("ngIf",e.child!=""),a(),u("ngIf",e.subchild!=""),a(18),g("ngModel",e.policygroupName),a(3),u("ngIf",o.invalid&&o.dirty),a(9),g("ngModel",e.description),a(2),u("ngIf",e.description.length>0&&e.description.length<5),a(2),u("ngIf",e.description.length>0&&e.description.length>512),a(8),g("ngModel",e.policyStorageSizeAllowed),a(5),g("ngModel",e.policyUsersAllowed),a(8),u("cTabContent",s)("tabPaneIdx",0),a(3),u("cTabContent",s)("tabPaneIdx",1),a(3),u("cTabContent",s)("tabPaneIdx",2),a(2),u("ngIf",e.searchEnabled),a(2),u("cTabContent",s)("tabPaneIdx",4),a(2),u("activeTabPaneIdx",0),a(14),g("ngModel",e.checkedListSchedule),u("ngModelOptions",b(264,v)),a(),u("ngForOf",e.schedules),a(4),u("ngIf",e.defaultSchedules.length>=1),a(7),u("switch",!0),a(),g("ngModel",e.isVersionEnabled),u("ngModelOptions",b(265,v)),a(2),g("ngModel",e.versions),u("disabled",!e.isVersionEnabled),a(2),E(e.verError),a(6),u("switch",!0),a(),g("ngModel",e.isSizeEnabled),u("ngModelOptions",b(266,v)),a(2),g("ngModel",e.maxPermissibleFileSize),u("disabled",!e.isSizeEnabled),a(2),E(e.sizeError),a(6),u("switch",!0),a(),g("ngModel",e.isLimitEnabled),u("ngModelOptions",b(267,v)),a(2),g("ngModel",e.perUserBackupStorageLimit),u("disabled",!e.isLimitEnabled),a(2),E(e.limitError),a(7),u("switch",!0),a(),g("ngModel",e.switchpurgeDeletedFilesOlderThan),u("ngModelOptions",b(268,v)),a(2),g("ngModel",e.purgeDeletedFilesOlderThan),u("disabled",!e.switchpurgeDeletedFilesOlderThan),a(2),E(e.deletedFilesError),a(3),Z("display",e.userType=="superAdmin"?"block":"none"),a(3),g("ngModel",e.msAppBluKrypt),a(),u("ngForOf",e.msAppAgentList),a(),u("ngStyle",L(269,x,e.displayOnedriveArchiving)),a(4),F("Archive files from ",e.productTitle," if"),a(),u("switch",!0),a(),g("ngModel",e.createLinkEnabled),u("ngModelOptions",b(271,v)),a(),u("visible",e.collapses[0]),a(5),F("",e.productTitle," consumption is higher than (%)"),a(2),g("ngModel",e.includethreshholdLimitCheck),a(3),g("ngModel",e.threshholdLimit),u("disabled",!e.includethreshholdLimitCheck),a(2),E(e.threshholdLimitError),a(8),g("ngModel",e.includepurgeFilesOlderThanCheck),a(3),g("ngModel",e.purgeFilesOlderThan),u("disabled",!e.includepurgeFilesOlderThanCheck),a(2),E(e.purgeFilesOlderThanError),a(8),g("ngModel",e.includepurgeFilesSizeGTThanCheck),a(3),g("ngModel",e.purgeFilesSizeGTThan),u("disabled",!e.includepurgeFilesSizeGTThanCheck),a(2),E(e.purgeFilesSizeGTThanError),a(8),g("ngModel",e.noOfDevicesAllowed),a(2),E(e.deviceAllowedError),a(4),g("ngModel",e.osType),a(7),g("ngModel",e.defaultFoldersBackup),a(7),g("ngModel",e.exclusionFolderName),a(18),u("ngIf",e.defaultUniversalFolders.length>=1),a(),u("ngIf",e.defaultUniversalFolders.length<=0),a(9),u("ngIf",e.userExcludedFoldersUniversal.length>=1),a(),u("ngIf",e.userExcludedFoldersUniversal.length<=0),a(15),g("ngModel",e.filterType),a(),u("selected",e.inclusionFilter),a(2),u("selected",!e.inclusionFilter),a(3),u("ngIf",e.inclusionFilter),a(),u("ngIf",!e.inclusionFilter),a(2),g("ngModel",e.checkedListFilter),u("ngModelOptions",b(272,v)),a(),u("ngForOf",e.filters),a(4),u("ngIf",e.defaultFilters.length>=1),a(8),g("ngModel",e.createUserAdmins),a(7),g("ngModel",e.createUserReadonlyadmins),a(9),g("ngModel",e.createUserUsers),a(7),g("ngModel",e.userDeletedAdmins),a(7),g("ngModel",e.userDeletedReadonlyadmins),a(9),g("ngModel",e.userDeletedUsers),a(7),g("ngModel",e.userBlockedAdmins),a(7),g("ngModel",e.userBlockedReadonlyadmins),a(9),g("ngModel",e.userBlockedUsers),a(7),g("ngModel",e.userLimitReachedAdmins),a(7),g("ngModel",e.userLimitReachedReadonlyadmins),a(9),g("ngModel",e.userLimitReachedUsers),a(7),g("ngModel",e.deviceDeletedAdmins),a(7),g("ngModel",e.deviceDeletedReadonlyadmins),a(9),g("ngModel",e.deviceDeletedUsers),a(7),g("ngModel",e.deviceBlockedAdmins),a(7),g("ngModel",e.deviceBlockedReadonlyadmins),a(9),g("ngModel",e.deviceBlockedUsers),a(7),g("ngModel",e.deviceDecoupledAdmins),a(7),g("ngModel",e.deviceDecoupledReadonlyadmins),a(9),g("ngModel",e.deviceDecoupledUsers),a(7),g("ngModel",e.deviceLimitReachedAdmins),a(7),g("ngModel",e.deviceLimitReachedReadonlyadmins),a(9),g("ngModel",e.deviceLimitReachedUsers),a(7),g("ngModel",e.weeklyBkpreportAdmins),a(7),g("ngModel",e.weeklyBkpreportReadonlyadmins),a(9),g("ngModel",e.weeklyBkpreportUsers),a(7),g("ngModel",e.firstBkpCompletedAdmins),a(7),g("ngModel",e.firstBkpCompletedReadonlyadmins),a(9),g("ngModel",e.firstBkpCompletedUsers),a(7),g("ngModel",e.restoreInitiatedAdmins),a(7),g("ngModel",e.restoreInitiatedReadonlyadmins),a(9),g("ngModel",e.restoreInitiatedUsers),a(7),g("ngModel",e.storageLimitReachedAdmins),a(7),g("ngModel",e.storageLimitReachedReadonlyadmins),a(9),g("ngModel",e.storageLimitReachedUsers),a(16),g("ngModel",e.preferencesEdit.BACKUP_FILES),a(8),g("ngModel",e.preferencesEdit.BACKUP_SETTINGS),a(8),g("ngModel",e.preferencesEdit.INTIATE_BACKUP),a(8),g("ngModel",e.preferencesEdit.STOP_BACKUP),a(8),g("ngModel",e.preferencesEdit.SUPPORT),a(8),g("ngModel",e.preferencesEdit.ABOUT),a(8),g("ngModel",e.preferencesEdit.BLOCK_NOTIFICATIONS),a(8),g("ngModel",e.preferencesEdit.SYSTRAYICON),a(9),g("ngModel",e.preferencesEdit.RESTORE),a(8),g("ngModel",e.preferencesEdit.REFRESH_BACKUP_POLICY),a(8),g("ngModel",e.preferencesEdit.PAUSE_BACKUP),a(8),g("ngModel",e.preferencesEdit.UPDATE_AGENT),a(8),g("ngModel",e.preferencesEdit.DECOUPLE),a(8),g("ngModel",e.preferencesEdit.DISALLOW_ADMIN_RESTORES),a(8),g("ngModel",e.preferencesEdit.EXIT),a(15),g("ngModel",e.menuOptionsEdit.open),a(8),g("ngModel",e.menuOptionsEdit.versions),a(8),g("ngModel",e.menuOptionsEdit.download),a(9),g("ngModel",e.menuOptionsEdit.view),a(8),g("ngModel",e.menuOptionsEdit.share),a(8),g("ngModel",e.menuOptionsEdit.restore),a(82),g("ngModel",e.contentIndexEnabled),a(17),g("ngModel",e.searchFilterType),a(),u("selected",e.inclusionSearchFilter),a(2),u("selected",!e.inclusionSearchFilter),a(3),u("ngIf",e.inclusionSearchFilter),a(),u("ngIf",!e.inclusionSearchFilter),a(2),g("ngModel",e.checkedListSearchFilter),u("ngModelOptions",b(273,v)),a(),u("ngForOf",e.searchfilters),a(4),u("ngIf",e.defaultSearchFilters.length>=1),a(22),u("switch",!0),a(),g("ngModel",e.isThrottleEnabled),u("ngModelOptions",b(274,v)),a(3),g("ngModel",e.nwFromClientToPGMB),u("disabled",!e.isThrottleEnabled),a(2),E(e.switchError),a(2),E(e.switchWarning),a(2),g("ngModel",e.networkThrottlingUnit),u("disabled",!e.isThrottleEnabled),a(12),g("ngModel",e.cpuThrottling),a(4),E(e.cpuThrottling),a(38),u("switch",!0),a(),g("ngModel",e.legalHold),u("ngModelOptions",b(275,v)),a(13),u("switch",!0),a(),g("ngModel",e.rwDetectionEnabled),u("ngModelOptions",b(276,v)),a(4),g("ngModel",e.webBasedLogin),a(11),u("switch",!0),a(),g("ngModel",e.switchnoOfDaysToKeepUserDeviceNotActive),u("ngModelOptions",b(277,v)),a(2),g("ngModel",e.noOfDaysToKeepUserDeviceNotActive),u("disabled",!e.switchnoOfDaysToKeepUserDeviceNotActive),a(2),E(e.deletedAssetsError),a(3),u("ngStyle",Q(278,ie,e.overridePolicySettings?"none":"auto",e.overridePolicySettings?"0.4":"1")),a(3),g("ngModel",e.canAdminRestoreAll),u("ngClass",L(281,ne,e.overridePolicySettings)),a(),u("ngValue",!0),a(2),u("ngValue",!1),a(2),u("ngStyle",Q(283,ie,e.overridePolicySettings||!e.canAdminRestoreAll?"none":"auto",e.overridePolicySettings||!e.canAdminRestoreAll?"0.5":"1")),a(3),g("ngModel",e.isAdminDeleteBackupFile),u("ngClass",L(286,ne,e.overridePolicySettings)),a(),u("ngValue",!0),a(2),u("ngValue",!1),a(2),u("ngIf",e.storage_type=="GOOGLE_DRIVE"||e.storage_type=="ONE_DRIVE"),a(),u("ngIf",e.storage_type=="ANY"||e.storage_type=="AZURE"),a(4),g("ngModel",e.compEnabled),a(8),g("ngModel",e.vssEnabled),a(5),Z("display",e.userType=="superAdmin"?"block":"none"),a(3),g("ngModel",e.searchAlgorithm),a(5),u("ngIf",e.searchAlgorithm==="PRIORITY"),a(4),g("ngModel",e.policyRefresh),a(6),g("ngModel",e.switchlogUnaccessedFiles),a(5),g("ngModel",e.canBackupHiddenFiles),a(34),u("ngStyle",Q(288,ie,e.passwordChangeEnforce?"none":"auto",e.passwordChangeEnforce?"0.4":"1")),a(3),g("ngModel",e.canUserChangePassword),u("ngClass",L(291,ne,e.passwordChangeEnforce)),a(5),u("ngStyle",Q(293,ie,e.passwordChangeEnforce?"none":"auto",e.passwordChangeEnforce?"0.4":"1")),a(3),g("ngModel",e.canAdminChangeUserPassword),u("ngClass",L(296,ne,e.passwordChangeEnforce)),a(109),u("ngStyle",L(298,x,e.displaySchCreateStyle)),a(14),g("ngModel",e.scheduleModel.scheduleName),a(2),u("ngIf",n.invalid&&(n.dirty||n.touched)),a(4),g("ngModel",e.myTime),u("showMeridian",!1)("minuteStep",1)("ngModelOptions",b(300,v)),a(5),g("ngModel",e.scheduleDaysList),u("ngModelOptions",b(301,v)),a(2),u("value","1"),a(2),u("value","2"),a(2),u("value","3"),a(2),u("value","4"),a(2),u("value","5"),a(2),u("value","6"),a(2),u("value","7"),a(4),F(" ",e.showDaily?"Daily":"De Select All"," "),a(6),u("ngStyle",L(302,x,e.displayScheduleConfStyle)),a(14),u("ngStyle",L(304,x,e.displaySchEditStyle)),a(14),V("value",e.scheduleElement.scheduleName),a(4),g("ngModel",e.myTime),u("showMeridian",!1)("minuteStep",1)("ngModelOptions",b(306,v)),a(5),g("ngModel",e.scheduleDaysListEdit),u("ngModelOptions",b(307,v)),a(2),u("value","1"),a(2),u("value","2"),a(2),u("value","3"),a(2),u("value","4"),a(2),u("value","5"),a(2),u("value","6"),a(2),u("value","7"),a(4),F(" ",e.showDailyEdit?"Daily":"De Select All"," "),a(6),u("ngStyle",L(308,x,e.displayFilterConfStyle)),a(14),u("ngStyle",L(310,x,e.displayFilterCreateStyle)),a(12),u("ngClass",L(312,Vt,e.invalidFilterName)),g("ngModel",e.filterModel.filterName),a(),u("ngIf",e.invalidFilterName),a(4),g("ngModel",e.filterModel.filterType),a(9),g("ngModel",e.checkedList),u("ngModelOptions",b(314,v)),a(2),u("ngForOf",e.cannedFiltersTemplateCreate),a(7),Z("display",e.extensionsVisible?"block":"none"),a(),u("ngForOf",e.cannedFiltersCreate),a(),g("ngModel",e.newFilterExtensionCreate),a(7),u("ngStyle",L(315,x,e.displayFilterEditStyle)),a(12),V("value",e.filterElement.filterName),g("ngModel",e.filterEditModel.filterName),a(4),g("ngModel",e.filterEditModel.filterType),a(9),g("ngModel",e.checkedList),u("ngModelOptions",b(317,v)),a(2),u("ngForOf",e.cannedFiltersTemplateEdit),a(8),u("ngForOf",e.cannedFilters),a(),g("ngModel",e.newFilterExtensionEdit),a(6),u("ngStyle",L(318,x,e.displayConfirmPolicySave))}},dependencies:[Te,Me,Oe,Be,ve,at,Je,$e,et,Ke,Qe,Xe,Ge,Ze,qe,He,nt,lt,rt,ot,it,tt,Se,Fe,dt,ue,Re,We,Ne,Ue,xe,Ie,Ce,ge,fe,_e,ze,st,Ye,je,De,Ae,Pe,Ve,ke,Le,vt,Et,bt,wt,gt,ut,ft,be],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 p})();export{nn as CloneComponent};
