PageSourceSearch

https://vrr-db-ticketshop.de/static/js/AuthenticationPublicConfirm.zGPbPTg_.js

js vrr-db-ticketshop.de collected 2026-10-07 03:48:01 UTC 2,338 bytes, 1 lines download raw bytes

1import{t as B,v as D,r,g as H,f as g,x as M,ay as _,l as q,j as e,y as I,P as O,C as V,s as c,B as F}from"./index.CveLbn2O.js";import{C as G}from"./CommonPageHeader.C59Crp54.js";import{A as J}from"./AuthenticationPublicPaymentService.CNphh6Dt.js";import{C as K}from"./CommonLink.CNsgdR6A.js";import"./ArrowLeftOutlined.D8NNfzpf.js";import"./index.BhTWg5Dh.js";import"./index.BbxB6457.js";import"./CommonCopyOnHoverWrapper.1ms2lKv9.js";import"./LockOutlined.B6ZXyhFn.js";import"./login.kh4zg-Fe.js";import"./CloseOutlined.CL-5T5Zi.js";import"./Breadcrumb.C9LpMgJt.js";import"./dropdown.BCIwG2Wk.js";import"./Dropdown.n94qsRUb.js";import"./index.B-E20hpj.js";import"./request.B3y6vMwA.js";const t="Authentication.Public.Confirm.labels.",pe=Q=>{const x=B(),{t:i}=D("Authentication"),[o,n]=r.useState(!1),[d,a]=r.useState(!1),{getClientPaypalSource:h,getClientPaymentProviderSource:b,isClientLoginEnabled:j,isVrnClient:y,isRvvClient:P,isMaasClient:L,getClientRedirectionDelay:R}=r.useContext(H),m=r.useContext(g),{getClientName:$,getOrganizationName:S,getReturnUrl:U,getClientUsage:v}=r.useContext(g),s=$(),l=S(),A=v(),E=U(),N=R();let T=new J;return r.useEffect(()=>{const{search:k}=x,w=M.parse(k),{subjectId:u,paypalConfirm:z}=w,p=m.getReturnUrl();if(m.isMobile(),u&&s&&l){n(!0);let C=b();z==="true"&&(C=h()),T.confirmCustomer(u,s,l,C).then(f=>{f.Success?(n(!1),p&&_(p,N)):(n(!1),a(!0))}).catch(f=>{n(!1),a(!0)})}else n(!1),a(!0)},[]),q.info("RENDER : AuthenticationPublicConfirm"),e.jsx(I,{className:"authentication-public-confirm",children:e.jsxs(O,{span:24,children:[e.jsx(G,{title:e.jsxs("span",{children:[" ",i(t+"Label1")," ",o?e.jsx(V,{}):null]})}),(()=>{if(!o)return d?e.jsx(c,{message:"",description:e.jsx("p",{className:"alert-description",children:i([`${t}Label2_${s}`,`${t}Label2`])}),type:"error"}):y()||P()||L()?e.jsx(c,{message:"",description:e.jsx("p",{className:"alert-description",children:i([`${t}Label3_${s}`,`${t}Label3`])}),type:"success"}):e.jsx(c,{message:"",description:e.jsx("p",{className:"alert-description",children:i(t+"Label3")}),type:"success"})})(),(()=>{if(j())return e.jsx(K,{to:`/authentication/login?organization=${l}&client=${s}&returnUrl=${E}&clientUsage=${A}`,useRouterLink:!0,children:e.jsx(F,{type:"primary",loading:o,children:i(t+"Label4")})})})()]})})};export{pe as AuthenticationPublicConfirm};

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.