1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[9353],{13114(R,C,n){n.d(C,{X:()=>h});var r=n(85802),$=n(19928),P=n(54381),y=n(97469),v=n(18530),f=n(7673),g=n(1807),t=n(30786),i=n(25558),s=n(88141),o=n(99437),e=n(23294),c=n(96354),l=n(99172),d=n(50644),a=n(92996);let h=(()=>{class p{tokenInfoService=(0,r.WQX)(a.Z);systemStatusService=(0,r.WQX)(y.Z);defsApiService=(0,r.WQX)(P.G);backupsApiService=(0,r.WQX)($.t);systemStatus$;systemDatabaseInformation$;systemHealthStatus$;systemParams$;failoverSettings$;versionType$;reset$=new v.B;constructor(){this.systemStatus$=this.reset$.pipe((0,l.Z)(void 0),(0,i.n)(()=>(0,g.O)(1,7e3).pipe((0,t.p)(()=>this.systemStatusService.getSystemStatus({}).pipe((0,o.W)(()=>(0,f.of)(null)))))),(0,d.H9)()),this.systemDatabaseInformation$=this.systemStatusService.systemDatabaseInformation().pipe((0,o.W)(()=>(0,f.of)(null))),this.systemHealthStatus$=this.systemStatusService.systemHealthStatus().pipe((0,o.W)(()=>(0,f.of)({}))),this.systemParams$=this.tokenInfoService.myToken$.pipe((0,c.T)(u=>u.singleCompany),(0,e.F)(),(0,i.n)(()=>this.defsApiService.getSystemParameters()),(0,o.W)(()=>(0,f.of)(null)),(0,d.H9)()),this.failoverSettings$=this.systemParams$.pipe((0,i.n)(u=>u&&!u.IsHosted3CX?this.backupsApiService.getBackupFailoverSettings():(0,f.of)({})),(0,o.W)(()=>(0,f.of)({}))),this.versionType$=this.systemStatusService.getVersionType().pipe((0,o.W)(()=>(0,f.of)(null)))}setChatLogStatus(u){return this.systemStatusService.setChatLogStatus({systemStatusSetChatLogStatusRequestBody:{enable:u}}).pipe((0,s.M)(()=>this.reset$.next()))}startDBMaintenance(){return this.systemStatusService.startDBMaintenance().pipe((0,s.M)(()=>this.reset$.next()))}static \u0275fac=function(E){return new(E||p)};static \u0275prov=r.jDH({token:p,factory:p.\u0275fac})}return p})()},76398(R,C,n){n.d(C,{k:()=>g});var r=n(85802),$=n(41657),P=n(74005),y=n(89417),v=n(77321),f=n(35547);let g=(()=>{class t{queryParameter="filter";service=(0,r.WQX)(v.S);static \u0275fac=function(o){return new(o||t)};static \u0275cmp=f.VBU({type:t,selectors:[["app-event-log-filter"]],inputs:{queryParameter:"queryParameter"},decls:2,vars:6,consts:[[1,"no-filter-spacing",3,"filterChanged","search","filterForm","forceSearchEmit","formGroup","queryParameter"],["formControlName","logLevel",3,"inline"]],template:function(o,e){1&o&&(f.j41(0,"app-complex-filter",0),f.bIt("filterChanged",function(){return e.service.applyFilter()}),f.nrm(1,"app-checkbox-group-filter",1),f.k0s()),2&o&&(f.Y8G("search",e.service.pager.search)("filterForm",e.service.filter)("forceSearchEmit",!0)("formGroup",e.service.filter)("queryParameter",e.queryParameter),f.R7$(),f.Y8G("inline",!0))},dependencies:[$.C,P.M,y.YN,y.BC,y.cb,y.X1,y.j4,y.JD],encapsulation:2,changeDetection:0})}return t})()},77321(R,C,n){n.d(C,{S:()=>a});var r=n(17705),$=n(85802),P=n(4801),y=n(95357),v=n(3106),f=n(89417),g=n(96827),t=n(78293),i=n(89079),s=n(23294),o=n(25558),e=n(38601),c=n(18530),l=n(38357),d=n(48643);let a=(()=>{class h{cd=(0,$.WQX)(r.gRc);pager;eventLogApiService=(0,$.WQX)(y.h);fileDownloadService=(0,$.WQX)(d.y);resolver=(0,$.WQX)(t.MR);modalService=(0,$.WQX)(e.B);destroy$=(0,$.WQX)($.abz);logLevelOptions=[v.t3.Info,v.t3.Warning,v.t3.Error].map(T=>({value:T,label:v.ad[T]}));filter=new f.gE({logLevel:new f.MJ(new g.M("_i18n.EventLogSeverity","logLevel",this.logLevelOptions,{selectedValues:t.EG.logLevel}),{nonNullable:!0})});dayFilter;pagerFilter$=new c.B;lastFilter;events;initialLoading=!0;constructor(){this.pager=new P.f(this.destroy$,this.resolver,void 0,this.resolver.getStoredPageSize(),void 0,!0),this.pager.pagedItems$.pipe((0,i.pQ)(this.destroy$)).subscribe({next:T=>this.updateItems(T),error:T=>this.modalService.error(T)}),this.pagerFilter$.pipe((0,s.F)(),(0,i.pQ)(this.destroy$)).subscribe(T=>{this.pager.filterChanged(T)})}buildDownloadRequestParams(){return{$filter:this.lastFilter,$search:(0,l.Bj)(this.pager.search.value)}}updateItems(T){this.initialLoading=!1,this.events=T.value||[],this.cd.markForCheck()}applyFilter(){const{logLevel:T}=this.filter.value;this.lastFilter=(0,t.PB)({logLevel:T.value.selectedValues,dayFilter:this.dayFilter}),this.pagerFilter$.next(this.lastFilter)}onPageSizeChange(T){this.resolver.setStoredPageSize(T),this.pager.pageSizeChanged(T)}purgeEventLogs$(){return this.modalService.confirmDangerAction("_i18n.PurgeEventLogConfirmation").pipe((0,o.n)(()=>this.eventLogApiService.purgeEventLog()))}downloadEventLogs(T=void 0){this.fileDownloadService.download(this.eventLogApiService.downloadEventLogsQuery(T??{}))}static \u0275fac=function(u){return new(u||h)};static \u0275prov=$.jDH({token:h,factory:h.\u0275fac})}return h})()},11423(R,C,n){n.d(C,{g:()=>N});var r=n(85802),$=n(38601),P=n(22972),y=n(40953),v=n(68018),f=n(62382),g=n(64631),t=n(31360),i=n(3106),s=n(7673),o=n(27468),e=n(96354);function c(b,I){return b.Message&&b.EventId===i.KZ?function l(b,I){const A=b&&/\s(\w+)\.?$/.exec(b)?.[1],L=A&&t.Y["license_error."+A];return L?(0,o.p)([I.get("_i18n.EventLogLicenseError"),I.get(L)]).pipe((0,e.T)(F=>({text:F.join(": "),translated:!0}))):(0,s.of)({text:b,translated:!1})}(b.Message,I):(0,s.of)({text:b.Message,translated:!1})}var d=n(49769),a=n(35547);const h={Info:"_i18n.Info",Warning:"_i18n.Warning",Error:"_i18n.Error",Critical:"_i18n.Critical"};let p=(()=>{class b{transform(A){return A?h[A]:""}static \u0275fac=function(L){return new(L||b)};static \u0275pipe=a.EJ8({name:"appEventLogType",type:b,pure:!0})}return b})();function T(b,I){if(1&b&&a.nrm(0,"span",8),2&b){const A=a.XpG();a.Y8G("innerHTML",A.text,a.npT)}}function u(b,I){if(1&b&&(a.j41(0,"span",9),a.EFF(1),a.k0s()),2&b){const A=a.XpG();a.R7$(),a.JRh(A.text)}}function E(b,I){1&b&&a.nVh(0,T,1,1,"span",8)(1,u,2,1,"span",9),2&b&&a.vxM(I.translated?0:1)}let S=(()=>{class b extends P.m{translate=(0,r.WQX)(v.c$);event;getMessage$(A){return c(A,this.translate)}static \u0275fac=(()=>{let A;return function(F){return(A||(A=a.xGo(b)))(F||b)}})();static \u0275cmp=a.VBU({type:b,selectors:[["ng-component"]],hostVars:2,hostBindings:function(L,F){2&L&&a.AVh("modal-lg",!0)},inputs:{event:"event"},features:[a.Vt3],decls:33,vars:31,consts:[["header","_i18n.EventsLabel",3,"buttons"],[1,"scrollable-table","mb-3"],[1,"col-size-100"],["data-qa","severity"],["data-qa","event-uri"],["target","_blank",1,"link","fw-bold",3,"href"],["data-qa","time"],["data-qa","details",1,"text-break"],["data-qa","translated",3,"innerHTML"],["data-qa","raw"]],template:function(L,F){if(1&L&&(a.j41(0,"app-modal-dialog",0)(1,"table",1)(2,"tr")(3,"td",2),a.EFF(4),a.nI1(5,"translate"),a.k0s(),a.j41(6,"td",3),a.EFF(7),a.nI1(8,"appEventLogType"),a.nI1(9,"translate"),a.k0s()(),a.j41(10,"tr")(11,"td"),a.EFF(12),a.nI1(13,"translate"),a.k0s(),a.j41(14,"td",4)(15,"a",5),a.nI1(16,"translate"),a.EFF(17),a.k0s()()(),a.j41(18,"tr")(19,"td"),a.EFF(20),a.nI1(21,"translate"),a.k0s(),a.j41(22,"td",6),a.EFF(23),a.nI1(24,"amLocal"),a.nI1(25,"amDateFormat"),a.k0s()(),a.j41(26,"tr")(27,"td"),a.EFF(28),a.nI1(29,"translate"),a.k0s(),a.j41(30,"td",7),a.nVh(31,E,2,1),a.nI1(32,"async"),a.k0s()()()()),2&L){let G;a.Y8G("buttons",F.buttons),a.R7$(4),a.JRh(a.bMT(5,10,"_i18n.EventLogSeverity")),a.R7$(3),a.JRh(a.bMT(9,14,a.bMT(8,12,F.event.Type))),a.R7$(5),a.JRh(a.bMT(13,16,"_i18n.EventsId")),a.R7$(3),a.Y8G("href",a.bMT(16,18,"_i18n.EventLogsUri"),a.B4B),a.R7$(2),a.SpI(" ",F.event.EventId," "),a.R7$(3),a.JRh(a.bMT(21,20,"_i18n.ReportsDate")),a.R7$(3),a.JRh(a.i5U(25,24,a.bMT(24,22,F.event.TimeGenerated),"L LT")),a.R7$(5),a.JRh(a.bMT(29,27,"_i18n.Details")),a.R7$(3),a.vxM((G=a.bMT(32,29,F.getMessage$(F.event)))?31:-1,G)}},dependencies:[y.p,v.D9,f.a,g.h,p,d.Jj],styles:["td[_ngcontent-%COMP%]{height:35px!important}"],changeDetection:0})}return b})();var O=n(65562),M=n(14414),B=n(8e4);const _=[[["","footer",""]]],D=["[footer]"],W=(b,I)=>({caller:b,callee:I}),j=(b,I)=>I.Id;function K(b,I){if(1&b&&(a.j41(0,"span"),a.EFF(1),a.nI1(2,"translate"),a.k0s(),a.j41(3,"span"),a.EFF(4),a.nI1(5,"translate"),a.k0s(),a.j41(6,"span"),a.EFF(7),a.nI1(8,"translate"),a.k0s()),2&b){const A=a.XpG().$implicit,L=a.XpG();a.R7$(),a.SpI("",a.bMT(2,3,L.calculateOverallScore(A.ParsedCQReport.MOS))," "),a.R7$(3),a.SpI("",a.bMT(5,5,"_i18n.CQReportMessage1part")," "),a.R7$(3),a.JRh(a.i5U(8,7,"_i18n.CQReportMessage2part",a.l_i(10,W,A.ParsedCQReport.Party1.Number,A.ParsedCQReport.Party2.Number)))}}function Q(b,I){if(1&b&&a.nrm(0,"span",15),2&b){const A=a.XpG();a.Y8G("innerHTML",A.text,a.npT)}}function k(b,I){if(1&b&&(a.j41(0,"span",16),a.EFF(1),a.k0s()),2&b){const A=a.XpG();a.R7$(),a.JRh(A.text)}}function w(b,I){1&b&&a.nVh(0,Q,1,1,"span",15)(1,k,2,1,"span",16),2&b&&a.vxM(I.translated?0:1)}function z(b,I){if(1&b&&(a.nVh(0,w,2,1),a.nI1(1,"async")),2&b){let A;const L=a.XpG().$implicit,F=a.XpG();a.vxM((A=a.bMT(1,1,F.getMessage$(L)))?0:-1,A)}}function X(b,I){if(1&b){const A=a.RV6();a.j41(0,"tr",5),a.bIt("click",function(){const F=r.eBV(A).$implicit,G=a.XpG();
1return r.Njj(G.openEventModal(F))}),a.j41(1,"td",6),a.nrm(2,"app-severity",7),a.nI1(3,"appEventLogType"),a.k0s(),a.j41(4,"td",8)(5,"a",9),a.nI1(6,"translate"),a.bIt("click",function(F){return F.stopPropagation()}),a.EFF(7),a.k0s()(),a.j41(8,"td",10),a.EFF(9),a.nI1(10,"amLocal"),a.nI1(11,"amDateFormat"),a.k0s(),a.j41(12,"td",11),a.EFF(13),a.k0s(),a.j41(14,"td",12),a.EFF(15),a.k0s(),a.j41(16,"td",13)(17,"span"),a.nVh(18,K,9,13)(19,z,2,3),a.k0s()(),a.j41(20,"td"),a.nrm(21,"span",14),a.k0s()()}if(2&b){const A=I.$implicit,L=a.XpG();a.R7$(2),a.Y8G("level",A.Type)("label",a.bMT(3,12,A.Type)),a.R7$(3),a.Y8G("href",a.bMT(6,14,"_i18n.EventLogsUri"),a.B4B),a.R7$(2),a.JRh(A.EventId),a.R7$(2),a.JRh(a.i5U(11,18,a.bMT(10,16,A.TimeGenerated),"L LT")),a.R7$(4),a.JRh(A.Source),a.R7$(2),a.JRh(A.GroupName),a.R7$(),a.HbH(L.isDashboard?"lg-visible":"md-visible"),a.R7$(),a.HbH(L.isDashboard?"line-clamp-1":"line-clamp-6"),a.R7$(),a.vxM(A.ParsedCQReport?18:19)}}let N=(()=>{class b{modalService=(0,r.WQX)($.B);translate=(0,r.WQX)(v.c$);events;isDashboard=!1;calculateOverallScore(A){return(0,O.G)(A)}openEventModal(A){A.EventId===i.xH?this.modalService.showDialog(O.n,{qualityReport:A.ParsedCQReport}):this.modalService.showDialog(S,{event:A})}getMessage$(A){return c(A,this.translate)}static \u0275fac=function(L){return new(L||b)};static \u0275cmp=a.VBU({type:b,selectors:[["app-event-log-list"]],inputs:{events:"events",isDashboard:"isDashboard"},ngContentSelectors:D,decls:27,vars:22,consts:[[1,"scrollable-table"],[1,"md-visible"],[1,"w-100"],[1,"small-icon"],["data-qa","event-log-row",1,"clickable"],["data-qa","event-log-row",1,"clickable",3,"click"],["nowrap","","data-qa","severity"],[3,"level","label"],["nowrap","","data-qa","uri"],["target","_blank",1,"link",3,"click","href"],["data-qa","time",1,"text-lg-nowrap"],["data-qa","source",1,"md-visible","text-lg-nowrap"],["data-qa","group-name",1,"md-visible","text-lg-nowrap"],["data-qa","details"],["app-search-regular-icon","",1,"customSVGIcons","svg-xs","fillIconWithTertiary"],["data-qa","translated",3,"innerHTML"],["data-qa","raw"]],template:function(L,F){1&L&&(a.NAR(_),a.j41(0,"table",0)(1,"thead")(2,"tr")(3,"th"),a.EFF(4),a.nI1(5,"translate"),a.k0s(),a.j41(6,"th"),a.EFF(7),a.nI1(8,"translate"),a.k0s(),a.j41(9,"th"),a.EFF(10),a.nI1(11,"translate"),a.k0s(),a.j41(12,"th",1),a.EFF(13),a.nI1(14,"translate"),a.k0s(),a.j41(15,"th",1),a.EFF(16),a.nI1(17,"translate"),a.k0s(),a.j41(18,"th",2),a.EFF(19),a.nI1(20,"translate"),a.k0s(),a.nrm(21,"th",3),a.k0s()(),a.j41(22,"tbody"),a.Z7z(23,X,22,21,"tr",4,j),a.k0s(),a.j41(25,"tfoot"),a.SdG(26),a.k0s()()),2&L&&(a.R7$(4),a.JRh(a.bMT(5,10,"_i18n.EventLogSeverity")),a.R7$(3),a.JRh(a.bMT(8,12,"_i18n.EventsId")),a.R7$(3),a.JRh(a.bMT(11,14,"_i18n.Date")),a.R7$(3),a.JRh(a.bMT(14,16,"_i18n.EventSource")),a.R7$(3),a.JRh(a.bMT(17,18,"_i18n.Department")),a.R7$(2),a.AVh("lg-visible",F.isDashboard)("md-visible",!F.isDashboard),a.R7$(),a.JRh(a.bMT(20,20,"_i18n.Details")),a.R7$(4),a.Dyx(F.events))},dependencies:[M.b,B.X,v.D9,f.a,g.h,p,d.Jj],encapsulation:2,changeDetection:0})}return b})()},3106(R,C,n){n.d(C,{KZ:()=>y,ad:()=>$,t3:()=>r,xH:()=>P});var r=function(v){return v.Info="Info",v.Warning="Warning",v.Error="Error",v}(r||{});const $={[r.Info]:"_i18n.Info",[r.Warning]:"_i18n.Warning",[r.Error]:"_i18n.Error"},P=10034,y=50025},47576(R,C,n){n.d(C,{P:()=>t});var r=n(85802),$=n(49769),P=n(11423),y=n(87019),v=n(77321),f=n(35547);function g(i,s){1&i&&(f.j41(0,"tr",1)(1,"td",2),f.nrm(2,"div",4),f.k0s()())}let t=(()=>{class i{service=(0,r.WQX)(v.S);static \u0275fac=function(e){return new(e||i)};static \u0275cmp=f.VBU({type:i,selectors:[["app-event-log-pager"]],decls:8,vars:13,consts:[[3,"events"],["footer",""],["colspan","7"],[3,"pageChanged","itemsPerPageChanged","currentPage","itemsPerPage","totalItems","showBoundaryLinks","showPageSizes"],[1,"loader"]],template:function(e,c){1&e&&(f.j41(0,"app-event-log-list",0),f.nVh(1,g,3,0,"tr",1),f.j41(2,"tr",1)(3,"td",2)(4,"app-paging",3),f.nI1(5,"async"),f.nI1(6,"async"),f.nI1(7,"async"),f.bIt("pageChanged",function(d){return c.service.pager.pageChanged(d)})("itemsPerPageChanged",function(d){return c.service.onPageSizeChange(d)}),f.k0s()()()()),2&e&&(f.Y8G("events",c.service.events),f.R7$(),f.vxM(c.service.initialLoading?1:-1),f.R7$(3),f.Y8G("currentPage",f.bMT(5,7,c.service.pager.currentPage$))("itemsPerPage",f.bMT(6,9,c.service.pager.pageSize$))("totalItems",f.bMT(7,11,c.service.pager.totalCount$))("showBoundaryLinks",!0)("showPageSizes",!0))},dependencies:[P.g,y.u4,$.Jj],encapsulation:2,changeDetection:0})}return i})()},78293(R,C,n){n.d(C,{EG:()=>h,MR:()=>E,PB:()=>u,ck:()=>S,pU:()=>O});var r=n(85802),$=n(95357),P=n(19037),y=n(7673),v=n(25558),f=n(99437),g=n(96354),t=n(3106),i=n(79737),s=n(92996),o=n(87019),e=n(42610),c=n(12426),l=n(38357),d=n(57935);const h={logLevel:[t.t3.Info,t.t3.Warning,t.t3.Error]};function T(M){try{return JSON.parse(M)}catch{return}}function u(M){let B=M.logLevel.map(_=>`Type eq '${_}'`).join(" or ")||"Type eq 'Warning' and Type eq 'Info'";return null!=M.dayFilter&&(B=`(${B}) and TimeGenerated ge ${M.dayFilter.start?.toISOString()} and TimeGenerated lt ${M.dayFilter.stop?.toISOString()}`),B}let E=(()=>{class M{orderBy="TimeGenerated desc";eventLogApiService=(0,r.WQX)($.h);tokenInfoService=(0,r.WQX)(s.Z);localStorageService=(0,r.WQX)(c.sj);getStoredPageSize(){const _=this.localStorageService.retrieve(e.Hh.EventLogsPageSize);return _?+_:o.z9}setStoredPageSize(_){this.localStorageService.store(e.Hh.EventLogsPageSize,_)}resolveData(_,D,W,j=u(h)){return this.tokenInfoService.getMyToken$().pipe((0,v.n)(K=>(0,i.l6)(K.myRole)?this.eventLogApiService.listEventLog({$orderby:[this.orderBy],$count:!0,$filter:j,$search:(0,l.Bj)(W),$skip:(_-1)*D,$top:D}).pipe((0,g.T)(k=>({value:k.value?.map(w=>{const z=function p(M){return M?M.replaceAll(/^(\r\n)+|(\r\n)+$/g,"").replaceAll(/((\r\n)+|(\.\r\n)+)+/g,". "):""}((0,d.SZ)(w.Message,...w.Params??[]));return{...w,Message:z,ParsedCQReport:w.EventId===t.xH?T(z):void 0}})??[],totalItems:k["@odata.count"]}))):(0,y.of)({value:[],totalItems:0})))}static \u0275fac=function(D){return new(D||M)};static \u0275prov=r.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})();const S=[t.t3.Warning,t.t3.Error],O=M=>
1{const B=(0,r.WQX)(E),_=(0,r.WQX)(P.s),D="event-log"===M.routeConfig?.path,W=D?B.getStoredPageSize():10,K=u({logLevel:D?h.logLevel:S});return B.resolveData(1,W,"",K).pipe((0,f.W)(Q=>_.handleError(Q)))}},8e4(R,C,n){n.d(C,{X:()=>c});var r=n(11004),$=n(10079),P=n(22129),y=n(68018),v=n(35547);const f=["*"];function g(l,d){1&l&&v.nrm(0,"span",1)}function t(l,d){1&l&&v.nrm(0,"span",2)}function i(l,d){1&l&&v.nrm(0,"span",2)}function s(l,d){1&l&&v.nrm(0,"span",3)}function o(l,d){1&l&&v.nrm(0,"span",4)}function e(l,d){if(1&l&&(v.j41(0,"div"),v.EFF(1),v.nI1(2,"translate"),v.k0s()),2&l){const a=v.XpG();v.R7$(),v.JRh(v.i5U(2,1,a.label,a.translateParams))}}let c=(()=>{class l{label;translateParams;level;static \u0275fac=function(h){return new(h||l)};static \u0275cmp=v.VBU({type:l,selectors:[["app-severity"]],inputs:{label:"label",translateParams:"translateParams",level:"level"},ngContentSelectors:f,decls:9,vars:6,consts:[[1,"d-flex"],["app-circle-check-solid-icon","",1,"fillIconGreen","float-start","svg-sm","me-1"],["app-exclamation-triangle-solid-icon","",1,"fillIconRed","float-start","svg-sm","me-1"],["app-info-circle-regular-icon","",1,"fillIconOrange","float-start","svg-sm","me-1"],["app-info-circle-regular-icon","",1,"fillIconBlue","float-start","svg-sm","me-1"]],template:function(h,p){1&h&&(v.NAR(),v.j41(0,"div",0),v.nVh(1,g,1,0,"span",1),v.nVh(2,t,1,0,"span",2),v.nVh(3,i,1,0,"span",2),v.nVh(4,s,1,0,"span",3),v.nVh(5,o,1,0,"span",4),v.j41(6,"div"),v.nVh(7,e,3,4,"div"),v.SdG(8),v.k0s()()),2&h&&(v.R7$(),v.vxM("Check"===p.level?1:-1),v.R7$(),v.vxM("Error"===p.level?2:-1),v.R7$(),v.vxM("Critical"===p.level?3:-1),v.R7$(),v.vxM("Warning"===p.level?4:-1),v.R7$(),v.vxM("Info"===p.level?5:-1),v.R7$(2),v.vxM(p.label?7:-1))},dependencies:[P.j,$.f,r.C,y.D9],encapsulation:2,changeDetection:0})}return l})()},19451(R,C,n){n.d(C,{$:()=>i,z:()=>t});var r=n(85802),$=n(27980),P=n(69340),y=n(99437),v=n(96354),f=n(19037),g=n(27468);const t=()=>{const s=(0,r.WQX)($.Q),o=(0,r.WQX)(f.s);return(0,g.p)([s.getVoicemailSettings({$select:["TranscribeLanguage","TranscribeEngine","TranscribeSecretKey","TranscribeModelOpenAI","CallRecordingStereo","AnalyzeModelOpenAI","AnalyzeModelGrok","TranscribeKeyGrok"]}),s.getTranscribeLanguages({}).pipe((0,v.T)(e=>e.value??[]))]).pipe((0,v.T)(([e,c])=>({...e,languages:c})),(0,y.W)(e=>o.handleError(e)))},i=()=>{const s=(0,r.WQX)($.Q),o=(0,r.WQX)(f.s);return s.getVoicemailSettings({$select:["TranscribeEngine"]}).pipe((0,v.T)(e=>e.TranscribeEngine??P.u.None),(0,y.W)(e=>o.handleError(e)))}},9353(R,C,n){n.d(C,{officeRoutes:()=>Se});var r=n(85802),$=n(59882),P=n(13961),y=n(38601);let v=(()=>{class m{router=(0,r.WQX)($.Ix);modalService=(0,r.WQX)(y.B);timeout;navigation;sub=new P.yU;constructor(){this.sub.add(this.router.events.subscribe(H=>{H instanceof $.Z?this.timeout=setTimeout(()=>{this.navigation=!0},1e3):H instanceof $.wF||H instanceof $.Cq?this.clearNavigation():H instanceof $.L6&&(this.clearNavigation(),this.modalService.error(H.error))}))}clearNavigation(){void 0!==this.timeout&&clearTimeout(this.timeout),this.timeout=void 0,this.navigation=!1}ngOnDestroy(){this.clearNavigation(),this.sub.unsubscribe()}static \u0275fac=function(x){return new(x||m)};static \u0275prov=r.jDH({token:m,factory:m.\u0275fac})}return m})();var f=n(92996),g=n(79737),t=n(60967),i=n(13114),s=n(93049),o=n(49769),e=n(35547);let c=(()=>{class m{static \u0275fac=function(x){return new(x||m)};static \u0275cmp=e.VBU({type:m,selectors:[["app-chart-bar-regular-icon"],["","app-chart-bar-regular-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M24 32c13.3 0 24 10.7 24 24V408c0 13.3 10.7 24 24 24H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H72c-39.8 0-72-32.2-72-72V56C0 42.7 10.7 32 24 32zM128 136c0-13.3 10.7-24 24-24l208 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-208 0c-13.3 0-24-10.7-24-24zm24 72H296c13.3 0 24 10.7 24 24s-10.7 24-24 24H152c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 96H424c13.3 0 24 10.7 24 24s-10.7 24-24 24H152c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]],template:function(x,U){1&x&&(r.qSk(),e.rj2(0,"svg",0),e.Hgh(1,"path",1),e.eux())},encapsulation:2})}return m})();var l=n(65756);let d=(()=>{class m{static \u0275fac=function(x){return new(x||m)};static \u0275cmp=e.VBU({type:m,selectors:[["app-globe-americas-solid-icon"],["","app-globe-americas-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 496 512"],["d","M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm82.29 357.6c-3.9 3.88-7.99 7.95-11.31 11.28-2.99 3-5.1 6.7-6.17 10.71-1.51 5.66-2.73 11.38-4.77 16.87l-17.39 46.85c-13.76 3-28 4.69-42.65 4.69v-27.38c1.69-12.62-7.64-36.26-22.63-51.25-6-6-9.37-14.14-9.37-22.63v-32.01c0-11.64-6.27-22.34-16.46-27.97-14.37-7.95-34.81-19.06-48.81-26.11-11.48-5.78-22.1-13.14-31.65-21.75l-.8-.72a114.792 114.792 0 0 1-18.06-20.74c-9.38-13.77-24.66-36.42-34.59-51.14 20.47-45.5 57.36-82.04 103.2-101.89l24.01 12.01C203.48 89.74 216 82.01 216 70.11v-11.3c7.99-1.29 16.12-2.11 24.39-2.42l28.3 28.3c6.25 6.25 6.25 16.38 0 22.63L264 112l-10.34 10.34c-3.12 3.12-3.12 8.19 0 11.31l4.69 4.69c3.12 3.12 3.12 8.19 0 11.31l-8 8a8.008 8.008 0 0 1-5.66 2.34h-8.99c-2.08 0-4.08.81-5.58 2.27l-9.92 9.65a8.008 8.008 0 0 0-1.58 9.31l15.59 31.19c2.66 5.32-1.21 11.58-7.15 11.58h-5.64c-1.93 0-3.79-.7-5.24-1.96l-9.28-8.06a16.017 16.017 0 0 0-15.55-3.1l-31.17 10.39a11.95 11.95 0 0 0-8.17 11.34c0 4.53 2.56 8.66 6.61 10.69l11.08 5.54c9.41 4.71 19.79 7.16 30.31 7.16s22.59 27.29 32 32h66.75c8.49 0 16.62 3.37 22.63 9.37l13.69 13.69a30.503 30.503 0 0 1 8.93 21.57 46.536 46.536 0 0 1-13.72 32.98zM417 274.25c-5.79-1.45-10.84-5-14.15-9.97l-17.98-26.97a23.97 23.97 0 0 1 0-26.62l19.59-29.38c2.32-3.47 5.5-6.29 9.24-8.15l12.98-6.49C440.2 193.59 448 223.87 448 256c0 8.67-.74 17.16-1.82 25.54L417 274.25z"]],template:function(x,U){1&x&&(r.qSk(),e.rj2(0,"svg",0),e.Hgh(1,"path",1),e.eux())},encapsulation:2})}return m})(),a=(()=>{class m{static \u0275fac=function(x){return new(x||m)};static \u0275cmp=e.VBU({type:m,selectors:[["app-phone-office-solid-icon"],["","app-phone-office-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 576 512"],["d","M128 0C110.3 0 96 14.3 9
16 32V384c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H128zM64 32C28.7 32 0 60.7 0 96V448c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H256V384c0 35.3-28.7 64-64 64H128c-35.3 0-64-28.7-64-64V32zm256 96c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V128zm32 192a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm160-32a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM480 448a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm-96-32a32 32 0 1 1 -64 0 32 32 0 1 1 64 0z"]],template:function(x,U){1&x&&(r.qSk(),e.rj2(0,"svg",0),e.Hgh(1,"path",1),e.eux())},encapsulation:2})}return m})();var h=n(49562);let p=(()=>{class m{static \u0275fac=function(x){return new(x||m)};static \u0275cmp=e.VBU({type:m,selectors:[["app-users-solid-icon"],["","app-users-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 640 512"],["d","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]],template:function(x,U){1&x&&(r.qSk(),e.rj2(0,"svg",0),e.Hgh(1,"path",1),e.eux())},encapsulation:2})}return m})(),T=(()=>{class m{static \u0275fac=function(x){return new(x||m)};static \u0275cmp=e.VBU({type:m,selectors:[["app-clock-solid-icon"],["","app-clock-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]],template:function(x,U){1&x&&(r.qSk(),e.rj2(0,"svg",0),e.Hgh(1,"path",1),e.eux())},encapsulation:2})}return m})();var u=n(19859),E=n(68931);let S=(()=>{class m{static \u0275fac=function(x){return new(x||m)};static \u0275cmp=e.VBU({type:m,selectors:[["app-history-regular-icon"],["","app-history-regular-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M504 255.532c.252 136.64-111.182 248.372-247.822 248.468-64.014.045-122.373-24.163-166.394-63.942-5.097-4.606-5.3-12.543-.443-17.4l16.96-16.96c4.529-4.529 11.776-4.659 16.555-.395C158.208 436.843 204.848 456 256 456c110.549 0 200-89.468 200-200 0-110.549-89.468-200-200-200-55.52 0-105.708 22.574-141.923 59.043l49.091 48.413c7.641 7.535 2.305 20.544-8.426 20.544H26.412c-6.627 0-12-5.373-12-12V45.443c0-10.651 12.843-16.023 20.426-8.544l45.097 44.474C124.866 36.067 187.15 8 256 8c136.811 0 247.747 110.781 248 247.532zm-167.058 90.173 14.116-19.409c3.898-5.36 2.713-12.865-2.647-16.763L280 259.778V116c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v168.222l88.179 64.13c5.36 3.897 12.865 2.712 16.763-2.647z"]],template:function(x,U){1&x&&(r.qSk(),e.rj2(0,"svg",0),e.Hgh(1,"path",1),e.eux())},encapsulation:2})}return m})(),O=(()=>{class m{static \u0275fac=function(x){return new(x||m)};static \u0275cmp=e.VBU({type:m,selectors:[["app-dot-circle-regular-icon"],["","app-dot-circle-regular-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M256 56c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m0-48C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 168c-44.183 0-80 35.817-80 80s35.817 80 80 80 80-35.817 80-80-35.817-80-80-80z"]],template:function(x,U){1&x&&(r.qSk(),e.rj2(0,"svg",0),e.Hgh(1,"path",1),e.eux())},encapsulation:2})}return m})();var M=n(76747),B=n(10994),_=n(30646),D=n(58284),W=n(92151),j=n(60540);let K=(()=>{class m{static \u0275fac=function(x){return new(x||m)};static \u0275cmp=e.VBU({type:m,selectors:[["list-loading-template"]],decls:21,vars:0,consts:[[1,"card"],[1,"card-header","d-flex","align-items-center","aside-align-panel-header"],[1,"fake","fake-header"],[1,"card-body"],[1,"d-flex","justify-content-between"],[1,"fake-header"],[1,"d-flex","justify-content-between","mt-4"],[1,"fake","fake-row","mt-4"],[1,"fake","fake-row","mt-3"]],template:function(x,U){1&x&&(e.rj2(0,"div",0)(1,"div",1),e.Hgh(2,"div",2),e.eux(),e.rj2(3,"div",3)(4,"div",4),e.Hgh(5,"div",2)(6,"div",2)(7,"div",5),e.eux(),e.rj2(8,"div",6),e.Hgh(9,"div",2)(10,"div",5)(11,"div",2),e.eux(),e.rj2(12,"div",6),e.Hgh(13,"div",2)(14,"div",2)(15,"div",2),e.eux(),e.Hgh(16,"div",7)(17,"div",8)(18,"div",8)(19,"div",8)(20,"div",8),e.eux()())},styles:["@keyframes _ngcontent-%COMP%_loading-staging{0%{opacity:.05}50%{opacity:.1}to{opacity:.05}}.fake[_ngcontent-%COMP%]{background-color:var(--text-primary);opacity:.05;animation-name:_ngcontent-%COMP%_loading-staging;animation-duration:2s;animation-iteration-count:infinite}
1.fake-header[_ngcontent-%COMP%]{width:200px;height:1em}.fake-row[_ngcontent-%COMP%]{width:100%;height:1em}"],changeDetection:0})}return m})();var Q=n(68018),k=n(14723);const w=m=>({myToken:m}),z=()=>({exact:!1});function X(m,V){if(1&m&&(e.j41(0,"li",2)(1,"a",4),e.nrm(2,"app-user-alt-solid-icon"),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()),2&m){e.XpG(2);const H=e.r8f(0);e.R7$(),e.HbH(H),e.R7$(3),e.JRh(e.bMT(5,3,"_i18n.Users"))}}function N(m,V){if(1&m&&(e.j41(0,"li",2)(1,"a",5),e.nrm(2,"app-globe-americas-solid-icon"),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()),2&m){e.XpG(2);const H=e.r8f(0);e.R7$(),e.HbH(H),e.R7$(3),e.JRh(e.bMT(5,3,"_i18n.NumbersAndMessaging"))}}function b(m,V){if(1&m&&(e.j41(0,"li",2)(1,"a",6),e.nrm(2,"app-phone-office-solid-icon"),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()),2&m){e.XpG(2);const H=e.r8f(0);e.R7$(),e.HbH(H),e.R7$(3),e.JRh(e.bMT(5,3,"_i18n.Phones"))}}function I(m,V){if(1&m&&(e.j41(0,"li",2)(1,"a",7),e.nrm(2,"app-arrow-alt-up-solid-icon"),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()),2&m){e.XpG(2);const H=e.r8f(0);e.R7$(),e.HbH(H),e.R7$(3),e.JRh(e.bMT(5,3,"_i18n.OutboundRules"))}}function A(m,V){if(1&m&&(e.j41(0,"li",2)(1,"a",8),e.nrm(2,"app-users-solid-icon"),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()),2&m){e.XpG(2);const H=e.r8f(0);e.R7$(),e.HbH(H),e.R7$(3),e.JRh(e.bMT(5,3,"_i18n.Groups"))}}function L(m,V){if(1&m&&(e.j41(0,"li",2)(1,"a",9),e.nrm(2,"app-clock-solid-icon"),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()),2&m){e.XpG(2);const H=e.r8f(0);e.R7$(),e.HbH(H),e.Y8G("routerLinkActiveOptions",e.lJ4(6,z)),e.R7$(3),e.JRh(e.bMT(5,4,"_i18n.OfficeHours"))}}function F(m,V){if(1&m&&(e.j41(0,"li",2)(1,"a",10),e.nrm(2,"app-phone-alt-solid-icon"),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()),2&m){e.XpG(2);const H=e.r8f(0);e.R7$(),e.HbH(H),e.R7$(3),e.JRh(e.bMT(5,3,"_i18n.CallHandling"))}}function G(m,V){if(1&m&&(e.j41(0,"li",2)(1,"a",11),e.nrm(2,"app-square-list-solid-icon"),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()),2&m){e.XpG(2);const H=e.r8f(0);e.R7$(),e.HbH(H),e.R7$(3),e.JRh(e.bMT(5,3,"_i18n.Reports"))}}function ne(m,V){if(1&m&&(e.j41(0,"li",2)(1,"a",12),e.nrm(2,"app-history-regular-icon"),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()),2&m){e.XpG(2);const H=e.r8f(0);e.R7$(),e.HbH(H),e.R7$(3),e.JRh(e.bMT(5,3,"_i18n.EventsLabel"))}}function oe(m,V){if(1&m&&(e.j41(0,"li",2)(1,"a",13),e.nrm(2,"app-dot-circle-regular-icon"),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()),2&m){e.XpG(2);const H=e.r8f(0);e.R7$(),e.HbH(H),e.R7$(3),e.JRh(e.bMT(5,3,"_i18n.Recordings"))}}function se(m,V){if(1&m&&(e.j41(0,"li",2)(1,"a",14),e.nrm(2,"app-archive-solid-icon"),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()),2&m){e.XpG(2);const H=e.r8f(0);e.R7$(),e.HbH(H),e.R7$(3),e.JRh(e.bMT(5,3,"_i18n.BackupAndRestore"))}}function ae(m,V){if(1&m&&(e.j41(0,"li",2)(1,"a",15),e.nrm(2,"app-puzzle-piece-solid-icon"),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()(),e.j41(6,"li",2)(7,"a",16),e.nrm(8,"app-gear-solid-icon"),e.j41(9,"span"),e.EFF(10),e.nI1(11,"translate"),e.k0s()()(),e.j41(12,"li",2)(13,"a",17),e.nrm(14,"app-wrench-solid-icon"),e.j41(15,"span"),e.EFF(16),e.nI1(17,"translate"),e.k0s(),e.nrm(18,"app-badge",18),e.nI1(19,"async"),e.k0s()()),2&m){e.XpG(2);const H=e.r8f(0),x=e.XpG();e.R7$(),e.HbH(H),e.R7$(3),e.JRh(e.bMT(5,10,"_i18n.IntegrationsLabel")),e.R7$(3),e.HbH(H),e.R7$(3),e.JRh(e.bMT(11,12,"_i18n.Advanced")),e.R7$(3),e.HbH(H),e.R7$(3),e.JRh(e.bMT(17,14,"_i18n.System")),e.R7$(2),e.Y8G("badge",e.bMT(19,16,x.updatesBadge.updates$))}}function ie(m,V){if(1&m&&(e.j41(0,"li",2)(1,"a",3),e.nrm(2,"app-chart-bar-regular-icon"),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()(),e.nVh(6,X,6,5,"li",2),e.nVh(7,N,6,5,"li",2),e.nVh(8,b,6,5,"li",2),e.nVh(9,I,6,5,"li",2),e.nVh(10,A,6,5,"li",2),e.nVh(11,L,6,7,"li",2),e.nVh(12,F,6,5,"li",2),e.nVh(13,G,6,5,"li",2),e.nVh(14,ne,6,5,"li",2),e.nVh(15,oe,6,5,"li",2),e.nVh(16,se,6,5,"li",2),e.nVh(17,ae,20,18)),2&m){const H=V;e.XpG();const x=e.r8f(0),U=e.XpG();e.R7$(),e.HbH(x),e.R7$(3),e.JRh(e.bMT(5,15,"_i18n.AdminHeader")),e.R7$(2),e.vxM(H.myToken.users?6:-1),e.R7$(),e.vxM(H.myToken.trunks?7:-1),e.R7$(),e.vxM(H.myToken.admin?8:-1),e.R7$(),e.vxM(H.myToken.outboundRules?9:-1),e.R7$(),e.vxM(H.myToken.groups?10:-1),e.R7$(),e.vxM(H.myToken.officeHours?11:-1),e.R7$(),e.vxM(H.myToken.c
1allHandling?12:-1),e.R7$(),e.vxM(H.myToken.reports?13:-1),e.R7$(),e.vxM(U.hasEventLog(H.myToken.myRole)?14:-1),e.R7$(),e.vxM(H.myToken.globalAdmin?15:-1),e.R7$(),e.vxM(H.myToken.admin&&H.myToken.groups?16:-1),e.R7$(),e.vxM(H.myToken.admin?17:-1)}}function re(m,V){if(1&m&&(e.SS7(0),e.nVh(1,ie,18,17),e.nI1(2,"async")),2&m){let H;const x=V.itemClass,U=e.XpG();e.bH3(`d-flex align-items-center gap-2 ${x}`),e.R7$(),e.vxM((H=e.eq3(4,w,e.bMT(2,2,U.myToken$)))?1:-1,H)}}function le(m,V){1&m&&e.nrm(0,"list-loading-template")}function ce(m,V){1&m&&e.nrm(0,"router-outlet")}let de=(()=>{class m{updatesBadge=(0,r.WQX)(k.r);navService=(0,r.WQX)(v);tokenInfoService=(0,r.WQX)(f.Z);myToken$=this.tokenInfoService.myToken$;hasEventLog=g.l6;static \u0275fac=function(x){return new(x||m)};static \u0275cmp=e.VBU({type:m,selectors:[["app-office-layout"]],features:[e.Jv_([t.K,i.X,v])],decls:5,vars:2,consts:[["menuTemplate",""],[1,"admin-layout",3,"navTemplateOutlet"],["role","menuitem"],["routerLink","/office/dashboard","routerLinkActive","focus","data-qa","office-link"],["routerLink","/office/users","routerLinkActive","focus","data-qa","users-link"],["routerLink","/office/voice-and-chat","routerLinkActive","focus","data-qa","numbers-and-messaging-link"],["routerLink","/office/phones","routerLinkActive","focus","data-qa","phones"],["routerLink","/office/outbound-rules","routerLinkActive","focus","data-qa","outbound-rules"],["routerLink","/office/groups","routerLinkActive","focus","data-qa","groups-link"],["routerLink","/office/office-hours","routerLinkActive","focus","data-qa","office-hours-link",3,"routerLinkActiveOptions"],["routerLink","/office/call-handling","routerLinkActive","focus","data-qa","call-handling-link"],["routerLink","/office/reports","routerLinkActive","focus","data-qa","reports-link"],["routerLink","/office/event-log","routerLinkActive","focus","data-qa","event-log-link"],["routerLink","/office/recordings","routerLinkActive","focus","data-qa","recordings"],["routerLink","/office/backup-and-restore","routerLinkActive","focus","data-qa","backup-and-restore"],["routerLink","/office/integrations","routerLinkActive","focus","data-qa","integrations-link"],["routerLink","/office/advanced","routerLinkActive","focus","data-qa","advanced"],["routerLink","/office/system","routerLinkActive","focus","data-qa","system"],[3,"badge"]],template:function(x,U){if(1&x&&(e.DNE(0,re,3,6,"ng-template",null,0,e.C5r),e.j41(2,"app-layout-type3",1),e.nVh(3,le,1,0,"list-loading-template")(4,ce,1,0,"router-outlet"),e.k0s()),2&x){const te=e.sdS(1);e.R7$(2),e.Y8G("navTemplateOutlet",te),e.R7$(),e.vxM(U.navService.navigation?3:4)}},dependencies:[s.Wk,s.wQ,c,l.i,d,a,h.B,p,T,u.v,E.H,S,O,M.U,B.G,_.n,D.h,W.n,j.F,K,$.n3,o.Jj,Q.D9],styles:["app-badge[_ngcontent-%COMP%]{position:relative;top:-6px;right:6px}"],changeDetection:0})}return m})();var pe=n(89417),ue=n(96354),he=n(83188),fe=n(38969),me=n(36623),Z=n(77321),ge=n(76398),ve=n(47576);function ye(m,V){if(1&m){const H=e.RV6();e.j41(0,"button",6),e.bIt("click",function(){r.eBV(H);const U=e.XpG();return r.Njj(U.purgeEventLogs())}),e.nrm(1,"app-trash-alt-solid-icon"),e.j41(2,"span"),e.EFF(3),e.nI1(4,"translate"),e.k0s()()}2&m&&(e.R7$(3),e.JRh(e.bMT(4,1,"_i18n.Purge")))}let Te=(()=>{class m{service=(0,r.WQX)(Z.S);tokenInfoService=(0,r.WQX)(f.Z);modalService=(0,r.WQX)(y.B);isAdmin$;constructor(){this.isAdmin$=this.tokenInfoService.myToken$.pipe((0,ue.T)(x=>x.admin))}purgeEventLogs(){this.service.purgeEventLogs$().subscribe({next:()=>{this.service.pager.refresh$.next()},error:H=>this.modalService.error(H)})}downloadEventLogs(){this.service.downloadEventLogs(this.service.buildDownloadRequestParams())}static \u0275fac=function(x){return new(x||m)};static \u0275cmp=e.VBU({type:m,selectors:[["app-event-log-page"]],features:[e.Jv_([Z.S])],decls:11,vars:7,consts:[["header","_i18n.EventsLabel",3,"helpUrl"],["top-bar","",1,"button-group"],["data-qa","purge","type","button",1,"btn","btn-primary"],["data-qa","download","type","button",1,"btn","btn-primary",3,"click"],["top-bar",""],[1,"scrollable","overflow-x-auto"],["data-qa","purge","type","button",1,"btn","btn-primary",3,"click"]],template:function(x,U){1&x&&(e.j41(0,"app-page",0)(1,"div",1),e.nVh(2,ye,5,3,"button",2),e.nI1(3,"async"),e.j41(4,"button",3),e.bIt("click",function(){return U.downloadEventLogs()}),e.nrm(5,"app-download-solid-icon"),e.j41(6,"span"),e.EFF(7),e.nI1(8,"translate"),e.k0s()()(),e.nrm(9,"app-event-log-filter",4)(10,"app-event-log-pager",5),e.k0s()),2&x&&(e.Y8G("helpUrl","_i18n.EventLogsUri"),e.R7$(2),e.vxM(e.bMT(3,3,U.isAdmin$)?2:-1),e.R7$(5),e.JRh(e.bMT(8,5,"_i18n.Download")))},dependencies:[he.H,fe.d,me.e,pe.X1,ge.k,ve.P,o.Jj,Q.D9],styles:["[_nghost-%COMP%] .filter-header[_ngcontent-%COMP%]{background-color:var(--background)}"],changeDetection:0})}return m})();var J=n(93785),Y=n(51702);const q=(0,Y.N)("groups");var Pe=n(19037),$e=n(6205),Ce=n(99437),ee=n(36463),Ee=n(64277),be=n(52376),xe=n(19451);const Se=[{path:"",component:de,children:[{path:"",pathMatch:"full",redirectTo:"dashboard"},{path:"dashboard",loadChildren:()=>Promise.all([n.e(8066),n.e(8535),n.e(6027),n.e(7466),n.e(6139),n.e(9281),n.e(6428),n.e(2076),n.e(8448)]).then(n.bind(n,38448)).then(m=>m.dashboardRoutes),data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.AdminHeader"}},{path:"groups",canActivate:[q],data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.Groups"},loadChildren:()=>Promise.all([n.e(8066),n.e(8535),n.e(6027),n.e(9281),n.e(2076),n.e(8258)]).then(n.bind(n,48258)).then(m=>m.groupsRoutes)},{path:"users",data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.Users"},loadChildren:()=>Promise.all([n.e(1811),n.e(8066),n.e(9729),n.e(3994),n.e(7273),n.e(9563),n.e(8535),n.e(445),n.e(4349),n.e(1989),n.e(7546),n.e(4360),n.e(7485),n.e(1854),n.e(7771),n.e(7220),n.e(821),n.e(4397),n.e(2076),n.e(1790)]).then(n.bind(n,70119)).then(m=>m.usersRoutes)},{path:"phones",canActivate:[J.bV],data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.Phones"},loadChildren:()=>Promise.all([n.e(8066),n.e(9729),n.e(9843),n.e(1566),n.e(2076),n.e(2543)]).then(n.bind(n,64163)).then(m=>m.phonesPageRoutes)}
1,{path:"voice-and-chat",data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.NumbersAndMessaging"},loadChildren:()=>Promise.all([n.e(1811),n.e(8066),n.e(9729),n.e(3994),n.e(7273),n.e(9563),n.e(8535),n.e(4349),n.e(7546),n.e(9843),n.e(7485),n.e(3921),n.e(9586),n.e(3259),n.e(2076),n.e(5453)]).then(n.bind(n,56771)).then(m=>m.numbersAndMessagingRoutes)},{path:"outbound-rules",canActivate:[(0,Y.N)("outboundRules")],data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.OutboundRules"},loadChildren:()=>Promise.all([n.e(9729),n.e(3994),n.e(6027),n.e(1066),n.e(9032)]).then(n.bind(n,70006)).then(m=>m.outboundRulesRoutes)},{path:"office-hours",data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.OfficeHours"},loadChildren:()=>Promise.all([n.e(9563),n.e(2076),n.e(9654)]).then(n.bind(n,46843)).then(m=>m.officeHoursRoutes)},{path:"call-handling",data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.CallHandling"},loadChildren:()=>Promise.all([n.e(1811),n.e(9729),n.e(3994),n.e(7273),n.e(9563),n.e(8535),n.e(1989),n.e(3089),n.e(3921),n.e(2076),n.e(3189)]).then(n.bind(n,33265)).then(m=>m.callHandlingRoutes)},{path:"event-log",component:Te,data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.EventsLabel"}},{path:"reports",canActivate:[(0,Y.N)("reports","audit")],data:{navTitle:"_i18n.Reports"},loadChildren:()=>Promise.all([n.e(3089),n.e(7466),n.e(401),n.e(2076),n.e(2103)]).then(n.bind(n,42103)).then(m=>m.reportsRoutes)},{path:"recordings",canActivate:[J.UE],data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.Recordings"},resolve:{archiveSettings:()=>{const m=(0,r.WQX)($e.Y),V=(0,r.WQX)(Pe.s);return m.getRecordingRepositorySettings().pipe((0,Ce.W)(H=>V.handleError(H)))},transcriptionEngine:xe.$,isEnterprise:ee.HX},loadComponent:()=>Promise.all([n.e(8066),n.e(9504)]).then(n.bind(n,29504)).then(m=>m.RecordingsListComponent)},{path:"backup-and-restore",canActivate:[J.bV,q],data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.BackupAndRestore"},resolve:{isEnterprise:ee.HX,systemParameters:Ee.M,remoteArchivingFileSystemType:be.b1},loadComponent:()=>Promise.all([n.e(6140),n.e(895),n.e(8528),n.e(2076),n.e(7612)]).then(n.bind(n,87612)).then(m=>m.BackupAndRestoreListComponent)},{path:"integrations",canActivate:[J.bV],data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.IntegrationsLabel"},loadChildren:()=>Promise.all([n.e(8066),n.e(9729),n.e(3994),n.e(7273),n.e(9563),n.e(445),n.e(4349),n.e(1989),n.e(7546),n.e(4360),n.e(9843),n.e(6140),n.e(1566),n.e(1854),n.e(3921),n.e(6139),n.e(895),n.e(3259),n.e(1848),n.e(4397),n.e(464)]).then(n.bind(n,50464)).then(m=>m.integrationsRoutes)},{path:"advanced",canActivate:[J.bV],data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.Advanced"},loadChildren:()=>Promise.all([n.e(1811),n.e(8066),n.e(9729),n.e(3994),n.e(9563),n.e(445),n.e(1989),n.e(7546),n.e(6140),n.e(1566),n.e(9586),n.e(2076),n.e(9089)]).then(n.bind(n,65091)).then(m=>m.advancedRoutes)},{path:"system",canActivate:[J.bV],data:{helpUri:"_i18n.AdminManualUri",navTitle:"_i18n.System"},loadChildren:()=>Promise.all([n.e(8066),n.e(9729),n.e(3994),n.e(7273),n.e(9563),n.e(8535),n.e(445),n.e(1989),n.e(7546),n.e(6027),n.e(9843),n.e(6140),n.e(1854),n.e(6139),n.e(895),n.e(1066),n.e(1848),n.e(8528),n.e(2076),n.e(9084)]).then(n.bind(n,23501)).then(m=>m.systemRoutes)}]}]},60967(R,C,n){n.d(C,{K:()=>v,h:()=>y});var r=n(85802),$=n(13313),P=n(50644);function y(f){const g=f?.allowedNetConfigs;return g&&1===g.length&&"REMOTESTUN"===g[0]}let v=(()=>{class f{phoneTemplates=(0,r.WQX)($.X);requests={};getPhoneTemplate(t){return this.requests[t]??(this.requests[t]=this.phoneTemplates.getPhoneTemplate({id:t}).pipe((0,P.H9)()))}static \u0275fac=function(i){return new(i||f)};static \u0275prov=r.jDH({token:f,factory:f.\u0275fac})}return f})()},36463(R,C,n){n.d(C,{HX:()=>i,M7:()=>s,cT:()=>e,rV:()=>o});var r=n(76034),$=n(85802),P=n(92996),y=n(27468),v=n(96354),f=n(54381),g=n(99437),t=n(19037);const i=(0,r.c)("enterprise"),s=(0,r.c)("paid"),o=(0,r.c)("branding"),e=()=>{const c=(0,$.WQX)(P.Z),l=(0,$.WQX)(f.G),d=(0,$.WQX)(t.s);return(0,y.p)([c.getMyToken$(),l.getLicenseParameters()]).pipe((0,v.T)(([a,h])=>({isMcm:!a.singleCompany,isPaid:a.paid,isAdmin:a.admin,isEnterprise:a.enterprise,maxSimCalls:h.MaxSimCalls??0})),(0,g.W)(a=>d.handleError(a)))}},52376(R,C,n){n.d(C,{Y9:()=>i,b1:()=>t,fW:()=>g});var r=n(19928),$=n(75939),P=n(85802),y=n(19037),v=n(99437),f=n(96354);const g=()=>{const s=(0,P.WQX)($.U),o=(0,P.WQX)(y.s);return s.getRemoteArchivingSettings({}).pipe((0,v.W)(e=>o.handleError(e)))},t=()=>{const s=(0,P.WQX)($.U),o=(0,P.WQX)(y.s);return s.getRemoteArchivingSettings({$select:["Location($select=FileSystemType)"]}).pipe((0,f.T)(e=>e.Location?.FileSystemType??null),(0,v.W)(e=>o.handleError(e)))},i=()=>{const s=(0,P.WQX)(r.t),o=(0,P.WQX)(y.s);return s.getBackupSettings().pipe((0,v.W)(e=>o.handleError(e)))}},14723(R,C,n){n.d(C,{r:()=>d});var r=n(85802),$=n(18530),P=n(84572),y=n(40605),v=n(57786),f=n(7673),g=n(25558),t=n(1557),i=n(99437),s=n(96354),o=n(99172),e=n(50644),c=n(89079);let d=(()=>{class a{installing=(0,r.vPA)(!1);updates$;refresh$=new $.B;setInstalling(p){this.installing.set(p)}constructor(){const p=(0,r.WQX)(t.I),T=(0,v.h)((0,y.Y)(6e5),this.refresh$).pipe((0,o.Z)(0),(0,g.n)(()=>
1p.getUpdatesStats().pipe((0,s.T)(u=>{let E=0;if(u.TcxUpdate)for(const S of u.TcxUpdate)E+=S.Count;if(u.PerPage)for(const S of u.PerPage)E+=S.Count;return E}),(0,i.W)(()=>(0,f.of)(0)))));this.updates$=(0,P.z)([(0,c.br)(this.installing),T]).pipe((0,s.T)(([u,E])=>({title:E,spinning:u})),(0,e.H9)())}static \u0275fac=function(T){return new(T||a)};static \u0275prov=r.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},6139(R,C,n){n.d(C,{B:()=>i});var r=n(85802),$=n(84412),P=n(7673),y=n(25558),v=n(54381),f=n(99437),g=n(96354),t=n(50644);let i=(()=>{class s{defsApi=(0,r.WQX)(v.G);refresh$=new $.t(void 0);systemParams$=this.refresh$.pipe((0,y.n)(()=>this.defsApi.getSystemParameters()),(0,t.ug)());isHosted3CX$=this.systemParams$.pipe((0,g.T)(e=>e.IsHosted3CX??null),(0,f.W)(()=>(0,P.of)(null)));refresh(){this.refresh$.next()}static \u0275fac=function(c){return new(c||s)};static \u0275prov=r.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})()},76747(R,C,n){n.d(C,{U:()=>P});var r=n(35547),$=n(85802);let P=(()=>{class y{static \u0275fac=function(g){return new(g||y)};static \u0275cmp=r.VBU({type:y,selectors:[["app-archive-solid-icon"],["","app-archive-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z"]],template:function(g,t){1&g&&($.qSk(),r.rj2(0,"svg",0),r.Hgh(1,"path",1),r.eux())},encapsulation:2})}return y})()},49562(R,C,n){n.d(C,{B:()=>P});var r=n(35547),$=n(85802);let P=(()=>{class y{static \u0275fac=function(g){return new(g||y)};static \u0275cmp=r.VBU({type:y,selectors:[["app-arrow-alt-up-solid-icon"],["","app-arrow-alt-up-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512"],["d","M272 480h-96c-13.3 0-24-10.7-24-24V256H48.2c-21.4 0-32.1-25.8-17-41L207 39c9.4-9.4 24.6-9.4 34 0l175.8 176c15.1 15.1 4.4 41-17 41H296v200c0 13.3-10.7 24-24 24z"]],template:function(g,t){1&g&&($.qSk(),r.rj2(0,"svg",0),r.Hgh(1,"path",1),r.eux())},encapsulation:2})}return y})()},11004(R,C,n){n.d(C,{C:()=>P});var r=n(35547),$=n(85802);let P=(()=>{class y{static \u0275fac=function(g){return new(g||y)};static \u0275cmp=r.VBU({type:y,selectors:[["app-circle-check-solid-icon"],["","app-circle-check-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]],template:function(g,t){1&g&&($.qSk(),r.rj2(0,"svg",0),r.Hgh(1,"path",1),r.eux())},encapsulation:2})}return y})()},10079(R,C,n){n.d(C,{f:()=>P});var r=n(35547),$=n(85802);let P=(()=>{class y{static \u0275fac=function(g){return new(g||y)};static \u0275cmp=r.VBU({type:y,selectors:[["app-exclamation-triangle-solid-icon"],["","app-exclamation-triangle-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 576 512"],["d","M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346 7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"]],template:function(g,t){1&g&&($.qSk(),r.rj2(0,"svg",0),r.Hgh(1,"path",1),r.eux())},encapsulation:2})}return y})()},30646(R,C,n){n.d(C,{n:()=>P});var r=n(35547),$=n(85802);let P=(()=>{class y{static \u0275fac=function(g){return new(g||y)};static \u0275cmp=r.VBU({type:y,selectors:[["app-gear-solid-icon"],["","app-gear-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.
16 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]],template:function(g,t){1&g&&($.qSk(),r.rj2(0,"svg",0),r.Hgh(1,"path",1),r.eux())},encapsulation:2})}return y})()},22129(R,C,n){n.d(C,{j:()=>P});var r=n(35547),$=n(85802);let P=(()=>{class y{static \u0275fac=function(g){return new(g||y)};static \u0275cmp=r.VBU({type:y,selectors:[["app-info-circle-regular-icon"],["","app-info-circle-regular-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm0-338c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]],template:function(g,t){1&g&&($.qSk(),r.rj2(0,"svg",0),r.Hgh(1,"path",1),r.eux())},encapsulation:2})}return y})()},38969(R,C,n){n.d(C,{d:()=>P});var r=n(35547),$=n(85802);let P=(()=>{class y{static \u0275fac=function(g){return new(g||y)};static \u0275cmp=r.VBU({type:y,selectors:[["app-trash-alt-solid-icon"],["","app-trash-alt-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32"],["d","M4.093 28.9a2.977 2.977 0 0 0 2.977 2.976h17.86a2.977 2.977 0 0 0 2.977-2.977V8.062H4.093V28.9zm16.868-15.877a.992.992 0 1 1 1.985 0v13.892a.992.992 0 1 1-1.985 0V13.023zm-5.953 0a.992.992 0 1 1 1.984 0v13.892a.992.992 0 1 1-1.984 0V13.023zm-5.954 0a.992.992 0 1 1 1.985 0v13.892a.992.992 0 1 1-1.985 0V13.023zM28.9 2.11h-7.442L20.875.95a1.488 1.488 0 0 0-1.333-.825h-7.088a1.471 1.471 0 0 0-1.327.825l-.583 1.16H3.1a.992.992 0 0 0-.992.992v1.984c0 .548.444.993.992.993h25.798a.992.992 0 0 0 .992-.993V3.101a.992.992 0 0 0-.992-.992z"]],template:function(g,t){1&g&&($.qSk(),r.rj2(0,"svg",0),r.Hgh(1,"path",1),r.eux())},encapsulation:2})}return y})()},65756(R,C,n){n.d(C,{i:()=>P});var r=n(35547),$=n(85802);let P=(()=>{class y{static \u0275fac=function(g){return new(g||y)};static \u0275cmp=r.VBU({type:y,selectors:[["app-user-alt-solid-icon"],["","app-user-alt-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M256 288c79.5 0 144-64.5 144-144S335.5 0 256 0 112 64.5 112 144s64.5 144 144 144zm128 32h-55.1c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16H128C57.3 320 0 377.3 0 448v16c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48v-16c0-70.7-57.3-128-128-128z"]],template:function(g,t){1&g&&($.qSk(),r.rj2(0,"svg",0),r.Hgh(1,"path",1),r.eux())},encapsulation:2})}return y})()},92151(R,C,n){n.d(C,{n:()=>g});var r=n(17705),$=n(30646),P=n(35547);function y(t,i){1&t&&P.nrm(0,"span",2)}function v(t,i){if(1&t&&P.EFF(0),2&t){const s=P.XpG();
1P.SpI(" ",s.title," ")}}function f(t,i){if(1&t&&(P.j41(0,"b",1),P.nVh(1,y,1,0,"span",2)(2,v,1,1),P.k0s()),2&t){const s=i;P.AVh("spinning",s.spinning),P.R7$(),P.vxM(s.spinning?1:s.title?2:-1)}}let g=(()=>{class t{badge=(0,r.hFB)();static \u0275fac=function(o){return new(o||t)};static \u0275cmp=P.VBU({type:t,selectors:[["app-badge"]],inputs:{badge:[1,"badge"]},decls:1,vars:1,consts:[["data-qa","badge",1,"badge","bg-brand",3,"spinning"],["data-qa","badge",1,"badge","bg-brand"],["app-gear-solid-icon","",1,"svg-xxs","fillIconWhite","icon-spin"]],template:function(o,e){if(1&o&&P.nVh(0,f,3,3,"b",0),2&o){let c;P.vxM((c=e.badge())?0:-1,c)}},dependencies:[$.n],styles:[".spinning[_ngcontent-%COMP%]{padding:var(--spacer-xxs)}"],changeDetection:0})}return t})()},60540(R,C,n){n.d(C,{F:()=>M});var r=n(85802),$=n(59882),P=n(49769),y=n(68018),v=n(68580),f=n(58689),g=n(1191),t=n(8516),i=n(72214),s=n(89079),o=n(35547);const e=["leftNav"],c=["*"],l=()=>({itemClass:"aside-align list-group-item list-group-item-action"}),d=()=>({itemClass:"dropdown-item"}),a=()=>({itemClass:""});function h(B,_){1&B&&o.eu8(0)}function p(B,_){if(1&B&&(o.j41(0,"ul",9),o.DNE(1,h,1,0,"ng-container",4),o.k0s()),2&B){const D=o.XpG(2);o.R7$(),o.Y8G("ngTemplateOutlet",D.navTemplateOutlet)("ngTemplateOutletContext",o.lJ4(2,d))}}function T(B,_){if(1&B&&(o.j41(0,"div",2)(1,"div",6)(2,"button",7),o.EFF(3),o.nI1(4,"translate"),o.k0s(),o.DNE(5,p,2,3,"ul",8),o.k0s()()),2&B){const D=o.XpG();o.R7$(3),o.SpI(" ",o.bMT(4,1,D.title)," ")}}function u(B,_){1&B&&o.eu8(0)}function E(B,_){1&B&&o.eu8(0)}function S(B,_){if(1&B&&(o.j41(0,"ul",10,1),o.vzT("slide-left"),o.DNE(2,E,1,0,"ng-container",4),o.k0s()),2&B){const D=o.XpG(2);o.R7$(2),o.Y8G("ngTemplateOutlet",D.navTemplateOutlet)("ngTemplateOutletContext",o.lJ4(2,a))}}function O(B,_){if(1&B){const D=o.RV6();o.nVh(0,S,3,3,"ul",10),o.j41(1,"button",11,0),o.bIt("mousedown",function(j){return j.stopPropagation()})("click",function(){r.eBV(D);const j=o.XpG();return r.Njj(j.menuOpen.set(!j.menuOpen()))}),o.nrm(3,"app-icon",12),o.k0s()}if(2&B){const D=o.XpG();o.vxM(D.menuOpen()?0:-1),o.R7$(3),o.Y8G("icon",D.Menu)}}let M=(()=>{class B{route=(0,r.WQX)($.nX);router=(0,r.WQX)($.Ix);navTemplateOutlet;leftNav;isNewDesign=(0,r.WQX)(f.T);menuOpen=(0,r.vPA)(!1);onGlobalClick(D){(!(D.target instanceof HTMLElement)||!this.leftNav?.nativeElement.contains(D.target))&&this.menuOpen.set(!1)}constructor(){(0,i.c)(this.router).pipe((0,s.pQ)()).subscribe(()=>{this.menuOpen.set(!1)})}get title(){return this.route.firstChild?.snapshot.data?.navTitle}Menu=t.W1t;static \u0275fac=function(W){return new(W||B)};static \u0275cmp=o.VBU({type:B,selectors:[["app-layout-type3"]],viewQuery:function(W,j){if(1&W&&o.GBs(e,5),2&W){let K;o.mGM(K=o.lsd())&&(j.leftNav=K.first)}},hostBindings:function(W,j){1&W&&o.bIt("mousedown",function(Q){return j.onGlobalClick(Q)},o.EBC)},inputs:{navTemplateOutlet:"navTemplateOutlet"},ngContentSelectors:c,decls:6,vars:5,consts:[["toggle",""],["leftNav",""],["role","menubar",1,"aside-align","d-flex","d-md-none","align-items-center","justify-content-end","p-1","border-bottom","border-start"],["role","menubar","data-qa","nav-menu-options",1,"list-group","list-group-flush","d-none","d-md-block","nav-menu"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"flex-child","position-relative","layout-type3-content"],["dropdown","",1,"btn-group"],["type","button","dropdownToggle","",1,"btn","btn-plain","dropdown-toggle"],["class","dropdown-menu dropdown-menu-right",4,"dropdownMenu"],[1,"dropdown-menu","dropdown-menu-right"],[1,"left-nav"],["type","button",1,"btn","btn-icon","btn-plain","left-nav-toggle",3,"mousedown","click"],[3,"icon"]],template:function(W,j){1&W&&(o.NAR(),o.nVh(0,T,6,3,"div",2),o.j41(1,"ul",3),o.DNE(2,u,1,0,"ng-container",4),o.k0s(),o.j41(3,"div",5),o.SdG(4),o.k0s(),o.nVh(5,O,4,2)),2&W&&(o.vxM(j.isNewDesign()?-1:0),o.R7$(2),o.Y8G("ngTemplateOutlet",j.navTemplateOutlet)("ngTemplateOutletContext",o.lJ4(4,l)),o.R7$(3),o.vxM(j.isNewDesign()?5:-1))},dependencies:[P.T3,v.Kk,v.UL,v.hs,g.R,y.D9],styles:["@media(max-width:1399.98px){.d-xxl-down-none[_ngcontent-%COMP%], .xxl-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:1199.98px){.d-xl-down-none[_ngcontent-%COMP%], .xl-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:991.98px){.d-lg-down-none[_ngcontent-%COMP%], .lg-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:767.98px){.d-md-down-none[_ngcontent-%COMP%], .md-visible[_ngcontent-%COMP%]{display:none!important}}@media(max-width:575.98px){.d-sm-down-none[_ngcontent-%COMP%], .sm-visible[_ngcontent-%COMP%]{display:none!important}}[_nghost-%COMP%]{display:flex;flex-direction:row;height:100%;position:relative}.nav-menu[_ngcontent-%COMP%]{flex:none;width:150px}@media(max-width:767.98px){[_nghost-%COMP%]{flex-direction:column}.new-design [_nghost-%COMP%] app-page>.card-header:first-child{padding-left:calc(var(--spacer-l) + var(--input-height) + var(--spacer-s))!important}}.left-nav-toggle[_ngcontent-%COMP%]{position:absolute;top:calc((var(--aside-folded-nav-height) - var(--input-height)) / 2);right:var(--spacer-l)}.left-nav[_ngcontent-%COMP%]{position:absolute;
1left:calc(-1 * var(--aside-folded-width));top:0;bottom:0;height:100%;width:250px;transition:left .6s ease-out;background:var(--bg-primary);border-right:1px solid var(--border-color);overflow-y:auto}@starting-style{.left-nav[_ngcontent-%COMP%]{left:-100%}}.left-nav.slide-left[_ngcontent-%COMP%]{left:-100%}.left-nav[_ngcontent-%COMP%] li:first-child{margin-bottom:var(--spacer)}@media(min-width:768px){.left-nav[_ngcontent-%COMP%], .left-nav-toggle[_ngcontent-%COMP%]{display:none}}"]})}return B})()},64277(R,C,n){n.d(C,{M:()=>t,y:()=>i});var r=n(85802),$=n(54381),P=n(19037),y=n(99437),v=n(96354),f=n(96697),g=n(6139);const t=()=>{const s=(0,r.WQX)($.G),o=(0,r.WQX)(P.s);return s.getSystemParameters().pipe((0,y.W)(e=>o.handleError(e)))},i=()=>(0,r.WQX)(g.B).isHosted3CX$.pipe((0,v.T)(o=>o??!1),(0,f.s)(1))},19928(R,C,n){n.d(C,{t:()=>v});var r=n(97201),$=n(4499),P=n(35547),y=n(85802);let v=(()=>{class f extends $.d{backup(t,i="body"){const s=t?.backupsBackupRequestBody;if(null==s)throw new Error("Required parameter backupsBackupRequestBody was null or undefined when calling backup.");let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(o=o.set("Content-Type",l));let d="json";e&&(d=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("post",`${h}/Backups/Pbx.Backup`,{body:s,responseType:d,...p?{withCredentials:p}:{},headers:o,observe:i})}backupQuery(t,i="body",s=!1,o){if(null==t.backupsBackupRequestBody)throw new Error("Required parameter backupsBackupRequestBody was null or undefined when calling backup.");return"/Backups/Pbx.Backup"}deleteBackups(t,i="body"){const s=t?.fileName;if(null==s)throw new Error("Required parameter fileName was null or undefined when calling deleteBackups.");const o=t?.ifMatch;let e=this.defaultHeaders;null!=o&&(e=e.set("If-Match",String(o))),e=this.configuration.addCredentialToHeaders("Application","Authorization",e,"Bearer ");const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(e=e.set("Accept",c));let l="json";c&&(l=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob");let d=`/Backups(${this.configuration.encodeParam({name:"fileName",value:s,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})`;const{basePath:a,withCredentials:h}=this.configuration;return this.httpClient.request("delete",`${a}${d}`,{responseType:l,...h?{withCredentials:h}:{},headers:e,observe:i})}deleteBackupsQuery(t,i="body",s=!1,o){const e=t.fileName;if(null==e)throw new Error("Required parameter fileName was null or undefined when calling deleteBackups.");return`/Backups(${this.configuration.encodeParam({name:"fileName",value:e,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})`}getBackupExtras(t,i="body"){const s=t?.fileName;if(null==s)throw new Error("Required parameter fileName was null or undefined when calling getBackupExtras.");let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));let c="json";e&&(c=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");let l=`/Backups(${this.configuration.encodeParam({name:"fileName",value:s,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})/Pbx.GetBackupExtras()`;const{basePath:d,withCredentials:a}=this.configuration;return this.httpClient.request("get",`${d}${l}`,{responseType:c,...a?{withCredentials:a}:{},headers:o,observe:i})}getBackupExtrasQuery(t,i="body",s=!1,o){const e=t.fileName;if(null==e)throw new Error("Required parameter fileName was null or undefined when calling getBackupExtras.");return`/Backups(${this.configuration.encodeParam({name:"fileName",value:e,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})/Pbx.GetBackupExtras()`}getBackupFailoverSettings(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("get",`${c}/Backups/Pbx.GetBackupFailoverSettings()`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}getBackupFailoverSettingsQuery(t="body",i=!1,s){return"/Backups/Pbx.GetBackupFailoverSettings()"}getBackupRepositorySettings(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("get",`${c}/Backups/Pbx.GetBackupRepositorySettings()`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}getBackupRepositorySettingsQuery(t="body",i=!1,s){return"/Backups/Pbx.GetBackupRepositorySettings()"}getBackupSettings(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("get",`${c}/Backups/Pbx.GetBackupSettings()`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}getBackupSettingsQuery(t="body",i=!1,s){return"/Backups/Pbx.GetBackupSettings()"}getCanCreateBackup(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("get",`${c}/Backups/Pbx.GetCanCreateBackup()`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}getCanCreateBackupQuery(t="body",i=!1,s){return"/Backups/Pbx.GetCanCreateBackup()"}getFailoverScripts(t,i="body"){const s=t?.$top,o=t?.$skip,e=t?.$search,c=t?.$filter,l=t?.$count;let d=new r.rx(this.encoder);d=this.addToHttpParams(d,"$top",s,r.l2.Form,!1),d=this.addToHttpParams(d,"$skip",o,r.l2.Form,!1),d=this.addToHttpParams(d,"$search",e,r.l2.Form,!1),d=this.addToHttpParams(d,"$filter",c,r.l2.Form,!1),d=this.addToHttpParams(d,"$count",l,r.l2.Form,!1);let a=this.defaultHeaders;a=this.configuration.addCredentialToHeaders("Application","Authorization",a,"Bearer ");const h=this.configuration.selectHeaderAccept(["application/json"]);void 0!==h&&(a=a.set("Accept",h));let p="json";h&&(p=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob");const{basePath:u,withCredentials:E}=this.configuration;return this.httpClient.request("get",`${u}/Backups/Pbx.GetFailoverScripts()`,{params:d.toHttpParams(),responseType:p,...E?{withCredentials:E}:{},headers:a,observe:i})}
1getFailoverScriptsQuery(t,i="body",s=!1,o){const e=t.$top,c=t.$skip,l=t.$search,d=t.$filter,a=t.$count;let h=new r.rx(this.encoder);return h=this.addToHttpParams(h,"$top",e,r.l2.Form,!1),h=this.addToHttpParams(h,"$skip",c,r.l2.Form,!1),h=this.addToHttpParams(h,"$search",l,r.l2.Form,!1),h=this.addToHttpParams(h,"$filter",d,r.l2.Form,!1),h=this.addToHttpParams(h,"$count",a,r.l2.Form,!1),"/Backups/Pbx.GetFailoverScripts()?"+h.toString()}getLocalBackupSize(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("get",`${c}/Backups/Pbx.GetLocalBackupSize()`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}getLocalBackupSizeQuery(t="body",i=!1,s){return"/Backups/Pbx.GetLocalBackupSize()"}getRestoreSettings(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("get",`${c}/Backups/Pbx.GetRestoreSettings()`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}getRestoreSettingsQuery(t="body",i=!1,s){return"/Backups/Pbx.GetRestoreSettings()"}listBackups(t,i="body"){const s=t?.$top,o=t?.$skip,e=t?.$search,c=t?.$filter,l=t?.$count,d=t?.$orderby,a=t?.$select,h=t?.$expand;let p=new r.rx(this.encoder);p=this.addToHttpParams(p,"$top",s,r.l2.Form,!1),p=this.addToHttpParams(p,"$skip",o,r.l2.Form,!1),p=this.addToHttpParams(p,"$search",e,r.l2.Form,!1),p=this.addToHttpParams(p,"$filter",c,r.l2.Form,!1),p=this.addToHttpParams(p,"$count",l,r.l2.Form,!1),p=this.addToHttpParams(p,"$orderby",d,r.l2.Form,!1),p=this.addToHttpParams(p,"$select",a,r.l2.Form,!1),p=this.addToHttpParams(p,"$expand",h,r.l2.Form,!1);let T=this.defaultHeaders;T=this.configuration.addCredentialToHeaders("Application","Authorization",T,"Bearer ");const u=this.configuration.selectHeaderAccept(["application/json"]);void 0!==u&&(T=T.set("Accept",u));let E="json";u&&(E=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob");const{basePath:O,withCredentials:M}=this.configuration;return this.httpClient.request("get",`${O}/Backups`,{params:p.toHttpParams(),responseType:E,...M?{withCredentials:M}:{},headers:T,observe:i})}listBackupsQuery(t,i="body",s=!1,o){const e=t.$top,c=t.$skip,l=t.$search,d=t.$filter,a=t.$count,h=t.$orderby,p=t.$select,T=t.$expand;let u=new r.rx(this.encoder);return u=this.addToHttpParams(u,"$top",e,r.l2.Form,!1),u=this.addToHttpParams(u,"$skip",c,r.l2.Form,!1),u=this.addToHttpParams(u,"$search",l,r.l2.Form,!1),u=this.addToHttpParams(u,"$filter",d,r.l2.Form,!1),u=this.addToHttpParams(u,"$count",a,r.l2.Form,!1),u=this.addToHttpParams(u,"$orderby",h,r.l2.Form,!1),u=this.addToHttpParams(u,"$select",p,r.l2.Form,!1),u=this.addToHttpParams(u,"$expand",T,r.l2.Form,!1),"/Backups?"+u.toString()}purgeLocalBackups(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${c}/Backups/Pbx.PurgeLocalBackups`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}purgeLocalBackupsQuery(t="body",i=!1,s){return"/Backups/Pbx.PurgeLocalBackups"}restore(t,i="body"){const s=t?.fileName;if(null==s)throw new Error("Required parameter fileName was null or undefined when calling restore.");const o=t?.backupsBackupsRestoreRequestBody;if(null==o)throw new Error("Required parameter backupsBackupsRestoreRequestBody was null or undefined when calling restore.");let e=this.defaultHeaders;e=this.configuration.addCredentialToHeaders("Application","Authorization",e,"Bearer ");const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(e=e.set("Accept",c));const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(e=e.set("Content-Type",d));let a="json";c&&(a=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob");let h=`/Backups(${this.configuration.encodeParam({name:"fileName",value:s,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})/Pbx.Restore`;const{basePath:p,withCredentials:T}=this.configuration;return this.httpClient.request("post",`${p}${h}`,{body:o,responseType:a,...T?{withCredentials:T}:{},headers:e,observe:i})}restoreQuery(t,i="body",s=!1,o){const e=t.fileName;if(null==e)throw new Error("Required parameter fileName was null or undefined when calling restore.");if(null==t.backupsBackupsRestoreRequestBody)throw new Error("Required parameter backupsBackupsRestoreRequestBody was null or undefined when calling restore.");return`/Backups(${this.configuration.encodeParam({name:"fileName",value:e,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})/Pbx.Restore`}
1setBackupFailoverSettings(t,i="body"){const s=t?.backupsSetBackupFailoverSettingsRequestBody;if(null==s)throw new Error("Required parameter backupsSetBackupFailoverSettingsRequestBody was null or undefined when calling setBackupFailoverSettings.");let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(o=o.set("Content-Type",l));let d="json";e&&(d=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("post",`${h}/Backups/Pbx.SetBackupFailoverSettings`,{body:s,responseType:d,...p?{withCredentials:p}:{},headers:o,observe:i})}setBackupFailoverSettingsQuery(t,i="body",s=!1,o){if(null==t.backupsSetBackupFailoverSettingsRequestBody)throw new Error("Required parameter backupsSetBackupFailoverSettingsRequestBody was null or undefined when calling setBackupFailoverSettings.");return"/Backups/Pbx.SetBackupFailoverSettings"}setBackupRepositorySettings(t,i="body"){const s=t?.backupsSetBackupRepositorySettingsRequestBody;if(null==s)throw new Error("Required parameter backupsSetBackupRepositorySettingsRequestBody was null or undefined when calling setBackupRepositorySettings.");let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(o=o.set("Content-Type",l));let d="json";e&&(d=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("post",`${h}/Backups/Pbx.SetBackupRepositorySettings`,{body:s,responseType:d,...p?{withCredentials:p}:{},headers:o,observe:i})}setBackupRepositorySettingsQuery(t,i="body",s=!1,o){if(null==t.backupsSetBackupRepositorySettingsRequestBody)throw new Error("Required parameter backupsSetBackupRepositorySettingsRequestBody was null or undefined when calling setBackupRepositorySettings.");return"/Backups/Pbx.SetBackupRepositorySettings"}setBackupSettings(t,i="body"){const s=t?.backupsSetBackupSettingsRequestBody;if(null==s)throw new Error("Required parameter backupsSetBackupSettingsRequestBody was null or undefined when calling setBackupSettings.");let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(o=o.set("Content-Type",l));let d="json";e&&(d=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("post",`${h}/Backups/Pbx.SetBackupSettings`,{body:s,responseType:d,...p?{withCredentials:p}:{},headers:o,observe:i})}setBackupSettingsQuery(t,i="body",s=!1,o){if(null==t.backupsSetBackupSettingsRequestBody)throw new Error("Required parameter backupsSetBackupSettingsRequestBody was null or undefined when calling setBackupSettings.");return"/Backups/Pbx.SetBackupSettings"}setRestoreSettings(t,i="body"){const s=t?.backupsSetRestoreSettingsRequestBody;if(null==s)throw new Error("Required parameter backupsSetRestoreSettingsRequestBody was null or undefined when calling setRestoreSettings.");let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(o=o.set("Content-Type",l));let d="json";e&&(d=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("post",`${h}/Backups/Pbx.SetRestoreSettings`,{body:s,responseType:d,...p?{withCredentials:p}:{},headers:o,observe:i})}setRestoreSettingsQuery(t,i="body",s=!1,o){if(null==t.backupsSetRestoreSettingsRequestBody)throw new Error("Required parameter backupsSetRestoreSettingsRequestBody was null or undefined when calling setRestoreSettings.");return"/Backups/Pbx.SetRestoreSettings"}static \u0275fac=(()=>{let t;return function(s){return(t||(t=P.xGo(f)))(s||f)}})();static \u0275prov=y.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},95357(R,C,n){n.d(C,{h:()=>v});var r=n(97201),$=n(4499),P=n(35547),y=n(85802);let v=(()=>{class f extends $.d{downloadEventLogs(t,i="body"){const s=t?.$top,o=t?.$skip,e=t?.$search,c=t?.$filter,l=t?.$count,d=t?.$select,a=t?.$orderby,h=t?.$expand;let p=new r.rx(this.encoder);p=this.addToHttpParams(p,"$top",s,r.l2.Form,!1),p=this.addToHttpParams(p,"$skip",o,r.l2.Form,!1),p=this.addToHttpParams(p,"$search",e,r.l2.Form,!1),p=this.addToHttpParams(p,"$filter",c,r.l2.Form,!1),p=this.addToHttpParams(p,"$count",l,r.l2.Form,!1),p=this.addToHttpParams(p,"$select",d,r.l2.Form,!1),p=this.addToHttpParams(p,"$orderby",a,r.l2.Form,!1),p=this.addToHttpParams(p,"$expand",h,r.l2.Form,!1);let T=this.defaultHeaders;T=this.configuration.addCredentialToHeaders("Application","Authorization",T,"Bearer ");const u=this.configuration.selectHeaderAccept(["application/json"]);void 0!==u&&(T=T.set("Accept",u));let E="json";u&&(E=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob");const{basePath:O,withCredentials:M}=this.configuration;return this.httpClient.request("get",`${O}/EventLogs/Pbx.DownloadEventLogs()`,{params:p.toHttpParams(),responseType:E,...M?{withCredentials:M}:{},headers:T,observe:i})}
1downloadEventLogsQuery(t,i="body",s=!1,o){const e=t.$top,c=t.$skip,l=t.$search,d=t.$filter,a=t.$count,h=t.$select,p=t.$orderby,T=t.$expand;let u=new r.rx(this.encoder);return u=this.addToHttpParams(u,"$top",e,r.l2.Form,!1),u=this.addToHttpParams(u,"$skip",c,r.l2.Form,!1),u=this.addToHttpParams(u,"$search",l,r.l2.Form,!1),u=this.addToHttpParams(u,"$filter",d,r.l2.Form,!1),u=this.addToHttpParams(u,"$count",a,r.l2.Form,!1),u=this.addToHttpParams(u,"$select",h,r.l2.Form,!1),u=this.addToHttpParams(u,"$orderby",p,r.l2.Form,!1),u=this.addToHttpParams(u,"$expand",T,r.l2.Form,!1),"/EventLogs/Pbx.DownloadEventLogs()?"+u.toString()}listEventLog(t,i="body"){const s=t?.$top,o=t?.$skip,e=t?.$search,c=t?.$filter,l=t?.$count,d=t?.$orderby,a=t?.$select,h=t?.$expand;let p=new r.rx(this.encoder);p=this.addToHttpParams(p,"$top",s,r.l2.Form,!1),p=this.addToHttpParams(p,"$skip",o,r.l2.Form,!1),p=this.addToHttpParams(p,"$search",e,r.l2.Form,!1),p=this.addToHttpParams(p,"$filter",c,r.l2.Form,!1),p=this.addToHttpParams(p,"$count",l,r.l2.Form,!1),p=this.addToHttpParams(p,"$orderby",d,r.l2.Form,!1),p=this.addToHttpParams(p,"$select",a,r.l2.Form,!1),p=this.addToHttpParams(p,"$expand",h,r.l2.Form,!1);let T=this.defaultHeaders;T=this.configuration.addCredentialToHeaders("Application","Authorization",T,"Bearer ");const u=this.configuration.selectHeaderAccept(["application/json"]);void 0!==u&&(T=T.set("Accept",u));let E="json";u&&(E=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob");const{basePath:O,withCredentials:M}=this.configuration;return this.httpClient.request("get",`${O}/EventLogs`,{params:p.toHttpParams(),responseType:E,...M?{withCredentials:M}:{},headers:T,observe:i})}listEventLogQuery(t,i="body",s=!1,o){const e=t.$top,c=t.$skip,l=t.$search,d=t.$filter,a=t.$count,h=t.$orderby,p=t.$select,T=t.$expand;let u=new r.rx(this.encoder);return u=this.addToHttpParams(u,"$top",e,r.l2.Form,!1),u=this.addToHttpParams(u,"$skip",c,r.l2.Form,!1),u=this.addToHttpParams(u,"$search",l,r.l2.Form,!1),u=this.addToHttpParams(u,"$filter",d,r.l2.Form,!1),u=this.addToHttpParams(u,"$count",a,r.l2.Form,!1),u=this.addToHttpParams(u,"$orderby",h,r.l2.Form,!1),u=this.addToHttpParams(u,"$select",p,r.l2.Form,!1),u=this.addToHttpParams(u,"$expand",T,r.l2.Form,!1),"/EventLogs?"+u.toString()}purgeEventLog(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${c}/EventLogs/Pbx.PurgeEventLog`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}purgeEventLogQuery(t="body",i=!1,s){return"/EventLogs/Pbx.PurgeEventLog"}static \u0275fac=(()=>{let t;return function(s){return(t||(t=P.xGo(f)))(s||f)}})();static \u0275prov=y.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},13313(R,C,n){n.d(C,{X:()=>v});var r=n(97201),$=n(4499),P=n(35547),y=n(85802);let v=(()=>{class f extends $.d{createPhoneTemplate(t,i="body"){const s=t?.pbxPhoneTemplate;if(null==s)throw new Error("Required parameter pbxPhoneTemplate was null or undefined when calling createPhoneTemplate.");let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(o=o.set("Content-Type",l));let d="json";e&&(d=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("post",`${h}/PhoneTemplates`,{body:s,responseType:d,...p?{withCredentials:p}:{},headers:o,observe:i})}createPhoneTemplateQuery(t,i="body",s=!1,o){if(null==t.pbxPhoneTemplate)throw new Error("Required parameter pbxPhoneTemplate was null or undefined when calling createPhoneTemplate.");return"/PhoneTemplates"}deletePhoneTemplate(t,i="body"){const s=t?.id;if(null==s)throw new Error("Required parameter id was null or undefined when calling deletePhoneTemplate.");const o=t?.ifMatch;let e=this.defaultHeaders;null!=o&&(e=e.set("If-Match",String(o))),e=this.configuration.addCredentialToHeaders("Application","Authorization",e,"Bearer ");const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(e=e.set("Accept",c));let l="json";c&&(l=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob");let d=`/PhoneTemplates(${this.configuration.encodeParam({name:"id",value:s,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})`;const{basePath:a,withCredentials:h}=this.configuration;return this.httpClient.request("delete",`${a}${d}`,{responseType:l,...h?{withCredentials:h}:{},headers:e,observe:i})}deletePhoneTemplateQuery(t,i="body",s=!1,o){const e=t.id;if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePhoneTemplate.");return`/PhoneTemplates(${this.configuration.encodeParam({name:"id",value:e,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})`}getPhoneTemplate(t,i="body"){const s=t?.id;if(null==s)throw new Error("Required parameter id was null or undefined when calling getPhoneTemplate.");const o=t?.$select,e=t?.$expand;let c=new r.rx(this.encoder);c=this.addToHttpParams(c,"$select",o,r.l2.Form,!1),c=this.addToHttpParams(c,"$expand",e,r.l2.Form,!1);let l=this.defaultHeaders;l=this.configuration.addCredentialToHeaders("Application","Authorization",l,"Bearer ");const d=this.configuration.selectHeaderAccept(["application/json"]);void 0!==d&&(l=l.set("Accept",d));let a="json";d&&(a=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob");let h=`/PhoneTemplates(${this.configuration.encodeParam({name:"id",value:s,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})`;const{basePath:p,withCredentials:T}=this.configuration;return this.httpClient.request("get",`${p}${h}`,{params:c.toHttpParams(),responseType:a,...T?{withCredentials:T}:{},headers:l,observe:i})}getPhoneTemplateQuery(t,i="body",s=!1,o){const e=t.id;if(null==e)throw new Error("Required parameter id was null or undefined when calling getPhoneTemplate.");const c=t.$select,l=t.$expand;let d=new r.rx(this.encoder);return d=this.addToHttpParams(d,"$select",c,r.l2.Form,!1),d=this.addToHttpParams(d,"$expand",l,r.l2.Form,!1),`/PhoneTemplates(${this.configuration.encodeParam({name:"id",value:e,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})?`+d.toString()}listPhoneTemplate(t,i="body"){const s=t?.$top,o=t?.$skip,e=t?.$search,c=t?.$filter,l=t?.$count,d=t?.$orderby,a=t?.$select,h=t?.$expand;let p=new r.rx(this.encoder);p=this.addToHttpParams(p,"$top",s,r.l2.Form,!1),p=this.addToHttpParams(p,"$skip",o,r.l2.Form,!1),p=this.addToHttpParams(p,"$search",e,r.l2.Form,!1),p=this.addToHttpParams(p,"$filter",c,r.l2.Form,!1),p=this.addToHttpParams(p,"$count",l,r.l2.Form,!1),p=this.addToHttpParams(p,"$orderby",d,r.l2.Form,!1),p=this.addToHttpParams(p,"$select",a,r.l2.Form,!1),p=this.addToHttpParams(p,"$expand",h,r.l2.Form,!1);let T=this.defaultHeaders;T=this.configuration.addCredentialToHeaders("Application","Authorization",T,"Bearer ");const u=this.configuration.selectHeaderAccept(["application/json"]);void 0!==u&&(T=T.set("Accept",u));let E="json";u&&(E=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob");const{basePath:O,withCredentials:M}=this.configuration;return this.httpClient.request("get",`${O}/PhoneTemplates`,{params:p.toHttpParams(),responseType:E,...M?{withCredentials:M}:{},headers:T,observe:i})}
1listPhoneTemplateQuery(t,i="body",s=!1,o){const e=t.$top,c=t.$skip,l=t.$search,d=t.$filter,a=t.$count,h=t.$orderby,p=t.$select,T=t.$expand;let u=new r.rx(this.encoder);return u=this.addToHttpParams(u,"$top",e,r.l2.Form,!1),u=this.addToHttpParams(u,"$skip",c,r.l2.Form,!1),u=this.addToHttpParams(u,"$search",l,r.l2.Form,!1),u=this.addToHttpParams(u,"$filter",d,r.l2.Form,!1),u=this.addToHttpParams(u,"$count",a,r.l2.Form,!1),u=this.addToHttpParams(u,"$orderby",h,r.l2.Form,!1),u=this.addToHttpParams(u,"$select",p,r.l2.Form,!1),u=this.addToHttpParams(u,"$expand",T,r.l2.Form,!1),"/PhoneTemplates?"+u.toString()}updatePhoneTemplate(t,i="body"){const s=t?.id;if(null==s)throw new Error("Required parameter id was null or undefined when calling updatePhoneTemplate.");const o=t?.pbxPhoneTemplate;let e=this.defaultHeaders;e=this.configuration.addCredentialToHeaders("Application","Authorization",e,"Bearer ");const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(e=e.set("Accept",c));const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(e=e.set("Content-Type",d));let a="json";c&&(a=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob");let h=`/PhoneTemplates(${this.configuration.encodeParam({name:"id",value:s,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})`;const{basePath:p,withCredentials:T}=this.configuration;return this.httpClient.request("patch",`${p}${h}`,{body:o,responseType:a,...T?{withCredentials:T}:{},headers:e,observe:i})}updatePhoneTemplateQuery(t,i="body",s=!1,o){const e=t.id;if(null==e)throw new Error("Required parameter id was null or undefined when calling updatePhoneTemplate.");return`/PhoneTemplates(${this.configuration.encodeParam({name:"id",value:e,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})`}static \u0275fac=(()=>{let t;return function(s){return(t||(t=P.xGo(f)))(s||f)}})();static \u0275prov=y.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},75939(R,C,n){n.d(C,{U:()=>v});var r=n(97201),$=n(4499),P=n(35547),y=n(85802);let v=(()=>{class f extends $.d{archiveChats(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${c}/RemoteArchivingSettings/Pbx.ArchiveChats`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}archiveChatsQuery(t="body",i=!1,s){return"/RemoteArchivingSettings/Pbx.ArchiveChats"}archiveFaxes(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${c}/RemoteArchivingSettings/Pbx.ArchiveFaxes`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}archiveFaxesQuery(t="body",i=!1,s){return"/RemoteArchivingSettings/Pbx.ArchiveFaxes"}archiveRecordings(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${c}/RemoteArchivingSettings/Pbx.ArchiveRecordings`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}archiveRecordingsQuery(t="body",i=!1,s){return"/RemoteArchivingSettings/Pbx.ArchiveRecordings"}archiveVoicemail(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${c}/RemoteArchivingSettings/Pbx.ArchiveVoicemail`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}archiveVoicemailQuery(t="body",i=!1,s){return"/RemoteArchivingSettings/Pbx.ArchiveVoicemail"}getRemoteArchivingSettings(t,i="body"){const s=t?.$select,o=t?.$expand;let e=new r.rx(this.encoder);e=this.addToHttpParams(e,"$select",s,r.l2.Form,!1),e=this.addToHttpParams(e,"$expand",o,r.l2.Form,!1);let c=this.defaultHeaders;c=this.configuration.addCredentialToHeaders("Application","Authorization",c,"Bearer ");const l=this.configuration.selectHeaderAccept(["application/json"]);void 0!==l&&(c=c.set("Accept",l));let d="json";l&&(d=l.startsWith("text")?"text":this.configuration.isJsonMime(l)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("get",`${h}/RemoteArchivingSettings`,{params:e.toHttpParams(),responseType:d,...p?{withCredentials:p}:{},headers:c,observe:i})}getRemoteArchivingSettingsQuery(t,i="body",s=!1,o){const e=t.$select,c=t.$expand;let l=new r.rx(this.encoder);return l=this.addToHttpParams(l,"$select",e,r.l2.Form,!1),l=this.addToHttpParams(l,"$expand",c,r.l2.Form,!1),"/RemoteArchivingSettings?"+l.toString()}updateRemoteArchivingSettings(t,i="body"){const s=t?.pbxRemoteArchivingSettings;let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(o=o.set("Content-Type",l));let d="json";e&&(d=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("patch",`${h}/RemoteArchivingSettings`,{body:s,responseType:d,...p?{withCredentials:p}:{},headers:o,observe:i})}updateRemoteArchivingSettingsQuery(t,i="body",s=!1,o){return"/RemoteArchivingSettings"}static \u0275fac=(()=>{let t;return function(s){return(t||(t=P.xGo(f)))(s||f)}})();static \u0275prov=y.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},97469(R,C,n){n.d(C,{Z:()=>v});var r=n(97201),$=n(4499),P=n(35547),y=n(85802);let v=(()=>{class f extends $.d{aPIToken(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("get",`${c}/SystemStatus/Pbx.APIToken()`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}aPITokenQuery(t="body",i=!1,s){return"/SystemStatus/Pbx.APIToken()"}getRemoteAccessStatus(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("get",`${c}/SystemStatus/Pbx.GetRemoteAccessStatus()`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}getRemoteAccessStatusQuery(t="body",i=!1,s){return"/SystemStatus/Pbx.GetRemoteAccessStatus()"}getRequestHelpLink(t,i="body"){const s=t?.grantPeriodDays;if(null==s)throw new Error("Required parameter grantPeriodDays was null or undefined when calling getRequestHelpLink.");let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));let c="json";e&&(c=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");let l=`/SystemStatus/Pbx.GetRequestHelpLink(grantPeriodDays=${this.configuration.encodeParam({name:"grantPeriodDays",value:s,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`;const{basePath:d,withCredentials:a}=this.configuration;return this.httpClient.request("get",`${d}${l}`,{responseType:c,...a?{withCredentials:a}:{},headers:o,observe:i})}getRequestHelpLinkQuery(t,i="body",s=!1,o){const e=t.grantPeriodDays;if(null==e)throw new Error("Required parameter grantPeriodDays was null or undefined when calling getRequestHelpLink.");return`/SystemStatus/Pbx.GetRequestHelpLink(grantPeriodDays=${this.configuration.encodeParam({name:"grantPeriodDays",value:e,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`}getSystemStatus(t,i="body"){const s=t?.$select,o=t?.$expand;let e=new r.rx(this.encoder);e=this.addToHttpParams(e,"$select",s,r.l2.Form,!1),e=this.addToHttpParams(e,"$expand",o,r.l2.Form,!1);let c=this.defaultHeaders;c=this.configuration.addCredentialToHeaders("Application","Authorization",c,"Bearer ");const l=this.configuration.selectHeaderAccept(["application/json"]);void 0!==l&&(c=c.set("Accept",l));let d="json";l&&(d=l.startsWith("text")?"text":this.configuration.isJsonMime(l)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("get",`${h}/SystemStatus`,{params:e.toHttpParams(),responseType:d,...p?{withCredentials:p}:{},headers:c,observe:i})}getSystemStatusQuery(t,i="body",s=!1,o){const e=t.$select,c=t.$expand;let l=new r.rx(this.encoder);return l=this.addToHttpParams(l,"$select",e,r.l2.Form,!1),l=this.addToHttpParams(l,"$expand",c,r.l2.Form,!1),"/SystemStatus?"+l.toString()}getVersionType(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("get",`${c}/SystemStatus/Pbx.GetVersionType()`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}getVersionTypeQuery(t="body",i=!1,s){return"/SystemStatus/Pbx.GetVersionType()"}isRequestHelpEnabled(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("get",`${c}/SystemStatus/Pbx.IsRequestHelpEnabled()`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}isRequestHelpEnabledQuery(t="body",i=!1,s){return"/SystemStatus/Pbx.IsRequestHelpEnabled()"}myPhoneRequestIdTelemetry(t,i="body"){const s=t?.startDate;if(null==s)throw new Error("Required parameter startDate was null or undefined when calling myPhoneRequestIdTelemetry.");const o=t?.endDate;if(null==o)throw new Error("Required parameter endDate was null or undefined when calling myPhoneRequestIdTelemetry.");const e=t?.$top,c=t?.$skip,l=t?.$search,d=t?.$filter,a=t?.$count,h=t?.$select,p=t?.$orderby,T=t?.$expand;let u=new r.rx(this.encoder);u=this.addToHttpParams(u,"$top",e,r.l2.Form,!1),u=this.addToHttpParams(u,"$skip",c,r.l2.Form,!1),u=this.addToHttpParams(u,"$search",l,r.l2.Form,!1),u=this.addToHttpParams(u,"$filter",d,r.l2.Form,!1),u=this.addToHttpParams(u,"$count",a,r.l2.Form,!1),u=this.addToHttpParams(u,"$select",h,r.l2.Form,!1),u=this.addToHttpParams(u,"$orderby",p,r.l2.Form,!1),u=this.addToHttpParams(u,"$expand",T,r.l2.Form,!1);let E=this.defaultHeaders;E=this.configuration.addCredentialToHeaders("Application","Authorization",E,"Bearer ");const S=this.configuration.selectHeaderAccept(["application/json"]);void 0!==S&&(E=E.set("Accept",S));let O="json";S&&(O=S.startsWith("text")?"text":this.configuration.isJsonMime(S)?"json":"blob");let M=`/SystemStatus/Pbx.MyPhoneRequestIdTelemetry(startDate=${this.configuration.encodeParam({name:"startDate",value:s,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:"date-time"})},endDate=${this.configuration.encodeParam({name:"endDate",value:o,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:"date-time"})})`;const{basePath:B,withCredentials:_}=this.configuration;return this.httpClient.request("get",`${B}${M}`,{params:u.toHttpParams(),responseType:O,..._?{withCredentials:_}:{},headers:E,observe:i})}myPhoneRequestIdTelemetryQuery(t,i="body",s=!1,o){const e=t.startDate;if(null==e)throw new Error("Required parameter startDate was null or undefined when calling myPhoneRequestIdTelemetry.");const c=t.endDate;if(null==c)throw new Error("Required parameter endDate was null or undefined when calling myPhoneRequestIdTelemetry.");
1const l=t.$top,d=t.$skip,a=t.$search,h=t.$filter,p=t.$count,T=t.$select,u=t.$orderby,E=t.$expand;let S=new r.rx(this.encoder);return S=this.addToHttpParams(S,"$top",l,r.l2.Form,!1),S=this.addToHttpParams(S,"$skip",d,r.l2.Form,!1),S=this.addToHttpParams(S,"$search",a,r.l2.Form,!1),S=this.addToHttpParams(S,"$filter",h,r.l2.Form,!1),S=this.addToHttpParams(S,"$count",p,r.l2.Form,!1),S=this.addToHttpParams(S,"$select",T,r.l2.Form,!1),S=this.addToHttpParams(S,"$orderby",u,r.l2.Form,!1),S=this.addToHttpParams(S,"$expand",E,r.l2.Form,!1),`/SystemStatus/Pbx.MyPhoneRequestIdTelemetry(startDate=${this.configuration.encodeParam({name:"startDate",value:e,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:"date-time"})},endDate=${this.configuration.encodeParam({name:"endDate",value:c,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:"date-time"})})?`+S.toString()}networkTelemetry(t,i="body"){const s=t?.$top,o=t?.$skip,e=t?.$search,c=t?.$filter,l=t?.$count,d=t?.$select,a=t?.$orderby,h=t?.$expand;let p=new r.rx(this.encoder);p=this.addToHttpParams(p,"$top",s,r.l2.Form,!1),p=this.addToHttpParams(p,"$skip",o,r.l2.Form,!1),p=this.addToHttpParams(p,"$search",e,r.l2.Form,!1),p=this.addToHttpParams(p,"$filter",c,r.l2.Form,!1),p=this.addToHttpParams(p,"$count",l,r.l2.Form,!1),p=this.addToHttpParams(p,"$select",d,r.l2.Form,!1),p=this.addToHttpParams(p,"$orderby",a,r.l2.Form,!1),p=this.addToHttpParams(p,"$expand",h,r.l2.Form,!1);let T=this.defaultHeaders;T=this.configuration.addCredentialToHeaders("Application","Authorization",T,"Bearer ");const u=this.configuration.selectHeaderAccept(["application/json"]);void 0!==u&&(T=T.set("Accept",u));let E="json";u&&(E=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob");const{basePath:O,withCredentials:M}=this.configuration;return this.httpClient.request("get",`${O}/SystemStatus/Pbx.NetworkTelemetry()`,{params:p.toHttpParams(),responseType:E,...M?{withCredentials:M}:{},headers:T,observe:i})}networkTelemetryQuery(t,i="body",s=!1,o){const e=t.$top,c=t.$skip,l=t.$search,d=t.$filter,a=t.$count,h=t.$select,p=t.$orderby,T=t.$expand;let u=new r.rx(this.encoder);return u=this.addToHttpParams(u,"$top",e,r.l2.Form,!1),u=this.addToHttpParams(u,"$skip",c,r.l2.Form,!1),u=this.addToHttpParams(u,"$search",l,r.l2.Form,!1),u=this.addToHttpParams(u,"$filter",d,r.l2.Form,!1),u=this.addToHttpParams(u,"$count",a,r.l2.Form,!1),u=this.addToHttpParams(u,"$select",h,r.l2.Form,!1),u=this.addToHttpParams(u,"$orderby",p,r.l2.Form,!1),u=this.addToHttpParams(u,"$expand",T,r.l2.Form,!1),"/SystemStatus/Pbx.NetworkTelemetry()?"+u.toString()}requestHelp(t,i="body"){const s=t?.systemStatusRequestHelpRequestBody;let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(o=o.set("Content-Type",l));let d="json";e&&(d=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("post",`${h}/SystemStatus/Pbx.RequestHelp`,{body:s,responseType:d,...p?{withCredentials:p}:{},headers:o,observe:i})}requestHelpQuery(t,i="body",s=!1,o){return"/SystemStatus/Pbx.RequestHelp"}revokeRemoteAccess(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${c}/SystemStatus/Pbx.RevokeRemoteAccess`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}revokeRemoteAccessQuery(t="body",i=!1,s){return"/SystemStatus/Pbx.RevokeRemoteAccess"}serviceTelemetry(t,i="body"){const s=t?.$top,o=t?.$skip,e=t?.$search,c=t?.$filter,l=t?.$count,d=t?.$select,a=t?.$orderby,h=t?.$expand;let p=new r.rx(this.encoder);p=this.addToHttpParams(p,"$top",s,r.l2.Form,!1),p=this.addToHttpParams(p,"$skip",o,r.l2.Form,!1),p=this.addToHttpParams(p,"$search",e,r.l2.Form,!1),p=this.addToHttpParams(p,"$filter",c,r.l2.Form,!1),p=this.addToHttpParams(p,"$count",l,r.l2.Form,!1),p=this.addToHttpParams(p,"$select",d,r.l2.Form,!1),p=this.addToHttpParams(p,"$orderby",a,r.l2.Form,!1),p=this.addToHttpParams(p,"$expand",h,r.l2.Form,!1);let T=this.defaultHeaders;T=this.configuration.addCredentialToHeaders("Application","Authorization",T,"Bearer ");const u=this.configuration.selectHeaderAccept(["application/json"]);void 0!==u&&(T=T.set("Accept",u));let E="json";u&&(E=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob");const{basePath:O,withCredentials:M}=this.configuration;return this.httpClient.request("get",`${O}/SystemStatus/Pbx.ServiceTelemetry()`,{params:p.toHttpParams(),responseType:E,...M?{withCredentials:M}:{},headers:T,observe:i})}
1serviceTelemetryQuery(t,i="body",s=!1,o){const e=t.$top,c=t.$skip,l=t.$search,d=t.$filter,a=t.$count,h=t.$select,p=t.$orderby,T=t.$expand;let u=new r.rx(this.encoder);return u=this.addToHttpParams(u,"$top",e,r.l2.Form,!1),u=this.addToHttpParams(u,"$skip",c,r.l2.Form,!1),u=this.addToHttpParams(u,"$search",l,r.l2.Form,!1),u=this.addToHttpParams(u,"$filter",d,r.l2.Form,!1),u=this.addToHttpParams(u,"$count",a,r.l2.Form,!1),u=this.addToHttpParams(u,"$select",h,r.l2.Form,!1),u=this.addToHttpParams(u,"$orderby",p,r.l2.Form,!1),u=this.addToHttpParams(u,"$expand",T,r.l2.Form,!1),"/SystemStatus/Pbx.ServiceTelemetry()?"+u.toString()}setChatLogStatus(t,i="body"){const s=t?.systemStatusSetChatLogStatusRequestBody;if(null==s)throw new Error("Required parameter systemStatusSetChatLogStatusRequestBody was null or undefined when calling setChatLogStatus.");let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(o=o.set("Content-Type",l));let d="json";e&&(d=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("post",`${h}/SystemStatus/Pbx.SetChatLogStatus`,{body:s,responseType:d,...p?{withCredentials:p}:{},headers:o,observe:i})}setChatLogStatusQuery(t,i="body",s=!1,o){if(null==t.systemStatusSetChatLogStatusRequestBody)throw new Error("Required parameter systemStatusSetChatLogStatusRequestBody was null or undefined when calling setChatLogStatus.");return"/SystemStatus/Pbx.SetChatLogStatus"}setMultiCompanyMode(t,i="body"){const s=t?.systemStatusSetMultiCompanyModeRequestBody;if(null==s)throw new Error("Required parameter systemStatusSetMultiCompanyModeRequestBody was null or undefined when calling setMultiCompanyMode.");let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(o=o.set("Content-Type",l));let d="json";e&&(d=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("post",`${h}/SystemStatus/Pbx.SetMultiCompanyMode`,{body:s,responseType:d,...p?{withCredentials:p}:{},headers:o,observe:i})}setMultiCompanyModeQuery(t,i="body",s=!1,o){if(null==t.systemStatusSetMultiCompanyModeRequestBody)throw new Error("Required parameter systemStatusSetMultiCompanyModeRequestBody was null or undefined when calling setMultiCompanyMode.");return"/SystemStatus/Pbx.SetMultiCompanyMode"}startDBMaintenance(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${c}/SystemStatus/Pbx.StartDBMaintenance`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}startDBMaintenanceQuery(t="body",i=!1,s){return"/SystemStatus/Pbx.StartDBMaintenance"}systemDatabaseInformation(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("get",`${c}/SystemStatus/Pbx.SystemDatabaseInformation()`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}systemDatabaseInformationQuery(t="body",i=!1,s){return"/SystemStatus/Pbx.SystemDatabaseInformation()"}systemExtensions(t,i="body"){const s=t?.$top,o=t?.$skip,e=t?.$search,c=t?.$filter,l=t?.$count;let d=new r.rx(this.encoder);d=this.addToHttpParams(d,"$top",s,r.l2.Form,!1),d=this.addToHttpParams(d,"$skip",o,r.l2.Form,!1),d=this.addToHttpParams(d,"$search",e,r.l2.Form,!1),d=this.addToHttpParams(d,"$filter",c,r.l2.Form,!1),d=this.addToHttpParams(d,"$count",l,r.l2.Form,!1);let a=this.defaultHeaders;a=this.configuration.addCredentialToHeaders("Application","Authorization",a,"Bearer ");const h=this.configuration.selectHeaderAccept(["application/json"]);void 0!==h&&(a=a.set("Accept",h));let p="json";h&&(p=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob");const{basePath:u,withCredentials:E}=this.configuration;return this.httpClient.request("get",`${u}/SystemStatus/Pbx.SystemExtensions()`,{params:d.toHttpParams(),responseType:p,...E?{withCredentials:E}:{},headers:a,observe:i})}
1systemExtensionsQuery(t,i="body",s=!1,o){const e=t.$top,c=t.$skip,l=t.$search,d=t.$filter,a=t.$count;let h=new r.rx(this.encoder);return h=this.addToHttpParams(h,"$top",e,r.l2.Form,!1),h=this.addToHttpParams(h,"$skip",c,r.l2.Form,!1),h=this.addToHttpParams(h,"$search",l,r.l2.Form,!1),h=this.addToHttpParams(h,"$filter",d,r.l2.Form,!1),h=this.addToHttpParams(h,"$count",a,r.l2.Form,!1),"/SystemStatus/Pbx.SystemExtensions()?"+h.toString()}systemHealthStatus(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("get",`${c}/SystemStatus/Pbx.SystemHealthStatus()`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}systemHealthStatusQuery(t="body",i=!1,s){return"/SystemStatus/Pbx.SystemHealthStatus()"}systemTelemetry(t,i="body"){const s=t?.$top,o=t?.$skip,e=t?.$search,c=t?.$filter,l=t?.$count,d=t?.$select,a=t?.$orderby,h=t?.$expand;let p=new r.rx(this.encoder);p=this.addToHttpParams(p,"$top",s,r.l2.Form,!1),p=this.addToHttpParams(p,"$skip",o,r.l2.Form,!1),p=this.addToHttpParams(p,"$search",e,r.l2.Form,!1),p=this.addToHttpParams(p,"$filter",c,r.l2.Form,!1),p=this.addToHttpParams(p,"$count",l,r.l2.Form,!1),p=this.addToHttpParams(p,"$select",d,r.l2.Form,!1),p=this.addToHttpParams(p,"$orderby",a,r.l2.Form,!1),p=this.addToHttpParams(p,"$expand",h,r.l2.Form,!1);let T=this.defaultHeaders;T=this.configuration.addCredentialToHeaders("Application","Authorization",T,"Bearer ");const u=this.configuration.selectHeaderAccept(["application/json"]);void 0!==u&&(T=T.set("Accept",u));let E="json";u&&(E=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob");const{basePath:O,withCredentials:M}=this.configuration;return this.httpClient.request("get",`${O}/SystemStatus/Pbx.SystemTelemetry()`,{params:p.toHttpParams(),responseType:E,...M?{withCredentials:M}:{},headers:T,observe:i})}systemTelemetryQuery(t,i="body",s=!1,o){const e=t.$top,c=t.$skip,l=t.$search,d=t.$filter,a=t.$count,h=t.$select,p=t.$orderby,T=t.$expand;let u=new r.rx(this.encoder);return u=this.addToHttpParams(u,"$top",e,r.l2.Form,!1),u=this.addToHttpParams(u,"$skip",c,r.l2.Form,!1),u=this.addToHttpParams(u,"$search",l,r.l2.Form,!1),u=this.addToHttpParams(u,"$filter",d,r.l2.Form,!1),u=this.addToHttpParams(u,"$count",a,r.l2.Form,!1),u=this.addToHttpParams(u,"$select",h,r.l2.Form,!1),u=this.addToHttpParams(u,"$orderby",p,r.l2.Form,!1),u=this.addToHttpParams(u,"$expand",T,r.l2.Form,!1),"/SystemStatus/Pbx.SystemTelemetry()?"+u.toString()}static \u0275fac=(()=>{let t;return function(s){return(t||(t=P.xGo(f)))(s||f)}})();static \u0275prov=y.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},1557(R,C,n){n.d(C,{I:()=>y});var r=n(4499),$=n(35547),P=n(85802);let y=(()=>{class v extends r.d{getClientCrmUpdates(g="body"){let t=this.defaultHeaders;t=this.configuration.addCredentialToHeaders("Application","Authorization",t,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(t=t.set("Accept",i));let s="json";i&&(s=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:e,withCredentials:c}=this.configuration;return this.httpClient.request("get",`${e}/GetClientCrmUpdates()`,{responseType:s,...c?{withCredentials:c}:{},headers:t,observe:g})}getClientCrmUpdatesQuery(g="body",t=!1,i){return"/GetClientCrmUpdates()"}getPromptSetUpdates(g="body"){let t=this.defaultHeaders;t=this.configuration.addCredentialToHeaders("Application","Authorization",t,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(t=t.set("Accept",i));let s="json";i&&(s=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:e,withCredentials:c}=this.configuration;return this.httpClient.request("get",`${e}/GetPromptSetUpdates()`,{responseType:s,...c?{withCredentials:c}:{},headers:t,observe:g})}getPromptSetUpdatesQuery(g="body",t=!1,i){return"/GetPromptSetUpdates()"}getServerCrmUpdates(g="body"){let t=this.defaultHeaders;t=this.configuration.addCredentialToHeaders("Application","Authorization",t,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);
1void 0!==i&&(t=t.set("Accept",i));let s="json";i&&(s=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:e,withCredentials:c}=this.configuration;return this.httpClient.request("get",`${e}/GetServerCrmUpdates()`,{responseType:s,...c?{withCredentials:c}:{},headers:t,observe:g})}getServerCrmUpdatesQuery(g="body",t=!1,i){return"/GetServerCrmUpdates()"}getUpdateSettings(g="body"){let t=this.defaultHeaders;t=this.configuration.addCredentialToHeaders("Application","Authorization",t,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(t=t.set("Accept",i));let s="json";i&&(s=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:e,withCredentials:c}=this.configuration;return this.httpClient.request("get",`${e}/GetUpdateSettings()`,{responseType:s,...c?{withCredentials:c}:{},headers:t,observe:g})}getUpdateSettingsQuery(g="body",t=!1,i){return"/GetUpdateSettings()"}getUpdates(g="body"){let t=this.defaultHeaders;t=this.configuration.addCredentialToHeaders("Application","Authorization",t,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(t=t.set("Accept",i));let s="json";i&&(s=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:e,withCredentials:c}=this.configuration;return this.httpClient.request("get",`${e}/GetUpdates()`,{responseType:s,...c?{withCredentials:c}:{},headers:t,observe:g})}getUpdatesQuery(g="body",t=!1,i){return"/GetUpdates()"}getUpdatesStats(g="body"){let t=this.defaultHeaders;t=this.configuration.addCredentialToHeaders("Application","Authorization",t,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(t=t.set("Accept",i));let s="json";i&&(s=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:e,withCredentials:c}=this.configuration;return this.httpClient.request("get",`${e}/GetUpdatesStats()`,{responseType:s,...c?{withCredentials:c}:{},headers:t,observe:g})}getUpdatesStatsQuery(g="body",t=!1,i){return"/GetUpdatesStats()"}hasDebianUpgrade(g="body"){let t=this.defaultHeaders;t=this.configuration.addCredentialToHeaders("Application","Authorization",t,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(t=t.set("Accept",i));let s="json";i&&(s=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:e,withCredentials:c}=this.configuration;return this.httpClient.request("get",`${e}/HasDebianUpgrade()`,{responseType:s,...c?{withCredentials:c}:{},headers:t,observe:g})}hasDebianUpgradeQuery(g="body",t=!1,i){return"/HasDebianUpgrade()"}installUpdates(g,t="body"){const i=g?.actionImportInstallUpdatesRequestBody;if(null==i)throw new Error("Required parameter actionImportInstallUpdatesRequestBody was null or undefined when calling installUpdates.");let s=this.defaultHeaders;s=this.configuration.addCredentialToHeaders("Application","Authorization",s,"Bearer ");const o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(s=s.set("Accept",o));const c=this.configuration.selectHeaderContentType(["application/json"]);void 0!==c&&(s=s.set("Content-Type",c));let l="json";o&&(l=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob");const{basePath:a,withCredentials:h}=this.configuration;return this.httpClient.request("post",`${a}/InstallUpdates`,{body:i,responseType:l,...h?{withCredentials:h}:{},headers:s,observe:t})}installUpdatesQuery(g,t="body",i=!1,s){if(null==g.actionImportInstallUpdatesRequestBody)throw new Error("Required parameter actionImportInstallUpdatesRequestBody was null or undefined when calling installUpdates.");return"/InstallUpdates"}setUpdateSettings(g,t="body"){const i=g?.actionImportSetUpdateSettingsRequestBody;if(null==i)throw new Error("Required parameter actionImportSetUpdateSettingsRequestBody was null or undefined when calling setUpdateSettings.");let s=this.defaultHeaders;s=this.configuration.addCredentialToHeaders("Application","Authorization",s,"Bearer ");const o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(s=s.set("Accept",o));const c=this.configuration.selectHeaderContentType(["application/json"]);void 0!==c&&(s=s.set("Content-Type",c));let l="json";o&&(l=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob");const{basePath:a,withCredentials:h}=this.configuration;return this.httpClient.request("post",`${a}/SetUpdateSettings`,{body:i,responseType:l,...h?{withCredentials:h}:{},headers:s,observe:t})}
1setUpdateSettingsQuery(g,t="body",i=!1,s){if(null==g.actionImportSetUpdateSettingsRequestBody)throw new Error("Required parameter actionImportSetUpdateSettingsRequestBody was null or undefined when calling setUpdateSettings.");return"/SetUpdateSettings"}upgradeDebian(g="body"){let t=this.defaultHeaders;t=this.configuration.addCredentialToHeaders("Application","Authorization",t,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(t=t.set("Accept",i));let s="json";i&&(s=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:e,withCredentials:c}=this.configuration;return this.httpClient.request("post",`${e}/UpgradeDebian`,{responseType:s,...c?{withCredentials:c}:{},headers:t,observe:g})}upgradeDebianQuery(g="body",t=!1,i){return"/UpgradeDebian"}static \u0275fac=(()=>{let g;return function(i){return(g||(g=$.xGo(v)))(i||v)}})();static \u0275prov=P.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},27980(R,C,n){n.d(C,{Q:()=>v});var r=n(97201),$=n(4499),P=n(35547),y=n(85802);let v=(()=>{class f extends $.d{createConverterConfiguration(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${c}/VoicemailSettings/Pbx.CreateConverterConfiguration`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}createConverterConfigurationQuery(t="body",i=!1,s){return"/VoicemailSettings/Pbx.CreateConverterConfiguration"}deleteAllUserVoicemails(t="body"){let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(i=i.set("Accept",s));let o="json";s&&(o=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob");const{basePath:c,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${c}/VoicemailSettings/Pbx.DeleteAllUserVoicemails`,{responseType:o,...l?{withCredentials:l}:{},headers:i,observe:t})}deleteAllUserVoicemailsQuery(t="body",i=!1,s){return"/VoicemailSettings/Pbx.DeleteAllUserVoicemails"}deleteConverterConfiguration(t,i="body"){const s=t?.voicemailSettingsDeleteConverterConfigurationRequestBody;if(null==s)throw new Error("Required parameter voicemailSettingsDeleteConverterConfigurationRequestBody was null or undefined when calling deleteConverterConfiguration.");let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(o=o.set("Content-Type",l));let d="json";e&&(d=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("post",`${h}/VoicemailSettings/Pbx.DeleteConverterConfiguration`,{body:s,responseType:d,...p?{withCredentials:p}:{},headers:o,observe:i})}deleteConverterConfigurationQuery(t,i="body",s=!1,o){if(null==t.voicemailSettingsDeleteConverterConfigurationRequestBody)throw new Error("Required parameter voicemailSettingsDeleteConverterConfigurationRequestBody was null or undefined when calling deleteConverterConfiguration.");return"/VoicemailSettings/Pbx.DeleteConverterConfiguration"}getConfiguredConverters(t,i="body"){const s=t?.$top,o=t?.$skip,e=t?.$search,c=t?.$filter,l=t?.$count;let d=new r.rx(this.encoder);d=this.addToHttpParams(d,"$top",s,r.l2.Form,!1),d=this.addToHttpParams(d,"$skip",o,r.l2.Form,!1),d=this.addToHttpParams(d,"$search",e,r.l2.Form,!1),d=this.addToHttpParams(d,"$filter",c,r.l2.Form,!1),d=this.addToHttpParams(d,"$count",l,r.l2.Form,!1);let a=this.defaultHeaders;a=this.configuration.addCredentialToHeaders("Application","Authorization",a,"Bearer ");const h=this.configuration.selectHeaderAccept(["application/json"]);void 0!==h&&(a=a.set("Accept",h));let p="json";h&&(p=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob");const{basePath:u,withCredentials:E}=this.configuration;return this.httpClient.request("get",`${u}/VoicemailSettings/Pbx.GetConfiguredConverters()`,{params:d.toHttpParams(),responseType:p,...E?{withCredentials:E}:{},headers:a,observe:i})}
1getConfiguredConvertersQuery(t,i="body",s=!1,o){const e=t.$top,c=t.$skip,l=t.$search,d=t.$filter,a=t.$count;let h=new r.rx(this.encoder);return h=this.addToHttpParams(h,"$top",e,r.l2.Form,!1),h=this.addToHttpParams(h,"$skip",c,r.l2.Form,!1),h=this.addToHttpParams(h,"$search",l,r.l2.Form,!1),h=this.addToHttpParams(h,"$filter",d,r.l2.Form,!1),h=this.addToHttpParams(h,"$count",a,r.l2.Form,!1),"/VoicemailSettings/Pbx.GetConfiguredConverters()?"+h.toString()}getConnectedConvertersData(t,i="body"){const s=t?.$top,o=t?.$skip,e=t?.$search,c=t?.$filter,l=t?.$count;let d=new r.rx(this.encoder);d=this.addToHttpParams(d,"$top",s,r.l2.Form,!1),d=this.addToHttpParams(d,"$skip",o,r.l2.Form,!1),d=this.addToHttpParams(d,"$search",e,r.l2.Form,!1),d=this.addToHttpParams(d,"$filter",c,r.l2.Form,!1),d=this.addToHttpParams(d,"$count",l,r.l2.Form,!1);let a=this.defaultHeaders;a=this.configuration.addCredentialToHeaders("Application","Authorization",a,"Bearer ");const h=this.configuration.selectHeaderAccept(["application/json"]);void 0!==h&&(a=a.set("Accept",h));let p="json";h&&(p=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob");const{basePath:u,withCredentials:E}=this.configuration;return this.httpClient.request("get",`${u}/VoicemailSettings/Pbx.GetConnectedConvertersData()`,{params:d.toHttpParams(),responseType:p,...E?{withCredentials:E}:{},headers:a,observe:i})}getConnectedConvertersDataQuery(t,i="body",s=!1,o){const e=t.$top,c=t.$skip,l=t.$search,d=t.$filter,a=t.$count;let h=new r.rx(this.encoder);return h=this.addToHttpParams(h,"$top",e,r.l2.Form,!1),h=this.addToHttpParams(h,"$skip",c,r.l2.Form,!1),h=this.addToHttpParams(h,"$search",l,r.l2.Form,!1),h=this.addToHttpParams(h,"$filter",d,r.l2.Form,!1),h=this.addToHttpParams(h,"$count",a,r.l2.Form,!1),"/VoicemailSettings/Pbx.GetConnectedConvertersData()?"+h.toString()}getConverterRequestStatus(t,i="body"){const s=t?.strict;if(null==s)throw new Error("Required parameter strict was null or undefined when calling getConverterRequestStatus.");let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));let c="json";e&&(c=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");let l=`/VoicemailSettings/Pbx.GetConverterRequestStatus(strict=${this.configuration.encodeParam({name:"strict",value:s,in:"path",style:"simple",explode:!1,dataType:"boolean",dataFormat:void 0})})`;const{basePath:d,withCredentials:a}=this.configuration;return this.httpClient.request("get",`${d}${l}`,{responseType:c,...a?{withCredentials:a}:{},headers:o,observe:i})}getConverterRequestStatusQuery(t,i="body",s=!1,o){const e=t.strict;if(null==e)throw new Error("Required parameter strict was null or undefined when calling getConverterRequestStatus.");return`/VoicemailSettings/Pbx.GetConverterRequestStatus(strict=${this.configuration.encodeParam({name:"strict",value:e,in:"path",style:"simple",explode:!1,dataType:"boolean",dataFormat:void 0})})`}getTranscribeLanguages(t,i="body"){const s=t?.$top,o=t?.$skip,e=t?.$search,c=t?.$filter,l=t?.$count;let d=new r.rx(this.encoder);d=this.addToHttpParams(d,"$top",s,r.l2.Form,!1),d=this.addToHttpParams(d,"$skip",o,r.l2.Form,!1),d=this.addToHttpParams(d,"$search",e,r.l2.Form,!1),d=this.addToHttpParams(d,"$filter",c,r.l2.Form,!1),d=this.addToHttpParams(d,"$count",l,r.l2.Form,!1);let a=this.defaultHeaders;a=this.configuration.addCredentialToHeaders("Application","Authorization",a,"Bearer ");const h=this.configuration.selectHeaderAccept(["application/json"]);void 0!==h&&(a=a.set("Accept",h));let p="json";h&&(p=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob");const{basePath:u,withCredentials:E}=this.configuration;return this.httpClient.request("get",`${u}/VoicemailSettings/Pbx.GetTranscribeLanguages()`,{params:d.toHttpParams(),responseType:p,...E?{withCredentials:E}:{},headers:a,observe:i})}getTranscribeLanguagesQuery(t,i="body",s=!1,o){const e=t.$top,c=t.$skip,l=t.$search,d=t.$filter,a=t.$count;let h=new r.rx(this.encoder);return h=this.addToHttpParams(h,"$top",e,r.l2.Form,!1),h=this.addToHttpParams(h,"$skip",c,r.l2.Form,!1),h=this.addToHttpParams(h,"$search",l,r.l2.Form,!1),h=this.addToHttpParams(h,"$filter",d,r.l2.Form,!1),h=this.addToHttpParams(h,"$count",a,r.l2.Form,!1),"/VoicemailSettings/Pbx.GetTranscribeLanguages()?"+h.toString()}getVoicemailSettings(t,i="body"){const s=t?.$select,o=t?.$expand;let e=new r.rx(this.encoder);e=this.addToHttpParams(e,"$select",s,r.l2.Form,!1),e=this.addToHttpParams(e,"$expand",o,r.l2.Form,!1);let c=this.defaultHeaders;c=this.configuration.addCredentialToHeaders("Application","Authorization",c,"Bearer ");const l=this.configuration.selectHeaderAccept(["application/json"]);void 0!==l&&(c=c.set("Accept",l));let d="json";l&&(d=l.startsWith("text")?"text":this.configuration.isJsonMime(l)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("get",`${h}/VoicemailSettings`,{params:e.toHttpParams(),responseType:d,...p?{withCredentials:p}:{},headers:c,observe:i})}getVoicemailSettingsQuery(t,i="body",s=!1,o){const e=t.$select,c=t.$expand;let l=new r.rx(this.encoder);return l=this.addToHttpParams(l,"$select",e,r.l2.Form,!1),l=this.addToHttpParams(l,"$expand",c,r.l2.Form,!1),"/VoicemailSettings?"+l.toString()}updateVoicemailSettings(t,i="body"){const s=t?.pbxVoicemailSettings;let o=this.defaultHeaders;o=this.configuration.addCredentialToHeaders("Application","Authorization",o,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(o=o.set("Accept",e));const l=this.configuration.selectHeaderContentType(["application/json"]);void 0!==l&&(o=o.set("Content-Type",l));let d="json";e&&(d=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:h,withCredentials:p}=this.configuration;return this.httpClient.request("patch",`${h}/VoicemailSettings`,{body:s,responseType:d,...p?{withCredentials:p}:{},headers:o,observe:i})}updateVoicemailSettingsQuery(t,i="body",s=!1,o){return"/VoicemailSettings"}static \u0275fac=(()=>{let t;return function(s){return(t||(t=P.xGo(f)))(s||f)}})();static \u0275prov=y.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},69340(R,C,n){n.d(C,{u:()=>r});const r={None:"None",Google:"Google",OpenAi:"OpenAI",Whisper:"Whisper",Engine3Cx:"Engine3CX",Engine3CxLocal:"Engine3CXLocal",Grok:"Grok"}},49910(R,C){Object.defineProperty(C,"__esModule",{value:!0}),C.boolean=void 0,C.boolean=function(r){switch(Object.prototype.toString.call(r)){case"[object String]":return["true","t","yes","y","on","1"].includes(r.trim().toLowerCase());case"[object Number]":return 1===r.valueOf();case"[object Boolean]":return r.valueOf();default:return!1}}},3999(R,C,n){Object.defineProperty(C,"__esModule",{value:!0}),C.createPrintf=void 0;const r=n(49910),$=n(68625),P=(v,f)=>f.placeholder;C.createPrintf=v=>{var f;const g=(s,o,e)=>"-"===e?s.padEnd(o," "):"-+"===e?((Number(s)>=0?"+":"")+s).padEnd(o," "):"+"===e?((Number(s)>=0?"+":"")+s).padStart(o," "):s.padStart(o,"0"===e?"0":" "),t=null!==(f=v?.formatUnboundExpression)&&void 0!==f?f:P,i={};return(s,...o)=>{let e=i[s];e||(e=i[s]=(0,$.tokenize)(s));let c="";
1for(const l of e)if("literal"===l.type)c+=l.literal;else{let d=o[l.position];if(void 0===d)c+=t(s,l,o);else if("b"===l.conversion)c+=(0,r.boolean)(d)?"true":"false";else if("B"===l.conversion)c+=(0,r.boolean)(d)?"TRUE":"FALSE";else if("c"===l.conversion)c+=d;else if("C"===l.conversion)c+=String(d).toUpperCase();else if("i"===l.conversion||"d"===l.conversion)d=String(Math.trunc(d)),null!==l.width&&(d=g(d,l.width,l.flag)),c+=d;else if("e"===l.conversion)c+=Number(d).toExponential();else if("E"===l.conversion)c+=Number(d).toExponential().toUpperCase();else if("f"===l.conversion)null!==l.precision&&(d=Number(d).toFixed(l.precision)),null!==l.width&&(d=g(String(d),l.width,l.flag)),c+=d;else if("o"===l.conversion)c+=(Number.parseInt(String(d),10)>>>0).toString(8);else if("s"===l.conversion)null!==l.width&&(d=g(String(d),l.width,l.flag)),c+=d;else if("S"===l.conversion)null!==l.width&&(d=g(String(d),l.width,l.flag)),c+=String(d).toUpperCase();else if("u"===l.conversion)c+=Number.parseInt(String(d),10)>>>0;else{if("x"!==l.conversion)throw new Error("Unknown format specifier.");d=(Number.parseInt(String(d),10)>>>0).toString(16),null!==l.width&&(d=g(String(d),l.width,l.flag)),c+=d}}return c}}},57935(R,C,n){C.SZ=void 0;const $=n(3999);C.SZ=(0,$.createPrintf)()},68625(R,C){Object.defineProperty(C,"__esModule",{value:!0}),C.tokenize=void 0;const n=/(?:%(?<flag>([+0-]|-\+))?(?<width>\d+)?(?<position>\d+\$)?(?<precision>\.\d+)?(?<conversion>[%BCESb-iosux]))|(\\%)/g;C.tokenize=$=>{let P;const y=[];let v=0,f=0,g=null;for(;null!==(P=n.exec($));){P.index>f&&(g={literal:$.slice(f,P.index),type:"literal"},y.push(g));const t=P[0];f=P.index+t.length,"\\%"===t||"%%"===t?g&&"literal"===g.type?g.literal+="%":(g={literal:"%",type:"literal"},y.push(g)):P.groups&&(g={conversion:P.groups.conversion,flag:P.groups.flag||null,placeholder:t,position:P.groups.position?Number.parseInt(P.groups.position,10)-1:v++,precision:P.groups.precision?Number.parseInt(P.groups.precision.slice(1),10):null,type:"placeholder",width:P.groups.width?Number.parseInt(P.groups.width,10):null},y.push(g))}return f<=$.length-1&&(g&&"literal"===g.type?g.literal+=$.slice(f):y.push({literal:$.slice(f),type:"literal"})),y}},30786(R,C,n){n.d(C,{p:()=>v});var r=n(96354),$=n(58750),P=n(39974),y=n(54360);function v(f,g){return g?t=>t.pipe(v((i,s)=>(0,$.Tg)(f(i,s)).pipe((0,r.T)((o,e)=>g(i,o,s,e))))):(0,P.N)((t,i)=>{let s=0,o=null,e=!1;t.subscribe((0,y._)(i,c=>{o||(o=(0,y._)(i,void 0,()=>{o=null,e&&i.complete()}),(0,$.Tg)(f(c,s++)).subscribe(o))},()=>{e=!0,!o&&i.complete()}))})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.