import{a as pt,b as ut}from"./chunk-CIR225GR.js";import{d as mt}from"./chunk-GXOV5BJW.js";import{b as st,f as dt}from"./chunk-Q7H2D3EK.js";import{a as Q}from"./chunk-4QKT4DDC.js";import{a as ct}from"./chunk-PMLGCQK5.js";import{o as rt,t as ot}from"./chunk-FNARCYSS.js";import{d as lt,e as at,g as J}from"./chunk-QO3I7KTG.js";import{A as et,B as tt,D as it,E as nt,b as Ne,c as Ie,g as We,h as Re,j as Ke,l as ze,m as qe,n as He,p as Ge,t as Ye,u as je,v as Je,w as Qe,x as Xe,y as Ze,z as $e}from"./chunk-EZUMFAMZ.js";import{$a as ve,$b as Le,Aa as Ce,Da as be,Zb as xe,_b as Oe,ab as Me,cb as Te,db as ke,e as fe,eb as Fe,fc as Ue,h as Ee,ha as _e,jb as Pe,k as we,kb as De,rb as Be,s as ye,sb as Ae,tb as Ve,za as Se}from"./chunk-VA2ZAQUO.js";import{$b as $,A as le,Bc as W,Bd as j,Cb as se,Dc as o,Ec as C,Fa as F,Fc as x,Fd as ge,Jb as _,Jc as u,Ka as ae,Kc as h,Lc as g,Pc as de,Qc as b,Rc as D,Sc as O,Tb as p,Ub as q,_c as ce,bc as ee,cc as te,dc as t,ec as i,fc as w,jc as P,mc as E,nb as a,ob as k,oc as S,rc as V,sd as me,td as pe,ua as d,ud as ue,va as c,vc as H,wc as G,xc as Y,yd as he}from"./chunk-F5OOQG77.js";import{a as B,b as A,i as oe}from"./chunk-2AVGQ2MQ.js";var ht=["matSelectBlukryptHost"],gt=["matSelectCreateFilter"],ft=["matSelectEditFilter"],v=()=>({standalone:!0}),R=(f,y)=>({"pointer-events":f,opacity:y}),K=f=>({hide:f}),Et=(f,y)=>({"fa-eye":f,"fa-eye-slash":y}),ie=f=>({display:f}),wt=f=>({redAlert:f});function yt(f,y){if(f&1&&(t(0,"li")(1,"h3")(2,"a",387),o(3),i()()()),f&2){let r=S();a(3),C(r.parent)}}function _t(f,y){if(f&1&&(t(0,"li")(1,"a",388),o(2),i()()),f&2){let r=S();a(2),C(r.child)}}function St(f,y){if(f&1&&(t(0,"li")(1,"span"),o(2),i()()),f&2){let r=S();a(2),C(r.subchild)}}function Ct(f,y){if(f&1&&(t(0,"small"),o(1),i()),f&2){let r=S(2);a(),x(`
                        `,r.errortext,`
                      `)}}function bt(f,y){f&1&&(t(0,"small"),o(1,`
                        Policy Name must be at least 3 characters long.
                      `),i())}function vt(f,y){if(f&1&&(t(0,"div",389),o(1,`
                      `),_(2,Ct,2,1,"small",10),o(3,`
                      `),_(4,bt,2,0,"small",10),o(5,`
                    `),i()),f&2){S();let r=W(25);a(2),p("ngIf",r.errors&&r.errors.pattern),a(2),p("ngIf",r.errors&&r.errors.minlength)}}function Mt(f,y){f&1&&(t(0,"small",390),o(1,`
                        This value is too short. It should have 5 characters or more.
                    `),i())}function Tt(f,y){f&1&&(t(0,"small",390),o(1,`
                        This value is too long. It should have 512 characters or fewer.
                    `),i())}function kt(f,y){f&1&&(t(0,"h5",391)(1,"label",392),w(2,"i",393),i()())}function Ft(f,y){f&1&&(t(0,"h5",394)(1,"label",395),w(2,"i",396),i()())}function Pt(f,y){if(f&1&&(t(0,"mat-option",397),o(1),i()),f&2){let r=y.$implicit;V("value",r.filterName),a(),C(r.filterName)}}function Dt(f,y){if(f&1){let r=P();t(0,"tr",406)(1,"td",407)(2,"p")(3,"b"),o(4),i()(),t(5,"span",408),o(6),i()(),t(7,"td",409)(8,"button",410),E("click",function(){let e=d(r).$implicit,l=S(2);return c(l.editFilter(e.filterName))}),o(9," Edit"),i()()()}if(f&2){let r=y.$implicit;a(4),x("",r.filterName," :"),a(2),C(r.filters),a(2),p("disabled",r.filterName==="all_files")}}function Bt(f,y){if(f&1){let r=P();t(0,"div",398)(1,"div",80)(2,"div",399)(3,"div",400)(4,"h5"),w(5,"i",401),o(6," Filters "),i()(),t(7,"div",402)(8,"div",128)(9,"span"),o(10,"Backup files without an extension"),i(),t(11,"div",29)(12,"label",163)(13,"input",403),g("ngModelChange",function(e){d(r);let l=S();return h(l.backupFilesWithoutExtension,e)||(l.backupFilesWithoutExtension=e),c(e)}),i(),w(14,"div",165),i()()(),t(15,"div",404)(16,"table",405)(17,"tbody"),ee(18,Dt,10,3,"tr",406,$),i()()()()()()()}if(f&2){let r=S();a(13),u("ngModel",r.backupFilesWithoutExtension),a(5),te(r.defaultFilters)}}function At(f,y){f&1&&(t(0,"h5",411)(1,"label",392),w(2,"i",393),i()())}function Vt(f,y){f&1&&(t(0,"h5",412)(1,"label",395),w(2,"i",396),i()())}function xt(f,y){if(f&1&&(t(0,"mat-option",397),o(1),i()),f&2){let r=y.$implicit;V("value",r.filterName),a(),C(r.filterName)}}function Ot(f,y){if(f&1){let r=P();t(0,"tr")(1,"td",407)(2,"p")(3,"b"),o(4),i()(),t(5,"span",408),o(6),i()(),t(7,"td",409)(8,"button",410),E("click",function(){let e=d(r).$implicit,l=S(2);return c(l.editFilter(e.filterName))}),o(9," Edit"),i()()()}if(f&2){let r=y.$implicit;a(4),x("",r.filterName," :"),a(2),C(r.filters),a(2),p("disabled",r.filterName==="all_files")}}function Lt(f,y){if(f&1&&(t(0,"div",398)(1,"div",80)(2,"div",399)(3,"div",400)(4,"h5"),w(5,"i",401),o(6," Filters "),i()(),t(7,"div",402)(8,"div",404)(9,"table",405)(10,"tbody"),ee(11,Ot,10,3,"tr",null,$),i()()()()()()()),f&2){let r=S();a(11),te(r.defaultSearchFilters)}}function Ut(f,y){if(f&1){let r=P();t(0,"div",169)(1,"span",166),o(2,"Unusual Activity Detection Enabled"),i(),t(3,"div",413)(4,"c-form-check",30)(5,"input",414),g("ngModelChange",function(e){d(r);let l=S();return h(l.rwDetectionEnabled,e)||(l.rwDetectionEnabled=e),c(e)}),i()()()()}if(f&2){let r=S();a(4),p("switch",!0),a(),p("ngModelOptions",b(3,v)),u("ngModel",r.rwDetectionEnabled)}}function Nt(f,y){if(f&1){let r=P();t(0,"div",47)(1,"label",415),o(2,"Dedup"),i(),t(3,"select",416),g("ngModelChange",function(e){d(r);let l=S();return h(l.dedup,e)||(l.dedup=e),c(e)}),t(4,"option",417),o(5,"Disabled"),i(),t(6,"option",418),o(7,"User"),i()()()}if(f&2){let r=S();a(3),u("ngModel",r.dedup)}}function It(f,y){if(f&1){let r=P();t(0,"div",47)(1,"label",415),o(2,"dedup"),i(),t(3,"select",416),g("ngModelChange",function(e){d(r);let l=S();return h(l.dedup,e)||(l.dedup=e),c(e)}),t(4,"option",417),o(5,"Disabled"),i(),t(6,"option",419),o(7,"User"),i(),t(8,"option",420),o(9,"Global"),i()()()}if(f&2){let r=S();a(3),u("ngModel",r.dedup)}}function Wt(f,y){if(f&1&&(t(0,"mat-option",397),o(1),i()),f&2){let r=y.$implicit;V("value",r.gatewayName),a(),C(r.gatewayName)}}function Rt(f,y){if(f&1){let r=P();t(0,"div",16)(1,"label",421),o(2,"Preferred BluKrypt Hostnames"),i(),t(3,"mat-form-field",75)(4,"mat-select",374,5),g("ngModelChange",function(e){d(r);let l=S();return h(l.checkedListPg,e)||(l.checkedListPg=e),c(e)}),E("selectionChange",function(){d(r);let e=S();return c(e.onBlukryptChange())}),_(6,Wt,2,2,"mat-option",77),i()()()}if(f&2){let r=S();a(4),u("ngModel",r.checkedListPg),p("ngModelOptions",b(3,v)),a(2),p("ngForOf",r.pgs)}}function Kt(f,y){f&1&&(t(0,"div")(1,"div"),o(2,"Password must be at least 5 characters long."),i()())}function zt(f,y){f&1&&(t(0,"div")(1,"div"),o(2,"Passwords must match."),i()())}function qt(f,y){if(f&1&&(t(0,"small",390),o(1),i()),f&2){let r=S();a(),x(" ",r.errortext," ")}}function Ht(f,y){if(f&1&&(t(0,"mat-option",397),o(1),i()),f&2){let r=y.$implicit;V("value",r.extensionName),a(),C(r.filterName)}}function Gt(f,y){if(f&1){let r=P();t(0,"span",422),o(1),t(2,"a",423),E("click",function(){let e=d(r).$implicit,l=S();return c(l.removeExtensionCreate(e))}),w(3,"i",424),i()()}if(f&2){let r=y.$implicit;a(),x("",r," ")}}function Yt(f,y){if(f&1&&(t(0,"mat-option",397),o(1),i()),f&2){let r=y.$implicit;V("value",r.extensionName),a(),C(r.filterName)}}function jt(f,y){if(f&1){let r=P();t(0,"span",425),o(1),t(2,"a",423),E("click",function(){let e=d(r).$implicit,l=S();return c(l.removeExtension(e))}),w(3,"i",424),i()()}if(f&2){let r=y.$implicit;a(),x("",r," ")}}var Ti=(()=>{class f{constructor(r,m,e,l,s,n,X,M,L,N,T){this.http=r,this.datePipe=m,this.titleService=e,this.toastr=l,this.apiService=s,this.AuthService=n,this.globalConstantsService=X,this.cdr=M,this.router=L,this.sharedService=N,this.el=T,this.parent="Policy Management",this.child="BluSync Policies",this.subchild="Edit Policy",this.title="Policy Management",this.errortext="Only letters, numbers, and @, -, _, . are allowed. The input must be at least 3 characters long.",this.menuOptionsEdit={open:!0,view:!0,versions:!0,share:!0,download:!0,restore:!0},this.policygroupName="",this.description="",this.policyStorageSizeAllowed="0",this.policyUsersAllowed="0",this.osType="universal",this.defaultUniversalFolders=["/users/","/home/","C:\\","D:\\"],this.userExcludedFoldersUniversal=[],this.userExceptionsFoldersUniversal=[],this.sqlBackupFoldersList=[],this.noOfDevicesAllowed="1",this.deviceAllowedError="",this.noOfDevicesAllowedCloud="3",this.canUserChangePassword=!0,this.canAdminChangeUserPassword=!0,this.canDelegatedAdminChangeUserPassword=!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.shareCheckedList=new F,this.shareIndividualCheckedList=new F,this.shareCheckedListNoBackup=new F,this.shareIndividualCheckedListNoBackup=new F,this.showDropDownFilter=!1,this.checkedListFilter=[],this.currentSelectedFilter={},this.shareCheckedListFilter=new F,this.shareIndividualCheckedListFilter=new F,this.showDropDownSearchFilter=!1,this.checkedListSearchFilter=[],this.currentSelectedSearchFilter={},this.shareCheckedListSearchFilter=new F,this.shareIndividualCheckedListSearchFilter=new F,this.searchAlgorithm="NEAREST",this.showDropDownPg=!1,this.checkedListPg=[],this.currentSelectedPg={},this.pgs=[],this.shareCheckedListPg=new F,this.shareIndividualCheckedListPg=new F,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.defaultFilters=[],this.defaultSearchFilters=[],this.inclusionFilter=!0,this.exclusionFilter=!1,this.inclusionSearchFilter=!0,this.exclusionSearchFilter=!1,this.isThrottleEnabled=!1,this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps",this.nwFromClientToPGMBFinal="",this.switchError="",this.switchWarning="",this.isVersionEnabled=!0,this.versions="3",this.verError="",this.isSizeEnabled=!1,this.maxPermissibleFileSize="UNLIMITED",this.sizeError="",this.isLimitEnabled=!1,this.perUserBackupStorageLimit="250",this.limitError="",this.cpuThrottling="5",this.defaultFoldersBackup="",this.exclusionFolderName="",this.exceptionFolderName="",this.sqlBackupFolders="",this.applyFilterToExceptionsToExclusion=!0,this.backupFilesWithoutExtension=!0,this.legalHold=!1,this.rwDetectionEnabled=!1,this.switchnoOfDaysToKeepDeviceNotHeard=!0,this.noOfDaysToKeepDeviceNotHeard="60",this.switchnoOfDaysToKeepUserDeviceNotActive=!1,this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED",this.deviceNotHeardError="",this.deviceNotActiveError="",this.switchAllowedDomains=!1,this.allowedDomains="",this.isPasswordEnabled=!1,this.agentPassword="",this.agentRePassword="",this.passwordsDoNotMatch=!1,this.deletedFilesError="",this.switchnoOfDaysToKeepDeletedFiles=!1,this.noOfDaysToKeepDeletedFiles="UNLIMITED",this.switchuserConsentEnabled=!1,this.userConsentDisplayText="",this.preScanCommandEnabled=!1,this.preScanCommand="",this.continueOnPreScan=!1,this.preBackupCommandEnabled=!1,this.preBackupCommand="",this.continueOnPreBkp=!1,this.postBackupCommandEnabled=!1,this.postBackupCommand="",this.continueOnPostBkp=!1,this.memoryUtilization="128",this.cpuUtilization="80",this.dcmEnabled=!1,this.clientDedup="true",this.maxFileSizeForBkpBatch="50",this.createUserAdmins="admins",this.createUserReadonlyadmins="readonlyadmins",this.createUserUsers="",this.userDeletedAdmins="admins",this.userDeletedReadonlyadmins="readonlyadmins",this.userDeletedUsers="",this.userBlockedAdmins="admins",this.userBlockedReadonlyadmins="readonlyadmins",this.userBlockedUsers="",this.userLimitReachedAdmins="admins",this.userLimitReachedReadonlyadmins="readonlyadmins",this.userLimitReachedUsers="",this.endpointUiPreferences=[],this.endpointDisabledUiPreferences=[],this.menuOptions={},this.webBasedLogin="true",this.numberOfThreadsAllowedForBackup="1",this.dedup="user",this.vssEnabled="true",this.compEnabled="true",this.privacyGatewayMappingElement={},this.policyRefresh="4",this.switchlogUnaccessedFiles="true",this.autoUpdateAgent="false",this.canBackupHiddenFiles="true",this.downloadAgent="true",this.issqlbkpenabled="false",this.rwdetectionenabledLicense="false",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.storage_type="",this.userType="",this.invalidScheduleName=!1,this.invalidFilterName=!1,this.isPasswordVisible=!1,this.isRePasswordVisible=!1,this.policyNameToEdit="",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.policyModel={sqlBackupFolders:[],backupSystemFilesEnabled:"false",legalHoldEnabled:"false",sqlbkpEnabled:"false",shareEnabled:"false",highSecureShareEnabled:"true",complexPassword:!0,allowDownload:!1,shareExpireDateEnable:!0,googleAuth:!0,maxFileSizeForBkpBatch:"50",clientDedup:"true",policygroupName:"test123",description:"",cloudCredential:"",dcmEnabled:!1,destination:"",backupFolderPaths:["/users/","/home/","C:\\","D:\\"],maxVersions:"-1",maxFileSize:"1048576",osType:"universal",pftEnabled:"true",pftSize:"9",dedup:"User",fullBackupEnabled:"false",fullBackupStartDate:"",fileChunkableSize:"8",nwFromPGToCloud:"4",nwFromClientToPG:1e4,nwFromClientToPGMB:1e4,filterInclusionName:["all_files"],searchFilterInclusionName:["all_files"],vssEnabled:"true",networkThrottlingNames:["DEFAULT_NETWORK_THROTTLE"],userSizeAllowed:"250",memoryUtilization:"128",cpuUtilization:"80",fullBackupSchedule:"",compressionEnabled:"true",privacyGatewayMappingElement:{gatewayNwThrottlingName:"Default",privacyGatewayNames:[]},endpointUiPreferences:["EXIT","DECOUPLE","SUPPORT","INTIATE_BACKUP","RESTORE","STOP_BACKUP","BACKUP_SETTINGS","BACKUP_FILES","REFRESH_BACKUP_POLICY","PAUSE_BACKUP","ABOUT","UPDATE_AGENT","SYSTRAYICON"],endpointDisabledUiPreferences:["DISALLOW_ADMIN_RESTORES","BLOCK_NOTIFICATIONS"],menuOptions:{open:"true",view:"true",versions:"true",share:"false",download:"true",restore:"true"},calloutScripts:[],crawlLimit:"500",policyRefresh:"4:00",canUserChangePassword:!1,canAdminChangeUserPassword:!1,canDelegatedAdminChangeUserPassword:!0,canBackupHiddenFiles:"true",downloadAgent:"true",searchAlgoForPg:"NEAREST",cpuThrottling:"5",daysToWaitForNextBackup:0,noOfDevicesAllowed:"1",endpointDomainCheck:"false",allowedDomains:"",webBasedLogin:"true",canAdminRestore:"true",canAdminDelete:"true",contentIndexEnabled:"true",noOfDaysToKeepDeviceNotHeard:"60",noOfDaysToKeepUserDeviceNotActive:"-1",noOfDaysToKeepDeletedFiles:"-1",filterType:"inclusion",searchFilterType:"inclusion",preScanCommand:"",preBackupCommand:"",postBackupCommand:"",continueOnPreScan:"false",continueOnPreBkp:"false",continueOnPostBkp:"false",preScanCommandEnabled:"false",preBackupCommandEnabled:"false",postBackupCommandEnabled:"false",switchAgentPassword:"false",agentPassword:"",shareDomainType:"Share only with these Email domains",shareDomainIncExclusions:[""],allowEndUserTocontrolRestore:"false",showShareLink:"false",userConsentEnabled:!1,userConsentDisplayText:"",numberOfThreadsAllowedForBackup:"1",shareDomainsEnabled:"false",logUnaccessedFiles:"false",rwDetectionEnabled:"false",backupFilesWithoutExtension:!0,applyFilterToExceptionsToExclusion:"true",serverUserName:"",serverPassword:"",autoUpdateAgent:"false",policyStorageSizeAllowed:"0",policyUsersAllowed:"0",excludedFolderpaths:["{OneDrive}","{user.home}\\Documents\\My Pictures","{user.home}\\Documents\\My Videos","{user.home}\\Documents\\My Music","{user.home}\\Templates","{user.home}\\Local Settings","{user.home}\\Cookies","{user.home}\\NetHood","{user.home}\\PrintHood","{user.home}\\Application Data","{user.home}\\My Documents","{user.home}\\Start Menu","{user.home}\\SendTo","{Local Settings}","{swapfile.sys}","{credDB.cef}","{thumbs.db}","{NTUSER.DAT}","{desktop.ini}","{pagefile.sys}","{UsrClass.dat}","{hiberfil.sys}","{$RECYCLE.BIN}","{AppData}","{temp}","{win\\system.root\\Users\\all users}","{win\\system.root\\ProgramData}","{win\\system.root\\Program Files}","{win\\system.root\\Windows}","{user.home}\\recent","{mac/system.root/Network}","{mac.com.apple.Network}","{user.home}\\recent","{.Trashes}","{.webtmp}","{.MobileBackups.trash}","{.MobileBackups}","{Backups.backupdb}","{net}","{.vol}","{automount}","{.com.apple.NetBootX}","{.DS_Store}","{.hotfiles.btree}","{.fseventsd}","{.Spotlight-V100}","{.DocumentRevisions-V100}","{Network Trash Folder}","{lost+found}","{.AppleDB}","{.AppleDouble}","{.journal_info_block}","{.journal}","{.HFS+ Private Directory Data}","{mac/system.root/var}","{.trash}","{tmp}","{dev}","{mac/system.root/etc}","{mac/system.root/opt}","{cores}","{mac/system.root/private}","{mac/system.root/usr}","{Volumes}","{mac/system.root/Applications}","{mac/system.root/System}","{mac/system.root/sbin}","{mac/system.root/bin}","{mac/system.root/Library}","{mac/.ParaBlu}","{mac/Trash}","{mac/System}","{mac/Applications}","{mac/Library}","{linux/.ParaBlu}","{linux/system.root/opt/parablu-epa}","{linux/system.root/var}","{linux/system.root/boot}","{linux/system.root/media}","{linux/system.root/run}","{linux/system.root/tmp}","{linux/system.root/sys}","{linux/system.root/proc}","{linux/system.root/dev}"],exceptionsToExclusions:[],emailsRestriction:{createUser:"admins,readonlyadmins,users",userDeleted:"admins,readonlyadmins,users",userBlocked:"admins,readonlyadmins,users",userLimitReached:"admins,readonlyadmins"},policyType:""},this.output={createUser:"",userDeleted:"",userBlocked:"",userLimitReached:""},this.titleService.setTitle(this.title)}ngOnInit(){return oe(this,null,function*(){yield new Promise(r=>{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",r()})}),this.policyNameToEdit=this.sharedService.getDataByKey("currentPolicyName"),this.callApis(),this.userType=this.sharedService.getDataByKey("userType")})}sendMeTo(r){this.router.navigate([r])}onSelectChangeFilterType(r){let e=r.target.value;e==="inclusion"?(this.inclusionFilter=!0,this.exclusionFilter=!1):e==="exclusion"&&(this.inclusionFilter=!1,this.exclusionFilter=!0)}onSelectChangeSearchFilterType(r){let e=r.target.value;e==="inclusion"?(this.inclusionSearchFilter=!0,this.exclusionSearchFilter=!1):e==="exclusion"&&(this.inclusionSearchFilter=!1,this.exclusionSearchFilter=!0)}onSliderChange(r){this.cpuThrottling=r.target.value}toggleThrottle(){this.isThrottleEnabled?this.nwFromClientToPGMB="4":(this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps"),this.validateInput()}validateInput(){this.switchError="",this.switchWarning="";let r=Number(this.nwFromClientToPGMB);if(isNaN(r))this.nwFromClientToPGMB!=="UNLIMITED"&&(this.switchError="Input can be any integer");else if(r.toString().includes("."))this.switchError="Please enter an integral value";else switch(this.networkThrottlingUnit){case"kbps":case"mbps":r<1||r>1024?this.switchError="Value must be between 1 and 1024 for kbps or mbps":r<256&&this.networkThrottlingUnit==="kbps"&&(this.switchWarning="Recommended value is 1Mbps or greater. You should consider increasing this value to at least 256kbps");break;case"gbps":(r<1||r>9)&&(this.switchError="Value must be between 1 and 9 for gbps");break;default:break}}toggleVersion(){this.verError="",this.isVersionEnabled?this.versions="3":this.versions="UNLIMITED",this.myFunctionVer()}myFunctionVer(){console.log("versions : "+this.versions),this.verError="";let r=Number(this.versions);console.log("inputValue : "+r),isNaN(r)?this.versions!=="UNLIMITED"&&(this.verError="Input can be any integer"):r>1e7?this.verError="Maximum number of Versions Allowed is 1 Crore":this.versions.includes(".")?this.verError="Please enter an integral value":r<1&&!isNaN(r)?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 r=Number(this.maxPermissibleFileSize);console.log("inputValue : "+r),isNaN(r)?this.maxPermissibleFileSize!=="UNLIMITED"&&(this.sizeError='Input can be either "UNLIMITED" or a positive integer.'):r>999999?this.sizeError="Maximum Permissible File Size Allowed is 999999":this.maxPermissibleFileSize.includes(".")?this.sizeError="Please enter an integral value":r<1&&!isNaN(r)?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 r=Number(this.perUserBackupStorageLimit);console.log("inputValue : "+r),isNaN(r)?this.perUserBackupStorageLimit!=="UNLIMITED"&&(this.limitError='Input can be either "UNLIMITED" or a positive integer.'):r>99999?this.limitError="Maximum Per User Backup Storage Limit Allowed is 99999":this.perUserBackupStorageLimit.includes(".")?this.limitError="Please enter an integral value":r<1&&!isNaN(r)?this.limitError="Minimum Per User Backup Storage Limit Allowed is 1":this.limitError=""}myFunctionDevice(){parseInt(this.noOfDevicesAllowed)<=0||this.noOfDevicesAllowed==null?this.deviceAllowedError="This value should be greater than or equal to 1.":this.noOfDevicesAllowed>this.noOfDevicesAllowedCloud?this.deviceAllowedError="This value exceeds the number of devices licensable per user. Please enter a value lower than or equal to "+this.noOfDevicesAllowedCloud:this.deviceAllowedError=""}updateOutput(){this.output.createUser=this.getEnabledOptions(["createUserAdmins","createUserReadonlyadmins","createUserUsers"]),this.output.userDeleted=this.getEnabledOptions(["userDeletedAdmins","userDeletedReadonlyadmins","userDeletedUsers"]),this.output.userBlocked=this.getEnabledOptions(["userBlockedAdmins","userBlockedReadonlyadmins","userBlockedUsers"]),this.output.userLimitReached=this.getEnabledOptions(["userLimitReachedAdmins","userLimitReachedReadonlyadmins","userLimitReachedUsers"])}getEnabledOptions(r){return r.map(m=>this[m]).filter(m=>m!=="").join(",")}updatePreferences(){let r=["bkpfiles","bkpsettings","initiatebackup","stopbackup","support","about","systrayIcon","restore","refbkppolicy","pauseBackup","updateAgent","decouple","network_settings","exitt","disallowAdminRestores","blockNotifications"];this.endpointUiPreferences=[],this.endpointDisabledUiPreferences=[],this.getSelectedValues(r),console.log("Enabled Preferences:",this.endpointUiPreferences),console.log("Disabled Preferences:",this.endpointDisabledUiPreferences)}getSelectedValues(r){r.forEach(m=>{let e=document.getElementById(m);if(e){let l=this.mapIdToPreference(m);e.value==="true"?this.endpointUiPreferences.push(l):this.endpointDisabledUiPreferences.push(l)}})}mapIdToPreference(r){switch(r){case"pauseBackup":return"PAUSE_BACKUP";case"stopbackup":return"STOP_BACKUP";case"initiatebackup":return"INTIATE_BACKUP";case"updateAgent":return"UPDATE_AGENT";case"systrayIcon":return"SYSTRAYICON";case"bkpfiles":return"BACKUP_FILES";case"bkpsettings":return"BACKUP_SETTINGS";case"decouple":return"DECOUPLE";case"network_settings":return"NETWORK_SETTINGS";case"refbkppolicy":return"REFRESH_BACKUP_POLICY";case"blockNotifications":return"BLOCK_NOTIFICATIONS";case"disallowAdminRestores":return"DISALLOW_ADMIN_RESTORES";case"exitt":return"EXIT";default:return r.toUpperCase()}}updateMenuOptions(){let r=["Open","View","Versions","Share","Download","portalRestore"];this.menuOptions=this.getSelectedMenuOptions(r),console.log("Menu Options:",this.menuOptions)}getSelectedMenuOptions(r){let m={};return r.forEach(e=>{let l=document.getElementById(e);l&&(console.log("element : "+l.getAttribute("id")),l.getAttribute("id")=="portalRestore"?m.restore=l.value:m[e.toLowerCase()]=l.value)}),m}getprivacyElement(){let r={};return r.gatewayNwThrottlingName="Default",r.privacyGatewayNames=this.checkedListPg,r}flipAllowEndUserTocontrolRestore(){this.canAdminRestoreAll||(this.allowEndUserTocontrolRestore=!1,this.isAdminDeleteBackupFile=!1)}toggleDeviceNotHeard(){this.switchnoOfDaysToKeepDeviceNotHeard?this.noOfDaysToKeepDeviceNotHeard="60":this.noOfDaysToKeepDeviceNotHeard="UNLIMITED",this.myFunctionnoOfDaysToKeepDeviceNotHeard()}myFunctionnoOfDaysToKeepDeviceNotHeard(){console.log("noOfDaysToKeepDeviceNotHeard : "+this.noOfDaysToKeepDeviceNotHeard),this.deviceNotHeardError="";let r=Number(this.noOfDaysToKeepDeviceNotHeard);console.log("inputValue : "+r),isNaN(r)?this.noOfDaysToKeepDeviceNotHeard!=="UNLIMITED"&&(this.deviceNotHeardError='Input can be either "UNLIMITED" or a positive integer.'):r>1e7?this.deviceNotHeardError="Maximum No. of Days To Keep Device Not Heard Allowed is 1 Crore":this.noOfDaysToKeepDeviceNotHeard.includes(".")?this.deviceNotHeardError="Please enter an integral value":r<7&&!isNaN(r)?this.deviceNotHeardError="Minimum value allowed is 7":this.deviceNotHeardError=""}toggleDeviceNotActive(){this.switchnoOfDaysToKeepUserDeviceNotActive?this.noOfDaysToKeepUserDeviceNotActive="60":this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED",this.myFunctionnoOfDaysToKeepUserDeviceNotActive()}myFunctionnoOfDaysToKeepUserDeviceNotActive(){console.log("noOfDaysToKeepUserDeviceNotActive : "+this.noOfDaysToKeepUserDeviceNotActive),this.deviceNotActiveError="";let r=Number(this.noOfDaysToKeepUserDeviceNotActive);console.log("inputValue : "+r),isNaN(r)?this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.deviceNotActiveError='Input can be either "UNLIMITED" or a positive integer.'):r>1e7?this.deviceNotActiveError="Maximum No. of Days To Keep Device Not Heard Allowed is 1 Crore":this.noOfDaysToKeepUserDeviceNotActive.includes(".")?this.deviceNotActiveError="Please enter an integral value":r<7&&!isNaN(r)?this.deviceNotActiveError="Minimum value allowed is 7":this.deviceNotActiveError=""}togglePasswordFields(){this.isPasswordEnabled||(this.agentPassword="",this.agentRePassword="",this.passwordsDoNotMatch=!1)}checkPasswordsMatch(){this.passwordsDoNotMatch=this.agentPassword!==this.agentRePassword}toggleDeletedFiles(){this.switchnoOfDaysToKeepDeletedFiles?(console.log("iffffffffffff"),this.noOfDaysToKeepDeletedFiles="90"):(console.log("elseeeeeee"),this.noOfDaysToKeepDeletedFiles="UNLIMITED"),this.myFunctionnoOfDaysToKeepDeletedFiles()}myFunctionnoOfDaysToKeepDeletedFiles(){console.log("noOfDaysToKeepDeletedFiles : "+this.noOfDaysToKeepDeletedFiles),this.deletedFilesError="";let r=Number(this.noOfDaysToKeepDeletedFiles);console.log("inputValue : "+r),isNaN(r)?this.noOfDaysToKeepDeletedFiles!=="UNLIMITED"&&(this.deletedFilesError='Input can be either "UNLIMITED" or a positive integer.'):this.noOfDaysToKeepDeletedFiles.includes(".")?this.deletedFilesError="Please enter an integral value":r<1&&!isNaN(r)?this.deletedFilesError="Minimum number of Versions Allowed is 1":this.deletedFilesError=""}togglePreScan(){this.preScanCommandEnabled?this.continueOnPreScan=!0:this.continueOnPreScan=!1}togglePreBackup(){this.preBackupCommandEnabled?this.continueOnPreBkp=!0:this.continueOnPreBkp=!1}togglePostBackup(){this.postBackupCommandEnabled?this.continueOnPostBkp=!0:this.continueOnPostBkp=!1}callApis(){let r=this.apiService.getAllSchedules(),m=this.apiService.getAllFilters(),e=this.apiService.getPgs(),l=this.apiService.cloudProperties(),s=this.apiService.getGlobalExclusion(),n=this.apiService.getPolicy(this.sharedService.getDataByKey("currentPolicyName")),X=this.apiService.getAllNoBackupSchedules();le([r,m,e,l,s,n,X]).subscribe(([M,L,N,T,U,Z,ne])=>{console.log("API 1 response status:",M.status),console.log("API 1 response body:",M.body.scheduleElementList),console.log("API 1 response headers:",M.headers),console.log("API 2 response body:",L.body.inclusionFilterElementList),console.log("API 2 response headers:",L.headers),console.log("API 3 response body:",N.body.privacyGatewayElementList),console.log("API 3 response headers:",N.headers),console.log("API 4 response body:",T.body),console.log("API 4 response headers:",T.headers),console.log("API 5 response body:",U.body),console.log("API 5 response headers:",U.headers),console.log("API 6 response body:",Z.body.backupPolicyElement),console.log("API 6 response headers:",Z.headers),console.log("API 7 response body:",ne.body.noBkpScheduleElementList),console.log("API 7 response headers:",ne.headers);let re=N.body.privacyGatewayElementList.map(I=>({gatewayName:I.gatewayName,status:!1}));console.log("Transformed Data:",re),this.filters=L.body.inclusionFilterElementList.map(I=>A(B({},I),{status:!1})),console.log("filterssssssssss : "+JSON.stringify(this.filters)),this.searchfilters=L.body.inclusionFilterElementList.map(I=>A(B({},I),{status:!1})),this.pgs=re,console.log("API 5 response body:",JSON.stringify(U.body.globalExcludedFoldersElement.globalExcludedFoldersList.win));let z=[...new Set([...U.body.globalExcludedFoldersElement.globalExcludedFoldersList.win,...U.body.globalExcludedFoldersElement.globalExcludedFoldersList.mac])];z=[...new Set([...z,...U.body.globalExcludedFoldersElement.globalExcludedFoldersList.linux])],console.log("CombinedExclusions :",JSON.stringify(z)),this.userExcludedFoldersUniversal=z.reverse(),this.noOfDevicesAllowedCloud=T.body.cloudPropertyElement.noOfDevicesAllowed,this.canUserChangePassword=T.body.cloudPropertyElement.canUserChangePassword,this.canAdminChangeUserPassword=T.body.cloudPropertyElement.canAdminChangeUserPassword,this.passwordChangeEnforce=T.body.cloudPropertyElement.passwordChangeEnforce,this.searchEnabled=T.body.cloudPropertyElement.searchEnabled,this.overridePolicySettings=T.body.cloudPropertyElement.overridePolicySettings,this.overridePolicySettings&&(this.canAdminRestoreAll=T.body.cloudPropertyElement.canAdminRestoreAll,this.isAdminDeleteBackupFile=T.body.cloudPropertyElement.isAdminDeleteBackupFile),this.showUserConsentFieldInPolicies=T.body.cloudPropertyElement.showUserConsentFieldInPolicies,this.storageProvider=T.body.cloudPropertyElement.storageProvider,this.hostedSetup=T.body.cloudPropertyElement.hostedSetup,this.getPolicy(Z.body.backupPolicyElement)},M=>{switch(console.error("Error from Api's call: ",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(r,m){if(r)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:r,name:m},this.shareCheckedlistFilter(),this.shareIndividualStatusFilter()}shareCheckedlistFilter(){this.shareCheckedListFilter.emit(this.checkedListFilter)}shareIndividualStatusFilter(){this.shareIndividualCheckedListFilter.emit(this.currentSelectedFilter)}getMultipleFilters(r){this.apiService.getMultipleFilters(r).subscribe(m=>{var e=JSON.stringify(m.body),l=JSON.parse(e);console.log("inclusionFilterElementList from  getMultipleFilters: "+JSON.stringify(l.inclusionFilterElementList)),this.defaultFilters=l.inclusionFilterElementList,this.cdr.detectChanges()},m=>{switch(console.error("Error from getMultipleFilters: ",m),m.status){case 400:console.error("Bad Request: ",m.message);break;case 401:console.error("Unauthorized: ",m.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",m.message);break;case 404:console.error("Not Found: ",m.message);break;case 500:console.error("Internal Server Error: ",m.message);break;case 503:console.error("Internal Server Error: ",m.message);break;default:console.error("Unknown Error: ",m.message);break}})}getSelectedValueSearchFilter(r,m){if(r)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:r,name:m},this.shareCheckedlistSearchFilter(),this.shareIndividualStatusSearchFilter()}shareCheckedlistSearchFilter(){this.shareCheckedListSearchFilter.emit(this.checkedListSearchFilter)}shareIndividualStatusSearchFilter(){this.shareIndividualCheckedListSearchFilter.emit(this.currentSelectedSearchFilter)}getMultipleSearchFilters(r){this.apiService.getMultipleFilters(r).subscribe(m=>{var e=JSON.stringify(m.body),l=JSON.parse(e);console.log("inclusionFilterElementList from  getMultipleFilters: "+JSON.stringify(l.inclusionFilterElementList)),this.defaultSearchFilters=l.inclusionFilterElementList,this.cdr.detectChanges()},m=>{switch(console.error("Error from getMultipleFilters: ",m),m.status){case 400:console.error("Bad Request: ",m.message);break;case 401:console.error("Unauthorized: ",m.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",m.message);break;case 404:console.error("Not Found: ",m.message);break;case 500:console.error("Internal Server Error: ",m.message);break;case 503:console.error("Internal Server Error: ",m.message);break;default:console.error("Unknown Error: ",m.message);break}})}onSearchAlgorithmChange(){this.searchAlgorithm==="NEAREST"&&(this.checkedListPg=[],this.pgs.forEach(r=>r.checked=!1))}validatePolicyGroupName(){return!!/^[a-zA-Z0-9@._-]*$/.test(this.policygroupName)}validateDescription(){return!this.description||this.description.length>=5&&this.description.length<=512}submitEditPolicy(r){if(r.invalid){r.control.markAllAsTouched(),this.toastr.error("Please fill in all required fields.");return}if(!(!this.validatePolicyGroupName()||!this.validateDescription())){if(this.checkedListFilter.length<=0){this.checkedListFilter.length<=0&&this.toastr.error("Please select at least one filter.");return}if(this.searchAlgorithm=="PRIORITY"&&this.checkedListPg.length<=0){this.toastr.error("Please select at least one BluKrypt Hostname.");return}if(this.limitError!=""){this.toastr.error("Please check the value for Per Asset Backup Storage Limit.");return}if(this.sizeError!=""){this.toastr.error("Please check the value for Maximum Permissible File Size.");return}if(this.deviceAllowedError!=""){this.toastr.error("Please check the value for Maximum Assets Allowed.");return}if(this.switchError!=""){this.toastr.error("Please check the value for Throttle traffic at endpoint agent.");return}if(this.defaultUniversalFolders.length==0){this.toastr.error("Please add at-least one default folders to backup up");return}if(this.deviceNotHeardError!=""){this.toastr.error("Please check the value for Block assets which have not been heard from in.");return}if(this.deviceNotActiveError!=""){this.toastr.error("Please check the value for Block assets which have not been heard from in.");return}this.updateOutput(),this.updatePreferences(),this.updateMenuOptions(),this.policyModel.policygroupName=this.policyNameToEdit,this.policyModel.description=this.description,this.policyModel.maxVersions=this.versions==="UNLIMITED"?"-1":this.versions,this.policyModel.maxFileSize=this.maxPermissibleFileSize==="UNLIMITED"?"1048576":this.maxPermissibleFileSize,this.policyModel.userSizeAllowed=this.perUserBackupStorageLimit==="UNLIMITED"?"102400":this.perUserBackupStorageLimit,this.policyModel.noOfDevicesAllowed=this.noOfDevicesAllowed.toString(),this.policyModel.osType="universal",this.policyModel.backupFolderPaths=this.defaultUniversalFolders,this.policyModel.sqlBackupFolders=this.sqlBackupFoldersList,this.policyModel.serverUserName="",this.policyModel.serverPassword="",this.policyModel.excludedFolderpaths=this.userExcludedFoldersUniversal,this.policyModel.exceptionsToExclusions=this.userExceptionsFoldersUniversal,this.policyModel.memoryUtilization=this.memoryUtilization.toString(),this.policyModel.cpuUtilization=this.cpuUtilization.toString(),this.policyModel.dcmEnabled=this.dcmEnabled,this.policyModel.clientDedup=this.clientDedup.toString(),this.policyModel.dedup=this.dedup,this.policyModel.maxFileSizeForBkpBatch=this.maxFileSizeForBkpBatch,this.policyModel.filterType=this.inclusionFilter?"inclusion":"exclusion",this.policyModel.searchFilterType=this.inclusionSearchFilter?"inclusion":"exclusion",this.policyModel.applyFilterToExceptionsToExclusion=this.applyFilterToExceptionsToExclusion?"true":"false",this.policyModel.backupFilesWithoutExtension=this.backupFilesWithoutExtension,this.policyModel.emailsRestriction=this.output,this.policyModel.endpointUiPreferences=this.endpointUiPreferences,this.policyModel.endpointDisabledUiPreferences=this.endpointDisabledUiPreferences,this.policyModel.menuOptions=this.menuOptions,this.policyModel.cpuThrottling=this.cpuThrottling.toString(),this.policyModel.legalHoldEnabled=this.legalHold?"true":"false",this.policyModel.rwDetectionEnabled=this.rwDetectionEnabled?"true":"false",this.policyModel.noOfDaysToKeepDeviceNotHeard=this.noOfDaysToKeepDeviceNotHeard==="UNLIMITED"?"-1":this.noOfDaysToKeepDeviceNotHeard.toString(),this.policyModel.noOfDaysToKeepUserDeviceNotActive=this.noOfDaysToKeepUserDeviceNotActive==="UNLIMITED"?"-1":this.noOfDaysToKeepUserDeviceNotActive,this.policyModel.webBasedLogin=this.webBasedLogin.toString(),this.policyModel.compressionEnabled=this.compEnabled.toString(),this.policyModel.vssEnabled=this.vssEnabled.toString(),this.policyModel.searchAlgoForPg=this.searchAlgorithm,this.policyModel.privacyGatewayMappingElement=this.getprivacyElement(),this.policyModel.policyRefresh=this.policyRefresh+":00",console.log("polivyere : "+this.policyRefresh),this.policyModel.logUnaccessedFiles=this.switchlogUnaccessedFiles?"true":"false",this.policyModel.endpointDomainCheck=this.switchAllowedDomains?"true":"false",this.policyModel.allowedDomains=this.allowedDomains,this.policyModel.switchAgentPassword=this.isPasswordEnabled?"true":"false",this.policyModel.agentPassword=this.agentPassword,this.policyModel.canBackupHiddenFiles=this.canBackupHiddenFiles,this.policyModel.downloadAgent=this.downloadAgent.toString(),this.policyModel.noOfDaysToKeepDeletedFiles=this.noOfDaysToKeepDeletedFiles==="UNLIMITED"?"-1":this.noOfDaysToKeepDeletedFiles.toString(),this.policyModel.userConsentDisplayText=this.userConsentDisplayText,this.policyModel.userConsentEnabled=this.switchuserConsentEnabled,this.policyModel.preScanCommand=this.preScanCommand,this.policyModel.preBackupCommand=this.preBackupCommand,this.policyModel.postBackupCommand=this.postBackupCommand,this.policyModel.continueOnPreScan=this.continueOnPreScan==!0?"true":"false",this.policyModel.continueOnPreBkp=this.continueOnPreBkp==!0?"true":"false",this.policyModel.continueOnPostBkp=this.continueOnPostBkp==!0?"true":"false",this.policyModel.preScanCommandEnabled=this.preScanCommandEnabled==!0?"true":"false",this.policyModel.preBackupCommandEnabled=this.preBackupCommandEnabled==!0?"true":"false",this.policyModel.postBackupCommandEnabled=this.postBackupCommandEnabled==!0?"true":"false",this.policyModel.canUserChangePassword=this.canUserChangePassword,this.policyModel.canAdminChangeUserPassword=this.canAdminChangeUserPassword,this.policyModel.canDelegatedAdminChangeUserPassword=!0,this.policyModel.filterInclusionName=this.checkedListFilter,this.policyModel.searchFilterInclusionName=this.checkedListSearchFilter>0?this.checkedListSearchFilter:["all_files"],this.policyModel.backupFolderPaths=this.defaultUniversalFolders,this.policyModel.excludedFolderpaths=this.userExcludedFoldersUniversal,this.policyModel.exceptionsToExclusions=this.userExceptionsFoldersUniversal,this.policyModel.sqlBackupFolders=this.sqlBackupFoldersList,this.policyModel.autoUpdateAgent=this.autoUpdateAgent,this.policyModel.canAdminRestore=this.canAdminRestoreAll?"true":"false",this.policyModel.allowEndUserTocontrolRestore=this.allowEndUserTocontrolRestore?"true":"false",this.policyModel.canAdminDelete=this.isAdminDeleteBackupFile?"true":"false",this.policyModel.nwFromClientToPGMB=parseFloat(this.nwFromClientToPGMB),this.policyModel.contentIndexEnabled=this.contentIndexEnabled,this.onUnitChange(),console.log("Policy Details : "+JSON.stringify(this.policyModel)),this.apiService.editPolicy(this.policyModel).subscribe(m=>{console.log("Policy edited successfully:",m),this.toastr.success("Policy edited successfully.","Info"),setTimeout(()=>{this.router.navigate(["/pms/policy"])},5e3)},m=>{switch(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 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: ",m.message);break;case 503:console.error("Internal Server Error: ",m.message);break;default:console.error("Unknown Error: ",m.message);break}})}}onUnitChange(){this.validateInput();let r=Number(this.nwFromClientToPGMB);if(console.log("nwvalue : "+this.nwFromClientToPGMB),this.nwFromClientToPGMB=="UNLIMITED")this.policyModel.nwFromClientToPG=1e4,this.policyModel.nwFromClientToPGMB=1e4;else switch(this.networkThrottlingUnit){case"kbps":this.policyModel.nwFromClientToPG=parseFloat((r/1024).toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat((r/1024).toFixed(4));break;case"mbps":this.policyModel.nwFromClientToPG=parseFloat(r.toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat(r.toFixed(4)),console.log("123 : "+parseFloat(r.toFixed(4)));break;case"gbps":this.policyModel.nwFromClientToPG=parseFloat((r*1024).toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat((r*1024).toFixed(4));break;default:break}}getPolicy(r){this.policygroupName=r.policygroupName,this.description=r.description,this.versions=r.maxVersions,r.maxVersions=="-1"?(this.isVersionEnabled=!1,this.versions="UNLIMITED"):this.isVersionEnabled=!0,this.maxPermissibleFileSize=r.maxFileSize,r.maxFileSize=="1048576"||r.maxFileSize=="-1"?(this.isSizeEnabled=!1,this.maxPermissibleFileSize="UNLIMITED"):this.isSizeEnabled=!0,this.perUserBackupStorageLimit=r.userSizeAllowed,r.userSizeAllowed=="102400"?(this.isLimitEnabled=!1,this.perUserBackupStorageLimit="UNLIMITED"):this.isLimitEnabled=!0,this.noOfDevicesAllowed=r.noOfDevicesAllowed,this.defaultUniversalFolders=r.backupFolderPaths,this.userExcludedFoldersUniversal=r.excludedFolderpaths,this.userExceptionsFoldersUniversal=r.exceptionsToExclusions?r.exceptionsToExclusions:[],this.sqlBackupFoldersList=r.sqlBackupFolders?r.sqlBackupFolders:[],this.memoryUtilization=r.memoryUtilization,this.cpuUtilization=r.cpuUtilization,this.dcmEnabled=r.dcmEnabled,this.clientDedup=r.clientDedup,this.inclusionFilter=r.filterType=="inclusion",this.checkedListFilter=r.filterInclusionName,this.filters=this.filters.map(l=>A(B({},l),{checked:this.checkedListFilter.includes(l.filterName)})),this.getMultipleFilters(this.checkedListFilter.toString()),this.inclusionSearchFilter=r.searchFilterType=="inclusion",this.checkedListSearchFilter=r.searchFilterInclusionName,this.filters=this.filters.map(l=>A(B({},l),{checked:this.checkedListSearchFilter.includes(l.filterName)})),this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()),this.applyFilterToExceptionsToExclusion=r.applyFilterToExceptionsToExclusion,this.backupFilesWithoutExtension=r.backupFilesWithoutExtension,this.nwFromClientToPGMB=r.nwFromClientToPGMB;let m=Math.round(r.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=r.contentIndexEnabled,this.cpuThrottling=r.cpuThrottling,this.legalHold=r.legalHoldEnabled,this.rwDetectionEnabled=r.rwDetectionEnabled,r.noOfDaysToKeepDeviceNotHeard==-1?this.noOfDaysToKeepDeviceNotHeard="UNLIMITED":this.noOfDaysToKeepDeviceNotHeard=r.noOfDaysToKeepDeviceNotHeard,r.noOfDaysToKeepUserDeviceNotActive==-1||r.noOfDaysToKeepUserDeviceNotActive==0?(this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED",this.switchnoOfDaysToKeepUserDeviceNotActive=!1):(this.noOfDaysToKeepUserDeviceNotActive=r.noOfDaysToKeepUserDeviceNotActive,this.switchnoOfDaysToKeepUserDeviceNotActive=!0),this.numberOfThreadsAllowedForBackup=r.numberOfThreadsAllowedForBackup,this.webBasedLogin=r.webBasedLogin,this.compEnabled=r.compressionEnabled,this.vssEnabled=r.vssEnabled,this.policyRefresh=r.policyRefresh.split(":")[0],this.switchlogUnaccessedFiles=r.logUnaccessedFiles,this.switchAllowedDomains=r.endpointDomainCheck,this.allowedDomains=r.allowedDomains,this.autoUpdateAgent=r.autoUpdateAgent,this.isPasswordEnabled=r.switchAgentPassword,this.agentPassword=r.agentPassword,this.agentRePassword=r.agentPassword,this.canBackupHiddenFiles=r.canBackupHiddenFiles,this.downloadAgent=r.downloadAgent,r.noOfDaysToKeepDeletedFiles==-1?(this.switchnoOfDaysToKeepDeletedFiles=!1,this.noOfDaysToKeepDeletedFiles="UNLIMITED"):(this.switchnoOfDaysToKeepDeletedFiles=!0,this.noOfDaysToKeepDeletedFiles=r.noOfDaysToKeepDeletedFiles),this.switchuserConsentEnabled=r.userConsentEnabled,r.userConsentEnabled&&(this.userConsentDisplayText=r.userConsentDisplayText),this.preScanCommand=r.preScanCommand,this.preBackupCommand=r.preBackupCommand,this.postBackupCommand=r.postBackupCommand,this.continueOnPreScan=r.continueOnPreScan,this.continueOnPreBkp=r.continueOnPreBkp,this.continueOnPostBkp=r.continueOnPostBkp,this.preScanCommandEnabled=r.preScanCommandEnabled,this.preBackupCommandEnabled=r.preBackupCommandEnabled,this.postBackupCommandEnabled=r.postBackupCommandEnabled,this.canUserChangePassword=r.canUserChangePassword,this.canAdminChangeUserPassword=r.canAdminChangeUserPassword,this.canAdminRestoreAll=r.canAdminRestore,this.allowEndUserTocontrolRestore=r.allowEndUserTocontrolRestore,this.isAdminDeleteBackupFile=r.canAdminDelete,this.searchAlgorithm=r.searchAlgoForPg,this.checkedListPg=r.privacyGatewayMappingElement.privacyGatewayNames,this.pgs=this.pgs.map(l=>A(B({},l),{checked:this.checkedListPg.includes(l.gatewayName)})),console.log("policyElement.privacyGatewayMappingElement.privacyGatewayNames : "+r.privacyGatewayMappingElement.privacyGatewayNames),this.endpointUiPreferencesEdit=r.endpointUiPreferences,this.endpointDisabledUiPreferencesEdit=r.endpointDisabledUiPreferences,this.updatePreferencesEdit(),this.menuOptionsEdit=r.menuOptions,this.createUserAdmins=r.emailsRestriction.createUser.includes("admins")?"admins":"",this.createUserReadonlyadmins=r.emailsRestriction.createUser.includes("readonlyadmins")?"readonlyadmins":"",this.createUserUsers=r.emailsRestriction.createUser.includes("users")?"users":"",this.userDeletedAdmins=r.emailsRestriction.userDeleted.includes("admins")?"admins":"",this.userDeletedReadonlyadmins=r.emailsRestriction.userDeleted.includes("readonlyadmins")?"readonlyadmins":"",this.userDeletedUsers=r.emailsRestriction.userDeleted.includes("users")?"users":"",this.userBlockedAdmins=r.emailsRestriction.userBlocked.includes("admins")?"admins":"",this.userBlockedReadonlyadmins=r.emailsRestriction.userBlocked.includes("readonlyadmins")?"readonlyadmins":"",this.userBlockedUsers=r.emailsRestriction.userBlocked.includes("users")?"users":"",this.userLimitReachedAdmins=r.emailsRestriction.userLimitReached.includes("admins")?"admins":"",this.userLimitReachedReadonlyadmins=r.emailsRestriction.userLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.userLimitReachedUsers=r.emailsRestriction.userLimitReached.includes("users")?"users":""}updatePreferencesEdit(){this.endpointUiPreferencesEdit.forEach(r=>{this.preferencesEdit[r]=!0}),this.endpointDisabledUiPreferencesEdit.forEach(r=>{this.preferencesEdit[r]=!1})}newFilterEdit(r){console.log("filterName : "+r)}onFilterChange(){this.checkedListFilter.length>0?this.getMultipleFilters(this.checkedListFilter.toString()):this.defaultFilters=[]}onSearchFilterChange(){let r=this.el.nativeElement.querySelector(".mainSearchFilters"),m=r.querySelector("mat-select");m.classList.remove("redAlert"),r.classList.remove("redAlert"),this.checkedListSearchFilter.length>0?this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()):(this.defaultSearchFilters=[],m&&(m.classList.add("redAlert"),r.classList.add("redAlert")),this.toastr.error("No filters selected. Please select at least one filter.","Info"))}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 r=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionCreate=r,this.showExtensions(),this.cannedFiltersCreate=r.concat(this.userDefinedExtensionsCreate)}else this.cannedFiltersCreate=this.userDefinedExtensionsCreate,this.checkedListExtensionCreate=[]}showExtensions(){this.extensionsVisible=!0}validateFilterName(){let r=/^[a-zA-Z0-9@._-]{3,}$/;this.invalidFilterName=!!this.filterModel.filterName&&!r.test(this.filterModel.filterName)}isFilterNameValid(r){let m=/^[a-zA-Z0-9@._-]{3,}$/;return new RegExp(m).test(r)}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(r=>{this.checkedListFilter.push(this.filterModel.filterName),this.getMultipleFilters(this.checkedListFilter.toString()),this.closeCreateFilterModal(),this.toastr.success("Filter created successfully.","Info"),this.getAllFilters()},r=>{switch(r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.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: ",r.message);break;case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.message);break}})}getAllFilters(){this.apiService.getAllFilters().subscribe(r=>{var m=JSON.stringify(r.body),e=JSON.parse(m);this.filters=e.inclusionFilterElementList,this.cdr.detectChanges(),this.getAllCannedFilters()},r=>{switch(console.error("Error from getAllFilters: ",r),r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",r.message);break;case 404:console.error("Not Found: ",r.message);break;case 500:console.error("Internal Server Error: ",r.message);break;case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.message);break}})}getAllCannedFilters(){this.apiService.getAllCannedFilters().subscribe(r=>{var m=JSON.stringify(r.body),e=JSON.parse(m);this.cannedFiltersTemplateCreate=e.filterTemplateElementList.map(l=>A(B({},l),{status:!1})),this.cannedFiltersTemplateCreate.sort((l,s)=>l.filterName.localeCompare(s.filterName)),this.cannedFiltersTemplateEdit=e.filterTemplateElementList.map(l=>A(B({},l),{status:!1})),this.cannedFiltersTemplateEdit.sort((l,s)=>l.filterName.localeCompare(s.filterName)),this.cdr.detectChanges()},r=>{switch(console.error("Error from getAllCannedFilters: ",r),r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",r.message);break;case 404:console.error("Not Found: ",r.message);break;case 500:console.error("Internal Server Error: ",r.message);break;case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.message);break}})}editFilter(r){this.filterToEdit=r,this.displayFilterConfStyle="block"}closeConfFilterPopup(){this.filterToEdit="",this.displayFilterConfStyle="none"}closeEditFilterModal(){this.displayFilterEditStyle="none"}getFilter(){this.displayFilterConfStyle="none",this.apiService.getFilter(this.filterToEdit).subscribe(r=>{var m=JSON.stringify(r.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()},r=>{switch(console.error("Error from getFilter: ",r),r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",r.message);break;case 404:console.error("Not Found: ",r.message);break;case 500:console.error("Internal Server Error: ",r.message);break;case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.message);break}})}onFilterChangeEdit(){if(this.checkedList.length>0){let r=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionEdit=r,this.showExtensions(),r.some(m=>this.userDefinedExtensionsEdit.includes(m))||(this.cannedFilters=r.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(r=>{console.log("Filter updated successfully:",r),this.closeEditFilterModal(),this.toastr.success("Filter updated successfully.","Info"),this.getMultipleFilters(this.checkedListFilter.toString())},r=>{switch(r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.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: ",r.message);break;case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.message);break}})}removeExtension(r){var m=this.checkedListExtensionEdit.indexOf(r);this.checkedListExtensionEdit.splice(m,1),this.userDefinedExtensionsEdit.splice(m,1);var e=this.cannedFilters.indexOf(r);this.cannedFilters.splice(e,1)}removeExtensionCreate(r){var m=this.checkedListExtension.indexOf(r);this.checkedListExtension.splice(m,1);var e=this.cannedFiltersCreate.indexOf(r);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())}addSqlServer(){}showPassword(r){let m=document.getElementById(r);m.type="text",r==="agentPassword"?this.isPasswordVisible=!0:this.isRePasswordVisible=!0}hidePassword(r){let m=document.getElementById(r);m.type="password",r==="agentPassword"?this.isPasswordVisible=!1:this.isRePasswordVisible=!1}handleBlur(){this.newFilterExtensionCreate.trim()&&this.addFilterExtensionCreate()}handleKeyUp(){this.newFilterExtensionCreate.trim()&&this.addFilterExtensionCreate()}handleBlurEdit(){this.newFilterExtensionEdit.trim()&&this.addFilterExtensionEdit()}handleKeyUpEdit(){this.newFilterExtensionEdit.trim()&&this.addFilterExtensionEdit()}onBlukryptChange(){if(this.checkedList.length>0){let r=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionEdit=r,this.showExtensions(),r.some(m=>this.userDefinedExtensionsEdit.includes(m))||(this.cannedFilters=r.concat(this.userDefinedExtensionsEdit))}else this.cannedFilters=this.userDefinedExtensionsEdit,this.checkedListExtensionEdit=[];this.matSelectBlukryptHost.close()}static{this.\u0275fac=function(m){return new(m||f)(k(fe),k(j),k(we),k(ct),k(J),k(lt),k(Q),k(ce),k(ye),k(at),k(ae))}}static{this.\u0275cmp=se({type:f,selectors:[["app-edit"]],viewQuery:function(m,e){if(m&1&&(H(ht,5),H(gt,5),H(ft,5)),m&2){let l;G(l=Y())&&(e.matSelectBlukryptHost=l.first),G(l=Y())&&(e.matSelectCreateFilter=l.first),G(l=Y())&&(e.matSelectEditFilter=l.first)}},inputs:{pgs:"pgs"},outputs:{shareCheckedList:"shareCheckedList",shareIndividualCheckedList:"shareIndividualCheckedList",shareCheckedListNoBackup:"shareCheckedListNoBackup",shareIndividualCheckedListNoBackup:"shareIndividualCheckedListNoBackup",shareCheckedListFilter:"shareCheckedListFilter",shareIndividualCheckedListFilter:"shareIndividualCheckedListFilter",shareCheckedListSearchFilter:"shareCheckedListSearchFilter",shareIndividualCheckedListSearchFilter:"shareIndividualCheckedListSearchFilter",shareCheckedListPg:"shareCheckedListPg",shareIndividualCheckedListPg:"shareIndividualCheckedListPg"},features:[de([j,J,Q])],decls:1168,vars:283,consts:[["myForm","ngForm"],["policyNameInput","ngModel"],["tabContent1","cTabContent"],["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","readonly","",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"],["variant","tabs","role","tablist"],["cNavLink","",3,"cTabContent","tabPaneIdx"],[1,"d-none"],["cRounded","bottom",3,"activeTabPaneIdx"],[1,"p-3","preview"],["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,"h4",2,"color","#585f69"],["for","noOfDevicesAllowed"],["type","number","name","noOfDevicesAllowed","id","noOfDevicesAllowed","placeholder","Maximum Assets Allowed","required","","autocomplete","off","value","10","data-parsley-type","integer","min","1",1,"form-control",3,"ngModelChange","blur","ngModel"],["id","deviceerror",2,"color","#f55753","font-size","0.9em"],[1,"form-group","d-none"],["for","osType"],["cSelect","","name","osType","id","osType","required","","title","Select OS Type",1,"form-control","selectOsTypePicker",3,"ngModelChange","ngModel"],["value","universal","selected",""],["for","memoryUtilization"],["type","text","name","memoryUtilization","id","memoryUtilization","placeholder","Enter memoryUtilization","required","","autocomplete","off","value","128","data-parsley-min","128","data-parsley-max","1024","data-parsley-type","integer",1,"form-control",3,"ngModelChange","ngModel"],["for","cpuUtilization"],["type","text","name","cpuUtilization","id","cpuUtilization","placeholder","Enter cpuUtilization","required","","autocomplete","off","value","80","data-parsley-min","20","data-parsley-max","100","data-parsley-type","integer",1,"form-control",3,"ngModelChange","ngModel"],["for","dcmEnabled"],["cSelect","","name","dcmEnabled","id","dcmEnabled","required","","title","Select dcmEnabled",1,"form-control","dcmEnabled",3,"ngModelChange","ngModel"],["value","true"],["value","false","selected",""],["for","clientDedup"],["cSelect","","name","clientDedup","id","clientDedup","title","Select clientDedup",1,"form-control","clientDedup",3,"ngModelChange","ngModel"],["value","true","selected",""],["value","false"],["for","maxFileSizeForBkpBatch"],["type","text","name","maxFileSizeForBkpBatch","id","maxFileSizeForBkpBatch","placeholder","Enter maxFileSizeForBkpBatch","autocomplete","off","value","50",1,"form-control"],["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"],[1,"clickAble",2,"cursor","pointer","font-size","small","font-weight","600",3,"click"],["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",2,"width","100%"],["multiple","","placeholder","Select Filters",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],[3,"value",4,"ngFor","ngForOf"],[1,"col-lg-5"],["class","row allFilters",4,"ngIf"],[1,"col-lg-12"],[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",""],["for","userCreateUsers"],["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"],["for","userDeletedUsers"],["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"],["for","userBlockedUsers"],["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"],["for","userLimitReachedUsers"],["cSelect","","name","userLimitReached[]",1,"form-control","userLimitReachedUsers",3,"ngModelChange","change","ngModel"],["cTooltip","Changes will reflect on next relaunch of agent.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["for","shareEnabled"],["cSelect","","name","bkpfiles","id","bkpfiles","required","","title","Select share",1,"form-control","bkpfiles",3,"ngModelChange","change","ngModel"],["cSelect","","name","bkpsettings","id","bkpsettings","required","","title","Select share",1,"form-control","bkpsettings",3,"ngModelChange","change","ngModel"],["cSelect","","name","initiatebackup","id","initiatebackup","required","","title","Select share",1,"form-control","initiatebackup",3,"ngModelChange","change","ngModel"],["cSelect","","name","stopbackup","id","stopbackup","required","","title","Select share",1,"form-control","stopbackup",3,"ngModelChange","change","ngModel"],["cSelect","","name","support","id","support","required","","title","Select support",1,"form-control","support",3,"ngModelChange","change","ngModel"],["for","about"],["cSelect","","name","about","id","about","required","","title","Select about",1,"form-control","about",3,"ngModelChange","change","ngModel"],["for","blockNotifications"],["cSelect","","name","blockNotifications","id","blockNotifications","title","Select share",1,"form-control","blockNotifications",3,"ngModelChange","change","ngModel"],["for","systrayIcon"],["cSelect","","name","systrayIcon","id","systrayIcon","required","","title","Select systrayIcon",1,"form-control","systrayIcon",3,"ngModelChange","change","ngModel"],["cSelect","","name","restore","id","restore","required","","title","Select restore",1,"form-control","restore",3,"ngModelChange","change","ngModel"],["cSelect","","name","refbkppolicy","id","refbkppolicy","required","","title","Select share",1,"form-control","refbkppolicy",3,"ngModelChange","change","ngModel"],["for","pauseBackup"],["cSelect","","name","pauseBackup","id","pauseBackup","required","","title","Select pauseBackup",1,"form-control","pauseBackup",3,"ngModelChange","change","ngModel"],["for","updateAgent"],["cSelect","","name","updateAgent","id","updateAgent","required","","title","Select updateAgent",1,"form-control","updateAgent",3,"ngModelChange","change","ngModel"],["cSelect","","name","decouple","id","decouple","required","","title","Select decouple",1,"form-control","decouple",3,"ngModelChange","change","ngModel"],["cSelect","","name","network_settings","id","network_settings","required","","title","Select Network Settings",1,"form-control","network_settings",3,"change"],[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"],["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"],[1,"panel-body"],["for","partialFileSize"],["type","text","name","partialFileSize","id","partialFileSize","placeholder","Enter partialFileSize","required","","autocomplete","off","value","9","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","<?=MAX_ENABLE_PARTIAL_FILE_TRANSFER?>",1,"form-control"],["for","fileChunkableSize"],["type","text","name","fileChunkableSize","id","fileChunkableSize","placeholder","Enter fileChunkableSize","required","","autocomplete","off","value","8","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","<?=MAX_PARTIAL_FILE_TRANSFER_CHUNK_SIZE?>",1,"form-control"],[1,"col-lg-1"],["cFormCheckInput","","id","legalHold","type","checkbox",3,"ngModelChange","ngModelOptions","ngModel"],[1,"col-lg-11"],[1,"systemFolders",2,"display","none"],["id","systemFolders","name","systemFolders","type","checkbox","value","enabled"],["for","systemFolders"],["class","col-lg-6 row",4,"ngIf"],["for","noOfDaysToKeepDeviceNotHeard",1,"col-lg-12"],["cFormCheckInput","","id","switchnoOfDaysToKeepDeviceNotHeard","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],[1,"col-lg-4"],["type","text","name","noOfDaysToKeepDeviceNotHeard","id","noOfDaysToKeepDeviceNotHeard","placeholder","Enter No. of Days To Keep Device Not Heard","required","","autocomplete","off","value","60",1,"form-control",3,"ngModelChange","blur","ngModel"],["id","noOfDaysToKeepDeviceNotHearderror",2,"color","#f55753","font-size","0.9em"],[1,"col-lg-2",2,"margin-top","10px"],["for","noOfDaysToKeepUserDeviceNotActive",1,"col-lg-12"],["cFormCheckInput","","id","switchnoOfDaysToKeepUserDeviceNotActive","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","noOfDaysToKeepUserDeviceNotActive","id","noOfDaysToKeepUserDeviceNotActive","placeholder","Enter No. of Days To Keep Device Not Heard","required","","autocomplete","off","value","60",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","noOfDaysToKeepUserDeviceNotActiveerror",2,"color","#f55753","font-size","0.9em"],["for","numberOfThreadsAllowedForBackup"],["type","number","name","numberOfThreadsAllowedForBackup","id","numberOfThreadsAllowedForBackup","placeholder","Enter Number of threads allowed for Backup","required","","autocomplete","off","value","1","min","1","max","5",1,"form-control",3,"ngModelChange","ngModel"],["for","webBasedLogin"],["cSelect","","name","webBasedLogin","id","webBasedLogin","required","","title","Select Web Based Login",1,"form-control","webBasedLogin",3,"ngModelChange","ngModel"],[1,"form-group",3,"ngStyle"],["for","canAdminRestore"],["name","canAdminRestore","id","canAdminRestore","required","","title","Select Can Admin Restore",1,"form-control","canAdminRestore",3,"ngModelChange","ngModel","ngClass"],[3,"ngValue"],[1,"form-group",2,"margin-left","30px",3,"ngStyle"],["for","allowEndUserTocontrolRestore"],["name","allowEndUserTocontrolRestore","id","allowEndUserTocontrolRestore","required","","title","Select option",1,"form-control","allowEndUserTocontrolRestore",3,"ngModelChange","ngModel","ngClass"],["for","canAdminDelete"],["name","canAdminDelete","id","canAdminDelete","required","","title","Select Can Admin Delete",1,"form-control","canAdminDelete",3,"ngModelChange","ngModel","ngClass"],["class","form-group d-none",4,"ngIf"],["for","compEnabled"],["cSelect","","name","compEnabled","id","compEnabled","required","","title","Select compEnabled",1,"form-control","compEnabled",3,"ngModelChange","ngModel"],[1,"form-group","vssContainer","d-none",2,"display","none"],["for","vssEnabled"],["cSelect","","name","vssEnabled","id","vssEnabled","required","","title","Select vss",1,"form-control","vssEnabled",3,"ngModelChange","ngModel"],[1,"form-group","searchAlgoForPg"],["for","searchAlgoForPg"],["cSelect","","name","searchAlgoForPg","id","sortAlgoForPg","required","",1,"form-control","searchAlgoForPg",3,"ngModelChange","change","ngModel"],["value","NEAREST"],["value","PRIORITY"],["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","endpointDomainCheck",1,"col-lg-12"],["cFormCheckInput","","id","switchAllowedDomains","type","checkbox",3,"ngModelChange","ngModelOptions","ngModel"],["for","allowedDomains"],["type","text","name","allowedDomains","id","allowedDomains","placeholder","","autocomplete","off","value","",1,"form-control",3,"ngModelChange","ngModel","disabled"],["for","autoupdateAgent"],["cSelect","","name","autoUpdateAgent","id","autoUpdateAgent","required","","title","Select Auto Update Agent",1,"form-control","autoUpdateAgent",3,"ngModelChange","ngModel"],["for","switchAgentPassword",1,"col-lg-12"],["cFormCheckInput","","id","switchAgentPassword","type","checkbox","name","isPasswordEnabled",3,"ngModelChange","ngModel"],[1,"col-lg-10"],["type","password","name","agentPassword","id","agentPassword","placeholder","Enter Password","autocomplete","off","minlength","5",1,"form-control",2,"margin-bottom","10px",3,"ngModelChange","ngModel","required","disabled"],["title","Toggle password visibility",1,"fa","fa-fw","field-icon",2,"line-height","0px","cursor","pointer",3,"mousedown","mouseup","mouseleave","ngClass"],["type","password","name","agentRePassword","id","agentRePassword","placeholder","Re-Type Password","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel","required","disabled"],["for","canBackupHiddenFiles"],["cSelect","","name","canBackupHiddenFiles","id","canBackupHiddenFiles","required","","title","Select canBackupHiddenFiles",1,"form-control","canBackupHiddenFiles",3,"ngModelChange","ngModel"],[1,"form-group","row","d-none",2,"padding-left","3%"],[2,"color","#93a3b5"],[1,"col-lg-4",2,"padding-left","0%"],["id","switchFairnessAlgorithm","type","checkbox"],["type","number","min","0","name","daysToWaitForNextBackup","id","daysToWaitForNextBackup","autocomptocomplete","off","value","0","disabled","",1,"form-control"],["for","downloadAgent"],["cTooltip","Relogin on portal is required","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["cSelect","","name","downloadAgent","id","downloadAgent","required","","title","Select downloadAgent",1,"form-control","downloadAgent",3,"ngModelChange","ngModel"],[1,"row",2,"margin-left","0px"],[1,"col-lg-2",2,"padding-left","0%"],["cFormCheckInput","","id","switchnoOfDaysToKeepDeletedFiles","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],["type","text","name","noOfDaysToKeepDeletedFiles","id","noOfDaysToKeepDeletedFiles","autocomptocomplete","off","value","UNLIMITED",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","sizenoOfDaysToKeepDeletedFiles",2,"color","#f55753","font-size","0.9em"],["cFormCheckInput","","id","switchuserConsentEnabled","type","checkbox",3,"ngModelChange","ngModelOptions","ngModel"],["cFormControl","","name","userConsentDisplayText","id","userConsentDisplayText","maxlength","8000","rows","3","placeholder","Enter User Consent Display Text",3,"ngModelChange","ngModel","disabled"],["for","preScanCommandEnabled"],["cFormCheckInput","","id","preScanCommandEnabled","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],[1,"col-lg-5","form-group"],["for","preScanCommand"],["type","text","name","preScanCommand","id","preScanCommand","placeholder","","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel","disabled"],[1,"col-lg-3"],["for","continueOnPreScan"],["id","continueOnPreScan","name","continueOnPreScan","type","checkbox",3,"ngModelChange","ngModel","disabled"],["for","preBackupCommandEnabled"],["cFormCheckInput","","id","preBackupCommandEnabled","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],["for","preBackupCommand"],["type","text","name","preBackupCommand","id","preBackupCommand","placeholder","","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel","disabled"],["for","continueOnPreBkp"],["id","continueOnPreBkp","name","continueOnPreBkp","type","checkbox",3,"ngModelChange","ngModel","disabled"],["for","postBackupCommandEnabled"],["cFormCheckInput","","id","postBackupCommandEnabled","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],["for","postBackupCommand"],["type","text","name","postBackupCommand","id","postBackupCommand","placeholder","","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel","disabled"],["for","continueOnPostBkp"],["id","continueOnPostBkp","name","continueOnPostBkp","type","checkbox",3,"ngModelChange","ngModel","disabled"],["for","fullBackupEnabled"],["cSelect","","name","fullBackupEnabled","id","fullBackupEnabled","required","","title","Select fullBackupEnabled",1,"form-control","fullBackupEnabled"],[1,"form-group","backupDate","d-none",2,"display","none"],["for","fullBackupStartDate"],["type","text","id","fullBackupStartDate","name","fullBackupStartDate","placeholder","Select date for full backup","autocomplete","off",1,"form-control","backupDatePicker","input-small"],["cTooltip","Go to Global settings to enable this option.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["for","canUserChangePassword"],["cSelect","","name","canUserChangePassword","id","canUserChangePassword","required","","title","Select Can User Change Password",1,"form-control","canUserChangePassword",3,"ngModelChange","ngModel","ngClass"],["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"],["type","submit",1,"btn","btn-primary","pull-right"],[1,"btn","btn-default","pull-right",2,"margin-right","10px",3,"click"],[1,"main"],["id","configureSqlServer","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["role","document",1,"modal-dialog"],[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"],["for","serverUserName"],["type","text","name","serverUserName","id","serverUserName","value","","placeholder","Enter Server User Name","autocomplete","off","required","",1,"form-control"],["for","serverPassword"],["type","password","name","serverPassword","id","serverPassword","value","","placeholder","Enter Server Password","autocomplete","off","required","",1,"form-control"],["toggle","#serverPasswordphrase","title","show password",1,"fa","fa-fw","fa-eye-slash","field-icon","toggle-serverPasswordphrase"],["for","serverRePassword"],["type","password","name","serverRePassword","id","serverRePassword","placeholder","Re-Type Server Password","autocomplete","off","value","","data-parsley-equalto","#serverPassword","data-parsley-trigger","change","required","",1,"form-control"],[1,"modal-footer"],["type","button","data-dismiss","modal",1,"btn","btn-default"],["type","submit",1,"saveSqlServer","btn","btn-primary"],["id","confirmAdd","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["ng-submit","addDefaultFolderConfirm(defaultFoldersBackup)",1,""],["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","modalConfirmation","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-title"],["type","button",1,"btn","btn-default",3,"click"],["type","button",1,"btn","btn-primary",3,"click"],["id","modalCreateFilter","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],[1,"modal-header","header-container"],[2,"cursor","pointer",3,"click"],[1,"fa-solid","fa-xmark"],["for","filterName"],["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"],["for","filterTemplate"],["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"],["href","pms"],["href","pms/policy"],[1,"text-danger"],[2,"color","red"],[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"],[3,"value"],[1,"row","allFilters"],[1,"panel","panel-default"],[1,"panel-heading"],[1,"fa","fa-filter"],[1,"panel-body",2,"word-break","break-all"],["id","backupFilesWithoutExtension","type","checkbox","name","backupFilesWithoutExtension","value","true",3,"ngModelChange","ngModel"],[1,"table-responsive"],[1,"table","table-bordered","table-responsive",2,"display","table"],["ng-repeat"," in "],[2,"white-space","unset !important"],[2,"word-break","break-all"],[2,"white-space","nowrap !important"],["cButton","","color","primary","size","sm",2,"margin-right","10px",3,"click","disabled"],[1,"col-lg-1","inclusionBadgeCS",2,"margin-top","10px"],[1,"col-lg-1","exclusionBadgeCS",2,"margin-top","10px"],[1,"col-lg-2","rwDetectionEnabledBlock"],["cFormCheckInput","","id","rwDetectionEnabled","type","checkbox",3,"ngModelChange","ngModelOptions","ngModel"],["for","dedup"],["cSelect","","name","dedup","id","dedup","required","","title","Select dedup",1,"form-control","dedup",3,"ngModelChange","ngModel"],["value","Disabled"],["value","User","selected",""],["value","User"],["value","Global","selected",""],["for","Blukryptipaddress"],[2,"word-wrap","break-word","width","fit-content","margin-right","10px"],[1,"clickAble",2,"color","#062D4D","cursor","pointer",3,"click"],[1,"fa","fa-times-circle"],[1,"",2,"white-space","nowrap","word-wrap","break-word","width","fit-content","margin-right","10px"]],template:function(m,e){if(m&1){let l=P();t(0,"div",6)(1,"div",7)(2,"div",8)(3,"ol",9),_(4,yt,4,1,"li",10)(5,_t,3,1,"li",10)(6,St,3,1,"li",10),i()()()(),t(7,"c-row")(8,"form",11,0),E("ngSubmit",function(){d(l);let n=W(9);return c(e.submitEditPolicy(n))}),t(10,"c-col",12)(11,"c-card",13)(12,"c-card-header"),o(13,`
          `),o(14,`
          `),t(15,"div",14),o(16,`
            `),t(17,"div",15),o(18,`
                `),t(19,"div",16),o(20,`
                    `),t(21,"label",17),o(22,"Policy Name"),i(),o(23,`
                    `),t(24,"input",18,1),g("ngModelChange",function(n){return d(l),h(e.policygroupName,n)||(e.policygroupName=n),c(n)}),i(),o(26,`
                    `),_(27,vt,6,2,"div",19),o(28,`
                `),i(),o(29,`
                `),t(30,"div",13),o(31,`
                    `),t(32,"label",20),o(33,"Description"),i(),o(34,`
                    `),t(35,"textarea",21),g("ngModelChange",function(n){return d(l),h(e.description,n)||(e.description=n),c(n)}),E("input",function(){return d(l),c(e.validateDescription())}),i(),o(36,`
                    `),_(37,Mt,2,0,"small",22),o(38,`
                    `),_(39,Tt,2,0,"small",22),o(40,`
                `),i(),o(41,`
            `),i(),o(42,`
        `),i(),o(43,`
        `),i(),t(44,"c-card-body")(45,"c-nav",23)(46,"c-nav-item")(47,"button",24),o(48," General "),i()(),t(49,"c-nav-item")(50,"button",24),o(51," Email Alert Configurations "),i()(),t(52,"c-nav-item")(53,"button",24),o(54," User action preferences "),i()(),t(55,"c-nav-item",25)(56,"button",24),o(57," Search "),i()(),t(58,"c-nav-item")(59,"button",24),o(60," Advanced "),i()()(),t(61,"c-tab-content",26,2)(63,"c-tab-pane",27)(64,"div",7)(65,"div",15)(66,"div",16)(67,"label",28),o(68,"Maximum number of Versions Allowed"),i(),t(69,"div",7)(70,"div",29)(71,"c-form-check",30)(72,"input",31),g("ngModelChange",function(n){return d(l),h(e.isVersionEnabled,n)||(e.isVersionEnabled=n),c(n)}),E("change",function(){return d(l),c(e.toggleVersion())}),i()()(),t(73,"div",32)(74,"input",33),g("ngModelChange",function(n){return d(l),h(e.versions,n)||(e.versions=n),c(n)}),E("blur",function(){return d(l),c(e.myFunctionVer())}),i(),t(75,"span",34),o(76),i()()()(),t(77,"div",16)(78,"label",35),o(79,"Maximum Permissible File Size (In MB)"),i(),t(80,"div",7)(81,"div",29)(82,"c-form-check",30)(83,"input",36),g("ngModelChange",function(n){return d(l),h(e.isSizeEnabled,n)||(e.isSizeEnabled=n),c(n)}),E("change",function(){return d(l),c(e.toggleSize())}),i()()(),t(84,"div",32)(85,"input",37),g("ngModelChange",function(n){return d(l),h(e.maxPermissibleFileSize,n)||(e.maxPermissibleFileSize=n),c(n)}),E("blur",function(){return d(l),c(e.myFunctionMPS())}),i(),t(86,"span",38),o(87),i()()()(),t(88,"div",16)(89,"label",39),o(90,"Per Asset Backup Storage Limit (In GB)"),i(),t(91,"div",7)(92,"div",29)(93,"c-form-check",30)(94,"input",40),g("ngModelChange",function(n){return d(l),h(e.isLimitEnabled,n)||(e.isLimitEnabled=n),c(n)}),E("change",function(){return d(l),c(e.toggleLimit())}),i()()(),t(95,"div",32)(96,"input",41),g("ngModelChange",function(n){return d(l),h(e.perUserBackupStorageLimit,n)||(e.perUserBackupStorageLimit=n),c(n)}),E("blur",function(){return d(l),c(e.myFunctionUBS())}),i(),t(97,"span",42),o(98),i()()()()()(),t(99,"div",7)(100,"div",15)(101,"legend",43),o(102,"Asset Information"),i(),t(103,"div",16)(104,"label",44),o(105,"Maximum Assets Allowed"),i(),t(106,"input",45),g("ngModelChange",function(n){return d(l),h(e.noOfDevicesAllowed,n)||(e.noOfDevicesAllowed=n),c(n)}),E("blur",function(){return d(l),c(e.myFunctionDevice())}),i(),t(107,"span",46),o(108),i()(),t(109,"div",47)(110,"label",48),o(111,"Operating System Type"),i(),t(112,"select",49),g("ngModelChange",function(n){return d(l),h(e.osType,n)||(e.osType=n),c(n)}),t(113,"option",50),o(114,"Universal"),i()()(),t(115,"div",47)(116,"label",51),o(117,"Memory Utilization (In MB)"),i(),t(118,"input",52),g("ngModelChange",function(n){return d(l),h(e.memoryUtilization,n)||(e.memoryUtilization=n),c(n)}),i()(),t(119,"div",47)(120,"label",53),o(121,"CPU Utilization (In Percentage)"),i(),t(122,"input",54),g("ngModelChange",function(n){return d(l),h(e.cpuUtilization,n)||(e.cpuUtilization=n),c(n)}),i()(),t(123,"div",47)(124,"label",55),o(125,"DCM Enabled"),i(),t(126,"select",56),g("ngModelChange",function(n){return d(l),h(e.dcmEnabled,n)||(e.dcmEnabled=n),c(n)}),t(127,"option",57),o(128,"Enabled"),i(),t(129,"option",58),o(130,"Disabled"),i()()(),t(131,"div",47)(132,"label",59),o(133,"Client Dedup"),i(),t(134,"select",60),g("ngModelChange",function(n){return d(l),h(e.clientDedup,n)||(e.clientDedup=n),c(n)}),t(135,"option",61),o(136,"Enabled"),i(),t(137,"option",62),o(138,"Disabled"),i()()(),t(139,"div",47)(140,"label",63),o(141,"Maximun File Size For Backup Batch"),i(),w(142,"input",64),i()()(),t(143,"div",7)(144,"div",15)(145,"legend",43),o(146,"Filters "),t(147,"a",65),w(148,"i",66),i()(),t(149,"div",16)(150,"label",67),o(151,"Filters - "),t(152,"a",68),E("click",function(){return d(l),c(e.addNewFilter())}),o(153,"Create New Filter"),i()(),w(154,"br"),t(155,"label",67),o(156,"Filter type"),i(),t(157,"select",69),g("ngModelChange",function(n){return d(l),h(e.filterType,n)||(e.filterType=n),c(n)}),E("change",function(n){return d(l),c(e.onSelectChangeFilterType(n))}),t(158,"option",70),o(159,"Inclusion"),i(),t(160,"option",71),o(161,"Exclusion"),i()(),t(162,"div",72),_(163,kt,3,0,"h5",73)(164,Ft,3,0,"h5",74),t(165,"mat-form-field",75)(166,"mat-select",76),g("ngModelChange",function(n){return d(l),h(e.checkedListFilter,n)||(e.checkedListFilter=n),c(n)}),E("selectionChange",function(){return d(l),c(e.onFilterChange())}),_(167,Pt,2,2,"mat-option",77),i()()()()(),t(168,"div",78),w(169,"br")(170,"br"),_(171,Bt,20,1,"div",79),i()()(),t(172,"c-tab-pane",27)(173,"div",7)(174,"div",80)(175,"legend",43),o(176,"Email Alert Configurations"),i()(),t(177,"div",81)(178,"div",16)(179,"select",82),g("ngModelChange",function(n){return d(l),h(e.createUserAdmins,n)||(e.createUserAdmins=n),c(n)}),E("change",function(){return d(l),c(e.updateOutput())}),t(180,"option",83),o(181,"Enabled"),i(),t(182,"option",84),o(183,"Disabled"),i()()()(),t(184,"div",81)(185,"div",16)(186,"select",85),g("ngModelChange",function(n){return d(l),h(e.createUserReadonlyadmins,n)||(e.createUserReadonlyadmins=n),c(n)}),E("change",function(){return d(l),c(e.updateOutput())}),t(187,"option",86),o(188,"Enabled"),i(),t(189,"option",84),o(190,"Disabled"),i()()()(),t(191,"div",8)(192,"div",16)(193,"label",87),o(194,"User Created"),i(),t(195,"select",88),g("ngModelChange",function(n){return d(l),h(e.createUserUsers,n)||(e.createUserUsers=n),c(n)}),E("change",function(){return d(l),c(e.updateOutput())}),t(196,"option",89),o(197,"Enabled"),i(),t(198,"option",90),o(199,"Disabled"),i()()()(),t(200,"div",81)(201,"div",16)(202,"select",91),g("ngModelChange",function(n){return d(l),h(e.userDeletedAdmins,n)||(e.userDeletedAdmins=n),c(n)}),E("change",function(){return d(l),c(e.updateOutput())}),t(203,"option",83),o(204,"Enabled"),i(),t(205,"option",84),o(206,"Disabled"),i()()()(),t(207,"div",81)(208,"div",16)(209,"select",92),g("ngModelChange",function(n){return d(l),h(e.userDeletedReadonlyadmins,n)||(e.userDeletedReadonlyadmins=n),c(n)}),E("change",function(){return d(l),c(e.updateOutput())}),t(210,"option",86),o(211,"Enabled"),i(),t(212,"option",84),o(213,"Disabled"),i()()()(),t(214,"div",8)(215,"div",16)(216,"label",93),o(217,"User Deleted"),i(),t(218,"select",94),g("ngModelChange",function(n){return d(l),h(e.userDeletedUsers,n)||(e.userDeletedUsers=n),c(n)}),E("change",function(){return d(l),c(e.updateOutput())}),t(219,"option",89),o(220,"Enabled"),i(),t(221,"option",90),o(222,"Disabled"),i()()()(),t(223,"div",81)(224,"div",16)(225,"select",95),g("ngModelChange",function(n){return d(l),h(e.userBlockedAdmins,n)||(e.userBlockedAdmins=n),c(n)}),E("change",function(){return d(l),c(e.updateOutput())}),t(226,"option",83),o(227,"Enabled"),i(),t(228,"option",84),o(229,"Disabled"),i()()()(),t(230,"div",81)(231,"div",16)(232,"select",96),g("ngModelChange",function(n){return d(l),h(e.userBlockedReadonlyadmins,n)||(e.userBlockedReadonlyadmins=n),c(n)}),E("change",function(){return d(l),c(e.updateOutput())}),t(233,"option",86),o(234,"Enabled"),i(),t(235,"option",84),o(236,"Disabled"),i()()()(),t(237,"div",8)(238,"div",16)(239,"label",97),o(240,"User Blocked"),i(),t(241,"select",98),g("ngModelChange",function(n){return d(l),h(e.userBlockedUsers,n)||(e.userBlockedUsers=n),c(n)}),E("change",function(){return d(l),c(e.updateOutput())}),t(242,"option",89),o(243,"Enabled"),i(),t(244,"option",90),o(245,"Disabled"),i()()()(),t(246,"div",81)(247,"div",16)(248,"select",99),g("ngModelChange",function(n){return d(l),h(e.userLimitReachedAdmins,n)||(e.userLimitReachedAdmins=n),c(n)}),E("change",function(){return d(l),c(e.updateOutput())}),t(249,"option",83),o(250,"Enabled"),i(),t(251,"option",84),o(252,"Disabled"),i()()()(),t(253,"div",81)(254,"div",16)(255,"select",100),g("ngModelChange",function(n){return d(l),h(e.userLimitReachedReadonlyadmins,n)||(e.userLimitReachedReadonlyadmins=n),c(n)}),E("change",function(){return d(l),c(e.updateOutput())}),t(256,"option",86),o(257,"Enabled"),i(),t(258,"option",84),o(259,"Disabled"),i()()()(),t(260,"div",81)(261,"div",16)(262,"label",101),o(263,"User Limit Reached"),i(),t(264,"select",102),g("ngModelChange",function(n){return d(l),h(e.userLimitReachedUsers,n)||(e.userLimitReachedUsers=n),c(n)}),E("change",function(){return d(l),c(e.updateOutput())}),t(265,"option",89),o(266,"Enabled"),i(),t(267,"option",90),o(268,"Disabled"),i()()()()()(),t(269,"c-tab-pane",27)(270,"div",7)(271,"div",80)(272,"legend",43),o(273,"Agent "),t(274,"a",103),w(275,"i",66),i()()(),t(276,"div",8)(277,"div",16)(278,"label",104),o(279,"My Backup Files"),i(),t(280,"select",105),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.BACKUP_FILES,n)||(e.preferencesEdit.BACKUP_FILES=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(281,"option",61),o(282,"Enabled"),i(),t(283,"option",62),o(284,"Disabled"),i()()(),t(285,"div",16)(286,"label",104),o(287,"Settings"),i(),t(288,"select",106),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.BACKUP_SETTINGS,n)||(e.preferencesEdit.BACKUP_SETTINGS=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(289,"option",61),o(290,"Enabled"),i(),t(291,"option",62),o(292,"Disabled"),i()()(),t(293,"div",16)(294,"label",104),o(295,"Initiate Backup"),i(),t(296,"select",107),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.INTIATE_BACKUP,n)||(e.preferencesEdit.INTIATE_BACKUP=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(297,"option",61),o(298,"Enabled"),i(),t(299,"option",62),o(300,"Disabled"),i()()(),t(301,"div",16)(302,"label",104),o(303,"Stop Backup"),i(),t(304,"select",108),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.STOP_BACKUP,n)||(e.preferencesEdit.STOP_BACKUP=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(305,"option",61),o(306,"Enabled"),i(),t(307,"option",62),o(308,"Disabled"),i()()(),t(309,"div",16)(310,"label",104),o(311,"Support"),i(),t(312,"select",109),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.SUPPORT,n)||(e.preferencesEdit.SUPPORT=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(313,"option",61),o(314,"Enabled"),i(),t(315,"option",62),o(316,"Disabled"),i()()(),t(317,"div",16)(318,"label",110),o(319,"About"),i(),t(320,"select",111),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.ABOUT,n)||(e.preferencesEdit.ABOUT=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(321,"option",61),o(322,"Enabled"),i(),t(323,"option",62),o(324,"Disabled"),i()()(),t(325,"div",47)(326,"label",112),o(327,"Block Notifications"),i(),t(328,"select",113),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.BLOCK_NOTIFICATIONS,n)||(e.preferencesEdit.BLOCK_NOTIFICATIONS=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(329,"option",57),o(330,"Enabled"),i(),t(331,"option",58),o(332,"Disabled"),i()()(),t(333,"div",16)(334,"label",114),o(335,"Systray Icon"),i(),t(336,"select",115),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.SYSTRAYICON,n)||(e.preferencesEdit.SYSTRAYICON=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(337,"option",61),o(338,"Enabled"),i(),t(339,"option",62),o(340,"Disabled"),i()()()(),t(341,"div",8)(342,"div",16)(343,"label",104),o(344,"Restore"),i(),t(345,"select",116),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.RESTORE,n)||(e.preferencesEdit.RESTORE=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(346,"option",61),o(347,"Enabled"),i(),t(348,"option",62),o(349,"Disabled"),i()()(),t(350,"div",16)(351,"label",104),o(352,"Refresh Policy"),i(),t(353,"select",117),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.REFRESH_BACKUP_POLICY,n)||(e.preferencesEdit.REFRESH_BACKUP_POLICY=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(354,"option",61),o(355,"Enabled"),i(),t(356,"option",62),o(357,"Disabled"),i()()(),t(358,"div",16)(359,"label",118),o(360,"Pause Backup"),i(),t(361,"select",119),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.PAUSE_BACKUP,n)||(e.preferencesEdit.PAUSE_BACKUP=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(362,"option",61),o(363,"Enabled"),i(),t(364,"option",62),o(365,"Disabled"),i()()(),t(366,"div",16)(367,"label",120),o(368,"Update Agent"),i(),t(369,"select",121),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.UPDATE_AGENT,n)||(e.preferencesEdit.UPDATE_AGENT=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(370,"option",61),o(371,"Enabled"),i(),t(372,"option",62),o(373,"Disabled"),i()()(),t(374,"div",16)(375,"label",104),o(376,"Decouple"),i(),t(377,"select",122),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.DECOUPLE,n)||(e.preferencesEdit.DECOUPLE=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(378,"option",61),o(379,"Enabled"),i(),t(380,"option",62),o(381,"Disabled"),i()()(),t(382,"div",16)(383,"label",104),o(384,"Network Settings"),i(),t(385,"select",123),E("change",function(){return d(l),c(e.updatePreferences())}),t(386,"option",61),o(387,"Enabled"),i(),t(388,"option",62),o(389,"Disabled"),i()()(),t(390,"div",124)(391,"label",125),o(392,"Disallow Admin Restores"),i(),t(393,"select",126),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.DISALLOW_ADMIN_RESTORES,n)||(e.preferencesEdit.DISALLOW_ADMIN_RESTORES=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(394,"option",57),o(395,"Enabled"),i(),t(396,"option",58),o(397,"Disabled"),i()()(),t(398,"div",16)(399,"label",104),o(400,"Exit"),i(),t(401,"select",127),g("ngModelChange",function(n){return d(l),h(e.preferencesEdit.EXIT,n)||(e.preferencesEdit.EXIT=n),c(n)}),E("change",function(){return d(l),c(e.updatePreferences())}),t(402,"option",61),o(403,"Enabled"),i(),t(404,"option",62),o(405,"Disabled"),i()()()()(),t(406,"div",7)(407,"div",128)(408,"legend",43),o(409,"Portal "),t(410,"a",129),w(411,"i",66),i()(),t(412,"div",8)(413,"div",130)(414,"label",131),o(415,"Open"),i(),t(416,"select",132),g("ngModelChange",function(n){return d(l),h(e.menuOptionsEdit.open,n)||(e.menuOptionsEdit.open=n),c(n)}),E("change",function(){return d(l),c(e.updateMenuOptions())}),t(417,"option",61),o(418,"Enabled"),i(),t(419,"option",62),o(420,"Disabled"),i()()(),t(421,"div",133)(422,"label",134),o(423,"Versions"),i(),t(424,"select",135),g("ngModelChange",function(n){return d(l),h(e.menuOptionsEdit.versions,n)||(e.menuOptionsEdit.versions=n),c(n)}),E("change",function(){return d(l),c(e.updateMenuOptions())}),t(425,"option",61),o(426,"Enabled"),i(),t(427,"option",62),o(428,"Disabled"),i()()(),t(429,"div",136)(430,"label",137),o(431,"Download"),i(),t(432,"select",138),g("ngModelChange",function(n){return d(l),h(e.menuOptionsEdit.download,n)||(e.menuOptionsEdit.download=n),c(n)}),E("change",function(){return d(l),c(e.updateMenuOptions())}),t(433,"option",61),o(434,"Enabled"),i(),t(435,"option",62),o(436,"Disabled"),i()()()(),t(437,"div",8)(438,"div",139)(439,"label",140),o(440,"View"),i(),t(441,"select",141),g("ngModelChange",function(n){return d(l),h(e.menuOptionsEdit.view,n)||(e.menuOptionsEdit.view=n),c(n)}),E("change",function(){return d(l),c(e.updateMenuOptions())}),t(442,"option",61),o(443,"Enabled"),i(),t(444,"option",62),o(445,"Disabled"),i()()(),t(446,"div",142)(447,"label",143),o(448,"Share"),i(),t(449,"select",144),g("ngModelChange",function(n){return d(l),h(e.menuOptionsEdit.share,n)||(e.menuOptionsEdit.share=n),c(n)}),E("change",function(){return d(l),c(e.updateMenuOptions())}),t(450,"option",57),o(451,"Enabled"),i(),t(452,"option",58),o(453,"Disabled"),i()()(),t(454,"div",145)(455,"label",146),o(456,"Restore"),i(),t(457,"select",147),g("ngModelChange",function(n){return d(l),h(e.menuOptionsEdit.restore,n)||(e.menuOptionsEdit.restore=n),c(n)}),E("change",function(){return d(l),c(e.updateMenuOptions())}),t(458,"option",61),o(459,"Enabled"),i(),t(460,"option",62),o(461,"Disabled"),i()()()()()(),t(462,"div",148)(463,"div",80)(464,"legend",43),o(465,"Share Details"),i(),t(466,"div",149)(467,"div",16)(468,"div",150),w(469,"input",151),t(470,"label",152),o(471,"Enable Domain Control"),i()()(),t(472,"div",7)(473,"div",153)(474,"label",154),o(475,"Share Domain Inclusions/Exclusions"),i(),w(476,"input",155),i(),t(477,"div",156)(478,"div",157),w(479,"input",158),t(480,"label",159),o(481,"Share only with these Email domains"),i(),w(482,"br")(483,"input",160),t(484,"label",159),o(485,"Share with all Email domains excepting these"),i()()()()(),t(486,"div",161)(487,"div",162)(488,"label",163),w(489,"input",164)(490,"div",165),i()(),t(491,"span",166),o(492,"Allow sharer visibility to the shared link"),i()(),t(493,"div",149)(494,"div",16)(495,"div",150),w(496,"input",167),t(497,"label",168),o(498,"Highly Secure Sharing"),i()()(),t(499,"div",128)(500,"div",169)(501,"div",170)(502,"label",163),w(503,"input",171)(504,"div",165),i()(),t(505,"span",166),o(506,"Complex Password"),i()(),t(507,"div",169)(508,"div",172)(509,"label",163),w(510,"input",173)(511,"div",165),i()(),t(512,"span",166),o(513,"Allow Download"),i()(),t(514,"div",169)(515,"div",174)(516,"label",163),w(517,"input",175)(518,"div",165),i()(),t(519,"span",166),o(520,"Require Expiration Date for shared data"),i()(),t(521,"div",169)(522,"div",176)(523,"label",163),w(524,"input",177)(525,"div",165),i()(),t(526,"span",166),o(527,"Enable multi-factor authentication"),i()()()()()()(),t(528,"c-tab-pane",27)(529,"div",7)(530,"div",80)(531,"legend",43),o(532,"Search "),t(533,"a",178),w(534,"i",66),i()(),t(535,"div",8)(536,"div",179)(537,"label",180),o(538,"Content Index"),i(),t(539,"select",181),g("ngModelChange",function(n){return d(l),h(e.contentIndexEnabled,n)||(e.contentIndexEnabled=n),c(n)}),t(540,"option",61),o(541,"Enabled"),i(),t(542,"option",62),o(543,"Disabled"),i()()()()()(),t(544,"div",7)(545,"div",15)(546,"legend",43),o(547,"Search Filters"),i(),t(548,"div",16)(549,"label",182),o(550,"filters - "),t(551,"a",183),E("click",function(){return d(l),c(e.addNewFilter())}),o(552,"Create New Filter"),i()(),w(553,"br"),t(554,"label",67),o(555,"Filter type"),i(),t(556,"select",184),g("ngModelChange",function(n){return d(l),h(e.searchFilterType,n)||(e.searchFilterType=n),c(n)}),E("change",function(n){return d(l),c(e.onSelectChangeSearchFilterType(n))}),t(557,"option",70),o(558,"Inclusion"),i(),t(559,"option",71),o(560,"Exclusion"),i()()(),t(561,"div",72),_(562,At,3,0,"h5",185)(563,Vt,3,0,"h5",186),t(564,"mat-form-field",187)(565,"mat-select",188),g("ngModelChange",function(n){return d(l),h(e.checkedListSearchFilter,n)||(e.checkedListSearchFilter=n),c(n)}),E("selectionChange",function(){return d(l),c(e.onSearchFilterChange())}),_(566,xt,2,2,"mat-option",77),i()()()(),t(567,"div",78),w(568,"br")(569,"br"),_(570,Lt,13,0,"div",79),i()()(),t(571,"c-tab-pane",27)(572,"div",7)(573,"div",15)(574,"legend",189),o(575,"partialFileAttributes"),i(),t(576,"div",190)(577,"label",191),o(578,"incrementalFileTransfer"),i(),t(579,"select",192)(580,"option",61),o(581,"Enabled"),i(),t(582,"option",62),o(583,"Disabled"),i()()(),w(584,"br"),t(585,"legend",43),o(586,"Throttling Attributes"),i(),t(587,"div",16)(588,"fieldset",193)(589,"label",194),o(590,"Throttle traffic at endpoint agent to"),i(),t(591,"div",195)(592,"c-form-check",30)(593,"input",196),g("ngModelChange",function(n){return d(l),h(e.isThrottleEnabled,n)||(e.isThrottleEnabled=n),c(n)}),E("change",function(){return d(l),c(e.toggleThrottle())}),i()()(),t(594,"div",7)(595,"div",8)(596,"input",197),g("ngModelChange",function(n){return d(l),h(e.nwFromClientToPGMB,n)||(e.nwFromClientToPGMB=n),c(n)}),E("blur",function(){return d(l),c(e.validateInput())}),i(),t(597,"span",198),o(598),i(),t(599,"span",199),o(600),i()(),t(601,"div",8)(602,"select",200),g("ngModelChange",function(n){return d(l),h(e.networkThrottlingUnit,n)||(e.networkThrottlingUnit=n),c(n)}),E("change",function(){return d(l),c(e.onUnitChange())}),t(603,"option",201),o(604,"Kbps"),i(),t(605,"option",202),o(606,"Mbps"),i(),t(607,"option",203),o(608,"Gbps"),i()()()()()(),t(609,"div",204)(610,"label",205),o(611,"CPU Throttling"),i(),w(612,"br"),t(613,"div",206)(614,"input",207),g("ngModelChange",function(n){return d(l),h(e.cpuThrottling,n)||(e.cpuThrottling=n),c(n)}),E("input",function(n){return d(l),c(e.onSliderChange(n))}),i(),t(615,"p"),o(616,"Value: "),t(617,"span",208),o(618),i()()()(),t(619,"div",47)(620,"label",209),o(621,"nwFromPGToCloud (In MBPS)"),i(),w(622,"input",210),i(),t(623,"div",47)(624,"label",211),o(625,"filesCrawlLimit"),i(),w(626,"input",212),i(),t(627,"div",47)(628,"label",213),o(629,"networkThrottling"),i(),t(630,"select",214)(631,"option",61),o(632,"Enabled"),i(),t(633,"option",62),o(634,"Disabled"),i()()()(),t(635,"div",215),w(636,"br")(637,"br"),t(638,"div",216)(639,"div",80)(640,"div",217)(641,"div",218)(642,"div",16)(643,"label",219),o(644,"partialFileSize (In MB)"),i(),w(645,"input",220),i(),t(646,"div",16)(647,"label",221),o(648,"fileChunkableSize (In MB)"),i(),w(649,"input",222),i()()()()()()(),t(650,"div",7)(651,"div",15)(652,"legend",43),o(653,"Options"),i(),t(654,"div",128)(655,"div",223)(656,"c-form-check",30)(657,"input",224),g("ngModelChange",function(n){return d(l),h(e.legalHold,n)||(e.legalHold=n),c(n)}),i()()(),t(658,"span",225),o(659,"Legal Hold"),i()(),t(660,"div",16)(661,"div",150)(662,"span",226),w(663,"input",227),t(664,"label",228),o(665,"System Folders"),i()()()(),_(666,Ut,6,4,"div",229),t(667,"div",204)(668,"label",230),o(669,"Block assets which have not been heard from in"),i(),t(670,"div",7)(671,"div",29)(672,"c-form-check",30)(673,"input",231),g("ngModelChange",function(n){return d(l),h(e.switchnoOfDaysToKeepDeviceNotHeard,n)||(e.switchnoOfDaysToKeepDeviceNotHeard=n),c(n)}),E("change",function(){return d(l),c(e.toggleDeviceNotHeard())}),i()()(),t(674,"div",232)(675,"input",233),g("ngModelChange",function(n){return d(l),h(e.noOfDaysToKeepDeviceNotHeard,n)||(e.noOfDaysToKeepDeviceNotHeard=n),c(n)}),E("blur",function(){return d(l),c(e.myFunctionnoOfDaysToKeepDeviceNotHeard())}),i(),t(676,"span",234),o(677),i()(),t(678,"div",235)(679,"label"),o(680,"days"),i()()()(),t(681,"div",204)(682,"label",236),o(683,"Delete users/assets which have not been active for"),i(),t(684,"div",7)(685,"div",29)(686,"c-form-check",30)(687,"input",237),g("ngModelChange",function(n){return d(l),h(e.switchnoOfDaysToKeepUserDeviceNotActive,n)||(e.switchnoOfDaysToKeepUserDeviceNotActive=n),c(n)}),E("change",function(){return d(l),c(e.toggleDeviceNotActive())}),i()()(),t(688,"div",232)(689,"input",238),g("ngModelChange",function(n){return d(l),h(e.noOfDaysToKeepUserDeviceNotActive,n)||(e.noOfDaysToKeepUserDeviceNotActive=n),c(n)}),E("blur",function(){return d(l),c(e.myFunctionnoOfDaysToKeepUserDeviceNotActive())}),i(),t(690,"span",239),o(691),i()(),t(692,"div",235)(693,"label"),o(694,"days"),i()()()(),t(695,"div",47)(696,"label",240),o(697,"Number of threads allowed for Backup"),i(),t(698,"input",241),g("ngModelChange",function(n){return d(l),h(e.numberOfThreadsAllowedForBackup,n)||(e.numberOfThreadsAllowedForBackup=n),c(n)}),i()(),t(699,"div",16)(700,"label",242),o(701,"Web Based Login"),i(),t(702,"select",243),g("ngModelChange",function(n){return d(l),h(e.webBasedLogin,n)||(e.webBasedLogin=n),c(n)}),t(703,"option",61),o(704,"Enabled"),i(),t(705,"option",62),o(706,"Disabled"),i()()(),t(707,"div",244)(708,"label",245),o(709,"Can Administrator Restore User Data"),i(),t(710,"select",246),g("ngModelChange",function(n){return d(l),h(e.canAdminRestoreAll,n)||(e.canAdminRestoreAll=n),c(n)}),E("ngModelChange",function(){return d(l),c(e.flipAllowEndUserTocontrolRestore())}),t(711,"option",247),o(712,"Yes"),i(),t(713,"option",247),o(714,"No"),i()()(),t(715,"div",248)(716,"label",249),o(717,"Allow end-user over-ride"),i(),t(718,"select",250),g("ngModelChange",function(n){return d(l),h(e.allowEndUserTocontrolRestore,n)||(e.allowEndUserTocontrolRestore=n),c(n)}),t(719,"option",247),o(720,"Yes"),i(),t(721,"option",247),o(722,"No"),i()()(),t(723,"div",244)(724,"label",251),o(725,"Can Administrator Delete User Data"),i(),t(726,"select",252),g("ngModelChange",function(n){return d(l),h(e.isAdminDeleteBackupFile,n)||(e.isAdminDeleteBackupFile=n),c(n)}),t(727,"option",247),o(728,"Yes"),i(),t(729,"option",247),o(730,"No"),i()()(),_(731,Nt,8,1,"div",253)(732,It,10,1,"div",253),t(733,"div",47)(734,"label",254),o(735,"Compression Enabled"),i(),t(736,"select",255),g("ngModelChange",function(n){return d(l),h(e.compEnabled,n)||(e.compEnabled=n),c(n)}),t(737,"option",61),o(738,"Enabled"),i(),t(739,"option",62),o(740,"Disabled"),i()()(),t(741,"div",256)(742,"label",257),o(743,"VSS"),i(),t(744,"select",258),g("ngModelChange",function(n){return d(l),h(e.vssEnabled,n)||(e.vssEnabled=n),c(n)}),t(745,"option",61),o(746,"Enabled"),i(),t(747,"option",62),o(748,"Disabled"),i()()(),t(749,"div",259)(750,"label",260),o(751,"Blukrypt Search Algorithm"),i(),t(752,"select",261),g("ngModelChange",function(n){return d(l),h(e.searchAlgorithm,n)||(e.searchAlgorithm=n),c(n)}),E("change",function(){return d(l),c(e.onSearchAlgorithmChange())}),t(753,"option",262),o(754,"Nearest"),i(),t(755,"option",263),o(756,"Priority"),i()()(),_(757,Rt,7,4,"div",264),t(758,"div",16)(759,"label",265),o(760,"Policy Refresh Frequency (In Hours)"),i(),t(761,"input",266),g("ngModelChange",function(n){return d(l),h(e.policyRefresh,n)||(e.policyRefresh=n),c(n)}),i()(),t(762,"div",47)(763,"label",267),o(764,"Capture Unaccessed Items"),i(),t(765,"div",32)(766,"label",163)(767,"input",268),g("ngModelChange",function(n){return d(l),h(e.switchlogUnaccessedFiles,n)||(e.switchlogUnaccessedFiles=n),c(n)}),i(),w(768,"div",165),i()()(),t(769,"div",16)(770,"fieldset",193)(771,"label",269),o(772,"Endpoint Domain Check"),i(),t(773,"div",32)(774,"c-form-check",30)(775,"input",270),g("ngModelChange",function(n){return d(l),h(e.switchAllowedDomains,n)||(e.switchAllowedDomains=n),c(n)}),i()()(),t(776,"div",80)(777,"label",271),o(778,"Allowed Domains"),i(),t(779,"input",272),g("ngModelChange",function(n){return d(l),h(e.allowedDomains,n)||(e.allowedDomains=n),c(n)}),i()()()(),t(780,"div",16)(781,"label",273),o(782,"Auto Update Agent"),i(),t(783,"select",274),g("ngModelChange",function(n){return d(l),h(e.autoUpdateAgent,n)||(e.autoUpdateAgent=n),c(n)}),t(784,"option",57),o(785,"Enabled"),i(),t(786,"option",58),o(787,"Disabled"),i()()(),t(788,"div",16)(789,"div",72)(790,"label",275),o(791,"Agent uninstallation password"),i(),t(792,"div",29)(793,"c-form-check",30)(794,"input",276),g("ngModelChange",function(n){return d(l),h(e.isPasswordEnabled,n)||(e.isPasswordEnabled=n),c(n)}),E("ngModelChange",function(){return d(l),c(e.togglePasswordFields())}),i()()(),t(795,"div",277)(796,"input",278),g("ngModelChange",function(n){return d(l),h(e.agentPassword,n)||(e.agentPassword=n),c(n)}),i(),t(797,"span",279),E("mousedown",function(){return d(l),c(e.showPassword("agentPassword"))})("mouseup",function(){return d(l),c(e.hidePassword("agentPassword"))})("mouseleave",function(){return d(l),c(e.hidePassword("agentPassword"))}),i(),_(798,Kt,3,0,"div",10),t(799,"input",280),g("ngModelChange",function(n){return d(l),h(e.agentRePassword,n)||(e.agentRePassword=n),c(n)}),E("ngModelChange",function(){return d(l),c(e.checkPasswordsMatch())}),i(),_(800,zt,3,0,"div",10),i()()(),t(801,"div",16)(802,"label",281),o(803,"Backup Hidden Files"),i(),t(804,"select",282),g("ngModelChange",function(n){return d(l),h(e.canBackupHiddenFiles,n)||(e.canBackupHiddenFiles=n),c(n)}),t(805,"option",61),o(806,"Enabled"),i(),t(807,"option",62),o(808,"Disabled"),i()()(),t(809,"div",283)(810,"span",284)(811,"p"),o(812,"Fairness Algorithm"),i()(),t(813,"div",285)(814,"label",163),w(815,"input",286)(816,"div",165),i()(),t(817,"div",32),w(818,"input",287)(819,"span",38),i()(),t(820,"div",16)(821,"label",288),o(822,"Enable Download Agent"),i(),t(823,"a",289),w(824,"i",66),i(),t(825,"select",290),g("ngModelChange",function(n){return d(l),h(e.downloadAgent,n)||(e.downloadAgent=n),c(n)}),t(826,"option",61),o(827,"Enabled"),i(),t(828,"option",62),o(829,"Disabled"),i()()(),t(830,"div",16)(831,"span",7)(832,"p"),o(833,"Purge deleted files from the catalog after"),i()(),t(834,"div",291)(835,"div",292)(836,"c-form-check",30)(837,"input",293),g("ngModelChange",function(n){return d(l),h(e.switchnoOfDaysToKeepDeletedFiles,n)||(e.switchnoOfDaysToKeepDeletedFiles=n),c(n)}),E("change",function(){return d(l),c(e.toggleDeletedFiles())}),i()()(),t(838,"div",8)(839,"input",294),g("ngModelChange",function(n){return d(l),h(e.noOfDaysToKeepDeletedFiles,n)||(e.noOfDaysToKeepDeletedFiles=n),c(n)}),E("blur",function(){return d(l),c(e.myFunctionnoOfDaysToKeepDeletedFiles())}),i(),t(840,"span",295),o(841),i()(),t(842,"div",29),o(843," days "),i()(),t(844,"div",16)(845,"span",7)(846,"p"),o(847,"User Consent Display Text"),i()(),t(848,"div",291)(849,"div",292)(850,"c-form-check",30)(851,"input",296),g("ngModelChange",function(n){return d(l),h(e.switchuserConsentEnabled,n)||(e.switchuserConsentEnabled=n),c(n)}),i()()(),t(852,"div",277)(853,"textarea",297),g("ngModelChange",function(n){return d(l),h(e.userConsentDisplayText,n)||(e.userConsentDisplayText=n),c(n)}),i()()()()(),t(854,"div",7)(855,"div",232)(856,"label",298),o(857,"Enable Pre Scan Command"),i(),w(858,"br"),t(859,"c-form-check",30)(860,"input",299),g("ngModelChange",function(n){return d(l),h(e.preScanCommandEnabled,n)||(e.preScanCommandEnabled=n),c(n)}),E("change",function(){return d(l),c(e.togglePreScan())}),i()()(),t(861,"div",300)(862,"label",301),o(863,"Pre Scan Command Path"),i(),t(864,"input",302),g("ngModelChange",function(n){return d(l),h(e.preScanCommand,n)||(e.preScanCommand=n),c(n)}),i()(),t(865,"div",303)(866,"div",16)(867,"label",304),o(868,"Continue backup on command-failure"),i(),t(869,"input",305),g("ngModelChange",function(n){return d(l),h(e.continueOnPreScan,n)||(e.continueOnPreScan=n),c(n)}),i()()()(),t(870,"div",7)(871,"div",232)(872,"label",306),o(873,"Enable Pre Backup Command"),i(),w(874,"br"),t(875,"c-form-check",30)(876,"input",307),g("ngModelChange",function(n){return d(l),h(e.preBackupCommandEnabled,n)||(e.preBackupCommandEnabled=n),c(n)}),E("change",function(){return d(l),c(e.togglePreBackup())}),i()()(),t(877,"div",300)(878,"label",308),o(879,"Pre Backup Command Path"),i(),t(880,"input",309),g("ngModelChange",function(n){return d(l),h(e.preBackupCommand,n)||(e.preBackupCommand=n),c(n)}),i()(),t(881,"div",303)(882,"div",16)(883,"label",310),o(884,"Continue backup on command-failure"),i(),t(885,"input",311),g("ngModelChange",function(n){return d(l),h(e.continueOnPreBkp,n)||(e.continueOnPreBkp=n),c(n)}),i()()()(),t(886,"div",7)(887,"div",232)(888,"label",312),o(889,"Enable Post Backup Command"),i(),w(890,"br"),t(891,"c-form-check",30)(892,"input",313),g("ngModelChange",function(n){return d(l),h(e.postBackupCommandEnabled,n)||(e.postBackupCommandEnabled=n),c(n)}),E("change",function(){return d(l),c(e.togglePostBackup())}),i()()(),t(893,"div",300)(894,"label",314),o(895,"Post Backup Command Path"),i(),t(896,"input",315),g("ngModelChange",function(n){return d(l),h(e.postBackupCommand,n)||(e.postBackupCommand=n),c(n)}),i()(),t(897,"div",303)(898,"div",16)(899,"label",316),o(900,"Continue backup on command-failure"),i(),t(901,"input",317),g("ngModelChange",function(n){return d(l),h(e.continueOnPostBkp,n)||(e.continueOnPostBkp=n),c(n)}),i()()()(),t(902,"div",47)(903,"label",318),o(904,"Full Backup Enabled"),i(),t(905,"select",319)(906,"option",57),o(907,"Enabled"),i(),t(908,"option",58),o(909,"Disabled"),i()()(),t(910,"div",320)(911,"label",321),o(912,"Full Backup Start Date"),i(),w(913,"input",322),i()()(),t(914,"div",7)(915,"div",15)(916,"legend",43),o(917,"Password Enforcement "),t(918,"a",323),w(919,"i",66),i()(),t(920,"div",244)(921,"label",324),o(922,"Can User Change Password"),i(),t(923,"select",325),g("ngModelChange",function(n){return d(l),h(e.canUserChangePassword,n)||(e.canUserChangePassword=n),c(n)}),t(924,"option",61),o(925,"Enabled"),i(),t(926,"option",62),o(927,"Disabled"),i()()(),t(928,"div",244)(929,"label",326),o(930,"Can Admin Change User Password"),i(),t(931,"select",327),g("ngModelChange",function(n){return d(l),h(e.canAdminChangeUserPassword,n)||(e.canAdminChangeUserPassword=n),c(n)}),t(932,"option",57),o(933,"Enabled"),i(),t(934,"option",58),o(935,"Disabled"),i()()()()(),t(936,"div",7)(937,"div",80)(938,"div",328)(939,"p"),o(940," Grayed out options are currently controlled in Cloud Properties. Please speak to you Administrator or visit the Cloud Properties page to change their behavior. "),w(941,"br"),o(942,"Both password enforcement options cannot be disabled at same time. "),i()()()()()(),t(943,"div",7)(944,"div",8)(945,"button",329),o(946,"Submit"),i(),t(947,"a",330),E("click",function(){return d(l),c(e.sendMeTo("/pms/policy"))}),o(948,"Cancel"),i()()()()()()()(),t(949,"div",331)(950,"div",332)(951,"div",333)(952,"div",334)(953,"div",335)(954,"h4",336),o(955,"Configure SQL Server"),i(),t(956,"button",337)(957,"span",338),o(958,"\xD7"),i()()(),t(959,"div",339)(960,"div",204)(961,"label",340),o(962,"SQL Server User Name"),i(),w(963,"input",341),i(),t(964,"div",204)(965,"label",342),o(966,"SQL Server Password"),i(),w(967,"input",343)(968,"span",344),i(),t(969,"div",204)(970,"label",345),o(971,"Re-Type SQL Server Password"),i(),w(972,"input",346),i()(),t(973,"div",347)(974,"button",348),o(975,"Close"),i(),t(976,"button",349),o(977,"Save"),i()()()()(),t(978,"div",350)(979,"div",333)(980,"form",351)(981,"div",334)(982,"div",335)(983,"h4",336),o(984,"Confirm Add"),i(),t(985,"button",337)(986,"span",338),o(987,"\xD7"),i()()(),t(988,"div",339)(989,"p"),o(990,"Are you sure, you want to add the folder path"),i()(),t(991,"div",347)(992,"button",348),o(993,"Close"),i(),t(994,"button",352),o(995,"Save"),i()()()()()(),t(996,"div",353)(997,"div",333)(998,"form",354)(999,"div",334)(1e3,"div",335)(1001,"h4",336),o(1002,"Confirm Add"),i(),t(1003,"button",337)(1004,"span",338),o(1005,"\xD7"),i()()(),t(1006,"div",339)(1007,"p"),o(1008,"Are you sure, you want to add the folder path"),i()(),t(1009,"div",347)(1010,"button",348),o(1011,"Close"),i(),t(1012,"button",352),o(1013,"Save"),i()()()()()(),t(1014,"div",350)(1015,"div",333)(1016,"form",351)(1017,"div",334)(1018,"div",335)(1019,"h4",336),o(1020,"Confirm Add"),i(),t(1021,"button",337)(1022,"span",338),o(1023,"\xD7"),i()()(),t(1024,"div",339)(1025,"p"),o(1026,"Are you sure, you want to add the folder path"),i()(),t(1027,"div",347)(1028,"button",348),o(1029,"Close"),i(),t(1030,"button",352),o(1031,"Save"),i()()()()()(),t(1032,"div",353)(1033,"div",333)(1034,"form",354)(1035,"div",334)(1036,"div",335)(1037,"h4",336),o(1038,"Confirm Add"),i(),t(1039,"button",337)(1040,"span",338),o(1041,"\xD7"),i()()(),t(1042,"div",339)(1043,"p"),o(1044,"Are you sure, you want to add the folder path"),i()(),t(1045,"div",347)(1046,"button",348),o(1047,"Close"),i(),t(1048,"button",352),o(1049,"Save"),i()()()()()(),t(1050,"div",355)(1051,"div",333)(1052,"form",356)(1053,"div",334)(1054,"div",335)(1055,"h4",336),o(1056,"Confirm Add"),i(),t(1057,"button",337)(1058,"span",338),o(1059,"\xD7"),i()()(),t(1060,"div",339)(1061,"p"),o(1062,"Are you sure, you want to add the folder path"),i()(),t(1063,"div",347)(1064,"button",348),o(1065,"Close"),i(),t(1066,"button",352),o(1067,"Save"),i()()()()()()(),t(1068,"div",357)(1069,"div",358)(1070,"div",359)(1071,"div",335)(1072,"h4",360),o(1073,"Confirmation"),i()(),t(1074,"div",339)(1075,"h4"),o(1076,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),i()(),t(1077,"div",347)(1078,"button",361),E("click",function(){return d(l),c(e.closeConfFilterPopup())}),o(1079,"Cancel"),i(),t(1080,"button",362),E("click",function(){return d(l),c(e.getFilter())}),o(1081,"Ok"),i()()()()(),t(1082,"div",363)(1083,"div",358)(1084,"div",359)(1085,"div",364)(1086,"h4",360),o(1087,"Create Filter"),i(),t(1088,"a",365),E("click",function(){return d(l),c(e.closeCreateFilterModal())}),w(1089,"i",366),i()(),t(1090,"div",339)(1091,"div",16)(1092,"label",367),o(1093,"Filter Name"),i(),t(1094,"input",368),g("ngModelChange",function(n){return d(l),h(e.filterModel.filterName,n)||(e.filterModel.filterName=n),c(n)}),E("input",function(){return d(l),c(e.validateFilterName())}),i(),_(1095,qt,2,1,"small",22),i(),t(1096,"div",47)(1097,"label",369),o(1098,"Filter Type"),i(),t(1099,"select",370),g("ngModelChange",function(n){return d(l),h(e.filterModel.filterType,n)||(e.filterModel.filterType=n),c(n)}),t(1100,"option",371),o(1101,"Inclusion Filter"),i(),t(1102,"option",372),o(1103,"Exclusion Filter"),i()()(),t(1104,"div",16)(1105,"label",373),o(1106,"Select Filter Template"),i(),t(1107,"mat-form-field",75)(1108,"mat-select",374,3),g("ngModelChange",function(n){return d(l),h(e.checkedList,n)||(e.checkedList=n),c(n)}),E("selectionChange",function(){return d(l),c(e.onFilterCreateChange())}),_(1110,Ht,2,2,"mat-option",77),i()()(),t(1111,"div",16)(1112,"label",67),o(1113,"Filters"),i(),t(1114,"a",375),w(1115,"i",66),i(),t(1116,"div",376)(1117,"span",377),_(1118,Gt,4,1,"span",378),i(),t(1119,"input",379),g("ngModelChange",function(n){return d(l),h(e.newFilterExtensionCreate,n)||(e.newFilterExtensionCreate=n),c(n)}),E("blur",function(){return d(l),c(e.handleBlur())})("keyup.enter",function(){return d(l),c(e.handleKeyUp())}),i()(),w(1120,"br"),i()(),t(1121,"div",347)(1122,"button",361),E("click",function(){return d(l),c(e.closeCreateFilterModal())}),o(1123,"Close"),i(),t(1124,"button",380),E("click",function(){return d(l),c(e.submitCreateFilter())}),o(1125,"Save changes"),i()()()()(),t(1126,"div",381)(1127,"div",358)(1128,"div",359)(1129,"div",364)(1130,"h4",360),o(1131,"Edit Filter"),i(),t(1132,"a",365),E("click",function(){return d(l),c(e.closeEditFilterModal())}),w(1133,"i",366),i()(),t(1134,"div",339)(1135,"div",16)(1136,"label",367),o(1137,"Filter Name"),i(),t(1138,"input",382),g("ngModelChange",function(n){return d(l),h(e.filterEditModel.filterName,n)||(e.filterEditModel.filterName=n),c(n)}),i()(),t(1139,"div",47)(1140,"label",369),o(1141,"Filter Type"),i(),t(1142,"select",370),g("ngModelChange",function(n){return d(l),h(e.filterEditModel.filterType,n)||(e.filterEditModel.filterType=n),c(n)}),t(1143,"option",371),o(1144,"Inclusion Filter"),i(),t(1145,"option",372),o(1146,"Exclusion Filter"),i()()(),t(1147,"div",16)(1148,"label",373),o(1149,"Select Filter Template"),i(),t(1150,"mat-form-field",75)(1151,"mat-select",374,4),g("ngModelChange",function(n){return d(l),h(e.checkedList,n)||(e.checkedList=n),c(n)}),E("selectionChange",function(){return d(l),c(e.onFilterChangeEdit())}),_(1153,Yt,2,2,"mat-option",77),i()()(),t(1154,"div",16)(1155,"label",67),o(1156,"Filters"),i(),t(1157,"a",383),w(1158,"i",66),i(),w(1159,"br"),t(1160,"div",384),_(1161,jt,4,1,"span",385),t(1162,"input",386),g("ngModelChange",function(n){return d(l),h(e.newFilterExtensionEdit,n)||(e.newFilterExtensionEdit=n),c(n)}),E("blur",function(){return d(l),c(e.handleBlurEdit())})("keyup.enter",function(){return d(l),c(e.handleKeyUpEdit())}),i()()()(),t(1163,"div",347)(1164,"button",361),E("click",function(){return d(l),c(e.closeEditFilterModal())}),o(1165,"Close"),i(),t(1166,"button",380),E("click",function(){return d(l),c(e.submitEditFilter())}),o(1167,"Save changes"),i()()()()()}if(m&2){let l=W(25),s=W(62);a(4),p("ngIf",e.parent!=""),a(),p("ngIf",e.child!=""),a(),p("ngIf",e.subchild!=""),a(18),u("ngModel",e.policygroupName),a(3),p("ngIf",l.invalid&&l.dirty),a(8),u("ngModel",e.description),a(2),p("ngIf",e.description.length>0&&e.description.length<5),a(2),p("ngIf",e.description.length>0&&e.description.length>512),a(8),p("cTabContent",s)("tabPaneIdx",0),a(3),p("cTabContent",s)("tabPaneIdx",1),a(3),p("cTabContent",s)("tabPaneIdx",2),a(3),p("cTabContent",s)("tabPaneIdx",3),a(3),p("cTabContent",s)("tabPaneIdx",4),a(2),p("activeTabPaneIdx",0),a(10),p("switch",!0),a(),u("ngModel",e.isVersionEnabled),p("ngModelOptions",b(230,v)),a(2),u("ngModel",e.versions),p("disabled",!e.isVersionEnabled),a(2),C(e.verError),a(6),p("switch",!0),a(),u("ngModel",e.isSizeEnabled),p("ngModelOptions",b(231,v)),a(2),u("ngModel",e.maxPermissibleFileSize),p("disabled",!e.isSizeEnabled),a(2),C(e.sizeError),a(6),p("switch",!0),a(),u("ngModel",e.isLimitEnabled),p("ngModelOptions",b(232,v)),a(2),u("ngModel",e.perUserBackupStorageLimit),p("disabled",!e.isLimitEnabled),a(2),C(e.limitError),a(8),u("ngModel",e.noOfDevicesAllowed),a(2),C(e.deviceAllowedError),a(4),u("ngModel",e.osType),a(6),u("ngModel",e.memoryUtilization),a(4),u("ngModel",e.cpuUtilization),a(4),u("ngModel",e.dcmEnabled),a(8),u("ngModel",e.clientDedup),a(23),u("ngModel",e.filterType),a(),p("selected",e.inclusionFilter),a(2),p("selected",!e.inclusionFilter),a(3),p("ngIf",e.inclusionFilter),a(),p("ngIf",!e.inclusionFilter),a(2),u("ngModel",e.checkedListFilter),p("ngModelOptions",b(233,v)),a(),p("ngForOf",e.filters),a(4),p("ngIf",e.defaultFilters.length>=1),a(8),u("ngModel",e.createUserAdmins),a(7),u("ngModel",e.createUserReadonlyadmins),a(9),u("ngModel",e.createUserUsers),a(7),u("ngModel",e.userDeletedAdmins),a(7),u("ngModel",e.userDeletedReadonlyadmins),a(9),u("ngModel",e.userDeletedUsers),a(7),u("ngModel",e.userBlockedAdmins),a(7),u("ngModel",e.userBlockedReadonlyadmins),a(9),u("ngModel",e.userBlockedUsers),a(7),u("ngModel",e.userLimitReachedAdmins),a(7),u("ngModel",e.userLimitReachedReadonlyadmins),a(9),u("ngModel",e.userLimitReachedUsers),a(16),u("ngModel",e.preferencesEdit.BACKUP_FILES),a(8),u("ngModel",e.preferencesEdit.BACKUP_SETTINGS),a(8),u("ngModel",e.preferencesEdit.INTIATE_BACKUP),a(8),u("ngModel",e.preferencesEdit.STOP_BACKUP),a(8),u("ngModel",e.preferencesEdit.SUPPORT),a(8),u("ngModel",e.preferencesEdit.ABOUT),a(8),u("ngModel",e.preferencesEdit.BLOCK_NOTIFICATIONS),a(8),u("ngModel",e.preferencesEdit.SYSTRAYICON),a(9),u("ngModel",e.preferencesEdit.RESTORE),a(8),u("ngModel",e.preferencesEdit.REFRESH_BACKUP_POLICY),a(8),u("ngModel",e.preferencesEdit.PAUSE_BACKUP),a(8),u("ngModel",e.preferencesEdit.UPDATE_AGENT),a(8),u("ngModel",e.preferencesEdit.DECOUPLE),a(16),u("ngModel",e.preferencesEdit.DISALLOW_ADMIN_RESTORES),a(8),u("ngModel",e.preferencesEdit.EXIT),a(15),u("ngModel",e.menuOptionsEdit.open),a(8),u("ngModel",e.menuOptionsEdit.versions),a(8),u("ngModel",e.menuOptionsEdit.download),a(9),u("ngModel",e.menuOptionsEdit.view),a(8),u("ngModel",e.menuOptionsEdit.share),a(8),u("ngModel",e.menuOptionsEdit.restore),a(82),u("ngModel",e.contentIndexEnabled),a(17),u("ngModel",e.searchFilterType),a(),p("selected",e.inclusionSearchFilter),a(2),p("selected",!e.inclusionSearchFilter),a(3),p("ngIf",e.inclusionSearchFilter),a(),p("ngIf",!e.inclusionSearchFilter),a(2),u("ngModel",e.checkedListSearchFilter),p("ngModelOptions",b(234,v)),a(),p("ngForOf",e.searchfilters),a(4),p("ngIf",e.defaultSearchFilters.length>=1),a(22),p("switch",!0),a(),u("ngModel",e.isThrottleEnabled),p("ngModelOptions",b(235,v)),a(3),u("ngModel",e.nwFromClientToPGMB),p("disabled",!e.isThrottleEnabled),a(2),C(e.switchError),a(2),C(e.switchWarning),a(2),u("ngModel",e.networkThrottlingUnit),p("disabled",!e.isThrottleEnabled),a(12),u("ngModel",e.cpuThrottling),a(4),C(e.cpuThrottling),a(38),p("switch",!0),a(),p("ngModelOptions",b(236,v)),u("ngModel",e.legalHold),a(9),p("ngIf",e.rwdetectionenabledLicense=="true"),a(6),p("switch",!0),a(),p("ngModelOptions",b(237,v)),u("ngModel",e.switchnoOfDaysToKeepDeviceNotHeard),a(2),u("ngModel",e.noOfDaysToKeepDeviceNotHeard),a(2),C(e.deviceNotHeardError),a(9),p("switch",!0),a(),u("ngModel",e.switchnoOfDaysToKeepUserDeviceNotActive),p("ngModelOptions",b(238,v)),a(2),u("ngModel",e.noOfDaysToKeepUserDeviceNotActive),p("disabled",!e.switchnoOfDaysToKeepUserDeviceNotActive),a(2),C(e.deviceNotActiveError),a(7),u("ngModel",e.numberOfThreadsAllowedForBackup),a(4),u("ngModel",e.webBasedLogin),a(5),p("ngStyle",O(239,R,e.overridePolicySettings?"none":"auto",e.overridePolicySettings?"0.4":"1")),a(3),u("ngModel",e.canAdminRestoreAll),p("ngClass",D(242,K,e.overridePolicySettings)),a(),p("ngValue",!0),a(2),p("ngValue",!1),a(2),p("ngStyle",O(244,R,e.overridePolicySettings||!e.canAdminRestoreAll?"none":"auto",e.overridePolicySettings||!e.canAdminRestoreAll?"0.5":"1")),a(3),u("ngModel",e.allowEndUserTocontrolRestore),p("ngClass",D(247,K,e.overridePolicySettings)),a(),p("ngValue",!0),a(2),p("ngValue",!1),a(2),p("ngStyle",O(249,R,e.overridePolicySettings||!e.canAdminRestoreAll?"none":"auto",e.overridePolicySettings||!e.canAdminRestoreAll?"0.5":"1")),a(3),u("ngModel",e.isAdminDeleteBackupFile),p("ngClass",D(252,K,e.overridePolicySettings)),a(),p("ngValue",!0),a(2),p("ngValue",!1),a(2),p("ngIf",e.storage_type=="GOOGLE_DRIVE"||e.storage_type=="ONE_DRIVE"),a(),p("ngIf",e.storage_type=="ANY"||e.storage_type=="AZURE"),a(4),u("ngModel",e.compEnabled),a(8),u("ngModel",e.vssEnabled),a(5),q("display",e.userType=="superAdmin"?"block":"none"),a(3),u("ngModel",e.searchAlgorithm),a(5),p("ngIf",e.searchAlgorithm==="PRIORITY"),a(4),u("ngModel",e.policyRefresh),a(6),u("ngModel",e.switchlogUnaccessedFiles),a(7),p("switch",!0),a(),p("ngModelOptions",b(254,v)),u("ngModel",e.switchAllowedDomains),a(4),u("ngModel",e.allowedDomains),p("disabled",!e.switchAllowedDomains),a(4),u("ngModel",e.autoUpdateAgent),a(10),p("switch",!0),a(),u("ngModel",e.isPasswordEnabled),a(2),u("ngModel",e.agentPassword),p("required",e.isPasswordEnabled)("disabled",!e.isPasswordEnabled),a(),p("ngClass",O(255,Et,e.isPasswordVisible,!e.isPasswordVisible)),a(),p("ngIf",e.isPasswordEnabled&&e.agentPassword.length<5),a(),u("ngModel",e.agentRePassword),p("required",e.isPasswordEnabled)("disabled",!e.isPasswordEnabled),a(),p("ngIf",e.isPasswordEnabled&&e.passwordsDoNotMatch),a(4),u("ngModel",e.canBackupHiddenFiles),a(21),u("ngModel",e.downloadAgent),a(11),p("switch",!0),a(),p("ngModelOptions",b(258,v)),u("ngModel",e.switchnoOfDaysToKeepDeletedFiles),a(2),u("ngModel",e.noOfDaysToKeepDeletedFiles),p("disabled",!e.switchnoOfDaysToKeepDeletedFiles),a(2),C(e.deletedFilesError),a(3),q("display",e.showUserConsentFieldInPolicies?"block":"none"),a(6),p("switch",!0),a(),p("ngModelOptions",b(259,v)),u("ngModel",e.switchuserConsentEnabled),a(2),u("ngModel",e.userConsentDisplayText),p("disabled",!e.switchuserConsentEnabled),a(6),p("switch",!0),a(),p("ngModelOptions",b(260,v)),u("ngModel",e.preScanCommandEnabled),a(4),u("ngModel",e.preScanCommand),p("disabled",!e.preScanCommandEnabled),a(5),u("ngModel",e.continueOnPreScan),p("disabled",!e.preScanCommandEnabled),a(6),p("switch",!0),a(),p("ngModelOptions",b(261,v)),u("ngModel",e.preBackupCommandEnabled),a(4),u("ngModel",e.preBackupCommand),p("disabled",!e.preBackupCommandEnabled),a(5),u("ngModel",e.continueOnPreBkp),p("disabled",!e.preBackupCommandEnabled),a(6),p("switch",!0),a(),p("ngModelOptions",b(262,v)),u("ngModel",e.postBackupCommandEnabled),a(4),u("ngModel",e.postBackupCommand),p("disabled",!e.postBackupCommandEnabled),a(5),u("ngModel",e.continueOnPostBkp),p("disabled",!e.postBackupCommandEnabled),a(19),p("ngStyle",O(263,R,e.passwordChangeEnforce?"none":"auto",e.passwordChangeEnforce?"0.4":"1")),a(3),u("ngModel",e.canUserChangePassword),p("ngClass",D(266,K,e.passwordChangeEnforce)),a(5),p("ngStyle",O(268,R,e.passwordChangeEnforce?"none":"auto",e.passwordChangeEnforce?"0.4":"1")),a(3),u("ngModel",e.canAdminChangeUserPassword),p("ngClass",D(271,K,e.passwordChangeEnforce)),a(137),p("ngStyle",D(273,ie,e.displayFilterConfStyle)),a(14),p("ngStyle",D(275,ie,e.displayFilterCreateStyle)),a(12),p("ngClass",D(277,wt,e.invalidFilterName)),u("ngModel",e.filterModel.filterName),a(),p("ngIf",e.invalidFilterName),a(4),u("ngModel",e.filterModel.filterType),a(9),u("ngModel",e.checkedList),p("ngModelOptions",b(279,v)),a(2),p("ngForOf",e.cannedFiltersTemplateCreate),a(7),q("display",e.extensionsVisible?"block":"none"),a(),p("ngForOf",e.cannedFiltersCreate),a(),u("ngModel",e.newFilterExtensionCreate),a(7),p("ngStyle",D(280,ie,e.displayFilterEditStyle)),a(12),V("value",e.filterElement.filterName),u("ngModel",e.filterEditModel.filterName),a(4),u("ngModel",e.filterEditModel.filterType),a(9),u("ngModel",e.checkedList),p("ngModelOptions",b(282,v)),a(2),p("ngForOf",e.cannedFiltersTemplateEdit),a(8),p("ngForOf",e.cannedFilters),a(),u("ngModel",e.newFilterExtensionEdit)}},dependencies:[Se,Ce,De,Pe,_e,nt,qe,je,Je,Ie,He,Ge,Ne,Ye,We,Re,Ze,$e,et,tt,Xe,Qe,he,be,ot,Ee,Oe,Le,xe,Ve,Ae,Be,ge,me,pe,ue,Ue,it,ze,Ke,Me,Fe,Te,ke,ve,ut,mt,pt,rt,st,dt],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 f})();export{Ti as EditComponent};
