{"version":3,"file":"Garage61SSOButton.mRuBHkMB.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/c0KrkRcrPXRswuMqjVLJ/Lsjq3Mjm6Se8NBY99PYF/Garage61SSOButton.js"],"sourcesContent":["//@ts-ignore\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";//@ts-ignore\nimport{addPropertyControls,ControlType}from\"framer\";const LAST_USED_SSO_STORAGE_KEY=\"ara:lastUsedSsoProvider\";const LAST_USED_SSO_EVENT=\"ara:last-used-sso\";const LAST_USED_BADGE_STYLE={position:\"absolute\",top:-8,right:-12,padding:\"4px 10px\",borderRadius:\"8px 8px 8px 0\",background:\"rgba(255, 255, 255, 0.14)\",color:\"rgba(255, 255, 255, 0.9)\",fontFamily:\"Sentient\",fontSize:10,fontWeight:500,letterSpacing:\"0.08em\",textTransform:\"uppercase\",boxShadow:\"rgba(0, 0, 0, 0.25) 0px 2px 6px\",pointerEvents:\"none\",backdropFilter:\"blur(6px)\"};const readLastUsedProvider=()=>{if(typeof window===\"undefined\")return null;try{return localStorage.getItem(LAST_USED_SSO_STORAGE_KEY);}catch{return null;}};const markLastUsedSSO=provider=>{if(typeof window===\"undefined\")return;try{localStorage.setItem(LAST_USED_SSO_STORAGE_KEY,provider);window.dispatchEvent(new CustomEvent(LAST_USED_SSO_EVENT,{detail:provider}));}catch{// ignore\n}};const useIsLastUsedSSO=provider=>{const[isLastUsed,setIsLastUsed]=useState(()=>readLastUsedProvider()===provider);useEffect(()=>{if(typeof window===\"undefined\")return;const refresh=value=>{const nextValue=value??readLastUsedProvider();setIsLastUsed(nextValue===provider);};const handleCustom=event=>refresh(event.detail);const handleFocus=()=>refresh();const handleStorage=()=>refresh();refresh();window.addEventListener(LAST_USED_SSO_EVENT,handleCustom);window.addEventListener(\"focus\",handleFocus);window.addEventListener(\"storage\",handleStorage);return()=>{window.removeEventListener(LAST_USED_SSO_EVENT,handleCustom);window.removeEventListener(\"focus\",handleFocus);window.removeEventListener(\"storage\",handleStorage);};},[provider]);return isLastUsed;};function buildAbsoluteUrl(candidate,fallback){if(typeof window===\"undefined\"){return candidate||fallback||\"\";}const safeFallback=fallback||window.location.href;if(!candidate||candidate.trim().length===0){return safeFallback;}try{return new URL(candidate,window.location.origin).toString();}catch{return safeFallback;}}const DEFAULT_BUTTON_TEXT={login:\"Sign in with Garage 61\",link:\"Link Garage 61\",reauth:\"Reauthenticate with Garage 61\"};export default function Garage61SSOButton({buttonText,backendUrl=\"/api/auth/garage61\",emailPageUrl=\"/link-email\",checkApiBase=\"https://garage61endpoints.almeidaracingacademy.com/api/training-plan\",trainingPlanId,intent=\"login\",onSuccess,onError,style}){const resolvedButtonText=buttonText||DEFAULT_BUTTON_TEXT[intent]||DEFAULT_BUTTON_TEXT.login;const[error,setError]=useState(null);const[isLinked,setIsLinked]=useState(false);const[needsReauth,setNeedsReauth]=useState(false);const[currentUser,setCurrentUser]=useState(null);const providerSlug=\"garage61\";const isLastUsed=useIsLastUsedSSO(providerSlug);// Subscribe to Outseta user state instantly via shared module\nuseEffect(()=>{const outsetaModule=window.__outsetaFramerModule;if(outsetaModule){const user=outsetaModule.getUser();setCurrentUser(user);const unsubscribe=outsetaModule.subscribe(newUser=>{setCurrentUser(newUser);});return unsubscribe;}},[]);useEffect(()=>{if(intent===\"link\"&&currentUser){setIsLinked(!!(currentUser.Garage61Id||currentUser.Garage61Username));}},[intent,currentUser]);useEffect(()=>{if(intent!==\"reauth\"||!currentUser||!checkApiBase||!trainingPlanId)return;const outsetaModule=window.__outsetaFramerModule;const token=outsetaModule?.getAccessToken?.();if(typeof token!==\"string\"||token.length===0)return;let cancelled=false;const url=`${checkApiBase}?trainingPlanId=${encodeURIComponent(trainingPlanId)}&team=almeida-racing-academy`;fetch(url,{headers:{Authorization:`Bearer ${token}`}}).then(res=>{if(!cancelled)setNeedsReauth(res.status===403);}).catch(()=>{if(!cancelled)setNeedsReauth(false);});return()=>{cancelled=true;};},[intent,currentUser,checkApiBase,trainingPlanId]);useEffect(()=>{const hash=window.location.hash;if(!hash)return;const params=new URLSearchParams(hash.replace(/^#/,\"\"));if(params.has(\"error\")){const provider=params.get(\"provider\");if(provider&&provider!==providerSlug)return;const code=params.get(\"error\");const rawMessage=params.get(\"message\");const decodedMessage=rawMessage?decodeURIComponent(rawMessage):null;const message=decodedMessage||(code===\"account_exists\"?\"This email is already registered. Please sign in using a known method, then link this provider from your account settings.\":\"Authentication failed\");setError(message);onError?.(message);window.history.replaceState(null,\"\",window.location.pathname+window.location.search);return;}if(params.has(\"link\")){const provider=params.get(\"provider\");if(provider&&provider!==providerSlug)return;window.history.replaceState(null,\"\",window.location.pathname+window.location.search);}},[intent,onSuccess,onError]);const handleGarage61Login=async()=>{setError(null);try{const startUrl=new URL(backendUrl,window.location.origin);const targetReturnUrl=intent===\"login\"?new URL(\"/success\",window.location.origin).toString():buildAbsoluteUrl();const normalizedEmailPageUrl=buildAbsoluteUrl(emailPageUrl);startUrl.searchParams.set(\"return_url\",targetReturnUrl);startUrl.searchParams.set(\"email_page_url\",normalizedEmailPageUrl);startUrl.searchParams.set(\"intent\",intent===\"reauth\"?\"link\":intent);if(intent===\"link\"||intent===\"reauth\"){// Get token at click time from module\nconst outsetaModule=window.__outsetaFramerModule;let accessToken=outsetaModule?.getAccessToken?.();if(!accessToken&&outsetaModule?.getAccessTokenAsync){accessToken=await outsetaModule.getAccessTokenAsync(\"garage61-link-click\");}if(!currentUser||!currentUser?.Uid||!accessToken){const errorMsg=\"Please sign in before linking this provider.\";setError(errorMsg);onError?.(errorMsg);return;}startUrl.searchParams.set(\"link_person_uid\",currentUser.Uid);startUrl.searchParams.set(\"link_token\",accessToken);}window.location.href=startUrl.toString();}catch(err){const errorMsg=err instanceof Error?err.message:\"Authentication failed\";setError(errorMsg);onError?.(errorMsg);}};if(intent===\"link\"&&isLinked){return /*#__PURE__*/_jsx(\"div\",{style:{display:\"none\",visibility:\"hidden\",position:\"absolute\",width:0,height:0,overflow:\"hidden\",margin:0,padding:0,border:\"none\",clip:\"rect(0,0,0,0)\"}});}if(intent===\"reauth\"&&!needsReauth){return /*#__PURE__*/_jsx(\"div\",{style:{display:\"none\",visibility:\"hidden\",position:\"absolute\",width:0,height:0,overflow:\"hidden\",margin:0,padding:0,border:\"none\",clip:\"rect(0,0,0,0)\"}});}return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"inline-flex\",flexDirection:\"column\",alignItems:\"center\",gap:\"8px\",width:\"100%\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:handleGarage61Login,style:{fontFamily:\"Sentient\",padding:\"12px 24px\",background:\"linear-gradient(180deg, rgba(16, 24, 40, 0.4) 0%, rgba(16, 24, 40, 0.8) 100%)\",color:\"#ffffff\",border:\"none\",borderRadius:16,fontSize:16,fontWeight:400,cursor:\"pointer\",transition:\"all 0.2s\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:\"8px\",width:\"100%\",boxShadow:\"rgb(46, 62, 84) 0px -1px 2px 1px inset, rgba(61, 61, 61, 0.02) 0px 0.602187px 2.047437px 0px inset, rgba(61, 61, 61, 0.06) 0px 2.288533px 7.781013px 0px inset, rgba(61, 61, 61, 0.25) 0px 10px 34px 0px inset\",...style},onMouseEnter:e=>{e.currentTarget.style.boxShadow=\"rgb(89, 116, 153) 2px 2px 10px 6px inset, rgba(255, 255, 255, 0.02) 0px 0.602187px 1.565687px 0px inset, rgba(255, 255, 255, 0.06) 0px 2.288533px 5.950187px 0px inset, rgba(255, 255, 255, 0.25) 0px 10px 26px 0px inset\";},onMouseLeave:e=>{e.currentTarget.style.boxShadow=\"rgb(46, 62, 84) 0px -1px 2px 1px inset, rgba(61, 61, 61, 0.02) 0px 0.602187px 2.047437px 0px inset, rgba(61, 61, 61, 0.06) 0px 2.288533px 7.781013px 0px inset, rgba(61, 61, 61, 0.25) 0px 10px 34px 0px inset\";},children:[/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 33.867 33.867\",width:\"16\",height:\"16\",style:{flexShrink:0},children:[/*#__PURE__*/_jsx(\"rect\",{ry:\"2.214\",rx:\"2.214\",y:\"5.53\",x:\"2.688\",height:\"9.077\",width:\"28.337\",fill:\"#999\",fillRule:\"evenodd\"}),/*#__PURE__*/_jsx(\"rect\",{width:\"28.337\",height:\"9.077\",x:\"2.688\",y:\"15.16\",rx:\"2.214\",ry:\"2.214\",fill:\"#999\",fillRule:\"evenodd\"}),/*#__PURE__*/_jsx(\"rect\",{ry:\"2.214\",rx:\"2.214\",y:\"24.79\",x:\"2.688\",height:\"9.077\",width:\"28.337\",fill:\"#999\",fillRule:\"evenodd\"}),/*#__PURE__*/_jsx(\"g\",{\"aria-label\":\"61\",stroke:\"#fff\",strokeWidth:\".794\",style:{lineHeight:1.25},children:/*#__PURE__*/_jsx(\"path\",{d:\"M14.976 7.71q.509 0 1.152.053.67.054 1.34.188.696.107 1.34.321.67.188 1.178.51l-.857 3.75h-4.153q.026-.294.053-.562.027-.268.027-.563 0-.696-.16-1.259-.162-.59-.617-.59-.322 0-.75.349-.43.348-.885 1.098-.455.75-.857 1.93-.402 1.179-.67 2.813h.268q.777-.857 1.902-1.313 1.153-.455 2.358-.455 2.064 0 2.948 1.26.884 1.232.884 3.375 0 1.635-.509 2.84-.51 1.18-1.635 2.064-.964.75-2.438 1.232-1.447.456-3.43.456-1.42 0-2.626-.295-1.179-.321-2.063-1.072-.857-.777-1.34-2.063-.482-1.313-.482-3.296 0-2.117.59-4.073.616-1.956 1.849-3.43 1.232-1.5 3.108-2.384 1.902-.884 4.474-.884zM11.33 23.385q.643 0 1.126-.59.482-.59.777-1.447.295-.857.429-1.822.16-.991.16-1.768 0-.643-.16-.992-.134-.348-.67-.348-.724 0-1.233.616-.509.59-.857 1.447-.322.83-.483 1.742-.134.911-.134 1.527 0 .75.242 1.206.24.429.803.429zM22.29 10.738q1.662-.242 3.002-.992 1.366-.75 2.17-1.768h4.1l-3.645 17.014H22.13l2.652-12.46H21.89z\",transform:\"scale(.92505 1.08102)\"})}),/*#__PURE__*/_jsx(\"path\",{fill:\"#999\",d:\"M0 0h33.867v4.709H0z\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"#999\",d:\"M0 0h1.852v33.867H0zM32.015 0h1.852v33.867h-1.852z\"})]}),resolvedButtonText]}),intent===\"login\"&&isLastUsed&&/*#__PURE__*/_jsx(\"span\",{style:LAST_USED_BADGE_STYLE,children:\"Last used\"})]}),error&&/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:\"Sentient\",color:\"rgba(245, 88, 88, 0.75)\",fontSize:12,textAlign:\"center\"},children:error})]});}addPropertyControls(Garage61SSOButton,{buttonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Sign in with Garage 61\"},backendUrl:{type:ControlType.String,title:\"Backend URL\",defaultValue:\"/api/auth/garage61\",description:\"Your backend endpoint for Garage 61 SSO\"},checkApiBase:{type:ControlType.String,title:\"Check API Base\",defaultValue:\"https://garage61endpoints.almeidaracingacademy.com/api/training-plan\",description:\"Base URL for the training plan API\",hidden:props=>props.intent!==\"reauth\"},trainingPlanId:{type:ControlType.String,title:\"Training Plan ID\",description:\"Garage 61 training plan ID to check access\",hidden:props=>props.intent!==\"reauth\"},emailPageUrl:{type:ControlType.Link,title:\"Email Page URL\",defaultValue:\"/link-email\",description:\"Full URL to your Framer email collection page\"},intent:{type:ControlType.Enum,title:\"Intent\",defaultValue:\"login\",options:[\"login\",\"link\",\"reauth\"],optionTitles:[\"Login\",\"Link\",\"Reauthenticate\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Garage61SSOButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Garage61SSOButton.map"],"mappings":"kMAGwvB,SAAS,EAAiB,EAAU,E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