PageSourceSearch

https://legistel.es/9682.25fff33e48c5ef5e.js

js legistel.es collected 2026-10-06 22:17:41 UTC 38,542 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[9682],{76034(L,D,n){n.d(D,{c:()=>h});var o=n(85802),p=n(96354),g=n(92996);const h=s=>_(s),_=(...s)=>()=>(0,o.WQX)(g.Z).getMyToken$().pipe((0,p.T)(u=>s.every(r=>!0===u[r])))},4801(L,D,n){n.d(D,{f:()=>e});var o=n(18530),p=n(84412),g=n(13961),h=n(74402),_=n(84572),s=n(57786),u=n(7673),r=n(96354),d=n(99437),i=n(23294),t=n(5964),a=n(65245),m=n(99172),b=n(25558),v=n(96697),f=n(50644),B=n(89417),l=n(87019),M=n(89079);class e{refresh$=new o.B;pageChanged$=new o.B;currentPage$;pagedItems$;infiniteTotalCount$;sub=new g.yU;totalCount$;itemsPerPage$;filterQuery$;pageSize$;filterLoading$;search=new B.MJ("");constructor(y,P,x,A=l.z9,w=void 0,S=!1){const j={value:[],totalItems:0};this.itemsPerPage$=new p.t(A),this.filterQuery$=S?new o.B:new p.t(w),this.pageSize$=this.itemsPerPage$.asObservable();const k=(0,h.A)(P)?P:(0,u.of)(P),U=this.search.valueChanges.pipe((0,m.Z)(""),(0,r.T)(R=>(R||"").trim()),(0,i.F)()),V=(0,_.z)([U,this.itemsPerPage$,this.filterQuery$,k]).pipe((0,b.n)(([R,F,I,K])=>this.pageChanged$.pipe((0,m.Z)(1),(0,i.F)(),(0,r.T)(z=>({search:R,page:z,itemsPerPage:F,filterQuery:I,resolver:K})))),(0,f.lc)(this.refresh$),(0,f.H9)());this.currentPage$=V.pipe((0,r.T)(({page:R})=>R),(0,f.H9)()),this.pagedItems$=V.pipe((0,a.i)(x?1:0),(0,b.n)(({search:R,page:F,itemsPerPage:I,filterQuery:K,resolver:z})=>z.resolveData(F,I,R,K).pipe((0,d.W)(()=>(0,u.of)(j)))),(0,m.Z)(x||j),(0,f.H9)()),this.filterLoading$=(0,s.h)((0,_.z)([U,this.filterQuery$,k]).pipe((0,r.T)(R=>!0)),this.pagedItems$.pipe((0,a.i)(x?0:1),(0,r.T)(R=>!1))).pipe((0,m.Z)(!x),(0,i.F)(),(0,f.H9)()),this.totalCount$=this.pagedItems$.pipe((0,r.T)(R=>R.totalItems??0)),this.infiniteTotalCount$=(0,_.z)([this.pageChanged$.pipe((0,m.Z)(1)),this.itemsPerPage$,this.pagedItems$]).pipe((0,r.T)(([R,F,I])=>I.hasNext&&I.value?R*A+1:I.value?R*A:0)),this.pagedItems$.pipe((0,t.p)(R=>!R.totalItems),(0,t.p)(R=>0===R.value?.length),(0,b.n)(R=>V.pipe((0,v.s)(1),(0,r.T)(F=>F.page-1))),(0,t.p)(R=>R>0),(0,M.pQ)(y)).subscribe({next:R=>{R>0&&this.pageChanged$.next(R)}}),(0,_.z)([V,this.pagedItems$]).pipe((0,t.p)(([R,F])=>!!F.totalItems),(0,r.T)(([{page:R,itemsPerPage:F},{totalItems:I}])=>({page:R,maxPage:Math.max(1,Math.ceil((I||0)/F))})),(0,t.p)(({page:R,maxPage:F})=>F<R),(0,M.pQ)(y)).subscribe(({maxPage:R})=>{R>0&&this.pageChanged$.next(R)})}nextPage(){this.currentPage$.pipe((0,r.T)(y=>y+1),(0,v.s)(1)).subscribe({next:y=>{this.pageChanged$.next(y)}})}pageChanged(y){this.pageChanged$.next(y.page)}pageSizeChanged(y){this.itemsPerPage$.next(y)}filterChanged(y){this.filterQuery$.next(y)}}},74005(L,D,n){n.d(D,{M:()=>X});var o=n(85802),p=n(17705),g=n(84412),h=n(13798),_=n(85343),s=n(89417),u=n(59882),r=n(23294),d=n(5964),i=n(68018),t=n(31755),a=n(35606),m=n(30407),b=n(45678),v=n(96794),f=n(76415),B=n(70152),l=n(89079),M=n(8516),e=n(35547);const O=["searchBox"],y=["inputElement"],P=["*"],x=(E,H)=>H.label;function A(E,H){if(1&E&&(e.j41(0,"small",4),e.EFF(1),e.nI1(2,"translate"),e.nI1(3,"translate"),e.k0s()),2&E){const c=H.$implicit;e.R7$(),e.Lme("",e.bMT(2,2,c.label),": ",e.bMT(3,4,c.value))}}function w(E,H){if(1&E){const c=e.RV6();e.j41(0,"button",9),e.bIt("click",function(){o.eBV(c);const C=e.XpG();return o.Njj(C.toggleFilter.emit(!C.filterOpened))}),e.nrm(1,"lucide-icon",10),e.k0s()}if(2&E){const c=e.XpG();e.R7$(),e.Y8G("img",c.Funnel)}}function S(E,H){if(1&E&&e.nrm(0,"input",6,1),2&E){const c=e.XpG();e.Y8G("placeholder",c.placeholder)("formControl",c.localSearchControl)}}function j(E,H){if(1&E){const c=e.RV6();e.j41(0,"button",11),e.bIt("click",function(C){o.eBV(c);const $=e.XpG();return $.resetInput.emit(C),o.Njj($.localSearchControl.setValue(""))}),e.nrm(1,"lucide-icon",12),e.k0s()}if(2&E){const c=e.XpG();e.R7$(),e.Y8G("img",c.XIcon)}}function k(E,H){1&E&&(e.j41(0,"div",8),e.SdG(1),e.k0s())}let U=(()=>{class E{destroy$=(0,o.WQX)(o.abz);searchBox;inputElement;localSearchControl=new s.MJ("");skipMouseDownBubblingUp=!1;constructor(){this.localSearchControl.valueChanges.pipe((0,B.B)(500),(0,l.pQ)(this.destroy$)).subscribe({next:c=>{this.searchText?.value!==c&&this.searchText?.setValue(c)}})}focus(){this.showSearchbar&&this.inputElement.nativeElement.focus()}ngOnInit(){this.searchText?.value&&this.localSearchControl.setValue(this.searchText.value)}setSearchText(c){this.localSearchControl.setValue(c)}onGlobalClick(c){this.skipMouseDownBubblingUp?this.skipMouseDownBubblingUp=!1:this.searchBox.nativeElement.contains(c.target)||this.toggleFilter.emit(!1)}onClick(c){this.skipMouseDownBubblingUp=!0}filterOpened;filterLabels=[];placeholder;showSearchbar;showFilter=!0;showResetButton;searchText;resetInput=(0,p.CGW)();toggleFilter=(0,p.CGW)();Funnel=M.rhG;XIcon=M.uv5;static \u0275fac=function(T){return new(T||E)};static \u0275cmp=e.VBU({type:E,selectors:[["app-odata-search"]],viewQuery:function(T,C){if(1&T&&e.GBs(O,5)(y,5),2&T){let $;e.mGM($=e.lsd())&&(C.searchBox=$.first),e.mGM($=e.lsd())&&(C.inputElement=$.first)}},hostBindings:function(T,C){1&T&&e.bIt("mousedown",function(W){return C.onGlobalClick(W)},e.EBC)("mousedown",function(W){return C.onClick(W)})},inputs:{filterOpened:"filterOpened",filterLabels:"filterLabels",placeholder:"placeholder",showSearchbar:"showSearchbar",showFilter:"showFilter",showResetButton:"showResetButton",searchText:"searchText"},outputs:{resetInput:"resetInput",toggleFilter:"toggleFilter"},features:[e.Jv_([{provide:t.b,useExisting:E,multi:!1}])],ngContentSelectors:P,decls:9,vars:4,consts:[["searchBox",""],["inputElement",""],[1,"d-flex","align-items-center","gap-2","px-3","py-1","position-relative","border-bottom"],["data-qa","filter-labels",1,"pointer","d-flex","align-items-center","gap-2","flex-wrap",3,"click"],[1,"badge","bg-brand"],["type","button","data-qa","toggle-filter",1,"btn","btn-icon","btn-plain-sm"],["type","text","data-qa","search","maxlength","254","autocomplete","off",1,"no-bg","px-2","py-1","flex-grow-1","border-0","mw-0",3,"placeholder","formControl"],["type","button",1,"btn","btn-icon","btn-plain-sm"],[1,"filter-container","p-4","bg-tiles","border-bottom","border-top"],["type","button","data-qa","toggle-filter",1,"btn","btn-icon","btn-plain-sm",3,"click"],[1,"svg-sm","filled",3,"img"],["type","button",1,"btn","btn-icon","btn-plain-sm",3,"click"],[1,"svg-sm",3,"img"]],template:function(T,C){1&T&&(e.NAR(),e.j41(0,"div",2,0)(2,"div",3),e.bIt("click",function(){return C.toggleFilter.emit(!C.filterOpened)}),e.Z7z(3,A,4,6,"small",4,x),e.k0s(),e.nVh(5,w,2,1,"button",5),e.nVh(6,S,2,2,"input",6),e.nVh(7,j,2,1,"button",7),e.nVh(8,k,2,0,"div",8),e.k0s()),2&T&&(e.R7$(3),e.Dyx(C.filterLabels),e.R7$(2),e.vxM(C.showFilter?5:-1),e.R7$(),e.vxM(C.showSearchbar?6:-1),e.R7$(),e.vxM(C.showResetButton?7:-1),e.R7$(),e.vxM(C.filterOpened?8:-1))},dependencies:[s.X1,s.me,s.BC,s.tU,s.l_,M.flO,M.WGl,i.D9],styles:[".badge.bg-brand[_ngcontent-%COMP%]{--bs-badge-border-radius: var(--spacer-s);--bs-badge-padding-x: var(--spacer-semi-small);--bs-badge-padding-y: var(--spacer-xs);--bs-badge-font-size: var(--small-font-size);
1--bs-badge-font-weight: normal;text-shadow:none}.btn-plain-sm[_ngcontent-%COMP%]{--bs-btn-hover-bg: transparent;--bs-btn-active-bg: transparent;--bs-btn-hover-border-color: transparent;--bs-btn-active-border-color: transparent}.filter-container[_ngcontent-%COMP%]{position:absolute;inset:100% 0 auto;z-index:2}"],changeDetection:0})}return E})();var V=n(20129),R=n(49769),F=n(14414),I=n(57202);const K=["*"];function z(E,H){if(1&E){const c=e.RV6();e.j41(0,"button",6),e.bIt("click",function(){o.eBV(c);const C=e.XpG(2);return o.Njj(C.closeAndApply())}),e.nrm(1,"app-search-regular-icon"),e.j41(2,"span",7),e.EFF(3),e.nI1(4,"translate"),e.k0s()()}2&E&&(e.R7$(3),e.JRh(e.bMT(4,1,"_i18n.Search")))}function G(E,H){if(1&E){const c=e.RV6();e.j41(0,"button",8),e.bIt("click",function(){o.eBV(c);const C=e.XpG(2);return o.Njj(C.scheduleReport())}),e.nrm(1,"app-calendar-alt-light-icon"),e.j41(2,"span",7),e.EFF(3),e.nI1(4,"translate"),e.k0s()()}if(2&E){const c=e.XpG(2);e.Y8G("disabled",c.disabled),e.R7$(3),e.JRh(e.bMT(4,2,"_i18n.SaveReport"))}}function Y(E,H){if(1&E){const c=e.RV6();e.j41(0,"app-odata-search",1),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("resetInput",function(){o.eBV(c);const C=e.XpG();return o.Njj(C.clearSearch())})("toggleFilter",function(C){o.eBV(c);const $=e.XpG();return o.Njj($.toggle(C))}),e.j41(3,"div",2),e.SdG(4),e.k0s(),e.j41(5,"div",3),e.nVh(6,z,5,3,"button",4),e.nVh(7,G,5,4,"button",5),e.k0s()()}if(2&E){const c=e.XpG();e.AVh("show-validation",c.showValidation),e.Y8G("placeholder",e.mNQ(e.bMT(1,13,"_i18n.Search")))("filterOpened",e.bMT(2,15,c.isOpen$))("filterLabels",c.filterLabels)("showResetButton",!(null==c.search||!c.search.value))("showSearchbar",!!c.search)("showFilter",!!c.filterForm)("searchText",c.search)("wcAutofocusDisabled",!c.autoFocus),e.R7$(6),e.vxM(c.filterForm?6:-1),e.R7$(),e.vxM(c.canSchedule?7:-1)}}let X=(()=>{class E{filterRefreshSrv=(0,o.WQX)(V.Z);destroy$=(0,o.WQX)(o.abz);router=(0,o.WQX)(u.Ix);route=(0,o.WQX)(u.nX);translate=(0,o.WQX)(i.c$);odataSearchComponent;dateRange;autoFocus=!0;filterForm;search;queryParameter="filter";forceSearchEmit=!1;filterChanged=(0,p.CGW)();saveReport=(0,p.CGW)();disabled;reportType;showValidation=!1;isOpen$=new g.t(!1);filterLabels;refDate;get canSchedule(){return!!this.reportType}getLabels(c){return(0,m.oQ)(this.filterForm?.value||{},this.translate,!1,c)}ngOnInit(){this.search?.valueChanges.pipe((0,h.Z)(100),(0,l.pQ)(this.destroy$)).subscribe(()=>this.updateQuery()),this.route.queryParams.pipe((0,r.F)((c,T)=>(c[this.queryParameter]||"")===(T[this.queryParameter]||"")&&(c[b.tc]||"")===(T[b.tc]||"")),(0,l.pQ)(this.destroy$)).subscribe(c=>this.applyFilter(c)),this.isOpen$.pipe((0,d.p)(c=>!c),(0,l.pQ)(this.destroy$)).subscribe(()=>{this.dateRange?.closeDatepicker()})}focus(){this.odataSearchComponent.focus()}toggle(c){this.isOpen$.next(c??!this.isOpen$.value)}closeAndApply(){this.checkValidity()&&(this.toggle(!1),this.updateQuery())}clearSearch(){this.search?.setValue("")}checkValidity(){return!this.filterForm?.invalid||(this.filterForm.markAllAsTouched(),this.showValidation=!0,!1)}updateQuery(){const c=JSON.stringify(this.serializeFilter());this.router.navigate([],{replaceUrl:!0,queryParamsHandling:"merge",queryParams:{[this.queryParameter]:c}}).catch(_.l)}applyFilter(c){const T=(0,m.w)(c,this.queryParameter),C=this.search&&T.search?.toString()||"",$=this.filterForm;(0,m.kO)($?.value||{},T,this.filterRefreshSrv).subscribe(W=>{$?.patchValue(W,{emitEvent:!1}),this.refDate=(0,v.xo)(T[b.tc]||""),this.search?.setValue(C,{emitEvent:this.forceSearchEmit}),this.odataSearchComponent?.setSearchText(C);const Q=this.getLabels(C);this.filterLabels=Q.filter(J=>J.label!==m.SY),this.filterChanged.emit({serializedFilter:this.serializeFilter(),labels:Q})})}serializeFilter(){return Object.values(this.filterForm?.value||{}).reduce((c,T)=>Object.assign(c,T.serialize()),this.search?.value?{search:this.search.value}:{})}scheduleReport(){this.disabled||!this.canSchedule||!this.checkValidity()||(this.toggle(!1),this.saveReport.emit({serializedFilter:this.serializeFilter(),labels:this.getLabels(this.search?.value)}))}static \u0275fac=function(T){return new(T||E)};static \u0275cmp=e.VBU({type:E,selectors:[["app-complex-filter"]],contentQueries:function(T,C,$){if(1&T&&e.wni($,f.B,5),2&T){let W;e.mGM(W=e.lsd())&&(C.dateRange=W.first)}},viewQuery:function(T,C){if(1&T&&e.GBs(U,5),2&T){let $;e.mGM($=e.lsd())&&(C.odataSearchComponent=$.first)}},inputs:{autoFocus:"autoFocus",filterForm:"filterForm",search:"search",queryParameter:"queryParameter",forceSearchEmit:"forceSearchEmit",disabled:"disabled",reportType:"reportType"},outputs:{filterChanged:"filterChanged",saveReport:"saveReport"},features:[e.Jv_([{provide:t.b,useExisting:E,multi:!1}])],ngContentSelectors:K,decls:1,vars:1,consts:[["wcAutofocus","",3,"show-validation","filterOpened","filterLabels","showResetButton","showSearchbar","showFilter","searchText","wcAutofocusDisabled","placeholder"],["wcAutofocus","",3,"resetInput","toggleFilter","filterOpened","filterLabels","showResetButton","showSearchbar","showFilter","searchText","wcAutofocusDisabled","placeholder"],[1,"filter-form"],[1,"d-flex","justify-content-sm-between","gap-2","filter-buttons"],["type","button","data-qa","apply-search",1,"btn","btn-primary","filter-button"],["data-qa","save-report","type","button",1,"btn","btn-primary","filter-button",3,"disabled"],["type","button","data-qa","apply-search",1,"btn","btn-primary","filter-button",3,"click"],[1,"text-truncate"],["data-qa","save-report","type","button",1,"btn","btn-primary","filter-button",3,"click","disabled"]],template:function(T,C){1&T&&(e.NAR(),e.nVh(0,Y,8,17,"app-odata-search",0)),2&T&&e.vxM(C.filterForm||C.search?0:-1)},dependencies:[s.X1,U,a.J,F.b,I.e,i.D9,R.Jj],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%]{--label-width: 200px;--field-width: 305px}@media(max-width:575.98px){[_nghost-%COMP%]{--label-width: 100px;--field-width: 200px}}alert[_ngcontent-%COMP%]     .alert{margin:0;padding:var(--spacer-s) var(--spacer)}[_nghost-%COMP%]:not(.no-filter-spacing)   .filter-form[_ngcontent-%COMP%]     label.filter-label{width:var(--label-width);flex:0 0 auto}.filter-form[_ngcontent-%COMP%]     label.filter-label:not(.form-check-label){line-height:32px}.filter-form[_ngcontent-%COMP%]     field-wrapper{width:var(--field-width);flex:0 0 auto}.filter-buttons[_ngcontent-%COMP%]{width:calc(var(--label-width) + var(--spacer) + var(--field-width));flex:0 0 auto}.filter-buttons[_ngcontent-%COMP%]   .filter-button[_ngcontent-%COMP%]:not(:only-child){min-width:150px}"],changeDetection:0})}return E})()},20129(L,D,n){n.d(D,{Z:()=>s});var o=n(85802),p=n(50942),g=n(99437),h=n(7673),_=n(96354);let s=(()=>{class u{peerApi=(0,o.WQX)(p.L);getPeer$(d){return this.peerApi.getPeerByNumber({number:d}).pipe((0,g.W)(()=>(0,h.of)(null)))}
1getPeers$(d){const i=[...new Set(...[d].filter(Boolean))];return this.peerApi.retreivePeersByNumbers({peersRetreivePeersByNumbersRequestBody:{peersRequest:{DnNumbers:i}}}).pipe((0,_.T)(t=>t?.value||[]),(0,g.W)(()=>(0,h.of)([])))}static \u0275fac=function(i){return new(i||u)};static \u0275prov=o.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},43748(L,D,n){n.d(D,{F:()=>_});var o=n(56998),p=n(98352),g=n(85802),h=n(89079);class _ extends p.z{control;destroy$=(0,g.WQX)(g.abz);constructor(u){super(),this.control=u,this.control.valueChanges.pipe((0,h.pQ)(this.destroy$)).subscribe(r=>{this.value.pureValue=r,this.valueChanged(this.value,!0)})}writeValue(u){super.writeValue(u),this.control.setValue(this.value.pureValue)}validate(u){const{value:r}=u;return r&&"function"==typeof r.validate?r.validate():{invalid:!0}}setDisabledState(u){super.setDisabledState(u),(0,o.TZ)(this.control,!u,!0)}}},41657(L,D,n){n.d(D,{C:()=>s});var o=n(89417),p=n(68018),g=n(43748),h=n(67290),_=n(35547);let s=(()=>{class u extends g.F{inline;constructor(){super(new o.MJ([]))}static \u0275fac=function(i){return new(i||u)};static \u0275cmp=_.VBU({type:u,selectors:[["app-checkbox-group-filter"]],inputs:{inline:"inline"},features:[_.Jv_([{provide:o.kq,multi:!0,useExisting:u},{provide:o.cz,multi:!0,useExisting:u}]),_.Vt3],decls:5,vars:6,consts:[["data-qa","date-range-filter",1,"d-flex","gap-3","form-check","mb-0"],["data-qa","label",1,"filter-label","form-check-label"],[3,"options","formControl","inline"]],template:function(i,t){1&i&&(_.j41(0,"div",0)(1,"label",1),_.EFF(2),_.nI1(3,"translate"),_.k0s(),_.nrm(4,"field-checkbox-group",2),_.k0s()),2&i&&(_.R7$(2),_.JRh(_.bMT(3,4,t.value.label)),_.R7$(2),_.Y8G("options",t.value.options)("formControl",t.control)("inline",t.inline))},dependencies:[o.X1,o.BC,o.l_,h.c,p.D9],encapsulation:2,changeDetection:0})}return u})()},96827(L,D,n){n.d(D,{M:()=>o});class o{label;queryParam;options;key;pureValue=[];get value(){return{[this.key]:this.pureValue}}set value(g){this.pureValue=g[this.key]??[]}constructor(g,h,_,s,u="selectedValues"){this.label=g,this.queryParam=h,this.options=_,this.key=u,s&&(this.value=s)}deserialize(g){return o.deserialize(g,this.label,this.queryParam,this.options,this.value,this.key)}getDisplayValue(g){return this.pureValue.map(h=>{const _=this.options.find(s=>s.value===h)?.label;return _?g.instant(_):h}).join(", ")}getDisplayValueForPrint(g){return this.getDisplayValue(g)}serialize(){return{[this.queryParam]:this.value[this.key]}}validate(){return null}static deserialize(g,h,_,s,u,r="selectedValues"){const d=new o(h,_,s,u,r);return _ in g&&Array.isArray(g[_])&&(d.pureValue=g[_].filter(i=>s.find(t=>t.value===i))),d}}},45678(L,D,n){n.d(D,{_H:()=>g,ci:()=>o,i$:()=>p,tc:()=>_,xo:()=>h});var o=function(s){return s[s.Last30Days=0]="Last30Days",s[s.LastMonth=1]="LastMonth",s[s.LastYear=2]="LastYear",s[s.Custom=3]="Custom",s[s.ThisMonth=4]="ThisMonth",s[s.ThisYear=5]="ThisYear",s[s.Today=6]="Today",s[s.Yesterday=7]="Yesterday",s[s.Last7Days=8]="Last7Days",s[s.LastWeek=9]="LastWeek",s[s.Last12Hours=1001]="Last12Hours",s[s.Last24Hours=1002]="Last24Hours",s}(o||{}),p=function(s){return s[s.Sunday=0]="Sunday",s[s.Monday=1]="Monday",s[s.Tuesday=2]="Tuesday",s[s.Wednesday=3]="Wednesday",s[s.Thursday=4]="Thursday",s[s.Friday=5]="Friday",s[s.Saturday=6]="Saturday",s}(p||{});const g={[o.Today]:"_i18n.Today",[o.Yesterday]:"_i18n.Yesterday",[o.LastWeek]:"_i18n.ReportsFilterLastWeek",[o.Last7Days]:"_i18n.Last7Days",[o.Last30Days]:"_i18n.ReportsFilterLast30Days",[o.ThisMonth]:"_i18n.ThisMonth",[o.LastMonth]:"_i18n.ReportsFilterLastMonth",[o.ThisYear]:"_i18n.ThisYear",[o.LastYear]:"_i18n.ReportsFilterLastYear",[o.Custom]:"_i18n.ReportsFilterDateRange",[o.Last12Hours]:"_i18n.Last12Hours",[o.Last24Hours]:"_i18n.Last24Hours"},h={[p.Monday]:"_i18n.Monday",[p.Tuesday]:"_i18n.Tuesday",[p.Wednesday]:"_i18n.Wednesday",[p.Thursday]:"_i18n.Thursday",[p.Friday]:"_i18n.Friday",[p.Saturday]:"_i18n.Saturday",[p.Sunday]:"_i18n.Sunday"},_="refDate"},76415(L,D,n){n.d(D,{B:()=>v});var o=n(17705),p=n(89417),g=n(68018),h=n(28460),_=n(43748),s=n(45678),u=n(96794),r=n(66300),d=n(95604),i=n(39993),t=n(35547),a=n(85802);function m(f,B){if(1&f){const l=t.RV6();t.j41(0,"field-wrapper")(1,"div",5)(2,"input",6),t.bIt("onShown",function(e){a.eBV(l);const O=t.XpG();return a.Njj(O.onDatePickerShown(e))}),t.k0s()()()}if(2&f){const l=t.XpG();t.R7$(2),t.Y8G("formControl",l.f.periodFromTo)("bsConfig",l.bsConfig)}
1}function b(f,B){if(1&f&&t.nrm(0,"field-select",4),2&f){const l=t.XpG();t.Y8G("formControl",l.f.firstWeekDay)("options",l.daysOfWeekOptions)}}let v=(()=>{class f extends _.F{enableFutureDates=!0;dateRangeTypes=[s.ci.Today,s.ci.Yesterday,s.ci.Last7Days,s.ci.LastWeek,s.ci.Last30Days,s.ci.ThisMonth,s.ci.LastMonth,s.ci.ThisYear,s.ci.LastYear,s.ci.Custom];datepicker=(0,o.ebz)(h.mO);dateRangeTypeOptions;daysOfWeekOptions=[s.i$.Monday,s.i$.Tuesday,s.i$.Wednesday,s.i$.Thursday,s.i$.Friday,s.i$.Saturday,s.i$.Sunday].map(l=>({value:l,label:(0,u.Uz)(l)}));DateRangeType=s.ci;constructor(){super(new p.gE({periodType:new p.MJ(s.ci.Today,{nonNullable:!0}),periodFromTo:new p.MJ(null,p.k0.required),firstWeekDay:new p.MJ((0,i.m)())}))}get f(){return this.control.controls}get bsConfig(){return{adaptivePosition:!0,showWeekNumbers:!1,maxDate:this.enableFutureDates?void 0:new Date((new Date).setHours(23,23,59,0)),...this.value?.includeTime?{withTimepicker:!0,keepDatepickerOpened:!0,rangeInputFormat:"L LT"}:{}}}onDatePickerShown(l){l._element?.nativeElement.addEventListener("mousedown",e=>e.stopPropagation())}ngOnInit(){this.dateRangeTypeOptions=this.dateRangeTypes.map(l=>({value:l,label:(0,u.Yy)(l)})),this.syncControlState(this.control)}closeDatepicker(){this.datepicker()?.hide()}valueChanged(l,M){this.ensurePeriodIsInBounds(l),super.valueChanged(l,M)}ensurePeriodIsInBounds(l){const{maxDate:M}=this.bsConfig;if(M){const{periodType:e,periodFromTo:O,firstWeekDay:y}=l.value;if(O){const[P,x]=O;x>M&&(l.value={periodType:e,periodFromTo:[P,M],firstWeekDay:y})}}}static \u0275fac=function(M){return new(M||f)};static \u0275cmp=t.VBU({type:f,selectors:[["app-date-range-filter"]],viewQuery:function(M,e){1&M&&t.wEZ(e.datepicker,h.mO,5),2&M&&t.NyB()},inputs:{enableFutureDates:"enableFutureDates",dateRangeTypes:"dateRangeTypes"},features:[t.Jv_([{provide:p.kq,multi:!0,useExisting:f},{provide:p.cz,multi:!0,useExisting:f}]),t.Vt3],decls:8,vars:6,consts:[["data-qa","date-range-filter",1,"d-flex","gap-3"],[1,"filter-label"],[1,"d-flex","flex-wrap","col-gap-3"],["data-qa","period-type",3,"formControl","options"],["data-qa","first-week-day",3,"formControl","options"],[1,"input-group"],["data-qa","period-from-to","type","text","bsDaterangepicker","",1,"form-control",3,"onShown","formControl","bsConfig"]],template:function(M,e){1&M&&(t.j41(0,"div",0)(1,"label",1),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",2),t.nrm(5,"field-select",3),t.nVh(6,m,3,2,"field-wrapper")(7,b,1,2,"field-select",4),t.k0s()()),2&M&&(t.R7$(2),t.JRh(t.bMT(3,4,e.value.label)),t.R7$(3),t.Y8G("formControl",e.f.periodType)("options",e.dateRangeTypeOptions),t.R7$(),t.vxM(e.control.value.periodType===e.DateRangeType.Custom?6:e.control.value.periodType===e.DateRangeType.LastWeek?7:-1))},dependencies:[p.X1,p.me,p.BC,p.l_,d.z,r.q,h.YN,h.Kn,h.mO,g.D9],encapsulation:2,changeDetection:0})}return f})()},39993(L,D,n){n.d(D,{m:()=>p});var o=n(45678);function p(){const g=new Intl.Locale(Intl.DateTimeFormat().resolvedOptions().locale),h=g.getWeekInfo&&"function"==typeof g.getWeekInfo?(g.getWeekInfo().firstDay??1)%7:1;return o.i$[o.i$[h]]??o.i$.Monday}},96794(L,D,n){n.d(D,{Cg:()=>a,OE:()=>r,Pr:()=>f,Rx:()=>l,Uz:()=>u,Wl:()=>s,Yu:()=>d,Yy:()=>_,ZB:()=>m,lr:()=>B,t5:()=>M,xo:()=>i});var o=n(45678),p=n(67374),g=n.n(p),h=n(39993);const _=e=>null!=e?o._H[e]:"";function s(e){return"number"==typeof e&&Object.values(o.ci).includes(e)}const u=e=>null!=e?o.xo[e]:"";function r(e){return"number"==typeof e&&Object.values(o.i$).includes(e)}function d(e){return Array.isArray(e)&&2===e.length&&"string"==typeof e[0]&&"string"==typeof e[1]}function i(e,O=!1,y=!1){let A=!O,w=!1;if(/^\d{4}-\d{2}-\d{2}$/.test(e))A=!0,e+="T00:00:00",w=y&&O;else if(!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(e))return null;const S=new Date(e);return isNaN(S.getTime())?null:(A&&S.setHours(0,0,0,0),w&&S.setDate(S.getDate()+1),S)}function t(e){return e<10?"0"+e:e.toString()}function a(e,O=!1){return[e.getFullYear(),e.getMonth()+1,e.getDate()].map(t).join("-")+(O?"T"+[e.getHours(),e.getMinutes()].map(t).join(":"):"")}function m(e,O,y,P){const[x,A]=function b(e,O,y){const P=y.getFullYear(),x=y.getMonth(),A=y.getDate();switch(e){case o.ci.ThisMonth:return[new Date(P,x,1),new Date(P,x+1,0)];case o.ci.ThisYear:return[new Date(P,0,1),new Date(P+1,0,0)];case o.ci.Last12Hours:{const w=new Date(y);return w.setHours(w.getHours()-12),[w,y]}case o.ci.Last24Hours:{const w=new Date(y);return w.setHours(w.getHours()-24),[w,y]}case o.ci.Today:return[new Date(P,x,A),new Date(P,x,A)];case o.ci.Yesterday:return[new Date(P,x,A-1),new Date(P,x,A-1)];case o.ci.Last7Days:return[new Date(P,x,A-6),new Date(P,x,A)];case o.ci.LastWeek:{const w=function v(e,O){const y=(e.getDay()-(O??(0,h.m)())+7)%7;return e.getDate()-y}(y,O),j=w-1;return[new Date(P,x,w-7),new Date(P,x,j)]}case o.ci.Last30Days:return[new Date(P,x,A-29),new Date(P,x,A)];case o.ci.LastMonth:return[new Date(P,x-1,1),new Date(P,x,0)];case o.ci.LastYear:return[new Date(P-1,0,1),new Date(P,0,0)];case o.ci.Custom:throw new Error("Custom period should not use autorecognition of period from type.");default:throw new Error(`Not implemented for period type ${e}`)}}(e,O,y);return P&&!f(e)&&A.setDate(A.getDate()+1),[x,A]}function f(e){switch(e){case o.ci.Last12Hours:case o.ci.Last24Hours:return!0;default:return!1}}function B(e){return{startDt:e.periodFromTo[0].toISOString(),endDt:e.periodFromTo[1].toISOString()}}function l(e){return{periodFrom:e.periodFromTo[0].toISOString(),periodTo:e.periodFromTo[1].toISOString()}}function M(e,O){const y=O?"L LT":"L";return e?e.map(P=>g()(P).format(y)).join(" - "):""}},30407(L,D,n){n.d(D,{SY:()=>r,kO:()=>i,oQ:()=>d,w:()=>u});var o=n(27468),p=n(39901),g=n(96354),h=n(96697),_=n(83185),s=n(45678);function u(t,a="filter"){const m=(0,_.Bl)(t[a],{});return t[s.tc]&&(m[s.tc]=t[s.tc]),m}const r="_i18n.Search";
1function d(t,a,m,b){return Object.values(t).filter(Boolean).map(v=>({label:v.label,value:m?v.getDisplayValueForPrint(a):v.getDisplayValue(a)})).concat([{label:r,value:b||""}]).filter(v=>v.value).map(v=>{if(!m)return v;const f=a.instant(v.label);return{label:f,parameter:f,value:v.value}})}function i(t,a,m){const b=Object.fromEntries(Object.entries(t).filter(([f,B])=>!!B).map(([f,B])=>[f,B.deserialize(a)]));return(0,o.p)(Object.values(b).filter(f=>null!=f.refresh).map(f=>f.refresh(m))).pipe((0,p.U)(void 0),(0,h.s)(1),(0,g.T)(()=>b))}},57202(L,D,n){n.d(D,{e:()=>g});var o=n(35547),p=n(85802);let g=(()=>{class h{static \u0275fac=function(u){return new(u||h)};static \u0275cmp=o.VBU({type:h,selectors:[["app-calendar-alt-light-icon"],["","app-calendar-alt-light-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512"],["d","M400 64h-48V12c0-6.6-5.4-12-12-12h-8c-6.6 0-12 5.4-12 12v52H128V12c0-6.6-5.4-12-12-12h-8c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM48 96h352c8.8 0 16 7.2 16 16v48H32v-48c0-8.8 7.2-16 16-16zm352 384H48c-8.8 0-16-7.2-16-16V192h384v272c0 8.8-7.2 16-16 16zM148 320h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm96 0h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm96 0h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm-96 96h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm-96 0h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm192 0h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12z"]],template:function(u,r){1&u&&(p.qSk(),o.rj2(0,"svg",0),o.Hgh(1,"path",1),o.eux())},encapsulation:2})}return h})()},36623(L,D,n){n.d(D,{e:()=>g});var o=n(35547),p=n(85802);let g=(()=>{class h{static \u0275fac=function(u){return new(u||h)};static \u0275cmp=o.VBU({type:h,selectors:[["app-download-solid-icon"],["","app-download-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-6
15.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]],template:function(u,r){1&u&&(p.qSk(),o.rj2(0,"svg",0),o.Hgh(1,"path",1),o.eux())},encapsulation:2})}return h})()},14414(L,D,n){n.d(D,{b:()=>g});var o=n(35547),p=n(85802);let g=(()=>{class h{static \u0275fac=function(u){return new(u||h)};static \u0275cmp=o.VBU({type:h,selectors:[["app-search-regular-icon"],["","app-search-regular-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M508.5 468.9 387.1 347.5c-2.3-2.3-5.3-3.5-8.5-3.5h-13.2c31.5-36.5 50.6-84 50.6-136C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c52 0 99.5-19.1 136-50.6v13.2c0 3.2 1.3 6.2 3.5 8.5l121.4 121.4c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17zM208 368c-88.4 0-160-71.6-160-160S119.6 48 208 48s160 71.6 160 160-71.6 160-160 160z"]],template:function(u,r){1&u&&(p.qSk(),o.rj2(0,"svg",0),o.Hgh(1,"path",1),o.eux())},encapsulation:2})}return h})()},6205(L,D,n){n.d(D,{Y:()=>_});var o=n(97201),p=n(4499),g=n(35547),h=n(85802);let _=(()=>{class s extends p.d{archive(r="body"){let d=this.defaultHeaders;d=this.configuration.addCredentialToHeaders("Application","Authorization",d,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(d=d.set("Accept",i));let t="json";i&&(t=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:m,withCredentials:b}=this.configuration;return this.httpClient.request("post",`${m}/Recordings/Pbx.Archive`,{responseType:t,...b?{withCredentials:b}:{},headers:d,observe:r})}archiveQuery(r="body",d=!1,i){return"/Recordings/Pbx.Archive"}bulkRecordingsArchive(r,d="body"){const i=r?.recordingsBulkRecordingsArchiveRequestBody;if(null==i)throw new Error("Required parameter recordingsBulkRecordingsArchiveRequestBody was null or undefined when calling bulkRecordingsArchive.");let t=this.defaultHeaders;t=this.configuration.addCredentialToHeaders("Application","Authorization",t,"Bearer ");const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(t=t.set("Accept",a));const b=this.configuration.selectHeaderContentType(["application/json"]);void 0!==b&&(t=t.set("Content-Type",b));let v="json";a&&(v=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob");const{basePath:B,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${B}/Recordings/Pbx.BulkRecordingsArchive`,{body:i,responseType:v,...l?{withCredentials:l}:{},headers:t,observe:d})}bulkRecordingsArchiveQuery(r,d="body",i=!1,t){if(null==r.recordingsBulkRecordingsArchiveRequestBody)throw new Error("Required parameter recordingsBulkRecordingsArchiveRequestBody was null or undefined when calling bulkRecordingsArchive.");return"/Recordings/Pbx.BulkRecordingsArchive"}bulkRecordingsDelete(r,d="body"){const i=r?.recordingsBulkRecordingsDeleteRequestBody;if(null==i)throw new Error("Required parameter recordingsBulkRecordingsDeleteRequestBody was null or undefined when calling bulkRecordingsDelete.");let t=this.defaultHeaders;t=this.configuration.addCredentialToHeaders("Application","Authorization",t,"Bearer ");const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(t=t.set("Accept",a));const b=this.configuration.selectHeaderContentType(["application/json"]);void 0!==b&&(t=t.set("Content-Type",b));let v="json";a&&(v=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob");const{basePath:B,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${B}/Recordings/Pbx.BulkRecordingsDelete`,{body:i,responseType:v,...l?{withCredentials:l}:{},headers:t,observe:d})}bulkRecordingsDeleteQuery(r,d="body",i=!1,t){if(null==r.recordingsBulkRecordingsDeleteRequestBody)throw new Error("Required parameter recordingsBulkRecordingsDeleteRequestBody was null or undefined when calling bulkRecordingsDelete.");return"/Recordings/Pbx.BulkRecordingsDelete"}downloadRecording(r,d="body"){const i=r?.recId;if(null==i)throw new Error("Required parameter recId was null or undefined when calling downloadRecording.");let t=this.defaultHeaders;t=this.configuration.addCredentialToHeaders("Application","Authorization",t,"Bearer ");const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(t=t.set("Accept",a));let m="json";a&&(m=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob");let b=`/Recordings/Pbx.DownloadRecording(recId=${this.configuration.encodeParam({name:"recId",value:i,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`;const{basePath:v,withCredentials:f}=this.configuration;return this.httpClient.request("get",`${v}${b}`,{responseType:m,...f?{withCredentials:f}:{},headers:t,observe:d})}downloadRecordingQuery(r,d="body",i=!1,t){const a=r.recId;if(null==a)throw new Error("Required parameter recId was null or undefined when calling downloadRecording.");return`/Recordings/Pbx.DownloadRecording(recId=${this.configuration.encodeParam({name:"recId",value:a,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`}getRecordingRepositorySettings(r="body"){let d=this.defaultHeaders;d=this.configuration.addCredentialToHeaders("Application","Authorization",d,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);
1void 0!==i&&(d=d.set("Accept",i));let t="json";i&&(t=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:m,withCredentials:b}=this.configuration;return this.httpClient.request("get",`${m}/Recordings/Pbx.GetRecordingRepositorySettings()`,{responseType:t,...b?{withCredentials:b}:{},headers:d,observe:r})}getRecordingRepositorySettingsQuery(r="body",d=!1,i){return"/Recordings/Pbx.GetRecordingRepositorySettings()"}listRecording(r,d="body"){const i=r?.$top,t=r?.$skip,a=r?.$search,m=r?.$filter,b=r?.$count,v=r?.$orderby,f=r?.$select,B=r?.$expand;let l=new o.rx(this.encoder);l=this.addToHttpParams(l,"$top",i,o.l2.Form,!1),l=this.addToHttpParams(l,"$skip",t,o.l2.Form,!1),l=this.addToHttpParams(l,"$search",a,o.l2.Form,!1),l=this.addToHttpParams(l,"$filter",m,o.l2.Form,!1),l=this.addToHttpParams(l,"$count",b,o.l2.Form,!1),l=this.addToHttpParams(l,"$orderby",v,o.l2.Form,!1),l=this.addToHttpParams(l,"$select",f,o.l2.Form,!1),l=this.addToHttpParams(l,"$expand",B,o.l2.Form,!1);let M=this.defaultHeaders;M=this.configuration.addCredentialToHeaders("Application","Authorization",M,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(M=M.set("Accept",e));let O="json";e&&(O=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:P,withCredentials:x}=this.configuration;return this.httpClient.request("get",`${P}/Recordings`,{params:l.toHttpParams(),responseType:O,...x?{withCredentials:x}:{},headers:M,observe:d})}listRecordingQuery(r,d="body",i=!1,t){const a=r.$top,m=r.$skip,b=r.$search,v=r.$filter,f=r.$count,B=r.$orderby,l=r.$select,M=r.$expand;let e=new o.rx(this.encoder);return e=this.addToHttpParams(e,"$top",a,o.l2.Form,!1),e=this.addToHttpParams(e,"$skip",m,o.l2.Form,!1),e=this.addToHttpParams(e,"$search",b,o.l2.Form,!1),e=this.addToHttpParams(e,"$filter",v,o.l2.Form,!1),e=this.addToHttpParams(e,"$count",f,o.l2.Form,!1),e=this.addToHttpParams(e,"$orderby",B,o.l2.Form,!1),e=this.addToHttpParams(e,"$select",l,o.l2.Form,!1),e=this.addToHttpParams(e,"$expand",M,o.l2.Form,!1),"/Recordings?"+e.toString()}purgeArchive(r="body"){let d=this.defaultHeaders;d=this.configuration.addCredentialToHeaders("Application","Authorization",d,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(d=d.set("Accept",i));let t="json";i&&(t=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:m,withCredentials:b}=this.configuration;return this.httpClient.request("post",`${m}/Recordings/Pbx.PurgeArchive`,{responseType:t,...b?{withCredentials:b}:{},headers:d,observe:r})}purgeArchiveQuery(r="body",d=!1,i){return"/Recordings/Pbx.PurgeArchive"}purgeLocal(r="body"){let d=this.defaultHeaders;d=this.configuration.addCredentialToHeaders("Application","Authorization",d,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(d=d.set("Accept",i));let t="json";i&&(t=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:m,withCredentials:b}=this.configuration;return this.httpClient.request("post",`${m}/Recordings/Pbx.PurgeLocal`,{responseType:t,...b?{withCredentials:b}:{},headers:d,observe:r})}purgeLocalQuery(r="body",d=!1,i){return"/Recordings/Pbx.PurgeLocal"}setRecordingRepositorySettings(r,d="body"){const i=r?.recordingsSetRecordingRepositorySettingsRequestBody;if(null==i)throw new Error("Required parameter recordingsSetRecordingRepositorySettingsRequestBody was null or undefined when calling setRecordingRepositorySettings.");let t=this.defaultHeaders;t=this.configuration.addCredentialToHeaders("Application","Authorization",t,"Bearer ");const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(t=t.set("Accept",a));const b=this.configuration.selectHeaderContentType(["application/json"]);void 0!==b&&(t=t.set("Content-Type",b));let v="json";a&&(v=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob");const{basePath:B,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${B}/Recordings/Pbx.SetRecordingRepositorySettings`,{body:i,responseType:v,...l?{withCredentials:l}:{},headers:t,observe:d})}setRecordingRepositorySettingsQuery(r,d="body",i=!1,t){if(null==r.recordingsSetRecordingRepositorySettingsRequestBody)throw new Error("Required parameter recordingsSetRecordingRepositorySettingsRequestBody was null or undefined when calling setRecordingRepositorySettings.");return"/Recordings/Pbx.SetRecordingRepositorySettings"}transcribeRecordings(r,d="body"){const i=r?.recordingsTranscribeRecordingsRequestBody;if(null==i)throw new Error("Required parameter recordingsTranscribeRecordingsRequestBody was null or undefined when calling transcribeRecordings.");let t=this.defaultHeaders;t=this.configuration.addCredentialToHeaders("Application","Authorization",t,"Bearer ");const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(t=t.set("Accept",a));const b=this.configuration.selectHeaderContentType(["application/json"]);void 0!==b&&(t=t.set("Content-Type",b));let v="json";a&&(v=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob");const{basePath:B,withCredentials:l}=this.configuration;return this.httpClient.request("post",`${B}/Recordings/Pbx.TranscribeRecordings`,{body:i,responseType:v,...l?{withCredentials:l}:{},headers:t,observe:d})}transcribeRecordingsQuery(r,d="body",i=!1,t){if(null==r.recordingsTranscribeRecordingsRequestBody)throw new Error("Required parameter recordingsTranscribeRecordingsRequestBody was null or undefined when calling transcribeRecordings.");return"/Recordings/Pbx.TranscribeRecordings"}static \u0275fac=(()=>{let r;return function(i){return(r||(r=g.xGo(s)))(i||s)}})();static \u0275prov=h.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})()}}]);

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.