{"version":3,"file":"SupaGateway.THHmb9bO.mjs","names":["useSyncExternalStore"],"sources":["https:/framerusercontent.com/modules/P5B0eRS9DhgXufBIWyUV/Oe0SBU7GfVonM3IYSHAj/SupaGatewayConfig.js","https:/framerusercontent.com/modules/sjCPM8O6ejTW2FtotAQM/MHQoGbwL5iKA68BeKog3/SupaGateway.js"],"sourcesContent":["// supagateway-runtime v1 — generated by the SupaGateway plugin. Do not edit manually.\nexport const SUPAGATEWAY_CONFIG={\"supabaseUrl\":\"https://fhqfvbddrppfzgoxgqon.supabase.co\",\"publishableKey\":\"sb_publishable_BYVO-ovRwE7B3s5FBPxmew_400S-aWK\",\"apiBaseUrl\":\"https://fhqfvbddrppfzgoxgqon.supabase.co/functions/v1/api\",\"gatePaused\":false,\"sessionOnlyPaths\":[\"/aprende\"],\"routes\":{\"login\":\"/login\",\"register\":\"/registro\",\"account\":\"/cuenta\",\"renewal\":\"/renueva\",\"unauthorized\":\"/no-autorizado\",\"anonymousRedirect\":\"/unete\"}};\nexport const __FramerMetadata__ = {\"exports\":{\"SUPAGATEWAY_CONFIG\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SupaGatewayConfig.map","// supagateway-runtime v1 — installed by the SupaGateway plugin. Updates overwrite this file.\n//\n// Session core for the SupaGateway Framer components. Talks to Supabase Auth (GoTrue)\n// and PostgREST over plain fetch with ONLY the public URL + publishable/anon key, so it\n// is safe in the published Framer site. The JWT `member_status` claim is the fast UX\n// signal; the live `member_profiles` self-row (RLS-protected) is the authoritative read.\n// Anything privileged stays in the server-owned Edge Functions.\nfunction _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{useEffect,useSyncExternalStore}from\"react\";// Framer code files resolve relative imports ONLY with an explicit extension.\nimport{SUPAGATEWAY_CONFIG}from\"https://framerusercontent.com/modules/P5B0eRS9DhgXufBIWyUV/Oe0SBU7GfVonM3IYSHAj/SupaGatewayConfig.js\";export function borderToCss(border){if(!border||!border.borderColor)return undefined;const width=border.borderWidth??1;return`${width}px ${border.borderStyle??\"solid\"} ${border.borderColor}`;}/** Corner smoothing for the outer card, exposed to the designer as a 0–100 slider — the same\n * control Figma calls corner smoothing — and expressed in CSS as the exponent of a superellipse.\n * The slider spans 2 to 5: 2 is the circular corner every browser draws by default, 4 is the\n * `squircle` keyword, and 5 is roughly the iOS squircle. The range stops at 5 because past it the\n * steps stop being distinguishable — measured on Chromium 151, where 6.5 and 8 render the same\n * corner. 0 emits nothing at all, so an untouched component keeps exactly the plain border-radius\n * it always had. `corner-shape` is missing from React's CSSProperties (hence the local cast) and\n * from engines older than Chrome 139 / Safari 26, which drop the declaration and stay circular. */export function cornerShapeToCss(smoothing){if(!smoothing||smoothing<=0)return undefined;const exponent=2+Math.min(smoothing,100)/100*3;return{cornerShape:`superellipse(${exponent.toFixed(2)})`};}export class SupaAuthError extends Error{constructor(message,status){super(message);_define_property(this,\"status\",void 0);this.name=\"SupaAuthError\";this.status=status;}}export const CONFIG=SUPAGATEWAY_CONFIG;// Hosts where a gate has nothing to protect: the private Framer editor canvas and local\n// development. The editor runs on its own origin, so it can never share the\n// site's localStorage and therefore can never hold a session — a gate there is guaranteed to\n// deny. Shareable Framer staging domains are intentionally excluded and remain protected.\nconst DEV_HOST_RE=/(^|\\.)framercanvas\\.com$|^localhost$|^127\\.0\\.0\\.1$/;/**\n * True only when the plugin's pause switch is on AND the page is being served from a Framer\n * or local host. Both halves are required on purpose: the flag alone must never be able to\n * open the published site, so forgetting to switch it off before publishing is harmless.\n * Reads `location` defensively for SSR and export renders.\n */export function isGatePaused(){if(!CONFIG.gatePaused)return false;if(typeof window===\"undefined\"||!window.location)return false;return DEV_HOST_RE.test(window.location.hostname);}export function isConfigured(){return Boolean(CONFIG.supabaseUrl&&CONFIG.publishableKey);}/** Grants commerce/content access. Every other status — and any unknown — fails closed. */export const ACCESS_GRANTING_STATUS=\"active\";export function matchesPathPrefix(prefix,path){return prefix===\"/\"?path===\"/\":path===prefix||path.startsWith(`${prefix}/`);}/** True for routes configured as any-session prefixes. `/aprende` therefore matches both the\n * collection page and every dynamic `/aprende/<slug>` item. Query strings and fragments do not\n * participate in the route decision. */export function isSessionOnlyPath(target){const value=target??(typeof window!==\"undefined\"&&window.location?window.location.pathname:\"/\");const path=value.split(/[?#]/,1)[0]||\"/\";return(CONFIG.sessionOnlyPaths??[]).some(prefix=>matchesPathPrefix(prefix,path));}/** Shared route-aware policy used by both the drop-in gate and code overrides. Configured CMS\n * prefixes downgrade the requirement from active membership to any valid session without opening\n * the same content to anonymous visitors. */export function hasMemberRouteAccess(phase,memberStatus,target){return phase===\"authenticated\"&&(isSessionOnlyPath(target)||memberStatus===ACCESS_GRANTING_STATUS);}function storageKey(){try{const ref=new URL(CONFIG.supabaseUrl).hostname.split(\".\")[0];// The `sb-<ref>-auth-token` shape keeps the head-lock presence scan working.\nreturn ref?`sb-${ref}-auth-token`:null;}catch{return null;}}function decodeJwtPayload(token){const[,payload]=token.split(\".\");if(!payload)return null;try{const base64=payload.replace(/-/g,\"+\").replace(/_/g,\"/\");const padded=base64.padEnd(Math.ceil(base64.length/4)*4,\"=\");const decoded=JSON.parse(atob(padded));if(typeof decoded!==\"object\"||decoded===null||Array.isArray(decoded)){return null;}return decoded;}catch{return null;}}function claimString(session,claim){if(!session)return null;const payload=decodeJwtPayload(session.access_token);const value=payload?.[claim];return typeof value===\"string\"?value:null;}// ---------------------------------------------------------------------------\n// Store (module singleton — the brief's \"AuthGate singleton provider\")\n// ---------------------------------------------------------------------------\nlet state={phase:\"loading\",session:null,memberStatus:null,statusSource:\"none\",configured:false,fromAuthRedirect:false,authError:null};const SERVER_STATE=state;const listeners=new Set;let started=false;let refreshTimer=null;function setState(patch){state={...state,...patch};for(const listener of listeners)listener();}export function getState(){return state;}/** Clears a consumed failure message (the visitor is retrying). */export function clearAuthError(){if(state.authError)setState({authError:null});}export function subscribe(listener){listeners.add(listener);return()=>{listeners.delete(listener);};}function readStoredSession(){const key=storageKey();if(!key)return null;try{const raw=localStorage.getItem(key);if(!raw)return null;const parsed=JSON.parse(raw);if(typeof parsed!==\"object\"||parsed===null)return null;const candidate=parsed;if(typeof candidate.access_token!==\"string\"||typeof candidate.refresh_token!==\"string\"||typeof candidate.expires_at!==\"number\"){return null;}return{access_token:candidate.access_token,refresh_token:candidate.refresh_token,expires_at:candidate.expires_at,token_type:typeof candidate.token_type===\"string\"?candidate.token_type:\"bearer\",user:typeof candidate.user===\"object\"&&candidate.user!==null?candidate.user:null};}catch{return null;}}function writeStoredSession(session){const key=storageKey();if(!key)return;try{if(session){localStorage.setItem(key,JSON.stringify(session));}else{localStorage.removeItem(key);}}catch{// Storage unavailable (private mode, quota) — the in-memory session still works.\n}}function applySession(session,persist){if(persist)writeStoredSession(session);if(!session){if(refreshTimer)clearTimeout(refreshTimer);refreshTimer=null;setState({phase:\"anonymous\",session:null,memberStatus:null,statusSource:\"none\"});return;}const claim=claimString(session,\"member_status\");setState({phase:\"authenticated\",session,memberStatus:claim,statusSource:claim?\"claim\":\"none\"});scheduleRefresh(session);void loadLiveStatus(session);}// ---------------------------------------------------------------------------\n// Supabase Auth (GoTrue) REST calls\n// ---------------------------------------------------------------------------\nasync function authRequest(path,body,accessToken){const headers={apikey:CONFIG.publishableKey,\"Content-Type\":\"application/json\"};if(accessToken)headers.Authorization=`Bearer ${accessToken}`;return fetch(`${CONFIG.supabaseUrl}/auth/v1/${path}`,{method:\"POST\",headers,body:body===undefined?undefined:JSON.stringify(body)});}async function readAuthError(res){let message=`Auth request failed (${res.status})`;try{const data=await res.json();if(typeof data===\"object\"&&data!==null){const record=data;const detail=record.error_description??record.msg??record.error;if(typeof detail===\"string\"&&detail)message=detail;}}catch{// Keep the generic message.\n}return new SupaAuthError(message,res.status);}function sessionFromAuthResponse(data){const accessToken=data.access_token;const refreshToken=data.refresh_token;if(typeof accessToken!==\"string\"||typeof refreshToken!==\"string\")return null;let expiresAt=typeof data.expires_at===\"number\"?data.expires_at:0;if(!expiresAt){const expiresIn=typeof data.expires_in===\"number\"?data.expires_in:3600;expiresAt=Math.floor(Date.now()/1e3)+expiresIn;}const rawUser=data.user;let user=null;if(typeof rawUser===\"object\"&&rawUser!==null){const record=rawUser;if(typeof record.id===\"string\"){user={id:record.id,email:typeof record.email===\"string\"?record.email:undefined};}}return{access_token:accessToken,refresh_token:refreshToken,expires_at:expiresAt,token_type:typeof data.token_type===\"string\"?data.token_type:\"bearer\",user};}/** Absolute URL of the auth-consumption route on this origin. The head lock also routes\n * stray auth payloads here, so the login route is the single landing surface. */function authRedirectUrl(){if(typeof window===\"undefined\")return null;try{return new URL(CONFIG.routes.login,window.location.origin).toString();}catch{return null;}}/** Sends the login email (magic link + OTP code). Invite-only: never creates users.\n * The Edge Function owns the send so an unconfirmed invite cannot block a later\n * request. Falls back to GoTrue OTP only when the API base URL is not installed\n * (Framer canvas / an old config). */export async function requestEmailOtp(email){if(CONFIG.apiBaseUrl){const res=await fetch(`${CONFIG.apiBaseUrl}/auth/request-access`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({email})});if(!res.ok)throw await readAuthError(res);return;}const redirectTo=authRedirectUrl();const path=redirectTo?`otp?redirect_to=${encodeURIComponent(redirectTo)}`:\"otp\";const res=await authRequest(path,{email,create_user:false});if(!res.ok)throw await readAuthError(res);}export async function verifyEmailOtp(email,token){const res=await authRequest(\"verify\",{type:\"email\",email,token});if(!res.ok)throw await readAuthError(res);const data=await res.json();const session=sessionFromAuthResponse(data);if(!session)throw new SupaAuthError(\"Malformed session response.\",res.status);applySession(session,true);}async function verifyTokenHash(type,tokenHash){const res=await authRequest(\"verify\",{type,token_hash:tokenHash});if(!res.ok)throw await readAuthError(res);const data=await res.json();const session=sessionFromAuthResponse(data);if(!session)throw new SupaAuthError(\"Malformed session response.\",res.status);applySession(session,true);}async function refreshSession(current){const res=await authRequest(\"token?grant_type=refresh_token\",{refresh_token:current.refresh_token});if(!res.ok){if(res.status===400||res.status===401||res.status===403||res.status===404){// The refresh token is gone (revoked/expired) — sign out locally.\napplySession(null,true);return;}// Transient failure: retry while the access token is still valid.\nscheduleRefresh(current,30);return;}const data=await res.json();const session=sessionFromAuthResponse(data);if(session)applySession(session,true);}function scheduleRefresh(session,minimumSeconds){if(refreshTimer)clearTimeout(refreshTimer);const secondsUntilRefresh=session.expires_at-Math.floor(Date.now()/1e3)-60;const delay=Math.max(minimumSeconds??5,secondsUntilRefresh)*1e3;refreshTimer=setTimeout(()=>{void refreshSession(session);},delay);}export async function signOut(){const session=state.session;applySession(null,true);if(session){try{await authRequest(\"logout\",undefined,session.access_token);}catch{// Local sign-out already happened; a failed revoke is acceptable.\n}}}// ---------------------------------------------------------------------------\n// Authoritative status (RLS-protected self-row in member_profiles)\n// ---------------------------------------------------------------------------\nasync function loadLiveStatus(session){const userId=session.user?.id??claimString(session,\"sub\");if(!userId||!/^[0-9a-f-]{36}$/i.test(userId))return;try{const res=await fetch(`${CONFIG.supabaseUrl}/rest/v1/member_profiles?select=status&id=eq.${userId}`,{headers:{apikey:CONFIG.publishableKey,Authorization:`Bearer ${session.access_token}`}});if(!res.ok)return;const rows=await res.json();if(!Array.isArray(rows))return;if(state.session?.access_token!==session.access_token)return;const first=rows[0];const status=typeof first?.status===\"string\"?first.status:null;// An authenticated user with no profile row has no membership — fail closed.\nsetState({memberStatus:status,statusSource:\"live\"});}catch{// Network failure: keep the signed JWT claim (accepted ~1h staleness).\n}}// ---------------------------------------------------------------------------\n// Bootstrap: consume auth redirects, restore the stored session, watch tabs\n// ---------------------------------------------------------------------------\n/** Query parameters that belong to the auth exchange and must be scrubbed from the URL\n * once consumed. Kept in sync with AUTH_QUERY_KEYS in the plugin's head lock. */const AUTH_QUERY_KEYS=[\"token_hash\",\"type\",\"error\",\"error_code\",\"error_description\"];/** Rewrites the address bar without the auth payload, preserving everything else (notably\n * `next`). `dropHash` is true only when the payload arrived in the fragment, so ordinary\n * anchors survive. */function clearAuthParamsFromUrl(query,dropHash){for(const key of AUTH_QUERY_KEYS)query.delete(key);const search=query.toString();const hash=dropHash?\"\":window.location.hash;history.replaceState(null,\"\",window.location.pathname+(search?`?${search}`:\"\")+hash);}function readAuthRedirectError(params){const code=params.get(\"error_code\");const description=params.get(\"error_description\");const error=params.get(\"error\");if(!code&&!description)return null;return{code:code??error??\"auth_redirect_failed\",description};}function consumeAuthRedirect(){const hash=window.location.hash;const hashParams=new URLSearchParams(hash.replace(/^#/,\"\"));const query=new URLSearchParams(window.location.search);// GoTrue failure redirect (expired or already-used link): no session to apply. Report it\n// and fall through so an existing valid session is still restored.\nconst redirectError=readAuthRedirectError(hashParams)??readAuthRedirectError(query);if(redirectError){clearAuthParamsFromUrl(query,hashParams.has(\"error\")||hashParams.has(\"error_code\"));setState({authError:redirectError});return false;}// Implicit-flow magic link: #access_token=...&refresh_token=...\nif(hash.includes(\"access_token=\")){const accessToken=hashParams.get(\"access_token\");const refreshToken=hashParams.get(\"refresh_token\");if(accessToken&&refreshToken){const payload=decodeJwtPayload(accessToken);const exp=typeof payload?.exp===\"number\"?payload.exp:0;const session={access_token:accessToken,refresh_token:refreshToken,expires_at:exp||Math.floor(Date.now()/1e3)+3600,token_type:hashParams.get(\"token_type\")??\"bearer\",user:typeof payload?.sub===\"string\"?{id:payload.sub}:null};clearAuthParamsFromUrl(query,true);// Set before applySession so the first authenticated render already knows the\n// session came from an email link and forwards instead of showing the panel.\nsetState({fromAuthRedirect:true,authError:null});applySession(session,true);return true;}}// PKCE-style template link: ?token_hash=...&type=magiclink|email|invite\nconst tokenHash=query.get(\"token_hash\");const type=query.get(\"type\");if(tokenHash&&type){clearAuthParamsFromUrl(query,false);setState({fromAuthRedirect:true,authError:null});void verifyTokenHash(type,tokenHash).catch(error=>{setState({phase:\"anonymous\",session:null,memberStatus:null,statusSource:\"none\",authError:{code:\"verification_failed\",description:error instanceof Error?error.message:null}});});return true;}return false;}export function ensureStarted(){if(started||typeof window===\"undefined\")return;started=true;const configured=isConfigured();setState({configured});if(!configured){setState({phase:\"anonymous\"});return;}window.addEventListener(\"storage\",event=>{if(event.key!==storageKey())return;applySession(readStoredSession(),false);});if(consumeAuthRedirect())return;const stored=readStoredSession();if(!stored){setState({phase:\"anonymous\"});return;}if(stored.expires_at<=Math.floor(Date.now()/1e3)){// Expired access token: keep \"loading\" until the refresh resolves so gates\n// never flash denied/granted states with stale information.\nvoid refreshSession(stored);return;}applySession(stored,false);}// ---------------------------------------------------------------------------\n// React bindings + navigation helpers\n// ---------------------------------------------------------------------------\nexport function useSupaGateway(){const snapshot=useSyncExternalStore(subscribe,getState,()=>SERVER_STATE);useEffect(()=>{ensureStarted();},[]);return snapshot;}/** Access token of the current session, for calls to the project API. */export function currentAccessToken(){return state.session?.access_token??null;}/** RLS-protected self-row read: the member's own profile basics for personalization. */export async function fetchSelfProfile(){const session=state.session;const userId=session?.user?.id;if(!session||!userId)return null;try{const res=await fetch(`${CONFIG.supabaseUrl}/rest/v1/member_profiles?select=first_name,last_name,status&id=eq.${userId}`,{headers:{apikey:CONFIG.publishableKey,Authorization:`Bearer ${session.access_token}`}});if(!res.ok)return null;const rows=await res.json();if(!Array.isArray(rows)||rows.length===0)return null;const row=rows[0];return{first_name:typeof row.first_name===\"string\"?row.first_name:null,last_name:typeof row.last_name===\"string\"?row.last_name:null,status:typeof row.status===\"string\"?row.status:null};}catch{return null;}}/** The signed-in member's user id (the JWT `sub`), for RLS self-row queries. */export function currentUserId(){return state.session?.user?.id??claimString(state.session,\"sub\");}/** Member-authenticated POST against the project's public API base URL. */export async function apiPost(path,body){const token=currentAccessToken();return fetch(`${CONFIG.apiBaseUrl}${path}`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",...token?{Authorization:`Bearer ${token}`}:{}},body:JSON.stringify(body)});}/** PostgREST request against the member's own rows. BOTH headers are required: `apikey`\n * identifies the project, the bearer token is what RLS reads. Callers pass their own\n * `Prefer` header when they need the written row back. */export async function restRequest(path,init){const token=currentAccessToken();const headers={apikey:CONFIG.publishableKey,...token?{Authorization:`Bearer ${token}`}:{},...init?.body===undefined?{}:{\"Content-Type\":\"application/json\"},...(init?.headers)??{}};return fetch(`${CONFIG.supabaseUrl}/rest/v1${path}`,{...init,headers});}/** Machine-readable failure from the project API or a PostgREST write. The UI owns the\n * wording; this carries only the code so every surface can map it consistently. */export class SupaApiError extends Error{constructor(code,status){super(code);_define_property(this,\"code\",void 0);_define_property(this,\"status\",void 0);this.name=\"SupaApiError\";this.code=code;this.status=status;}}async function readApiError(res,fallback){try{const data=await res.json();if(typeof data===\"object\"&&data!==null){const code=data.error;if(typeof code===\"string\"&&code)return new SupaApiError(code,res.status);}}catch{// No JSON body: the caller's fallback code stands.\n}return new SupaApiError(fallback,res.status);}// Server-enforced upload limits, mirrored here so the UI can reject a file before spending\n// a round trip. The server re-validates from the stored object either way.\nexport const PRESCRIPTION_ALLOWED_MIME=new Set([\"application/pdf\",\"image/jpeg\",\"image/png\",\"image/gif\"]);export const PRESCRIPTION_ACCEPT_ATTR=\"application/pdf,image/jpeg,image/png,image/gif\";export const PRESCRIPTION_MAX_SIZE_BYTES=20*1024*1024;const PRESIGN_TTL_MS=300*1e3;/** Uploads a renewal prescription: presign -> R2 PUT -> submit. The row lands as\n * `pending_review` and NEVER reactivates the member — an admin records `valid_until` to\n * restore access. Throws SupaApiError so each surface maps codes to its own copy.\n *\n * This lives in the core because more than one component performs it; a second copy of an\n * R2 upload flow would drift. Bodies are snake_case in, camelCase out — that is GoTrue's\n * and the Edge Function's shape, not a choice made here. */export async function submitPrescription(file){const presignRes=await apiPost(\"/members/me/prescriptions/presign\",{content_type:file.type,size_bytes:file.size});if(!presignRes.ok)throw await readApiError(presignRes,\"presign_failed\");const presign=await presignRes.json();if(!presign.objectKey||!presign.url){throw new SupaApiError(\"presign_malformed\",presignRes.status);}const signedAt=Date.now();const putRes=await fetch(presign.url,{method:\"PUT\",headers:presign.headers,body:file});if(!putRes.ok){// A slow upload can outlive the 300s signature; that deserves its own message\n// because the fix is \"pick the file again\", not \"retry\".\nconst expired=Date.now()-signedAt>PRESIGN_TTL_MS;throw new SupaApiError(expired?\"upload_link_expired\":\"upload_failed\",putRes.status);}const submitRes=await apiPost(\"/members/me/prescriptions\",{object_key:presign.objectKey});if(!submitRes.ok)throw await readApiError(submitRes,\"submit_failed\");const data=await submitRes.json();return typeof data.prescriptionId===\"string\"?data.prescriptionId:null;}/** Unambiguous GoTrue parameters. Kept in sync with AUTH_PARAM_RE in the head lock; a bare\n * `code=` is deliberately excluded because ordinary campaign links use it. */const AUTH_PAYLOAD_RE=/(^|[#?&])(access_token|refresh_token|token_hash|error_code|error_description)=/;/** Only paths inside the site are legal redirect targets (open-redirect guard), and a path\n * carrying an auth payload is never one: forwarding to it would re-apply a stale token over\n * the fresh session, or replay an exchange that already failed. */export function safeInternalPath(value,fallback){if(!value||!value.startsWith(\"/\")||value.startsWith(\"//\"))return fallback;if(AUTH_PAYLOAD_RE.test(value))return fallback;return value;}/** Where a member goes once a session exists. Only `active` reaches the requested target;\n * everything else goes straight to the surface that explains why not, instead of bouncing\n * off a gate that would redirect again. Uses the resolved status (live row when already\n * loaded, freshly minted JWT claim otherwise). */export function postAuthTarget(requested){if(isSessionOnlyPath(requested))return requested;if(state.memberStatus===ACCESS_GRANTING_STATUS)return requested;if(state.memberStatus===\"disabled\")return CONFIG.routes.renewal;return CONFIG.routes.unauthorized;}/** Anonymous visitors go to the configured default redirect (the public landing);\n * falls back to the login route when the setting is absent. */export function anonymousRedirectTarget(){const target=CONFIG.routes.anonymousRedirect||CONFIG.routes.login;const current=window.location.pathname+window.location.search+window.location.hash;// Defence in depth: the head lock already keeps auth payloads out of `next`, but it can be\n// disabled from Framer's settings, and a payload must never survive a round trip.\nconst next=safeInternalPath(current,window.location.pathname);const separator=target.includes(\"?\")?\"&\":\"?\";return`${target}${separator}next=${encodeURIComponent(next)}`;}export function replaceLocation(path){window.location.replace(path);}\nexport const __FramerMetadata__ = {\"exports\":{\"restRequest\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ACCESS_GRANTING_STATUS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ensureStarted\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"submitPrescription\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AuthPhase\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"signOut\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FramerBorder\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"postAuthTarget\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"verifyEmailOtp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"currentUserId\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"borderToCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"currentAccessToken\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"matchesPathPrefix\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SupaGatewayState\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PRESCRIPTION_ACCEPT_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SupaApiError\":{\"type\":\"class\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PRESCRIPTION_MAX_SIZE_BYTES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSupaGateway\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasMemberRouteAccess\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"apiPost\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"clearAuthError\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"safeInternalPath\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getState\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AuthRedirectError\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SupaAuthError\":{\"type\":\"class\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isSessionOnlyPath\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"subscribe\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"requestEmailOtp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"cornerShapeToCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"StoredSession\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"replaceLocation\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"anonymousRedirectTarget\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fetchSelfProfile\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CONFIG\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isConfigured\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PRESCRIPTION_ALLOWED_MIME\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isGatePaused\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SupaGateway.map"],"mappings":"0IACa,EAAmB,CAAC,YAAc,2CAA2C,eAAiB,iDAAiD,WAAa,4DAA4D,WAAa,GAAM,iBAAmB,CAAC,UAAU,EAAE,OAAS,CAAC,MAAQ,SAAS,SAAW,YAAY,QAAU,UAAU,QAAU,WAAW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