{"version":3,"file":"SignInCode.B3cZwBu5.mjs","names":["useState","__esmMin","init_ssg_sandbox_shims","_e","p","c","init_jsx_runtime","init_npm_react_18_3_1","window","normalizeAbleLiveDoor","supabase","ROUTES","init_ROUTES","normalizeReturnTo","init_supabaseClient","init_config","normalizeStudySource","readCarry","top","search","nested","rt","q","pick","key","RETURN_PARAM","readLinkLanding","carry","tokenHash","TOKEN_HASH_SHAPE","LINK_TYPE","h","hash","onLoadAction","landing","pressVerifyArgs","normalizeCode","digits","raw","callbackAddress","params","qs","origin","path","rememberEmail","email","EMAIL_KEY","recallEmail","makeSendOnce","RESEND_WAIT_MS","lastSentAt","inFlight","waitLeft","waitMs","now","atMs","send","readSentMemory","rawSent","rawEmail","v","at","nowMs","store","rememberSent","SENT_KEY","recallSent","s","forgetSent","forgetSignIn","sendAndRemember","result","guard","sendFailureLine","msg","error","SIGNIN_COPY","addressPieces","a","address","addressRuns","pieces","init_signInLink","SignInCode","code","setCode","busy","setBusy","setError","submit","e","token","verifyError","data","err","styles","CODE_ERROR_ID","P_BODY","init_SignInCode"],"sources":["https:/framerusercontent.com/modules/YsJtajiju0eD6CdLTX92/xED7i5rdWgZ7HT5W49ub/signInLink.js","https:/framerusercontent.com/modules/NTN4jmFQkWIJxrKXualr/shZ9dyPNPEII4nDVq17z/SignInCode.js"],"sourcesContent":["// SIGN IN THAT SURVIVES A MAIL SCANNER (branch build, November 20 2026).\n// NOT LIVE. Nothing here is published, and the two Supabase email templates\n// that would point men at it are unchanged. Going live waits on Eric's word.\n//\n// Why it exists: a company mail scanner (Microsoft Safe Links, by every sign)\n// opened each of a man's sign in links within a minute of delivery. The links\n// pointed straight at Supabase's /auth/v1/verify, where a plain GET spends the\n// token, so every press of his own was refused.\n//\n// The fix has two halves, and either one gets a man in:\n//   1. The emailed link lands on OUR page carrying the token hash. Loading the\n//      page spends nothing. Only his press calls verifyOtp.\n//   2. The email also carries the code, which he can type on the sign in page.\n//      That works when he reads mail on one device and signs in on another.\n//\n// This file is pure (no React, no Supabase client) so the scanner test can run\n// it under tsx. LoginCallback and LoginMagic both route through it.\nimport{normalizeAbleLiveDoor,normalizeReturnTo,normalizeStudySource,RETURN_PARAM}from\"https://framerusercontent.com/modules/9KOsKMMSsSANpMN372pX/uBDswl0oGaJlqYrmDTRV/config.js\";/** The only verify type the new link may carry. \"email\" covers both the\n *  first email (signup confirmation) and the later one (magic link), per the\n *  Supabase passwordless and PKCE email guides read November 20 2026. */const LINK_TYPE=\"email\";// A token hash is lowercase hex (56 characters in every email read live).\n// Anything else is refused rather than sent to the server.\nconst TOKEN_HASH_SHAPE=/^[a-f0-9]{20,128}$/;/**\n * Read the carried values. The new email template places Supabase's own\n * RedirectTo at the END of the link, as `redirect_to=`. Whether Supabase\n * escapes it there is not verified, so both shapes are read:\n *   escaped: redirect_to holds the whole callback address, its query inside.\n *   raw:     redirect_to holds the address up to its first \"&\", and every\n *            later parameter (next) arrives at the top level.\n * A top level value wins; the nested one fills what is missing.\n */export function readCarry(search){const top=new URLSearchParams(search);let nested=new URLSearchParams;const rt=top.get(\"redirect_to\");if(rt){const q=rt.indexOf(\"?\");if(q>=0)nested=new URLSearchParams(rt.slice(q+1));}const pick=key=>top.get(key)??nested.get(key);return{source:normalizeStudySource(pick(\"source\")),next:normalizeReturnTo(pick(RETURN_PARAM)),door:normalizeAbleLiveDoor(pick(\"source\"))};}/** Decide what the callback page was handed. Pure: reads strings, calls\n *  nothing, spends nothing. */export function readLinkLanding(search,hash){const carry=readCarry(search);const top=new URLSearchParams(search);const tokenHash=(top.get(\"token_hash\")??\"\").trim().toLowerCase();if(tokenHash&&TOKEN_HASH_SHAPE.test(tokenHash)){return{kind:\"press\",tokenHash,type:LINK_TYPE,carry};}const h=new URLSearchParams((hash||\"\").replace(/^#/,\"\"));if(h.get(\"access_token\")&&h.get(\"refresh_token\")){return{kind:\"tokens\",carry};}if(h.get(\"error\")||h.get(\"error_code\")||h.get(\"error_description\")){return{kind:\"refused\",carry,errorCode:h.get(\"error_code\")};}// A token_hash that failed the shape check lands here: treated as a\n// spent link, never sent to the server.\nif(tokenHash)return{kind:\"refused\",carry,errorCode:\"bad_link\"};return{kind:\"none\",carry};}export function onLoadAction(landing){if(landing.kind===\"press\")return\"wait_for_press\";if(landing.kind===\"refused\")return\"show_fresh_link\";return\"restore_session\";}/** The verifyOtp arguments for his press. Built here so the test can see\n *  exactly what the page would send. */export function pressVerifyArgs(landing){if(landing.kind!==\"press\")return null;return{token_hash:landing.tokenHash,type:landing.type};}/** Codes are digits. The project's code length is a Supabase setting not\n *  readable from here (six by default), so six to ten digits are accepted. */export function normalizeCode(raw){const digits=(raw||\"\").replace(/\\s+/g,\"\");return/^[0-9]{6,10}$/.test(digits)?digits:null;}/** The callback address a fresh link (or a code sign in) returns to, with\n *  the carried values. Mirrors LoginMagic's getRedirectTo exactly. */export function callbackAddress(origin,path,carry){const params=new URLSearchParams;// One parameter, two whitelists. A Study source and the Live door can\n// never both be set: they are read from the same value.\nif(carry.source)params.set(\"source\",carry.source);else if(carry.door)params.set(\"source\",carry.door);if(carry.next)params.set(RETURN_PARAM,carry.next);const qs=params.toString();return qs?`${origin}${path}?${qs}`:`${origin}${path}`;}/* The address he typed, remembered on this device only, so a refused link\n   can offer a fresh one without asking again. Fail soft: a browser that\n   blocks storage simply shows an empty field. */const EMAIL_KEY=\"able.signin.email\";export function rememberEmail(email){try{if(typeof window!==\"undefined\"&&email)window.localStorage.setItem(EMAIL_KEY,email);}catch{/* storage blocked: the field starts empty */}}export function recallEmail(){try{if(typeof window===\"undefined\")return\"\";return window.localStorage.getItem(EMAIL_KEY)??\"\";}catch{return\"\";}}/* ------------------------------------------------------------------\n   ASKING ONCE (branch build, November 29 2026. NOT LIVE.)\n\n   Why it exists: after a man asked for his email, the name field, the email\n   field and the first button all stayed live under the \"Check your email\"\n   card. A second press sends a second email, and Supabase keeps ONE token\n   per man: the newer email replaces the older one's link and code (read live\n   November 29 2026: a man with two requests holds one token row, the newer).\n   So a man who pressed twice while waiting, then opened the FIRST email, was\n   refused. One invited man asked six times in one night and never got in.\n\n   The page now hides the fields once the email is sent and offers one quiet\n   control to send it again, which sleeps for RESEND_WAIT_MS. The rule lives\n   here, pure, so the test can hold it: a press inside the wait, or while a\n   send is in flight, sends NOTHING.\n   ------------------------------------------------------------------ *//** How long the \"send it again\" control sleeps after each send. */export const RESEND_WAIT_MS=6e4;/** How long this device remembers that an email was asked for, so a man who\n *  closes the tab and opens the way in link again meets the \"Check your\n *  email\" card and not a live form. Well inside any link life. */export const SENT_MEMORY_MS=15*6e4;/**\n * Wrap a send so it cannot fire twice by accident. `send` is the one call\n * that asks Supabase for an email; `now` is the clock (injected for the\n * test). Nothing here knows about React or Supabase.\n */export function makeSendOnce(send,now=()=>Date.now(),waitMs=RESEND_WAIT_MS){let lastSentAt=null;let inFlight=false;const waitLeft=()=>lastSentAt===null?0:Math.max(0,lastSentAt+waitMs-now());return{waitLeft,mark:atMs=>{lastSentAt=atMs??now();},reset:()=>{lastSentAt=null;},request:async()=>{if(inFlight||waitLeft()>0)return\"held\";inFlight=true;try{await send();lastSentAt=now();return\"sent\";}catch{return\"failed\";}finally{inFlight=false;}}};}/* When an email was last asked for on this device, and for which address.\n   Fail soft, like the email itself: a browser that blocks storage simply\n   shows the form. Nothing but his own typed address and a time is kept. */const SENT_KEY=\"able.signin.sent\";/**\n * Pure: is there a send still fresh at `nowMs`?\n *\n * THE LEAST THAT WORKS (QC read, November 29 2026). The send's own key holds\n * a TIME and nothing else. The address is read from the one key that has\n * held it since November 20 (EMAIL_KEY, the refused link panel's memory), so\n * this build adds no second copy of a man's address to the device. Both\n * keys are removed when he signs in and when he chooses a different email.\n *\n * An older value that still carries an address inside it (the first cut of\n * this build, never published) is read for its time only.\n */export function readSentMemory(rawSent,rawEmail,nowMs){if(!rawSent)return null;const email=typeof rawEmail===\"string\"?rawEmail.trim():\"\";if(!email)return null;try{const v=JSON.parse(rawSent);const at=v&&typeof v===\"object\"?v.at:null;if(typeof at!==\"number\"||!Number.isFinite(at))return null;// A time in the future is a broken clock or a stranger's value.\nif(at>nowMs||nowMs-at>=SENT_MEMORY_MS)return null;return{email,at};}catch{return null;}}/** The browser's store, or null when there is none or it may not be\n *  touched (a private window, storage switched off). Never throws. */function store(){try{if(typeof window===\"undefined\")return null;return window.localStorage??null;}catch{return null;}}/** Record that an email was asked for: the time only. */export function rememberSent(atMs=Date.now()){try{store()?.setItem(SENT_KEY,JSON.stringify({at:atMs}));}catch{/* storage blocked or full: the form shows next time */}}export function recallSent(nowMs=Date.now()){try{const s=store();if(!s)return null;return readSentMemory(s.getItem(SENT_KEY),s.getItem(EMAIL_KEY),nowMs);}catch{return null;}}export function forgetSent(){try{store()?.removeItem(SENT_KEY);}catch{/* nothing to forget */}}/** Remove every trace of a pending sign in from this device: the time of\n *  the send AND the address. Called when he signs in, by link or by code,\n *  and when he chooses a different email. Never throws. */export function forgetSignIn(){forgetSent();try{store()?.removeItem(EMAIL_KEY);}catch{/* nothing to forget */}}/**\n * Ask for the email through the guard and remember it ONLY if it was sent.\n * The one road both the first press and \"Send it again\" take, so neither\n * can leave the device believing in a send that failed.\n */export async function sendAndRemember(guard,email,now=()=>Date.now()){const result=await guard.request();if(result===\"sent\"){rememberEmail(email);rememberSent(now());}return result;}/**\n * What a man reads when the service refuses a send. The service's own\n * English NEVER reaches him (QC read, November 29 2026): its message is\n * read for one thing only, whether it is complaining about the address.\n */export function sendFailureLine(error){const msg=error&&typeof error===\"object\"?String(error.message??\"\"):\"\";if(/invalid|validate|not a valid|malformed/i.test(msg)&&/e-?mail|address/i.test(msg))return{line:SIGNIN_COPY.emailEmpty,field:\"email\"};return{line:SIGNIN_COPY.sendFailed,field:\"form\"};}/**\n * An email address cut into the pieces it may wrap between: before the \"@\"\n * and before each dot, and nowhere else. \"walker@example.org\" becomes\n * [\"walker\", \"@example\", \".org\"]. Joined, the pieces are the address exactly,\n * so what a man selects and copies is his address and nothing more.\n *\n * Why (Eric's phone, November 29 2026): the address was allowed to break\n * anywhere, and read \"gmail.c\" on one line and \"om\" on the next.\n */export function addressPieces(address){const a=(address??\"\").trim();if(!a)return[];return a.split(/(?=[@.])/).filter(p=>p.length>0);}/** The same address as two runs of pieces: the name before the \"@\", and the\n *  \"@\" with everything after it. The page keeps the second run whole on one\n *  line when it fits there, so an ordinary address wraps before the \"@\"\n *  first and before a dot only when it must. */export function addressRuns(address){const pieces=addressPieces(address);const at=pieces.findIndex(p=>p.startsWith(\"@\"));if(at<0)return{name:pieces,domain:[]};return{name:pieces.slice(0,at),domain:pieces.slice(at)};}/* Every word a man reads in this build. DRAFTS for Eric's ruling: none of\n   these lines is ratified. Kept as string literals so the language gate,\n   which reads quoted strings only, reads every one. */export const SIGNIN_COPY={pressStatus:\"Your secure link is ready.\",pressBody:\"Press continue to sign in on this device.\",pressButton:\"Continue →\",pressBusy:\"Signing you in…\",refusedStatus:\"This link has already been used or has run out.\",refusedBody:\"Some work email services open links before you do. Enter your email and we will send a fresh one. The email also carries a code you can enter here instead.\",emailLabel:\"Email address\",emailPlaceholder:\"you@example.com\",emailEmpty:\"Please enter a valid email.\",sendButton:\"Send a fresh link →\",sendBusy:\"Sending…\",sent:\"A fresh link is on the way. Open it on this device, or enter the code from the email below.\",notFound:\"We could not find that email. If you are new, start from the beginning.\",startOver:\"Start your Personal Study →\",sendFailed:\"That did not send. Try once more in a minute.\",codeHint:\"If the link does not open for you, enter the code from the same email here.\",codeLabel:\"Code from your email\",codePlaceholder:\"Code\",codeButton:\"Sign in with the code →\",codeBusy:\"Checking…\",codeShape:\"Enter the code exactly as it appears in the email.\",codeRefused:\"That code did not work. It may have been used or run out. Ask for a fresh link and use the new code.\",// ---- Asking once (November 29 2026). DRAFTS for Eric's ruling. ----\n// The card's first line once the email is sent, both tabs.\nsentNow:\"Sent. Go to your email now.\",// Under it. True as read live: one token per man, the newest.\nnewestOnly:\"Only the newest email works. If you ask again, the earlier link and code stop working.\",// DRAFT (November 29 2026). Was \"No password needed. The link expires\n// for security.\" Three screens later the community asks him for a\n// password, so this one says where none is needed. Eric may strike it.\nnoPassword:\"No password needed to sign in here. The link expires for security.\",// DRAFT (Eric, November 29 2026). Under the address. The sender name is\n// read from the mail log: both sign in emails send as \"Eric Harrison\".\nlookFor:\"Look for an email from Eric Harrison. If you do not see it, look in your junk folder.\",// DRAFTS (QC read, November 29 2026). The callback page, when sign in\n// cannot finish for a reason that is not a spent link. In place of the\n// service's own words.\n// ONE line (QC second read, November 29 2026). It promises nothing the\n// tests do not prove; the two buttons under it are the recovery.\ncallbackFailed:\"Sign in did not finish. Try again or ask for a fresh link.\",callbackRetry:\"Try again\",// The address it went to, so a mistyped one is caught here.\nsentTo:\"We sent it to\",// The one quiet control, asleep for a minute after each send.\nresendButton:\"Send it again\",resendWait:\"You can send it again in a minute.\",// The way back to the form when the address is wrong.\nchangeEmail:\"Use a different email\",// NOT SHOWN. The link's life is a Supabase Auth setting this build could\n// not read, so the line stays dark until the number is confirmed. To\n// show it, set SHOW_LINK_LIFE to true in LoginMagic.tsx.\nlinkLife:\"The link works for one hour.\"};\nexport const __FramerMetadata__ = {\"exports\":{\"addressPieces\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Carry\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RESEND_WAIT_MS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"recallEmail\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LinkLanding\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"makeSendOnce\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SendOnce\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SentMemory\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"readCarry\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"rememberSent\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"recallSent\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"readLinkLanding\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"sendAndRemember\":{\"type\":\"function\",\"isAsync\":true,\"annotations\":{\"framerContractVersion\":\"1\"}},\"OnLoad\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"sendFailureLine\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"callbackAddress\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"rememberEmail\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addressRuns\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"onLoadAction\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SENT_MEMORY_MS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"forgetSent\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"readSentMemory\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"normalizeCode\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"pressVerifyArgs\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"forgetSignIn\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SIGNIN_COPY\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","\"use client\";import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";// The code half of the scanner fix (branch build, November 20 2026, NOT LIVE).\n// He types the code from the email; verifyOtp checks it against the address he\n// gave; on success he is sent to the callback page, which restores the session\n// and routes him exactly as a link would. Shared by LoginMagic (after he asks\n// for a link) and LoginCallback (after a refused link). See signInLink.ts.\nimport{useState}from\"react\";import{supabase}from\"https://framerusercontent.com/modules/Tt0bQy8fCu2hKLpH1MyG/mAc7bzUUBHrpgGIpzDY6/supabaseClient.js\";import{ROUTES}from\"https://framerusercontent.com/modules/n1H0JpfNZVcIm3Nivtgu/DfzvtrCKnr6RJt4oGnbp/ROUTES.js\";import{callbackAddress,forgetSignIn,normalizeCode,SIGNIN_COPY}from\"https://framerusercontent.com/modules/YsJtajiju0eD6CdLTX92/xED7i5rdWgZ7HT5W49ub/signInLink.js\";const P_BODY=\"'Manrope', 'Segoe UI', Arial, sans-serif\";const CODE_ERROR_ID=\"able-signin-code-error\";export default function SignInCode({email,carry}){const[code,setCode]=useState(\"\");const[busy,setBusy]=useState(false);const[error,setError]=useState(null);async function submit(e){e.preventDefault();if(busy)return;const token=normalizeCode(code);if(!token){setError(SIGNIN_COPY.codeShape);return;}setBusy(true);setError(null);try{const{data,error:verifyError}=await supabase.auth.verifyOtp({email:email.trim(),token,type:\"email\"});if(verifyError||!data?.session){console.warn(\"verifyOtp (code) refused:\",verifyError);setError(SIGNIN_COPY.codeRefused);setBusy(false);return;}// He is in by the code. The device forgets the pending send\n// here too, not only on the callback page he is sent to next.\nforgetSignIn();window.location.replace(callbackAddress(window.location.origin,ROUTES.authCallback,carry));}catch(err){console.error(\"verifyOtp (code) failed:\",err);setError(SIGNIN_COPY.codeRefused);setBusy(false);}}return /*#__PURE__*/_jsxs(\"form\",{onSubmit:submit,style:styles.form,children:[/*#__PURE__*/_jsx(\"label\",{htmlFor:\"signin-code\",style:styles.label,children:SIGNIN_COPY.codeLabel}),/*#__PURE__*/_jsx(\"input\",{id:\"signin-code\",type:\"text\",inputMode:\"numeric\",autoComplete:\"one-time-code\",value:code,onChange:e=>setCode(e.target.value),placeholder:SIGNIN_COPY.codePlaceholder,style:styles.input,disabled:busy,\"aria-invalid\":Boolean(error)||undefined,\"aria-describedby\":error?CODE_ERROR_ID:undefined}),error&&/*#__PURE__*/_jsx(\"p\",{id:CODE_ERROR_ID,role:\"alert\",style:styles.error,children:error}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:busy,style:{...styles.button,opacity:busy?.7:1},children:busy?SIGNIN_COPY.codeBusy:SIGNIN_COPY.codeButton})]});}// Field and button mirror LoginMagic and the callback's name stop exactly.\nconst styles={form:{display:\"grid\",gap:12,marginTop:14,textAlign:\"left\"},label:{fontFamily:P_BODY,fontSize:14,fontWeight:500,lineHeight:1.5,color:\"var(--able-slate, #3C4A5E)\"},input:{minHeight:44,fontFamily:P_BODY,width:\"100%\",padding:\"12px 12px\",borderRadius:12,border:\"1px solid var(--able-border, #E7E2D6)\",background:\"var(--able-field, #FFFFFF)\",color:\"var(--able-ink, #15233B)\",fontSize:17,letterSpacing:\"0.12em\",boxSizing:\"border-box\"},error:{fontFamily:P_BODY,fontSize:17,lineHeight:1.5,fontWeight:500,margin:0,color:\"var(--able-warn, #B0533C)\"},button:{minHeight:48,fontFamily:P_BODY,width:\"100%\",padding:\"14px 0\",borderRadius:12,border:\"none\",fontWeight:600,fontSize:17,color:\"var(--able-on-strong, #FCFBF8)\",background:\"var(--able-strong, #15233B)\",transition:\"opacity .25s ease\",boxSizing:\"border-box\",cursor:\"pointer\"}};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SignInCode\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,oOA6BG,SAAgBiB,EAAU,EAAO,CAAC,IAAMC,EAAI,IAAI,gBAAgBC,CAAM,EAAMC,EAAO,IAAI,gBAAsBC,EAAGH,EAAI,IAAI,aAAa,EAAE,GAAGG,EAAG,CAAC,IAAMC,EAAED,EAAG,QAAQ,GAAG,EAAKC,GAAG,IAAE,EAAO,IAAI,gBAAgBD,EAAG,MAAMC,EAAE,CAAC,CAAC,EAAE,CAAC,IAAMC,EAAK,GAAKL,EAAI,IAAIM,CAAG,GAAGJ,EAAO,IAAII,CAAG,EAAE,MAAM,C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