1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[532],{4801(U,R,r){r.d(R,{f:()=>I});var a=r(18530),f=r(84412),_=r(13961),m=r(74402),d=r(84572),u=r(57786),O=r(7673),M=r(96354),p=r(99437),L=r(23294),A=r(5964),E=r(65245),v=r(99172),l=r(25558),h=r(96697),g=r(50644),T=r(89417),y=r(87019),N=r(89079);class I{refresh$=new a.B;pageChanged$=new a.B;currentPage$;pagedItems$;infiniteTotalCount$;sub=new _.yU;totalCount$;itemsPerPage$;filterQuery$;pageSize$;filterLoading$;search=new T.MJ("");constructor(B,w,F,K=y.z9,ue=void 0,be=!1){const ge={value:[],totalItems:0};this.itemsPerPage$=new f.t(K),this.filterQuery$=be?new a.B:new f.t(ue),this.pageSize$=this.itemsPerPage$.asObservable();const Ce=(0,m.A)(w)?w:(0,O.of)(w),fe=this.search.valueChanges.pipe((0,v.Z)(""),(0,M.T)(x=>(x||"").trim()),(0,L.F)()),ie=(0,d.z)([fe,this.itemsPerPage$,this.filterQuery$,Ce]).pipe((0,l.n)(([x,D,Q,oe])=>this.pageChanged$.pipe((0,v.Z)(1),(0,L.F)(),(0,M.T)(ne=>({search:x,page:ne,itemsPerPage:D,filterQuery:Q,resolver:oe})))),(0,g.lc)(this.refresh$),(0,g.H9)());this.currentPage$=ie.pipe((0,M.T)(({page:x})=>x),(0,g.H9)()),this.pagedItems$=ie.pipe((0,E.i)(F?1:0),(0,l.n)(({search:x,page:D,itemsPerPage:Q,filterQuery:oe,resolver:ne})=>ne.resolveData(D,Q,x,oe).pipe((0,p.W)(()=>(0,O.of)(ge)))),(0,v.Z)(F||ge),(0,g.H9)()),this.filterLoading$=(0,u.h)((0,d.z)([fe,this.filterQuery$,Ce]).pipe((0,M.T)(x=>!0)),this.pagedItems$.pipe((0,E.i)(F?0:1),(0,M.T)(x=>!1))).pipe((0,v.Z)(!F),(0,L.F)(),(0,g.H9)()),this.totalCount$=this.pagedItems$.pipe((0,M.T)(x=>x.totalItems??0)),this.infiniteTotalCount$=(0,d.z)([this.pageChanged$.pipe((0,v.Z)(1)),this.itemsPerPage$,this.pagedItems$]).pipe((0,M.T)(([x,D,Q])=>Q.hasNext&&Q.value?x*K+1:Q.value?x*K:0)),this.pagedItems$.pipe((0,A.p)(x=>!x.totalItems),(0,A.p)(x=>0===x.value?.length),(0,l.n)(x=>ie.pipe((0,h.s)(1),(0,M.T)(D=>D.page-1))),(0,A.p)(x=>x>0),(0,N.pQ)(B)).subscribe({next:x=>{x>0&&this.pageChanged$.next(x)}}),(0,d.z)([ie,this.pagedItems$]).pipe((0,A.p)(([x,D])=>!!D.totalItems),(0,M.T)(([{page:x,itemsPerPage:D},{totalItems:Q}])=>({page:x,maxPage:Math.max(1,Math.ceil((Q||0)/D))})),(0,A.p)(({page:x,maxPage:D})=>D<x),(0,N.pQ)(B)).subscribe(({maxPage:x})=>{x>0&&this.pageChanged$.next(x)})}nextPage(){this.currentPage$.pipe((0,M.T)(B=>B+1),(0,h.s)(1)).subscribe({next:B=>{this.pageChanged$.next(B)}})}pageChanged(B){this.pageChanged$.next(B.page)}pageSizeChanged(B){this.itemsPerPage$.next(B)}filterChanged(B){this.filterQuery$.next(B)}}},70299(U,R,r){r.d(R,{Y:()=>l});var a=r(85802),f=r(32271),_=r(534),m=r(68018),d=r(89417),u=r(84460),O=r(58689),M=r(8516),p=r(35547);const L=["pop"],A=[[["button"],["",8,"btn"]],[["","description",""]]],E=["button,.btn","[description]"];function v(h,g){if(1&h){const T=p.RV6();p.j41(0,"button",7),p.bIt("click",function(){a.eBV(T);const N=p.XpG();return a.Njj(N.toggleConceal())}),p.nrm(1,"lucide-icon",4),p.k0s()}if(2&h){const T=p.XpG();p.R7$(),p.Y8G("img",T.concealIcon())}}let l=(()=>{class h{popComponent;timerId;label;description;text;data;disabled;conceal;isConcealed=(0,a.vPA)(!1);isNewDesign=(0,a.WQX)(O.T);concealIcon=(0,f.EW)(()=>this.isConcealed()?M.kU3:M.X_F);Copy=M.QRo;ngOnInit(){this.isConcealed.set(this.conceal)}toggleConceal(){this.isConcealed.set(!this.isConcealed())}copy(){this.clipboard&&this.clipboard.writeText(this.data??"").then(()=>{this.popComponent.show(),this.timerId&&clearTimeout(this.timerId),this.timerId=window.setTimeout(()=>{this.popComponent.hide()},1e3)}).catch(T=>{console.warn(T)})}get clipboard(){return navigator.clipboard}static \u0275fac=function(y){return new(y||h)};static \u0275cmp=p.VBU({type:h,selectors:[["app-input-copy-to-clipboard"]],viewQuery:function(y,N){if(1&y&&p.GBs(L,5),2&y){let I;p.mGM(I=p.lsd())&&(N.popComponent=I.first)}},inputs:{label:"label",description:"description",text:"text",data:"data",disabled:"disabled",conceal:"conceal"},ngContentSelectors:E,decls:10,vars:11,consts:[["pop","bs-tooltip"],[3,"label","description","readonly","ngModel","disabled"],["type","button",1,"btn","btn-border","btn-icon"],["type","button","data-qa","copy","triggers","",1,"btn","btn-border","btn-icon",3,"click","disabled","tooltip"],[3,"img"],["ngProjectAs","button",5,["button"]],["ngProjectAs","[description]",5,["","description",""]],["type","button",1,"btn","btn-border","btn-icon",3,"click"]],template:function(y,N){1&y&&(p.NAR(A),p.j41(0,"field-input",1),p.nVh(1,v,2,1,"button",2),p.j41(2,"button",3,0),p.nI1(4,"translate"),p.bIt("click",function(){return N.copy()}),p.nrm(5,"lucide-icon",4),p.k0s(),p.qex(6,5),p.SdG(7),p.bVm(),p.qex(8,6),p.SdG(9,1),p.bVm(),p.k0s()),2&y&&(p.Y8G("label",N.label)("description",N.description)("readonly",!0)("ngModel",N.isConcealed()?"************":N.text??N.data??"")("disabled",N.disabled),p.R7$(),p.vxM(N.
1conceal?1:-1),p.R7$(),p.Y8G("disabled",!N.clipboard)("tooltip",p.bMT(4,9,"_i18n.Copied")),p.R7$(3),p.Y8G("img",N.Copy))},dependencies:[d.YN,d.BC,d.vS,u.m,_.dg,M.flO,M.WGl,m.D9],encapsulation:2,changeDetection:0})}return h})()},53154(U,R,r){r.d(R,{SI:()=>_,Tw:()=>p,oK:()=>L});var a=r(68173);const f=[(0,a.iF)({left:"100%"}),(0,a.i0)("200ms ease-in-out",(0,a.iF)({left:"0%"}))],_=[(0,a.iF)({left:"0%"}),(0,a.i0)("200ms ease-in-out",(0,a.iF)({left:"100%"}))],m=[(0,a.iF)({left:"0%"}),(0,a.i0)("200ms ease-in-out",(0,a.iF)({left:"-100%"}))],d=[(0,a.iF)({left:"-100%"}),(0,a.i0)("200ms ease-in-out",(0,a.iF)({left:"0%"}))],u=[(0,a.P)(":enter",f,{optional:!0}),(0,a.P)(":leave",_,{optional:!0})],O=[(0,a.Os)([(0,a.P)(":enter",f),(0,a.P)(":leave",m)])],M=[(0,a.Os)([(0,a.P)(":enter",d),(0,a.P)(":leave",_)])],p=(0,a.hZ)("routeAnimations",[(0,a.kY)("void <=> *",[]),(0,a.kY)("root <=> *",u),(0,a.kY)("chat => *",O),(0,a.kY)("* => chat",M)]),L=(0,a.hZ)("routeAnimations",[(0,a.kY)("void <=> *",[]),(0,a.kY)("root <=> *",u)])},67290(U,R,r){r.d(R,{c:()=>A});var a=r(89417),f=r(98352),_=r(19781),m=r(68018),d=r(35547),u=r(85802);const O=[[["val-errors"]]],M=["val-errors"];function p(E,v){if(1&E&&(d.j41(0,"label",0),d.EFF(1),d.nI1(2,"translate"),d.k0s()),2&E){const l=d.XpG();d.R7$(),d.JRh(d.bMT(2,1,l.label))}}function L(E,v){if(1&E){const l=d.RV6();d.j41(0,"field-checkbox",3),d.mxI("ngModelChange",function(g){const T=u.eBV(l).$implicit;return d.DH7(T.checked,g)||(T.checked=g),u.Njj(g)}),d.bIt("ngModelChange",function(){u.eBV(l);const g=d.XpG();return u.Njj(g.onCheckboxChange())}),d.k0s()}if(2&E){const l=v.$implicit,h=d.XpG();d.R50("ngModel",l.checked),d.Y8G("label",l.label)("disabled",l.disabled||h.disabled)("description",l.description)("hint",l.hint),d.BMQ("data-qa",l.dataQa||"checkbox-option")}}let A=(()=>{class E extends f.z{label="";options=[];inline;value=[];items;ngOnChanges(l){l.options&&this.updateCheckboxes(!0)}writeValue(l){super.writeValue(l||[]),this.updateCheckboxes()}onCheckboxChange(){const l=this.items.reduce((h,{checked:g,value:T})=>g?h.concat([T]):h,[]);super.valueChanged(l)}updateCheckboxes(l=!1){l||!this.items?this.items=(this.options||[]).map(h=>({...h,checked:this.value.includes(h.value)})):this.items.forEach(h=>{h.checked=this.value.includes(h.value)})}static \u0275fac=(()=>{let l;return function(g){return(l||(l=d.xGo(E)))(g||E)}})();static \u0275cmp=d.VBU({type:E,selectors:[["field-checkbox-group"]],inputs:{label:"label",options:"options",inline:"inline"},features:[d.Jv_([{provide:a.kq,multi:!0,useExisting:E}]),d.Vt3,d.OA$],ngContentSelectors:M,decls:6,vars:4,consts:[[1,"form-label"],[1,"mb-0",3,"ngModel","label","disabled","description","hint"],["data-qa","validation",1,"form-control-validation"],[1,"mb-0",3,"ngModelChange","ngModel","label","disabled","description","hint"]],template:function(h,g){1&h&&(d.NAR(O),d.nVh(0,p,3,3,"label",0),d.j41(1,"div"),d.Z7z(2,L,1,6,"field-checkbox",1,d.fX1),d.k0s(),d.j41(4,"div",2),d.SdG(5),d.k0s()),2&h&&(d.vxM(g.label?0:-1),d.R7$(),d.HbH(d.VkB("d-flex row-gap-2 column-gap-3 ",g.inline?"flex-wrap":"flex-column")),d.R7$(),d.Dyx(g.items))},dependencies:[_.t,a.X1,a.BC,a.YN,a.vS,m.D9],styles:["[_nghost-%COMP%]{display:block;margin-bottom:16px}.ng-touched.ng-invalid[_nghost-%COMP%] .form-check-input:not(:disabled), .invalid[_nghost-%COMP%] .form-check-input:not(:disabled){border-color:var(--error)}"],changeDetection:0})}return E})()},72788(U,R,r){r.d(R,{B:()=>A});var a=r(89417),f=r(84460),_=r(31755),m=r(95604),d=r(68018),u=r(35547);const O=[[["",8,"input-group-prepend"]],[["val-errors"]],[["","description",""]],[["",8,"input-group-append"]]],M=[".input-group-prepend","val-errors","[description]",".input-group-append"];function p(E,v){if(1&E&&(u.j41(0,"div",4)(1,"span",7),u.EFF(2),u.nI1(3,"translate"),u.k0s()()),2&E){const l=u.XpG();u.R7$(2),u.JRh(u.bMT(3,1,l.units))}}function L(E,v){1&E&&u.SdG(0,3)}let A=(()=>{class E extends f.m{min;max=2147483647;integer=!0;units;get containerClass(){return this.label&&!this.inlineLabel||!this.max||this.placeholderText?this.units&&this.max?"min-length-"+this.max.toString().length:"":"max-length-"+this.max.toString().length}get placeholderText(){return this.indeterminate?this.indeterminatePlaceholder:this.placeholder||""}minlength;maxlength;preventInvalidInput(l){switch(l.key){case".":case",":(this.integer||this.units)&&l.preventDefault();break;case"-":(this.value&&this.value<0||null!=this.min&&this.min>=0)&&l.preventDefault();break;case"+":case"e":l.preventDefault()}if(this.integer&&/\d/.test(l.key)&&this.value){const h=(this.value>=0?this.max:-2147483648).toString().length;this.value.toString().length-(window.getSelection()?.toString()||"").length>=h&&l.preventDefault()}}validate(l){if(!l.value&&0!==l.value)return null;const h=+l.value;return isNaN(h)?this.integer||this.units?{invalidInteger:!0}:{invalidNumber:!0}:(this.integer||this.units)&&h!==Math.floor(h)?{invalidInteger:!0}:void 0!==this.min&&a.k0.min(this.min)(l)||void 0!==this.max&&a.k0.max(this.max)(l)||null}focus(){this.inputElement.nativeElement.focus()}static \u0275fac=(()=>{let l;
1return function(g){return(l||(l=u.xGo(E)))(g||E)}})();static \u0275cmp=u.VBU({type:E,selectors:[["field-input-number"]],hostVars:2,hostBindings:function(h,g){2&h&&u.HbH(g.containerClass)},inputs:{min:"min",max:"max",integer:"integer",units:"units"},features:[u.Jv_([{provide:a.kq,multi:!0,useExisting:E},{provide:a.cz,multi:!0,useExisting:E},{provide:_.b,useExisting:E}]),u.Vt3],ngContentSelectors:M,decls:12,vars:17,consts:[["inputElement",""],[3,"label","labelFor","inlineLabel","disabled","required","description","hint"],[1,"input-group","flex-nowrap"],["data-qa","input","type","number",1,"form-control",3,"ngModelChange","keydown","paste","focus","blur","id","name","disabled","readonly","placeholder","ngModel","autocomplete"],[1,"input-group-append"],["ngProjectAs","val-errors",5,["val-errors"]],["ngProjectAs","[description]",5,["","description",""]],[1,"input-group-text"]],template:function(h,g){1&h&&(u.NAR(O),u.j41(0,"field-wrapper",1)(1,"div",2),u.SdG(2),u.j41(3,"input",3,0),u.nI1(5,"translate"),u.bIt("ngModelChange",function(y){return g.valueChanged(y)})("keydown",function(y){return g.preventInvalidInput(y)})("paste",function(y){return g.onPaste(y)})("focus",function(){return g.onFocus()})("blur",function(y){return g.onBlur(y)}),u.k0s(),u.nVh(6,p,4,3,"div",4)(7,L,1,0),u.k0s(),u.qex(8,5),u.SdG(9,1),u.bVm(),u.qex(10,6),u.SdG(11,2),u.bVm(),u.k0s()),2&h&&(u.Y8G("label",g.label)("labelFor",g.id)("inlineLabel",g.inlineLabel)("disabled",g.disabled)("required",g.isRequired)("description",g.description)("hint",g.hint),u.R7$(3),u.Y8G("id",g.id)("name",g.name)("disabled",g.disabled)("readonly",g.readonly)("placeholder",u.bMT(5,15,g.placeholderText))("ngModel",g.value)("autocomplete",g.autocomplete),u.R7$(3),u.vxM(g.units?6:7))},dependencies:[m.z,a.X1,a.me,a.Q0,a.BC,a.YN,a.vS,d.D9],styles:["[_nghost-%COMP%]{display:block;margin-bottom:16px}[_nghost-%COMP%] field-wrapper[_ngcontent-%COMP%]{margin-bottom:0}[_nghost-%COMP%] .input-group>.btn{border-left:0}.max-length-3[_nghost-%COMP%] input[type=number]{max-width:calc(12px * 2 + .65em * 3);min-width:calc(12px * 2 + .65em * 3)}.max-length-4[_nghost-%COMP%] input[type=number]{max-width:calc(24px + 2.6em);min-width:calc(24px + 2.6em)}.max-length-5[_nghost-%COMP%] input[type=number]{max-width:calc(24px + 3.25em);min-width:calc(24px + 3.25em)}.max-length-6[_nghost-%COMP%] input[type=number]{max-width:calc(12px * 2 + .65em * 6);min-width:calc(12px * 2 + .65em * 6)}.max-length-7[_nghost-%COMP%] input[type=number]{max-width:calc(24px + 4.55em);min-width:calc(24px + 4.55em)}.min-length-3[_nghost-%COMP%] input[type=number]{min-width:calc(12px * 2 + .65em * 3)}.min-length-4[_nghost-%COMP%] input[type=number]{min-width:calc(24px + 2.6em)}.min-length-5[_nghost-%COMP%] input[type=number]{min-width:calc(24px + 3.25em)}.min-length-6[_nghost-%COMP%] input[type=number]{min-width:calc(12px * 2 + .65em * 6)}.min-length-7[_nghost-%COMP%] input[type=number]{min-width:calc(24px + 4.55em)}[_nghost-%COMP%] .clear[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px;cursor:pointer;--svg-color: currentColor;--svg-vertical-align: baseline}"],changeDetection:0})}return E})()},44714(U,R,r){r.d(R,{meetingRoutes:()=>Kt});var a=r(85802),f=r(89417),_=r(59882),m=r(93049),d=r(53154),u=r(31335),O=r(68845),M=r(17705),p=r(84572),L=r(31943),A=r(99172),E=r(88141),v=r(96354),l=r(51078),h=r(50644);let g=(()=>{class t{meetingListService=(0,a.WQX)(l.X);router=(0,a.WQX)(_.Ix);limitStep=10;redirect$;limit=this.limitStep;constructor(){const i=this.router;this.redirect$=this.meetingListService.allConferences$.pipe((0,L.S)((s,b)=>{if(0!==b.length){const S=b.find(C=>!s.some(V=>V.hasSameContent(C)));S&&i.navigate(S.routerNavigateParams)}return b}))}getVisibleConferences(n){return this.combineWithSearch(this.meetingListService.sortedConferences$,n).pipe((0,h.H9)())}showMore(){this.limit+=this.limitStep}resetLimit(){this.limit=this.limitStep}combineWithSearch(n,i){const o=i instanceof f.MJ?i.valueChanges.pipe((0,A.Z)("")):i.pipe((0,A.Z)(""));return(0,p.z)([n,o.pipe((0,E.M)(()=>{this.limit=this.limitStep}))]).pipe((0,v.T)(s=>{const[b,S]=s;if(!S)return b;const C=(P,V)=>P.toLowerCase().includes(V.toLowerCase());
1return b.filter(P=>C(P.label,S)||C(P.description,S))}))}isConferenceActive(n){return!!n.isPrivate||n.audioConference.IsActive}OpenConference(n){this.router.navigate(n.routerLink)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=a.jDH({token:t,factory:t.\u0275fac})}return t})();var T=r(22429),y=r(62382),N=r(58689),I=r(8516),e=r(35547);function B(t,c){1&t&&(e.j41(0,"small",3),e.EFF(1),e.nI1(2,"amDateFormat"),e.k0s()),2&t&&(e.R7$(),e.JRh(e.i5U(2,1,c,"L LT")))}let w=(()=>{class t{isNewDesign=(0,a.WQX)(N.T);Volume2=I.jIq;Video=I.CeX;CircleSmall=I.Arv;conferenceWrapper;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=e.VBU({type:t,selectors:[["meeting-list-item"]],hostVars:2,hostBindings:function(i,o){2&i&&e.AVh("active-now",o.conferenceWrapper.isActive)},inputs:{conferenceWrapper:"conferenceWrapper"},decls:9,vars:3,consts:[[3,"img"],[1,"d-flex","flex-column","justify-content-center","mw-0"],[1,"conference-name","text-truncate"],[1,"conference-time","text-truncate"],[1,"live","badge","bg-brand","py-1","px-2","align-self-start","ms-auto"],[1,"text-lg","me-1"]],template:function(i,o){if(1&i&&(e.nrm(0,"lucide-icon",0),e.j41(1,"div",1)(2,"span",2),e.EFF(3),e.k0s(),e.nVh(4,B,3,4,"small",3),e.k0s(),e.j41(5,"small",4)(6,"b",5),e.EFF(7,"\u25cf"),e.k0s(),e.EFF(8,"LIVE\n"),e.k0s()),2&i){let s;e.Y8G("img",o.conferenceWrapper.isAudio?o.Volume2:o.Video),e.R7$(3),e.JRh(o.conferenceWrapper.label),e.R7$(),e.vxM((s=o.conferenceWrapper.startAt)?4:-1,s)}},dependencies:[I.flO,I.WGl,y.a],styles:["[_nghost-%COMP%]{border-top:1px solid var(--border-color);display:flex;gap:var(--spacer);align-items:center;padding:var(--spacer-s) var(--spacer-s) var(--spacer-s) var(--spacer);border-radius:var(--border-radius);min-width:100px;--svg-size: 17px}[_nghost-%COMP%]:empty{display:none}[_nghost-%COMP%] .live.badge[_ngcontent-%COMP%]{display:none}.active-now[_nghost-%COMP%]{--svg-color: var(--status-available)}.avatar-style-circle [_nghost-%COMP%]{border:none}.new-design [_nghost-%COMP%]{border:1px solid var(--border-color);--svg-color: var(--bg-secondary);--svg-size: 20px}.new-design [_nghost-%COMP%] .conference-name[_ngcontent-%COMP%]{font-weight:var(--font-weight-bold)}
1.new-design [_nghost-%COMP%] .conference-time[_ngcontent-%COMP%]{color:var(--text-hint)}.new-design .active-now[_nghost-%COMP%] .live.badge[_ngcontent-%COMP%]{display:inline-block;box-shadow:0 0 10px color-mix(in srgb,var(--bg-secondary) 50%,transparent);animation:_ngcontent-%COMP%_pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes _ngcontent-%COMP%_pulse{50%{opacity:.5}}"]})}return t})();var F=r(49769),K=r(89079),ue=r(82529);const be=()=>({exact:!0});function ge(t,c){1&t&&e.nrm(0,"app-message-centered",0)}function Ce(t,c){1&t&&e.nrm(0,"app-message-centered",1)}function fe(t,c){if(1&t&&e.nrm(0,"meeting-list-item",4),2&t){const n=c.$implicit;e.Y8G("routerLink",n.routerLink)("routerLinkActiveOptions",e.lJ4(3,be))("conferenceWrapper",n)}}function ie(t,c){if(1&t){const n=e.RV6();e.j41(0,"div",3),e.bIt("infiniteScrollCallback",function(){a.eBV(n);const o=e.XpG();return a.Njj(o.localService.showMore())}),e.Z7z(1,fe,1,4,"meeting-list-item",4,e.fX1),e.nI1(3,"slice"),e.k0s()}if(2&t){const n=e.XpG();e.Y8G("infiniteScrollContainer","meeting-list")("infiniteScrollDistance",1),e.R7$(),e.Dyx(e.brH(3,2,n.visibleConferences(),0,n.localService.limit))}}let x=(()=>{class t{localService=(0,a.WQX)(g);meetingService=(0,a.WQX)(l.X);search=(0,M.hFB)("");visibleConferences=(0,K.ot)(this.localService.getVisibleConferences((0,K.br)(this.search)),{initialValue:[]});anyConferences=(0,K.ot)(this.meetingService.anyConferences$);redirectSubscription;ngOnInit(){this.redirectSubscription=this.localService.redirect$.subscribe(()=>{})}ngOnDestroy(){this.redirectSubscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=e.VBU({type:t,selectors:[["meeting-list"]],inputs:{search:[1,"search"]},features:[e.Jv_([g])],decls:3,vars:1,consts:[["description","_i18n.NoScheduledConferences","data-qa","no-schedule-conferences"],["description","_i18n.NoMeetingsFound"],["infiniteScroll","",1,"h-100","scrollable",3,"infiniteScrollContainer","infiniteScrollDistance"],["infiniteScroll","",1,"h-100","scrollable",3,"infiniteScrollCallback","infiniteScrollContainer","infiniteScrollDistance"],["routerLinkActive","selected",1,"clickable",3,"routerLink","routerLinkActiveOptions","conferenceWrapper"]],template:function(i,o){1&i&&e.nVh(0,ge,1,0,"app-message-centered",0)(1,Ce,1,0,"app-message-centered",1)(2,ie,4,6,"div",2),2&i&&e.vxM(o.anyConferences()?0===o.visibleConferences().length?1:2:0)},dependencies:[T.D,w,m.wQ,m.Wk,ue.z,F.P9],styles:[".new-design [_nghost-%COMP%]{position:relative;display:block;height:100%}.new-design [_nghost-%COMP%] .scrollable[_ngcontent-%COMP%]{padding:var(--spacer);display:flex;flex-direction:column;gap:var(--spacer-s)}.new-design [_nghost-%COMP%] .message_in_the_center[_ngcontent-%COMP%]{color:var(--text-hint);top:30%;left:0;width:100%;transform:none}"]})}return t})();var D=r(68018),Q=r(18054),oe=r(65352),ne=r(65656),Ue=r(48545);function He(t,c){if(1&t&&(e.j41(0,"a",3),e.nI1(1,"translate"),e.nrm(2,"lucide-icon",4),e.k0s(),e.j41(3,"a",5),e.nI1(4,"translate"),e.nrm(5,"lucide-icon",4),e.k0s()),2&t){const n=e.XpG();e.Y8G("title",e.bMT(1,4,"_i18n.NewConference")),e.R7$(2),e.Y8G("img",n.Plus),e.R7$(),e.Y8G("title",e.bMT(4,6,"_i18n.Webmeeting")),e.R7$(2),e.Y8G("img",n.Video)}}function Ye(t,c){1&t&&e.eu8(0,11)}function Ke(t,c){if(1&t&&e.nrm(0,"app-message-centered",10),2&t){const n=e.XpG(2);e.Y8G("icon",n.Calendar)}}function Qe(t,c){if(1&t){const n=e.RV6();e.j41(0,"app-layout-type4")(1,"search-bar",6),e.mxI("ngModelChange",function(o){a.eBV(n);const s=e.XpG();return e.DH7(s.search,o)||(s.search=o),a.Njj(o)}),e.j41(2,"h3",7),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.DNE(5,Ye,1,0,"ng-container",8),e.k0s(),e.nrm(6,"meeting-list",9)(7,"router-outlet",null,1),e.nVh(9,Ke,1,1,"app-message-centered",10),e.k0s()}if(2&t){const n=e.sdS(8),i=e.XpG(),o=e.sdS(1);e.Y8G("@routeAnimations",i.outletAnimation.prepareRoute(n)),e.R7$(),e.R50("ngModel",i.search),e.Y8G("clearable",!0),e.R7$(2),e.JRh(e.bMT(4,7,"_i18n.Meet")),e.R7$(2),e.Y8G("ngTemplateOutlet",o),e.R7$(),e.Y8G("search",i.search()),e.R7$(3),e.vxM(!n.isActivated&&i.canChooseConference()?9:-1)}}function ze(t,c){1&t&&e.eu8(0)}function Je(t,c){if(1&t){const n=e.RV6();e.j41(0,"div",2)(1,"div",12)(2,"search-bar",13),e.mxI("ngModelChange",function(o){a.eBV(n);const s=e.XpG();return e.DH7(s.search,o)||(s.search=o),a.Njj(o)}),e.j41(3,"div",14),e.DNE(4,ze,1,0,"ng-container",15),e.k0s()()(),e.nrm(5,"meeting-list",16)(6,"router-outlet",null,1),e.k0s()}if(2&t){const n=e.sdS(7),i=e.XpG(),o=e.sdS(1);e.Y8G("@routeAnimations",i.outletAnimation.prepareRoute(n)),e.R7$(2),e.R50("ngModel",i.search),e.R7$(2),e.Y8G("ngTemplateOutlet",o),e.R7$(),e.Y8G("search",i.search())}}let Ze=(()=>{class t{outletAnimation=(0,a.WQX)(u.L);isNewDesign=(0,a.WQX)(N.T);localService=(0,a.WQX)(g);search=(0,a.vPA)("");Plus=I.FWt;Video=I.CeX;Calendar=I.VvS;canChooseConference=(0,K.ot)(this.localService.getVisibleConferences((0,K.br)(this.search)).pipe((0,v.T)(n=>0!==n.length)));static \u0275fac=function(i){return new(i||t)};static \u0275cmp=e.VBU({type:t,selectors:[["meeting-layout"]],features:[e.Jv_([oe.L,ne.v,Ue.b,u.L,g])],decls:4,vars:1,consts:[["buttons",""],["outlet","outlet"],[1,"layout-type4"],["data-qa","new-conference","routerLink","/conferences/schedule/new",1,"btn","btn-icon","btn-plain",3,"title"],[3,"img"],["data-qa","web-meeting","routerLink","/conferences",1,"btn","btn-icon","btn-plain",3,"title"],["layout-header","",1,"layout-header",3,"ngModelChange","ngModel","clearable"],["search-prepend","","data-qa","title-header",1,"mb-0","me-2"],["ngProjectAs","[search-prepend]",5,["","search-prepend",""],4,"ngTemplateOutlet"],["layout-nav","",3,"search"],["header","_i18n.SelectMeeting","description","_i18n.SelectMeetingDescription",1,"d-md-down-none",3,"icon"],["ngProjectAs","[search-prepend]",5,["","search-prepend",""]],[1,"layout-type4-header","border-bottom","d-flex","align-items-center","aside-align"],[1,"flex-1",3,"ngModelChange","ngModel"],["search-prepend","",1,"me-1"],[4,"ngTemplateOutlet"],[1,"layout-type4-nav","b-r",3,"search"]],template:function(i,o){1&i&&(e.DNE(0,He,6,8,"ng-template",null,0,e.C5r),e.nVh(2,Qe,10,9,"app-layout-type4")(3,Je,8,4,"div",2)),2&i&&(e.R7$(2),e.vxM(o.isNewDesign()?2:3))},dependencies:[O.L,f.YN,f.BC,f.vS,x,_.n3,Q.i,I.flO,I.WGl,m.Wk,F.T3,ue.z,D.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%] .layout-header[_ngcontent-%COMP%]{min-height:var(--aside-folded-nav-height)}@media(max-width:575.98px){[_nghost-%COMP%] .layout-header[_ngcontent-%COMP%]{min-height:0;padding-block:var(--spacer-semi-medium)}}"],data:{animation:[d.oK]},changeDetection:0})}return t})();var $=r(25558),he=r(38278),ae=r(38601),k=r(11082);let qe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=e.VBU({type:t,selectors:[["app-volume-up-solid-icon"],["","app-volume-up-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 576 512"],["d","M215.03 71.05 126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z"]],template:function(i,o){1&i&&(a.qSk(),e.rj2(0,"svg",0),e.Hgh(1,"path",1),e.eux())},encapsulation:2})}return t})();var en=r(9764),nn=r(38969),Ee=r(72252),tn=r(32271),Te=r(43123);let on=(()=>{class t{transform(n){return n.split("\n").join("<br>")}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=e.EJ8({name:"newLineReplaceToBr",type:t,pure:!0})}return t})();var Ne=r(84460),Ie=r(70299);
1function an(t,c){if(1&t&&e.nrm(0,"app-input-copy-to-clipboard",3),2&t){const n=e.XpG(4);e.Y8G("data",n.item.getPinCode())("label","_i18n.ConferenceId")}}function rn(t,c){if(1&t&&(e.j41(0,"label",6),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.j41(3,"p",7),e.EFF(4),e.k0s()),2&t){const n=e.XpG(4);e.R7$(),e.JRh(e.bMT(2,4,"_i18n.ConferenceNotes")),e.R7$(2),e.xc7("max-height",200,"px"),e.R7$(),e.JRh(n.conferenceNotes)}}function cn(t,c){if(1&t&&(e.j41(0,"div",2),e.nVh(1,an,1,2,"app-input-copy-to-clipboard",3),e.nrm(2,"field-input",4),e.nI1(3,"amDateFormat"),e.nrm(4,"field-input",5),e.nI1(5,"translate"),e.k0s(),e.nVh(6,rn,5,6)),2&t){const n=e.XpG(3);e.R7$(),e.vxM(n.item.getPinCode()?1:-1),e.R7$(),e.Y8G("ngModel",e.i5U(3,8,n.item.startAt,"LL LT"))("label","_i18n.ConferenceStartDate")("readonly",!0),e.R7$(2),e.Y8G("ngModel",e.bMT(5,11,n.conferenceType()))("label","_i18n.Type")("readonly",!0),e.R7$(2),e.vxM(n.item.description?6:-1)}}function sn(t,c){if(1&t&&(e.j41(0,"tr")(1,"td",8)(2,"p"),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"td",10)(6,"p"),e.EFF(7),e.k0s()()()),2&t){const n=e.XpG(4);e.R7$(3),e.SpI("",e.bMT(4,2,"_i18n.ConferenceId"),":"),e.R7$(4),e.JRh(n.item.getPinCode())}}function ln(t,c){if(1&t&&(e.j41(0,"tr")(1,"td",11)(2,"p",12),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"td",10),e.nrm(6,"p",13),e.nI1(7,"newLineReplaceToBr"),e.k0s()()),2&t){const n=e.XpG(4);e.R7$(3),e.JRh(e.bMT(4,2,"_i18n.ConferenceNotes")),e.R7$(3),e.Y8G("innerHTML",e.bMT(7,4,n.conferenceNotes),e.npT)}}function dn(t,c){if(1&t&&(e.j41(0,"table")(1,"tbody")(2,"tr")(3,"td",8)(4,"p",9),e.EFF(5,"Start Date"),e.k0s()(),e.j41(6,"td",10)(7,"p"),e.EFF(8),e.nI1(9,"amDateFormat"),e.k0s()()(),e.j41(10,"tr")(11,"td",8)(12,"p",9),e.EFF(13,"Start Time"),e.k0s()(),e.j41(14,"td",10)(15,"p"),e.EFF(16),e.nI1(17,"amDateFormat"),e.k0s()()(),e.nVh(18,sn,8,4,"tr"),e.nVh(19,ln,8,6,"tr"),e.k0s()()),2&t){const n=e.XpG(3);e.R7$(4),e.Y8G("translate","_i18n.ConferenceStartDate"),e.R7$(4),e.SpI("",e.i5U(9,6,n.item.startAt,"LL")," "),e.R7$(4),e.Y8G("translate","_i18n.ConferenceStartTime"),e.R7$(4),e.JRh(e.i5U(17,9,n.item.startAt,"LT")),e.R7$(2),e.vxM(n.item.getPinCode()?18:-1),e.R7$(),e.vxM(n.item.description?19:-1)}}function pn(t,c){if(1&t&&e.nVh(0,cn,7,13)(1,dn,20,12,"table"),2&t){const n=e.XpG(2);e.vxM(n.isNewDesign()?0:1)}}function _n(t,c){if(1&t&&e.nrm(0,"p",14),2&t){const n=e.XpG(2);e.HbH(n.isNewDesign()?"text-hint":""),e.Y8G("innerHTML",n.joinDetails,e.npT)}}function mn(t,c){if(1&t&&(e.j41(0,"div"),e.nVh(1,pn,2,1),e.nVh(2,_n,1,3,"p",1),e.nrm(3,"br"),e.k0s()),2&t){const n=e.XpG();e.R7$(),e.vxM(n.item.startAt?1:-1),e.R7$(),e.vxM(n.joinDetails?2:-1)}}let xe=(()=>{class t{item;joinDetails;isNewDesign=(0,a.WQX)(N.T);conferenceType=(0,tn.EW)(()=>this.item.isAudio?"_i18n.Audio":"_i18n.Video");get conferenceNotes(){return(0,Te.Z)(this.item?.description??"")}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=e.VBU({type:t,selectors:[["conference-preview"]],inputs:{item:"item",joinDetails:"joinDetails"},decls:2,vars:1,consts:[[1,"conferenceBlock"],[3,"class","innerHTML"],[1,"row"],["data-qa","conference-id",1,"col-md-12",3,"data","label"],["data-qa","conference-start-date",1,"col-md-6",3,"ngModel","label","readonly"],["data-qa","conference-type",1,"col-md-6",3,"ngModel","label","readonly"],["for","conference-notes",1,"form-label"],["id","conference-notes",1,"form-control","overflow-auto","text-keep-lines","mb-3"],[1,"td-1"],[3,"translate"],[1,"td-d"],["valign","top"],[2,"margin-top","5px"],[2,"margin-top","5px",3,"innerHTML"],[3,"innerHTML"]],template:function(i,o){1&i&&(e.j41(0,"div",0),e.nVh(1,mn,4,2,"div"),e.k0s()),2&i&&(e.R7$(),e.vxM(o.item.isPrivate?-1:1))},dependencies:[D.Mm,Ie.Y,Ne.m,f.YN,f.BC,f.vS,y.a,D.D9,on],styles:[".conferenceBlock[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.conferenceBlock[_ngcontent-%COMP%] .td-d[_ngcontent-%COMP%]{padding-left:20px}.conferenceBlock[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{display:inline-block}"]})}return t})();var G=r(1211),te=r(7673),_e=r(16444),re=r(96049),ce=r(33971),ve=r(46062);let Oe=(()=>{class t{audioConferenceService=(0,a.WQX)(he.z);myPhoneService=(0,a.WQX)(_e.gx);translateService=(0,a.WQX)(D.c$);modalService=(0,a.WQX)(ae.B);confCallParticipants$;privateConferenceSearchContext=re.o.forPrivateConference();videoConferenceSearchContext=re.o.forVideoAndAudioConference();audioSearchContext$;audioSearchContextTitle$;constructor(){this.confCallParticipants$=this.myPhoneService.myPhoneSession.pipe((0,$.n)(n=>n.systemParameters$),(0,v.T)(n=>n.ConfCallParticipants))}onChange(n,i){n.conference&&(this.audioSearchContext$=i&&i.isWebMeeting?(0,te.of)(this.videoConferenceSearchContext):this.confCallParticipants$.pipe((0,v.T)(o=>o?re.o.forAudioConference():re.o.forVideoAndAudioConference())),this.audioSearchContextTitle$=i&&i.isWebMeeting?(0,te.of)("_i18n.EnterNameOrEmail"):this.confCallParticipants$.pipe((0,v.T)(o=>o?"_i18n.SearchOrEnterEmailOrNumber":"_i18n.EnterNameOrEmail")))}getSearchContext(n,i){return n.isPrivate||i?(0,te.of)(this.privateConferenceSearchContext):this.audioSearchContext$}getSearchPlaceHolder(n,i){return n.isPrivate||i?this.translateService.stream("_i18n.SearchOrEnterNumber"):this.audioSearchContextTitle$.pipe((0,$.n)(o=>this.translateService.stream(o||"")))}addContact(n,i){return!!i.isScheduled||(n.isEmail?(this.modalService.error("_i18n.AttemptAddEmailPrivateConference"),!1):(ce.TJ.isValidPhoneNumber(n.number)||n.contact?.type===ve.eE.Extension&&n.number===n.contact?.phones.extension?this.audioConferenceService.addConferenceParticipant(n.number,i.getPinCode()).subscribe():this.modalService.error("_i18n.PleaseEnterCorrectNumber"),!1))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=a.jDH({token:t,factory:t.\u0275fac})}return t})();var Se=r(26030),un=r(1191);function gn(t,c){1&t&&(e.j41(0,"label",3),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&t&&(e.R7$(),e.JRh(e.bMT(2,1,"_i18n.Participants")))}function Cn(t,c){1&t&&e.eu8(0)}function fn(t,c){if(1&t){const n=e.RV6();e.j41(0,"div")(1,"label"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"find-contact",2),e.nI1(5,"async"),e.nI1(6,"async"),e.bIt("contactSelected",function(o){a.eBV(n);const s=e.XpG();return a.Njj(s.addContact(o,s.conference))}),e.k0s(),e.nVh(7,gn,3,3,"label",3),e.DNE(8,Cn,1,0,"ng-container",4),e.k0s()}if(2&t){const n=e.XpG(),i=e.sdS(2);e.R7$(),e.HbH(n.isNewDesign()?"form-label":""),e.R7$(),e.JRh(e.bMT(3,8,"_i18n.AddChatParticipants")),e.R7$(2),e.Y8G("showAddButton",!0)("searchContext",e.bMT(5,10,n.localService.getSearchContext(n.conference,n.adhocConference)))("placeholder",e.bMT(6,12,n.localService.getSearchPlaceHolder(n.conference,n.adhocConference))),e.R7$(3),e.vxM(n.isNewDesign()?7:-1),e.R7$(),e.Y8G("ngTemplateOutlet",i)}}function hn(t,c){if(1&t){const n=e.RV6();e.j41(0,"button",11),e.bIt("click",function(){a.eBV(n);const o=e.XpG(2).$implicit,s=e.XpG(2);return a.Njj(s.dropConferenceParticipant(o.model,s.conference))}),e.nrm(1,"app-icon",12),e.k0s()}if(2&t){const n=e.XpG(4);e.R7$(),e.Y8G("icon",n.phoneOffIcon)}}function vn(t,c){if(1&t){const n=e.RV6();e.j41(0,"button",13),e.bIt("click",function(){a.eBV(n);const o=e.XpG(2).$implicit,s=e.XpG(2);return a.Njj(s.callConferenceParticipant(o.model,s.conference))}),e.nrm(1,"app-icon",14),e.k0s()}if(2&t){const n=e.XpG(4);e.R7$(),e.Y8G("icon",n.phoneCallIcon)}}function bn(t,c){if(1&t){const n=e.RV6();e.j41(0,"button",15),e.bIt("click",function(){a.eBV(n);const o=e.XpG(2).$implicit,s=e.XpG(2);return a.Njj(s.toggleMuteParticipant(o.model,s.conference))}),e.nrm(1,"app-icon",16),e.k0s()}if(2&t){const n=e.XpG(4);e.R7$(),e.Y8G("icon",n.micIcon)}}function En(t,c){if(1&t){const n=e.RV6();e.j41(0,"button",17),e.bIt("click",function(){a.eBV(n);const o=e.XpG(2).$implicit,s=e.XpG(2);return a.Njj(s.toggleMuteParticipant(o.model,s.conference))}),e.nrm(1,"app-icon",16),e.k0s()}if(2&t){const n=e.XpG(4);e.R7$(),e.Y8G("icon",n.micOffIcon)}}function Mn(t,c){if(1&t&&(e.nVh(0,hn,2,1,"button",7),e.nVh(1,vn,2,1,"button",8),e.nVh(2,bn,2,1,"button",9),e.nVh(3,En,2,1,"button",10)),2&t){const n=e.XpG().$implicit,i=e.XpG(2);e.vxM(n.model.Status===i.ConferenceParticipantStatus.CONNECTED||n.model.Status===i.ConferenceParticipantStatus.JOINING||n.model.Status===i.ConferenceParticipantStatus.MUTED?0:-1),e.R7$(),e.vxM(n.model.Status===i.ConferenceParticipantStatus.FAILEDTOREACH||n.model.Status===i.ConferenceParticipantStatus.DISCONNECTED?1:-1),e.R7$(),e.vxM(n.model.Status===i.ConferenceParticipantStatus.CONNECTED?2:-1),e.R7$(),e.vxM(n.model.Status===i.ConferenceParticipantStatus.MUTED?3:-1)}}function Pn(t,c){1&t&&e.eu8(0)}function Tn(t,c){if(1&t&&(e.j41(0,"div",5)(1,"div",18)(2,"span",19),e.EFF(3),e.k0s(),e.j41(4,"small",20),e.EFF(5),e.nI1(6,"translate"),e.k0s()(),e.j41(7,"div",21),e.DNE(8,Pn,1,0,"ng-container",4),e.k0s()()),2&t){const n=e.XpG().$implicit,i=e.sdS(1),o=e.XpG(2);e.R7$(3),e.JRh(n),e.R7$(2),e.JRh(e.bMT(6,3,o.getTextByStatus(n.model.Status))),e.R7$(3),e.Y8G("ngTemplateOutlet",i)}}function Nn(t,c){1&t&&e.eu8(0)}function In(t,c){if(1&t&&(e.j41(0,"div")(1,"span",22),e.EFF(2),e.k0s(),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.DNE(6,Nn,1,0,"ng-container",4),e.k0s()),2&t){const n=e.XpG().$implicit,i=e.sdS(1),o=e.XpG(2);e.HbH(e.VkB("participant list-group-item p-1 ",o.isNewDesign()?"":"mhover")),e.R7$(2),e.JRh(n),e.R7$(),e.HbH(o.getColorClassByStatus(n.model.Status)),e.R7$(),e.SpI(" ",e.bMT(5,8,o.getTextByStatus(n.model.Status))," "),e.R7$(2),e.Y8G("ngTemplateOutlet",i)}}function xn(t,c){if(1&t&&(e.DNE(0,Mn,4,4,"ng-template",null,1,e.C5r),e.nVh(2,Tn,9,5,"div",5)(3,In,7,10,"div",6)),2&t){const n=e.XpG(2);e.R7$(2),e.vxM(n.isNewDesign()?2:3)}}function On(t,c){if(1&t&&(e.j41(0,"div"),e.Z7z(1,xn,4,1,null,null,e.fX1),e.k0s()),2&t){const n=e.XpG();e.HbH(n.isNewDesign()?"d-flex flex-column gap-2":"list-group mt-2"),e.R7$(),e.Dyx(n.participants)}}let Re=(()=>{class t{audioConferenceService=(0,a.WQX)(he.z);localService=(0,a.WQX)(Oe);isNewDesign=(0,a.WQX)(N.T);participants;canAddMoreParticipants=!1;conference;adhocConference;searchResultEmitted=(0,M.CGW)();phoneCallIcon=I.d3s;phoneOffIcon=I.Q3b;micIcon=I.GOn;micOffIcon=I.jjZ;ngOnChanges(n){this.localService.onChange(n,this.conference)}addContact(n,i){this.localService.addContact(n,i)&&this.searchResultEmitted.emit(n)}dropConferenceParticipant(n,i){this.audioConferenceService.dropConferenceParticipant(n,i)}callConferenceParticipant(n,i){this.audioConferenceService.callConferenceParticipant(n,i)}toggleMuteParticipant(n,i){this.audioConferenceService.toggleMuteParticipant(n,i)}getColorClassByStatus(n){return`participant-status text-truncate ${this.audioConferenceService.getColorClassByStatus(n)}`}getTextByStatus(n){return this.audioConferenceService.getTextByStatus(n)}ConferenceParticipantStatus=G.su0;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=e.VBU({type:t,selectors:[["ongoing-participants"]],inputs:{participants:"participants",canAddMoreParticipants:"canAddMoreParticipants",conference:"conference",adhocConference:"adhocConference"},outputs:{searchResultEmitted:"searchResultEmitted"},features:[e.Jv_([Oe]),e.OA$],decls:3,vars:1,consts:[["participantList",""],["participantActions",""],[3,"contactSelected","showAddButton","searchContext","placeholder"],[1,"form-label"],[4,"ngTemplateOutlet"],[1,"border","rounded","bg-tiles","d-flex","align-items-center","flex-row","gap-1","p-2"],[3,"class"],["
1id","btnDropConferenceParticipant","type","button",1,"btn","btn-icon","btn-plain"],["id","btnCallConferenceParticipant","type","button",1,"btn","btn-icon","btn-plain"],["id","btnMuteParticipant","type","button",1,"btn","btn-icon","btn-plain"],["id","btnUnmuteParticipant","type","button",1,"btn","btn-icon","btn-plain"],["id","btnDropConferenceParticipant","type","button",1,"btn","btn-icon","btn-plain",3,"click"],[1,"fillIconRed",3,"icon"],["id","btnCallConferenceParticipant","type","button",1,"btn","btn-icon","btn-plain",3,"click"],[1,"fillIconGreen",3,"icon"],["id","btnMuteParticipant","type","button",1,"btn","btn-icon","btn-plain",3,"click"],[3,"icon"],["id","btnUnmuteParticipant","type","button",1,"btn","btn-icon","btn-plain",3,"click"],[1,"d-flex","flex-column","mw-0","gap-1"],[1,"text-truncate"],[1,"text-hint","text-truncate"],[1,"ms-auto","text-nowrap"],[1,"participantsRowMail","text-truncate"]],template:function(i,o){1&i&&(e.nVh(0,fn,9,14,"div"),e.DNE(1,On,3,2,"ng-template",null,0,e.C5r)),2&i&&e.vxM(o.canAddMoreParticipants?0:-1)},dependencies:[Se.N,F.T3,un.R,f.YN,F.Jj,D.D9],styles:['.participant[_ngcontent-%COMP%]{display:grid;max-width:100%;grid-template-columns:1fr auto auto;grid-template-areas:"name button1 button2" "status button1 button2";background:var(--bg-primary-active);border-bottom:1px solid var(--border-color)}.participant[_ngcontent-%COMP%] .participantsRow[_ngcontent-%COMP%] p.participantsRowMail[_ngcontent-%COMP%]{width:250px}.participant[_ngcontent-%COMP%] .participantsRowMail[_ngcontent-%COMP%]{grid-area:name}.participant[_ngcontent-%COMP%] .participant-status[_ngcontent-%COMP%]{grid-area:status}.participant[_ngcontent-%COMP%] .rotatePhone[_ngcontent-%COMP%]{top:5px!important;width:20px!important;transform:rotate(135deg)}#btnDropConferenceParticipant[_ngcontent-%COMP%], #btnCallConferenceParticipant[_ngcontent-%COMP%]{grid-area:button1}#btnMuteParticipant[_ngcontent-%COMP%], #btnUnmuteParticipant[_ngcontent-%COMP%]{grid-area:button2}']})}return t})();function Sn(t,c){1&t&&e.nrm(0,"span",3)}function Rn(t,c){1&t&&e.nrm(0,"span",4)}function An(t,c){if(1&t){const n=e.RV6();e.j41(0,"div",0)(1,"div",1)(2,"div",2),e.nVh(3,Sn,1,0,"span",3)(4,Rn,1,0,"span",4),e.k0s(),e.nrm(5,"span",5),e.j41(6,"a",6),e.nI1(7,"translate"),e.bIt("click",function(){const o=a.eBV(n),s=e.XpG();return a.Njj(s.deleteConference(o.getPinCode()))}),e.k0s(),e.j41(8,"app-mobile-close-button",7),e.bIt("click",function(){a.eBV(n);const o=e.XpG();return a.Njj(o.back())}),e.k0s()(),e.j41(9,"div",8),e.nrm(10,"conference-preview",9),e.j41(11,"div",10),e.nrm(12,"ongoing-participants",11),e.k0s()()()}if(2&t){const n=c,i=e.XpG();e.R7$(3),e.vxM(n.isAudio?3:4),e.R7$(2),e.Y8G("translate","_i18n.ConfPrivateConferenceTitle"),e.R7$(),e.Y8G("title",e.mNQ(e.bMT(7,8,"_i18n.Delete"))),e.R7$(4),e.Y8G("item",n),e.R7$(2),e.Y8G("canAddMoreParticipants",!0)("conference",n)("participants",i.participants())}}let yn=(()=>{class t{audioConferenceService=(0,a.WQX)(he.z);meetingService=(0,a.WQX)(ne.v);modalService=(0,a.WQX)(ae.B);router=(0,a.WQX)(_.Ix);editMode;privateConference=(0,K.ot)(this.audioConferenceService.privateConference$);participants=(0,K.ot)(this.audioConferenceService.privateConferenceParticipants$);back(){this.router.navigate([k.od])}deleteConference(n){return this.modalService.confirmDeletion("_i18n.Conference_DeleteConfirmMessage").pipe((0,$.n)(()=>this.meetingService.sendDeleteActiveConferenceRequest(n,!0))).subscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=e.VBU({type:t,selectors:[["ng-component"]],decls:1,vars:1,consts:[[1,"h-100","d-flex","flex-column","bg"],[1,"p-1","lter","b-b","d-flex","align-items-center","aside-align"],[1,"header-icon"],["app-volume-up-solid-icon","",1,"customSVGIcons","svg-sm"],["app-video-solid-icon","",1,"customSVGIcons","svg-sm"],[1,"text-md","me-auto","text-truncate",3,"translate"],["id","btnStopConference","app-trash-alt-solid-icon","",1,"btn","btn-plain","w-auto",3,"click","title"],[3,"click"],[1,"wrapper-lg","overflow-auto","h-100","bg-tiles"],[3,"item"],[1,"ongoing-participants"],[3,"canAddMoreParticipants","conference","participants"]],template:function(i,o){if(1&i&&e.nV
1h(0,An,13,10,"div",0),2&i){let s;e.vxM((s=o.privateConference())?0:-1,s)}},dependencies:[qe,en.T,D.Mm,nn.d,Ee.U,xe,Re,D.D9],styles:[".header-icon[_ngcontent-%COMP%]{flex:none;width:var(--avatar-size);display:flex;align-items:center;justify-content:center}.ongoing-participants[_ngcontent-%COMP%] .list-group[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:var(--bg-primary-active)}"]})}return t})();var Dn=r(44652),se=r(983),Ae=r(5964),z=r(96697),le=r(2693),ye=r(27199),De=r(27468),Gn=r(67374),H=r.n(Gn);function Ge(t){return t.AllowParticipantControl=!0,t.EveryoneIsAnOrganizer=!1,t.OrganizerConnectsFirst=!0,t.HideNames=!1,t.ParticipantRightsAudio=!0,t.ParticipantRightsVideo=!0,t.ParticipantRightsChat=!0,t}class We{_isNew=!1;get IsNew(){return this._isNew}set IsNew(c){this._isNew=c,this.calendarType=this._isNew?G.oKl.Google:G.oKl.NoService}get isWebinar(){return this.IsVideoConference&&this.VideoConferenceProfileType.value===k.mT.Webinar}get isWebmeeting(){return this.IsVideoConference&&this.VideoConferenceProfileType.value===k.mT.WebMeeting}Id;ScheduleId;OrganizerEmail;PinCode;IsVideoConference;NameOfConference="";DescriptionOfConference="";StartDate=new Date;get EndDate(){return H()(this.StartDate).add(H().duration({minutes:this.Duration})).toDate()}Duration;EnableAnnouncements;VideoConferenceProfileType=k.A3[0];ParticipantRightsAudio;ParticipantRightsVideo=!0;ParticipantRightsChat;AllowParticipantControl=!0;EveryoneIsAnOrganizer=!0;OrganizerConnectsFirst;HideNames;Moderators="";EmailBody="";MainDidNumber="";WebMeetingState;Participants=[];StartNow;calendarType=G.oKl.Google;constructor(c){Object.assign(this,c)}deleteAllParticipants(){this.Participants=[]}switchToAudio(c){c&&(this.Participants=Object.values(this.Participants.reduce((n,i)=>(i.Number&&!n[i.Number]&&(n[i.Number]=i),n),{})))}switchToVideo(){this.Participants=Object.values(this.Participants.reduce((c,n)=>(n.Email&&n.Email.toLowerCase()!==this.OrganizerEmail.toLowerCase()&&!c[n.Email]&&(c[n.Email]=n),c),{}))}deleteParticipant(c){const n=this.Participants,i=n.indexOf(c);i>=0&&n.splice(i,1)}get conferenceCalendar(){return k.os.find(c=>c.value===this.calendarType)}}var de=r(82971);function we(t){const c=t.contact,n=new le.J;return c?(n.Number=t.isEmail?"":(0,ye.b)(t.number),n.IsExtension=n.Number===c.extensionNumber&&c.type===ve.eE.Extension&&c.bridgeId===ve.Ij,n.Email=c.emailAddress,n.Name=t.name):(n.IsExtension=!1,t.isEmail?(n.Email=t.number,n.Name=ce.TJ.substrEmailToName(n.Email),n.Number=""):ce.TJ.isValidPhoneNumber(t.number)?(n.Email="",n.Number=(0,ye.b)(t.number)):(n.Email="",n.Number="")),n}let Ve=(()=>{class t{myPhoneService=(0,a.WQX)(_e.gx);audioConferenceService=(0,a.WQX)(he.z);videoConferenceService=(0,a.WQX)(oe.L);meetingService=(0,a.WQX)(ne.v);modalService=(0,a.WQX)(ae.B);contactService=(0,a.WQX)(Dn.D);router=(0,a.WQX)(_.Ix);translate=(0,a.WQX)(D.c$);conference$;scheduledConference$;joinLink$;joinDetails$;isTcxCalendar$;isAdhocConference$;isTcxCalendarOrAdhocConference$;calendarNotes$;participantsViewModels$;scheduledConferenceParticipants$;notConnectedScheduledConferenceParticipants$;confCallParticipants$;constructor(){const n=(0,a.WQX)(_.nX),i=this.audioConferenceService,o=n.params.pipe((0,v.T)(C=>+C.id));this.confCallParticipants$=this.myPhoneService.myPhoneSession.pipe((0,$.n)(C=>C.systemParameters$),(0,v.T)(C=>C.ConfCallParticipants)),this.conference$=(0,p.z)([o,i.audioConferences$]).pipe((0,v.T)(([C,P])=>{const V=C;return P.find(ee=>ee.audioConference.Id===V)||(this.router.navigate([k.od]),null)}),(0,h.H9)()),this.scheduledConference$=o.pipe((0,$.n)(C=>this.audioConferenceService.getScheduledConferenceDetailsObservable(C)),(0,h.H9)()),this.isTcxCalendar$=this.scheduledConference$.pipe((0,v.T)(C=>C.CalendarType===G.oKl.Tcx)),this.isAdhocConference$=this.scheduledConference$.pipe((0,v.T)(C=>!C.CalendarType)),this.isTcxCalendarOrAdhocConference$=(0,p.z)([this.isTcxCalendar$,this.isAdhocConference$]).pipe((0,v.T)(C=>C[0]||C[1])),this.calendarNotes$=this.scheduledConference$.pipe((0,$.n)(C=>{let P="";return C.CalendarType===G.oKl.Google?P=this.translate.instant("_i18n.Google"):C.CalendarType===G.oKl.Office365?P=this.translate.instant("_i18n.Office365"):C.CalendarType===G.oKl.Outlook?P=this.translate.instant("_i18n.OutlookOnline"):C.CalendarType===G.oKl.IcsFile&&(P=this.translate.instant("_i18n.iCal")),this.translate.get("_i18n.ConferenceWasCreatedWithExternalCalendar",{calendarType:P})}));const s=this.myPhoneService.myPhoneSession.pipe((0,v.T)(C=>C.conferenceGateway)),b=this.scheduledConference$.pipe((0,v.T)(C=>C.ExternalNumberOfConference));this.joinDetails$=(0,p.z)([s,b]).pipe((0,$.n)(C=>{const P=C[0];let V=C[1];const Y=V?"_i18n.JoinDetails":"_i18n.JoinDetailsInternalOnly";return V&&(V="<br>"+(0,Te.Z)(V).replace(",","<br>")),this.translate.get(Y,{externalNumber:V||"%CONFERENCEMAINNUMBER%",internalNumber:P})})),this.scheduledConferenceParticipants$=o.pipe((0,$.n)(C=>this.audioConferenceService.getScheduledConferenceParticipantsObservable(this.scheduledConference$)),(0,h.H9)()),this.participantsViewModels$=o.pipe((0,$.n)(C=>this.audioConferenceService.getAudioConferenceParticipantViewModels(C)),(0,h.H9)());const S=(0,p.z)([this.participantsViewModels$,this.scheduledConferenceParticipants$]);this.notConnectedScheduledConferenceParticipants$=S.pipe((0,v.T)(C=>{const[P,V]=C;return V.filter(Y=>!P.find(ee=>Y.Number===ee.Number))}
1),(0,h.H9)()),this.joinLink$=this.audioConferenceService.joinLinkObservable(this.scheduledConference$)}deleteConference(){const n=this.conference$.pipe((0,Ae.p)(i=>!!i),(0,z.s)(1),(0,$.n)(i=>i.isWebMeeting?this.deleteWebmeetingConference(i):this.deleteAudioConference(i)));this.modalService.confirmDeletion("_i18n.Conference_DeleteConfirmMessage").pipe((0,$.n)(()=>n)).subscribe({error:i=>this.modalService.error(i)})}join(n){this.audioConferenceService.joinLinkObservable(n).pipe((0,z.s)(1)).subscribe({next:i=>{i&&window.open(i)},error:i=>{this.modalService.error(i)}})}handleSearchResult(n){this.conference$.pipe((0,Ae.p)(i=>!!i),(0,z.s)(1),(0,$.n)(i=>i.isWebMeeting?this.addWebmeetingContact(i,n):this.addAudioConfContact(i,n))).subscribe({error:i=>this.modalService.error(i)})}add(){this.router.navigate([k.i0])}updateSchedule$(n){const i=we(n);return(0,p.z)([this.scheduledConference$,this.myPhoneService.myPhoneSession]).pipe((0,z.s)(1),(0,$.n)(([o,s])=>function Vn(t,c,n){const i=new We,o=H().utc(t.StartAtUTC).local();i.StartDate=o.toDate();const s=H().utc(t.EndAtUTC).local();i.Duration=H().duration(s.diff(o)).asMinutes(),i.IsNew=!1,i.StartNow=!1,i.IsVideoConference=!1,i.ScheduleId=t.Id,i.PinCode=t.ConferencePIN||"",i.NameOfConference=t.Name||"",i.DescriptionOfConference=t.Description||"",i.EnableAnnouncements=!t.DisableUserInteractions||!1,i.AllowParticipantControl=!0,i.OrganizerEmail=c;let S=[],C=[],P=[];t.Emails&&""!==t.Emails&&(S=t.Emails.split(",")),t.InternalParticipants&&""!==t.InternalParticipants&&(C=t.InternalParticipants.split(",")),t.CallToExternalNumbers&&""!==t.CallToExternalNumbers&&(P=t.CallToExternalNumbers.split(",")),i.calendarType=t.CalendarType;const V=0===C.length?(0,te.of)([]):(0,De.p)(C.map(W=>n.requestContactByNumber(W).pipe((0,z.s)(1),(0,v.T)(j=>{const X=new le.J;return void 0!==j&&""!==j.id?(X.IsExtension=!0,X.Name=j.firstNameLastName||j.company||"",j.emailAddress&&(X.Email=j.emailAddress),X.Number=j.extensionNumber):(X.IsExtension=!1,X.Name=W,X.Number=W),X})))),Y=(0,te.of)(P.length>0?P.map(W=>{const j=new le.J;return j.IsExtension=!1,j.Name=W,j.Number=W,j}):[]),ee=0===S.length?(0,te.of)([]):(0,De.p)(S.map(W=>n.requestContactByEmail(W).pipe((0,z.s)(1),(0,v.T)(j=>{const X=new le.J;if(j.isDummy){X.IsExtension=!1;const pe=W.indexOf("@");return X.Name=pe>-1?W.substring(0,W.indexOf("@")):W,X.Email=W,X}{X.IsExtension=j.type===ve.eE.Extension;const pe=W.indexOf("@");return X.Name=pe>-1?W.substring(0,W.indexOf("@")):W,X.Email=W,X.Number=j.extensionNumber,X}}))));return i.Participants=[],(0,p.z)([V,Y,ee]).pipe((0,z.s)(1),(0,v.T)(([W,j,X])=>(i.Participants=X.concat(j,W),i)))}(o,s.myInfo.Email||"",this.contactService)),(0,$.n)(o=>o.Participants.some(s=>s.Number===n.number)?(this.modalService.error("_i18n.ParticipantWithPhoneNumberAlreadyAdded",{p1:n.number}),se.w):(o.Participants.push(i),this.meetingService.createOrUpdateConference(o))))}addAudioConfContact(n,i){return(0,p.z)([this.confCallParticipants$,this.scheduledConferenceParticipants$]).pipe((0,z.s)(1),(0,$.n)(([o,s])=>{if(!n)return se.w;if(i.isEmail){const S=i.number;return s.some(C=>C.Email===S)?(this.modalService.error("_i18n.ParticipantWithEmailAlreadyAdded",{p1:S}),se.w):this.meetingService.updateScheduledConferenceEmails(n.audioConference,[S])}if(!o&&!i.isEmail)return this.modalService.error("_i18n.InvalidEmail"),se.w;const b=i.number;return b&&(b===i.contact?.extensionNumber||ce.TJ.isValidPhoneNumber(b))?n.isStarted?this.audioConferenceService.addConferenceParticipant(i.number,n.getPinCode()):this.updateSchedule$(i):(this.modalService.error("_i18n.PleaseEnterCorrectEmailOrNumber"),se.w)}))}addWebmeetingContact(n,i){return this.videoConferenceService.addWebmeetingContact(n,i)}deleteWebmeetingConference(n){return this.meetingService.sendDeleteVideoConferenceRequest(n.audioConference)}deleteAudioConference(n){return this.meetingService.sendDeleteAudioConferenceRequest(n.audioConference)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=a.jDH({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Xe=(()=>{class t{translate=(0,a.WQX)(D.c$);transform(n){let i="",o="";if(n.Name)i=n.Name,o=[n.Number,n.Email].filter(s=>s).join(", ");else if(n.Number)i=n.Number,o=n.Email;else if(n.Email){const s=n.Email.substring(0,n.Email.lastIndexOf("@"));return this.translate.stream("_i18n.ConferenceGuest").pipe((0,v.T)(b=>`${s||b} (${n.Email})`))}return(0,te.of)(o?`${i} (${o})`:i)}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=e.EJ8({name:"simpleConferenceParticipantVmToString",type:t,pure:!0})}return t})();function Ln(t,c){if(1&t&&(e.j41(0,"h3",5),e.EFF(1),e.k0s()),2&t){const n=e.XpG(2);e.R7$(),e.JRh(n.label)}}function Bn(t,c){if(1&t&&(e.nrm(0,"lucide-icon",10),e.j41(1,"span",11),e.EFF(2),e.k0s()),2&t){const n=e.XpG(2),i=e.XpG();e.Y8G("img",n.isAudio?i.Volume2:i.Video),e.R7$(2),e.JRh(n.label)}}function jn(t,c){if(1&t){const n=e.RV6();e.j41(0,"a",12),e.nI1(1,"translate"),e.bIt("click",function(){a.eBV(n);const o=e.XpG(3);
1return a.Njj(o.localService.join(o.localService.scheduledConference$))}),e.j41(2,"span"),e.EFF(3),e.nI1(4,"translate"),e.k0s()()}if(2&t){const n=e.XpG(3);e.HbH(e.VkB("btn ",n.isNewDesign()?"btn-primary":"btn-plain w-auto")),e.Y8G("title",e.mNQ(e.bMT(1,6,"_i18n.JoinConference"))),e.R7$(3),e.JRh(e.bMT(4,8,"_i18n.JoinConference"))}}function Fn(t,c){if(1&t){const n=e.RV6();e.j41(0,"a",13),e.nI1(1,"translate"),e.bIt("click",function(){a.eBV(n);const o=e.XpG(3);return a.Njj(o.localService.deleteConference())}),e.nrm(2,"lucide-icon",14),e.k0s()}if(2&t){const n=e.XpG(3);e.HbH(e.VkB("btn btn-icon ",n.isNewDesign()?"btn-border":"btn-plain")),e.Y8G("title",e.mNQ(e.bMT(1,6,"_i18n.Delete"))),e.R7$(2),e.Y8G("img",n.Trash2)}}function $n(t,c){if(1&t){const n=e.RV6();e.j41(0,"a",15),e.nI1(1,"translate"),e.bIt("click",function(){a.eBV(n);const o=e.XpG(3);return a.Njj(o.localService.deleteConference())}),e.nrm(2,"lucide-icon",14),e.k0s()}if(2&t){const n=e.XpG(3);e.HbH(e.VkB("btn btn-icon ",n.isNewDesign()?"btn-border":"btn-plain")),e.Y8G("title",e.mNQ(e.bMT(1,6,"_i18n.Delete"))),e.R7$(2),e.Y8G("img",n.Trash2)}}function kn(t,c){if(1&t){const n=e.RV6();e.nVh(0,Ln,2,1,"h3",5)(1,Bn,3,2),e.nVh(2,jn,5,10,"a",6),e.nI1(3,"async"),e.nVh(4,Fn,3,8,"a",7)(5,$n,3,8,"a",8),e.j41(6,"app-mobile-close-button",9),e.bIt("click",function(){a.eBV(n);const o=e.XpG(2);return a.Njj(o.back())}),e.k0s()}if(2&t){const n=e.XpG(),i=e.XpG();e.vxM(i.isNewDesign()?0:1),e.R7$(2),e.vxM(e.bMT(3,3,i.localService.joinLink$)?2:-1),e.R7$(2),e.vxM(null!=n&&n.isStarted?5:4)}}function Un(t,c){if(1&t&&(e.j41(0,"span",19),e.EFF(1),e.nI1(2,"simpleConferenceParticipantVmToString"),e.nI1(3,"async"),e.k0s()),2&t){const n=c.$implicit,i=e.XpG(5);e.HbH(i.isNewDesign()?"border rounded bg-tiles p-2 text-truncate":"list-group-item p-1 mhover"),e.R7$(),e.SpI(" ",e.bMT(3,5,e.bMT(2,3,n))," ")}}function Hn(t,c){if(1&t&&(e.j41(0,"div",16)(1,"div",17),e.Z7z(2,Un,4,7,"span",18,e.Vm6),e.k0s()()),2&t){const n=e.XpG(),i=e.XpG(3);e.R7$(),e.HbH(i.isNewDesign()?"d-flex flex-column gap-2 mw-0":"list-group"),e.R7$(),e.Dyx(n)}}function Yn(t,c){1&t&&e.nVh(0,Hn,4,2,"div",16),2&t&&e.vxM(c.length?0:-1)}function Kn(t,c){if(1&t&&(e.nVh(0,Yn,1,1),e.nI1(1,"async")),2&t){let n;const i=e.XpG(2);e.vxM((n=e.bMT(1,1,i.localService.notConnectedScheduledConferenceParticipants$))?0:-1,n)}}function Qn(t,c){if(1&t&&e.nrm(0,"app-input-copy-to-clipboard",23),2&t){const n=e.XpG();e.Y8G("data",n)}}function zn(t,c){if(1&t&&(e.j41(0,"div",24)(1,"p"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"a",25),e.EFF(5),e.k0s()()),2&t){const n=e.XpG();e.R7$(2),e.JRh(e.bMT(3,4,"_i18n.ClickURLToJoinMeeting")),e.R7$(2),e.Y8G("href",e.mNQ(n),e.B4B),e.R7$(),e.JRh(n)}}function Jn(t,c){if(1&t&&e.nVh(0,Qn,1,1,"app-input-copy-to-clipboard",23)(1,zn,6,6,"div",24),2&t){const n=e.XpG(3);e.vxM(n.isNewDesign()?0:1)}}function Zn(t,c){if(1&t&&(e.j41(0,"p"),e.EFF(1),e.nI1(2,"async"),e.k0s()),2&t){const n=e.XpG(3);e.AVh("text-hint",n.isNewDesign()),e.R7$(),e.SpI(" ",e.bMT(2,3,n.localService.calendarNotes$)," ")}}function qn(t,c){1&t&&e.eu8(0)}function et(t,c){if(1&t){const n=e.RV6();e.j41(0,"div"),e.nrm(1,"conference-preview",20),e.nI1(2,"async"),e.nVh(3,Jn,2,1),e.nI1(4,"async"),e.j41(5,"p"),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.nVh(8,Zn,3,5,"p",21),e.nI1(9,"async"),e.j41(10,"div",16)(11,"ongoing-participants",22),e.nI1(12,"async"),e.nI1(13,"async"),e.nI1(14,"async"),e.bIt("searchResultEmitted",function(o){a.eBV(n);const s=e.XpG(2);return a.Njj(s.localService.handleSearchResult(o))}),e.k0s()(),e.DNE(15,qn,1,0,"ng-container",4),e.k0s()}if(2&t){let n;const i=e.XpG(),o=e.sdS(3),s=e.XpG();e.HbH(s.isNewDesign()?"px-4":"h-100 bg-tiles wrapper-lg overflow-auto"),e.R7$(),e.Y8G("joinDetails",e.bMT(2,15,s.localService.joinDetails$))("item",i),e.R7$(2),e.vxM((n=e.bMT(4,17,s.localService.joinLink$))?3:-1,n),e.R7$(2),e.HbH(e.VkB("participantsHead text-md mt-0 ",s.isNewDesign()?"d-none":"")),e.R7$(),e.JRh(e.bMT(7,19,"_i18n.Participants")),e.R7$(2),e.vxM(e.bMT(9,21,s.localService.isTcxCalendarOrAdhocConference$)?-1:8),e.R7$(3),e.Y8G("conference",i)("participants",e.bMT(12,23,s.localService.participantsViewModels$))("canAddMoreParticipants",e.bMT(13,25,s.localService.isTcxCalendarOrAdhocConference$))("adhocConference",e.bMT(14,27,s.localService.isAdhocConference$)),e.R7$(4),e.Y8G("ngTemplateOutlet",o)}}function nt(t,c){1&t&&e.eu8(0)}function tt(t,c){1&t&&e.eu8(0)}function it(t,c){if(1&t&&(e.DNE(0,kn,7,5,"ng-template",null,0,e.C5r)(2,Kn,2,3,"ng-template",null,1,e.C5r)(4,et,16,29,"
1ng-template",null,2,e.C5r),e.j41(6,"div",3)(7,"div"),e.DNE(8,nt,1,0,"ng-container",4),e.k0s(),e.DNE(9,tt,1,0,"ng-container",4),e.k0s()),2&t){const n=e.sdS(1),i=e.sdS(5),o=e.XpG();e.R7$(7),e.HbH(e.VkB("d-flex align-items-center ",o.isNewDesign()?"gap-2 aside-align-panel-header px-4":"p-1 lter b-b aside-align")),e.R7$(),e.Y8G("ngTemplateOutlet",n),e.R7$(),e.Y8G("ngTemplateOutlet",i)}}let ot=(()=>{class t{localService=(0,a.WQX)(Ve);router=(0,a.WQX)(_.Ix);isNewDesign=(0,a.WQX)(N.T);back(){this.router.navigate([k.od])}Trash2=I.TBR;Video=I.CeX;Volume2=I.jIq;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=e.VBU({type:t,selectors:[["ng-component"]],features:[e.Jv_([Ve])],decls:2,vars:3,consts:[["conferenceHeader",""],["notConnectedParticipants",""],["conferenceView",""],[1,"h-100","bg","d-flex","flex-column"],[4,"ngTemplateOutlet"],[1,"m-0","me-auto","line-clamp-1"],["id","btnJoinConference",3,"class","title"],["id","btnDeleteConference",3,"class","title"],["id","btnStopConference",3,"class","title"],[3,"click"],[1,"svg-sm","header-icon",3,"img"],[1,"text-md","me-auto","text-truncate"],["id","btnJoinConference",3,"click","title"],["id","btnDeleteConference",3,"click","title"],[3,"img"],["id","btnStopConference",3,"click","title"],[1,"ongoing-participants"],["data-qa","ongoing-participant"],["data-qa","name",3,"class"],["data-qa","name"],[3,"joinDetails","item"],[3,"text-hint"],[3,"searchResultEmitted","conference","participants","canAddMoreParticipants","adhocConference"],["label","_i18n.JoinUrl",3,"data"],[1,"conf-join-link"],["id","btnJoinLink","target","_blank",1,"text-break",3,"href"]],template:function(i,o){if(1&i&&(e.nVh(0,it,10,5),e.nI1(1,"async")),2&i){let s;e.vxM((s=e.bMT(1,1,o.localService.conference$))?0:-1,s)}},dependencies:[Ee.U,xe,Re,F.T3,f.YN,Ie.Y,I.flO,I.WGl,F.Jj,D.D9,Xe],styles:[".header-icon[_ngcontent-%COMP%]{flex:none;width:var(--avatar-size);display:flex;align-items:center;justify-content:center}.ongoing-participants[_ngcontent-%COMP%] .list-group[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:var(--bg-primary-active)}"]})}return t})();var at=r(18530),rt=r(57786),Le=r(12426),ct=r(41150),me=r(42610);let Me=(()=>{class t{route=(0,a.WQX)(_.nX);localStorage=(0,a.WQX)(Le.sj);myPhone=(0,a.WQX)(_e.gx);modalService=(0,a.WQX)(ae.B);router=(0,a.WQX)(_.Ix);editorViewModel$;confWrapperThatWeEdit;participantsDeleted$=new at.B;constructor(){const n=this.route,i=this.myPhone,o=(0,a.WQX)(ct.v),s=(0,p.z)([n.params,i.myPhoneSession]).pipe((0,v.T)(([b,S])=>{const C=function Wn(t){let c=new We;return c.IsNew=!0,c.StartNow=!0,c=Ge(c),c.VideoConferenceProfileType=k.A3[0],c.IsVideoConference=!1,c.StartDate=H()().add(H().duration({minutes:15})).toDate(),c.Duration=30,c.EnableAnnouncements=!1,c.OrganizerEmail=t,c}(S.myInfo.Email);return o.data&&(C.NameOfConference=o.data.title,C.Participants=o.data.participants,o.data=void 0),C}),(0,E.M)(b=>{this.localStorage.retrieve(me.Hh.ExternalCalendarTypeId)&&(b.calendarType=this.localStorage.retrieve(me.Hh.ExternalCalendarTypeId))}),(0,h.H9)());this.editorViewModel$=s.pipe((0,$.n)(b=>(0,rt.h)(this.participantsDeleted$).pipe((0,L.S)((S,C)=>(C instanceof le.J?S.deleteParticipant(C):"all"===C&&S.deleteAllParticipants(),S),b),(0,A.Z)(b))),(0,h.H9)())}navigateBackToList(n){this.router.navigate(n?n.routerNavigateParams:[k.od])}deleteParticipants(n){this.participantsDeleted$.next(n)}cancel(n){this.navigateBackToList(this.confWrapperThatWeEdit)}onError(n){let i="";"Organizer name and email cannot be empty"===n.message&&(i="_i18n.ExtensionNameAndEmailShouldBeConfigured");const o=n.source;if(o instanceof G.UsZ)switch(o.ErrorType){case G.tGV.WebMeetingNoEmail:i="_i18n.WebMeetingNoEmailError";break;case G.tGV.WebMeetingNoAccess:i="_i18n.WebMeetingNoAccessError";break;case G.tGV.WebMeetingInvalidOrganizer:i="_i18n.WebMeetingInvalidOrganizerError"}return n.message=i||n.message,this.modalService.error(n),se.w}static \u0275fac=function(i){return new(i||t)};static \u0275prov=a.jDH({token:t,factory:t.\u0275fac})}return t})();var Be=r(73042),st=r(445);let Pe=(()=>{class t{myPhoneService=(0,a.WQX)(_e.gx);meetingListService=(0,a.WQX)(l.X);modalService=(0,a.WQX)(ae.B);translateService=(0,a.WQX)(D.c$);CalendarServiceType=G.oKl;videoConferenceProfileTypes$;confCallParticipants$;fullSearchContext=re.o.forAudioConference();emailOnlySearchContext=re.o.forVideoAndAudioConference();errorText={subjectRequired:"",subjectMaxLength:"",descriptionMaxLength:"",conferenceDurationInPast:"",conferenceDurationInvalid:""};anyConferences$;constructor(){const n=this.myPhoneService;this.anyConferences$=this.meetingListService.anyConferences$,this.videoConferenceProfileTypes$=n.licenseHasWebinarFeatures$.pipe((0,v.T)(o=>o?k.A3:[k.A3[0]])),this.confCallParticipants$=this.myPhoneService.myPhoneSession.pipe((0,$.n)(o=>o.systemParameters$),(0,v.T)(o=>o.ConfCallParticipants),(0,h.H9)())}save(n){if(n.StartDate&&H()(n.StartDate).isValid()){if(this.validateConference(n)){if(n.StartNow)n.IsVideoConference?n.StartDate=H()(H()()).add(20,"seconds").toDate():this.myPhoneService.myPhoneSession.pipe((0,v.T)(i=>i.timeSync),(0,z.s)(1)).subscribe(i=>{n.StartDate=H()().add(i.delta,"milliseconds").add(-1,"seconds").toDate()});else if(!this.validateDate(n))return;return n&&n.isWebinar&&(n.calendarType=G.oKl.Tcx),n.calendarType!==G.oKl.Tcx&&(n.Participants=[]),n}}else this.modalService.error("_i18n.ConferenceTimeIsInvalid")}extractDataFromCsv(n,i){const o=i.split(/\r\n|\n/).map((P,V)=>({line:P,originalLineNumber:V+1})).filter(P=>P?.line.length),s=[],b=[],S=[],C=[];o.forEach(({line:P,originalLineNumber:V})=>{const Y=P.split(",");if(2!==Y.length)return s.push({Line:V,Reason:"_i18n.IncorrectFormat",Comment:""}),void(b.includes("_i18n.CSVFormatInvalidCorrectFormatNameAndEmail")||b.push("_i18n.CSVFormatInvalidCorrectFormatNameAndEmail"));const ee=Y[1].trim(),W=Y[0];if(!W)return void s.push({Line:V,Reason:"_i18n.Name",Comment:de.g.XapiRequired});if(W.length>255)return void s.push({Line:V,Reason:"_i18n.Name",Comment:de.g.LengthNotMore255Chars});const{isValid:j,error:X}=function Xn(t,c){return c?(0,ce.B9)(c)?-1!==t.Participants.findIndex(i=>i.Email.toLowerCase()===c.toLowerCase())?{isValid:!1,error:de.g.XapiDuplicate}:t.OrganizerEmail===c?{isValid:!1,error:"_i18n.OrganizerEmail"}:{isValid:!0,error:""}:{isValid:!1,error:de.g.Invalid}:{isValid:!1,error:de.g.XapiRequired}}(n,ee);
1if(!j)return void s.push({Line:V,Reason:"_i18n.Email",Comment:X});const pe=ee.toLowerCase();C.includes(pe)?s.push({Line:V,Reason:"_i18n.Email",Comment:de.g.XapiDuplicate}):(C.push(pe),S.push({name:W,email:ee}))}),(s.length||!S.length)&&this.modalService.showComponent(st.K,{initialState:{result:{importCount:S.length,ErrorLines:s,WarningLines:b.map(P=>({Warning:P}))}}}),S.forEach(P=>this.importParticipantByEmail(n,P.email,P.name))}importParticipantByEmail(n,i,o){const s=new le.J;s.Email=i,s.Name=o,s.IsExtension=!1,n.Participants.push(s)}addContact(n,i){const o=we(i),s=n.IsVideoConference,b=!s,S=n.Participants;if(s&&!o.Email||b&&n.calendarType!==G.oKl.Tcx)return void this.modalService.error("_i18n.Conference_Schedule_ErrorInvalidEmail");if(s&&n.OrganizerEmail===o.Email)return void this.translateService.get("_i18n.ParticipantWithEmailAlreadyAddedAsOrganizer",{p1:o.Email}).subscribe(P=>this.modalService.error(P));if((s||i.isEmail)&&S.some(P=>P.Email.toLowerCase()===o.Email.toLowerCase()))return void this.translateService.get("_i18n.ParticipantWithEmailAlreadyAdded",{p1:o.Email}).subscribe(P=>this.modalService.error(P));const C=o.Number;!b||o.Email||C&&(C===i.contact?.extensionNumber||ce.TJ.isValidPhoneNumber(C))?b&&C&&S.some(P=>P.Number===C)?this.translateService.get("_i18n.ParticipantWithPhoneNumberAlreadyAdded",{p1:C}).subscribe(P=>this.modalService.error(P)):this.confCallParticipants$.pipe((0,z.s)(1)).subscribe(P=>{P||o.Email?n.Participants.push(o):o.Email||this.modalService.error("_i18n.Conference_Schedule_ErrorInvalidEmail")}):this.modalService.error("_i18n.PleaseEnterCorrectEmailOrNumber")}validateDate(n){if(!n.StartNow){const i=H()(H()());if(H()(n.StartDate).isBefore(i))return this.errorText.conferenceDurationInPast="_i18n.WebMeeting_StartTimeValidationMsg",!1}return!0}validateConference(n){const i=n.NameOfConference;if(!i||!i.trim())return this.errorText.subjectRequired="_i18n.ConferenceNameCannotEmpty",!1;if(i.length>255)return this.errorText.subjectMaxLength="_i18n.NameConferenceTooLong",!1;if(n.DescriptionOfConference.length>500)return this.errorText.descriptionMaxLength="_i18n.DescriptionConferenceTooLong",!1;if(!Number.isInteger(n.Duration)||n.Duration>1440||n.Duration<5)return this.errorText.conferenceDurationInvalid="_i18n.WebMeeting_ErrorInvalidDuration",!1;if(n.IsVideoConference){const o=n.Participants.find(b=>Be.Q.isNullOrEmpty(b.Email));if(void 0===o)return!0;const s=Be.Q.isNullOrEmpty(o.Name)?o.Number:o.Name;return this.translateService.get("_i18n.YouShouldHaveEmailToParticipateVideoConference",{p1:s}).subscribe(b=>this.modalService.error(b)),!1}return!0}getCsvFileBlob(n){const i=n.dataTransfer?n.dataTransfer.files[0]:n.target.files[0],o=i.name,s=o.substring(o.lastIndexOf(".")+1,o.length);if(void 0!==s&&s.match("csv"))return i;this.modalService.error("_i18n.InvalidFormat")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=a.jDH({token:t,factory:t.\u0275fac})}return t})();var je=r(22972),lt=r(54999),J=function(t){return t.OrganizerConnectsFirst="OrganizerConnectsFirst",t.EveryoneIsAnOrganizer="EveryoneIsAnOrganizer",t.HideNames="HideNames",t}(J||{}),Z=function(t){return t.Audio="Audio",t.Video="Video",t.Chat="Chat",t}(Z||{});const dt=[{label:"_i18n.OrganizerMustConnectFirst",value:J.OrganizerConnectsFirst,dataQa:"OrganizerConnectsFirst"},{label:"_i18n.EveryoneIsAnOrganizer",value:J.EveryoneIsAnOrganizer,dataQa:"EveryoneIsAnOrganizer"},{label:"_i18n.HideParticipantsEachOther",value:J.HideNames,dataQa:"HideNames"}],pt=[{label:"_i18n.webrtc_join_audio",value:Z.Audio,dataQa:"ParticipantRightsAudio"},{label:"_i18n.webrtc_join_video",value:Z.Video,dataQa:"ParticipantRightsVideo"},{label:"_i18n.Chat",value:Z.Chat,dataQa:"ParticipantRightsChat"}];var Fe=r(40953),Ct=r(67290);let ft=(()=>{class t extends je.m{conference;buttons=lt.P.OkCancel;settingsOptions=dt;selectedSettings=[];participantsRightsOptions=pt;selectedParticipantsRights=[];ngOnInit(){this.selectedSettings=function _t(t){const c=[];return t.OrganizerConnectsFirst&&c.push(J.OrganizerConnectsFirst),t.EveryoneIsAnOrganizer&&c.push(J.EveryoneIsAnOrganizer),t.HideNames&&c.push(J.HideNames),c}(this.conference),this.selectedParticipantsRights=function mt(t){const c=[];return t.ParticipantRightsAudio&&c.push(Z.Audio),t.ParticipantRightsVideo&&c.push(Z.Video),t.ParticipantRightsChat&&c.push(Z.Chat),c}(this.conference)}onSubmit(){(function ut(t,c){c.OrganizerConnectsFirst=t.includes(J.OrganizerConnectsFirst),c.EveryoneIsAnOrganizer=t.includes(J.EveryoneIsAnOrganizer),c.HideNames=t.includes(J.HideNames),c.EveryoneIsAnOrganizer&&(c.AllowParticipantControl=!0)})(this.selectedSettings,this.conference),function gt(t,c){c.ParticipantRightsAudio=t.includes(Z.Audio),c.ParticipantRightsVideo=t.includes(Z.Video),c.ParticipantRightsChat=t.includes(Z.Chat)}(this.selectedParticipantsRights,this.conference),super.onSubmit()}static \u0275fac=(()=>{let n;return function(o){return(n||(n=e.xGo(t)))(o||t)}})();static \u0275cmp=e.VBU({type:t,selectors:[["conference-details-editor"]],inputs:{conference:"conference"},features:[e.Vt3],decls:3,vars:5,consts:[["header","_i18n.MeetingOptions",3,"submitted","buttons"],["data-qa","settings",3,"ngModelChange","options","ngModel"],["data-qa","participants-rights","label","_i18n.FeaturesEnabledDefaultMeetingStart",3,"ngModelChange","options","ngModel"]],template:function(i,o){1&i&&(e.j41(0,"app-modal-dialog",0),e.bIt("submitted",function(){return o.onSubmit()}),e.j41(1,"field-checkbox-group",1),e.mxI("ngModelChange",function(b){return e.DH7(o.selectedSettings,b)||(o.selectedSettings=b),b}),e.k0s(),e.j41(2,"field-checkbox-group",2),e.mxI("ngModelChange",function(b){return e.DH7(o.selectedParticipantsRights,b)||(o.selectedParticipantsRights=b),b}),e.k0s()()),2&i&&(e.Y8G("buttons",o.buttons),e.R7$(),e.Y8G("options",o.settingsOptions),e.R50("ngModel",o.selectedSettings),e.R7$(),e.Y8G("options",o.participantsRightsOptions),e.R50("ngModel",o.selectedParticipantsRights))},dependencies:[Fe.p,Ct.c,f.X1,f.BC,f.YN,f.vS],encapsulation:2,changeDetection:0})}return t})();var $e=r(19781),ke=r(23773);let ht=(()=>{class t extends je.m{dontShowAgain=(0,ke.I)(me.Hh.DontShowIcsNotify,!1);static \u0275fac=(()=>{let n;return function(o){return(n||(n=e.xGo(t)))(o||t)}})();static \u0275cmp=e.VBU({type:t,selectors:[["app-ics-notifier-modal"]],features:[e.Vt3],decls:5,vars:4,consts:[["header","_i18n.CalendarInvitation"],["label","_i18n.DontShowThisAgain",3,"ngModelChange","ngModel"]],template:function(i,o){1&i&&(e.j41(0,"app-modal-dialog",0)(1,"p"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"field-checkbox",1),e.mxI("ngModelChange",function(b){return e.DH7(o.dontShowAgain,b)||(o.dontShowAgain=b),b}),e.k0s()()),2&i&&(e.R7$(2),e.JRh(e.bMT(3,2,"_i18n.IcsHelperDescription")),e.R7$(2),e.R50("ngModel",o.dontShowAgain))},dependencies:[Fe.p,$e.t,f.X1,f.BC,f.YN,f.vS,D.D9],encapsulation:2,changeDetection:0})}return t})();
1var vt=r(60240),bt=r(31143),Et=r(72788),Mt=r(10269),Pt=r(95604),Tt=r(66300),Nt=r(8419),It=r(47548);const xt=["fileDialog"],Ot=()=>[];function St(t,c){if(1&t){const n=e.RV6();e.j41(0,"div",8)(1,"div",18)(2,"app-date-time-picker",19),e.bIt("ngModelChange",function(){a.eBV(n);const o=e.XpG(2);return a.Njj(o.fieldChanged(["conferenceDurationInvalid","conferenceDurationInPast"]))}),e.mxI("ngModelChange",function(o){a.eBV(n);const s=e.XpG(2);return e.DH7(s.conference.StartDate,o)||(s.conference.StartDate=o),a.Njj(o)}),e.k0s(),e.j41(3,"field-input-number",20),e.mxI("ngModelChange",function(o){a.eBV(n);const s=e.XpG(2);return e.DH7(s.conference.Duration,o)||(s.conference.Duration=o),a.Njj(o)}),e.bIt("ngModelChange",function(){a.eBV(n);const o=e.XpG(2);return a.Njj(o.fieldChanged(["conferenceDurationInvalid","conferenceDurationInPast"]))}),e.k0s()(),e.nrm(4,"show-error-warning",21)(5,"show-error-warning",21),e.k0s()}if(2&t){const n=e.XpG(2);e.R7$(2),e.R50("ngModel",n.conference.StartDate),e.R7$(),e.Y8G("inlineLabel",!0)("max",1440)("min",5),e.R50("ngModel",n.conference.Duration),e.R7$(),e.Y8G("errorMessage",n.conferenceEditorService.errorText.conferenceDurationInvalid),e.R7$(),e.Y8G("errorMessage",n.conferenceEditorService.errorText.conferenceDurationInPast)}}function Rt(t,c){if(1&t){const n=e.RV6();e.j41(0,"field-checkbox",22),e.mxI("ngModelChange",function(o){a.eBV(n);const s=e.XpG(2);return e.DH7(s.conference.EnableAnnouncements,o)||(s.conference.EnableAnnouncements=o),a.Njj(o)}),e.k0s()}if(2&t){const n=e.XpG(2);e.R50("ngModel",n.conference.EnableAnnouncements)}}function At(t,c){1&t&&e.nrm(0,"show-note",15)}function yt(t,c){1&t&&e.nrm(0,"show-note",23)}function Dt(t,c){if(1&t){const n=e.RV6();e.j41(0,"button",31),e.nI1(1,"translate"),e.bIt("click",function(){a.eBV(n);const o=e.XpG(3);return a.Njj(o.deleteAllParticipants())}),e.nrm(2,"lucide-icon",7),e.k0s()}if(2&t){const n=e.XpG(3);e.HbH(e.VkB("btn btn-icon ",n.isNewDesign()?"btn-plain-sm ms-1":"btn-plain")),e.Y8G("title",e.mNQ(e.bMT(1,6,"_i18n.ClearParticipantsList"))),e.R7$(2),e.Y8G("img",n.Trash2)}}function Gt(t,c){if(1&t){const n=e.RV6();e.j41(0,"div",32)(1,"span",34),e.EFF(2),e.nI1(3,"simpleConferenceParticipantVmToString"),e.nI1(4,"async"),e.k0s(),e.j41(5,"button",35),e.bIt("click",function(){a.eBV(n);const o=e.XpG().$implicit,s=e.XpG(3);return a.Njj(s.deleteParticipant(o))}),e.nrm(6,"lucide-icon",7),e.k0s()()}if(2&t){const n=e.XpG().$implicit,i=e.XpG(3);e.R7$(2),e.JRh(e.bMT(4,4,e.bMT(3,2,n))),e.R7$(4),e.Y8G("img",i.Trash2)}}function Wt(t,c){if(1&t){const n=e.RV6();e.j41(0,"div",33)(1,"button",36),e.bIt("click",function(){a.eBV(n);const o=e.XpG().$implicit,s=e.XpG(3);return a.Njj(s.deleteParticipant(o))}),e.nrm(2,"lucide-icon",7),e.k0s(),e.nrm(3,"span",37),e.nI1(4,"simpleConferenceParticipantVmToString"),e.nI1(5,"async"),e.k0s()}if(2&t){const n=e.XpG().$implicit,i=e.XpG(3);e.R7$(2),e.Y8G("img",i.Trash2),e.R7$(),e.Y8G("truncatedText",e.bMT(5,4,e.bMT(4,2,n)))}}function wt(t,c){if(1&t&&e.nVh(0,Gt,7,6,"div",32)(1,Wt,6,6,"div",33),2&t){const n=e.XpG(3);e.vxM(n.isNewDesign()?0:1)}}function Vt(t,c){if(1&t){const n=e.RV6();e.nVh(0,yt,1,0,"show-note",23),e.j41(1,"div",24)(2,"input",25,1),e.bIt("change",function(o){a.eBV(n);const s=e.XpG(2);return a.Njj(s.handleInputChange(o))}),e.k0s(),e.j41(4,"label",26),e.EFF(5),e.nI1(6,"translate"),e.j41(7,"a",27),e.bIt("click",function(){a.eBV(n);const o=e.sdS(3);return a.Njj(o.click())}),e.EFF(8),e.nI1(9,"translate"),e.k0s()(),e.j41(10,"find-contact",28),e.nI1(11,"translate"),e.bIt("contactSelected",function(o){a.eBV(n);const s=e.XpG(2);return a.Njj(s.addContact(o))}),e.k0s()(),e.j41(12,"div",24)(13,"label",26),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.nVh(16,Dt,3,8,"button",29),e.j41(17,"div",30),e.Z7z(18,wt,2,1,null,null,e.fX1),e.k0s()()}if(2&t){const n=e.XpG(2);e.vxM(n.isNewDesign()?-1:0),e.R7$(5),e.SpI(" ",e.bMT(6,9,"_i18n.AddParticipantsOR")," "),e.R7$(3),e.SpI(" ",e.bMT(9,11,"_i18n.Import")),e.R7$(2),e.Y8G("placeholder",e.mNQ(e.bMT(11,13,null!=n.conference&&n.conference.IsVideoConference||null!=n.conference&&n.conference.IsVideoConference&&(null==n.conference?null:n.conference.calendarType)!==n.CalendarServiceType.Tcx?"_i18n.EnterNameOrEmail":"_i18n.Search")))("searchContext",null!=n.conference&&n.conference.IsVideoConference||null!=n.conference&&n.conference.IsVideoConference&&(null==n.conference?null:n.conference.calendarType)!==n.CalendarServiceType.Tcx?n.conferenceE
1ditorService.emailOnlySearchContext:n.callParticipants?n.conferenceEditorService.fullSearchContext:n.conferenceEditorService.emailOnlySearchContext)("showAddButton",!0),e.R7$(4),e.JRh(e.bMT(15,15,n.conference.Participants.length?"_i18n.Participants":"_i18n.NoParticipants")),e.R7$(2),e.vxM(n.conference.Participants.length?16:-1),e.R7$(2),e.Dyx((null==n.conference?null:n.conference.Participants)||e.lJ4(17,Ot))}}function Xt(t,c){if(1&t){const n=e.RV6();e.j41(0,"div")(1,"div",2)(2,"div",3)(3,"field-radio-group",4),e.nI1(4,"async"),e.mxI("ngModelChange",function(o){a.eBV(n);const s=e.XpG();return e.DH7(s.confType,o)||(s.confType=o),a.Njj(o)}),e.k0s(),e.j41(5,"field-radio-group",5),e.mxI("ngModelChange",function(o){a.eBV(n);const s=e.XpG();return e.DH7(s.conference.StartNow,o)||(s.conference.StartNow=o),a.Njj(o)}),e.k0s()(),e.j41(6,"button",6),e.bIt("click",function(){a.eBV(n);const o=e.XpG();return a.Njj(o.openConferenceDetailsDialog())}),e.nrm(7,"lucide-icon",7),e.k0s()(),e.nVh(8,St,6,7,"div",8),e.j41(9,"field-input",9),e.mxI("ngModelChange",function(o){a.eBV(n);const s=e.XpG();return e.DH7(s.conference.NameOfConference,o)||(s.conference.NameOfConference=o),a.Njj(o)}),e.bIt("ngModelChange",function(){a.eBV(n);const o=e.XpG();return a.Njj(o.fieldChanged(["subjectRequired","subjectMaxLength"]))}),e.nrm(10,"show-error-warning",10)(11,"show-error-warning",10),e.k0s(),e.j41(12,"field-wrapper",11)(13,"textarea",12),e.bIt("ngModelChange",function(){a.eBV(n);const o=e.XpG();return a.Njj(o.fieldChanged(["descriptionMaxLength"]))}),e.mxI("ngModelChange",function(o){a.eBV(n);const s=e.XpG();return e.DH7(s.conference.DescriptionOfConference,o)||(s.conference.DescriptionOfConference=o),a.Njj(o)}),e.k0s(),e.nrm(14,"show-error-warning",10),e.k0s(),e.nVh(15,Rt,1,1,"field-checkbox",13),e.j41(16,"field-select",14),e.mxI("ngModelChange",function(o){a.eBV(n);const s=e.XpG();return e.DH7(s.conference.calendarType,o)||(s.conference.calendarType=o),a.Njj(o)}),e.k0s(),e.nVh(17,At,1,0,"show-note",15)(18,Vt,20,18),e.j41(19,"button",16),e.bIt("click",function(){a.eBV(n);const o=e.XpG();return a.Njj(o.save(o.conference))}),e.EFF(20),e.nI1(21,"translate"),e.k0s(),e.j41(22,"button",17),e.bIt("click",function(){a.eBV(n);const o=e.XpG();return a.Njj(o.cancel(o.conference))}),e.EFF(23),e.nI1(24,"translate"),e.k0s()()}if(2&t){const n=e.XpG();e.HbH(n.isNewDesign()?"":"flex-fill conference-editor-content p-3"),e.R7$(3),e.R50("ngModel",n.confType),e.Y8G("options",e.bMT(4,26,n.conferenceTypeOptions$)),e.R7$(2),e.R50("ngModel",n.conference.StartNow),e.Y8G("options",n.startNowOptions),e.R7$(),e.Y8G("disabled",!n.conference.IsVideoConference),e.R7$(),e.Y8G("img",n.Settings),e.R7$(),e.vxM(n.conference.StartNow?-1:8),e.R7$(),e.Y8G("required",!0),e.R50("ngModel",n.conference.NameOfConference),e.R7$(),e.Y8G("errorMessage",e.mNQ(n.conferenceEditorService.errorText.subjectRequired)),e.R7$(),e.Y8G("errorMessage",e.mNQ(n.conferenceEditorService.errorText.subjectMaxLength)),e.R7$(2),e.R50("ngModel",n.conference.DescriptionOfConference),e.R7$(),e.Y8G("errorMessage",e.mNQ(n.conferenceEditorService.errorText.descriptionMaxLength)),e.R7$(),e.vxM(n.conference.IsVideoConference||n.conference.StartNow?-1:15),e.R7$(),e.R50("ngModel",n.conference.calendarType),e.Y8G("options",n.calendarTypeOptions)("description",n.calenderTypeDescription)("disabled",n.conference.isWebinar),e.R7$(),e.vxM(n.conference.calendarType!==n.CalendarServiceType.IcsFile||n.isNewDesign()?n.conference.calendarType===n.CalendarServiceType.Tcx?18:-1:17),e.R7$(3),e.SpI(" ",e.bMT(21,28,"_i18n.CreateMeeting")," "),e.R7$(3),e.SpI(" ",e.bMT(24,30,"_i18n.Cancel")," ")}}function Lt(t,c){1&t&&e.eu8(0)}function Bt(t,c){if(1&t){const n=e.RV6();e.j41(0,"div",38)(1,"h3",39),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"app-mobile-close-button",40),e.bIt("click",function(){a.eBV(n);const o=e.XpG();return a.Njj(o.back())}),e.k0s()(),e.j41(5,"div",41),e.DNE(6,Lt,1,0,"ng-container",42),e.k0s()}if(2&t){e.XpG();const n=e.sdS(1);e.R7$(2),e.JRh(e.bMT(3,2,"_i18n.NewConference")),e.R7$(4),e.Y8G("ngTemplateOutlet",n)}}function jt(t,c){1&t&&e.eu8(0)}function Ft(t,c){if(1&t){const n=e.RV6();e.j41(0,"div",43)(1,"span"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"app-mobile-close-button",44),e.bIt("click",function(){a.eBV(n);const o=e.XpG();return a.Njj(o.back())}),e.k0s()(),e.DNE(5,jt,1,0,"ng-container",42)}
1if(2&t){e.XpG();const n=e.sdS(1);e.R7$(2),e.JRh(e.bMT(3,2,"_i18n.NewConference")),e.R7$(3),e.Y8G("ngTemplateOutlet",n)}}var q=function(t){return t[t.Audio=0]="Audio",t[t.Webmeeting=1]="Webmeeting",t[t.Webinar=2]="Webinar",t}(q||{});let $t=(()=>{class t{myPhoneService=(0,a.WQX)(_e.gx);conferenceEditorService=(0,a.WQX)(Pe);confEditor=(0,a.WQX)(Me);localStorage=(0,a.WQX)(Le.sj);router=(0,a.WQX)(_.Ix);modalService=(0,a.WQX)(ae.B);meetingService=(0,a.WQX)(ne.v);ref=(0,a.WQX)(M.gRc);isNewDesign=(0,a.WQX)(N.T);Settings=I.wB_;Trash2=I.TBR;CalendarServiceType=G.oKl;callParticipants;dontShowIcsAgain=(0,ke.I)(me.Hh.DontShowIcsNotify,!1);fileDialogElement;conference;deleteParticipantEvent=(0,M.CGW)();saveIsRunning=!1;conferenceTypeOptions$;startNowOptions=[{label:"_i18n.Now",value:!0},{label:"_i18n.Conference_Schedule_Later",value:!1}];calendarTypeOptions=[{value:G.oKl.Google,label:"_i18n.Google"},{value:G.oKl.Office365,label:"_i18n.Office365"},{value:G.oKl.Outlook,label:"_i18n.OutlookOnline"},{value:G.oKl.IcsFile,label:"_i18n.iCal"},{value:G.oKl.Tcx,label:"_i18n.3CXDirectEmail"}];get confType(){return this.conference.IsVideoConference?this.conference.isWebmeeting?q.Webmeeting:q.Webinar:q.Audio}set confType(n){n===q.Audio?(this.conference.IsVideoConference&&this.conference.switchToAudio(this.callParticipants),this.conference.IsVideoConference=!1):(this.conference.IsVideoConference||this.conference.switchToVideo(),this.conference.IsVideoConference=!0,n===q.Webmeeting?(this.conference.VideoConferenceProfileType=k.A3[0],Ge(this.conference)):(this.conference.VideoConferenceProfileType=k.A3[1],function wn(t){t.AllowParticipantControl=!1,t.EveryoneIsAnOrganizer=!1,t.OrganizerConnectsFirst=!0,t.HideNames=!0,t.ParticipantRightsAudio=!1,t.ParticipantRightsVideo=!1,t.ParticipantRightsChat=!0,t.calendarType=G.oKl.Tcx}(this.conference)))}get calenderTypeDescription(){return this.isNewDesign()?this.conference.calendarType===G.oKl.IcsFile?"_i18n.calendarIncompatible":this.conference.calendarType===G.oKl.Tcx?"_i18n.Calendar3CXLegacyNoRSVP":"":""}openConferenceDetailsDialog(){this.modalService.showComponent(ft,{initialState:{conference:this.conference}})}constructor(){this.conferenceTypeOptions$=this.myPhoneService.licenseHasWebinarFeatures$.pipe((0,v.T)(n=>[{label:"_i18n.Call",value:q.Audio},{label:"_i18n.ConferenceWebmeeting",value:q.Webmeeting},{label:"_i18n.Webinar",value:q.Webinar,disabled:!n}]))}back(){this.router.navigate([k.od])}save(n){const i=this.conferenceEditorService.save(n);i&&(this.saveIsRunning||(this.saveIsRunning=!0,i.StartNow&&(i.StartDate=new Date,i.Duration=30),this.localStorage.store(me.Hh.ExternalCalendarTypeId,i.calendarType),this.meetingService.createOrUpdateConferenceWithExternalCalendar(i).subscribe({next:o=>{this.saveIsRunning=!1,!this.dontShowIcsAgain()&&i.calendarType===G.oKl.IcsFile&&this.modalService.showComponent(ht),this.confEditor.navigateBackToList(o)},error:o=>{this.saveIsRunning=!1,this.confEditor.onError(o)}})))}cancel(n){this.confEditor.cancel(n)}fieldChanged(n){n.forEach(i=>{this.conferenceEditorService.errorText[i]=""})}extractDataFromCsv(n){this.conferenceEditorService.extractDataFromCsv(this.conference,n),this.ref.markForCheck()}handleInputChange(n){const i=this.conferenceEditorService.getCsvFileBlob(n);if(i){const o=new FileReader;o.onload=()=>this.extractDataFromCsv(o.result),o.readAsText(i)}this.fileDialogElement.nativeElement.value=""}deleteParticipant(n){this.deleteParticipantEvent.emit(n)}deleteAllParticipants(){this.modalService.confirmDangerAction("_i18n.AreYouSureYouWantToClearParticipants").subscribe(()=>{this.deleteParticipantEvent.emit("all")})}addContact(n){this.conferenceEditorService.addContact(this.conference,n)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=e.VBU({type:t,selectors:[["conference-editor"]],viewQuery:function(i,o){if(1&i&&e.GBs(xt,5),2&i){let s;e.mGM(s=e.lsd())&&(o.fileDialogElement=s.first)}},inputs:{callParticipants:"callParticipants",conference:"conference"},outputs:{deleteParticipantEvent:"deleteParticipantEvent"},decls:4,vars:1,consts:[["conferenceEditor",""],["fileDialog",""],[1,"input-group","gap-0"],[1,"d-table","mt-1"],["data-qa","conference-type","label","_i18n.ConferenceType","viewStyle","table-row",3,"ngModelChange","ngModel","options"],["data-qa","conference-start","label","_i18n.ConferenceWhen","viewStyle","table-row",3,"ngModelChange","ngModel","options"],["type","button",1,"btn","btn-plain-sm","btn-icon","align-self-start",3,"click","disabled"],[3,"img"],[1,"mb-3","d-flex","flex-column","gap-2"],["data-qa","name-of-conference","id","inputName","label","_i18n.WebMeeting_Name",3,"ngModelChange","required","ngModel"],[3,"errorMessage"],["label","_i18n.WebMeeting_Description"],["id","txtDescription","maxlength","500","rows","5","name","txtDescription","data-qa","description-of-conference",1,"form-control",2,"max-height","300px",3,"ngModelChange","ngModel"],["label","_i18n.Conference_Schedule_EnableAnnouncements","data-qa","chkEnableAnnouncements",3,"ngModel"],["label","_i18n.SelectEmailCalanderToAddTo","data-qa","calendar-type",3,"ngModelChange","ngModel","options","description","disabled"],["note","_i18n.c
1alendarIncompatible",1,"d-block","mb-3"],["type","button","id","btnSave","data-qa","create-meeting",1,"btn","btn-primary","me-2",3,"click"],["type","button","id","btnCancel","data-qa","cancel",1,"btn","btn-border",3,"click"],[1,"d-inline-flex","flex-wrap","align-items-center","gap-3"],["data-qa","conference-date",3,"ngModelChange","ngModel"],["data-qa","duration","label","_i18n.Duration","units","_i18n.Min","name","inputDuration",3,"ngModelChange","inlineLabel","max","min","ngModel"],[1,"hide-empty",3,"errorMessage"],["label","_i18n.Conference_Schedule_EnableAnnouncements","data-qa","chkEnableAnnouncements",3,"ngModelChange","ngModel"],["note","_i18n.Calendar3CXLegacyNoRSVP",1,"d-block","mb-3"],[1,"mb-3"],["id","fileDialog","type","file","accept",".csv","hidden","",3,"change"],[1,"form-label"],["id","ImportBtn",1,"link",3,"click"],["data-qa","add-participants","notFoundText","_i18n.ConfScheduleAddParticipantByPlus",3,"contactSelected","searchContext","showAddButton","placeholder"],["id","deleteAllParticipantsBtn","type","button","data-qa","clear-participants",3,"class","title"],[1,"list-group"],["id","deleteAllParticipantsBtn","type","button","data-qa","clear-participants",3,"click","title"],["data-qa","participant",1,"border","rounded","bg-tiles","px-2","py-1","mw-0","d-flex","align-items-center","mb-2"],["data-qa","participant",1,"p-list"],[1,"text-truncate"],["type","button",1,"btn","btn-icon","btn-plain-sm","ms-auto",3,"click"],["type","button",1,"btn","btn-plain","btn-icon",3,"click"],[1,"flex-fill",3,"truncatedText"],[1,"d-flex","align-items-center","gap-2","px-4","aside-align-panel-header","mb-3"],[1,"m-0"],[1,"ms-auto",3,"click"],[1,"px-4"],[4,"ngTemplateOutlet"],[1,"p-2","border-bottom","aside-align","d-flex","align-items-center","justify-content-between"],[3,"click"]],template:function(i,o){1&i&&(e.DNE(0,Xt,25,32,"ng-template",null,0,e.C5r),e.nVh(2,Bt,7,4)(3,Ft,6,4)),2&i&&(e.R7$(2),e.vxM(o.isNewDesign()?2:3))},dependencies:[Ee.U,vt.u,f.X1,f.me,f.BC,f.YS,f.tU,f.YN,f.vS,bt.T,Et.B,Mt.l,Ne.m,Pt.z,$e.t,Tt.q,Nt.d,Se.N,F.T3,It.N,I.flO,I.WGl,F.Jj,D.D9,Xe],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:column;height:100%;position:relative;overflow-y:hidden}.type-table[_ngcontent-%COMP%]{gap:25px;display:inline-grid;grid-template-columns:auto auto auto auto auto}@media(max-width:767.98px){.type-table[_ngcontent-%COMP%]{gap:15px}}.type-table[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin:0}.p-list[_ngcontent-%COMP%]{display:flex;align-items:center;background:var(--bg-primary-active);border-bottom:1px solid var(--border-color)}.p-list[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:6px 5px 6px 6px;border-right:1px solid var(--border-color)}.p-list[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:var(--bg-primary-hover);border-right:1px solid var(--border-color)}.p-list[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:first-child){padding-left:5px;font-size:var(--small-font-size);line-height:1}.new-design [_nghost-%COMP%]{overflow-y:auto}"]})}return t})();function kt(t,c){if(1&t){const n=e.RV6();e.j41(0,"div",0)(1,"conference-editor",1),e.nI1(2,"async"),e.bIt("deleteParticipantEvent",function(o){a.eBV(n);const s=e.XpG();return a.Njj(s.confEditor.deleteParticipants(o))}),e.k0s()()}if(2&t){const n=e.XpG();e.R7$(),e.Y8G("conference",c)("callParticipants",e.bMT(2,2,n.confEditorLocal.confCallParticipants$))}}let Ut=(()=>{class t{confEditor=(0,a.WQX)(Me);confEditorLocal=(0,a.WQX)(Pe);static \u0275fac=function(i){return new(i||t)};static \u0275cmp=e.VBU({type:t,selectors:[["ng-component"]],features:[e.Jv_([Me,Pe])],decls:2,vars:3,consts:[[1,"conference-editor-wrapper","bg"],[3,"deleteParticipantEvent","conference","callParticipants"]],template:function(i,o){if(1&i&&(e.nVh(0,kt,3,4,"div",0),e.nI1(1,"async")),2&i){let s;e.vxM((s=e.bMT(1,1,o.confEditor.editorViewModel$))?0:-1,s)}},dependencies:[$t,F.Jj],styles:[".conference-editor-wrapper{display:flex;flex-direction:column;height:100%;position:relative;overflow-y:hidden} .conference-editor-wrapper .conference-editor-content{overflow-y:auto;overflow-x:auto;background:var(--bg-primary)}"]})}return t})();var Ht=r(37731);function Yt(t,c){1&t&&(e.j41(0,"h3",0),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&t&&(e.R7$(),e.JRh(e.bMT(2,1,"_i18n.Meet")))}const Kt=[{path:"",component:(()=>{class t{webMeetingService=(0,a.WQX)(Ht.l);isNewDesign=(0,a.WQX)(N.T);ngOnInit(){this.webMeetingService.isMeetingMainScreen.next(!0)}ngOnDestroy(){this.webMeetingService.isMeetingMainScreen.next(!1)}Calendar=I.VvS;Plus=I.FWt;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=e.VBU({type:t,selectors:[["ng-component"]],decls:8,vars:12,consts:[[1,"mb-0","me-2"],["data-qa","new-conference","routerLink","/conferences/schedule/new",1,"btn","btn-icon","btn-plain",3,"title"],[3,"img"],["data-qa","scheduled-conferences","routerLink","/conferences/schedule",1,"btn","btn-icon","btn-plain",3,"title"]],template:function(i,o){1&i&&(e.j41(0,"div"),e.nVh(1,Yt,3,3,"h3",0),e.j41(2,"a",1),e.nI1(3,"translate"),e.nrm(4,"lucide-icon",2),e.k0s(),e.j41(5,"a",3),e.nI1(6,"translate"),e.nrm(7,"lucide-icon",2),e.k0s()()),2&i&&(e.HbH(e.VkB("d-flex align-items-center border-bottom aside-align ",o.isNewDesign()?"px-3 gap-2":"px-1 bg-tiles")),e.R7$(),e.vxM(o.isNewDesign()?1:-1),e.R7$(),e.Y8G("title",e.bMT(3,8,"_i18n.NewConference")),e.R7$(2),e.Y8G("img",o.Plus),e.R7$(),e.Y8G("title",e.bMT(6,10,"_i18n.Webmeeting")),e.R7$(2),e.Y8G("img",o.Calendar))},dependencies:[I.flO,I.WGl,m.Wk,D.D9],encapsulation:2,changeDetection:0})}return t})()},{path:"schedule",component:Ze,children:[{path:"private",component:yn,data:{animation:"private"}},{path:"new",component:Ut,data:{animation:"new"}},{path:":id",component:ot,data:{animation:"audio"}}]}]},31335(U,R,r){r.d(R,{L:()=>_});var a=r(85802),f=r(81535);let _=(()=>{class m{breakpointObserver=(0,a.WQX)(f.Q);prepareRoute(u){return this.breakpointObserver.isMatched("screen and (max-width: 767px)")?(u&&u.activatedRouteData&&u.activatedRouteData.animation)??"root":"root"}static \u0275fac=function(O){return new(O||m)};static \u0275prov=a.jDH({token:m,factory:m.\u0275fac})}return m})()},97268(U,R,r){r.d(R,{W:()=>_});var a=r(35547),f=r(85802);let _=(()=>{class m{static \u0275fac=function(O){return new(O||m)};static \u0275cmp=a.VBU({type:m,selectors:[["app-info-circle-solid-icon"],["","app-info-circle-solid-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 110c23.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(O,M){1&O&&(f.qSk(),a.rj2(0,"svg",0),a.Hgh(1,"path",1),a.eux())},encapsulation:2})}return m})()},38969(U,R,r){r.d(R,{d:()=>_});var a=r(35547),f=r(85802);let _=(()=>{class m{static \u0275fac=function(O){return new(O||m)};static \u0275cmp=a.VBU({type:m,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
10 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(O,M){1&O&&(f.qSk(),a.rj2(0,"svg",0),a.Hgh(1,"path",1),a.eux())},encapsulation:2})}return m})()},72252(U,R,r){r.d(R,{U:()=>m});var a=r(68018),f=r(12834),_=r(35547);let m=(()=>{class d{static \u0275fac=function(M){return new(M||d)};static \u0275cmp=_.VBU({type:d,selectors:[["app-mobile-close-button"]],hostAttrs:[1,"d-md-none"],decls:2,vars:3,consts:[["data-qa","mobile-close-btn",3,"title"]],template:function(M,p){1&M&&(_.nrm(0,"app-button-close-x",0),_.nI1(1,"translate")),2&M&&_.Y8G("title",_.bMT(1,1,"_i18n.GoBack"))},dependencies:[f.W,a.D9],encapsulation:2,changeDetection:0})}return d})()},18054(U,R,r){r.d(R,{i:()=>m});var a=r(35547);const f=[[["","layout-header",""]],[["","layout-nav",""]],"*"],_=["[layout-header]","[layout-nav]","*"];let m=(()=>{class d{static \u0275fac=function(M){return new(M||d)};static \u0275cmp=a.VBU({type:d,selectors:[["app-layout-type4"]],ngContentSelectors:_,decls:6,vars:0,consts:[["layout-type4-header",""],["layout-type4-nav",""],["layout-type4-content",""]],template:function(M,p){1&M&&(a.NAR(f),a.rj2(0,"div",0),a.SdG(1),a.eux(),a.rj2(2,"div",1),a.SdG(3,1),a.eux(),a.rj2(4,"div",2),a.SdG(5,2),a.eux())},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%]{position:relative;width:100%;height:100%;background:var(--background);display:grid;grid-auto-rows:auto 1fr;grid-template-areas:"header header" "nav content";grid-template-columns:1fr 1fr}[_nghost-%COMP%] [layout-type4-header][_ngcontent-%COMP%]{grid-area:header;background:var(--bg-primary)}[_nghost-%COMP%] [layout-type4-header][_ngcontent-%COMP%] >h3{line-height:var(--aside-folded-nav-height);margin:0}[_nghost-%COMP%] [layout-type4-nav][_ngcontent-%COMP%]{grid-area:nav;overflow-y:auto;background:var(--bg-primary)}[_nghost-%COMP%] [layout-type4-content][_ngcontent-%COMP%]{grid-area:content;overflow-y:auto;border-left:1px solid var(--border-color);container-type:size}@media(max-width:767.98px){[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] [layout-type4-content][_ngcontent-%COMP%]{border-left:none;border-top:1px solid var(--border-color)}}@media(min-width:768px){[_nghost-%COMP%]{grid-template-columns:400px 1fr}}@media(max-width:767.98px){[_nghost-%COMP%] [layout-type4-content][_ngcontent-%COMP%] >*:not(router-outlet){position:absolute;inset:0;width:100%;height:100%}}.new-design [_nghost-%COMP%] [layout-type4-header][_ngcontent-%COMP%]{background:inherit;border-bottom:1px solid var(--border-color);padding:0 var(--spacer)}.new-design [_nghost-%COMP%] [layout-type4-header][_ngcontent-%COMP%]:has( >*:nth-child(2)){padding-bottom:var(--spacer-l)}.new-design [_nghost-%COMP%] [layout-type4-nav][_ngcontent-%COMP%]{background:inherit}@media(min-width:768px){.new-design [_nghost-%COMP%]{grid-template-columns:500px 1fr}}@media(max-width:767.98px){.new-design [_nghost-%COMP%] [layout-type4-content][_ngcontent-%COMP%]{border:none}.new-design [_nghost-%COMP%] [layout-type4-content][_ngcontent-%COMP%]:has( >.slide-from-right){overflow-x:hidden}.new-design [_nghost-%COMP%] [layout-type4-content][_ngcontent-%COMP%] >.slide-from-right{transition:transform .3s ease-in;transform:translate(0)}@starting-style{.new-design [_nghost-%COMP%] [layout-type4-content][_ngcontent-%COMP%] >.slide-from-right{transform:translate(100%)}}.new-design [_nghost-%COMP%] [layout-type4-content][_ngcontent-%COMP%] >.slide-from-right.leave{transform:translate(100%)}.new-design [_nghost-%COMP%] [layout-type4-nav][_ngcontent-%COMP%]{flex:1 1 auto}}[_nghost-%COMP%]:has([layout-type4-content]:empty){grid-template-areas:"header" "nav";grid-template-columns:1fr}[_nghost-%COMP%]:has([layout-type4-content]:empty) [layout-type4-content][_ngcontent-%COMP%]{display:none}'],changeDetection:0})}return d})()}
1,82529(U,R,r){r.d(R,{z:()=>M});var a=r(8516),f=r(68018),_=r(35547);const m=["*"];function d(p,L){if(1&p&&_.nrm(0,"lucide-icon",0),2&p){const A=_.XpG();_.Y8G("img",A.icon)}}function u(p,L){if(1&p&&(_.j41(0,"h4"),_.EFF(1),_.nI1(2,"translate"),_.k0s()),2&p){const A=_.XpG();_.R7$(),_.JRh(_.bMT(2,1,A.header))}}function O(p,L){if(1&p&&(_.j41(0,"p"),_.EFF(1),_.nI1(2,"translate"),_.k0s()),2&p){const A=_.XpG();_.R7$(),_.JRh(_.bMT(2,1,A.description))}}let M=(()=>{class p{icon;header;description;class;static \u0275fac=function(E){return new(E||p)};static \u0275cmp=_.VBU({type:p,selectors:[["app-message-centered"]],hostAttrs:[1,"w-100","h-100","d-flex","flex-column","align-items-center","justify-content-center","text-center","text-hint","hide-empty","overflow-hidden","fillIconWithTertiary"],hostVars:3,hostBindings:function(E,v){2&E&&(_.BMQ("data-qa","message-centered"),_.HbH(v.class))},inputs:{icon:"icon",header:"header",description:"description",class:"class"},ngContentSelectors:m,decls:4,vars:3,consts:[[1,"svg-xxl","mb-2",3,"img"]],template:function(E,v){1&E&&(_.NAR(),_.nVh(0,d,1,1,"lucide-icon",0),_.nVh(1,u,3,3,"h4"),_.nVh(2,O,3,3,"p"),_.SdG(3)),2&E&&(_.vxM(v.icon?0:-1),_.R7$(),_.vxM(v.header?1:-1),_.R7$(),_.vxM(v.description?2:-1))},dependencies:[a.flO,a.WGl,f.D9],styles:["@media(max-height:300px){lucide-icon[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]{max-height:800px}"],changeDetection:0})}return p})()},68845(U,R,r){r.d(R,{L:()=>y});var a=r(17705),f=r(85802),_=r(32271),m=r(89417),d=r(70152),u=r(96106),O=r(35606),M=r(68018),p=r(58689),L=r(56998),A=r(98352),E=r(89079),v=r(8516),l=r(35547);const h=[[["","search-prepend",""]],[["","search-append",""]]],g=["[search-prepend]","[search-append]"];function T(N,I){if(1&N){const e=l.RV6();l.j41(0,"lucide-icon",4),l.bIt("click",function(w){f.eBV(e);const F=l.XpG();return f.Njj(F.clear(w))}),l.k0s()}if(2&N){const e=l.XpG();l.Y8G("img",e.XIcon)}}let y=(()=>{class N extends A.z{isNewDesignGlobal=(0,f.WQX)(p.T);newDesign=(0,a.hFB)();isNewDesign=(0,_.EW)(()=>this.newDesign()??this.isNewDesignGlobal());autofocus=!0;placeholder="_i18n.Search";debounceTime=u.tN;clearable;formControl=new m.MJ("",{nonNullable:!0});ngOnInit(){this.formControl.valueChanges.pipe((0,d.B)(this.debounceTime),(0,E.pQ)(this.destroyRef)).subscribe(e=>{this.valueChanged(e)})}writeValue(e){super.writeValue(e??""),this.formControl.setValue(this.value,{emitEvent:!1})}setDisabledState(e){super.setDisabledState(e),(0,L.TZ)(this.formControl,!e)}clear(e){e?.stopPropagation(),this.formControl.value&&(this.formControl.setValue(""),this.valueChanged(""))}Search=v.vji;XIcon=v.uv5;static \u0275fac=(()=>{let e;return function(w){return(e||(e=l.xGo(N)))(w||N)}})();static \u0275cmp=l.VBU({type:N,selectors:[["search-bar"]],hostVars:5,hostBindings:function(B,w){2&B&&(l.BMQ("data-qa","search-bar"),l.AVh("new-design",w.isNewDesign())("keep-old-design",!1===w.newDesign()))},inputs:{newDesign:[1,"newDesign"],autofocus:"autofocus",placeholder:"placeholder",debounceTime:"debounceTime",clearable:"clearable"},features:[l.Jv_([{provide:m.kq,useExisting:N,multi:!0}]),l.Vt3],ngContentSelectors:g,decls:7,vars:12,consts:[[1,"position-relative","flex-1"],["name","search","data-qa","input","wcAutofocus","","type","text",3,"keydown.enter","keydown.escape","wcAutofocusDisabled","maxlength","placeholder","formControl"],[1,"search-icon",3,"img"],["role","button",1,"clear-icon",3,"img"],["role","button",1,"clear-icon",3,"click","img"]],template:function(B,w){1&B&&(l.NAR(h),l.SdG(0),l.j41(1,"div",0)(2,"input",1),l.nI1(3,"translate"),l.bIt("keydown.enter",function(){return w.valueChanged(w.formControl.value)})("keydown.escape",function(){return w.clear()}
1),l.k0s(),l.nrm(4,"lucide-icon",2),l.nVh(5,T,1,1,"lucide-icon",3),l.k0s(),l.SdG(6,1)),2&B&&(l.R7$(2),l.HbH(l.VkB("",w.isNewDesign()?"form-control":"no-bg border-0"," w-100")),l.Y8G("placeholder",l.VkB("",l.bMT(3,10,w.placeholder),"..."))("wcAutofocusDisabled",!w.autofocus)("maxlength",255)("formControl",w.formControl),l.R7$(2),l.Y8G("img",w.Search),l.R7$(),l.vxM(w.clearable&&w.formControl.value?5:-1))},dependencies:[O.J,m.X1,m.me,m.BC,m.tU,m.l_,v.flO,v.WGl,M.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;align-items:center;flex-wrap:wrap;padding:var(--spacer-xs);gap:var(--spacer-s);border-bottom:1px solid var(--border-color)}[top-bar][_nghost-%COMP%]{padding:0 var(--spacer) 0 calc(var(--spacer) - var(--spacer-xs));min-height:var(--aside-folded-nav-height)}[_nghost-%COMP%] input[_ngcontent-%COMP%]{padding:var(--input-padding-y) var(--input-padding-x);height:var(--input-height)}[_nghost-%COMP%] lucide-icon[_ngcontent-%COMP%]{--svg-color: var(--text-hint);--svg-size: var(--svg-size-sm);position:absolute;top:calc((var(--input-height) - var(--svg-size)) / 2);line-height:1}[_nghost-%COMP%] lucide-icon[_ngcontent-%COMP%]:has(.search-icon), [_nghost-%COMP%] lucide-icon.search-icon[_ngcontent-%COMP%]{left:var(--input-padding-x);pointer-events:none}[_nghost-%COMP%] lucide-icon[_ngcontent-%COMP%]:has(.clear-icon), [_nghost-%COMP%] lucide-icon.clear-icon[_ngcontent-%COMP%]{right:var(--input-padding-x)}[_nghost-%COMP%]:has(.search-icon) input[_ngcontent-%COMP%]{padding-left:calc(var(--input-padding-x) + var(--svg-size) + var(--spacer-s))}[_nghost-%COMP%]:has(.clear-icon) input[_ngcontent-%COMP%]{padding-right:calc(var(--input-padding-x) + var(--svg-size) + var(--spacer-s))}.new-design[_nghost-%COMP%]{border-bottom:none;padding:0;max-width:1200px}.new-design[_nghost-%COMP%] input[_ngcontent-%COMP%]{min-width:150px}.new-design[_nghost-%COMP%] [dropdownToggle]:after{display:none}"],changeDetection:0})}return N})()},82971(U,R,r){r.d(R,{g:()=>a});const a={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"}},85260(U,R,r){r.d(R,{Cy:()=>E});var f=r(31635),_=r(17705),m=r(35547),d=r(85802),u=r(72806),O=r(49769);const M=["*"];function p(l,h){if(1&l){const g=m.RV6();m.j41(0,"button",3),m.bIt("click",function(){d.eBV(g);const y=m.XpG(2);return d.Njj(y.close())}),m.j41(1,"span",4),m.EFF(2,"\xd7"),m.k0s(),m.j41(3,"span",5),m.EFF(4,"Close"),m.k0s()()}}function L(l,h){if(1&l&&(m.j41(0,"div",1),m.nVh(1,p,5,0,"button",2),m.SdG(2),m.k0s()),2&l){const g=m.XpG();m.HbH("alert alert-"+g.type),m.Y8G("ngClass",g.classes),m.R7$(),m.vxM(g.dismissible?1:-1)}}let A=(()=>{class l{constructor(){this.type="warning",this.dismissible=!1,this.dismissOnTimeout=void 0}static{this.\u0275fac=function(T){return new(T||l)}}static{this.\u0275prov=d.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}}return l})(),E=(()=>{class l{constructor(g,T){this.changeDetection=T,this.type="warning",this.dismissible=!1,this.isOpen=!0,this.onClose=new d.bkB,this.onClosed=new d.bkB,this.classes="",this.dismissibleChange=new d.bkB,Object.assign(this,g),this.dismissibleChange.subscribe(()=>{this.classes=this.dismissible?"alert-dismissible":"",this.changeDetection.markForCheck()})}ngOnInit(){this.dismissOnTimeout&&setTimeout(()=>this.close(),parseInt(this.dismissOnTimeout,10))}close(){this.isOpen&&(this.onClose.emit(this),this.isOpen=!1,this.changeDetection.markForCheck(),this.onClosed.emit
1(this))}static{this.\u0275fac=function(T){return new(T||l)(m.rXU(A),m.rXU(_.gRc))}}static{this.\u0275cmp=m.VBU({type:l,selectors:[["alert"],["bs-alert"]],inputs:{type:"type",dismissible:"dismissible",dismissOnTimeout:"dismissOnTimeout",isOpen:"isOpen"},outputs:{onClose:"onClose",onClosed:"onClosed"},ngContentSelectors:M,decls:1,vars:1,consts:[["role","alert",3,"class","ngClass"],["role","alert",3,"ngClass"],["type","button","aria-label","Close",1,"close","btn-close"],["type","button","aria-label","Close",1,"close","btn-close",3,"click"],["aria-hidden","true",1,"visually-hidden"],[1,"sr-only","visually-hidden"]],template:function(T,y){1&T&&(m.NAR(),m.nVh(0,L,3,4,"div",0)),2&T&&m.vxM(y.isOpen?0:-1)},dependencies:[O.YU],encapsulation:2,changeDetection:0})}}return(0,f.Cg)([(0,u.Yr)(),(0,f.Sn)("design:type",Object)],l.prototype,"dismissible",void 0),l})()}}]);
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.