PageSourceSearch

https://cept.org/6960.cc47695223596e02.js

js cept.org collected 2026-10-02 03:29:49 UTC 68,882 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcept=self.webpackChunkcept||[]).push([[6960],{2167:(T,k,l)=>{l.d(k,{bn:()=>f,fi:()=>e,z8:()=>g});var f=function(a){return a.Hybrid="Hybrid",a.Physical="Physical",a.Virtual="Virtual",a}(f||{}),g=function(a){return a.Hybrid="Hybrid",a.Physical="Physical",a.Virtual="Virtual",a.Workshop="Workshop",a}(g||{}),e=function(a){return a.Created="Created",a.Updated="Updated",a}(e||{})},6960:(T,k,l)=>{l.r(k),l.d(k,{MeetingEditorComponent:()=>Ie});var f=l(467),g=l(177),e=l(4438),a=l(5172),w=l(1780),o=l(9417),C=l(792),u=l(5626),F=l(2719),I=l(8451),v=l(1552),t=l(215),E=l(4306),h=l(751),_=l(1413),y=l(6977),M=l(4572),P=l(9172),D=l(7786),S=l(152),b=l(2167);function V(i,d){switch(i){case b.z8.Hybrid:return u.Wf.Hybrid;case b.z8.Physical:return u.Wf.Physical;case b.z8.Virtual:return u.Wf.Virtual;case b.z8.Workshop:switch(d){case b.bn.Hybrid:return u.Wf.WorkshopHybrid;case b.bn.Physical:return u.Wf.WorkshopPhysical;case b.bn.Virtual:return u.Wf.WorkshopVirtual}}}var R=l(9511),N=l(9261),L=l(3990),G=l(1875),z=l(1854);const U=["successMessageRef"],W=["errorsRef"],X=i=>({"radio-buttons-block--disabled":i}),Y=()=>[];function J(i,d){1&i&&(e.j41(0,"span",5,0),e.nrm(2,"span",57),e.EFF(3),e.nI1(4,"translate"),e.k0s()),2&i&&(e.R7$(3),e.SpI(" ",e.bMT(4,1,"MeetingEditor.FormMeetingSavedSuccessfullyText")," "))}function K(i,d){if(1&i&&(e.j41(0,"li",59),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&i){const n=d.$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,"MeetingEditor.Form.Fields."+n.fieldName+".Errors."+n.errorKey)," ")}}function Z(i,d){if(1&i&&(e.j41(0,"li",61),e.EFF(1),e.k0s()),2&i){const n=d.$implicit;e.R7$(),e.JRh(n)}}function Q(i,d){if(1&i&&(e.j41(0,"div",6,1)(2,"ul",58),e.Z7z(3,K,3,3,"li",59,e.Vm6),e.k0s(),e.j41(5,"ul",60),e.Z7z(6,Z,2,1,"li",61,e.fX1),e.k0s()()),2&i){const n=e.XpG();e.R7$(3),e.Dyx(n.formErrors),e.R7$(3),e.Dyx(n.serverErrors)}}function q(i,d){if(1&i&&(e.j41(0,"label",17),e.nrm(1,"app-radio-btn",62),e.EFF(2),e.k0s()),2&i){const n=d.$implicit,s=e.XpG();e.R7$(),e.Y8G("value",n)("isDisabled",s.data.hasParticipants),e.R7$(),e.SpI(" ",n," ")}}function ee(i,d){if(1&i&&(e.j41(0,"label",17),e.nrm(1,"app-radio-btn",64),e.EFF(2),e.k0s()),2&i){const n=d.$implicit,s=e.XpG(2);e.R7$(),e.Y8G("value",n)("disabled",s.data.hasParticipants),e.R7$(),e.SpI(" ",n," ")}}function te(i,d){if(1&i&&(e.j41(0,"shared-two-col-form-row",15)(1,"label",10),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",63),e.Z7z(5,ee,3,3,"label",17,e.fX1),e.k0s()()),2&i){const n=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,1,"MeetingEditor.FormWorkshopTypeLabel")," "),e.R7$(3),e.Dyx(n.workshopTypes)}}function ie(i,d){1&i&&(e.j41(0,"shared-two-col-form-row",9)(1,"label",10),e.EFF(2),e.nI1(3,"translate"),e.nrm(4,"span",13),e.k0s(),e.nrm(5,"input",65),e.k0s()),2&i&&(e.R7$(2),e.SpI(" ",e.bMT(3,7,"MeetingEditor.FormPhysicalRegistrationDeadlineLabel")," "),e.R7$(3),e.Y8G("enableTime",!0)("time24hr",!0)("minuteIncrement",1)("altInput",!0)("convertModelValue",!0)("className","form-row__input date-time"))}function ne(i,d){1&i&&(e.j41(0,"shared-two-col-form-row",9)(1,"label",10),e.EFF(2),e.nI1(3,"translate"),e.nrm(4,"span",13),e.k0s(),e.nrm(5,"input",66),e.k0s()),2&i&&(e.R7$(2),e.SpI(" ",e.bMT(3,7,"MeetingEditor.FormVirtualRegistrationDeadlineLabel")," "),e.R7$(3),e.Y8G("enableTime",!0)("time24hr",!0)("minuteIncrement",1)("altInput",!0)("convertModelValue",!0)("className","form-row__input date-time"))}function oe(i,d){1&i&&(e.j41(0,"shared-two-col-form-row",9)(1,"label",71),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"input",72),e.k0s()),2&i&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"MeetingEditor.FormLocationCityLabel")," "))}function re(i,d){if(1&i&&(e.j41(0,"shared-two-col-form-row",9)(1,"div",73),e.EFF(2),e.nI1(3,"translate"),e.k0s()(),e.j41(4,"shared-two-col-form-row",9)(5,"label",74),e.EFF(6),e.nI1(7,"translate"),e.nrm(8,"span",13),e.k0s(),e.nrm(9,"shared-select",75),e.nI1(10,"translate"),e.k0s(),e.j41(11,"shared-two-col-form-row",9)(12,"div",73),e.EFF(13),e.nI1(14,"translate"),e.k0s()()),2&i){const n=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,5,"MeetingEditor.FormLocationNoteText")," "),e.R7$(4),e.SpI(" ",e.bMT(7,7,"MeetingEditor.FormMeetingRoomLabel")," "),e.R7$(3),e.Y8G("items",n.isDeadlineDatesValid?n.data.meetingRooms:e.lJ4(13,Y))("placeholder",e.bMT(10,9,n.isDeadlineDatesValid?"MeetingEditor.FormMeetingRoomDefaultSelectOptionLabel":"MeetingEditor.FormMeetingRoomInvalidDatesDefaultSelectOptionLabel")),e.R7$(4),e.SpI(" ",e.bMT(14,11,"MeetingEditor.FormMeetingRoomNoteText")," ")}}function ae(i,d){if(1&i&&(e.j41(0,"shared-two-col-form-row",9)(1,"label",67),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"shared-select",68),e.nI1(5,"translate"),e.k0s(),e.DNE(6,oe,5,3,"shared-two-col-form-row",9)(7,re,15,14),e.j41(8,"shared-two-col-form-row",15)(9,"div",27)(10,"label",69),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.nrm(13,"div",29),e.nI1(14,"translate"),e.k0s(),e.nrm(15,"textarea",70),e.k0s()),2&i){const n=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,7,"MeetingEditor.FormLocationLabel")," "),e.R7$(2),e.Y8G("items",n.countries)("placeholder",e.bMT(5,9,"MeetingEditor.FormLocationDefaultSelectOptionLabel")),e.R7$(2),e.vxM(6,n.showLocationCity?6:-1),e.R7$(),e.vxM(7,n.showMeetingRoomSelect?7:-1),e.R7$(4),e.SpI(" ",e.bMT(12,11,"MeetingEditor.FormVenueContactInfoLabel")," "),e.R7$(2),e.Y8G("innerHTML",e.bMT(14,13,"MeetingEditor.FormVenueContactInfo.CheckInfoNotification"),e.npT)}}function se(i,d){1&i&&(e.j41(0,"shared-two-col-form-row",9)(1,"label",78),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"input",79),e.k0s()),2&i&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"MeetingEditor.FormMeetinHubUrlLabel")," "))}function le(i,d){if(1&i&&(e.j41(0,"shared-two-col-form-row",9)(1,"label",80),e.EFF(2),e.nI1(3,"translate"),e.nrm(4,"span",13),e.k0s(),e.nrm(5,"shared-select",81),e.nI1(6,"translate"),e.k0s()),2&i){const n=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,3,"MeetingEditor.FormG2MAccountLabel")," "),e.R7$(3),e.Y8G("items",n.data.g2MAccounts)("placeholder",e.bMT(6,5,"MeetingEditor.FormLocationDefaultSelectOptionLabel"))}}function ce(i,d){if(1&i&&(e.j41(0,"shared-two-col-form-row",9)(1,"label",76),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"shared-checkbox",77),e.k0s(),e.DNE(5,se,5,3,"shared-two-col-form-row",9)(6,le,7,7)),2&i){const n=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,2,"MeetingEditor.FormCreateInTheMeetingHubLabel")," "),e.R7$(3),e.vxM(5,n.isG2MAccountEnabled?6:5)}}function de(i,d){1&i&&(e.j41(0,"shared-two-col-form-row",9)(1,"label",78),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"input",79),e.k0s()),2&i&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"MeetingEditor.FormMeetinHubUrlLabel")," "))}function me(i,d){1&i&&(e.j41(0,"shared-two-col-form-row",25)(1,"label",82),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"input",83),e.k0s()),2&i&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"MeetingEditor.FormPhisicalMaxParticipantsLabel")," "))}function ge(i,d){1&i&&(e.j41(0,"shared-two-col-form-row",25)(1,"label",84),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"input",85),e.k0s()),2&i&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"MeetingEditor.FormVirtualMaxParticipantsLabel")," "))}function he(i,d){1&i&&(e.j41(0,"shared-two-col-form-row",9)(1,"label",86),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"shared-checkbox",87),e.k0s(),e.j41(5,"shared-two-col-form-row",9)(6,"div",73),e.EFF(7),e.nI1(8,"translate"),e.k0s()()),2&i&&(e.R7$(2),e.SpI(" ",e.bMT(3,2,"MeetingEditor.FormMeetingFolderLabel")," "),e.R7$(5),e.SpI(" ",e.bMT(8,4,"MeetingEditor.FormMeetingFolderCheckboxDescription")," "))}function pe(i,d){1&i&&(e.j41(0,"div",26)(1,"div"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div"),e.EFF(5),e.nI1(6,"translate"),e.k0s()()),2&i&&(e.R7$(2),e.SpI(" ",e.bMT(3,2,"MeetingEditor.FormLinkToDocumentCreateModeText")," "),e.R7$(3),e.SpI(" ",e.bMT(6,4,"MeetingEditor.FormLinkToDocumentFoldersTitle")," "))}function fe(i,d){if(1&i&&(e.j41(0,"li",91)(1,"a",92),e.EFF(2),e.k0s()()),2&i){const n=d.$implicit;e.R7$(),e.Y8G("href",n.downloadLink,e.B4B),e.R7$(),e.SpI(" ",n.title," ")}}function ue(i,d){if(1&i&&(e.j41(0,"ul",90),e.Z7z(1,fe,3,2,"li",91,e.fX1),e.k0s()),2&i){const n=e.XpG(2);e.R7$(),e.Dyx(n.selectedFiles)}}function be(i,d){if(1&i&&(e.j41(0,"li",94)(1,"a",95),e.EFF(2),e.k0s()()),2&i){const n=d.$implicit;e.R7$(),e.Y8G("href",n.folderUrl,e.B4B),e.R7$(),e.SpI(" ",n.title," ")}}function _e(i,d){if(1&i&&(e.j41(0,"p",93),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.j41(3,"ul",90),e.Z7z(4,be,3,2,"li",94,e.fX1),e.k0s()),2&i){const n=e.XpG(2);e.R7$(),e.SpI(" ",e.bMT(2,1,"MeetingEditor.FormLinkToDocumentFoldersTitle")," "),e.R7$(3),e.Dyx(n.selectedFolders)}}function Me(i,d){if(1&i){const n=e.RV6();e.j41(0,"div",88)(1,"button",89),e.bIt("click",function(){e.eBV(n);const r=e.XpG();return e.Njj(r.onOpenMeetingDocumentManager())}),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,ue,3,0,"ul",90)(5,_e,6,3),e.k0s()}if(2&i){const n=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,3,"MeetingEditor.AddRemoveDocumentLinkText")," "),e.R7$(2),e.vxM(4,n.selectedFiles.length?4:-1),e.R7$(),e.vxM(5,n.selectedFolders.length?5:-1)}}function Ce(i,d){if(1&i&&(e.j41(0,"label",17),e.nrm(1,"app-radio-btn",96),e.EFF(2),e.k0s()),2&i){const n=d.$implicit;e.R7$(),e.Y8G("value",n.id),e.R7$(),e.SpI(" ",n.label," ")}}function ve(i,d){1&i&&(e.j41(0,"shared-checkbox",40),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&i&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"MeetingEditor.FormNotificationChairmanCheckboxLabel")," "))}function xe(i,d){1&i&&(e.j41(0,"shared-checkbox",41),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&i&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"MeetingEditor.FormNotificationViceChairmanCheckboxLabel")," "))}function Ee(i,d){1&i&&(e.j41(0,"shared-checkbox",42),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&i&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"MeetingEditor.FormNotificationSecretaryTechnicalCheckboxLabel")," "))}function ye(i,d){1&i&&(e.j41(0,"shared-checkbox",43),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&i&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"MeetingEditor.FormNotificationSecretaryAdministrativeCheckboxLabel")," "))}function we(i,d){1&i&&(e.j41(0,"shared-checkbox",44),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&i&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"MeetingEditor.FormNotificationECOContactCheckboxLabel")," "))}function ke(i,d){1&i&&(e.nrm(0,"input",97),e.j41(1,"span"),e.EFF(2,"days before"),e.k0s())}function Pe(i,d){if(1&i){const n=e.RV6();e.j41(0,"button",98),e.bIt("click",function(){e.eBV(n);const r=e.XpG();return e.Njj(r.deleteMeeting())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&i&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"MeetingEditor.FormDeleteBtnText")," "))}function Fe(i,d){if(1&i&&(e.j41(0,"li",99),e.EFF(1),e.nI1(2,"translate"),e.nI1(3,"date"),e.k0s()),2&i){const n=d.$implicit,s=e.XpG(2);e.R7$(),e.E5c(" ",e.bMT(2,3,n.historyType===s.HistoryType.Updated?"MeetingEditor.HistoryModifiedText":"MeetingEditor.HistoryCreatedText")," ",e.i5U(3,5,n.date,"dd/M/yyy, HH:mm:ss")," by ",n.memberFullName," ")}}function De(i,d){if(1&i&&(e.j41(0,"ul",56),e.Z7z(1,Fe,4,8,"li",99,e.fX1),e.k0s()),2&i){const n=e.XpG();e.R7$(),e.Dyx(n.data.meetingHistory)}}let Ie=(()=>{class i{get formErrors(){return Object.entries(this.form?.controls).filter(([n,s])=>s.touched&&s.errors).map(([n,s])=>({fieldName:n[0].toUpperCase()+n.slice(1),errorKey:Object.keys(s.errors)[0]}))}get isDeadlineDatesValid(){return this.form?.controls.startDateTime?.valid&&this.form?.controls.endDateTime?.valid}get showMeetingRoomSelect(){const n=this.form?.controls.meetingLocation?.value;return this.showLocationBlock&&n<0&&-4!==n}constructor(n,s,r,p,O,m,x){this.router=n,this.route=s,this.translateService=r,this.meetingService=p,this.loaderService=O,this.popupService=m,this.toastService=x,this.refetchData=new e.bkB,this.alive$=new _.B,this.HistoryType=b.fi,this.isDeleteEnabled=!1,this.isMeetingDocumentsManagerOpened=!1,this.meetingTypes=Object.values(b.z8).filter($=>"string"==typeof $),this.workshopTypes=Object.values(b.z8).filter($=>"string"==typeof $).slice(0,-1),this.meetingVisibilityTypes=function c(i){return[{id:u.OI.OpenForAll,label:i.instant("MeetingEditor.FormDisplayInCalendarParticipatingRightsValue1")},{id:u.OI.VisibleToAllRegistrationOpenForGroup,label:i.instant("MeetingEditor.FormDisplayInCalendarParticipatingRightsValue2")},{id:u.OI.VisibleToGroupRegistrationOpenForGroup,label:i.instant("MeetingEditor.FormDisplayInCalendarParticipatingRightsValue3")}]}(this.translateService),this.meetingOrganisers=[],this.countries=[],this.isEdit=!1,this.showWorkshopType=!1,this.isG2MAccountEnabled=!1,this.showPhisicalRegistrationDeadline=!0,this.showVirtualRegistrationDeadline=!0,this.showPhisicalMaxParticipants=!0,this.showVirtualMaxParticipants=!0,this.showLocationCity=!1,this.showLocationBlock=!0,this.isDocumentsManagerEnabled=!1,this.serverErrors=[]}ngOnInit(){const s=new Date((new Date).getTime()+h.yU);
1this.isChangesSaved="true"===this.route.snapshot.queryParams.isChangesSaved,this.isEdit=!!this.data.meeting?.id,this.groupId=Number(this.data.entityId),this.meetingService.getMeetingOrganizers(this.data.groupId).pipe((0,y.Q)(this.alive$)).subscribe(m=>{m&&(this.meetingOrganisers=function B(i,d,n){return[{title:n.instant("MeetingEditor.FormMeetingOrganiserGroupMembersDividerSelectOptionLabel"),items:[...i,{fullName:"",id:null,disabled:!0}]},{title:n.instant("MeetingEditor.FormMeetingOrganiserAdminsDividerSelectOptionLabel"),items:[...d]}]}(m.groupMembers,m.admins,this.translateService))}),this.countries=function j(i,d){const n=i.findIndex(s=>-4===s.id);return-1!==n&&i.splice(n+1,0,{code:"",id:-1/0,name:d.instant("MeetingEditor.FormLocationDividerSelectOptionLabel"),disabled:!0}),i.unshift({code:"",id:-1/0,name:d.instant("MeetingEditor.FormLocationDividerSelectOptionLabel"),disabled:!0}),i}([...this.data.countries],this.translateService);let r=this.data.meeting;const[p,O]=function H(i){switch(i){case u.Wf.Physical:return[b.z8.Physical,b.bn.Hybrid];case u.Wf.Virtual:return[b.z8.Virtual,b.bn.Hybrid];case u.Wf.WorkshopHybrid:return[b.z8.Workshop,b.bn.Hybrid];case u.Wf.WorkshopPhysical:return[b.z8.Workshop,b.bn.Physical];case u.Wf.WorkshopVirtual:return[b.z8.Workshop,b.bn.Virtual];default:return[b.z8.Hybrid,b.bn.Hybrid]}}(r?.meetingType);this.form=new o.gE({meetingName:new o.MJ(r?.name||"",[o.k0.required]),meetingType:new o.MJ(p||b.z8.Hybrid),workshopType:new o.MJ(O||b.bn.Hybrid),meetingOrganiser:new o.MJ(r?.meetingOrganiserId||null,[m=>o.k0.required(m)]),startDateTime:new o.MJ(r?.startDate?new Date(r.startDate):null,[o.k0.required]),endDateTime:new o.MJ(r?.endDate?new Date(r.endDate):null,[o.k0.required,m=>this.form?.controls.startDateTime?.value?.getTime()>=m.value?.getTime()?{endDateIsLowerThanStart:!0}:null]),contributionDeadline:new o.MJ(r?.contributionDeadline?new Date(r.contributionDeadline):null),physicalRegistrationDeadline:new o.MJ(this.isEdit?new Date(r?.registrationDeadlinePhysical?r.registrationDeadlinePhysical:s):s,[m=>this.showPhisicalRegistrationDeadline&&o.k0.required(m)?{required:!0}:null,m=>{if(!this.showPhisicalRegistrationDeadline)return null;const x=this.form?.controls.startDateTime?.value;return x&&m.value&&x.getTime()<m.value.getTime()?{incorrect:!0}:null}]),virtualRegistrationDeadline:new o.MJ(this.isEdit?new Date(r?.registrationDeadlineVirtual?r.registrationDeadlineVirtual:s):s,[m=>this.showVirtualRegistrationDeadline&&o.k0.required(m)?{required:!0}:null,m=>{if(!this.showVirtualRegistrationDeadline)return null;const x=this.form?.controls.startDateTime?.value;return x&&m.value&&x.getTime()<m.value.getTime()?{incorrect:!0}:null}]),meetingLocation:new o.MJ(r?.locationId||null),locationCity:new o.MJ(r?.locationCity||""),meetingRoom:new o.MJ(r?.meetingRoomId||null,[m=>this.showMeetingRoomSelect?o.k0.required(m):null]),venueContactAndInfo:new o.MJ(r?.venueContact||""),createInTheMeetingHub:new o.MJ(this.isEdit),g2mAccount:new o.MJ(this.data.meeting?.webMeetingAccount||null,[m=>this.isG2MAccountEnabled?o.k0.required(m):null]),meetingHubUrl:new o.MJ(this.data.meeting?.webMeetingUrl||null),phisicalMaxParticipants:new o.MJ(this.isEdit?this.data.meeting?.maxPhysicalParticipants:50),virtualMaxParticipants:new o.MJ(this.isEdit?this.data.meeting?.maxVirtualParticipants:250),participantReminderEnabled:new o.MJ(r?.participantReminderEnabled||!1),participantReminderDays:new o.MJ(r?.participantReminderDays??null),createMeetingFolder:new o.MJ(!1),meetingNotes:new o.MJ(r?.details||""),externalReference:new o.MJ(r?.externalLink||""),activateRegistrationLink:new o.MJ(r?.activateRegLink||!1),displayInCalendarAndParticipatingRights:new o.MJ(r?.calendarDisplayStatus||u.OI.OpenForAll),notificationForMeetingOrganiser:new o.MJ("boolean"!=typeof r?.organiserNotification||r.organiserNotification,[this.notificationsValidator.bind(this)]),notificationForChairman:new o.MJ(r?.chairmanNotification||!1),notificationForViceChairman:new o.MJ(r?.viceChairmanNotification||!1),notificationForECO:new o.MJ(this.data.hasEcoContact),notificationForSecretaryTechnical:new o.MJ(r?.secretaryTechnicalNotification||!1),notificationForSecretaryAdministrative:new o.MJ(r?.secretaryAdministrativeNotification||!1)}),this.form.controls.notificationForECO.disable(),this.isEdit&&this.form.controls.createInTheMeetingHub.disable(),this.data.canCreateMeetingInMeetingHub||this.form.controls.g2mAccount.disable(),this.data.hasParticipants&&(this.form.controls.meetingType.disable(),this.form.controls.workshopType.disable()),this.form.controls.startDateTime.valueChanges.subscribe(()=>{this.showPhisicalRegistrationDeadline&&this.form?.controls.physicalRegistrationDeadline?.updateValueAndValidity(),this.showVirtualRegistrationDeadline&&this.form?.controls.virtualRegistrationDeadline?.updateValueAndValidity()}),(0,M.z)([this.form.controls.meetingType.valueChanges.pipe((0,P.Z)(this.form.controls.meetingType.value)),this.form.controls.workshopType.valueChanges.pipe((0,P.Z)(this.form.controls.workshopType.value))]).pipe((0,y.Q)(this.alive$)).subscribe(([m,x])=>{this.isDocumentsManagerEnabled=this.isEdit&&m===p&&x===O,this.showWorkshopType=m===b.z8.Workshop,m===b.z8.Workshop&&(m=x),this.showPhisicalRegistrationDeadline=m!==b.z8.Virtual,this.showVirtualRegistrationDeadline=m!==b.z8.Physical,this.showPhisicalMaxParticipants=m!==b.z8.Virtual,this.showVirtualMaxParticipants=m!==b.z8.Physical,this.showLocationBlock=m!==b.z8.Virtual}),this.form.controls.meetingLocation.valueChanges.pipe((0,y.Q)(this.alive$),(0,P.Z)(this.form.controls.meetingLocation.value)).subscribe(m=>{this.showLocationCity=!!m&&m>0,this.showMeetingRoomSelect||this.form.controls.meetingRoom.setValue(null)}),this.form.controls.createInTheMeetingHub.valueChanges.pipe((0,y.Q)(this.alive$),(0,P.Z)(this.form.controls.createInTheMeetingHub.value)).subscribe(m=>{this.isG2MAccountEnabled=m,this.form.controls.g2mAccount.updateValueAndValidity()}),this.form.controls.participantReminderEnabled.valueChanges.pipe((0,y.Q)(this.alive$)).subscribe(m=>{m&&!this.form.controls.participantReminderDays.value&&this.form.controls.participantReminderDays.setValue(this.data.defaultParticipantReminderDays)}),(0,D.h)(this.form.controls.startDateTime.valueChanges,this.form.controls.endDateTime.valueChanges,this.form.controls.meetingLocation.valueChanges).pipe((0,y.Q)(this.alive$),(0,S.B)(50)).subscribe(m=>{const x=this.form.value;x.meetingLocation<0&&-4!==x.meetingLocation&&this.isDeadlineDatesValid&&(this.loaderService.loading$.next(!0),this.meetingService.getAvailableMeetingRooms(this.groupId,this.data?.meeting?.
1id||null,(0,R.f)(x.startDateTime),(0,R.f)(x.endDateTime)).subscribe({next:$=>{this.data.meetingRooms=$.meetingRooms,this.data.meetingRooms.find(Oe=>Oe.id===x.meetingRoom)||this.form.controls.meetingRoom.setValue(null),this.loaderService.loading$.next(!1)},error:()=>{this.loaderService.loading$.next(!1)}}))}),(0,D.h)(this.form.controls.notificationForChairman.valueChanges,this.form.controls.notificationForViceChairman.valueChanges,this.form.controls.notificationForECO.valueChanges,this.form.controls.notificationForSecretaryAdministrative.valueChanges,this.form.controls.notificationForSecretaryTechnical.valueChanges).pipe((0,y.Q)(this.alive$)).subscribe(()=>{this.form.controls.notificationForMeetingOrganiser.updateValueAndValidity()}),this.form.controls.startDateTime.valueChanges.pipe((0,y.Q)(this.alive$),(0,S.B)(10)).subscribe(m=>{if(m){if(this.form.controls.endDateTime.updateValueAndValidity(),this.form.controls.endDateTime.value&&!this.form.controls.endDateTime.valid&&this.form.controls.endDateTime.setValue(null),!this.isEdit&&!this.form.controls.physicalRegistrationDeadline.dirty){let x=new Date(m.getTime()-4*h.yU);this.form.controls.physicalRegistrationDeadline.setValue(new Date(Math.max(x.getTime(),(new Date).getTime()+h.yU/24)))}if(!this.isEdit&&!this.form.controls.virtualRegistrationDeadline.dirty){let x=new Date(m.getTime()-4*h.yU);this.form.controls.virtualRegistrationDeadline.setValue(new Date(Math.max(x.getTime(),(new Date).getTime()+h.yU/24)))}}}),this.isEdit&&(this.selectedFiles=this.data.meeting.files,this.selectedFolders=this.data.meeting.folders),this.sortHistoryLevels()}ngAfterViewInit(){this.isChangesSaved&&(this.loaderService.loading$.next(!1),this.onSuccess(),this.router.navigate([],{relativeTo:this.route,queryParams:{isChangesSaved:null},queryParamsHandling:"merge"}))}submit(n){if(this.form.valid){this.loaderService.loading$.next(!0);const s=this.form.getRawValue(),r={activateRegLink:s.activateRegistrationLink,calendarDisplayStatus:s.displayInCalendarAndParticipatingRights,chairmanNotification:this.data.hasChairman&&s.notificationForChairman,secretaryAdministrativeNotification:this.data.hasSecretaryAdministrative&&s.notificationForSecretaryAdministrative,secretaryTechnicalNotification:this.data.hasSecretaryTechnical&&s.notificationForSecretaryTechnical,contentGroupSiteId:this.data.groupId,contributionDeadline:(0,R.f)(s.contributionDeadline),createFolder:s.createMeetingFolder,details:s.meetingNotes,ecoContactNotification:!!this.form.controls.notificationForECO.value,endDate:(0,R.f)(s.endDateTime),externalLink:s.externalReference,locationCity:this.showLocationBlock?s.locationCity:null,locationId:this.showLocationBlock?s.meetingLocation:null,maxPhysicalParticipants:this.showPhisicalMaxParticipants&&"number"==typeof s.phisicalMaxParticipants?s.phisicalMaxParticipants:null,maxVirtualParticipants:this.showVirtualMaxParticipants&&"number"==typeof s.virtualMaxParticipants?s.virtualMaxParticipants:null,participantReminderEnabled:!!s.participantReminderEnabled,participantReminderDays:s.participantReminderEnabled&&"number"==typeof s.participantReminderDays?s.participantReminderDays:null,meetingOrganiserId:s.meetingOrganiser,meetingRoomId:this.showLocationBlock?s.meetingRoom:null,meetingType:V(s.meetingType,s.workshopType),name:s.meetingName,organiserNotification:s.notificationForMeetingOrganiser,registrationDeadlinePhysical:this.showPhisicalRegistrationDeadline?(0,R.f)(s.physicalRegistrationDeadline):null,registrationDeadlineVirtual:this.showVirtualRegistrationDeadline?(0,R.f)(s.virtualRegistrationDeadline):null,startDate:(0,R.f)(s.startDateTime),venueContact:this.showLocationBlock?s.venueContactAndInfo:"",viceChairmanNotification:this.data.hasViceChairman&&s.notificationForViceChairman,webMeetingUrl:this.isEdit&&this.data.canEditMeetingUrl?s.meetingHubUrl:this.isG2MAccountEnabled?null:s.meetingHubUrl,fileIds:this.selectedFiles?.map(p=>p.id),folderIds:this.selectedFolders?.map(p=>p.id)};this.isEdit?r.id=this.data.meeting.id:(r.webMeetingAccount=this.isG2MAccountEnabled?s.g2mAccount:null,r.createWebMeeting=s.createInTheMeetingHub),this.meetingService[this.isEdit?"updateMeeting":"createMeeting"](r).subscribe(p=>{p.meetingHubValidationResultType!==u.KH.Success&&this.toastService.error(this.translateService.instant("MeetingEditor.Save.ServerError.MeetingHub."+p.meetingHubValidationResultType,1e3),2e3),n?this.goBack():(this.isChangesSaved=!0,this.isEdit?(this.onSuccess(),this.meetingService.getMeetingHistory(this.data.meeting.id).subscribe(O=>{this.data.meetingHistory=O.meetingHistory,this.sortHistoryLevels(),this.loaderService.loading$.next(!1),r.meetingOrganiserId!==this.data.meeting?.meetingOrganiserId&&window.location.reload()}),this.resetG2MAccounts()):this.router.navigate([],{relativeTo:this.route,queryParams:{meetingid:p.id,isChangesSaved:!0},queryParamsHandling:"merge"}).then(()=>{this.loaderService.loading$.next(!0),this.refetchData.emit(!0)}))},p=>{p.error.validationResultType!==u.lO.Success?(this.serverErrors=[this.translateService.instant("MeetingEditor.Save.ServerError."+p.error.validationResultType)],this.loaderService.loading$.next(!1),this.onError()):(this.serverErrors=[this.translateService.instant("MeetingEditor.Save.ServerError.Error")],this.loaderService.loading$.next(!1),this.onError())})}else this.form.markAllAsTouched(),this.onError()}resetG2MAccounts(){this.isG2MAccountEnabled||this.form.controls.g2mAccount.setValue(null)}deleteMeeting(){confirm(this.translateService.instant("Common.AreYouSureText"))&&this.meetingService.deleteMeeting({id:this.data.meeting.id}).subscribe(n=>{this.goBack()},({error:n})=>{this.toastService.error(this.translateService.instant("MeetingEditor.Delete.ServerError."+n.validationResultType),2e3)})}onOpenMeetingDocumentManager(){var n=this;return(0,f.A)(function*(){(yield n.popupService.appendComponentToBody("meetingDocumentManagerPopup",
1null,{content:{currentGroupId:+n.data.entityId,files:n.selectedFiles,folders:n.selectedFolders}})).close$.pipe((0,y.Q)(n.alive$)).subscribe(r=>{r&&(n.selectedFiles=Array.from(r.files.values()).map(p=>({id:p.id,downloadLink:p.downloadLink,title:p.title})),n.selectedFolders=Array.from(r.folders.values()).map(p=>({id:p.id,folderUrl:p.folderUrl,title:p.title})))})})()}goBack(){this.router.navigate([this.data.meetingCalendarPageUrl])}saveAndExit(){this.submit(!0)}sortHistoryLevels(){this.data?.meetingHistory?.sort((n,s)=>{const r=new Date(n.date).getTime();return new Date(s.date).getTime()-r})}notificationsValidator(n){if(!this.form)return null;const{notificationForMeetingOrganiser:s,notificationForChairman:r,notificationForViceChairman:p,notificationForECO:O,notificationForSecretaryAdministrative:m,notificationForSecretaryTechnical:x}=this.form.controls;return s?.value||r?.value||p?.value||O?.value||m?.value||x?.value?null:{atLeastOneNotificationReceiver:!0}}onSuccess(){setTimeout(()=>{if(this.successMessageRef?.nativeElement){const{top:n}=(0,N.N)(this.successMessageRef.nativeElement),s=document.querySelector("app-breadcrumb")?.getBoundingClientRect().height;scroll({top:n-s,behavior:"smooth"}),this.successMessageRef.nativeElement.style.animation="none"}},0),setTimeout(()=>{this.successMessageRef.nativeElement.style.animation=""},500)}onError(){setTimeout(()=>{if(this.errorsRef?.nativeElement){const{top:n}=(0,N.N)(this.errorsRef.nativeElement),s=document.querySelector("app-breadcrumb")?.getBoundingClientRect().height;scroll({top:n-s,behavior:"smooth"})}})}ngOnDestroy(){this.alive$.next(null),this.alive$.complete()}static{this.\u0275fac=function(s){return new(s||i)(e.rXU(L.Ix),e.rXU(L.nX),e.rXU(w.c$),e.rXU(u.k4),e.rXU(I.Z),e.rXU(G.O),e.rXU(z.f))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-meeting-editor"]],viewQuery:function(s,r){if(1&s&&(e.GBs(U,5),e.GBs(W,5)),2&s){let p;e.mGM(p=e.lsd())&&(r.successMessageRef=p.first),e.mGM(p=e.lsd())&&(r.errorsRef=p.first)}},inputs:{data:"data"},outputs:{refetchData:"refetchData"},standalone:!0,features:[e.Jv_([F.f]),e.aNF],decls:154,vars:126,consts:[["successMessageRef",""],["errorsRef",""],[1,"page"],[1,"page__header","header"],[1,"header__subtitle"],[1,"page__saved-notification",2,"animation","none"],[1,"errors-wrapper"],[1,"form",3,"ngSubmit","formGroup"],[1,"form__title"],[1,"form-row"],["leftCol","",1,"form-row__lbl"],[1,"form-row__content"],["for","meeting-name-input","leftCol","",1,"form-row__lbl"],[1,"required"],["type","text","id","meeting-name-input","data-cy","meetingNameInput","formControlName","meetingName",1,"form-row__input"],[1,"form-row","form-row--align-top"],[1,"radio-buttons-block",3,"ngClass"],[1,"radio-buttons-block-item"],["for","meeting-organiser","leftCol","",1,"form-row__lbl"],["fieldId","meeting-organiser","data-cy","meeting-organiser","formControlName","meetingOrganiser","valueProperty","id","labelProperty","fullName",3,"items","placeholder","withGroupBy"],[1,"form-divider"],["type","text","mwlFlatpickr","","id","startDateTime","data-cy","startDateTime","formControlName","startDateTime","dateFormat","d M Y H:i","altFormat","d M Y H:i",3,"enableTime","time24hr","minuteIncrement","altInput","convertModelValue","className"],["type","text","mwlFlatpickr","","id","endDateTime","data-cy","endDateTime","formControlName","endDateTime","dateFormat","d M Y H:i","altFormat","d M Y H:i",3,"enableTime","time24hr","minuteIncrement","altInput","convertModelValue","className","minDate"],["type","text","formControlName","contributionDeadline","id","contributionDeadline","data-cy","contributionDeadline","mwlFlatpickr","","dateFormat","d M Y H:i","altFormat","d M Y H:i",3,"enableTime","time24hr","minuteIncrement","altInput","convertModelValue","className"],[1,"form-divider-space"],[1,"form-row","form-row--with-right-20"],[1,"form-row__content","form-row__content--documents-manager"],["leftCol","",1,"form-row__lbl__wrapper"],["for","meeting-notes",1,"form-row__lbl"],[1,"check-info-text",3,"innerHTML"],["rows","5","cols","40","id","meeting-notes","data-cy","meetingNotesInput","formControlName","meetingNotes",1,"form-row__textarea"],["for","external-reference","leftCol","",1,"form-row__lbl"],["type","text","id","external-reference","data-cy","externalReferenceInput","formControlName","externalReference",1,"form-row__input"],["for","activate-registration-link","leftCol","",1,"form-row__lbl"],["fieldId","activate-registration-link","data-cy","activateRegistrationLinkCheckbox","formControlName","activateRegistrationLink"],[1,"radio-buttons-block","radio-buttons-block--vertical"],[1,"form-row","form-row--align-top","form-row--notification"],[1,"form-row__content","form-row__content--notification"],[1,"checkboxes-block"],["data-cy","notificationForMeetingOrganiserCheckbox","formControlName","notificationForMeetingOrganiser"],["data-cy","notificationForChairmanCheckbox","formControlName","notificationForChairman"],["data-cy","notificationForViceChairmanCheckbox","formControlName","notificationForViceChairman"],["data-cy","notificationForSecretaryTechnicalCheckbox","formControlName","notificationForSecretaryTechnical"],["data-cy","notificationForSecretaryAdministrativeCheckbox","formControlName","notificationForSecretaryAdministrative"],["data-cy","notificationForECOCheckbox","formControlName","notificationForECO"],[1,"participant-reminder-block"],[1,"participant-reminder-block__title"],[1,"participant-reminder-block__row"],["fieldId","participant-reminder-enabled","data-cy","participantReminderEnabledCheckbox","formControlName","participantReminderEnabled"],[1,"form-actions"],["type","submit","data-cy","submit-meeting-btn",1,"form-actions__submit"],["type","button","data-cy","submit-and-exit-meeting-btn",1,"form-actions__submit",3,"click"],["type","button","data-cy","cancel-meeting-btn",1,"form-actions__cancel",3,"click"],["type","button","data-cy","delete-meeting-btn",1,"form-actions__cancel"],[1,"history"],[1,"history__title"],[1,"history-list"],[1,"icon","icon-checkmark"],["data-cy","errors-list",1,"errors"],["data-cy","error",1,"errors__item"],[1,"errors"],[1,"errors__item"],["name","meeting-type","data-cy","meeting-type-radio","formControlName","meetingType",3,"value","isDisabled"],[1,"radio-buttons-block"],["name","workshop-type","data-cy","workshop-type-radio","formControlName","workshopType",3,"value","disabled"],["type","text","formControlName","physicalRegistrationDeadline","id","physicalRegistrationDeadline","data-cy","physicalRegistrationDeadline","mwlFlatpickr","","dateFormat","d M Y H:i","altFormat","d M Y H:i",3,"enableTime","time24hr","minuteIncrement","altInput","convertModelValue","className"],["type","text","formControlName","virtualRegistrationDeadline","id","virtualRegistrationDeadline","data-cy","virtualRegistrationDeadline","mwlFlatpickr","","dateFormat","d M Y H:i","altFormat","d M Y H:i",3,"enableTime","time24hr","minuteIncrement","altInput","convertModelValue","className"],["for","meeting-location","leftCol","",1,"form-row__lbl"],["fieldId","meeting-location","formControlName","meetingLocation","valueProperty","id","labelProperty","name","data-cy","meetingLocationSelect",3,"items","placeholder"],["for","venue-contact-and-info",1,"form-row__lbl"],["id","venue-contact-and-info","rows","5","cols","40","formControlName","venueContactAndInfo","data-cy","venueContactAndInfoInput",1,"form-row__textarea"],["for","location-city","leftCol","",1,"form-row__lbl"],["type","text","id","location-city","data-cy","locationCityInput","formControlName","locationCity",1,"form-row__input"],[1,"form-row__content","form-row__content--description"],["for","meeting-room","leftCol","",1,"form-row__lbl"],["fieldId","meeting-room","formControlName","meetingRoom","valueProperty","id","labelProperty","name","data-cy","meetingRoomSelect",3,"items","placeholder"],["for","create-in-the-meetinghub","leftCol","",1,"form-row__lbl"],["fieldId","create-in-the-meetinghub","formControlName","createInTheMeetingHub","data-cy","createInTheMeetingHubCheckbox"],["for","meetinghub-url","leftCol","",1,"form-row__lbl"],["type","text","formControlName","meetingHubUrl","id","meetinghub-url","data-cy","meetingHubUrlInput",1,"form-row__input"],["for","g2m-account","leftCol","",1,"form-row__lbl"],["fieldId","g2m-account","formControlName","g2mAccount","labelProperty","name","valueProperty","login","data-cy","G2MAccountSelect",3,"items","placeholder"],["for","phisical-max-participants","leftCol","",1,"form-row__lbl"],["type","number","formControlName","phisicalMaxParticipants","id","phisical-max-participants","data-cy","phisicalMaxParticipants",1,"form-row__input"],["for","virtual-max-participants","leftCol","",1,"form-row__lbl"],["type","number","id","virtual-max-participants","data-cy","virtualMaxParticipants","formControlName","virtualMaxParticipants",1,"form-row__input"],["for","create-meeting-folder","leftCol","",1,"form-row__lbl"],["fieldId","create-meeting-folder","data-cy","createMeetingFolderCheckbox","formControlName","createMeetingFolder"],[1,"documents-manager"],["type","button",1,"documents-manager__opener",3,"click"],[1,"documents-manager-list"],[1,"documents-manager-list-item"],[1,"documents-manager-list-item__link",3,"href"],[1,"documents-manager__title"],[1,"documents-manager-list__item"],["ublLink","",1,"documents-manager-list-item__link",3,"href"],["name","display-in-calendar","data-cy","displayInCalendarRadio","formControlName","displayInCalendarAndParticipatingRights",3,"value"],["type","number","id","participant-reminder-days","data-cy","participantReminderDays","formControlName","participantReminderDays","min","1","step","1",1,"form-row__input"],["type","button","data-cy","delete-meeting-btn",1,"form-actions__cancel",3,"click"],[1,"history-list__item"]],template:function(s,r){1&s&&(e.j41(0,"div",2)(1,"div",3)(2,"span",4),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.DNE(5,J,5,3,"span",5)(6,Q,8,0,"div",6),e.j41(7,"form",7),e.bIt("ngSubmit",function(){return r.submit()}
1),e.j41(8,"h3",8),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.j41(11,"shared-two-col-form-row",9)(12,"label",10),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.j41(15,"div",11),e.EFF(16),e.k0s()(),e.j41(17,"shared-two-col-form-row",9)(18,"label",12),e.EFF(19),e.nI1(20,"translate"),e.nrm(21,"span",13),e.k0s(),e.nrm(22,"input",14),e.k0s(),e.j41(23,"shared-two-col-form-row",15)(24,"label",10),e.EFF(25),e.nI1(26,"translate"),e.nrm(27,"span",13),e.k0s(),e.j41(28,"div",16),e.Z7z(29,q,3,3,"label",17,e.fX1),e.k0s()(),e.DNE(31,te,7,3,"shared-two-col-form-row",15),e.j41(32,"shared-two-col-form-row",9)(33,"label",18),e.EFF(34),e.nI1(35,"translate"),e.nrm(36,"span",13),e.k0s(),e.nrm(37,"shared-select",19),e.nI1(38,"translate"),e.k0s(),e.nrm(39,"div",20),e.j41(40,"shared-two-col-form-row",9)(41,"label",10),e.EFF(42),e.nI1(43,"translate"),e.k0s()(),e.j41(44,"shared-two-col-form-row",9)(45,"label",10),e.EFF(46),e.nI1(47,"translate"),e.nrm(48,"span",13),e.k0s(),e.nrm(49,"input",21),e.k0s(),e.j41(50,"shared-two-col-form-row",9)(51,"label",10),e.EFF(52),e.nI1(53,"translate"),e.nrm(54,"span",13),e.k0s(),e.nrm(55,"input",22),e.k0s(),e.j41(56,"shared-two-col-form-row",9)(57,"label",10),e.EFF(58),e.nI1(59,"translate"),e.k0s(),e.nrm(60,"input",23),e.k0s(),e.DNE(61,ie,6,9,"shared-two-col-form-row",9)(62,ne,6,9,"shared-two-col-form-row",9),e.nrm(63,"div",20),e.DNE(64,ae,16,15),e.nrm(65,"div",20),e.DNE(66,ce,7,4)(67,de,5,3),e.nrm(68,"div",24),e.DNE(69,me,5,3,"shared-two-col-form-row",25)(70,ge,5,3,"shared-two-col-form-row",25)(71,he,9,6),e.j41(72,"shared-two-col-form-row",15)(73,"label",10),e.EFF(74),e.nI1(75,"translate"),e.k0s(),e.DNE(76,pe,7,6,"div",26)(77,Me,6,5),e.k0s(),e.j41(78,"shared-two-col-form-row",15)(79,"div",27)(80,"label",28),e.EFF(81),e.nI1(82,"translate"),e.k0s(),e.nrm(83,"div",29),e.nI1(84,"translate"),e.k0s(),e.nrm(85,"textarea",30),e.k0s(),e.j41(86,"shared-two-col-form-row",9)(87,"label",31),e.EFF(88),e.nI1(89,"translate"),e.k0s(),e.nrm(90,"input",32),e.k0s(),e.nrm(91,"div",20),e.j41(92,"shared-two-col-form-row",9)(93,"label",33),e.EFF(94),e.nI1(95,"translate"),e.k0s(),e.nrm(96,"shared-checkbox",34),e.k0s(),e.j41(97,"shared-two-col-form-row",15)(98,"label",10),e.EFF(99),e.nI1(100,"translate"),e.k0s(),e.j41(101,"div",35),e.Z7z(102,Ce,3,2,"label",17,e.fX1),e.k0s()(),e.j41(104,"shared-two-col-form-row",36)(105,"label",10),e.EFF(106),e.nI1(107,"translate"),e.k0s(),e.j41(108,"div",37)(109,"div"),e.EFF(110),e.nI1(111,"translate"),e.k0s(),e.j41(112,"div"),e.EFF(113),e.nI1(114,"translate"),e.k0s(),e.j41(115,"div"),e.EFF(116),e.nI1(117,"translate"),e.k0s(),e.j41(118,"div"),e.EFF(119),e.nI1(120,"translate"),e.k0s(),e.j41(121,"div",38)(122,"shared-checkbox",39),e.EFF(123),e.nI1(124,"translate"),e.k0s(),e.DNE(125,ve,3,3,"shared-checkbox",40)(126,xe,3,3,"shared-checkbox",41)(127,Ee,3,3,"shared-checkbox",42)(128,ye,3,3,"shared-checkbox",43)(129,we,3,3,"shared-checkbox",44),e.k0s(),e.j41(130,"div",45)(131,"div",46),e.EFF(132,"Participant reminder"),e.k0s(),e.j41(133,"div",47)(134,"shared-checkbox",48),e.EFF(135," Send participant reminder "),e.k0s(),e.DNE(136,ke,3,0),e.k0s()()()(),e.j41(137,"shared-two-col-form-row",9)(138,"div",49)(139,"button",50),e.EFF(140),e.nI1(141,"translate"),e.k0s(),e.j41(142,"button",51),e.bIt("click",function(){return r.s
1aveAndExit()}),e.EFF(143),e.nI1(144,"translate"),e.k0s(),e.j41(145,"button",52),e.bIt("click",function(){return r.goBack()}),e.EFF(146),e.nI1(147,"translate"),e.k0s(),e.DNE(148,Pe,3,3,"button",53),e.k0s()()(),e.j41(149,"div",54)(150,"h3",55),e.EFF(151),e.nI1(152,"translate"),e.k0s(),e.DNE(153,De,3,0,"ul",56),e.k0s()()),2&s&&(e.R7$(3),e.SpI(" ",e.bMT(4,70,r.isEdit?"MeetingEditor.PageEditSubTitle":"MeetingEditor.PageSubTitle")," "),e.R7$(2),e.vxM(5,r.isChangesSaved?5:-1),e.R7$(),e.vxM(6,null!=r.formErrors&&r.formErrors.length||r.serverErrors.length?6:-1),e.R7$(),e.Y8G("formGroup",r.form),e.R7$(2),e.SpI(" ",e.bMT(10,72,"MeetingEditor.GroupTitle")," "),e.R7$(4),e.SpI(" ",e.bMT(14,74,"MeetingEditor.FormGroupNameLabel")," "),e.R7$(3),e.SpI(" ",r.data.groupShortName," "),e.R7$(3),e.SpI(" ",e.bMT(20,76,"MeetingEditor.FormMeetingNameLabel")," "),e.R7$(6),e.SpI(" ",e.bMT(26,78,"MeetingEditor.FormMeetingTypeLabel")," "),e.R7$(3),e.Y8G("ngClass",e.eq3(124,X,!1===(null==r.data.meeting?null:r.data.meeting.isMeetingTypeEnabled))),e.R7$(),e.Dyx(r.meetingTypes),e.R7$(2),e.vxM(31,r.showWorkshopType?31:-1),e.R7$(3),e.SpI(" ",e.bMT(35,80,"MeetingEditor.FormMeetingOrganiserLabel")," "),e.R7$(3),e.Y8G("items",r.meetingOrganisers)("placeholder",e.bMT(38,82,"MeetingEditor.FormMeetingOrganiserDefaultSelectOptionLabel"))("withGroupBy",!0),e.R7$(5),e.SpI(" ",e.bMT(43,84,"MeetingEditor.FormTimeAndDatesTitle")," "),e.R7$(4),e.SpI(" ",e.bMT(47,86,"MeetingEditor.FormStartDateTimeLabel")," "),e.R7$(3),e.Y8G("enableTime",!0)("time24hr",!0)("minuteIncrement",1)("altInput",!0)("convertModelValue",!0)("className","form-row__input date-time"),e.R7$(3),e.SpI(" ",e.bMT(53,88,"MeetingEditor.FormEndDateTimeLabel")," "),e.R7$(3),e.Y8G("enableTime",!0)("time24hr",!0)("minuteIncrement",1)("altInput",!0)("convertModelValue",!0)("className","form-row__input date-time")("minDate",(null==r.form||null==r.form.value?null:r.form.value.startDateTime)||""),e.R7$(3),e.SpI(" ",e.bMT(59,90,"MeetingEditor.FormContributionDeadlineLabel")," "),e.R7$(2),e.Y8G("enableTime",!0)("time24hr",!0)("minuteIncrement",1)("altInput",!0)("convertModelValue",!0)("className","form-row__input date-time"),e.R7$(),e.vxM(61,r.showPhisicalRegistrationDeadline?61:-1),e.R7$(),e.vxM(62,r.showVirtualRegistrationDeadline?62:-1),e.R7$(2),e.vxM(64,r.showLocationBlock?64:-1),e.R7$(2),e.vxM(66,r.data.canCreateMeetingInMeetingHub?66:r.data.canEditMeetingUrl?67:-1),e.R7$(3),e.vxM(69,r.showPhisicalMaxParticipants?69:-1),e.R7$(),e.vxM(70,r.showVirtualMaxParticipants?70:-1),e.R7$(),e.vxM(71,r.isEdit?-1:71),e.R7$(3),e.SpI(" ",e.bMT(75,92,"MeetingEditor.FormLinkToDocumentLabel")," "),e.R7$(2),e.vxM(76,r.isDocumentsManagerEnabled?77:76),e.R7$(5),e.SpI(" ",e.bMT(82,94,"MeetingEditor.FormMeetingNotesLabel")," "),e.R7$(2),e.Y8G("innerHTML",e.bMT(84,96,"MeetingEditor.FormMeetingNotes.CheckInfoNotification"),e.npT),e.R7$(5),e.SpI(" ",e.bMT(89,98,"MeetingEditor.FormExternalReferenceLabel")," "),e.R7$(6),e.SpI(" ",e.bMT(95,100,"MeetingEditor.FormActivateRegistrationLinkLabel")," "),e.R7$(5),e.SpI(" ",e.bMT(100,102,"MeetingEditor.FormDisplayInCalendarParticipatingRightsLabel")," "),e.R7$(3),e.Dyx(r.meetingVisibilityTypes),e.R7$(4),e.SpI(" ",e.bMT(107,104,"MeetingEditor.FormNotificationLabel")," "),e.R7$(4),e.SpI(" ",e.bMT(111,106,"MeetingEditor.FormNotificationDescriptionPt1")," "),e.R7$(3),e.SpI(" ",e.bMT(114,108,"MeetingEditor.FormNotificationDescriptionPt2")," "),e.R7$(3),e.SpI(" ",e.bMT(117,110,"MeetingEditor.FormNotificationDescriptionPt3")," "),e.R7$(3),e.SpI(" ",e.bMT(120,112,"MeetingEditor.FormNotificationDescriptionPt4")," "),e.R7$(4),e.SpI(" ",e.bMT(124,114,"MeetingEditor.FormNotificationMeetingOrganiserCheckboxLabel")," "),e.R7$(2),e.vxM(125,r.data.hasChairman?125:-1),e.R7$(),e.vxM(126,r.data.hasViceChairman?126:-1),e.R7$(),e.vxM(127,r.data.hasSecretaryTechnical?127:-1),e.R7$(),e.vxM(128,r.data.hasSecretaryAdministrative?128:-1),e.R7$(),e.vxM(129,r.data.hasEcoContact?129:-1),e.R7$(7),e.vxM(136,r.form.controls.participantReminderEnabled.value?136:-1),e.R7$(4),e.SpI(" ",e.bMT(141,116,"MeetingEditor.FormSaveBtnText")," "),e.R7$(3),e.SpI(" ",e.bMT(144,118,"MeetingEditor.FormSaveAndExitBtnText")," "),e.R7$(3),e.SpI(" ",e.bMT(147,120,"MeetingEditor.FormCancelBtnText")," "),e.R7$(2),e.vxM(148,r.isEdit?148:-1),e.R7$(3),e.SpI(" ",e.bMT(152,122,"MeetingEditor.HistoryBlockTitle")," "),e.R7$(2),e.vxM(153,null!=r.data.meetingHistory&&r.data.meetingHistory.length?153:-1))},dependencies:[g.MD,g.YU,g.vh,a.P,w.h,w.D9,o.YN,o.qT,o.me,o.Q0,o.BC,o.cb,o.VZ,o.X1,o.j4,o.JD,C.ND,C.kL,v.y,t.X,E.w],styles:['.page[_ngcontent-%COMP%]{padding:50px 20px;margin-top:-50px;font-family:var(--primary-text-regular);color:var(--base-text-color);margin-bottom:50px}.page__header[_ngcontent-%COMP%]{margin-bottom:42px}.page__saved-notification[_ngcontent-%COMP%]{height:65px;padding:0 20px;margin-bottom:20px;
1display:flex;width:100%;align-items:center;font-family:var(--secondary-text-normal);font-size:var(--medium-font-size);background-color:var(--light-bg);transition:all 1.5s ease;animation:_ngcontent-%COMP%_successMessageAnimation 2s}.page__saved-notification.animated[_ngcontent-%COMP%]{background-color:var(--accent-bg);transition:all .5s ease}.page__saved-notification[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{margin-right:5px;margin-bottom:5px}.header__title[_ngcontent-%COMP%]{font-family:var(--primary-text-normal);font-size:var(--big-titles-font-size);text-transform:uppercase;margin-bottom:20px}.header__subtitle[_ngcontent-%COMP%]{font-family:var(--secondary-text-normal);font-size:var(--medium-font-size);line-height:28px}.errors-wrapper[_ngcontent-%COMP%]{border:1px solid var(--border-color-error);padding:10px 10px 10px 15px;margin-bottom:15px}.errors__item[_ngcontent-%COMP%]{color:var(--dark-text-color);font-size:var(--medium-font-size);line-height:28px;font-family:var(--secondary-text-normal)}.errors__item[_ngcontent-%COMP%]:before{content:"";display:inline-block;width:5px;height:5px;background:var(--border-color-error);border-radius:50%;vertical-align:middle;margin:-5px 5px 0 0}.form__title[_ngcontent-%COMP%]{font-family:var(--primary-text-bold);font-size:var(--medium-font-size);margin-bottom:18px}.form-divider[_ngcontent-%COMP%]{width:calc(100% - 20px);height:1px;background-color:var(--border-color-for-light-bg-6);margin-left:20px;margin-bottom:20px}.form-divider[_ngcontent-%COMP%] + .form-divider[_ngcontent-%COMP%]{display:none}.form-row[_ngcontent-%COMP%]{font-family:var(--secondary-text-normal);font-size:var(--medium-font-size);line-height:28px;align-items:center;margin-bottom:20px}.form-row--align-top[_ngcontent-%COMP%]{align-items:flex-start}.form-row--with-right-20[_ngcontent-%COMP%]  .right-col{width:20%}@media (max-width: 767px){.form-row__lbl[_ngcontent-%COMP%]{display:inline-block;margin-bottom:5px}}.form-row__lbl__wrapper[_ngcontent-%COMP%]   .check-info-text[_ngcontent-%COMP%]{font-size:14px;margin-top:10px}.form-row__lbl__wrapper[_ngcontent-%COMP%]   .check-info-text[_ngcontent-%COMP%]     a{color:var(--primary-text-color)}.form-row__input[_ngcontent-%COMP%], .form-row[_ngcontent-%COMP%]     .form-row__input, .form-row__textarea[_ngcontent-%COMP%]{width:100%;border:none;padding:0 15px;background-color:var(--base-light-bg);height:45px;font-family:var(--primary-text-regular);font-size:var(--medium-font-size);color:var(--dark-text-color-2)}.form-row__input.ng-invalid.ng-touched[_ngcontent-%COMP%], .form-row[_ngcontent-%COMP%]     .form-row__input.ng-invalid.ng-touched, .form-row__textarea.ng-invalid.ng-touched[_ngcontent-%COMP%]{border:solid 1px var(--border-color-error)}.form-row[_ngcontent-%COMP%]   shared-select.ng-invalid.ng-touched[_ngcontent-%COMP%], .form-row[_ngcontent-%COMP%]     .form-row__input.date-time.ng-invalid.ng-dirty+.form-row__input, .form-row[_ngcontent-%COMP%]     .form-row__input.date-time.ng-invalid.ng-touched+.form-row__input{border:solid 1px var(--border-color-error)}.form-row__textarea[_ngcontent-%COMP%]{height:auto;padding:10px 15px}.form-row__content--description[_ngcontent-%COMP%]{font-family:var(--secondary-text-normal);font-size:var(--small-font-size);line-height:30px;margin-top:-10px}.form-row__content--documents-manager[_ngcontent-%COMP%], .form-row__content--notification[_ngcontent-%COMP%]{font-size:16px}.form-row[_ngcontent-%COMP%]   .radio-buttons-block[_ngcontent-%COMP%]{display:flex;row-gap:10px;column-gap:20px}.form-row[_ngcontent-%COMP%]   .radio-buttons-block--vertical[_ngcontent-%COMP%]{flex-direction:column}.form-row[_ngcontent-%COMP%]   .radio-buttons-block--disabled[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .radio-buttons-block-item[_ngcontent-%COMP%]{cursor:not-allowed}.form-row[_ngcontent-%COMP%]   .radio-buttons-block-item[_ngcontent-%COMP%]{display:inline-flex;font-size:14px}.form-row[_ngcontent-%COMP%]   .radio-buttons-block-item[_ngcontent-%COMP%]   app-radio-btn[_ngcontent-%COMP%]{display:inline-block;line-height:12px;margin-top:1px;margin-right:5px}.form-row[_ngcontent-%COMP%]   .documents-manager[_ngcontent-%COMP%]{font-size:16px;color:var(--primary-text-color)}.form-row[_ngcontent-%COMP%]   .documents-manager__opener[_ngcontent-%COMP%]{color:var(--link-color);cursor:pointer;text-decoration:none;background-color:transparent;border:none;padding:0}.form-row[_ngcontent-%COMP%]   .documents-manager__opener[_ngcontent-%COMP%]:hover{text-decoration:underline}.form-row[_ngcontent-%COMP%]   .documents-manager__opener[_ngcontent-%COMP%]:visited{color:var(--link-visited-color)}.form-row[_ngcontent-%COMP%]   .documents-manager__title[_ngcontent-%COMP%]{color:var(--base-text-color)}.form-row[_ngcontent-%COMP%]   .documents-manager-list[_ngcontent-%COMP%]{padding-left:40px;list-style:disc}.form-row[_ngcontent-%COMP%]   .documents-manager-list-item__link[_ngcontent-%COMP%]{color:var(--link-color);cursor:pointer;text-decoration:none;background-color:transparent;border:none;padding:0}.form-row[_ngcontent-%COMP%]   .documents-manager-list-item__link[_ngcontent-%COMP%]:hover{text-decoration:underline}.form-row[_ngcontent-%COMP%]   .documents-manager-list-item__link[_ngcontent-%COMP%]:visited{color:var(--link-visited-color)}.form-row[_ngcontent-%COMP%]   .checkboxes-block[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:14px}.form-row[_ngcontent-%COMP%]   .checkboxes-block[_ngcontent-%COMP%]   shared-checkbox[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content}.form-row[_ngcontent-%COMP%]   .checkboxes-block[_ngcontent-%COMP%]   shared-checkbox[_ngcontent-%COMP%]:first-child{margin-top:7px}.form-row[_ngcontent-%COMP%]   .checkboxes-block[_ngcontent-%COMP%]   shared-checkbox[_ngcontent-%COMP%]:last-child{margin-bottom:7px}.form-row[_ngcontent-%COMP%]   .participant-reminder-block[_ngcontent-%COMP%]{margin-top:14px}.form-row[_ngcontent-%COMP%]   .participant-reminder-block__title[_ngcontent-%COMP%]{font-weight:700;margin-bottom:8px}.form-row[_ngcontent-%COMP%]   .participant-reminder-block__row[_ngcontent-%COMP%]{display:flex;align-items:center;column-gap:10px;min-height:45px}.form-row[_ngcontent-%COMP%]   .participant-reminder-block__row[_ngcontent-%COMP%]   shared-checkbox[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content}.form-row[_ngcontent-%COMP%]   .participant-reminder-block__row[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:70px;height:45px}.form-row[_ngcontent-%COMP%]   .form-actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;row-gap:10px;column-gap:5px}.form-row[_ngcontent-%COMP%]   .form-actions[_ngcontent-%COMP%]   .form-actions__submit[_ngcontent-%COMP%]{background:var(--primary-btn-color);color:var(--primary-text-on-dark-color);font-size:22px;line-height:1.63;font-family:var(--primary-text-normal);display:inline-block;border:none;border-radius:0;padding:5px 19px 4px 18px;
1cursor:pointer}.form-row[_ngcontent-%COMP%]   .form-actions[_ngcontent-%COMP%]   .form-actions__submit[_ngcontent-%COMP%]:disabled{opacity:.7;cursor:not-allowed}.form-row[_ngcontent-%COMP%]   .form-actions[_ngcontent-%COMP%]   .form-actions__cancel[_ngcontent-%COMP%]{background:var(--primary-btn-color);color:var(--primary-text-on-dark-color);font-size:22px;line-height:1.63;font-family:var(--primary-text-normal);display:inline-block;border:none;border-radius:0;padding:5px 19px 4px 18px;cursor:pointer;background-color:var(--alt-btn-color)}.form-row[_ngcontent-%COMP%]   .form-actions[_ngcontent-%COMP%]   .form-actions__cancel[_ngcontent-%COMP%]:disabled{opacity:.7;cursor:not-allowed}.form-row[_ngcontent-%COMP%]  .left-col{width:100%}@media (min-width: 768px){.form-row[_ngcontent-%COMP%]  .left-col{width:30%;min-width:30%}}.form-row[_ngcontent-%COMP%]  .left-col .required{color:var(--alert-bg)}.form-row[_ngcontent-%COMP%]  .left-col .required:before{content:"*"}.history__title[_ngcontent-%COMP%]{margin-bottom:18px;font-family:var(--primary-text-normal);font-size:var(--big-titles-font-size);text-transform:uppercase}.history-list[_ngcontent-%COMP%]{list-style:disc;font-size:var(--medium-font-size);font-family:var(--secondary-text-normal);line-height:28px;padding-left:40px}input[_ngcontent-%COMP%]:focus-visible, textarea[_ngcontent-%COMP%]:focus-visible, select[_ngcontent-%COMP%]:focus-visible{outline:-webkit-focus-ring-color auto 1px}@keyframes _ngcontent-%COMP%_successMessageAnimation{0%{background-color:var(--light-bg)}25%{background-color:var(--accent-bg)}to{background-color:var(--light-bg)}}']})}}return i})()},5626:(T,k,l)=>{l.d(k,{$R:()=>a,EL:()=>C,KH:()=>c,OI:()=>w,Wf:()=>o,k4:()=>v,lO:()=>I,vp:()=>u});var f=l(1594),g=l(4438),e=l(1626),a=function(t){return t.Date="startDate",t.Group="groupName",t.Meeting="meetingName",t.Location="location",t.None="",t}(a||{}),w=function(t){return t.OpenForAll="OpenForAll",t.VisibleToAllRegistrationOpenForGroup="VisibleToAllRegistrationOpenForGroup",t.VisibleToGroupRegistrationOpenForGroup="VisibleToGroupRegistrationOpenForGroup",t}(w||{}),o=function(t){return t.Hybrid="Hybrid",t.WorkshopPhysical="WorkshopPhysical",t.Physical="Physical",t.Virtual="Virtual",t.WorkshopVirtual="WorkshopVirtual",t.WorkshopHybrid="WorkshopHybrid",t}(o||{}),C=function(t){return t.Hybrid="Hybrid",t.WorkshopPhysical="Workshop Physical",t.Physical="Physical",t.Virtual="Virtual",t.WorkshopVirtual="Workshop Virtual",t.WorkshopHybrid="Workshop Hybrid",t}(C||{}),u=function(t){return t.None="None",t.Open="Open",t.NotOpen="NotOpen",t.Closed="Closed",t.Approved="Approved",t.NotApproved="NotApproved",t.OnlyMembers="OnlyMembers",t}(u||{}),I=function(t){return t.Success="Success",t.Error="Error",t.UpdateError="UpdateError",t.CreateError="CreateError",t.MeetingAddRigthsError="MeetingAddRigthsError",t.StartDateMustBeLessThanEndDate="StartDateMustBeLessThanEndDate",t.RegistrationDeadlineVirtualIsRequired="RegistrationDeadlineVirtualIsRequired",t.RegistrationDeadlinePhysicalIsRequired="RegistrationDeadlinePhysicalIsRequired",t.RegistrationDeadlineVirtualMustBeLessThanStartDate="RegistrationDeadlineVirtualMustBeLessThanStartDate",t.RegistrationDeadlinePhysicalMustBeLessThanStartDate="RegistrationDeadlinePhysicalMustBeLessThanStartDate",t.StartDateIsNotValid="StartDateIsNotValid",t.EndDateIsNotValid="EndDateIsNotValid",t.TheMeetingAccountIsNotValid="TheMeetingAccountIsNotValid",t.TheCurrentMemberDoesNotHavePermissionInMeetingHub="TheCurrentMemberDoesNotHavePermissionInMeetingHub",t.TheMeetingRoomIsNotAvailable="TheMeetingRoomIsNotAvailable",t.TheMeetingOrganiserIsNotValid="TheMeetingOrganiserIsNotValid",t.TheEcoContactNotificationShouldBeChecked="TheEcoContactNotificationShouldBeChecked",t.TheOnePersonShouldBeChecked="TheOnePersonShouldBeChecked",t.TheCurrentMemberDoesNotHavePermission="TheCurrentMemberDoesNotHavePermission",t.ParticipantReminderDaysIsNotValid="ParticipantReminderDaysIsNotValid",t}(I||{}),c=function(t){return t.Success="Success",t.Error="Error",t.MeetingCreateInMeetingHubError="MeetingCreateInMeetingHubError",t.MeetingUpdateInMeetingHubError="MeetingUpdateInMeetingHubError",t}(c||{});let v=(()=>{class t{constructor(h){this.http=h,this.prefix="/api/servicehub/"}leaveMeeting(h){return this.http.delete(`${f.c.api}${this.prefix}meetingParticipant/delete`,{body:h})}createMeeting(h){return this.http.post(`${f.c.api}${this.prefix}meeting/create`,h)}updateMeeting(h){return this.http.put(`${f.c.api}${this.prefix}meeting/update`,h)}getMeetingOrganizers(h){return this.http.get(`${f.c.api}${this.prefix}meeting/getMeetingOrganizers?groupId=${h}`)}deleteMeeting(h){return this.http.delete(`${f.c.api}${this.prefix}meeting`,{observe:"body",body:h})}getMeetingsByFilter(h){return this.http.post(`${f.c.api}${this.prefix}meeting/getByFilter`,h)}getAvailableMeetingRooms(h,_,y,M){let P=`groupId=${h}&startDate=${y}&endDate=${M}`;return _&&(P+=`&meetingId=${_}`),this.http.get(`${f.c.api}${this.prefix}meetingRoom/getAvailable?${P}`)}getMeetingHistory(h){return this.http.get(`${f.c.api}${this.prefix}meeting/meetingHistory?meetingId=${h}`)}getMeetingStatistics(h){return this.http.get(`${f.c.api}${this.prefix}meeting/getStatisticById?id=${h}`)}static{this.\u0275fac=function(_){return new(_||t)(g.KVO(e.Qq))}}static{this.\u0275prov=g.jDH({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()},215:(T,k,l)=>{l.d(k,{X:()=>u});var f=l(177),g=l(9417),e=l(7786),a=l(3726),w=l(5964),o=l(8141),C=l(4438);let u=(()=>{class F{get _isDisabled(){return this.isDisabled}constructor(c,v){this.ngControl=c,this.elRef=v,c.valueAccessor=this}ngOnInit(){this.isChecked=this.value===this.model,this.ngControl.control?.valueChanges.subscribe(c=>{this.model!==c&&this.writeValue(c)}),(0,e.h)((0,a.R)(this.elRef.nativeElement,"click"),(0,a.R)(this.elRef.nativeElement,"keydown").pipe((0,w.p)(c=>"Enter"===c.code||"Space"===c.code)).pipe((0,o.M)(c=>c.preventDefault()))).subscribe(c=>{this.isDisabled||this.noChanges||(this.model=this.value,this.changeHandler(this.model),this.touchedHandler(),this.isChecked=this.value===this.model)})}onModelChange(c){this.isDisabled||this.noChanges||(this.model=c,this.changeHandler(this.model),this.touchedHandler(),this.isChecked=this.value===this.model)}writeValue(c){this.model=c,this.isChecked=this.value===this.model}registerOnChange(c){this.changeHandler=c}registerOnTouched(c){this.touchedHandler=c}setDisabledState(c){this.isDisabled=c}static{this.\u0275fac=function(v){return new(v||F)(C.rXU(g.vO,2),C.rXU(C.aKT))}}static{this.\u0275cmp=C.VBU({type:F,selectors:[["app-radio-btn"]],hostVars:4,hostBindings:function(v,t){2&v&&C.AVh("disabled",t._isDisabled)("checked",t.isChecked)},inputs:{isDisabled:"isDisabled",noChanges:"noChanges",value:"value",name:"name"},exportAs:["ublRadioBtn"],standalone:!0,features:[C.aNF],decls:2,vars:4,consts:[["tabindex","0",1,"wrapper"],["tabindex","-1","role","checkbox","type","radio",3,"ngModelChange","name","value","ngModel","disabled"]],template:function(v,t){1&v&&(C.j41(0,"div",0)(1,"input",1),C.bIt("ngModelChange",function(h){return t.onModelChange(h)}),C.k0s()()),2&v&&(C.R7$(),C.Y8G("name",t.name)("value",t.value)("ngModel",t.model)("disabled",t.isDisabled))},dependencies:[f.MD,g.YN,g.me,g.Fm,g.BC,g.vS],styles:['[_ngcontent-%COMP%]:root{--primary-color: #293285;--base-light-bg: #ebebeb;--base-dark-bg: #b2b2b1;--darker-bg-1: #5a5a5a;--darker-bg-2: #515151;--darker-bg-3: #d4d4d4;--darker-bg-4: #d3d3d3;--darker-bg-5: #a8a8a8;--primary-elements-bg-color: #24135f;--light-bg: #fff;--light-bg2: #e9eaf3;--light-bg3: #d5d7e8;--light-bg4: #f4f4f4;--light-bg5: #cdcdcd;--blue-light-bg: #e9ebf4;--accent-bg: #ffff66;--alert-bg: #ff0000;--alert-bg2: #900;--slider-bg: #3c3c3c;--slider-bg1: rgba(60, 60, 60, .5);--navigation-bg-color: #24135f;--base-text-color: #5a5a5a;--dark-text-color: #000;--dark-text-color-2: #333;--visited-links-text-color: #68205f;--primary-text-color: #293285;--primary-text-on-dark-color: #fff;--error-text-color: #ff0000;--error-bullet-color: #ab3334;--error-border-color: #ff0000;--link-color: var(--primary-color);--link-hovered-color: #717fff;--link-visited-color: #68205f;--border-color-for-ligt-bg: #fff;--border-color-for-ligt-bg2: #f4f4f4;--border-color-for-light-bg-3: #c9c9c9;--border-color-for-light-bg-4: #7e7b7b;--border-color-for-light-bg-5: #ebebeb;--border-color-for-light-bg-6: #ccc;--border-color-dark-bg: #000;--border-color-error: #ab3334;--primary-text-normal: "open_sanslight", Arial, Helvetica, sans-serif;
1--primary-text-regular: "open_sans", Arial, Helvetica, sans-serif;--primary-text-semibold: "open_sanssemibold", Arial, Helvetica, sans-serif;--primary-text-bold: "open_sansbold", Arial, Helvetica, sans-serif;--primary-text-extrabold: "open_sansextrabold", Arial, Helvetica, sans-serif;--secondary-text-normal: "Mina", Arial, Helvetica, sans-serif;--italic-text-semibold: "open_sanssemibold_italic", Arial, Helvetica, sans-serif;--icomoon-font: "icomoon";--third-text-normal: "Segoe UI Regular", Arial, Helvetica, sans-serif;--large-font-size: 1.875rem;--big-titles-font-size: 1.75rem;--big-font-size: 1.625rem;--semi-big-font-size: 1.375rem;--medium-font-size: 1.125rem;--regular-font-size: 1rem;--small-font-size: .875rem;--smaller-font-size: .625rem;--breadcrumbs-height: 100px;--breadcrumbs-after-height: 60px;--content-border-color: darkgrey;--table-border-color: grey;--holder-background: lightgrey;--holder-light-background: white;--row-even-background: #f6f6f6;--row-selected-background: #b0e0e6;--button-disable-background: #265a88;--gradient-first: #fff;--gradient-second: #d3d3d3;--primary-btn-color: #293285;--alt-btn-color: #5a5a5a;--cancel-btn-bg: #9d9d9d;--home-btn-bg-color: #293285;--radio-btn-color: #5a5a5a;--paging-active-item-bg: #ccc;--warning-text-color: #8a6d3b;--warning-bg: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);--warning-border-color: #f5e79e;--info-color: green;--close-btn-color: #888;--odd-row-alt-bg: transparent;--odd-row-alt-bg-hover: transparent;--even-row-alt-bg: #eee;--even-row-alt-bg-hover: #ccc;--toast-error-bg: var(--alert-bg);--toast-error-color: var(--primary-text-on-dark-color);--toast-info-bg: var(--primary-color);--toast-info-color: var(--primary-text-on-dark-color);--toast-success-bg: #28a745;--toast-success-color: var(--primary-text-on-dark-color);--mark-as-only-members-color: #48badd;--mark-as-members-with-rights-color: #f86060;--mark-as-deleted-color: #585858}.checked[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]:after{transform:translate(-50%,-50%) scale(.6)}.disabled[_nghost-%COMP%]{opacity:.6;cursor:not-allowed}.wrapper[_ngcontent-%COMP%]{display:inline-block;width:26px;height:26px;position:relative}.wrapper[_ngcontent-%COMP%]:before, .wrapper[_ngcontent-%COMP%]:after{content:"";border-radius:50%;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:all .1s;pointer-events:none}.wrapper[_ngcontent-%COMP%]:before{border:3px solid var(--radio-btn-color)}.wrapper[_ngcontent-%COMP%]:after{background-color:var(--radio-btn-color);transform:translate(-50%,-50%) scale(0)}.wrapper[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]{display:inline-block;width:26px;height:26px;opacity:0}']})}}return F})()},9511:(T,k,l)=>{function f(g){if(!g)return null;"string"==typeof g&&(g=new Date(g));const e=6e4*g.getTimezoneOffset();return new Date(g.getTime()-e).toISOString().slice(0,-1)}l.d(k,{f:()=>f})},5172:(T,k,l)=>{l.d(k,{P:()=>h});var f=l(177),g=l(9417),e=l(7786),a=l(3726),w=l(5964),o=l(4438);const C=["*"],u=_=>({"toggle-btn--on":_});function F(_,y){if(1&_&&o.nrm(0,"div",0),2&_){const M=o.XpG();o.Y8G("ngClass",o.eq3(1,u,M.model))}}function I(_,y){1&_&&o.nrm(0,"i",2)}function c(_,y){1&_&&o.nrm(0,"i",4)}function v(_,y){1&_&&o.nrm(0,"i",5)}function t(_,y){if(1&_&&(o.j41(0,"span",3),o.DNE(1,c,1,0,"i",4)(2,v,1,0,"i",5),o.k0s()),2&_){const M=o.XpG(2);o.R7$(),o.vxM(1,M.model?1:-1),o.R7$(),o.vxM(2,M.model?-1:2)}}function E(_,y){if(1&_&&o.DNE(0,I,1,0,"i",2)(1,t,3,2,"span",3),2&_){const M=o.XpG();o.vxM(0,M.mixed?0:-1),o.R7$(),o.vxM(1,M.mixed?-1:1)}}let h=(()=>{class _{set disabled(M){this.isDisabled=M}constructor(M){this.elRef=M}ngOnInit(){this.isDisabled=this.disabled,this._isDisabled=this.isToggle,(0,e.h)((0,a.R)(this.elRef.nativeElement,"click"),(0,a.R)(this.elRef.nativeElement,"keydown").pipe((0,w.p)(M=>"Enter"===M.code||"Space"===M.code))).subscribe(M=>{this.isDisabled||this.noChanges||(this.model=!this.model,this.changeHandler(this.model),this.touchedHandler())})}writeValue(M){this.model=M}registerOnChange(M){this.changeHandler=M}registerOnTouched(M){this.touchedHandler=M}setDisabledState(M){this.isDisabled=M}static{this.\u0275fac=function(P){return new(P||_)(o.rXU(o.aKT))}}static{this.\u0275cmp=o.VBU({type:_,selectors:[["shared-checkbox"]],hostVars:4,hostBindings:function(P,D){2&P&&o.AVh("disabled",D.isDisabled)("toggle",D._isDisabled)},inputs:{mixed:"mixed",disabled:"disabled",noChanges:"noChanges",isToggle:"isToggle",fieldId:"fieldId"},exportAs:["ublCheckbox"],standalone:!0,features:[o.Jv_([{provide:g.kq,useExisting:_,multi:!0}]),o.aNF],ngContentSelectors:C,decls:4,vars:3,consts:[["role","checkbox","tabindex","0",1,"toggle-btn",3,"ngClass"],["type","checkbox","tabindex","-1",1,"hidden",3,"id","ngModel"],["role","checkbox","tabindex","0",1,"icon","icon-mixed"],["role","checkbox","tabindex","0",1,"icon-wrapper"],[1,"icon","icon-checkbox-checked"],[1,"icon","icon-checkbox-unchecked"]],template:function(P,D){1&P&&(o.NAR(),o.DNE(0,F,1,3,"div",0)(1,E,2,2),o.nrm(2,"input",1),o.SdG(3)),2&P&&(o.vxM(0,D.isToggle?0:1),o.R7$(2),o.Y8G("id",D.fieldId)("ngModel",D.model))},dependencies:[f.MD,f.YU,g.YN,g.Zm,g.BC,g.vS],styles:['[_nghost-%COMP%]{display:inline-flex;line-height:25px;cursor:pointer}.toggle[_nghost-%COMP%]{align-items:center;font-size:inherit}.disabled[_nghost-%COMP%]{opacity:.8;cursor:not-allowed}.icon-wrapper[_ngcontent-%COMP%]{width:25px;height:25px;margin-right:15px}.icon-wrapper[_ngcontent-%COMP%]   i.icon[_ngcontent-%COMP%]{margin-right:0}.icon-wrapper[_ngcontent-%COMP%]   i.icon[_ngcontent-%COMP%]:before, .icon-wrapper[_ngcontent-%COMP%]   i.icon[_ngcontent-%COMP%]:after{font-size:25px}.toggle-btn[_ngcontent-%COMP%]{display:inline-block;outline:0;width:60px;height:30px;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fbfbfb;border-radius:30px;padding:2px;transition:all .4s ease;border:1px solid #d8dad9;margin-right:10px}.toggle-btn[_ngcontent-%COMP%]:after{content:"";display:block;position:relative;
1left:0;width:24px;height:24px;border-radius:2em;background:#fff;transition:all .3s cubic-bezier(.175,.885,.32,1.275),padding .3s ease,margin .3s ease;box-shadow:0 0 0 1px #0000001a,0 4px #00000014}.toggle-btn--on[_ngcontent-%COMP%]{background-color:#33333380}.toggle-btn--on[_ngcontent-%COMP%]:after{left:calc(100% - 24px)}.hidden[_ngcontent-%COMP%]{display:block;width:0;height:0;position:absolute;opacity:0}']})}}return _})()},4306:(T,k,l)=>{l.d(k,{w:()=>I});var f=l(177),g=l(9417),e=l(1780),a=l(4438);function w(c,v){if(1&c&&(a.j41(0,"option",3),a.EFF(1),a.k0s()),2&c){const t=v.$implicit,E=a.XpG(3);a.Y8G("ngValue",E.valueProperty?t[E.valueProperty]:t)("disabled",t.disabled),a.R7$(),a.SpI(" ",E.labelProperty?t[E.labelProperty]:t," ")}}function o(c,v){if(1&c&&(a.j41(0,"optgroup",2),a.Z7z(1,w,2,3,"option",3,a.fX1),a.k0s()),2&c){const t=v.$implicit;a.Y8G("label",t.title),a.R7$(),a.Dyx(t.items)}}function C(c,v){if(1&c&&a.Z7z(0,o,3,1,"optgroup",2,a.fX1),2&c){const t=a.XpG();a.Dyx(t.items)}}function u(c,v){if(1&c&&(a.j41(0,"option",3),a.EFF(1),a.k0s()),2&c){const t=v.$implicit,E=a.XpG(2);a.Y8G("ngValue",E.valueProperty?t[E.valueProperty]:t)("disabled",t.disabled),a.R7$(),a.SpI(" ",E.labelProperty?t[E.labelProperty]:t," ")}}function F(c,v){if(1&c&&a.Z7z(0,u,2,3,"option",3,a.fX1),2&c){const t=a.XpG();a.Dyx(t.items)}}let I=(()=>{class c{constructor(){this.model=null}ngOnInit(){}onModelChange(t){this.model="null"===t||""===t?null:t,this.changeHandler(this.model),this.touchedHandler()}writeValue(t){this.model="null"===t||""===t?null:t}registerOnChange(t){this.changeHandler=t}registerOnTouched(t){this.touchedHandler=t}setDisabledState(t){this.disabled=t}static{this.\u0275fac=function(E){return new(E||c)}}static{this.\u0275cmp=a.VBU({type:c,selectors:[["shared-select"]],inputs:{items:"items",disabled:"disabled",labelProperty:"labelProperty",valueProperty:"valueProperty",placeholder:"placeholder",fieldId:"fieldId",withGroupBy:"withGroupBy"},exportAs:["ublSelect"],standalone:!0,features:[a.Jv_([{provide:g.kq,useExisting:c,multi:!0}]),a.aNF],decls:6,vars:8,consts:[[1,"select",3,"ngModelChange","id","disabled","ngModel"],[3,"ngValue"],[3,"label"],[3,"ngValue","disabled"]],template:function(E,h){1&E&&(a.j41(0,"select",0),a.bIt("ngModelChange",function(y){return h.onModelChange(y)}),a.j41(1,"option",1),a.EFF(2),a.nI1(3,"translate"),a.k0s(),a.DNE(4,C,2,0)(5,F,2,0),a.k0s()),2&E&&(a.Y8G("id",h.fieldId||"")("disabled",h.disabled)("ngModel",h.model),a.R7$(),a.Y8G("ngValue",null),a.R7$(),a.SpI(" ",h.placeholder||a.bMT(3,6,"Common.Select.Placeholder")," "),a.R7$(2),a.vxM(4,h.withGroupBy?4:5))},dependencies:[f.MD,e.h,e.D9,g.YN,g.xH,g.y7,g.wz,g.BC,g.vS],styles:['[_nghost-%COMP%]{display:block;width:100%;position:relative}[_nghost-%COMP%]:after{content:"";position:absolute;top:50%;right:15px;transform:translateY(-50%);width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid currentColor;pointer-events:none}.select[_ngcontent-%COMP%]{display:block;background-color:var(--base-light-bg);color:var(--dark-text-color-2);border:none;font-size:18px;line-height:1.33;font-family:var(--primary-text-regular);width:100%;appearance:none;padding:10px 30px 10px 15px}']})}}return c})()},1552:(T,k,l)=>{l.d(k,{y:()=>a});var f=l(4438);const g=[[["","leftCol",""]],"*"],e=["[leftCol]","*"];let a=(()=>{class w{static{this.\u0275fac=function(u){return new(u||w)}}static{this.\u0275cmp=f.VBU({type:w,selectors:[["shared-two-col-form-row"]],standalone:!0,features:[f.aNF],ngContentSelectors:e,decls:4,vars:0,consts:[[1,"left-col"],[1,"right-col"]],template:function(u,F){1&u&&(f.NAR(g),f.j41(0,"div",0),f.SdG(1),f.k0s(),f.j41(2,"div",1),f.SdG(3,1),f.k0s())},styles:["[_nghost-%COMP%]{display:flex;width:100%;flex-wrap:wrap}@media (min-width: 768px){[_nghost-%COMP%]{flex-wrap:nowrap}}.left-col[_ngcontent-%COMP%]{width:300px;min-width:300px;padding-right:10px}.right-col[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.right-col[_ngcontent-%COMP%]{max-width:calc(100% - 300px)}}"]})}}return w})()}}]);

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.