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