PageSourceSearch

https://www.caringbridge.org/_next/static/chunks/pages/oauth/gofundme-callback-d5a6d052908bf494.js

js caringbridge.org collected 2026-10-01 09:13:35 UTC 2,059 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5386],{15469:function(e,r,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/oauth/gofundme-callback",function(){return i(99032)}])},99032:function(e,r,i){"use strict";i.r(r),i.d(r,{default:function(){return d}});var o=i(85893),n=i(67294),t=i(11163),s=i(4162);function d(){let e=(0,t.useRouter)();return(0,n.useEffect)(()=>{let r=async()=>{var r,i,o,n,t;try{let t=e.query.code,d=e.query.state,l=e.query.error,u=(0,s.Ph)("siteId")||e.query.siteId;if(l){let r={type:"GFM_AUTH_ERROR",error:Array.isArray(l)?l[0]:l,error_description:Array.isArray(e.query.error_description)?e.query.error_description[0]:e.query.error_description};null===(i=window.opener)||void 0===i||i.postMessage(r,window.location.origin),setTimeout(()=>window.close(),100);return}if(!t){null===(o=window.opener)||void 0===o||o.postMessage({type:"GFM_AUTH_ERROR",error:"No authorization code received"},window.location.origin),setTimeout(()=>window.close(),100);return}if(!u){null===(n=window.opener)||void 0===n||n.postMessage({type:"GFM_AUTH_ERROR",error:"No siteId provided"},window.location.origin),setTimeout(()=>window.close(),100);return}let a={type:"GFM_AUTH_CODE_RECEIVED",code:Array.isArray(t)?t[0]:t,state:Array.isArray(d)?d[0]:d,siteId:Array.isArray(u)?u[0]:u};null===(r=window.opener)||void 0===r||r.postMessage(a,window.location.origin),setTimeout(()=>{window.close()},100)}catch(r){let e={type:"GFM_AUTH_ERROR",error:r instanceof Error?r.message:String(r)};null===(t=window.opener)||void 0===t||t.postMessage(e,window.location.origin),setTimeout(()=>window.close(),100)}};e.isReady&&r()},[e.isReady,e.query]),(0,o.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh",fontFamily:"Arial, sans-serif"},children:(0,o.jsxs)("div",{style:{textAlign:"center"},children:[(0,o.jsx)("h2",{children:"Processing GoFundMe Authorization..."}),(0,o.jsx)("p",{children:"This window will close automatically."})]})})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=15469)}),_N_E=e.O()}]);

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.