PageSourceSearch

https://lobby.mountgold.io/61HwbpZh.js

js mountgold.io collected 2026-10-10 00:19:12 UTC 3,675 bytes, 2 lines download raw bytes

1import{a4 as y,bc as P,r as u,af as T,ag as I,bG as L,aj as V,Q as U,ad as S,ak as h,X as g,Y as Q,al as R,W as D,am as F,an as A,bF as C}from"./BkB_yfp8.js";const w={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"FinishPaymentIQLogin"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"brand"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"BrandEnum"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sessionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"code"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"originalRedirectUri"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"redirectUri"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"utmParameters"}},type:{kind:"NamedType",name:{kind:"Name",value:"UtmParameters"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"finishPaymentIQLogin"},arguments:[{kind:"Argument",name:{kind:"Name",value:"brand"},value:{kind:"Variable",name:{kind:"Name",value:"brand"}}},{kind:"Argument",name:{kind:"Name",value:"sessionId"},value:{kind:"Variable",name:{kind:"Name",value:"sessionId"}}},{kind:"Argument",name:{kind:"Name",value:"code"},value:{kind:"Variable",name:{kind:"Name",value:"code"}}},{kind:"Argument",name:{kind:"Name",value:"originalRedirectUri"},value:{kind:"Variable",name:{kind:"Name",value:"originalRedirectUri"}}},{kind:"Argument",name:{kind:"Name",value:"redirectUri"},value:{kind:"Variable",name:{kind:"Name",value:"redirectUri"}}},{kind:"Argument",name:{kind:"Name",value:"utmParameters"},value:{kind:"Variable",name:{kind:"Name",value:"utmParameters"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accessToken"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"refreshToken"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"redirectUri"},arguments:[],directives:[]}]}}]}}].concat([]),loc:{start:0,end:356,source:{body:""}}};function E({successUrl:e,brand:n}){const[t,{loading:o}]=y(w,{onCompleted:({finishPaymentIQLogin:a})=>{window.top?.location.replace(a.redirectUri)}}),r=P();return{finishPIQLogin:u.useCallback((a,d)=>t({sessionId:a,code:d,originalRedirectUri:decodeURIComponent(e),redirectUri:decodeURIComponent(e),brand:n,utmParameters:r}),[t,e,n,r]),submitting:o}}const M=()=>{const{sessionId:e,code:n,error:t,currency:o,amount:r,paymentMethod:s,autoSubmit:a,redir:d,errMsg:m}=T(),N=I(),b=L(),{finishPIQLogin:k}=E({successUrl:b,brand:N.brand}),l=V(),i=U(),c=S(),{getLandingURL:v}=h();return u.useEffect(()=>{if(m&&l(g(Q.Login,{logoutReason:m}),{replace:!0}),t){window.top?.location.replace(v("/"));return}R(i),D(i);const p=F(i)?.token||"",f=A(i)||"";p&&f&&window.setTimeout(()=>{l(g(typeof d=="string"?d:c,{amount:r,currency:o,paymentMethod:s,autoSubmit:a,fromLoginHandler:"true"}),{replace:!0})},1)},[r,a,i,o,l,s,c,d,t,v,m]),u.useEffect(()=>{n&&e&&(C(i),k(e,n))},[n,i,k,e]),null};export{M as default};
2//# sourceMappingURL=61HwbpZh.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.