Files
kapp/3445.8d3d6f7ad1e77f77.js
T
2026-05-21 11:19:10 -03:00

1 line
22 KiB
JavaScript

(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3445],{43445:(A,E,c)=>{c.r(E),c.d(E,{EventOptionsPageModule:()=>R});var h=c(61380),S=c(15861),e=c(45449),s=c(47898),T=c(37763),u=c(90944),g=c(90603),p=c(24006),d=c(36290),P=c(99826);function L(i,v){if(1&i&&(e.\u0275\u0275elementStart(0,"div",19),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=v.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(t.message)}}function M(i,v){if(1&i&&(e.\u0275\u0275elementStart(0,"div",17),e.\u0275\u0275template(1,L,2,1,"div",18),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.eventTitleFormErrors)}}function I(i,v){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",5)(1,"div",6)(2,"label",14),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"input",15),e.\u0275\u0275listener("ngModelChange",function(o){e.\u0275\u0275restoreView(t);const l=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(l.locator=o)}),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(7,M,2,1,"div",16),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(4,4,"PG_CREATE_OPTIONS_LG_STEP_TEXT_LOCATOR")),e.\u0275\u0275advance(2),e.\u0275\u0275property("placeholder",e.\u0275\u0275pipeBind1(6,6,"PG_CREATE_OPTIONS_LG_STEP_INPUT_LOCATOR"))("ngModel",t.locator),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t.eventTitleFormErrors)}}function y(i,v){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",5)(1,"div",6)(2,"input",20),e.\u0275\u0275listener("change",function(o){e.\u0275\u0275restoreView(t);const l=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(l.onMultiCheckinChange(o))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"label",21),e.\u0275\u0275text(4,"Multi check-in"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",22)(6,"div",23),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const o=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(o.onMultiCheckinChange({target:{checked:!0}}))}),e.\u0275\u0275text(7),e.\u0275\u0275pipe(8,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"div",24),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const o=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(o.onMultiCheckinChange({target:{checked:!1}}))}),e.\u0275\u0275text(10),e.\u0275\u0275pipe(11,"translate"),e.\u0275\u0275elementEnd()()()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("checked",t.multiCheckin),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngClass","option yes "+(t.multiCheckin?"active":"")),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(8,5,"TEXT_YES")," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngClass","option no "+(t.multiCheckin?"":"active")),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(11,7,"TEXT_NOT")," ")}}function z(i,v){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",5)(1,"div",6)(2,"input",25),e.\u0275\u0275listener("change",function(o){e.\u0275\u0275restoreView(t);const l=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(l.onLocatorPreAuthorizedChange(o))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"label",26),e.\u0275\u0275text(4),e.\u0275\u0275pipe(5,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"div",22)(7,"div",27),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const o=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(o.onLocatorPreAuthorizedChange({target:{checked:!0}}))}),e.\u0275\u0275text(8),e.\u0275\u0275pipe(9,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",28),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const o=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(o.onLocatorPreAuthorizedChange({target:{checked:!1}}))}),e.\u0275\u0275text(11),e.\u0275\u0275pipe(12,"translate"),e.\u0275\u0275elementEnd()()()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("checked",t.locatorPreAuthorized),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(5,6,"PG_CREATE_OPTIONS_LG_STEP_TEXT_LOCATOR_PRE_AUTHORIZED")),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngClass","option yes "+(t.locatorPreAuthorized?"active":"")),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(9,8,"TEXT_YES")," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngClass","option no "+(t.locatorPreAuthorized?"":"active")),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(12,10,"TEXT_NOT")," ")}}function k(i,v){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",5)(1,"div",6)(2,"input",29),e.\u0275\u0275listener("change",function(o){e.\u0275\u0275restoreView(t);const l=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(l.onNeedAuthorizationChange(o))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"label",30),e.\u0275\u0275text(4),e.\u0275\u0275pipe(5,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"div",22)(7,"div",31),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const o=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(o.onNeedAuthorizationChange({target:{checked:!1}}))}),e.\u0275\u0275text(8),e.\u0275\u0275pipe(9,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",32),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const o=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(o.onNeedAuthorizationChange({target:{checked:!0}}))}),e.\u0275\u0275text(11),e.\u0275\u0275pipe(12,"translate"),e.\u0275\u0275elementEnd()()()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("checked",!t.needAuthorization),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(5,6,"PG_CREATE_OPTIONS_LG_STEP_TEXT_NEED_AUTHORIZATION")),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngClass","option yes "+(t.needAuthorization?"":"active")),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(9,8,"TEXT_YES")," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngClass","option no "+(t.needAuthorization?"active":"")),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(12,10,"TEXT_NOT")," ")}}let N=(()=>{class i{constructor(t,n,o,l,m,O,C,_,V,D,B,G){this.createLogisticEventService=t,this.navigationService=n,this.commonService=o,this.apiService=l,this.authService=m,this.profileManagerService=O,this.notificatorService=C,this.pendingRelease=_,this.portalLoginManagerService=V,this.loadingService=D,this.translateConfigService=B,this.focusService=G,this.existPendings=!1,this.needAuthorization=!1,this.locator="",this.useOwnLocator=!1,this.useLocatorPreAuthorized=!1,this.locatorPreAuthorized=!1,this.directionEvent="",this.defaultNotes="",this.defaultDriver=null,this.notes=this.defaultNotes,this.driver=this.defaultDriver,this.onMultiCheckinChange=r=>{const{checked:a}=r.target;this.multiCheckin=a},this.navigateToQRCode=()=>{this.navigationService.forward(["/home"])},this.navigateToPendingLiberations=()=>{this.navigationService.forward(["/push-notifications"])},this.onSubmit=()=>{this.cleanValidationErrors();const r=this.commonService.clearString(this.notes),a=this.commonService.clearString(this.locator),x=this.validateInput({notes:r,locator:a,directionEvent:this.directionEvent});if(x.length){this.setValidationErrors(x);const j={title:this.translateConfigService.translate("TOAST_INVALID_DATA_TITLE"),message:this.translateConfigService.translate("TOAST_INVALID_DATA_NESSAGE"),type:"error"};this.notificatorService.notify(j)}else this.createLogisticEventService.setMultiCheckIn(this.multiCheckin),this.createLogisticEventService.setNeedAuthorization(this.needAuthorization),this.createLogisticEventService.setNotes(r),this.createLogisticEventService.setLocator(this.locator),this.createLogisticEventService.setLocatorPreAuthorized(this.locatorPreAuthorized),this.goToEventResume()},this.validateInput=r=>{const a=[],f=this.validateLocatorInput(r);return f&&a.push(f),a},this.validateLocatorInput=r=>{if(this.useOwnLocator&&("ENTRY"==this.directionEvent||"CLONE_EXIT"==this.directionEvent)){if(!r.locator||r.locator.length<1)return{message:this.translateConfigService.translate("PG_CREATE_OPTIONS_LG_STEP_TEXT_FIELD_LOCATOR"),field:"title"};if(r.locator.length>20)return{message:this.translateConfigService.translate("PG_CREATE_OPTIONS_LG_STEP_TEXT_FIELD_LOCATOR_TO_LARGE"),field:"title"}}return null},this.onLocatorPreAuthorizedChange=r=>{const{checked:a}=r.target;this.locatorPreAuthorized=a},this.onNeedAuthorizationChange=r=>{const{checked:a}=r.target;this.needAuthorization=a},this.onCheckInStartAtChange=r=>{const{value:a}=r.target;this.notes=a},this.goToEventResume=()=>{const a={state:{event:{id:this.createLogisticEventService.getId(),title:this.createLogisticEventService.getTitle(),startAt:this.createLogisticEventService.getStartDate(),endAt:this.createLogisticEventService.getEndDate(),driver:this.createLogisticEventService.getDriver(),assistants:this.createLogisticEventService.getAssistants(),licensePlateOne:this.createLogisticEventService.getLicensePlateOne(),licensePlateTwo:this.createLogisticEventService.getLicensePlateTwo(),hasCart:this.createLogisticEventService.getHasCart(),onFoot:this.createLogisticEventService.getOnFoot(),locator:this.createLogisticEventService.getLocator(),multiCheckin:this.createLogisticEventService.getMultiCheckIn(),useOwnLocator:this.createLogisticEventService.getUseOwnLocator(),useLocatorPreAuthorized:this.createLogisticEventService.getUseLocatorPreAuthorized(),locatorPreAuthorized:this.createLogisticEventService.getLocatorPreAuthorized(),needAuthorization:this.createLogisticEventService.getNeedAuthorization(),notes:this.createLogisticEventService.getNotes(),directionEvent:this.directionEvent}}};this.navigationService.forward(["/logistic-events/create/event-resume"],a)},this.goOneStepBack=()=>{const r=!!this.createLogisticEventService.getDriver(),a=this.createLogisticEventService.getOnFoot();this.navigationService.back(r?a?["/logistic-events/create/event-transport-type"]:["/logistic-events/create/event-first-license-plate"]:["/logistic-events/create/event-transport-type"])},this.setValidationErrors=r=>{this.eventTitleFormErrors=r},this.cleanValidationErrors=()=>{this.eventTitleFormErrors=[]}}ionViewWillEnter(){this.focusService.applyFocusQuerySelector("create_event_options",3500)}ngOnInit(){this.needAuthorization=this.createLogisticEventService.getNeedAuthorization(),this.notes=this.createLogisticEventService.getNotes(),this.locator=this.createLogisticEventService.getLocator(),this.useOwnLocator=this.createLogisticEventService.getUseOwnLocator(),this.useLocatorPreAuthorized=this.createLogisticEventService.getUseLocatorPreAuthorized(),this.locatorPreAuthorized=this.createLogisticEventService.getLocatorPreAuthorized(),this.multiCheckin=this.createLogisticEventService.getMultiCheckIn(),this.eventTitleFormErrors=[];let t=this.createLogisticEventService.getDriver();t=t?"null"===t?null:t:null,this.driver=t}ionViewDidEnter(){var t=this;return(0,S.Z)(function*(){(null===t.createLogisticEventService.getUseOwnLocator()||null===t.createLogisticEventService.getUseLocatorPreAuthorized()||null===t.createLogisticEventService.getLocatorPreAuthorized())&&(t.loadingService.show(t.translateConfigService.translate("LOADING_DATA"),"logistic-event-options"),yield t.verifySelfReleaseLocator().then(n=>{console.warn("[DEBUG verifySelfReleaseLocator] res:",JSON.stringify(n)),console.warn("[DEBUG verifySelfReleaseLocator] res.useLocatorPreAuthorized:",n.useLocatorPreAuthorized,"| type:",typeof n.useLocatorPreAuthorized),console.warn("[DEBUG verifySelfReleaseLocator] res.locatorPreAuthorizedDefaultValue:",n.locatorPreAuthorizedDefaultValue,"| type:",typeof n.locatorPreAuthorizedDefaultValue),console.warn("[DEBUG verifySelfReleaseLocator] res.useOwnLocator:",n.useOwnLocator,"| type:",typeof n.useOwnLocator),t.createLogisticEventService.setUseOwnLocator(n.useOwnLocator),t.createLogisticEventService.setUseLocatorPreAuthorized(n.useLocatorPreAuthorized),t.createLogisticEventService.setLocatorPreAuthorized(n.locatorPreAuthorizedDefaultValue),t.useOwnLocator=t.createLogisticEventService.getUseOwnLocator(),t.useLocatorPreAuthorized=t.createLogisticEventService.getUseLocatorPreAuthorized(),t.locatorPreAuthorized=t.createLogisticEventService.getLocatorPreAuthorized()}).catch(n=>{console.log(n)}).finally(()=>t.loadingService.hide(null,"logistic-event-options"))),t.directionEvent=t.createLogisticEventService.getType()})()}ionViewDidLeave(){}verifySelfReleaseLocator(){return new Promise((t,n)=>{const o=this.profileManagerService.getProfileLogistic();this.authService.getToken().then(l=>{this.portalLoginManagerService.getAccessToken(o.login,o.portal,l).then(m=>{this.apiService.getSelfReleaseLocator(o.company.instanceName,m.access_token).subscribe(_=>{t(_)},_=>{n(_)})})}).catch(n)})}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(s.V),e.\u0275\u0275directiveInject(s.f5),e.\u0275\u0275directiveInject(s.v_),e.\u0275\u0275directiveInject(s.sM),e.\u0275\u0275directiveInject(s.e8),e.\u0275\u0275directiveInject(s.v4),e.\u0275\u0275directiveInject(s.V6),e.\u0275\u0275directiveInject(s.xJ),e.\u0275\u0275directiveInject(s.dj),e.\u0275\u0275directiveInject(s.bz),e.\u0275\u0275directiveInject(s.wK),e.\u0275\u0275directiveInject(T.i))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-event-options"]],decls:27,vars:23,consts:[["defaultHref","/logistic-events/create/event-transport-type",3,"title","showBadge","refresh","menuToggle"],[1,"centralized-content"],[2,"width","100%","height","10px"],[1,"ion-margin-vertical"],["class","input-holder",4,"ngIf"],[1,"input-holder"],[1,"input"],["for","check-in-start-at","tabindex","12"],["tabindex","13","type","text","id","check-in-start-at","maxlength","55","name","notes",3,"placeholder","ngModel","input"],[1,"button-holder"],["type","button",1,"back",3,"click"],["tabindex","15"],["type","submit",3,"click"],["tabindex","14"],["id","create_event_options","for","locator","tabindex","1"],["tabindex","2","type","text","id","locator","name","locator","onkeypress","return /[0-9a-zA-Z]/i.test(event.key)","maxlength","20",3,"placeholder","ngModel","ngModelChange"],["class","errors",4,"ngIf"],[1,"errors"],["class","error",4,"ngFor","ngForOf"],[1,"error"],["type","checkbox","id","multi-check-in","name","multiCheckin",3,"checked","change"],["for","multi-check-in","tabindex","3"],[1,"options"],["tabindex","4",3,"ngClass","click"],["tabindex","5",3,"ngClass","click"],["type","checkbox","id","locator-pre-authorized","name","locatorPreAuthorized",3,"checked","change"],["for","locator-pre-authorized","tabindex","6"],["tabindex","7",3,"ngClass","click"],["tabindex","8",3,"ngClass","click"],["type","checkbox","id","auto-release","name","autoRelease",3,"checked","change"],["for","auto-release","tabindex","9"],["tabindex","10",3,"ngClass","click"],["tabindex","11",3,"ngClass","click"]],template:function(t,n){1&t&&(e.\u0275\u0275element(0,"app-header",0),e.\u0275\u0275pipe(1,"translate"),e.\u0275\u0275elementStart(2,"ion-content")(3,"div",1),e.\u0275\u0275element(4,"div",2),e.\u0275\u0275elementStart(5,"ion-row")(6,"ion-col",3),e.\u0275\u0275template(7,I,8,8,"div",4),e.\u0275\u0275template(8,y,12,9,"div",4),e.\u0275\u0275template(9,z,13,12,"div",4),e.\u0275\u0275template(10,k,13,12,"div",4),e.\u0275\u0275elementStart(11,"div",5)(12,"div",6)(13,"label",7),e.\u0275\u0275text(14),e.\u0275\u0275pipe(15,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"input",8),e.\u0275\u0275listener("input",function(l){return n.onCheckInStartAtChange(l)}),e.\u0275\u0275pipe(17,"translate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(18,"div",9)(19,"button",10),e.\u0275\u0275listener("click",function(){return n.goOneStepBack()}),e.\u0275\u0275elementStart(20,"span",11),e.\u0275\u0275text(21),e.\u0275\u0275pipe(22,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(23,"button",12),e.\u0275\u0275listener("click",function(){return n.onSubmit()}),e.\u0275\u0275elementStart(24,"span",13),e.\u0275\u0275text(25),e.\u0275\u0275pipe(26,"translate"),e.\u0275\u0275elementEnd()()()()()()()),2&t&&(e.\u0275\u0275property("title",e.\u0275\u0275pipeBind1(1,13,"PG_CREATE_OPTIONS_LG_STEP_HEADER_TITLE"))("showBadge",!0)("refresh",!1)("menuToggle",!1),e.\u0275\u0275advance(7),e.\u0275\u0275property("ngIf",n.useOwnLocator&&("ENTRY"===n.directionEvent||"CLONE_EXIT"===n.directionEvent)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","ENTRY"===n.directionEvent||"CLONE_EXIT"===n.directionEvent),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.useOwnLocator&&n.useLocatorPreAuthorized&&("ENTRY"===n.directionEvent||"CLONE_EXIT"===n.directionEvent)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","ENTRY"===n.directionEvent||"CLONE_EXIT"===n.directionEvent),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(15,15,"PG_CREATE_OPTIONS_LG_STEP_TEXT_NOTES")),e.\u0275\u0275advance(2),e.\u0275\u0275property("placeholder",e.\u0275\u0275pipeBind1(17,17,"PG_CREATE_OPTIONS_LG_STEP_INPUT_NOTES"))("ngModel",n.notes),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(22,19,"BTN_BACK")),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(26,21,"BTN_NEXT"),""))},dependencies:[u.NgClass,u.NgForOf,u.NgIf,g.IonCol,g.IonContent,g.IonRow,p.DefaultValueAccessor,p.NgControlStatus,p.MaxLengthValidator,p.NgModel,d.G,P.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%]{height:calc(100vh - 56px);display:flex;justify-content:flex-start;flex-direction:column}.centralized-content[_ngcontent-%COMP%] .errors[_ngcontent-%COMP%]{width:80%;margin:12px 10% 0;color:#f0181b;text-align:center}.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%] .page-title[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{text-align:center;color:#656768;font-size:.9em;margin-top:4px}.centralized-content[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}.centralized-content[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%]:first-of-type{margin-top:0}.centralized-content[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{display:block}.centralized-content[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .input[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}.centralized-content[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .input[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{margin-top:8px}.centralized-content[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .input[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]::-webkit-input-placeholder{opacity:.4}.centralized-content[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .options[_ngcontent-%COMP%]{margin-top:10px;display:flex;justify-content:flex-start;align-items:center}.centralized-content[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .options[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{padding:6px 12px;border-radius:50px;border:1px solid #eee;background-color:#fff;transition:background-color .35s ease,border-color .35s ease}.centralized-content[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .options[_ngcontent-%COMP%] .option.yes[_ngcontent-%COMP%]{margin-right:8px}.centralized-content[_ngcontent-%COMP%] .input-holder[_ngcontent-%COMP%] .options[_ngcontent-%COMP%] .option.active[_ngcontent-%COMP%]{color:#fff;background-color:#0ec254;border-color:#0ec254;transition:background-color .35s ease,border-color .35s ease}.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)}}"]}),i})();var w=c(69270);const b=[{path:"",component:N}];let R=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.\u0275\u0275defineNgModule({type:i}),i.\u0275inj=e.\u0275\u0275defineInjector({imports:[w.I,h.RouterModule.forChild(b)]}),i})()},37763:(A,E,c)=>{c.d(E,{i:()=>u});var h=c(61380),e=c(92198),s=c(45449);let u=(()=>{class g{constructor(d){this.router=d}focusInRouterNavigate(){this.router.events.pipe((0,e.h)(d=>d instanceof h.NavigationEnd)).subscribe(()=>{const d=document.querySelector("#focusHeader");d&&d?.focus()})}applyFocusQuerySelector(d,P){setTimeout(()=>{document.querySelector(`#${d}`)?.focus()},P)}}return g.\u0275fac=function(d){return new(d||g)(s.\u0275\u0275inject(h.Router))},g.\u0275prov=s.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()}}]);