1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="06088eeb-b1f3-4ef4-a9c0-c13017a40012",e._sentryDebugIdIdentifier="sentry-dbid-06088eeb-b1f3-4ef4-a9c0-c13017a40012")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7229],{7148:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/oauth/salesforce/callback",function(){return t(45338)}])},45338:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>c});var n=t(37876),o=t(14232),r=t(89099);function c(){let e=(0,r.useRouter)();return(0,o.useEffect)(()=>{try{window.opener&&!window.opener.closed&&window.opener.postMessage({type:"salesforce_connected"},"*"),localStorage.setItem("salesforce_connected","1"),window.parent&&window.parent!==window&&window.parent.postMessage({type:"salesforce_connected"},"*")}catch(e){console.error("[OAuth Callback] Error signaling success:",e)}setTimeout(()=>{try{window.close()}catch(s){console.error("[OAuth Callback] Error closing window:",s),e.push("/")}},1e3)},[e]),(0,n.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-gray-50",children:(0,n.jsxs)("div",{className:"max-w-md w-full bg-white rounded-lg shadow-md p-6 text-center",children:[(0,n.jsx)("div",{className:"mb-4",children:(0,n.jsx)("div",{className:"w-12 h-12 mx-auto bg-green-100 rounded-full flex items-center justify-center",children:(0,n.jsx)("svg",{className:"w-6 h-6 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})}),(0,n.jsx)("h1",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Salesforce Connected Successfully!"}),(0,n.jsx)("p",{className:"text-gray-600 mb-4",children:"Your Salesforce account has been connected. This window will close automatically."}),(0,n.jsx)("div",{className:"text-sm text-gray-500",children:"If this window doesn't close, you can safely close it manually."})]})})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=7148)),_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.