import{a as ut,b as mt}from"./chunk-FZWQ4PBR.js";import{a as gt,b as ft}from"./chunk-FCH33Y4A.js";import"./chunk-7F4EMYHG.js";import{a as ct,b as ht,c as pt}from"./chunk-LY4LE3ZV.js";import"./chunk-VNZVXZZI.js";import"./chunk-LYGK3HJE.js";import{h as lt,i as dt}from"./chunk-ATRETRRG.js";import"./chunk-6H57ZDGU.js";import{i as nt,n as ot}from"./chunk-V4UAVMY4.js";import{b as et,g as tt}from"./chunk-P33DVZ7N.js";import{a as at}from"./chunk-2XYZPMM5.js";import{a as it}from"./chunk-5WEX4WXF.js";import{b as q,c as rt}from"./chunk-GW6EJD7X.js";import{d as H}from"./chunk-M55Z2IPG.js";import{a as st}from"./chunk-D5LZVIV7.js";import{s as Ye}from"./chunk-A5BGCB72.js";import{c as Xe,d as Ze,g as $e}from"./chunk-7UEYEAFD.js";import{b as Oe,c as Ie,g as Le,h as Ne,i as Be,j as Ue,k as Ee,l as Re,p as Ke,q as Ve,r as ze,u as Ge,v as je,w as We,x as He,y as qe,z as Je}from"./chunk-F7N4QFP2.js";import{a as Qe}from"./chunk-65YPH4ME.js";import{$ as fe,$a as Pe,A as W,Cb as xe,Db as Ae,E as pe,Fb as De,H as ue,Ka as ye,Ma as be,N as me,Na as Se,Q as ge,Qa as Te,aa as ve,ab as Ce,cb as Me,db as ke,eb as we,hb as _e,i as le,ib as Fe,l as de,q as ce,r as he}from"./chunk-LN23P53Z.js";import{A as Z,Bb as ee,Cc as U,Da as M,Dc as i,Ec as b,Fb as te,Fc as j,Hb as y,Ia as Q,Ic as k,Jc as w,Kc as _,Oc as ne,Pc as J,Qc as Y,Rc as oe,Tb as h,Ub as V,Uc as S,Vc as T,bd as ae,dc as o,ec as a,fc as z,gb as $,gc as ie,hc as se,jc as G,lb as n,oc as I,pc as P,rb as u,sa as f,sc as re,ta as v}from"./chunk-2BMUMDG3.js";import{a as D,b as O,i as X}from"./chunk-2AVGQ2MQ.js";var vt=()=>({standalone:!0}),yt=s=>({label:"Cancel",class:"btn btn-default",action:s}),bt=s=>({label:"Ok",class:"btn btn-primary",action:s}),St=(s,p)=>[s,p];function Tt(s,p){if(s&1&&(o(0,"li")(1,"h3")(2,"a",44),i(3),S(4,"translate"),a()()()),s&2){let e=P();n(3),b(T(4,1,e.parent))}}function Pt(s,p){if(s&1&&(o(0,"li")(1,"a",45),i(2),S(3,"translate"),a()()),s&2){let e=P();n(),h("href","pms/"+(e.selectedProduct==null||e.selectedProduct.routes==null?null:e.selectedProduct.routes.policy),$),n(),b(T(3,2,e.child))}}function Ct(s,p){if(s&1&&(o(0,"li")(1,"span"),i(2),S(3,"translate"),a()()),s&2){let e=P();n(2),b(T(3,1,e.subchild))}}function Mt(s,p){s&1&&(o(0,"small"),i(1,`
                    Policy Name is required.
                  `),a())}function kt(s,p){if(s&1&&(o(0,"small"),i(1),a()),s&2){let e=P(2);n(),j(`
                    `,e.errortext,`
                  `)}}function wt(s,p){s&1&&(o(0,"small"),i(1,`
                    Policy Name must be at least 3 characters long.
                  `),a())}function _t(s,p){if(s&1&&(o(0,"div",46),i(1,`
                  `),y(2,Mt,2,0,"small",8),i(3,`
                  `),y(4,kt,2,1,"small",8),i(5,`
                  `),y(6,wt,2,0,"small",8),i(7,`
                `),a()),s&2){P();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 Ft(s,p){s&1&&(o(0,"small",47),i(1,`
                  This value is too short. It should have 5 characters or more.
                `),a())}function xt(s,p){s&1&&(o(0,"small",47),i(1,`
                  This value is too long. It should have 512 characters or fewer.
                `),a())}function At(s,p){if(s&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," "),z(6,"i",50),a()(),i(7,`
                `),o(8,"div",51),i(9,`
                  `),o(10,"c-form-check",52),i(11,`
                    `),o(12,"input",53),_("ngModelChange",function(t){f(e);let c=P();return w(c.msStorageBackupEnabled,t)||(c.msStorageBackupEnabled=t),v(t)}),a(),i(13,`
                  `),a(),i(14,`
                `),a(),i(15,`
              `),a()}if(s&2){let e=P();n(10),h("switch",!0),n(2),k("ngModel",e.msStorageBackupEnabled),h("ngModelOptions",J(3,vt))}}function Dt(s,p){s&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.`),z(2,"br"),i(3,` Microsoft 365 Backup
                Storage enables
                ultra-fast backups by creating a secondary copy within the Microsoft 365 service data
                boundary.
              `),a())}function Ot(s,p){if(s&1&&(o(0,"mat-option",59),i(1),a()),s&2){let e=p.$implicit;h("value",e.gatewayName),n(),j(" ",e.gatewayName," ")}}function It(s,p){if(s&1&&(ie(0),o(1,"mat-chip",60),i(2),a(),se()),s&2){let e=p.$implicit;n(2),b(e)}}function Lt(s,p){if(s&1){let e=G();o(0,"div",14)(1,"label",55),i(2),S(3,"translate"),a(),o(4,"mat-form-field",56)(5,"mat-select",57,3),_("ngModelChange",function(t){f(e);let c=P();return w(c.checkedListPg,t)||(c.checkedListPg=t),v(t)}),I("selectionChange",function(t){f(e);let c=P();return v(c.onBlukryptChange(t))}),y(7,Ot,2,2,"mat-option",40),o(8,"mat-select-trigger"),y(9,It,3,1,"ng-container",58),a()()()()}if(s&2){let e=P();V("display",e.userType=="superAdmin"&&e.productKey=="backup"?"block":"none"),n(2),b(T(3,7,"Preferred BluKrypt Hostnames")),n(3),k("ngModel",e.checkedListPg),h("ngModelOptions",J(9,vt)),n(2),h("ngForOf",e.pgs),n(2),h("ngForOf",e.checkedListPg)}}function Nt(s,p){if(s&1&&(o(0,"option",59),i(1),a()),s&2){let e=p.$implicit;re("value",e.gatewayName),n(),j("",e.gatewayName," ")}}function Bt(s,p){if(s&1&&z(0,"app-modal",61),s&2){let e=P(),r=U(9);h("footerButtons",oe(5,St,Y(1,yt,e.closePolicySaveConfirmPopup),Y(3,bt,e.submitCreatePolicy(r))))}}var Ti=(()=>{class s extends mt{constructor(e,r,t,c,l,d,E,m,F,x,L,g,C,N,K,R,B,A){super(r,t,c,l,d,E,m,F,x,d,g,C,N,K,L,R,B),this.http=e,this.datePipe=r,this.titleService=t,this.toastr=c,this.apiService=l,this.AuthService=d,this.globalConstantsService=E,this.cdr=m,this.router=F,this.sharedService=x,this.el=L,this.configService=g,this.licenseCheckService=C,this.TranslateService=N,this.userRoleService=K,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 M,this.shareIndividualCheckedList=new M,this.showDropDownFilter=!1,this.currentSelectedFilter={},this.shareCheckedListFilter=new M,this.shareIndividualCheckedListFilter=new M,this.showDropDownSearchFilter=!1,this.currentSelectedSearchFilter={},this.shareCheckedListSearchFilter=new M,this.shareIndividualCheckedListSearchFilter=new M,this.shareCheckedListPg=new M,this.shareIndividualCheckedListPg=new M,this.includepurgeFilesOlderThan=!1,this.switchpurgeDeletedFilesOlderThan=!1,this.purgeDeletedFilesOlderThan="UNLIMITED",this.productKey="",this.productTitle="",this.selectedProduct={},t.setTitle(this.title)}ngOnInit(){return X(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(r=>r.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.TranslateService.instant("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(),r=this.policyManagementService.getAllFilters(),t=this.apiService.getPgs(),c=this.apiService.cloudProperties(),l=this.policyManagementService.getGlobalExclusion(),d=this.policyManagementService.getPolicyCommon(this.sharedService.getDataByKey("currentPolicyName"),this.productKey),E=[e,r,t,c,l,d];if(this.selectedProduct.key==="backup"){let m=this.policyManagementService.getAllNoBackupSchedules();E.push(m)}Z(E).subscribe(m=>{let[F,x,L,g,C,N,K]=m;console.log("API 1 response status:",F.status),console.log("API 1 response body:",F.body.scheduleElementList),console.log("API 1 response headers:",F.headers),console.log("API 2 response body:",x.body.inclusionFilterElementList),console.log("API 2 response headers:",x.headers),console.log("API 3 response body:",L.body.privacyGatewayElementList),console.log("API 3 response headers:",L.headers),console.log("API 4 response body:",g.body),console.log("API 4 response headers:",g.headers),console.log("API 5 response body:",C.body),console.log("API 5 response headers:",C.headers),console.log("API 6 response body:",N.body.data),console.log("API 6 response headers:",N.headers);let R=L.body.privacyGatewayElementList.map(A=>({gatewayName:A.gatewayName,status:!1}));console.log("Transformed Data:",R),this.schedules=F.body.scheduleElementList,this.selectedProduct.key==="backup"&&(this.noBackupSchedules=K.body.noBkpScheduleElementList),this.filters=x.body.inclusionFilterElementList.map(A=>O(D({},A),{status:!1})),console.log("filterssssssssss : "+JSON.stringify(this.filters)),this.searchfilters=x.body.inclusionFilterElementList.map(A=>O(D({},A),{status:!1})),this.pgs=R,console.log("API 5 response body:",JSON.stringify(C.body.globalExcludedFoldersElement.globalExcludedFoldersList.win));let B=[...new Set([...C.body.globalExcludedFoldersElement.globalExcludedFoldersList.win,...C.body.globalExcludedFoldersElement.globalExcludedFoldersList.mac])];B=[...new Set([...B,...C.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,dt(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 r=!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.")),r=!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.")),r=!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.")),r=!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.")),r=!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.")),r=!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.")),r=!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.")),r=!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),r=!0),this.threshholdLimitError!=""&&(this.toastr.error(this.TranslateService.instant("Please check the value for {{productTitle}} consumption is higher than (%).")),r=!0),this.purgeFilesOlderThanError!=""&&(this.toastr.error(this.TranslateService.instant("Please check the value for Files have not been modified in (days).")),r=!0),this.purgeFilesSizeGTThanError!=""&&(this.toastr.error(this.TranslateService.instant("Please check the value for Files are of size greater than (MB).")),r=!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.")),r=!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.")),r=!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.")),r=!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.")),r=!0)),(this.purgeError!=""||this.createMailLinkEnabled&&this.purgeFilesOlderThan=="")&&(this.toastr.error(this.TranslateService.instant("Please check the value of days for attachment archiving.")),r=!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.")),r=!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.")),r=!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 l of c)if(l.textContent?.trim()){l.scrollIntoView({behavior:"smooth",block:"center"});break}if(!r){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)),lt(this,this.dataModel.commonPolicyModelToComponentScopeMap(),this.policyModel),console.log(JSON.stringify(this.policyModel)),this.onUnitChange(),this.policyManagementService.editPolicyCommon(this.policyModel,this.productKey).subscribe(l=>{console.log("Policy edited successfully:",l),this.toastr.success(this.TranslateService.instant("Policy edited successfully."),this.TranslateService.instant("Info")),setTimeout(()=>{this.router.navigate(["/pms/"+this.selectedProduct.routes.policy])},5e3)},l=>{switch(l.status){case 400:console.error("Bad Request: ",l.message);break;case 401:console.error("Unauthorized: ",l.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: ",l.message);break;case 503:console.error("Internal Server Error: ",l.message);break;default:console.error("Unknown Error: ",l.message);break}})}}}getPolicy(e){this.policygroupName=e.policygroupName,this.description=e.description,this.checkedListSchedule=e.scheduleNames,this.schedules=this.schedules.map(l=>O(D({},l),{checked:this.checkedListSchedule.includes(l.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(l=>O(D({},l),{checked:this.checkedListFilter.includes(l.filterName)})),this.getMultipleFilters(this.checkedListFilter.toString()),this.inclusionSearchFilter=e.searchFilterType=="inclusion",this.checkedListSearchFilter=e.searchFilterInclusionName,this.filters=this.filters.map(l=>O(D({},l),{checked:this.checkedListSearchFilter.includes(l.filterName)})),this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()),this.nwFromClientToPGMB=e.nwFromClientToPGMB;let r=Math.round(e.nwFromClientToPGMB*1e4)/1e4,t="mbps";r<1?(r=Math.round(r*1024),t="kbps"):r>1024&&r===1e4?(r=-1,t="mbps"):r>1024?(r=Math.round(r/1024),t="gbps"):r=Math.round(r),r==-1?(this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps",this.isThrottleEnabled=!1):(this.nwFromClientToPGMB=r.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(l=>O(D({},l),{checked:this.checkedListPg.includes(l.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)}checkpurgeFilesOlderThan(){let e=Number(this.purgeFilesOlderThan);this.purgeFilesOlderThanError="",(e<1||e>9131)&&(this.purgeFilesOlderThanError=this.TranslateService.instant("This value should be between {{min}} and {{max}}.",{min:1,max:9131}))}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(r){return new(r||s)(u(le),u(W),u(ue),u(rt),u(H),u(Xe),u(q),u(ae),u(ge),u(Ze),u(Q),u(Qe),u(it),u(fe),u($e),u(st),u(ut),u(me))}}static{this.\u0275cmp=ee({type:s,selectors:[["app-msedit"]],outputs:{shareCheckedList:"shareCheckedList",shareIndividualCheckedList:"shareIndividualCheckedList",shareCheckedListFilter:"shareCheckedListFilter",shareIndividualCheckedListFilter:"shareIndividualCheckedListFilter",shareCheckedListSearchFilter:"shareCheckedListSearchFilter",shareIndividualCheckedListSearchFilter:"shareIndividualCheckedListSearchFilter",shareCheckedListPg:"shareCheckedListPg",shareIndividualCheckedListPg:"shareIndividualCheckedListPg"},features:[ne([W,H,q]),te],decls:98,vars:52,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","required","","autocomplete","off","autofocus","","pattern","^[a-zA-Z0-9@._-]*$","title","Only letters, numbers, and @, -, _, . are allowed","readonly","",1,"form-control",3,"ngModelChange","ngModel","placeholder"],["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"],[4,"ngFor","ngForOf"],[3,"value"],[2,"margin","2px"],["headerH4","Confirmation","bodyH4","Are you sure you want to continue?",3,"footerButtons"]],template:function(r,t){if(r&1){let c=G();o(0,"div",4)(1,"div",5)(2,"div",6)(3,"ol",7),y(4,Tt,5,3,"li",8)(5,Pt,4,4,"li",8)(6,Ct,4,3,"li",8),a()()()(),o(7,"c-row")(8,"form",9,0),I("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),S(23,"translate"),a(),i(24,`
                `),o(25,"input",16,1),S(27,"translate"),_("ngModelChange",function(d){return f(c),w(t.policygroupName,d)||(t.policygroupName=d),v(d)}),a(),i(28,`
                `),y(29,_t,8,3,"div",17),i(30,`
              `),a(),i(31,`
              `),o(32,"div",18),i(33,`
                `),o(34,"label",19),i(35),S(36,"translate"),a(),i(37,`
                `),o(38,"textarea",20),_("ngModelChange",function(d){return f(c),w(t.description,d)||(t.description=d),v(d)}),I("input",function(){return f(c),v(t.validateDescription())}),a(),i(39,`
                `),y(40,Ft,2,0,"small",21),i(41,`
                `),y(42,xt,2,0,"small",21),i(43,`
              `),a(),i(44,`
              `),y(45,At,16,4,"div",22),i(46,`
              `),y(47,Dt,4,0,"c-callout",23),i(48,`
              `),o(49,"div",24),i(50,`
                `),o(51,"label",25),i(52),S(53,"translate"),a(),i(54,`
                `),o(55,"input",26),_("ngModelChange",function(d){return f(c),w(t.policyStorageSizeAllowed,d)||(t.policyStorageSizeAllowed=d),v(d)}),a(),i(56,`
                `),o(57,"label",27),i(58),S(59,"translate"),a(),i(60,`
                `),o(61,"input",28),_("ngModelChange",function(d){return f(c),w(t.policyUsersAllowed,d)||(t.policyUsersAllowed=d),v(d)}),a(),i(62,`
              `),a(),i(63,`
            `),a(),i(64,`
          `),a(),i(65,`
        `),a(),o(66,"c-card-body")(67,"c-tab-content",29,2)(69,"c-tab-pane",30)(70,"div",5)(71,"div",13)(72,"div",31)(73,"label",32),i(74),S(75,"translate"),a(),o(76,"select",33),_("ngModelChange",function(d){return f(c),w(t.searchAlgorithm,d)||(t.searchAlgorithm=d),v(d)}),I("change",function(){return f(c),v(t.onSearchAlgorithmChange())}),o(77,"option",34),i(78),S(79,"translate"),a(),o(80,"option",35),i(81),S(82,"translate"),a()()(),y(83,Lt,10,10,"div",36),a(),o(84,"div",37)(85,"label",38),i(86),S(87,"translate"),a(),o(88,"select",39),_("ngModelChange",function(d){return f(c),w(t.msAppBluKrypt,d)||(t.msAppBluKrypt=d),v(d)}),y(89,Nt,2,2,"option",40),a()()()()(),o(90,"div",5)(91,"div",6)(92,"a",41),I("click",function(){return f(c),v(t.submitPolicy())}),i(93,"Save"),a(),o(94,"a",42),I("click",function(){return f(c),v(t.sendMeTo("/pms/"+t.productKey))}),i(95),S(96,"translate"),a()()()()()()()(),y(97,Bt,1,8,"app-modal",43)}if(r&2){let c=U(9),l=U(26);n(4),h("ngIf",t.parent!=""),n(),h("ngIf",t.child!=""),n(),h("ngIf",t.subchild!=""),n(16),b(T(23,32,"Policy Name")),n(3),k("ngModel",t.policygroupName),h("placeholder",T(27,34,"Enter Policy Name")),n(4),h("ngIf",l.invalid&&(l.dirty||l.touched||c.submitted)),n(6),b(T(36,36,"Description")),n(3),k("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(T(53,38,"Maximum Backup Size(GB)")),n(3),k("ngModel",t.policyStorageSizeAllowed),n(3),b(T(59,40,"Number of Users Allowed")),n(3),k("ngModel",t.policyUsersAllowed),n(6),h("activeTabPaneIdx",0),n(5),V("display",t.userType=="superAdmin"&&t.productKey=="backup"?"block":"none"),n(2),b(T(75,42,"Blukrypt Search Algorithm")),n(2),k("ngModel",t.searchAlgorithm),n(2),b(T(79,44,"Nearest")),n(3),b(T(82,46,"Priority")),n(2),h("ngIf",t.searchAlgorithm==="PRIORITY"),n(),V("display",t.userType=="superAdmin"&&t.productKey!="backup"?"block":"none"),n(2),b(T(87,48,"M365 Backup Agent")),n(2),k("ngModel",t.msAppBluKrypt),n(),h("ngForOf",t.pgs),n(6),b(T(96,50,"Cancel")),n(2),h("ngIf",t.displayConfirmPolicySave)}},dependencies:[be,Se,Fe,_e,Je,Ee,Ve,ze,Ie,Re,Oe,Ke,Le,Ne,Ge,je,We,He,Te,Ye,de,Ae,xe,pe,ce,he,De,qe,Ue,Be,Ce,we,Me,ke,Pe,pt,nt,ct,ht,ot,et,tt,at,ye,ve,ft,gt],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 s})();export{Ti as MsAgentComponent};
