import{a as z}from"./chunk-NHUQD2C2.js";import{b as W,d as u}from"./chunk-VGNQ6GX5.js";import{d as T}from"./chunk-MEOEOGXB.js";import{w as V}from"./chunk-N53NM7AZ.js";import{y as w,z as j}from"./chunk-BNBVQHGL.js";import{b as X,c as B}from"./chunk-DSI4EXW5.js";import{Ka as R,f as G,i as P,l as D,ma as O,na as $,u as L}from"./chunk-IMCLO7B5.js";import{Ab as h,Fd as f,Gc as s,Hb as S,Hc as g,Jd as k,Rb as a,Rc as N,bc as e,bd as b,cc as o,dc as E,hc as v,kc as x,lb as l,lc as F,mb as r,mc as y,qc as d,rc as m,sa as C,ta as M,xd as A}from"./chunk-QPCTCEE3.js";import{i as I}from"./chunk-Z6FMTJBH.js";function Z(i,p){if(i&1&&(e(0,"li")(1,"h3")(2,"a",13),s(3),o()()()),i&2){let t=m();l(3),g(t.parent);}}function ee(i,p){if(i&1&&(e(0,"li")(1,"a",14),s(2),o()()),i&2){let t=m();l(2),g(t.child);}}function te(i,p){if(i&1&&(e(0,"li")(1,"span"),s(2),o()()),i&2){let t=m();l(2),g(t.subchild);}}function ie(i,p){if(i&1){let t=v();e(0,"div",15)(1,"c-card",8)(2,"c-card-body",9),d("click",function(){C(t);let n=m();return M(n.sendMeTo("/settings/m365Settings/m365Consent"));}),e(3,"div")(4,"h5",10),x(5,0),E(6,"i",16),F(),o(),e(7,"p",11),y(8,1),o()()()()();}}function ne(i,p){if(i&1){let t=v();e(0,"div",15)(1,"c-card",8)(2,"c-card-body",9),d("click",function(){C(t);let n=m();return M(n.sendMeTo("/settings/m365BackupStorage"));}),e(3,"h5",10),s(4," M365 Backup Storage Settings"),o(),e(5,"p",11),s(6," Change your M365 Backup Storage Settings "),o()()()();}}var Ee=(()=>{class i{constructor(t,c,n,_,H,q,J,K,Q,U,Y){this.http=t,this.datePipe=c,this.titleService=n,this.toastr=_,this.apiService=H,this.AuthService=q,this.globalConstantsService=J,this.cdr=K,this.router=Q,this.sharedService=U,this.licenseCheckService=Y,this.title="Settings",this.parent="Settings",this.child="Microsoft 365 Settings",this.subchild="",this.inclusionLicenses=[],this.exclusionLicenses=[];}ngOnInit(){return I(this,null,function*(){this.inclusionLicenses=yield this.licenseCheckService.getInclusionLicensesNew();});}sendMeTo(t){this.router.navigate([t]);}static{this.ɵfac=function(c){return new(c||i)(r(G),r(f),r(D),r(W),r(T),r(X),r(u),r(b),r(L),r(B),r(z));};}static{this.ɵcmp=h({type:i,selectors:[["app-m365Settings"]],features:[N([f,T,u])],decls:31,vars:5,consts:()=>{let t;t=""+"\uFFFD#6\uFFFD"+""+"\uFFFD/#6\uFFFD"+" Microsoft 365 Consent";let c;return c=" Consent for Microsoft 365 Apps ",[t,c,[1,"container"],[1,"row"],[1,"col-lg-6"],[1,"breadcrumb"],[4,"ngIf"],[1,"col-lg-4","d-none"],[1,"tile","flex-fill"],[2,"cursor","pointer",3,"click"],["cCardTitle",""],["cCardText",""],["class","col-lg-4 d-flex",4,"ngIf"],["href","settings"],["href","settings/m365Settings"],[1,"col-lg-4","d-flex"],[1,"fa","fa-cloud","fa-1x"]];},template:function(c,n){c&1&&(e(0,"div",2)(1,"div",3)(2,"div",4)(3,"ol",5),S(4,Z,4,1,"li",6)(5,ee,3,1,"li",6)(6,te,3,1,"li",6),o()()()(),e(7,"c-row")(8,"div",7)(9,"c-card",8)(10,"c-card-body",9),d("click",function(){return n.sendMeTo("/settings/m365Settings/m365TenantSettings");}),e(11,"h5",10),s(12," Microsoft 365 Tenant Settings"),o(),e(13,"p",11),s(14," Change your Microsoft 365 Tenant Settings "),o()()()(),S(15,ie,9,0,"div",12),e(16,"div",7)(17,"c-card",8)(18,"c-card-body",9),d("click",function(){return n.sendMeTo("/settings/m365Settings/exchangeSettings");}),e(19,"h5",10),s(20," Microsoft Exchange Online Settings"),o(),e(21,"p",11),s(22," Change your Exchange Online Tenant Settings "),o()()()(),e(23,"div",7)(24,"c-card",8)(25,"c-card-body",9),d("click",function(){return n.sendMeTo("/settings/m365Settings/m365BackupAgentSettings");}),e(26,"h5",10),s(27," Microsoft 365 backup agent settings"),o(),e(28,"p",11),s(29," Change your Microsoft 365 backup agent settings "),o()()()(),S(30,ne,7,0,"div",12),o()),c&2&&(l(4),a("ngIf",n.parent!=""),l(),a("ngIf",n.child!=""),l(),a("ngIf",n.subchild!=""),l(9),a("ngIf",!n.inclusionLicenses.includes("issmblicenseenabled")),l(15),a("ngIf",n.inclusionLicenses.includes("ismsstorageapienabled")));},dependencies:[O,$,R,j,V,P,k,A,w],styles:[".col-lg-4[_ngcontent-%COMP%], .col-lg-3[_ngcontent-%COMP%]{padding:5px}"]});}}return i;})();export{Ee as M365SettingsComponent};/**i18n:baf94ddeebe8e238ad6726a2c32767605608f8ef2ffb012a899af1d72d1eba78*/