PageSourceSearch

https://demo.safsims.com/static/js/9987.665fb8a9.chunk.js

js safsims.com collected 2026-10-09 22:52:47 UTC 2,263 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunksafsims=self.webpackChunksafsims||[]).push([[9987],{9987(e,s,i){i.r(s),i.d(s,{GoogleAuth:()=>U,default:()=>y});var n=i(57528),t=i(73026),o=i(95069),a=i(32861),r=i(54737),c=i(34593),l=i(88094),d=i(22358),f=i(55742),p=i(63434),g=i(85970),u=i(59397);const h=i.p+"static/media/electric-appliance.878f86b30797ffbfc29e4c2db3398050.svg";var v,m=i(44950),w=i(57519),x=i(42558),b=i(12868),j=i(15678);const k=u.default.div(v||(v=(0,n.A)(["\n  width: 100vh;\n  margin: 0 auto;\n  display: flex;\n  justify-content: center;\n  margin-top: 250px;\n  & div {\n    width: 45%;\n    text-align: center;\n  }\n"]))),U=e=>{let{getUserDetails:s,confirmUserPrivileges:i,siteConfig:n,loginResponses:f}=e;const[g,u]=(0,l.useState)(!0),{checkOnboardingStatus:v}=(0,a.z)(),{handleLoginResponse:m}=(0,x.A)({checkOnboardingStatus:v}),w=e=>{e.map(e=>{e.role.privileges.map(e=>{const s=String(e.name).replace(/:/g,"_").replace(/-/g,"").concat("_TRUE").toUpperCase();i(s)})})},U=(0,d.useDispatch)(),A=e=>{const s=null===e||void 0===e?void 0:e.flatMap(e=>{var s;return(null===e||void 0===e||null===(s=e.role)||void 0===s?void 0:s.privileges)||[]}),i={};null===s||void 0===s||s.forEach(e=>{i[e.name]=e}),U((0,p.ay)(i))};return(0,l.useEffect)(()=>{f&&m(f)},[f]),(0,l.useEffect)(()=>{const{transfer_code:e,loginMode:i,isAdminApp:t}=c.parse(window.location.search);if("mobileapp"===i&&e){const s=t?"safsims":"safsimsparent";return void(window.location.href="".concat(s,"://open?value=").concat(e))}if(e){s({code:e,verifyUserPrivileges:w,handlePrivileges:A,callback:()=>u(!1),config:n})}else u(!1)},[]),(0,j.jsx)(t.Layout,{theme:r.S,children:(0,j.jsx)(k,{children:g?(0,j.jsx)(t.Loader,{}):(0,j.jsxs)("div",{children:[(0,j.jsx)("img",{src:h,alt:""}),(0,j.jsx)("h2",{children:"User Not Found"}),(0,j.jsx)("p",{children:"The user with that email address does not exist or is wrong."}),(0,j.jsx)(o.A,{spaceRight:!0,icon:(0,j.jsx)(b.A,{name:"saf-arrow-left-2",size:16}),onClick:()=>window.history.go(-2),children:"Back to login"})]})})})},A=(0,g.createStructuredSelector)({buttonLoading:w.VB,siteConfig:f.YD,loginResponses:w.E4}),y=(0,d.connect)(A,e=>({getUserDetails:s=>e((0,m.C7)(s)),confirmUserPrivileges:s=>e((0,p.WY)(s)),setActiveUserType:s=>e((0,m.Ob)(s))}))(U)}}]);

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.