1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[1989],{87960(W,D,o){o.d(D,{K:()=>Se});var r=o(85802),C=o(84412),A=o(96354),t=o(25558),O=o(94979),T=o(7673),c=o(97201),v=o(4499),e=o(35547);let S=(()=>{class a extends v.d{listDidNumber(n,s="body"){const i=n?.$top,d=n?.$skip,f=n?.$search,h=n?.$filter,G=n?.$count,P=n?.$orderby,U=n?.$select,B=n?.$expand;let R=new c.rx(this.encoder);R=this.addToHttpParams(R,"$top",i,c.l2.Form,!1),R=this.addToHttpParams(R,"$skip",d,c.l2.Form,!1),R=this.addToHttpParams(R,"$search",f,c.l2.Form,!1),R=this.addToHttpParams(R,"$filter",h,c.l2.Form,!1),R=this.addToHttpParams(R,"$count",G,c.l2.Form,!1),R=this.addToHttpParams(R,"$orderby",P,c.l2.Form,!1),R=this.addToHttpParams(R,"$select",U,c.l2.Form,!1),R=this.addToHttpParams(R,"$expand",B,c.l2.Form,!1);let M=this.defaultHeaders;M=this.configuration.addCredentialToHeaders("Application","Authorization",M,"Bearer ");const u=this.configuration.selectHeaderAccept(["application/json"]);void 0!==u&&(M=M.set("Accept",u));let L="json";u&&(L=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob");const{basePath:De,withCredentials:j}=this.configuration;return this.httpClient.request("get",`${De}/DidNumbers`,{params:R.toHttpParams(),responseType:L,...j?{withCredentials:j}:{},headers:M,observe:s})}listDidNumberQuery(n,s="body",i=!1,d){const f=n.$top,h=n.$skip,G=n.$search,P=n.$filter,U=n.$count,B=n.$orderby,R=n.$select,M=n.$expand;let u=new c.rx(this.encoder);return u=this.addToHttpParams(u,"$top",f,c.l2.Form,!1),u=this.addToHttpParams(u,"$skip",h,c.l2.Form,!1),u=this.addToHttpParams(u,"$search",G,c.l2.Form,!1),u=this.addToHttpParams(u,"$filter",P,c.l2.Form,!1),u=this.addToHttpParams(u,"$count",U,c.l2.Form,!1),u=this.addToHttpParams(u,"$orderby",B,c.l2.Form,!1),u=this.addToHttpParams(u,"$select",R,c.l2.Form,!1),u=this.addToHttpParams(u,"$expand",M,c.l2.Form,!1),"/DidNumbers?"+u.toString()}static \u0275fac=(()=>{let n;return function(i){return(n||(n=e.xGo(a)))(i||a)}})();static \u0275prov=r.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var g=o(23294),p=o(28492),N=o(88141),_=o(99437),l=o(92996),m=o(38601),E=o(89417),b=o(63144),k=o(59882),K=o(17705),w=o(54999),Y=o(22972),Q=o(4
10953),z=o(59053),X=o(24708),J=o(84460),$=o(68018);function Z(a,I){1&a&&(e.EFF(0),e.nI1(1,"translate")),2&a&&e.JRh(e.bMT(1,1,"_i18n.RouteFriendlyNameInvalid"))}function q(a,I){1&a&&(e.EFF(0),e.nI1(1,"translate")),2&a&&e.JRh(e.bMT(1,1,"_i18n.NumberContainsStarCode"))}let ee=(()=>{class a extends Y.m{cd=(0,r.WQX)(K.gRc);routeName;buttons=w.P.OkCancel;form=new E.gE({routeName:new E.MJ(null,{validators:[E.k0.maxLength(50),z.ps]})});validateBeforeSubmit=this.createDialogValidate(this.form,this.cd);get f(){return this.form.controls}ngOnInit(){this.form.setValue({routeName:this.routeName||""},{emitEvent:!1})}getPayload(){return this.f.routeName.value}static \u0275fac=(()=>{let n;return function(i){return(n||(n=e.xGo(a)))(i||a)}})();static \u0275cmp=e.VBU({type:a,selectors:[["app-route-name-input-modal"]],inputs:{routeName:"routeName"},features:[e.Vt3],decls:5,vars:5,consts:[["header","_i18n.RouteFriendlyName",3,"submitted","buttons","validateBeforeSubmit"],["label","_i18n.RouteFriendlyName","data-qa","route-name",3,"formControl","maxlength"],[3,"control"],["valError","didIsInvalid"],["valError","starCodeError"]],template:function(s,i){1&s&&(e.j41(0,"app-modal-dialog",0),e.bIt("submitted",function(){return i.onSubmit()}),e.j41(1,"field-input",1)(2,"val-errors",2),e.DNE(3,Z,2,3,"ng-template",3)(4,q,2,3,"ng-template",4),e.k0s()()()),2&s&&(e.Y8G("buttons",i.buttons)("validateBeforeSubmit",i.validateBeforeSubmit),e.R7$(),e.Y8G("formControl",i.f.routeName)("maxlength",50),e.R7$(),e.Y8G("control",i.f.routeName))},dependencies:[Q.p,J.m,X.N4,X.IH,X.VI,E.X1,E.BC,E.tU,E.l_,$.D9],encapsulation:2,changeDetection:0})}return a})();var F=o(96106),te=o(38357),ne=o(47548),oe=o(98352),ie=o(56998),V=o(45317);function x(a,I){return[a,I].join(" ").trim()}function H(a){return a.To===V.h.External?x(a.External,null):a.To===V.h.RoutePoint?x(null,a.Name||a.Number):x(a.Number,a.Name)}var se=o(89079),y=o(72510),re=o(95604),le=o(8876),de=o(10079),ce=o(25244),Ne=o(49769);const pe=[[["val-errors"]]],_e=["val-errors"],ue=a=>({param:a});function me(a,I){1&a&&(e.j41(0,"span",9),e.EFF(1),e.k0s()),2&a&&(e.R7$(),e.JRh(I))}function Ie(a,I){if(1&a){const n=e.RV6();e.j41(0,"span",6),e.bIt("click",function(){const i=r.eBV(n);return r.Njj((0,i.clear)(i.item))}),e.EFF(1,"\xd7"),e.k0s(),e.j41(2,"span",7)(3,"span",8),e.EFF(4),e.k0s(),e.nVh(5,me,2,1,"span",9),e.k0s(),e.j41(6,"span",10),e.bIt("click",function(){const i=r.eBV(n).item,d=e.XpG(3);return r.Njj(d.showRouteNameModal(i))}),e.nrm(7,"span",11),e.k0s()}if(2&a){let n;const s=I.item,i=e.XpG(3);e.R7$(4),e.JRh(s.Number),e.R7$(),e.vxM((n=i.getDisplayName(s))?5:-1,n)}}function Ee(a,I){if(1&a&&(e.nrm(0,"span",14),e.nI1(1,"translate")),2&a){const n=e.XpG().item;e.Y8G("truncatedText",e.ai1("",e.bMT(1,3,"_i18n.DidSelectAssignedTo")," ",n.Dest))}}function Re(a,I){if(1&a&&(e.j41(0,"div",12),e.EFF(1),e.nrm(2,"span",13),e.nVh(3,Ee,2,5,"span",14),e.k0s()),2&a){const n=I.item,s=I.index,i=e.XpG(3);e.Y8G("id",e.VkB("item-",s)),e.R7$(),e.SpI(" ",n.Number," "),e.R7$(),e.Y8G("truncatedText",n.DisplayName),e.R7$(),e.vxM(i.isWarningDid(n)?3:-1)}}function Ae(a,I){1&a&&(e.j41(0,"div",4),e.nrm(1,"span",15),e.j41(2,"span"),e.EFF(3),e.nI1(4,"translate"),e.k0s()()),2&a&&(e.R7$(3),e.JRh(e.i5U(4,1,"_i18n.DidAssignedWarning",e.eq3(4,ue,I))))}function Te(a,I){if(1&a){const n=e.RV6();e.j41(0,"field-wrapper",0)(1,"ng-select",1),e.nI1(2,"async"),e.bIt("change",function(i){r.eBV(n);const d=e.XpG(2);return r.Njj(d.valueChanged(d.multiple?i:i?[i]:[]))})("search",function(i){r.eBV(n);const d=e.XpG(2);return r.Njj(d.searching(i))})("open",function(){r.eBV(n);const i=e.XpG(2);return r.Njj(i.open())})("close",function(){r.eBV(n);const i=e.XpG(2);return r.Njj(i.close())})("scrollToEnd",function(){r.eBV(n);const i=e.XpG(2);return r.Njj(i.onScrollToEnd())}),e.DNE(3,Ie,8,2,"ng-template",2)(4,Re,4,5,"ng-template",3),e.k0s(),e.nVh(5,Ae,5,6,"div",4),e.qex(6,5),e.SdG(7),e.bVm(),e.k0s()}if(2&a){let n;const s=e.XpG(),i=e.XpG();e.Y8G("label",i.label)("required",i.showAsterisk)("disabled",i.disabled)("description",i.description)("labelFor",i.id),e.R7$(),e.Y8G("id",i.id)("compareWith",i.compareFn)("items",e.bMT(2,18,i.didNumbers$))("closeOnSelect",!i.multiple)("multiple",i.multiple)("ngModel",i.multiple?i.value:i.value[0]??null)("disabled",!s.trunks||i.disabled)("searchFn",i.customSearchFn)("searchable",!0)("clearable",i.clearable)("loading",i.loading)("virtualScroll",!0),e.R7$(4),e.vxM((n=i.getWarnings())?5:-1,n)}}function Ce(a,I){1&a&&e.nVh(0,Te,8,20,"field-wrapper",0),2&a&&e.vxM(I.trunks?0:-1)}let Se=(()=>{class a extends oe.z{tokenInfoService=(0,r.WQX)(l.Z);modalService=(0,r.WQX)(m.B);destroy$=(0,r.WQX)(r.abz);didNumbersApi=(0,r.WQX)(S);didNumberService=(0,r.WQX)(b.Q);id=(0,ie.bn)("did-select");constructor(){const n=(0,r.WQX)(k.nX);super(),n.data.pipe((0,se.pQ)(this.destroy$)).subscribe(i=>{this.writeValue(i.routes)})}dn;label="_i18n.AssignedDidNumbers";showWarnings=!0;showAsterisk=!1;multiple=!0;clearable=!0;description;loading=!1;itemsPerPage=50;didNumbers$;requestMore$=new C.t(!0);hasBeenTouched$=new C.t(!1);searchSubject$=new C.t("");ngOnInit(){const n=this.searchSubject$.pipe((0,F.Or)(),(0,A.T)(i=>i.trim()),(0,g.F)()),s=this.hasBeenTouched$.pipe((0,p.j)(i=>!i),(0,t.n)(()=>n));this.didNumbers$=s.pipe((0,t.n)(i=>
1this.requestMore$.pipe((0,N.M)(()=>this.loading=!0),(0,O.m)((d,f)=>{if(-1===d.total)return this.getPagedResponse(i,0).pipe((0,A.T)(h=>({didList:d.didList.concat(h.value||[]),total:h.totalItems,page:0})));if(d.didList.length<d.total){const h=d.page+1;return this.getPagedResponse(i,h).pipe((0,A.T)(G=>({didList:d.didList.concat(G.value||[]),total:G.totalItems,page:h})))}return(0,T.of)(d)},{didList:[],total:-1,page:-1}),(0,N.M)(()=>this.loading=!1),(0,A.T)(d=>d.didList))))}getPagedResponse(n,s){const i={$select:["Number","TrunkId","TemplateFileName","RoutingRule"],$orderby:["TrunkId, Number"],$expand:["RoutingRule"],$count:!0,$top:this.itemsPerPage,$skip:s*this.itemsPerPage};return n&&(i.$search=(0,te.Bj)(n)),this.didNumbersApi.listDidNumber(i).pipe((0,A.T)(d=>({value:d.value?.map(f=>{const h=this.findInValue(f);let G;h?.DisplayName&&h?.DisplayName!==f.RoutingRule?.RuleName&&(G=h?.DisplayName);const P=function ae(a,I,n){const s=a.RoutingRule;return{Number:a.Number,TemplateFileName:a.TemplateFileName??void 0,IsLocal:s?.OfficeHoursDestination?.Number===I,Dest:s?.OfficeHoursDestination?H(s.OfficeHoursDestination):void 0,TrunkId:a.TrunkId,DisplayName:n||s?.RuleName}}(f,this.dn,G);return!P.DisplayName||P.Dest||h?P:{...P,DisplayName:""}})||[],totalItems:d["@odata.count"]})),(0,_.W)(()=>(0,T.of)({value:[],totalItems:0})))}customSearchFn(){return!0}isWarningDid(n){return!(!n||!n.Dest||n.IsLocal)}open(){this.hasBeenTouched$.next(!0)}onScrollToEnd(){this.requestMore$.next(!0)}clearSearch(){this.searchSubject$.next("")}close(){this.clearSearch(),this.markAsTouched()}searching(n){this.searchSubject$.next(n.term)}compareFn(n,s){return n.Number===s.Number&&n.TrunkId===s.TrunkId}getWarnings(){return this.showWarnings?this.value.filter(n=>this.isWarningDid(n)).map(n=>`(${n.Number})`).join(" "):""}showRouteNameModal(n){this.modalService.showDialog(ee,{routeName:this.getDisplayName(n)}).pipe((0,F.Sf)()).subscribe(s=>{n.DisplayName=s,this.findInValue(n).DisplayName=s,this.valueChanged(this.value)})}save(n){this.touched&&this.didNumberService.setDids$(n,this.value).pipe((0,F.Tg)(this.modalService)).subscribe()}valueChanged(n){super.valueChanged(n.map(s=>this.findInValue(s)??{...s,DisplayName:""}))}writeValue(n){super.writeValue(n||[])}getDisplayName(n){return(this.findInValue(n)??n).DisplayName}findInValue(n){return this.value.find(s=>this.compareFn(n,s))}static \u0275fac=function(s){return new(s||a)};static \u0275cmp=e.VBU({type:a,selectors:[["app-did-number-select"]],inputs:{dn:"dn",label:"label",showWarnings:"showWarnings",showAsterisk:"showAsterisk",multiple:"multiple",clearable:"clearable",description:"description"},features:[e.Jv_([{provide:E.kq,useExisting:a,multi:!0}]),e.Vt3],ngContentSelectors:_e,decls:2,vars:3,consts:[["data-qa","did-number-select",3,"label","required","disabled","description","labelFor"],["bindLabel","Number","data-qa","select",3,"change","search","open","close","scrollToEnd","id","compareWith","items","closeOnSelect","multiple","ngModel","disabled","searchFn","searchable","clearable","loading","virtualScroll"],["ng-label-tmp",""],["ng-option-tmp",""],[1,"d-flex","align-items-center","mt-2","ms-2","column-gap-3"],["ngProjectAs","val-errors",5,["val-errors"]],["data-qa","remove-choice","aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label"],["data-qa","did-number"],[1,"opacity-75","ps-1"],["aria-hidden","true",1,"ng-value-icon","right",3,"click"],["app-pencil-solid-icon","","title","edit"],[1,"d-flex","align-items-start","mw-0","gap-2",3,"id"],[1,"opacity-75",3,"truncatedText"],[1,"opacity-75","ms-auto",3,"truncatedText"],["app-exclamation-triangle-solid-icon","",1,"customSVGIcons","svg-md"]],template:function(s,i){if(1&s&&(e.NAR(pe),e.nVh(0,Ce,1,1),e.nI1(1,"async")),2&s){let d;e.vxM((d=e.bMT(1,1,i.tokenInfoService.myToken$))?0:-1,d)}},dependencies:[E.YN,E.BC,E.vS,re.z,le.c,de.f,ce.T,ne.N,y.vr,y.ZZ,y.Uq,Ne.Jj,$.D9],encapsulation:2,changeDetection:0})}return a})()},63144(W,D,o){o.d(D,{O:()=>S,Q:()=>g});var r=o(99437),C=o(5964),A=o(7673),t=o(96354),O=o(25558),T=o(85802),c=o(54381),v=o(23994),e=o(92996);function S(p){return p?.Routes?.map(N=>({Number:N.DID,IsLocal:!0,TrunkId:N.TrunkId,DisplayName:N.DisplayName}))??[]}let g=(()=>{class p{trunks=(0,T.WQX)(v.T);tokenInfoService=(0,T.WQX)(e.Z);defsService=(0,T.WQX)(c.G);getDids$(_){return this.defsService.getRoutes({defsGetRoutesRequestBody:{ids:[_]}}).pipe((0,t.T)(l=>l.value&&1===l.value.length?S(l.value[0]):[]),(0,r.W)(()=>(0,A.of)([])))}setDids$(_,l){return this.tokenInfoService.getMyToken$().pipe((0,C.p)(m=>m.trunks),(0,O.n)(()=>this.trunks.setRoutes({trunksSetRoutesRequestBody:{routes:{Id:_,Routes:l.map(m=>({DID:m.Number,TrunkId:m.TrunkId,DisplayName:m.DisplayName}))}}})))}static \u0275fac=function(l){return new(l||p)};static \u0275prov=T.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},81783(W,D,o){o.d(D,{IU:()=>T,Pw:()=>e,oF:()=>v});var r=o(85802),C=o(99437),A=o(96354),t=o(67469),O=o(19037);function T(S){return S.listGroup({$select:["Id","IsDefault","Number","OfficeRoute","Name","TranscriptionMode"],$orderby:["Name"],$filter:"not startsWith(Name, '___FAVORITES___')"}).pipe((0,A.T)(({value:g})=>g?.map(p=>p)||[]))}const v={trunksGroups:()=>{const S=(0,r.WQX)(t.G),g=(0,r.WQX)(O.s);return T(S).pipe((0,C.W)(p=>g.handleError(p)))}};function e(S){return S.snapshot.data?.trunksGroups||[]}},2275(W,D,o){o.d(D,{T:()=>p});var r=o(534),C=o(68018),A=o(8516),t=o(35547),O=o(85802);const T=["pop"],c=["*"];function v(N,_){if(1&N&&t.nrm(0,"lucide-icon",3),2&N){const l=t.XpG(2);t.Y8G("img",l.Copy)}}function e(N,_){if(1&N&&t.nrm(0,"lucide-icon",3),2&N){const l=t.XpG(2);t.Y8G("img",l.Copy)}}function S(N,_){if(1&N&&(t.j41(0,"span",5),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&N){const l=t.XpG(2);t.R7$(),t.JRh(t.bMT(2,1,l.actionText))}}function g(N,_){if(1&N){const l=t.RV6();t.j41(0,"div",2,0),t.nI1(2,"translate"),t.nI1(3,"translate"),t.bIt("click",function(E){O.eBV(l);
1const b=t.XpG();return O.Njj(b.copy(E))}),t.nVh(4,v,1,1,"lucide-icon",3),t.j41(5,"div",4),t.SdG(6),t.k0s(),t.nVh(7,e,1,1,"lucide-icon",3),t.nVh(8,S,3,3,"span",5),t.k0s()}if(2&N){const l=t.XpG();t.Y8G("tooltip",t.bMT(2,6,"_i18n.Copied"))("container",l.tooltipContainer)("title",t.bMT(3,8,"_i18n.DisplayCopy")),t.R7$(4),t.vxM(l.showIcon&&l.iconFirst?4:-1),t.R7$(3),t.vxM(l.showIcon&&!l.iconFirst?7:-1),t.R7$(),t.vxM(l.showActionText?8:-1)}}let p=(()=>{class N{source;showIcon=!0;actionText="_i18n.DisplayCopy";showActionText;iconFirst;tooltipContainer;timeoutId;Copy=A.QRo;popComponent;copy(l){l.stopPropagation(),this.source&&navigator.clipboard&&navigator.clipboard.writeText(this.source).then(()=>{this.popComponent.show(),"number"==typeof this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout(()=>this.close(),1e3)})}close(){this.popComponent.hide()}static \u0275fac=function(m){return new(m||N)};static \u0275cmp=t.VBU({type:N,selectors:[["app-simple-copy"]],viewQuery:function(m,E){if(1&m&&t.GBs(T,5),2&m){let b;t.mGM(b=t.lsd())&&(E.popComponent=b.first)}},hostAttrs:[1,"hide-empty"],inputs:{source:"source",showIcon:"showIcon",actionText:"actionText",showActionText:"showActionText",iconFirst:"iconFirst",tooltipContainer:"tooltipContainer"},ngContentSelectors:c,decls:1,vars:1,consts:[["pop","bs-tooltip"],["triggers","","role","button","data-qa","simple-copy",1,"d-inline-flex","align-items-center","gap-2","mw-0","maxw-100",3,"tooltip","container","title"],["triggers","","role","button","data-qa","simple-copy",1,"d-inline-flex","align-items-center","gap-2","mw-0","maxw-100",3,"click","tooltip","container","title"],[1,"fillIconBlue","svg-sm",3,"img"],[1,"line-clamp-1"],[1,"link","dashed","text-nowrap"]],template:function(m,E){1&m&&(t.NAR(),t.nVh(0,g,9,10,"div",1)),2&m&&t.vxM(E.source?0:-1)},dependencies:[r.dg,A.flO,A.WGl,C.D9],encapsulation:2,changeDetection:0})}return N})()},25244(W,D,o){o.d(D,{T:()=>A});var r=o(35547),C=o(85802);let A=(()=>{class t{static \u0275fac=function(c){return new(c||t)};static \u0275cmp=r.VBU({type:t,selectors:[["app-pencil-solid-icon"],["","app-pencil-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s1
15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1v32c0 8.8 7.2 16 16 16h32zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]],template:function(c,v){1&c&&(C.qSk(),r.rj2(0,"svg",0),r.Hgh(1,"path",1),r.eux())},encapsulation:2})}return t})()},81789(W,D,o){o.d(D,{b:()=>g});var r=o(17705),C=o(68580),A=o(68018),t=o(35547),O=o(85802);const T=[[["","icon",""]],[["","dropdown-item",""]]],c=["[icon]","[dropdown-item]"],v=(p,N)=>N.value;function e(p,N){if(1&p){const _=t.RV6();t.j41(0,"div",5),t.bIt("click",function(){const m=O.eBV(_).$implicit,E=t.XpG(2);return O.Njj(E.selectedChange.emit(m.value))}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}if(2&p){const _=N.$implicit,l=t.XpG(2);t.AVh("active",_.value===l.selected)("disabled",_.disabled),t.BMQ("data-qa",_.dataQa),t.R7$(),t.SpI(" ",t.bMT(2,6,_.label)," ")}}function S(p,N){if(1&p&&(t.j41(0,"div",3),t.Z7z(1,e,3,8,"div",4,v),t.SdG(3,1),t.k0s()),2&p){const _=t.XpG();t.AVh("dropdown-menu-right","right"===_.alignment),t.R7$(),t.Dyx(_.options)}}let g=(()=>{class p{theme="btn-plain";alignment="right";options;selected;text;disabled;selectedChange=(0,r.CGW)();get buttonText(){return this.text||this.options.find(_=>_.value===this.selected)?.label||""}static \u0275fac=function(l){return new(l||p)};static \u0275cmp=t.VBU({type:p,selectors:[["app-button-with-dropdown"]],inputs:{theme:"theme",alignment:"alignment",options:"options",selected:"selected",text:"text",disabled:"disabled"},outputs:{selectedChange:"selectedChange"},ngContentSelectors:c,decls:7,vars:7,consts:[["dropdown","",1,"btn-group",3,"isDisabled"],["type","button","dropdownToggle","","data-qa","toggle"],["class","dropdown-menu",3,"dropdown-menu-right",4,"dropdownMenu"],[1,"dropdown-menu"],[3,"active","disabled"],[3,"click"]],template:function(l,m){1&l&&(t.NAR(T),t.j41(0,"div",0)(1,"button",1),t.SdG(2),t.j41(3,"span"),t.EFF(4),t.nI1(5,"translate"),t.k0s()(),t.DNE(6,S,4,2,"div",2),t.k0s()),2&l&&(t.Y8G("isDisabled",!0===m.disabled),t.R7$(),t.HbH(t.VkB("btn ",m.theme," dropdown-toggle")),t.R7$(3),t.JRh(t.bMT(5,5,m.buttonText)))},dependencies:[C.Kk,C.hs,C.UL,A.D9],styles:["[_nghost-%COMP%] .dropdown-menu a, [_nghost-%COMP%] .dropdown-menu button{color:var(--text-primary);background-color:transparent;border:none;box-shadow:none;text-decoration:none}[_nghost-%COMP%] .dropdown-menu>*{padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);transition:.2s;cursor:pointer}[_nghost-%COMP%] .dropdown-menu>*.active, [_nghost-%COMP%] .dropdown-menu>*:hover{background-color:var(--bg-primary-hover)}[_nghost-%COMP%] .dropdown-menu>*:disabled, [_nghost-%COMP%] .dropdown-menu>*.disabled{opacity:.7;cursor:default;background-color:transparent}[_nghost-%COMP%] .dropdown-menu-right{inset:100% 0 auto auto!important}"],changeDetection:0})}return p})()},82971(W,D,o){o.d(D,{g:()=>r});const r={ContactsSpecifyNameSurnameCompany:"WARNINGS.CONTACTS_SPECIFY_NAME_SURNAME_COMPANY",ContactsSpecifyPhoneNumber:"WARNINGS.CONTACTS_SPECIFY_PHONE_NUMBER",ContactsSpecifyNameSurname:"WARNINGS.CONTACTS_SPECIFY_NAME_SURNAME",StringTooLong:"WARNINGS.STRING_TOO_LONG",LengthNotMore50Chars:"WARNINGS.LENGTH_NOT_MORE_50_CHARS",LengthNotMore255Chars:"WARNINGS.LENGTH_NOT_MORE_255_CHARS",InvalidHexCharacter:"WARNINGS.INVALID_HEX_CHARACTER",NoMoreNumbersAvailable:"WARNINGS.NO_MORE_NUMBERS_AVAILABLE",ErpServerError:"WARNINGS.ERP_SERVER_ERROR",LicenseNotFound:"WARNINGS.LICENSE_NOT_FOUND",LimitReached:"WARNINGS.LIMIT_REACHED",Invalid:"WARNINGS.INVALID",XapiCaptchaError:"WARNINGS.XAPI.CAPTCHA_ERROR",XapiInvalidPinNumber:"WARNINGS.XAPI.INVALID_PIN_NUMBER",XapiNotSupported:"WARNINGS.XAPI.NOT_SUPPORTED",XapiUserRoleDowngrade:"WARNINGS.XAPI.USER_ROLE_DOWNGRADE",GroupCannotBeDeleted:"WARNINGS.GROUP_CANNOT_BE_DELETED",CannotBeDeleted:"WARNINGS.CANNOT_BE_DELETED",GroupWithMembersCannotBeDeleted:"WARNINGS.GROUP_WITH_MEMBERS_CANNOT_BE_DELETED",XapiOtherUserRoleDowngrade:"WARNINGS.XAPI.OTHER_USER_ROLE_DOWNGRADE",XapiInvalidLicenseType:"WARNINGS.XAPI.INVALID_LICENSE_TYPE",InvalidPassword:"WARNINGS.INVALID_PASSWORD",XapiNotFound:"WARNINGS.XAPI.NOT_FOUND",XapiFileNotFound:"WARNINGS.XAPI.FILE_NOT_FOUND",XapiFileNotAccessible:"WARNINGS.XAPI.FILE_NOT_ACCESSIBLE",XapiRequired:"WARNINGS.XAPI.REQUIRED",XapiCanNotBeEmptyString:"WARNINGS.XAPI.CAN_NOT_BE_EMPTY_STRING",XapiDuplicate:"WARNINGS.XAPI.DUPLICATE",XapiMacUsedBy:"WARNINGS.XAPI.MAC_USED_BY",XapiAlreadyInUse:"WARNINGS.XAPI.ALREADY_IN_USE",MacAddressAlreadyInUse:"WARNINGS.MAC_ADDRESS_ALREADY_IN_USE",XapiPlaylistInUse:"WARNINGS.XAPI.PLAYLIST_IN_USE",XapiOutOfTheRange:"WARNINGS.XAPI.OUT_OF_THE_RANGE",XapiTooManyPhones:"WARNINGS.XAPI.TOO_MANY_PHONES",XapiTooManyTrunks:"WARNINGS.XAPI.TOO_MANY_TRUNKS",XapiTooManySbc:"WARNINGS.XAPI.TOO_MANY_SBC",XapiTooManyPrompts:"WARNINGS.XAPI.TOO_MANY_PROMPTS",XapiTooManyItemsInList:"WARNINGS.XAPI.TOO_MANY_ITEMS_IN_LIST",XapiAwsStorageUnderUsage:"WARNINGS.XAPI.AWS_STORAGE_UNDER_USAGE",XapiOutboundRulesLimitReached:"WARNINGS.XAPI.OUTBOUND_RULES_LIMIT_REACHED",XapiForbiddenChange:"WARNINGS.XAPI.FORBIDDEN_CHANGE",FaxServerCannotBeDeleted:"WARNINGS.FAX_SERVER_CANNOT_BE_DELETED",OperatorC
1annotBeDeleted:"WARNINGS.OPERATOR_CANNOT_BE_DELETED",UserExtensionCannotBeDeleted:"WARNINGS.USER_EXTENSION_CANNOT_BE_DELETED",XapiNumberIgnored:"WARNINGS.XAPI.NUMBER_IGNORED",XapiInvalidTimezone:"WARNINGS.XAPI.INVALID_TIMEZONE",XapiInvalidPath:"WARNINGS.XAPI.INVALID_PATH",XapiPathShouldNotContainSpaces:"WARNINGS.XAPI.PATH_SHOULD_NOT_CONTAIN_SPACES",XapiInvalidCredentials:"WARNINGS.XAPI.INVALID_CREDENTIALS",XapiCannotConnectFtp:"WARNINGS.XAPI.CANNOT_CONNECT_FTP",XapiCannotConnectSmb:"WARNINGS.XAPI.CANNOT_CONNECT_SMB",XapiCannotConnectSftp:"WARNINGS.XAPI.CANNOT_CONNECT_SFTP",XapiCannotConnectGoogleBucket:"WARNINGS.XAPI.CANNOT_CONNECT_GOOGLE_BUCKET",XapiCannotConnectAmazonS3Bucket:"WARNINGS.XAPI.CANNOT_CONNECT_AMAZON_S3_BUCKET",XapiPlaylistNoSource:"WARNINGS.XAPI.PLAYLIST_NO_SOURCE",XapiNoUsersInTeams:"WARNINGS.XAPI.NO_USERS_IN_TEAMS",XapiFileFormatIsIncorrect:"WARNINGS.XAPI.FILE_FORMAT_IS_INCORRECT",XapiInvalidFileName:"WARNINGS.XAPI.INVALID_FILE_NAME",CsvInvalidFileFormat:"WARNINGS.CSV_INVALID_FILE_FORMAT",CsvLineCorrupted:"WARNINGS.CSV_LINE_CORRUPTED",WrongCsvFileRequiredColumnsNotFound:"WARNINGS.WRONG_CSV_FILE_REQUIRED_COLUMNS_NOT_FOUND",CsvImportLimitReached:"WARNINGS.CSV_IMPORT_LIMIT_REACHED",WrongCsvFileRequiredHeaderNotFound:"WARNINGS.WRONG_CSV_FILE_REQUIRED_HEADER_NOT_FOUND",XapiFileIsTooLarge:"WARNINGS.XAPI.FILE_IS_TOO_LARGE",XapiSbcCertFqdnMismatch:"WARNINGS.XAPI.SBC_CERT_FQDN_MISMATCH",XapiSbcCertExpired:"WARNINGS.XAPI.SBC_CERT_EXPIRED",XapiSbcKeyCertMismatch:"WARNINGS.XAPI.SBC_KEY_CERT_MISMATCH",XapiCertificateExpired:"WARNINGS.XAPI.CERTIFICATE_EXPIRED",XapiNonExistentExtNumber:"WARNINGS.XAPI.NON_EXISTENT_EXT_NUMBER",XapiMcmModeRequired:"WARNINGS.XAPI.MCM_MODE_REQUIRED",InternationalprefixIsMissing:"WARNINGS.INTERNATIONALPREFIX_IS_MISSING",XapiChatLogIsDisabled:"WARNINGS.XAPI.CHAT_LOG_IS_DISABLED",WakeupIvrExists:"WARNINGS.WAKEUP_IVR_EXISTS",RingGroupEnablePaging:"WARNINGS.RING_GROUP_ENABLE_PAGING",XapiCreate1SipTruckEmergency:"WARNINGS.XAPI.CREATE_1_SIP_TRUCK_EMERGENCY",InvalidIpMask:"WARNINGS.INVALID_IP_MASK",TooManyBackups:"WARNINGS.TOO_MANY_BACKUPS",BackupLocationConfigError:"WARNINGS.BACKUP_LOCATION_CONFIG_ERROR",BackupNotFoundOrInvalid:"WARNINGS.BACKUP_NOT_FOUND_OR_INVALID",InvalidCallFlowFile:"WARNINGS.INVALID_CALL_FLOW_FILE",AlreadyExpired:"WARNINGS.ALREADY_EXPIRED",ExtractingOutsideTheDestinationDirectory:"WARNINGS.EXTRACTING_OUTSIDE_THE_DESTINATION_DIRECTORY",WiresharkNotFound:"WARNINGS.WIRESHARK_NOT_FOUND",CannotDeleteTrunksBindedErmergencyNumber:"WARNINGS.CANNOT_DELETE_TRUNKS_BINDED_ERMERGENCY_NUMBER",BlacklistNumberLimitExceeded:"WARNINGS.BLACKLIST_NUMBER_LIMIT_EXCEEDED",DoubleQuotesNotAllowed:"WARNINGS.DOUBLE_QUOTES_NOT_ALLOWED",McuRequestAlreadyInProgress:"WARNINGS.MCU_REQUEST_ALREADY_IN_PROGRESS",McuLimitReached:"WARNINGS.MCU_LIMIT_REACHED",McuWebmeetingBridgeNotFound:"WARNINGS.MCU_WEBMEETING_BRIDGE_NOT_FOUND",McuRequestNotFound:"WARNINGS.MCU_REQUEST_NOT_FOUND",McuRequestTimeout:"WARNINGS.MCU_REQUEST_TIMEOUT",ConverterRequestAlreadyInProgress:"WARNINGS.CONVERTER_REQUEST_ALREADY_IN_PROGRESS",ConverterLimitReached:"WARNINGS.CONVERTER_LIMIT_REACHED",ConverterWebmeetingBridgeNotFound:"WARNINGS.CONVERTER_WEBMEETING_BRIDGE_NOT_FOUND",ConverterRequestNotFound:"WARNINGS.CONVERTER_REQUEST_NOT_FOUND",ConverterRequestTimeout:"WARNINGS.CONVERTER_REQUEST_TIMEOUT",XapiOpenaiKeyIsMissing:"WARNINGS.XAPI.OPENAI_KEY_IS_MISSING",LengthNotMore2048Chars:"WARNINGS.LENGTH_NOT_MORE_2048_CHARS",InvalidSecurityCode:"WARNINGS.INVALID_SECURITY_CODE",SupportedMediaFormatWav:"WARNINGS.SUPPORTED_MEDIA_FORMAT_WAV",NoSecretDefined:"WARNINGS.NO_SECRET_DEFINED",UnableReachUpdatesServer:"WARNINGS.UNABLE_REACH_UPDATES_SERVER",ErrorDownloadingFromUpdatesServer:"WARNINGS.ERROR_DOWNLOADING_FROM_UPDATES_SERVER",CaptureLocalhostNotAllowed:"WARNINGS.CAPTURE_LOCALHOST_NOT_ALLOWED",CaptureOngoing:"WARNINGS.CAPTURE_ONGOING"}}}]);
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.