import{a as H}from"./chunk-NOHFQP3R.js";import{a as u}from"./chunk-V5H3D4QO.js";import{b as G}from"./chunk-QJMD2SGW.js";import{t as F}from"./chunk-Y4TQXMUD.js";import{d as R,e as V,i as f}from"./chunk-F46V5MTM.js";import{D as P,E as O}from"./chunk-EYGQBKHN.js";import{Aa as D,eb as L,f as E,i as j,l as w,t as A,za as B}from"./chunk-3H2Q52KW.js";import{$c as y,Ab as M,Dd as S,Ec as o,Fc as g,Hb as v,Hd as b,Qc as I,Rb as l,bc as e,cc as i,hc as T,lb as s,mb as r,nc as m,pc as d,sa as C,ta as x,vd as k}from"./chunk-DF3EMM3Z.js";import{i as _}from"./chunk-2AVGQ2MQ.js";function W(t,h){if(t&1&&(e(0,"li")(1,"h3")(2,"a",11),o(3),i()()()),t&2){let n=d();s(3),g(n.parent)}}function X(t,h){if(t&1&&(e(0,"li")(1,"a",12),o(2),i()()),t&2){let n=d();s(2),g(n.child)}}function Y(t,h){if(t&1&&(e(0,"li")(1,"span"),o(2),i()()),t&2){let n=d();s(2),g(n.subchild)}}function Z(t,h){if(t&1){let n=T();e(0,"div",5)(1,"c-card",6)(2,"c-card-body",7),m("click",function(){C(n);let c=d();return x(c.sendMeTo("/settings/m365BackupStorage"))}),e(3,"h5",8),o(4," M365 Backup Storage Settings"),i(),e(5,"p",9),o(6," Change your M365 Backup Storage Settings "),i()()()()}}var _e=(()=>{class t{constructor(n,a,c,p,N,q,z,J,K,Q,U){this.http=n,this.datePipe=a,this.titleService=c,this.toastr=p,this.apiService=N,this.AuthService=q,this.globalConstantsService=z,this.cdr=J,this.router=K,this.sharedService=Q,this.licenseCheckService=U,this.title="Settings",this.parent="Settings",this.child="M365 Settings",this.subchild="",this.inclusionLicenses=[],this.exclusionLicenses=[]}ngOnInit(){return _(this,null,function*(){this.inclusionLicenses=yield this.licenseCheckService.getInclusionLicensesNew()})}sendMeTo(n){this.router.navigate([n])}static{this.\u0275fac=function(a){return new(a||t)(r(E),r(S),r(w),r(G),r(f),r(R),r(u),r(y),r(A),r(V),r(H))}}static{this.\u0275cmp=M({type:t,selectors:[["app-m365Settings"]],features:[I([S,f,u])],decls:30,vars:4,consts:[[1,"container"],[1,"row"],[1,"col-lg-6"],[1,"breadcrumb"],[4,"ngIf"],[1,"col-lg-4","d-flex"],[1,"tile","flex-fill"],[2,"cursor","pointer",3,"click"],["cCardTitle",""],["cCardText",""],["class","col-lg-4 d-flex",4,"ngIf"],["href","settings"],["href","settings/m365Settings"]],template:function(a,c){a&1&&(e(0,"div",0)(1,"div",1)(2,"div",2)(3,"ol",3),v(4,W,4,1,"li",4)(5,X,3,1,"li",4)(6,Y,3,1,"li",4),i()()()(),e(7,"c-row")(8,"div",5)(9,"c-card",6)(10,"c-card-body",7),m("click",function(){return c.sendMeTo("/settings/m365Settings/m365TenantSettings")}),e(11,"h5",8),o(12," M365 Tenant Settings"),i(),e(13,"p",9),o(14," Change your M365 Tenant Settings "),i()()()(),e(15,"div",5)(16,"c-card",6)(17,"c-card-body",7),m("click",function(){return c.sendMeTo("/settings/m365Settings/exchangeSettings")}),e(18,"h5",8),o(19," Exchange Online Settings"),i(),e(20,"p",9),o(21," Change your Exchange Online Tenant Settings "),i()()()(),e(22,"div",5)(23,"c-card",6)(24,"c-card-body",7),m("click",function(){return c.sendMeTo("/settings/m365Settings/m365BackupAgentSettings")}),e(25,"h5",8),o(26," M365 Backup Agent Settings"),i(),e(27,"p",9),o(28," Change your M365 Backup Agent Settings "),i()()()(),v(29,Z,7,0,"div",10),i()),a&2&&(s(4),l("ngIf",c.parent!=""),s(),l("ngIf",c.child!=""),s(),l("ngIf",c.subchild!=""),s(23),l("ngIf",c.inclusionLicenses.includes("ismsstorageapienabled")))},dependencies:[B,D,L,O,F,j,b,k,P],styles:[".col-lg-4[_ngcontent-%COMP%], .col-lg-3[_ngcontent-%COMP%]{padding:5px}"]})}}return t})();export{_e as M365SettingsComponent};
