1 line
70 KiB
JavaScript
1 line
70 KiB
JavaScript
(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5904],{35904:(Ut,f,E)=>{E.r(f),E.d(f,{ViewEventPageModule:()=>pt});var I=E(61380),N=E(69270),O=E(15861),m=E(59584),t=E(45449),l=E(47898),u=E(90603),A=E(14690),V=E(21284),D=E(80698),L=E(18228);let G=(()=>{class e{constructor(n){this.translateConfigService=n,this.actionMapping={LOGISTIC_EVENT_CREATED:"LOGISTIC_EVENT_CREATED",LOGISTIC_EVENT_UPDATED:"LOGISTIC_EVENT_UPDATED",LOGISTIC_DRIVER_ENTRY_REGISTRATION_WAITING_FOR_APPROVED:"LOGISTIC_DRIVER_ENTRY_REGISTRATION_WAITING_FOR_APPROVED",LOGISTIC_DRIVER_ENTRY_REGISTRATION_APPROVED:"LOGISTIC_DRIVER_ENTRY_REGISTRATION_APPROVED",LOGISTIC_DRIVER_ENTRY_REGISTRATION_DENY:"LOGISTIC_DRIVER_ENTRY_REGISTRATION_DENY",LOGISTIC_DRIVER_ENTRY_CHECKIN_DONE:"LOGISTIC_DRIVER_ENTRY_CHECKIN_DONE",LOGISTIC_DRIVER_ENTRY_WAITING_FOR_RELEASE:"LOGISTIC_DRIVER_ENTRY_WAITING_FOR_RELEASE",LOGISTIC_DRIVER_ENTRY_RELEASE_DONE:"LOGISTIC_DRIVER_ENTRY_RELEASE_DONE",LOGISTIC_DRIVER_EXIT_APPROVED:"LOGISTIC_DRIVER_EXIT_APPROVED",LOGISTIC_DRIVER_EXIT_RELEASED_MANUALLY:"LOGISTIC_DRIVER_EXIT_RELEASED_MANUALLY",LOGISTIC_DRIVER_EXIT_RELEASED_BY_SENSOR:"LOGISTIC_DRIVER_EXIT_RELEASED_BY_SENSOR",LOGISTIC_DRIVER_ENTRY_RELEASE_DENY:"LOGISTIC_DRIVER_ENTRY_RELEASE_DENY",LOGISTIC_DRIVER_ENTRY_MULTICHECKIN_DONE:"LOGISTIC_DRIVER_ENTRY_MULTICHECKIN_DONE",LOGISTIC_ASSISTANT_ENTRY_REGISTRATION_WAITING_FOR_APPROVED:"LOGISTIC_ASSISTANT_ENTRY_REGISTRATION_WAITING_FOR_APPROVED",LOGISTIC_ASSISTANT_ENTRY_REGISTRATION_APPROVED:"LOGISTIC_ASSISTANT_ENTRY_REGISTRATION_APPROVED",LOGISTIC_ASSISTANT_ENTRY_REGISTRATION_DENY:"LOGISTIC_ASSISTANT_ENTRY_REGISTRATION_DENY",LOGISTIC_ASSISTANT_ENTRY_CHECKIN_DONE:"LOGISTIC_ASSISTANT_ENTRY_CHECKIN_DONE",LOGISTIC_ASSISTANT_ENTRY_WAITING_FOR_RELEASE:"LOGISTIC_ASSISTANT_ENTRY_WAITING_FOR_RELEASE",LOGISTIC_ASSISTANT_ENTRY_RELEASE_DONE:"LOGISTIC_ASSISTANT_ENTRY_RELEASE_DONE",LOGISTIC_ASSISTANT_ENTRY_RELEASE_DENY:"LOGISTIC_ASSISTANT_ENTRY_RELEASE_DENY",LOGISTIC_ASSISTANT_ENTRY_MULTICHECKIN_DONE:"LOGISTIC_ASSISTANT_ENTRY_MULTICHECKIN_DONE",LOGISTIC_DRIVER_ADDED_ASSISTANT:"LOGISTIC_DRIVER_ADDED_ASSISTANT",VO_INVITED_ADDED_ESCORT:"VO_INVITED_ADDED_ESCORT",LG_DVR_DC_ENT_REQ:"LG_DVR_DC_ENT_REQ",LG_DVR_DC_ENT_REQ_TOUT:"LG_DVR_DC_ENT_REQ_TOUT",LG_DVR_DC_ENT_ACK_ALM_MANUALLY:"LG_DVR_DC_ENT_ACK_ALM_MANUALLY",LG_DVR_DC_ENT_ACK_ALM_SENSOR:"LG_DVR_DC_ENT_ACK_ALM_SENSOR",LG_DVR_DC_EXT_REQ:"LG_DVR_DC_EXT_REQ",LG_DVR_DC_EXT_REQ_TOUT:"LG_DVR_DC_EXT_REQ_TOUT",LG_DVR_DC_EXT_ACK_ALM_MANUALLY:"LG_DVR_DC_EXT_ACK_ALM_MANUALLY",LG_DVR_DC_EXT_ACK_ALM_SENSOR:"LG_DVR_DC_EXT_ACK_ALM_SENSOR",LG_ASTT_DC_ENT_REQ:"LG_ASTT_DC_ENT_REQ",LG_ASTT_DC_ENT_REQ_TOUT:"LG_ASTT_DC_ENT_REQ_TOUT",LG_ASTT_DC_ENT_ACK_ALM_MANUALLY:"LG_ASTT_DC_ENT_ACK_ALM_MANUALLY",LG_ASTT_DC_ENT_ACK_ALM_SENSOR:"LG_ASTT_DC_ENT_ACK_ALM_SENSOR",LG_ASTT_DC_EXT_REQ:"LG_ASTT_DC_EXT_REQ",LG_ASTT_DC_EXT_REQ_TOUT:"LG_ASTT_DC_EXT_REQ_TOUT",LG_ASTT_DC_EXT_ACK_ALM_MANUALLY:"LG_ASTT_DC_EXT_ACK_ALM_MANUALLY",LG_ASTT_DC_EXT_ACK_ALM_SENSOR:"LG_ASTT_DC_EXT_ACK_ALM_SENSOR",LG_VISIT_DC_ENT_REQ_TOUT:"LG_VISIT_DC_ENT_REQ_TOUT",LG_VISIT_DC_ENT_ACK_ALM_SENSOR:"LG_VISIT_DC_ENT_ACK_ALM_SENSOR",LG_VISIT_DC_ENT_ACK_ALM_MANUALLY:"LG_VISIT_DC_ENT_ACK_ALM_MANUALLY",LG_VISIT_DC_EXT_REQ_TOUT:"LG_VISIT_DC_EXT_REQ_TOUT",LG_VISIT_DC_EXT_ACK_ALM_SENSOR:"LG_VISIT_DC_EXT_ACK_ALM_SENSOR",LG_VISIT_DC_EXT_ACK_ALM_MANUALLY:"LG_VISIT_DC_EXT_ACK_ALM_MANUALLY",LG_DVR_DC_ENT_REQ_ENF:"LG_DVR_DC_ENT_REQ_ENF",LG_ASTT_DC_ENT_REQ_ENF:"LG_ASTT_DC_ENT_REQ_ENF",LG_VISIT_DC_ENT_REQ_ENF:"LG_VISIT_DC_ENT_REQ_ENF",LG_DVR_DC_EXT_REQ_ENF:"LG_DVR_DC_EXT_REQ_ENF",LG_ASTT_DC_EXT_REQ_ENF:"LG_ASTT_DC_EXT_REQ_ENF",LG_VISIT_DC_EXT_REQ_ENF:"LG_VISIT_DC_EXT_REQ_ENF",LG_EVENT_REQUESTED:"LG_EVENT_REQUESTED",LG_EVENT_APPROVED:"LG_EVENT_APPROVED",LG_EVENT_DENIED:"LG_EVENT_DENIED",LG_DRIVER_ADDED:"LG_DRIVER_ADDED",LG_ASTT_ADDED:"LG_ASTT_ADDED",LG_DRIVER_REMOVED:"LG_DRIVER_REMOVED",LG_ASTT_REMOVED:"LG_ASTT_REMOVED",VO_EVENT_CREATED:"VO_EVENT_CREATED",VO_EVENT_UPDATED:"VO_EVENT_UPDATED",VO_EVENT_CANCELED:"VO_EVENT_CANCELED",VO_EVENT_REQUESTED:"VO_EVENT_REQUESTED",VO_EVENT_APPROVED:"VO_EVENT_APPROVED",VO_EVENT_DENIED:"VO_EVENT_DENIED",VO_EVENT_ENDED:"VO_EVENT_ENDED",VO_INVITE_CREATED:"VO_INVITE_CREATED",VO_HOST_CREATED:"VO_HOST_CREATED",VO_HOST_REMOVED:"VO_HOST_REMOVED",VO_INVITE_REMOVED:"VO_INVITE_REMOVED",VO_INVITE_APPROVED:"VO_INVITE_APPROVED",VO_INVITE_NOT_APPROVED:"VO_INVITE_NOT_APPROVED",VO_INVITE_RELEASED:"VO_INVITE_RELEASED",VO_INVITE_DENIED:"VO_INVITE_DENIED",VO_INVITE_QR_PRINTED:"VO_INVITE_QR_PRINTED",VO_INVITE_CHECKIN_DONE:"VO_INVITE_CHECKIN_DONE",VO_INVITE_WAITING_FOR_APPROVE:"VO_INVITE_WAITING_FOR_APPROVE",VO_INVITE_WAITING_FOR_RELEASE:"VO_INVITE_WAITING_FOR_RELEASE",NONE:"NONE"}}getoperationActionToRender(n,i){const s=this.actionMapping[n];if(s){const g=this.translateConfigService.translate(s);if(void 0!==i&&""!==i&&null!==i){const d=this.normalizeName(i);return g.replace("{invite}",d)}return g}return""}normalizeName(n){return"string"==typeof n?n.toLowerCase().split(" ").map(g=>g.charAt(0).toUpperCase()+g.slice(1)).join(" "):n}}return e.\u0275fac=function(n){return new(n||e)(t.\u0275\u0275inject(L.w))},e.\u0275prov=t.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var S=E(90944),x=E(87871),z=E(58517),y=E(36290),b=E(96893),w=E(99826);function k(e,_){if(1&e){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",29)(1,"button",30),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(n);const s=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(s.addToCalendar())}),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd()()}2&e&&(t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(3,1,"PG_VIEW_EVENT_LG_BTN_CALENDAR_INVITATION")," "))}function Y(e,_){if(1&e){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"button",30),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(n);const s=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(s.shareEvent())}),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()}2&e&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(2,1,"PG_VIEW_EVENT_LG_BTN_LINK_SHARE")," "))}function X(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",31),t.\u0275\u0275template(1,Y,3,3,"button",32),t.\u0275\u0275elementEnd()),2&e){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!n.isNew)}}function W(e,_){if(1&e){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",8)(1,"button",9),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(n);const s=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(s.onFixEventErrors())}),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd()()}2&e&&(t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(3,1,"PG_VIEW_EVENT_LG_BTN_EDIT")," "))}function F(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",33)(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(4,"app-list-recurrence-dates",34),t.\u0275\u0275elementEnd()),2&e){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,3,"TEXT_RECURRENCES_DATES")),t.\u0275\u0275advance(2),t.\u0275\u0275property("showShortDateList",!0)("recurrenceDates",n.recurrenceDates)}}function U(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",46),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&e){const n=t.\u0275\u0275nextContext(3);t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",n.momentService.formatAsEventAt(n.driver.lastModifiedDate)," ")}}function B(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",43)(1,"div",44),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,U,2,1,"div",45),t.\u0275\u0275elementEnd()),2&e){const n=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(3,2,"PG_VIEW_EVENT_LG_TEXT_CHECK_PERFORMED_AT")," "),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",n.driver.lastModifiedDate)}}function K(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",35)(1,"div",36),t.\u0275\u0275element(2,"app-avatar",37),t.\u0275\u0275elementStart(3,"div",38)(4,"div",39),t.\u0275\u0275text(5),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(6,"div",40),t.\u0275\u0275text(7),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(8,B,5,4,"div",41),t.\u0275\u0275element(9,"app-status-invite",42),t.\u0275\u0275elementEnd()()()),2&e){const n=t.\u0275\u0275nextContext();let i,s,g,d;t.\u0275\u0275advance(2),t.\u0275\u0275property("firstName",null!==(i=null!==(i=null==n.driver?null:n.driver.firstName)&&void 0!==i?i:null==n.driver||null==n.driver.fullName||null==(i=n.driver.fullName.split(" "))?null:i[0])&&void 0!==i?i:"")("lastName",null!==(s=null!==(s=null==n.driver?null:n.driver.lastName)&&void 0!==s?s:null==n.driver||null==n.driver.fullName||null==(s=n.driver.fullName.split(" "))||null==(g=s.slice(1))?null:g.join(" "))&&void 0!==s?s:"")("thumbnailImage",null!==(d=null==n.driver?null:n.driver.thumbnailImage)&&void 0!==d?d:null)("size","sm"),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(n.driver.fullName),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(n.driver.document),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf","CHECKIN_DONE"===n.driver.status||"MULTI_CHECKIN"===n.driver.status||"QRCODE_PRINTED"===n.driver.status),t.\u0275\u0275advance(1),t.\u0275\u0275property("status",n.driver.status)}}function Q(e,_){1&e&&(t.\u0275\u0275elementStart(0,"div",47),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&e&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(2,1,"PG_VIEW_EVENT_LG_TEXT_NOT_DRIVER_SELECTED")," "))}function j(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",46),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&e){const n=t.\u0275\u0275nextContext(2).$implicit,i=t.\u0275\u0275nextContext(3);t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",i.momentService.formatAsEventAt(n.lastModifiedDate)," ")}}function H(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",43)(1,"div",44),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,j,2,1,"div",45),t.\u0275\u0275elementEnd()),2&e){const n=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(3,2,"PG_VIEW_EVENT_LG_TEXT_CHECK_PERFORMED_AT")," "),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",n.lastModifiedDate)}}function Z(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",53),t.\u0275\u0275element(1,"app-avatar",37),t.\u0275\u0275elementStart(2,"div",54)(3,"div",39),t.\u0275\u0275text(4),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(5,"div",40),t.\u0275\u0275text(6),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(7,H,5,4,"div",41),t.\u0275\u0275element(8,"app-status-invite",42),t.\u0275\u0275elementEnd()()),2&e){const n=_.$implicit;let i,s,g,d;t.\u0275\u0275advance(1),t.\u0275\u0275property("firstName",null!==(i=null!==(i=null==n?null:n.firstName)&&void 0!==i?i:null==n||null==n.fullName||null==(i=n.fullName.split(" "))?null:i[0])&&void 0!==i?i:"")("lastName",null!==(s=null!==(s=null==n?null:n.lastName)&&void 0!==s?s:null==n||null==n.fullName||null==(s=n.fullName.split(" "))||null==(g=s.slice(1))?null:g.join(" "))&&void 0!==s?s:"")("thumbnailImage",null!==(d=null==n?null:n.thumbnailImage)&&void 0!==d?d:null)("size","sm"),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(n.fullName),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(n.document),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf","CHECKIN_DONE"===n.status||"MULTI_CHECKIN"===n.status||"QRCODE_PRINTED"===n.status),t.\u0275\u0275advance(1),t.\u0275\u0275property("status",n.status)}}function $(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",51),t.\u0275\u0275template(1,Z,9,8,"div",52),t.\u0275\u0275elementEnd()),2&e){const n=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(1),t.\u0275\u0275property("ngForOf",n.assistants)}}function J(e,_){1&e&&(t.\u0275\u0275elementStart(0,"div",55),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&e&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(2,1,"PG_VIEW_EVENT_TEXT_NOT_ASSISTANT_SELECTED")," "))}function q(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",48)(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,$,2,1,"div",49),t.\u0275\u0275template(5,J,3,3,"div",50),t.\u0275\u0275elementEnd()),2&e){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,3,"PG_VIEW_EVENT_LG_TEXT_ASSISTANTS")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",n.assistants.length),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!n.assistants.length)}}function tt(e,_){if(1&e&&(t.\u0275\u0275elementContainerStart(0),t.\u0275\u0275elementStart(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"div",13),t.\u0275\u0275text(5),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementContainerEnd()),2&e){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,2,"PG_VIEW_EVENT_LG_TEXT_LICENSEPLATONE")),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(n.licensePlateOne)}}function nt(e,_){1&e&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&e&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_YES")))}function et(e,_){1&e&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&e&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_NOT")))}function ot(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",23)(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,nt,3,3,"div",56),t.\u0275\u0275template(5,et,3,3,"div",56),t.\u0275\u0275elementEnd()),2&e){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,3,"PG_VIEW_EVENT_LG_TEXT_HASCART")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",n.hasCart),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!n.hasCart)}}function it(e,_){if(1&e&&(t.\u0275\u0275elementContainerStart(0),t.\u0275\u0275elementStart(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"div",13),t.\u0275\u0275text(5),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementContainerEnd()),2&e){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,2,"PG_VIEW_EVENT_LG_TEXT_LICENSEPLATTWO")),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(n.licensePlateTwo)}}function ct(e,_){1&e&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&e&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_YES")))}function st(e,_){1&e&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&e&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_NOT")))}function _t(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",23)(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,ct,3,3,"div",56),t.\u0275\u0275template(5,st,3,3,"div",56),t.\u0275\u0275elementEnd()),2&e){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,3,"PG_VIEW_EVENT_LG_TEXT_ON_FOOT")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",n.onFoot),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!n.onFoot)}}function at(e,_){1&e&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&e&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_YES")))}function rt(e,_){1&e&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&e&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_NOT")))}function gt(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",57)(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,at,3,3,"div",56),t.\u0275\u0275template(5,rt,3,3,"div",56),t.\u0275\u0275elementEnd()),2&e){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,3,"PG_VIEW_EVENT_LG_TEXT_LOCATOR_PRE_AUTHORIZED")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",n.locatorPreAuthorized),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!n.locatorPreAuthorized)}}function lt(e,_){1&e&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&e&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_YES")))}function Et(e,_){1&e&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&e&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_NOT")))}function dt(e,_){1&e&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&e&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_YES")))}function Ct(e,_){1&e&&(t.\u0275\u0275elementStart(0,"div",13),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&e&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"TEXT_NOT")))}function Ot(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",23)(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,lt,3,3,"div",56),t.\u0275\u0275template(5,Et,3,3,"div",56),t.\u0275\u0275elementStart(6,"div",16),t.\u0275\u0275text(7),t.\u0275\u0275pipe(8,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(9,dt,3,3,"div",56),t.\u0275\u0275template(10,Ct,3,3,"div",56),t.\u0275\u0275elementEnd()),2&e){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,6,"PG_VIEW_EVENT_LG_TEXT_MULTI_CHECKIN")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",n.multiCheckin),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!n.multiCheckin),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(8,8,"PG_VIEW_EVENT_LG_TEXT_PRE_AUTHORIZED")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",!n.needAuthorization),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",n.needAuthorization)}}function Pt(e,_){if(1&e&&(t.\u0275\u0275elementContainerStart(0),t.\u0275\u0275elementStart(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"div",13),t.\u0275\u0275text(5),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementContainerEnd()),2&e){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,2,"PG_VIEW_EVENT_LG_TEXT_NOTES")),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(n.notes)}}function Mt(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",61)(1,"div",62),t.\u0275\u0275text(2),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(3,"div",63),t.\u0275\u0275text(4),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(5,"div",64),t.\u0275\u0275text(6),t.\u0275\u0275elementEnd()()),2&e){const n=_.$implicit;t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(n.operatorName),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(n.createdDate),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(n.action)}}function Tt(e,_){if(1&e&&(t.\u0275\u0275elementStart(0,"div",58)(1,"div",16),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"div",59),t.\u0275\u0275template(5,Mt,7,3,"div",60),t.\u0275\u0275elementEnd()()),2&e){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,2,"PG_VIEW_EVENT_LG_TEXT_OPERATIONS")),t.\u0275\u0275advance(3),t.\u0275\u0275property("ngForOf",n.operations)}}function ht(e,_){if(1&e){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",8)(1,"button",66),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(n);const s=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(s.onDeleteEvent())}),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd()()}if(2&e){const n=t.\u0275\u0275nextContext().ngIf;t.\u0275\u0275advance(1),t.\u0275\u0275property("disabled","Offline"===n.status),t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(3,2,"PG_VIEW_EVENT_LG_BTN_DELETE_EVENT")," ")}}function ut(e,_){if(1&e&&(t.\u0275\u0275elementContainerStart(0),t.\u0275\u0275elementStart(1,"div",2)(2,"div",65)(3,"div",7),t.\u0275\u0275template(4,ht,4,4,"div",10),t.\u0275\u0275elementEnd()(),t.\u0275\u0275element(5,"br")(6,"br")(7,"br"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementContainerEnd()),2&e){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(4),t.\u0275\u0275property("ngIf",n.shouldShowDeleteButton())}}const vt=[{path:"",component:(()=>{class e{constructor(n,i,s,g,d,R,It,St,ft,mt,Rt,Nt,At,Vt,Dt,Lt,Gt,xt,zt,yt,bt,wt,kt,Yt,Xt,Wt,Ft){var r=this;this.createLogisticEventService=n,this.navigationService=i,this.loadingService=s,this.notificatorService=g,this.momentService=d,this.activatedRoute=R,this.router=It,this.helperService=St,this.logService=ft,this.profileManagerService=mt,this.authService=Rt,this.apiService=Nt,this.logisticCompanyService=At,this.geolocationService=Vt,this.pendingRelease=Dt,this.portalLoginManagerService=Lt,this.permissionsAndroidService=Gt,this.modalPermissionService=xt,this.platform=zt,this.androidPermissions=yt,this.translateConfigService=bt,this.socialSharingService=wt,this.stateService=kt,this.sessionAddFlowService=Yt,this.operationActionToRenderService=Xt,this.showToastModalErroCodeZero=Wt,this.userPhotoService=Ft,this.existPendings=!1,this.directionEvent="",this.recurrenceDates=[],this.navigateToQRCode=()=>{this.navigationService.root(["/home"])},this.navigateToPendingLiberations=()=>{this.navigationService.forward(["/push-notifications"])},this.loadData=()=>{this.loadingService.show(this.translateConfigService.translate("PG_VIEW_EVENT_LG_LOADING_EVENT_DATA"),"loading-event-data"),this.getVoProfiles().then(o=>{this.profiles=o,this.getEvent(this.eventId,this.companyInstanceName)}).catch(o=>{console.log("processGetEventErrorResponse"),console.log("error:",o),this.logService.logError("http::processGetEventErrorResponse","",o),this.loadingService.hide(0,"loading-event-data"),this.toastErrorProssGetEvent()})},this.getEvent=(o,c)=>{this.logisticCompanyService.getEvent(o,{},c).then(this.processGetEventSuccessResponse).catch(this.processGetEventErrorResponse)},this.processGetEventSuccessResponse=o=>{const c=o;console.log("[view-event-lg] raw event response:",JSON.stringify(c,null,2)),c.date=this.momentService.formatAsEventFromTo(c.startAt,c.endAt),this.setEventValues(c),this.enrichPhotos(c)},this.enrichPhotos=o=>{const c=[];o.driver&&c.push(o.driver),o.assistants?.length&&c.push(...o.assistants),console.log("[view-event-lg] enrichPhotos \u2014 users to enrich:",c.map(a=>({refId:a.refId,fullName:a.fullName,thumbnailImage:a.thumbnailImage??null}))),c.length&&this.userPhotoService.enrichUsersWithPhotos(c).then(()=>{console.log("[view-event-lg] enrichPhotos done:",c.map(a=>({refId:a.refId,thumbnailImage:a.thumbnailImage??null})))})},this.processGetEventErrorResponse=o=>{console.log("processGetEventErrorResponse"),console.log("error:",o),this.logService.logError("http::processGetEventErrorResponse","",o),this.loadingService.hide(0,"loading-event-data"),this.toastErrorProssGetEvent()},this.setEventValues=o=>{this.loadingService.hide(0,"loading-event-data"),o&&(this.event=o,this.isNew=!o.id,this.driver=o.driver,this.assistants=o.assistants?o.assistants:[],this.hasCart=!(!o.driver||!o.driver.hasCart)&&o.driver.hasCart,this.onFoot=!(!o.driver||!o.driver.onFoot)&&o.driver.onFoot,this.locator=o.locator,this.useOwnLocator=o.useOwnLocator,this.useLocatorPreAuthorized=o.useLocatorPreAuthorized,this.locatorPreAuthorized=o.locatorPreAuthorized,this.title=o.title,this.notes=o.notes,this.multiCheckin=!!o?.multiCheckin&&o?.multiCheckin,this.licensePlateOne=o.driver&&o.driver.licensePlateOne?o.driver.licensePlateOne:null,this.licensePlateTwo=o.driver&&o.driver.licensePlateTwo?o.driver.licensePlateTwo:null,this.operations=o.operations?this.processOperations(o.operations):[],this.startAt=this.momentService.formatAsEventAt(o.startAt),this.endAt=this.momentService.formatAsEventAt(o.endAt),this.needAuthorization=!o.autoRelease,this.checkInStartAt=o.checkinStartAt,this.directionEvent=o.behavior,this.recurrenceDates=o.recurrenceDates?o.recurrenceDates:[],this.recurrent=!!o.recurrent&&o.recurrent)},this.getVoProfiles=()=>new Promise((o,c)=>{this.authService.getToken().then(a=>{this.apiService.getUserProfiles("LG",a).subscribe(o,c)})}),this.getSelectedEventRelatedProfile=(o,c)=>o.find(a=>a.company.instanceName===c),this.onFixEventErrors=()=>{const o=this.event;console.log(o),this.loadingService.show(this.translateConfigService.translate("LOADING_CHECKING_DATA"),"on-edit-event"),this.getVoProfiles().then(c=>{this.loadingService.hide(0,"on-edit-event");const a=this.getSelectedEventRelatedProfile(c,o.company.instanceName);this.profileManagerService.setProfileLogistic(a);const C=o.behavior,T=o.driver&&o.driver.licensePlateOne?o.driver.licensePlateOne:null,v=o.driver&&o.driver.licensePlateTwo?o.driver.licensePlateTwo:null,P=!(!o.driver||!o.driver.hasCart)&&o.driver.hasCart,M=!(!o.driver||!o.driver.onFoot)&&o.driver.onFoot,p={state:{action:"edit",event:{...o,licensePlateOne:T,licensePlateTwo:v,hasCart:P,onFoot:M},eventType:C}};this.navigationService.back(["/logistic-events/create/event-name"],p)}).catch(c=>{this.loadingService.hide(0,"on-edit-event");const a=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_ERROR_TITLE_REQUEST"),C=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_MESSAGE_ERROR_REQUEST");this.notificatorService.notify({title:a,message:C,type:"error",timeout:5e3}),this.logService.logError("http::onFixEventErrors","",c)})},this.shareEvent=()=>{this.event&&this.socialSharingService.shareEvent(this.event,"OTHERS","view-event-logistic")},this.shareSuccessResponse=o=>{console.log("shareSuccessResponse"),console.log("response:",o)},this.shareErrorResponse=o=>{console.log("shareErrorResponse"),console.log("error:",o),this.logService.logError("share::shareErrorResponse","",o)},this.addToCalendarComponsed=()=>{this.event&&this.socialSharingService.shareEvent(this.event,"CALENDAR","view-event-logistic")},this.addToCalendar=(0,O.Z)(function*(){(yield r.haspermissionCalendar())?r.addToCalendarComponsed():r.modalPermissionService.openModal({permission:"CALENDAR"}).then(c=>{c?r.requestPermissionCalendarAndContact().then((0,O.Z)(function*(){(yield r.haspermissionCalendar())&&r.addToCalendarComponsed()})):r.logService.logError("permissionModal::addToCalendarPageViewEvent","","modal-permission-rejected")})}),this.getCompanyAddress=o=>o.company&&o.company.address?o.company.address:"",this.addToCalendarSuccessResponse=o=>{console.log("addToCalendarSuccessResponse:",o)},this.addToCalendarErrorResponse=o=>{console.log("addToCalendarErrorResponse:",o),this.logService.logError("calendar::addToCalendarErrorResponse","",o)},this.onBack=()=>{this.navigationService.back(["/logistic-events"])},this.isLogisticEvent=o=>o&&o.target&&"LOGISTIC"===o.target,this.shouldShowAddToCalendarButton=()=>"VIEWING_TO_CREATE_FROM"!==this.viewType,this.shouldShowShareButton=()=>"VIEWING_TO_CREATE_FROM"!==this.viewType,this.shouldShowEditButton=()=>"VIEWING_TO_CREATE_FROM"!==this.viewType,this.shouldShowDeleteButton=()=>"VIEWING_TO_CREATE_FROM"!==this.viewType,this.getEventTitleToTheView=o=>{if(o)return o.title},this.canBeDeleted=()=>{},this.onDeleteEvent=()=>{this.sessionAddFlowService.clearSessionId();const o=this.event;this.loadingService.show(this.translateConfigService.translate("PG_VIEW_EVENT_LG_LOADING_DELETE"),"on-delete-event");const c=this.event.company.instanceName,a=this.getSelectedEventRelatedProfile(this.profiles,c);this.profileManagerService.isExpeditionProfile()?this.getProfileRelatedAccessToken(a).then(function(){var C=(0,O.Z)(function*(T){const v=T;try{const{authorized:P}=yield r.checkSoftLock(c,v);if(P)r.createLogisticEventService.deleteEvent(o).then(r.handleOnDeleteEventSuccessResponse).catch(r.handleOnDeleteEventErrorResponse);else try{const{lat:M,lng:p}=yield r.geoCoordinates();try{if(!(yield r.apiService.verifyCoordinates(c,M,p,v).toPromise())?.authorized)return void r.handleOutOfArea();o.geoCoordinates={lat:M,lng:p},r.createLogisticEventService.deleteEvent(o).then(r.handleOnDeleteEventSuccessResponse).catch(r.handleOnDeleteEventErrorResponse)}catch(h){if(console.log("erro ao verifyCoordinates api http"),r.logService.logError("http::onDeleteEvent::verifyCoordinates","Error verifyCoordinates",{error:h}),h instanceof m.HttpErrorResponse){if(0===h.status)return void r.toastErrorCodeZero();r.toastErrorHttp(h)}}}catch(M){return console.log("erro ao pegar a localiza\xe7\xe3o do dispositvo",M),void r.handleGetLocationError("on-delete-event","geolocation::onDeleteEvent","Error geo coodernates GPS device",M)}}catch(P){if(console.log("Erro ao verificar o soft lock"),r.logService.logError("http::onDeleteEvent::CheckSolftLock","Error check softlock",{error:P}),P instanceof m.HttpErrorResponse){if(0===P.status)return void r.toastErrorCodeZero();r.toastErrorHttp(P)}return}finally{r.loadingService.hide(0,"on-delete-event")}});return function(T){return C.apply(this,arguments)}}()).catch(this.handleGetAccessTokenError):this.createLogisticEventService.deleteEvent(o).then(this.handleOnDeleteEventSuccessResponse).catch(this.handleOnDeleteEventErrorResponse)},this.getProfileRelatedAccessToken=function(){var o=(0,O.Z)(function*(c){const a=yield r.authService.getToken();return(yield r.portalLoginManagerService.getAccessToken(c.login,c.portal,a)).access_token});return function(c){return o.apply(this,arguments)}}(),this.handleVerifyCoordinatesError=o=>{this.loadingService.hide(0,"on-delete-event"),this.toastErrorLocation()},this.handleOutOfArea=()=>{this.loadingService.hide(0,"on-delete-event");const o=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_OUTOFAREA_TITLE"),c=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_MESSAGE_OUTOFAREA");this.notificatorService.notify({title:o,message:c,type:"error",timeout:5e3})},this.handleGetAccessTokenError=o=>{this.loadingService.hide(0,"on-delete-event"),this.logService.logError("http::onDeleteEvent::getAccessToken","",o);const c=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_ERROR_TITLE_GET_TOKEN"),a=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_MESSAGE_ERROR_GET_TOKEN");this.notificatorService.notify({title:c,message:a,type:"error",timeout:5e3})},this.handleOnDeleteEventSuccessResponse=o=>{this.loadingService.hide(0,"on-delete-event");const c=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_DELETE_TITLE"),a=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_MESSAGE_DELETE");this.notificatorService.notify({title:c,message:a,type:"success",timeout:5e3}),this.onBack()},this.handleOnDeleteEventErrorResponse=o=>{this.loadingService.hide(0,"on-delete-event"),this.logService.logError("http::handleOnDeleteEventErrorResponse","",o);let c="",a="";o&&"cannotdeleteeventhasperformedcheckin"===o.error.errorKey?(a=this.translateConfigService.translate("TOAST_TITLE_ERROR"),c=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_MESSAGE_DELETE_REQUEST_CHECKED_IN")):(a=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_DELETE_TITLE_REQUEST"),c=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_MESSAGE_DELETE_REQUEST")),this.notificatorService.notify({title:a,message:c,type:"error",timeout:5e3})},this.getOperationActionToRender=o=>{let c="";switch(o){case"LOGISTIC_EVENT_CREATED":c=this.translateConfigService.translate("LOGISTIC_EVENT_CREATED");break;case"LOGISTIC_EVENT_UPDATED":c=this.translateConfigService.translate("LOGISTIC_EVENT_UPDATED");break;case"LOGISTIC_DRIVER_ENTRY_REGISTRATION_WAITING_FOR_APPROVED":c=this.translateConfigService.translate("LOGISTIC_DRIVER_ENTRY_REGISTRATION_WAITING_FOR_APPROVED");break;case"LOGISTIC_DRIVER_ENTRY_REGISTRATION_APPROVED":c=this.translateConfigService.translate("LOGISTIC_DRIVER_ENTRY_REGISTRATION_APPROVED");break;case"LOGISTIC_DRIVER_ENTRY_REGISTRATION_DENY":c=this.translateConfigService.translate("LOGISTIC_DRIVER_ENTRY_REGISTRATION_DENY");break;case"LOGISTIC_DRIVER_ENTRY_CHECKIN_DONE":c=this.translateConfigService.translate("LOGISTIC_DRIVER_ENTRY_CHECKIN_DONE");break;case"LOGISTIC_DRIVER_ENTRY_WAITING_FOR_RELEASE":c=this.translateConfigService.translate("LOGISTIC_DRIVER_ENTRY_WAITING_FOR_RELEASE");break;case"LOGISTIC_DRIVER_ENTRY_RELEASE_DONE":c=this.translateConfigService.translate("LOGISTIC_DRIVER_ENTRY_RELEASE_DONE");break;case"LOGISTIC_DRIVER_EXIT_APPROVED":c=this.translateConfigService.translate("LOGISTIC_DRIVER_EXIT_APPROVED");break;case"LOGISTIC_DRIVER_EXIT_RELEASED_MANUALLY":c=this.translateConfigService.translate("LOGISTIC_DRIVER_EXIT_RELEASED_MANUALLY");break;case"LOGISTIC_DRIVER_EXIT_RELEASED_BY_SENSOR":c=this.translateConfigService.translate("LOGISTIC_DRIVER_EXIT_RELEASED_BY_SENSOR")}return c},this.getOperationCreatedDateToRender=o=>this.momentService.formatAsEventAt(o),this.processOperations=o=>o.map(c=>({action:this.operationActionToRenderService.getoperationActionToRender(c.action,c?.details),operatorName:c.operatorName,createdDate:this.getOperationCreatedDateToRender(c.createdDate)})),this.handleGetLocationError=(o,c,a,C)=>{this.loadingService.hide(0,o),this.logService.logError(c,a,{error:C}),this.toastErrorLocation()},this.title="",this.startAt="",this.endAt="",this.notes="",this.assistants=[],this.sessionAddFlowService.clearSessionId()}ionViewWillEnter(){const n=history.state;n?.eventId&&(this.viewType=n.viewType,this.eventId=n.eventId,this.companyInstanceName=n.companyInstanceName),this.eventId&&this.loadData()}ionViewDidEnter(){}ionViewDidLeave(){}haspermissionCalendar(){var n=this;return(0,O.Z)(function*(){const i=n.platform.is("cordova")?yield n.permissionsAndroidService.hasPermission("READ_CALENDAR"):{hasPermission:!0},s=n.platform.is("cordova")?yield n.permissionsAndroidService.hasPermission("WRITE_CALENDAR"):{hasPermission:!0};return!(!i.hasPermission||!s.hasPermission)})()}requestPermissionCalendarAndContact(){var n=this;return(0,O.Z)(function*(){const i=[n.androidPermissions.PERMISSION.READ_CALENDAR,n.androidPermissions.PERMISSION.WRITE_CALENDAR];return!!(yield n.permissionsAndroidService.multRequestPermissions(i)).hasPermission})()}geoCoordinates(){var n=this;return(0,O.Z)(function*(){try{const i=yield n.geolocationService.getCurrentPositionAndRequestPermission();return{lat:i&&i.coords&&i.coords.latitude?i.coords.latitude:null,lng:i&&i.coords&&i.coords.longitude?i.coords.longitude:null}}catch(i){throw i}})()}toastErrorProssGetEvent(){const n=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_ERROR_TITLE"),i=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_ERROR_TITLE");this.notificatorService.notify({title:n,message:i,type:"error"})}toastErrorLocation(){const n=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_GETTING_LOCATION_TITLE"),i=this.translateConfigService.translate("PG_VIEW_EVENT_LG_TOAST_MESSAGE_GETTING_LOCATION");this.notificatorService.notify({title:n,message:i,type:"error"})}checkSoftLock(n,i){var s=this;return(0,O.Z)(function*(){try{const{authorized:g}=yield s.apiService.checkSoftLock(n,null,null,i).toPromise();return{authorized:g}}catch(g){throw g}})()}toastErrorCodeZero(){this.showToastModalErroCodeZero.showToast()}toastErrorHttp(n){const i=n&&n?.status?` Cod. ${n.status}`:"",s=this.translateConfigService.translate("TOAST_SERVICE_TEMPORARILY_UNAVAILABLE_TITLE"),g=this.translateConfigService.translate("TOAST_SERVICE_TEMPORARILY_UNAVAILABLE_MESSAGE")+i;this.notificatorService.notify({title:s,message:g,type:"error"})}}return e.\u0275fac=function(n){return new(n||e)(t.\u0275\u0275directiveInject(l.V),t.\u0275\u0275directiveInject(l.f5),t.\u0275\u0275directiveInject(l.bz),t.\u0275\u0275directiveInject(l.V6),t.\u0275\u0275directiveInject(l.EM),t.\u0275\u0275directiveInject(I.ActivatedRoute),t.\u0275\u0275directiveInject(I.Router),t.\u0275\u0275directiveInject(l.W_),t.\u0275\u0275directiveInject(l.$V),t.\u0275\u0275directiveInject(l.v4),t.\u0275\u0275directiveInject(l.e8),t.\u0275\u0275directiveInject(l.sM),t.\u0275\u0275directiveInject(l.g5),t.\u0275\u0275directiveInject(l._1),t.\u0275\u0275directiveInject(l.xJ),t.\u0275\u0275directiveInject(l.dj),t.\u0275\u0275directiveInject(l.YY),t.\u0275\u0275directiveInject(l.JQ),t.\u0275\u0275directiveInject(u.Platform),t.\u0275\u0275directiveInject(A.r),t.\u0275\u0275directiveInject(l.wK),t.\u0275\u0275directiveInject(l.iX),t.\u0275\u0275directiveInject(V.b),t.\u0275\u0275directiveInject(D.t),t.\u0275\u0275directiveInject(G),t.\u0275\u0275directiveInject(l.ME),t.\u0275\u0275directiveInject(l.IR))},e.\u0275cmp=t.\u0275\u0275defineComponent({type:e,selectors:[["app-view-event"]],decls:56,vars:38,consts:[["defaultHref","logistic-events",3,"title","showBadge","refresh"],[1,"centralized-content"],[1,"actions"],[1,"button-holder"],[1,"button-holder-group","share-group"],["class","add-to-calendar-button-holder",4,"ngIf"],["class","share-event",4,"ngIf"],[1,"button-holder-group"],[1,"button-holder-group-item"],["type","button",1,"back",3,"click"],["class","button-holder-group-item",4,"ngIf"],[1,"event"],[1,"section","title"],[1,"value"],[1,"section","date"],[1,"start-at"],[1,"label"],[1,"end-at"],["class","recurrence",4,"ngIf"],[1,"section","hosts"],["class","hosts-holder",4,"ngIf"],["class","hosts-empty",4,"ngIf"],["class","section guests",4,"ngIf"],[1,"section","option","multi-check-in"],[4,"ngIf"],["class","section option multi-check-in",4,"ngIf"],["class","section option locator-pre-authorized",4,"ngIf"],[1,"section","option","add-companion"],["class","section",4,"ngIf"],[1,"add-to-calendar-button-holder"],["type","submit",3,"click"],[1,"share-event"],["type","submit",3,"click",4,"ngIf"],[1,"recurrence"],[3,"showShortDateList","recurrenceDates"],[1,"hosts-holder"],[1,"host"],[3,"firstName","lastName","thumbnailImage","size"],[1,"host-info"],[1,"full-name"],[1,"department"],["class","check-in-done-at",4,"ngIf"],[3,"status"],[1,"check-in-done-at"],[1,"host-attribute"],["class","host-value",4,"ngIf"],[1,"host-value"],[1,"hosts-empty"],[1,"section","guests"],["class","guests-holder",4,"ngIf"],["class","guests-empty",4,"ngIf"],[1,"guests-holder"],["class","guest",4,"ngFor","ngForOf"],[1,"guest"],[1,"guest-info"],[1,"guests-empty"],["class","value",4,"ngIf"],[1,"section","option","locator-pre-authorized"],[1,"section"],[1,"operations"],["class","operation",4,"ngFor","ngForOf"],[1,"operation"],[1,"operator"],[1,"created-date"],[1,"action"],[1,"button-holder","bottom"],["type","button",1,"delete",3,"disabled","click"]],template:function(n,i){1&n&&(t.\u0275\u0275element(0,"app-header",0),t.\u0275\u0275pipe(1,"translate"),t.\u0275\u0275elementStart(2,"ion-content")(3,"div",1)(4,"div",2)(5,"div",3)(6,"div",4),t.\u0275\u0275template(7,k,4,3,"div",5),t.\u0275\u0275template(8,X,2,1,"div",6),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(9,"div",7)(10,"div",8)(11,"button",9),t.\u0275\u0275listener("click",function(){return i.onBack()}),t.\u0275\u0275text(12),t.\u0275\u0275pipe(13,"translate"),t.\u0275\u0275elementEnd()(),t.\u0275\u0275text(14," \xa0 \xa0 \xa0 "),t.\u0275\u0275template(15,W,4,3,"div",10),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275elementStart(16,"ion-row")(17,"ion-col")(18,"div",11)(19,"div",12)(20,"div",13),t.\u0275\u0275text(21),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(22,"div",14)(23,"div",15)(24,"div",16),t.\u0275\u0275text(25),t.\u0275\u0275pipe(26,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(27,"div",13),t.\u0275\u0275text(28),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(29,"div",17)(30,"div",16),t.\u0275\u0275text(31),t.\u0275\u0275pipe(32,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(33,"div",13),t.\u0275\u0275text(34),t.\u0275\u0275elementEnd()(),t.\u0275\u0275template(35,F,5,5,"div",18),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(36,"div",19)(37,"div",16),t.\u0275\u0275text(38),t.\u0275\u0275pipe(39,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(40,K,10,8,"div",20),t.\u0275\u0275template(41,Q,3,3,"div",21),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(42,q,6,5,"div",22),t.\u0275\u0275elementStart(43,"div",23),t.\u0275\u0275template(44,tt,6,4,"ng-container",24),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(45,ot,6,5,"div",25),t.\u0275\u0275elementStart(46,"div",23),t.\u0275\u0275template(47,it,6,4,"ng-container",24),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(48,_t,6,5,"div",25),t.\u0275\u0275template(49,gt,6,5,"div",26),t.\u0275\u0275template(50,Ot,11,10,"div",25),t.\u0275\u0275elementStart(51,"div",27),t.\u0275\u0275template(52,Pt,6,4,"ng-container",24),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(53,Tt,6,4,"div",28),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275template(54,ut,8,1,"ng-container",24),t.\u0275\u0275pipe(55,"async"),t.\u0275\u0275elementEnd()()),2&n&&(t.\u0275\u0275property("title",t.\u0275\u0275pipeBind1(1,26,"PG_VIEW_EVENT_LG_HEADER_TITLE"))("showBadge",!0)("refresh",!1),t.\u0275\u0275advance(7),t.\u0275\u0275property("ngIf",i.shouldShowAddToCalendarButton()&&"ENTRY"===i.directionEvent),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",i.shouldShowShareButton()&&"ENTRY"===i.directionEvent),t.\u0275\u0275advance(4),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(13,28,"BTN_BACK")," "),t.\u0275\u0275advance(3),t.\u0275\u0275property("ngIf",i.shouldShowEditButton()),t.\u0275\u0275advance(6),t.\u0275\u0275textInterpolate(i.getEventTitleToTheView(i.event)),t.\u0275\u0275advance(4),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(26,30,"PG_VIEW_EVENT_LG_TEXT_STARTS_AT")),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(i.startAt),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(32,32,"PG_VIEW_EVENT_LG_TEXT_ENDS_AT")),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(i.endAt),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",i.recurrent),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(39,34,"PG_VIEW_EVENT_LG_TEXT_DRIVER")),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",i.driver),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",null===i.driver),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf","ENTRY"===i.directionEvent),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",i.licensePlateOne&&!i.onFoot),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!i.hasCart&&!i.licensePlateTwo&&!i.onFoot),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",i.licensePlateTwo&&!i.onFoot),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",i.onFoot&&!i.licensePlateOne),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",i.useOwnLocator&&i.useLocatorPreAuthorized&&"ENTRY"===i.directionEvent),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf","ENTRY"===i.directionEvent),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",i.notes),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",i.operations&&!!i.operations.length),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",t.\u0275\u0275pipeBind1(55,36,i.stateService.getState())))},dependencies:[S.NgForOf,S.NgIf,u.IonCol,u.IonContent,u.IonRow,x.A,z.x,y.G,b._,S.AsyncPipe,w.X$],styles:["ion-content[_ngcontent-%COMP%]{--background: #f1f1f1}ion-toolbar[_ngcontent-%COMP%]{font-family:Nunito,sans-serif}ion-toolbar[_ngcontent-%COMP%] ion-img[_ngcontent-%COMP%]{height:25px;width:25px}ion-toolbar[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%]{letter-spacing:1px}ion-toolbar[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:24px;padding:0;width:24px;margin:0;font-size:19px;color:#656768}ion-toolbar[_ngcontent-%COMP%] ion-button.hover[_ngcontent-%COMP%]{background:#fff}.centralized-content[_ngcontent-%COMP%]{background-color:#f1f1f1;width:100%;height:calc(100vh - 56px);display:flex;justify-content:flex-start;flex-direction:column}.centralized-content[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:26px}.centralized-content[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:initial!important;font-weight:700;text-align:center}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;align-content:center;justify-content:center;flex-direction:column;min-height:200px}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%]{width:100%;flex-direction:column}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%]{display:flex;justify-content:center}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group.share-group[_ngcontent-%COMP%]{flex-direction:column}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group.share-group[_ngcontent-%COMP%] .share-event[_ngcontent-%COMP%]{margin-top:16px}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%] button[type=submit][_ngcontent-%COMP%]{padding:.75em 1.5em;border-radius:50px;background-color:#0ec254;color:#fff;font-size:1em;transition:background-color .1s ease-out}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%] button[type=submit][_ngcontent-%COMP%]:active{background-color:#fff;color:#0ec254;transition:background-color .1s ease-out}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%] button[type=submit][_ngcontent-%COMP%]:focus{outline:none}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%]:nth-of-type(2){margin-top:24px}.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder.bottom[_ngcontent-%COMP%]{margin:56px 0}.centralized-content[_ngcontent-%COMP%] .event[_ngcontent-%COMP%]{background-color:#fff;margin:1em;padding:1em;border:1px solid #eee;box-shadow:2px 2px 8px rgba(67,60,98,.1);border-radius:8px}.centralized-content[_ngcontent-%COMP%] .section[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .end-at[_ngcontent-%COMP%]{margin-top:16px}.centralized-content[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-weight:700;margin-bottom:2px}.centralized-content[_ngcontent-%COMP%] .section.title[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-weight:700;color:#333;font-size:1.2em;text-align:center}.centralized-content[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .operations[_ngcontent-%COMP%] .operation[_ngcontent-%COMP%]{padding:6px;border:1px solid #eee;border-radius:4px;margin-bottom:2px}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;margin-bottom:4px;border:1px solid #eee;border-radius:4px;padding:6px 8px}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] app-avatar[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] app-avatar[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] app-avatar[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] app-avatar[_ngcontent-%COMP%]{flex-shrink:0}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%]{flex:1;min-width:0}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%]{color:#333}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%]{font-size:.8em;color:#aaa}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%]{color:#aaa}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%]{color:#333}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%]{margin-top:2px}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%]{color:#aaa;font-size:.8em}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%]{color:#333;font-size:.85em}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%]{display:block;margin-top:4px}.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .hosts-empty[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guests-empty[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .hosts-empty[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guests-empty[_ngcontent-%COMP%]{color:#aaa}.pulsate-fwd[_ngcontent-%COMP%]{animation:pulsate-fwd .5s ease-in-out infinite both;outline:none}@keyframes pulsate-fwd{0%{transform:scale(1)}50%{transform:scale(1.5)}to{transform:scale(1)}}"]}),e})()}];let pt=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=t.\u0275\u0275defineInjector({imports:[N.I,I.RouterModule.forChild(vt)]}),e})()}}]); |