import{a as ct,b as ht}from"./chunk-Q3YWAJSC.js";import"./chunk-7F4EMYHG.js";import{a as lt,b as dt}from"./chunk-GG4J5RX4.js";import{c as ot,i as at}from"./chunk-A2ZPUWHE.js";import{h as rt,i as nt}from"./chunk-CJPLN2MR.js";import{b as Qe,f as $e}from"./chunk-JF7QP3VI.js";import{a as et}from"./chunk-NO54G66E.js";import{a as st}from"./chunk-DLMZRMGT.js";import{a as it}from"./chunk-WJQGMYNS.js";import{b as tt,d as q}from"./chunk-4ZPFE5LZ.js";import{d as H}from"./chunk-WRGPHU2N.js";import{l as qe}from"./chunk-PHOFQETE.js";import{b as Je,c as Ye,d as Xe,g as Ze}from"./chunk-OSIMEBN6.js";import{b as Ae,c as xe,g as De,h as Le,i as Ie,j as Ne,k as Be,l as Ue,p as Ee,q as Re,r as ze,u as Ke,v as Ve,w as Ge,x as je,y as We,z as He}from"./chunk-UMB4XTPE.js";import{D as ce,Ea as fe,G as he,Ga as ve,Ha as Te,Ka as be,M as ue,O as pe,Va as ye,Wa as Se,Y as me,Ya as Ce,Z as ge,Za as Pe,_a as ke,bb as Me,cb as we,h as oe,k as ae,p as le,q as de,wb as Fe,xb as _e,z as W,zb as Oe}from"./chunk-CMTPQJ7E.js";import{A as Q,Ba as k,Cb as ie,Eb as T,Ec as U,Fc as i,Ga as $,Gc as b,Hc as j,Kc as M,Lc as w,Mc as F,Qb as h,Qc as se,Rb as K,Rc as Y,Sc as X,Tc as re,Vc as y,Wc as S,ac as o,bc as l,cc as V,cd as ne,eb as ee,gc as G,ib as n,ob as u,qa as f,qc as L,ra as v,rc as C,uc as J,yb as te}from"./chunk-AWE6TXVF.js";import{a as x,b as D,i as Z}from"./chunk-2AVGQ2MQ.js";var ut=()=>({standalone:!0}),pt=r=>({label:"Cancel",class:"btn btn-default",action:r}),mt=r=>({label:"Ok",class:"btn btn-primary",action:r}),gt=(r,p)=>[r,p];function ft(r,p){if(r&1&&(o(0,"li")(1,"h3")(2,"a",44),i(3),y(4,"translate"),l()()()),r&2){let e=C();n(3),b(S(4,1,e.parent))}}function vt(r,p){if(r&1&&(o(0,"li")(1,"a",45),i(2),y(3,"translate"),l()()),r&2){let e=C();n(),h("href","pms/"+(e.selectedProduct==null||e.selectedProduct.routes==null?null:e.selectedProduct.routes.policy),ee),n(),b(S(3,2,e.child))}}function Tt(r,p){if(r&1&&(o(0,"li")(1,"span"),i(2),y(3,"translate"),l()()),r&2){let e=C();n(2),b(S(3,1,e.subchild))}}function bt(r,p){r&1&&(o(0,"small"),i(1,`
                    Policy Name is required.
                  `),l())}function yt(r,p){if(r&1&&(o(0,"small"),i(1),l()),r&2){let e=C(2);n(),j(`
                    `,e.errortext,`
                  `)}}function St(r,p){r&1&&(o(0,"small"),i(1,`
                    Policy Name must be at least 3 characters long.
                  `),l())}function Ct(r,p){if(r&1&&(o(0,"div",46),i(1,`
                  `),T(2,bt,2,0,"small",8),i(3,`
                  `),T(4,yt,2,1,"small",8),i(5,`
                  `),T(6,St,2,0,"small",8),i(7,`
                `),l()),r&2){C();let e=U(26);n(2),h("ngIf",e.errors==null?null:e.errors.required),n(2),h("ngIf",e.errors&&e.errors.pattern),n(2),h("ngIf",e.errors&&e.errors.minlength)}}function Pt(r,p){r&1&&(o(0,"small",47),i(1,`
                  This value is too short. It should have 5 characters or more.
                `),l())}function kt(r,p){r&1&&(o(0,"small",47),i(1,`
                  This value is too long. It should have 512 characters or fewer.
                `),l())}function Mt(r,p){if(r&1){let e=G();o(0,"div",48),i(1,`
                                `),o(2,"span",6),i(3,"Enable backups to Microsoft 365 Backup Storage "),o(4,"a",49),i(5," "),V(6,"i",50),l()(),i(7,`
                `),o(8,"div",51),i(9,`
                  `),o(10,"c-form-check",52),i(11,`
                    `),o(12,"input",53),F("ngModelChange",function(t){f(e);let c=C();return w(c.msStorageBackupEnabled,t)||(c.msStorageBackupEnabled=t),v(t)}),l(),i(13,`
                  `),l(),i(14,`
                `),l(),i(15,`
              `),l()}if(r&2){let e=C();n(10),h("switch",!0),n(2),M("ngModel",e.msStorageBackupEnabled),h("ngModelOptions",Y(3,ut))}}function wt(r,p){r&1&&(o(0,"c-callout",54),i(1,`
                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.`),V(2,"br"),i(3,` Microsoft 365 Backup
                Storage enables
                ultra-fast backups by creating a secondary copy within the Microsoft 365 service data
                boundary.
              `),l())}function Ft(r,p){if(r&1&&(o(0,"mat-option",58),i(1),l()),r&2){let e=p.$implicit;J("value",e.gatewayName),n(),j("",e.gatewayName," ")}}function _t(r,p){if(r&1){let e=G();o(0,"div",14)(1,"label",55),i(2),y(3,"translate"),l(),o(4,"mat-form-field",56)(5,"mat-select",57,3),F("ngModelChange",function(t){f(e);let c=C();return w(c.checkedListPg,t)||(c.checkedListPg=t),v(t)}),L("selectionChange",function(){f(e);let t=C();return v(t.onBlukryptChange())}),T(7,Ft,2,2,"mat-option",40),l()()()}if(r&2){let e=C();K("display",e.userType=="superAdmin"&&e.productKey=="backup"?"block":"none"),n(2),b(S(3,6,"Preferred BluKrypt Hostnames")),n(3),M("ngModel",e.checkedListPg),h("ngModelOptions",Y(8,ut)),n(2),h("ngForOf",e.pgs)}}function Ot(r,p){if(r&1&&(o(0,"option",58),i(1),l()),r&2){let e=p.$implicit;J("value",e.gatewayName),n(),j("",e.gatewayName," ")}}function At(r,p){if(r&1&&V(0,"app-modal",59),r&2){let e=C(),s=U(9);h("footerButtons",re(5,gt,X(1,pt,e.closePolicySaveConfirmPopup),X(3,mt,e.submitCreatePolicy(s))))}}var pi=(()=>{class r extends ht{constructor(e,s,t,c,a,d,E,m,_,O,I,g,P,N,z,R,B,A){super(s,t,c,a,d,E,m,_,O,d,g,P,N,z,I,R,B),this.http=e,this.datePipe=s,this.titleService=t,this.toastr=c,this.apiService=a,this.AuthService=d,this.globalConstantsService=E,this.cdr=m,this.router=_,this.sharedService=O,this.el=I,this.configService=g,this.licenseCheckService=P,this.TranslateService=N,this.userRoleService=z,this.policyManagementService=R,this.dataModel=B,this.activatedRoute=A,this.parent="Policy Management",this.child=" Policies",this.subchild="Edit Policy",this.title="Policy Management",this.PRODUCTS=[],this.policyModel={},this.numberOfThreadsAllowedForBackup="",this.showDropDownSchedule=!1,this.currentSelectedSchedule={},this.shareCheckedList=new k,this.shareIndividualCheckedList=new k,this.showDropDownFilter=!1,this.currentSelectedFilter={},this.shareCheckedListFilter=new k,this.shareIndividualCheckedListFilter=new k,this.showDropDownSearchFilter=!1,this.currentSelectedSearchFilter={},this.shareCheckedListSearchFilter=new k,this.shareIndividualCheckedListSearchFilter=new k,this.shareCheckedListPg=new k,this.shareIndividualCheckedListPg=new k,this.includepurgeFilesOlderThan=!1,this.switchpurgeDeletedFilesOlderThan=!1,this.purgeDeletedFilesOlderThan="UNLIMITED",this.threshholdLimitOld="",this.purgeFilesSizeGTThanOld="",this.threshholdLimitError="",this.purgeFilesOlderThanError="",this.purgeFilesSizeGTThanError="",this.productKey="",this.productTitle="",this.selectedProduct={},this.collapses=[!1,!1,!1,!1],t.setTitle(this.title)}ngOnInit(){return Z(this,null,function*(){this.inclusionLicenses=yield this.licenseCheckService.getInclusionLicensesNew(),this.PRODUCTS=yield this.licenseCheckService.getLicensedProductsDetails(),this.activatedRoute.params.subscribe(e=>{this.selectedProduct=this.PRODUCTS.find(s=>s.routes.policy===e.productKey),console.log("selectedProduct : "+this.selectedProduct),this.productKey=this.selectedProduct.key,this.policyModel=this.dataModel.commonPolicyModel(this.productKey),this.sharedService.setData("selectedProductType",this.productKey),console.log("policyModel : "+JSON.stringify(this.policyModel)),this.selectedProduct?.defaultUniversalFolders&&Object.assign(this.defaultUniversalFolders,this.selectedProduct?.defaultUniversalFolders),this.child=this.selectedProduct?.title+this.child,this.productTitle=this.selectedProduct?.title||""}),yield new Promise(e=>{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",e()})}),this.policyNameToEdit=this.sharedService.getDataByKey("currentPolicyName"),this.callApis(),this.userType=yield this.userRoleService.getUserRole()})}toggleLimit(){this.limitError="",this.isLimitEnabled?this.perUserBackupStorageLimit="":this.perUserBackupStorageLimit="UNLIMITED"}myFunctionUBS(){console.log("perUserBackupStorageLimit : "+this.perUserBackupStorageLimit),this.limitError="";let e=Number(this.perUserBackupStorageLimit);console.log("inputValue : "+e),isNaN(e)?this.perUserBackupStorageLimit!=="UNLIMITED"&&(this.limitError='Input can be either "UNLIMITED" or any integer'):e>99999?this.limitError="Maximum Per User Backup Storage Limit Allowed is 99999":this.perUserBackupStorageLimit.includes(".")?this.limitError="Please enter an integral value":e<1&&!isNaN(e)?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 e=Number(this.purgeDeletedFilesOlderThan);console.log("inputValue : "+e),isNaN(e)?this.purgeDeletedFilesOlderThan!=="UNLIMITED"&&(this.deletedFilesError='Input can be either "UNLIMITED" or any integer'):this.purgeDeletedFilesOlderThan.includes(".")?this.deletedFilesError="Please enter an integral value":e<1&&!isNaN(e)?this.deletedFilesError="Minimum value allowed is 1":this.deletedFilesError=""}flipAllowEndUserTocontrolRestore(){this.canAdminRestoreAll||(this.allowEndUserTocontrolRestore=!1,this.isAdminDeleteBackupFile=!1)}toggleNoOfDaysToKeepUserDeviceNotActive(){this.switchnoOfDaysToKeepUserDeviceNotActive?(console.log("iffffffffffff"),this.noOfDaysToKeepUserDeviceNotActive="60"):(console.log("elseeeeeee"),this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED"),this.myFunctionnoOfDaysToKeepUserDeviceNotActive()}callApis(){let e=this.policyManagementService.getAllSchedules(),s=this.policyManagementService.getAllFilters(),t=this.apiService.getPgs(),c=this.apiService.cloudProperties(),a=this.policyManagementService.getGlobalExclusion(),d=this.policyManagementService.getPolicyCommon(this.sharedService.getDataByKey("currentPolicyName"),this.productKey),E=[e,s,t,c,a,d];if(this.selectedProduct.key==="backup"){let m=this.policyManagementService.getAllNoBackupSchedules();E.push(m)}Q(E).subscribe(m=>{let[_,O,I,g,P,N,z]=m;console.log("API 1 response status:",_.status),console.log("API 1 response body:",_.body.scheduleElementList),console.log("API 1 response headers:",_.headers),console.log("API 2 response body:",O.body.inclusionFilterElementList),console.log("API 2 response headers:",O.headers),console.log("API 3 response body:",I.body.privacyGatewayElementList),console.log("API 3 response headers:",I.headers),console.log("API 4 response body:",g.body),console.log("API 4 response headers:",g.headers),console.log("API 5 response body:",P.body),console.log("API 5 response headers:",P.headers),console.log("API 6 response body:",N.body.data),console.log("API 6 response headers:",N.headers);let R=I.body.privacyGatewayElementList.map(A=>({gatewayName:A.gatewayName,status:!1}));console.log("Transformed Data:",R),this.schedules=_.body.scheduleElementList,this.selectedProduct.key==="backup"&&(this.noBackupSchedules=z.body.noBkpScheduleElementList),this.filters=O.body.inclusionFilterElementList.map(A=>D(x({},A),{status:!1})),console.log("filterssssssssss : "+JSON.stringify(this.filters)),this.searchfilters=O.body.inclusionFilterElementList.map(A=>D(x({},A),{status:!1})),this.pgs=R,console.log("API 5 response body:",JSON.stringify(P.body.globalExcludedFoldersElement.globalExcludedFoldersList.win));let B=[...new Set([...P.body.globalExcludedFoldersElement.globalExcludedFoldersList.win,...P.body.globalExcludedFoldersElement.globalExcludedFoldersList.mac])];B=[...new Set([...B,...P.body.globalExcludedFoldersElement.globalExcludedFoldersList.linux])],console.log("CombinedExclusions :",JSON.stringify(B)),this.noOfDevicesAllowedCloud=g.body.cloudPropertyElement.noOfDevicesAllowed,this.canUserChangePassword=g.body.cloudPropertyElement.canUserChangePassword,this.canAdminChangeUserPassword=g.body.cloudPropertyElement.canAdminChangeUserPassword,this.passwordChangeEnforce=g.body.cloudPropertyElement.passwordChangeEnforce,this.canAdminRestoreAll=g.body.cloudPropertyElement.canAdminRestoreAll,this.isAdminDeleteBackupFile=g.body.cloudPropertyElement.isAdminDeleteBackupFile,this.overridePolicySettings=g.body.cloudPropertyElement.overridePolicySettings,this.showUserConsentFieldInPolicies=g.body.cloudPropertyElement.showUserConsentFieldInPolicies,this.storageProvider=g.body.cloudPropertyElement.storageProvider,this.hostedSetup=g.body.cloudPropertyElement.hostedSetup,nt(this.productKey,N.body.data,this)},m=>{switch(console.error("Error from Api's call: ",m),m.status){case 400:console.error("Bad Request: ",m.message);break;case 401:console.error("Unauthorized: ",m.message),this.toastr.error(this.TranslateService.instant("Token expired, navigating to logout page."),this.TranslateService.instant("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}})}submitCreatePolicy(e){return()=>{this.displayConfirmPolicySave=!1;let s=!1;if(!this.validatePolicyGroupName()||!this.validateDescription())return;if(this.checkedListSchedule.length<=0||this.checkedListFilter.length<=0){this.checkedListSchedule.length<=0&&this.toastr.error(this.TranslateService.instant("Please select at least one schedule.")),this.checkedListFilter.length<=0&&this.toastr.error(this.TranslateService.instant("Please select at least one filter."));return}if(this.searchAlgorithm=="PRIORITY"&&this.checkedListPg.length<=0){this.toastr.error(this.TranslateService.instant("Please select at least one BluKrypt Hostname."));return}if((this.verError!=""||Number(this.versions)<1)&&(this.toastr.error(this.TranslateService.instant("Please check the value for Maximum number of Versions Allowed.")),s=!0),(this.limitError!=""||Number(this.perUserBackupStorageLimit)<1||isNaN(Number(this.perUserBackupStorageLimit))&&this.perUserBackupStorageLimit!=="UNLIMITED")&&(this.toastr.error(this.TranslateService.instant("Please check the value for Backup Storage Limit.")),s=!0),(this.sizeError!=""||Number(this.maxPermissibleFileSize)<1||isNaN(Number(this.maxPermissibleFileSize))&&this.maxPermissibleFileSize!=="UNLIMITED")&&(this.toastr.error(this.TranslateService.instant("Please check the value for Maximum Permissible File Size.")),s=!0),this.defaultUniversalFolders.length==0){this.toastr.error(this.TranslateService.instant("Please add at-least one default folders to backup up"));return}if(typeof this.policyModel.noOfDaysToKeepUserDeviceNotActive<"u"&&((this.deletedAssetsError!=""||Number(this.noOfDaysToKeepUserDeviceNotActive)<7)&&(this.toastr.error(this.TranslateService.instant("Please check the value for Delete assets which have not been active for.")),s=!0),isNaN(Number(this.noOfDaysToKeepUserDeviceNotActive))&&this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.toastr.error(this.TranslateService.instant("Please check the value for Delete assets which have not been active for.")),s=!0)),typeof this.policyModel.purgeDeletedFilesOlderThan<"u"&&((this.deletedFilesError!=""||Number(this.purgeDeletedFilesOlderThan)<1)&&(this.toastr.error(this.TranslateService.instant("Please check the value for Purge deleted items from the catalog after.")),s=!0),isNaN(Number(this.purgeDeletedFilesOlderThan))&&this.purgeDeletedFilesOlderThan!=="UNLIMITED"&&(this.toastr.error(this.TranslateService.instant("Please check the value for Purge deleted items from the catalog after.")),s=!0)),this.noOfDevicesAllowed>this.noOfDevicesAllowedCloud&&(this.toastr.error(this.TranslateService.instant("This value exceeds the number of devices licensable per user. Please enter a value lower than or equal to ")+this.noOfDevicesAllowedCloud),s=!0),this.threshholdLimitError!=""&&(this.toastr.error(this.TranslateService.instant("Please check the value for {{productTitle}} consumption is higher than (%).")),s=!0),this.purgeFilesOlderThanError!=""&&(this.toastr.error(this.TranslateService.instant("Please check the value for Files have not been modified in (days).")),s=!0),this.purgeFilesSizeGTThanError!=""&&(this.toastr.error(this.TranslateService.instant("Please check the value for Files are of size greater than (MB).")),s=!0),typeof this.policyModel.purgeDeletedMailsOlderThan<"u"&&((this.deletedFilesError!=""||Number(this.purgeDeletedMailsOlderThan)<1)&&(this.toastr.error(this.TranslateService.instant("Please check the value for Purge deleted items from the catalog after.")),s=!0),isNaN(Number(this.purgeDeletedMailsOlderThan))&&this.purgeDeletedMailsOlderThan!=="UNLIMITED"&&(this.toastr.error(this.TranslateService.instant("Please check the value for Purge deleted items from the catalog after.")),s=!0)),typeof this.policyModel.deletedMailsOlderThan<"u"&&((this.deletedMailsError!=""||Number(this.deletedMailsOlderThan)<1)&&(this.toastr.error(this.TranslateService.instant("Please check the value for Delete emails from the archive after.")),s=!0),isNaN(Number(this.deletedMailsOlderThan))&&this.deletedMailsOlderThan!=="UNLIMITED"&&(this.toastr.error(this.TranslateService.instant("Please check the value for Delete emails from the archive after.")),s=!0)),(this.purgeError!=""||this.createMailLinkEnabled&&this.purgeFilesOlderThan=="")&&(this.toastr.error(this.TranslateService.instant("Please check the value of days for attachment archiving.")),s=!0),this.policyModel.noOfDaysToKeepUserDeviceNotActive,(this.deletedAssetsError!=""||Number(this.noOfDaysToKeepUserDeviceNotActive)<7)&&(this.toastr.error(this.TranslateService.instant("Please check the value for Delete assets which have not been active for.")),s=!0),isNaN(Number(this.noOfDaysToKeepUserDeviceNotActive))&&this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.toastr.error(this.TranslateService.instant("Please check the value for Delete assets which have not been active for.")),s=!0),this.selectedProduct?.featureLicenceKey?.contentSearch&&this.inclusionLicenses.includes(this.selectedProduct.featureLicenceKey.contentSearch)&&this.checkedListSearchFilter.length<=0){this.toastr.error(this.TranslateService.instant("Please select at least one search filter."));return}let t=document.querySelector(".ng-invalid, .text-danger");t&&(t.scrollIntoView({behavior:"smooth",block:"center"}),t.focus());let c=Array.from(document.querySelectorAll('span[style*="color: #f55753"]'));for(let a of c)if(a.textContent?.trim()){a.scrollIntoView({behavior:"smooth",block:"center"});break}if(!s){if(e.invalid){e.control.markAllAsTouched(),this.toastr.error(this.TranslateService.instant("Please fill in all required fields."));return}this.verError="",this.limitError="",this.sizeError="",this.deletedAssetsError="",this.deletedFilesError="",this.deletedMailsError="",this.threshholdLimitError="",this.purgeFilesOlderThanError="",this.purgeFilesSizeGTThanError="",this.updateOutput(),this.updatePreferences(),this.updateMenuOptions(),console.log(JSON.stringify(this.policyModel)),rt(this,this.dataModel.commonPolicyModelToComponentScopeMap(),this.policyModel),console.log(JSON.stringify(this.policyModel)),this.onUnitChange(),this.policyManagementService.editPolicyCommon(this.policyModel,this.productKey).subscribe(a=>{console.log("Policy edited successfully:",a),this.toastr.success(this.TranslateService.instant("Policy edited successfully."),this.TranslateService.instant("Info")),setTimeout(()=>{this.router.navigate(["/pms/"+this.selectedProduct.routes.policy])},5e3)},a=>{switch(a.status){case 400:console.error("Bad Request: ",a.message);break;case 401:console.error("Unauthorized: ",a.message),this.toastr.error(this.TranslateService.instant("Token expired, navigating to logout page."),this.TranslateService.instant("Error")),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error(this.TranslateService.instant("Policy with same name already exists ."),this.TranslateService.instant("Error"));break;case 331:this.toastr.error(this.TranslateService.instant("Policy with same name already exists and is blocked."),this.TranslateService.instant("Error"));break;case 421:this.toastr.error(this.TranslateService.instant("Token expired, navigating to logout page."),this.TranslateService.instant("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}})}}}getPolicy(e){this.policygroupName=e.policygroupName,this.description=e.description,this.checkedListSchedule=e.scheduleNames,this.schedules=this.schedules.map(a=>D(x({},a),{checked:this.checkedListSchedule.includes(a.scheduleName)})),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.versions=e.maxVersions,e.maxVersions=="-1"?(this.isVersionEnabled=!1,this.versions="UNLIMITED"):this.isVersionEnabled=!0,this.maxPermissibleFileSize=e.maxFileSize,e.maxFileSize=="1048576"||e.maxFileSize=="-1"?(this.isSizeEnabled=!1,this.maxPermissibleFileSize="UNLIMITED"):this.isSizeEnabled=!0,this.perUserBackupStorageLimit=e.userSizeAllowed,e.userSizeAllowed=="102400"?(this.isLimitEnabled=!1,this.perUserBackupStorageLimit="UNLIMITED"):this.isLimitEnabled=!0,this.noOfDevicesAllowed=e.noOfDevicesAllowed?e.noOfDevicesAllowed:this.noOfDevicesAllowedCloud,this.defaultUniversalFolders=e.backupFolderPaths,this.userExcludedFoldersUniversal=e.excludedFolderpaths?e.excludedFolderpaths:[],this.inclusionFilter=e.filterType=="inclusion",this.checkedListFilter=e.filterInclusionName,this.filters=this.filters.map(a=>D(x({},a),{checked:this.checkedListFilter.includes(a.filterName)})),this.getMultipleFilters(this.checkedListFilter.toString()),this.inclusionSearchFilter=e.searchFilterType=="inclusion",this.checkedListSearchFilter=e.searchFilterInclusionName,this.filters=this.filters.map(a=>D(x({},a),{checked:this.checkedListSearchFilter.includes(a.filterName)})),this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()),this.nwFromClientToPGMB=e.nwFromClientToPGMB;let s=Math.round(e.nwFromClientToPGMB*1e4)/1e4,t="mbps";s<1?(s=Math.round(s*1024),t="kbps"):s>1024&&s===1e4?(s=-1,t="mbps"):s>1024?(s=Math.round(s/1024),t="gbps"):s=Math.round(s),s==-1?(this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps",this.isThrottleEnabled=!1):(this.nwFromClientToPGMB=s.toString(),this.networkThrottlingUnit=t,this.isThrottleEnabled=!0),this.contentIndexEnabled=e.contentIndexEnabled,this.cpuThrottling=e.cpuThrottling,this.legalHold=e.legalHoldEnabled,this.rwDetectionEnabled=e.rwDetectionEnabled,this.numberOfThreadsAllowedForBackup=e.numberOfThreadsAllowedForBackup,this.webBasedLogin=e.webBasedLogin,this.compEnabled=e.compressionEnabled,this.vssEnabled=e.vssEnabled,this.policyRefresh=e.policyRefresh.split(":")[0],this.switchlogUnaccessedFiles=e.logUnaccessedFiles,this.canBackupHiddenFiles=e.canBackupHiddenFiles,e.purgeDeletedFilesOlderThan==-1?(this.switchpurgeDeletedFilesOlderThan=!1,this.purgeDeletedFilesOlderThan="UNLIMITED"):(this.switchpurgeDeletedFilesOlderThan=!0,this.purgeDeletedFilesOlderThan=e.purgeDeletedFilesOlderThan),e.noOfDaysToKeepDeletedFiles=="-1"?(this.switchnoOfDaysToKeepDeletedFiles=!1,this.noOfDaysToKeepDeletedFiles="UNLIMITED"):(this.switchnoOfDaysToKeepDeletedFiles=!0,this.noOfDaysToKeepDeletedFiles=e.noOfDaysToKeepDeletedFiles),e.noOfDaysToKeepUserDeviceNotActive==-1?(this.switchnoOfDaysToKeepUserDeviceNotActive=!1,this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED"):(this.switchnoOfDaysToKeepUserDeviceNotActive=!0,this.noOfDaysToKeepUserDeviceNotActive=e.noOfDaysToKeepUserDeviceNotActive),this.canUserChangePassword=e.canUserChangePassword,this.canAdminChangeUserPassword=e.canAdminChangeUserPassword,this.canAdminRestoreAll=e.canAdminRestore,this.allowEndUserTocontrolRestore=e.allowEndUserTocontrolRestore,this.isAdminDeleteBackupFile=e.canAdminDelete,this.searchAlgorithm=e.searchAlgoForPg,this.checkedListPg=e.privacyGatewayMappingElement.privacyGatewayNames,this.pgs=this.pgs.map(a=>D(x({},a),{checked:this.checkedListPg.includes(a.gatewayName)})),console.log("policyElement.privacyGatewayMappingElement.privacyGatewayNames : "+e.privacyGatewayMappingElement.privacyGatewayNames),this.endpointUiPreferencesEdit=e.endpointUiPreferences?e.endpointUiPreferences:[],this.endpointDisabledUiPreferencesEdit=e.endpointDisabledUiPreferences?e.endpointDisabledUiPreferences:[],this.updatePreferencesEdit(),this.menuOptions=e.menuOptions,this.createUserAdmins=e.emailsRestriction.createUser.includes("admins")?"admins":"",this.createUserReadonlyadmins=e.emailsRestriction.createUser.includes("readonlyadmins")?"readonlyadmins":"",this.createUserUsers=e.emailsRestriction.createUser.includes("users")?"users":"",this.userDeletedAdmins=e.emailsRestriction.userDeleted.includes("admins")?"admins":"",this.userDeletedReadonlyadmins=e.emailsRestriction.userDeleted.includes("readonlyadmins")?"readonlyadmins":"",this.userDeletedUsers=e.emailsRestriction.userDeleted.includes("users")?"users":"",this.userBlockedAdmins=e.emailsRestriction.userBlocked.includes("admins")?"admins":"",this.userBlockedReadonlyadmins=e.emailsRestriction.userBlocked.includes("readonlyadmins")?"readonlyadmins":"",this.userBlockedUsers=e.emailsRestriction.userBlocked.includes("users")?"users":"",this.userLimitReachedAdmins=e.emailsRestriction.userLimitReached.includes("admins")?"admins":"",this.userLimitReachedReadonlyadmins=e.emailsRestriction.userLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.userLimitReachedUsers=e.emailsRestriction.userLimitReached.includes("users")?"users":"",this.deviceDeletedAdmins=e.emailsRestriction.deviceDeleted.includes("admins")?"admins":"",this.deviceDeletedReadonlyadmins=e.emailsRestriction.deviceDeleted.includes("readonlyadmins")?"readonlyadmins":"",this.deviceDeletedUsers=e.emailsRestriction.deviceDeleted.includes("users")?"users":"",this.deviceBlockedAdmins=e.emailsRestriction.deviceBlocked.includes("admins")?"admins":"",this.deviceBlockedReadonlyadmins=e.emailsRestriction.deviceBlocked.includes("readonlyadmins")?"readonlyadmins":"",this.deviceBlockedUsers=e.emailsRestriction.deviceBlocked.includes("users")?"users":"",this.deviceDecoupledAdmins=e.emailsRestriction.deviceDecoupled.includes("admins")?"admins":"",this.deviceDecoupledReadonlyadmins=e.emailsRestriction.deviceDecoupled.includes("readonlyadmins")?"readonlyadmins":"",this.deviceDecoupledUsers=e.emailsRestriction.deviceDecoupled.includes("users")?"users":"",this.deviceLimitReachedAdmins=e.emailsRestriction.deviceLimitReached.includes("admins")?"admins":"",this.deviceLimitReachedReadonlyadmins=e.emailsRestriction.deviceLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.deviceLimitReachedUsers=e.emailsRestriction.deviceLimitReached.includes("users")?"users":"",this.weeklyBkpreportAdmins=e.emailsRestriction.weeklyBkpreport.includes("admins")?"admins":"",this.weeklyBkpreportReadonlyadmins=e.emailsRestriction.weeklyBkpreport.includes("readonlyadmins")?"readonlyadmins":"",this.weeklyBkpreportUsers=e.emailsRestriction.weeklyBkpreport.includes("users")?"users":"",this.firstBkpCompletedAdmins=e.emailsRestriction.firstBkpCompleted.includes("admins")?"admins":"",this.firstBkpCompletedReadonlyadmins=e.emailsRestriction.firstBkpCompleted.includes("readonlyadmins")?"readonlyadmins":"",this.firstBkpCompletedUsers=e.emailsRestriction.firstBkpCompleted.includes("users")?"users":"",this.restoreInitiatedAdmins=e.emailsRestriction.restoreInitiated.includes("admins")?"admins":"",this.restoreInitiatedReadonlyadmins=e.emailsRestriction.restoreInitiated.includes("readonlyadmins")?"readonlyadmins":"",this.restoreInitiatedUsers=e.emailsRestriction.restoreInitiated.includes("users")?"users":"",this.storageLimitReachedAdmins=e.emailsRestriction.storageLimitReached.includes("admins")?"admins":"",this.storageLimitReachedReadonlyadmins=e.emailsRestriction.storageLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.storageLimitReachedUsers=e.emailsRestriction.storageLimitReached.includes("users")?"users":"",this.msAppBluKrypt=e.msAppBluKrypt,this.createLinkEnabled=e.createLinkEnabled,this.threshholdLimitOld=e.threshholdLimit,this.purgeFilesOlderThanOld=e.purgeFilesOlderThan,this.purgeFilesSizeGTThanOld=e.purgeFilesSizeGTThan,this.includethreshholdLimitCheck=e.cpThresHoldFlagEnabled,this.includepurgeFilesOlderThanCheck=e.cpPurgeFilesOlderThanEnabled,this.includepurgeFilesSizeGTThanCheck=e.cpPurgeFilesSizeGTThanFlagEnabled,e.createLinkEnabled&&(this.threshholdLimit=e.threshholdLimit,this.purgeFilesOlderThan=e.purgeFilesOlderThan,this.purgeFilesSizeGTThan=e.purgeFilesSizeGTThan,this.toggleCollapse(0),console.log("hzjvcjhsdvchjsdvchjsvchjvsdj00 : "+e.cpThresHoldFlagEnabled),e.cpThresHoldFlagEnabled==!1&&(console.log("hzjvcjhsdvchjsdvchjsvchjvsdj : "+e.cpThresHoldFlagEnabled),this.threshholdLimit=""),e.cpPurgeFilesOlderThanEnabled==!1&&(this.purgeFilesOlderThan=""),e.cpPurgeFilesSizeGTThanFlagEnabled==!1&&(this.purgeFilesSizeGTThan=""));let c=this.dataModel.commonPolicyModelToComponentScopeMap()}newFilterEdit(e){console.log("filterName : "+e)}toggleCollapse(e){this.collapses[e]=!this.collapses[e],this.includethreshholdLimitCheck==!1?this.threshholdLimit="":this.threshholdLimit=this.threshholdLimitOld,this.includepurgeFilesOlderThanCheck==!1?this.purgeFilesOlderThan="":this.purgeFilesOlderThan=this.purgeFilesOlderThanOld,this.includepurgeFilesSizeGTThanCheck==!1?this.purgeFilesSizeGTThan="":this.purgeFilesSizeGTThan=this.purgeFilesSizeGTThanOld}toggleAccordion(e){this.itemVisible=this.itemVisible.map((s,t)=>t===e?!s:!1),this.itemVisible[e]?(this.onAccordionOpen(e),this.createLinkEnabled=!0):this.createLinkEnabled=!1}onAccordionOpen(e){switch(e){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(this.TranslateService.instant("Please ensure that at least one option is selected."),this.TranslateService.instant("Info"))}checkthreshholdLimit(){let e=Number(this.threshholdLimit);this.threshholdLimitError="",e<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(this.TranslateService.instant("Please ensure that at least one option is selected."),this.TranslateService.instant("Info"))}checkpurgeFilesOlderThan(){let e=Number(this.purgeFilesOlderThan);this.purgeFilesOlderThanError="",(e<1||e>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(this.TranslateService.instant("Please ensure that at least one option is selected."),this.TranslateService.instant("Info"))}checkpurgeFilesSizeGTThan(){let e=Number(this.purgeFilesSizeGTThan);this.purgeFilesSizeGTThanError="",e<1&&(this.purgeFilesSizeGTThanError="This value should be greater than or equal to 1.")}static{this.\u0275fac=function(s){return new(s||r)(u(oe),u(W),u(he),u(tt),u(H),u(Je),u(q),u(ne),u(pe),u(Ye),u($),u(Xe),u(st),u(me),u(Ze),u(it),u(ct),u(ue))}}static{this.\u0275cmp=te({type:r,selectors:[["app-msedit"]],outputs:{shareCheckedList:"shareCheckedList",shareIndividualCheckedList:"shareIndividualCheckedList",shareCheckedListFilter:"shareCheckedListFilter",shareIndividualCheckedListFilter:"shareIndividualCheckedListFilter",shareCheckedListSearchFilter:"shareCheckedListSearchFilter",shareIndividualCheckedListSearchFilter:"shareIndividualCheckedListSearchFilter",shareCheckedListPg:"shareCheckedListPg",shareIndividualCheckedListPg:"shareIndividualCheckedListPg"},features:[se([W,H,q]),ie],decls:97,vars:49,consts:[["myForm","ngForm"],["policyNameInput","ngModel"],["tabContent1","cTabContent"],["matSelectBlukryptHost",""],[1,"container"],[1,"row"],[1,"col-lg-6"],[1,"breadcrumb"],[4,"ngIf"],[3,"ngSubmit"],["xs","12"],[1,"mb-3"],[1,"row",2,"margin-top","10px"],[1,"col-lg-7"],[1,"form-group"],["for","policyName"],["type","text","name","policyName","id","policyName","minlength","3","maxlength","50","placeholder","Enter Policy Name","required","","autocomplete","off","autofocus","","pattern","^[a-zA-Z0-9@._-]*$","title","Only letters, numbers, and @, -, _, . are allowed","readonly","",1,"form-control",3,"ngModelChange","ngModel"],["class","text-danger",4,"ngIf"],[1,"mb-3","d-none"],["cLabel","","for","description"],["cFormControl","","name","description","id","description","minlength","5","maxlength","512","rows","3",3,"ngModelChange","input","ngModel"],["style","color: red;",4,"ngIf"],["class","row col-lg-6","style","display: flex",4,"ngIf"],["color","warning",4,"ngIf"],[1,"form-group","hide","d-none"],["for","policyStorageSizeAllowed"],["type","number","name","policyStorageSizeAllowed","id","policyStorageSizeAllowed","placeholder","","value","0","autocomplete","off","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","policyUsersAllowed"],["type","number","name","policyUsersAllowed","id","policyUsersAllowed","placeholder","","value","0","autocomplete","off","required","",1,"form-control",3,"ngModelChange","ngModel"],["cRounded","bottom",3,"activeTabPaneIdx"],[1,"p-3","preview"],[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",3,"display",4,"ngIf"],[1,"form-group","col-lg-7"],["for","msAppBluKrypt"],["cSelect","","name","msAppBluKrypt","id","msAppBluKrypt","title","Select Backup Agent",1,"form-control","msAppBluKrypt",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"btn","btn-primary","pull-right",3,"click"],[1,"btn","btn-default","pull-right",2,"margin-right","10px",3,"click"],["headerH4","Confirmation","bodyH4","Are you sure you want to continue?",3,"footerButtons",4,"ngIf"],["href","pms"],[3,"href"],[1,"text-danger"],[2,"color","red"],[1,"row","col-lg-6",2,"display","flex"],["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"],["for","Blukryptipaddress"],["appearance","fill",2,"width","100%"],["multiple","",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],[3,"value"],["headerH4","Confirmation","bodyH4","Are you sure you want to continue?",3,"footerButtons"]],template:function(s,t){if(s&1){let c=G();o(0,"div",4)(1,"div",5)(2,"div",6)(3,"ol",7),T(4,ft,5,3,"li",8)(5,vt,4,4,"li",8)(6,Tt,4,3,"li",8),l()()()(),o(7,"c-row")(8,"form",9,0),L("ngSubmit",function(){f(c);let d=U(9);return v(t.submitCreatePolicy(d))}),o(10,"c-col",10)(11,"c-card",11)(12,"c-card-header"),i(13,`
          `),i(14,`
          `),o(15,"div",12),i(16,`
            `),o(17,"div",13),i(18,`
              `),o(19,"div",14),i(20,`
                `),o(21,"label",15),i(22),y(23,"translate"),l(),i(24,`
                `),o(25,"input",16,1),F("ngModelChange",function(d){return f(c),w(t.policygroupName,d)||(t.policygroupName=d),v(d)}),l(),i(27,`
                `),T(28,Ct,8,3,"div",17),i(29,`
              `),l(),i(30,`
              `),o(31,"div",18),i(32,`
                `),o(33,"label",19),i(34),y(35,"translate"),l(),i(36,`
                `),o(37,"textarea",20),F("ngModelChange",function(d){return f(c),w(t.description,d)||(t.description=d),v(d)}),L("input",function(){return f(c),v(t.validateDescription())}),l(),i(38,`
                `),T(39,Pt,2,0,"small",21),i(40,`
                `),T(41,kt,2,0,"small",21),i(42,`
              `),l(),i(43,`
              `),T(44,Mt,16,4,"div",22),i(45,`
              `),T(46,wt,4,0,"c-callout",23),i(47,`
              `),o(48,"div",24),i(49,`
                `),o(50,"label",25),i(51),y(52,"translate"),l(),i(53,`
                `),o(54,"input",26),F("ngModelChange",function(d){return f(c),w(t.policyStorageSizeAllowed,d)||(t.policyStorageSizeAllowed=d),v(d)}),l(),i(55,`
                `),o(56,"label",27),i(57),y(58,"translate"),l(),i(59,`
                `),o(60,"input",28),F("ngModelChange",function(d){return f(c),w(t.policyUsersAllowed,d)||(t.policyUsersAllowed=d),v(d)}),l(),i(61,`
              `),l(),i(62,`
            `),l(),i(63,`
          `),l(),i(64,`
        `),l(),o(65,"c-card-body")(66,"c-tab-content",29,2)(68,"c-tab-pane",30)(69,"div",5)(70,"div",13)(71,"div",31)(72,"label",32),i(73),y(74,"translate"),l(),o(75,"select",33),F("ngModelChange",function(d){return f(c),w(t.searchAlgorithm,d)||(t.searchAlgorithm=d),v(d)}),L("change",function(){return f(c),v(t.onSearchAlgorithmChange())}),o(76,"option",34),i(77),y(78,"translate"),l(),o(79,"option",35),i(80),y(81,"translate"),l()()(),T(82,_t,8,9,"div",36),l(),o(83,"div",37)(84,"label",38),i(85),y(86,"translate"),l(),o(87,"select",39),F("ngModelChange",function(d){return f(c),w(t.msAppBluKrypt,d)||(t.msAppBluKrypt=d),v(d)}),T(88,Ot,2,2,"option",40),l()()()()(),o(89,"div",5)(90,"div",6)(91,"a",41),L("click",function(){return f(c),v(t.submitPolicy())}),i(92,"Save"),l(),o(93,"a",42),L("click",function(){return f(c),v(t.sendMeTo("/pms/"+t.productKey))}),i(94),y(95,"translate"),l()()()()()()()(),T(96,At,1,8,"app-modal",43)}if(s&2){let c=U(9),a=U(26);n(4),h("ngIf",t.parent!=""),n(),h("ngIf",t.child!=""),n(),h("ngIf",t.subchild!=""),n(16),b(S(23,31,"Policy Name")),n(3),M("ngModel",t.policygroupName),n(3),h("ngIf",a.invalid&&(a.dirty||a.touched||c.submitted)),n(6),b(S(35,33,"Description")),n(3),M("ngModel",t.description),n(2),h("ngIf",t.description.length>0&&t.description.length<5),n(2),h("ngIf",t.description.length>0&&t.description.length>512),n(3),h("ngIf",(t.selectedProduct==null||t.selectedProduct.featureLicenceKey==null?null:t.selectedProduct.featureLicenceKey.msStorageAPI)&&t.inclusionLicenses.includes(t.selectedProduct.featureLicenceKey.msStorageAPI)),n(2),h("ngIf",(t.selectedProduct==null||t.selectedProduct.featureLicenceKey==null?null:t.selectedProduct.featureLicenceKey.msStorageAPI)&&t.inclusionLicenses.includes(t.selectedProduct.featureLicenceKey.msStorageAPI)),n(5),b(S(52,35,"Maximum Backup Size(GB)")),n(3),M("ngModel",t.policyStorageSizeAllowed),n(3),b(S(58,37,"Number of Users Allowed")),n(3),M("ngModel",t.policyUsersAllowed),n(6),h("activeTabPaneIdx",0),n(5),K("display",t.userType=="superAdmin"&&t.productKey=="backup"?"block":"none"),n(2),b(S(74,39,"Blukrypt Search Algorithm")),n(2),M("ngModel",t.searchAlgorithm),n(2),b(S(78,41,"Nearest")),n(3),b(S(81,43,"Priority")),n(2),h("ngIf",t.searchAlgorithm==="PRIORITY"),n(),K("display",t.userType=="superAdmin"&&t.productKey!="backup"?"block":"none"),n(2),b(S(86,45,"M365 Backup Agent")),n(2),M("ngModel",t.msAppBluKrypt),n(),h("ngForOf",t.pgs),n(6),b(S(95,47,"Cancel")),n(2),h("ngIf",t.displayConfirmPolicySave)}},dependencies:[ve,Te,we,Me,He,Be,Re,ze,xe,Ue,Ae,Ee,De,Le,Ke,Ve,Ge,je,be,qe,ae,_e,Fe,ce,le,de,Oe,We,Ne,Ie,Se,ke,Ce,Pe,ye,dt,at,lt,ot,Qe,$e,et,fe,ge],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 r})();export{pi as MsAgentComponent};
