1"use strict";(globalThis.webpackChunkmain_bt5||=[]).push([[2100],{92100(s,o,e){e.r(o);var i=e(65043),a=e(79456),k=e(73216),l=e(13966),d=e(12327),n=e(22345),t=e(26259),p=e(7493),c=e(70587),r=e(19886),y=e(21958),$=e(70579);const u=()=>{const{url:s,userId:o,roleCode:e}=(0,k.g)(),u=(0,a.wA)(),h=(0,k.Zp)(),[m,w]=(0,i.useState)(!1),[f,x]=(0,i.useState)(!1),[g,j]=(0,i.useState)([]),[T,A]=(0,i.useState)(null),[I,K]=(0,i.useState)("");(0,i.useEffect)(()=>{w(!0),u((0,c.fC)({url:{url:s}})).then(s=>{if(w(!1),j(s.payload),console.log(s.payload),console.log(s.payload.kiosk),"0"===s.payload.key)if("D"===s.payload.kiosk.kioskType)h(`/KioskDispatch/${s.payload.kiosk.code}/${s.payload.kiosk.companyId}/${o}/${e}`);else if("M"===s.payload.kiosk.kioskType){const i=`${y.E0}Kioskmaps/${s.payload.kiosk.code}/${s.payload.kiosk.companyId}/${s.payload.kiosk.createdBy}/${o}/${e}`;window.open(i,"_self")}else if("G"===s.payload.kiosk.kioskType){const i=`/KioskGuest/${s.payload.kiosk.code}/${s.payload.kiosk.companyId}/${s.payload.kiosk.isTransportation}/${s.payload.kiosk.isParking}/${o}/${e}`;window.open(i,"_self")}else h(`/KioskRes/${s.payload.kiosk.code}/${s.payload.kiosk.kioskType}/${s.payload.kiosk.companyId}/${o}/${e}`);else"2"===s.payload.key&&x(!0)}).catch(s=>console.log(s))},[]);return(0,$.jsxs)("div",{children:["1"===g.key&&g.value,(0,$.jsx)(l.zD,{id:"pwdRequiredPopUp",visible:f,onHiding:()=>x(!1),contentRender:()=>(0,$.jsx)("div",{children:(0,$.jsxs)(d.A,{children:[(0,$.jsxs)(p.A,{children:["Password: ",(0,$.jsx)("span",{className:"text-danger",children:"*"})]}),(0,$.jsxs)(n.A,{lg:"12",children:[(0,$.jsx)(l.fI,{mode:"password",value:T,onValueChanged:s=>{A(s.value),K("")}}),(0,$.jsx)("span",{className:"text-danger",children:I}),(0,$.jsx)(t.A,{className:"btn w-100 mt-3",color:"primary",onClick:()=>(()=>{if(null===T||""===T)K("Password is Required");else if(g.kiosk.passwordValue===T)if("D"===g.kiosk.kioskType)h(`/KioskDispatch/${g.kiosk.code}/${g.kiosk.companyId}/${o}/${e}`);else if("M"===g.kiosk.kioskType){const s=`${y.E0}Kioskmaps/${g.kiosk.code}/${g.kiosk.companyId}/${g.kiosk.createdBy}/${o}/${e}`;window.open(s,"_self")}else if("G"===g.kiosk.kioskType){const s=`/KioskGuest/${g.kiosk.code}/${g.kiosk.companyId}/${g.kiosk.isTransportation}/${g.kiosk.isParking}/${o}/${e}`;window.open(s,"_self")}else h(`/KioskRes/${g.kiosk.code}/${g.kiosk.kioskType}/${g.kiosk.companyId}/${o}/${e}`);else K("Invalid Password")})(),children:"Login"}),(0,$.jsx)(p.A,{className:"text-center mt-3 text-success",children:"This Authentication is Required Please Contact Application Administrator"})]})]})}),resizeEnabled:!1,dragEnabled:!1,position:"center",title:"Kiosk Authentication",className:"test",width:"30%",height:270,showCloseButton:!0}),(0,$.jsx)(r.A,{isVisible:m})]})};e.d(o,["default",0,u])}}]); 2//# sourceMappingURL=2100.aeb4b260.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.