{"version":3,"file":"OfferActionDialog.CSbPfgOa.mjs","names":["React.useState","React.useRef","React.useCallback","_Fragment","__esmMin","init_ssg_sandbox_shims","ne","_e","init_npm_react_dom_18_3_1","de","l","Ha","p","c","init_jsx_runtime","init_npm_react_18_3_1","ce","window","Button","init_Button","useCurrencyConversion","init_currencyConversion","PAGE_TEXT","PAGE_TEXT_WEAK","useLocalization","PAGE_BORDER","init_PageTheme","init_localization","formatUsdCents","PAGE_MODAL","HoldToConfirm","remaining","setRemaining","started","timer","completed","latestConfirm","onConfirm","stop","begin","disabled","elapsed","cancel","key","translated","t","instruction","style","event","children","OfferActionDialog","terms","setTerms","rawQuote","setQuote","quote","amount","error","setError","retry","setRetry","panel","active","controller","timeout","q","response","n","previous","row","label","value","busy","onClose","controls","first","last","seller","SELLER_FAILURE_DISCLOSURE","init_OfferActionDialog"],"sources":["https:/framerusercontent.com/modules/nbRNxuah6XkuOuvCFLsg/9W2IWFTXKzaP9Ob5p7ac/OfferActionDialog.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{createPortal}from\"react-dom\";import Button from\"https://framerusercontent.com/modules/Q7FJlyN80TSExfb1WH6E/dfzUs7sVJx8iPUdARhkb/Button.js\";import{useLocalization}from\"https://framerusercontent.com/modules/r8HB4gCf763CJn888NOl/eZpTE8FdPczmtEtuVyBg/localization.js\";import{PAGE_MODAL,PAGE_BORDER,PAGE_TEXT,PAGE_TEXT_WEAK}from\"https://framerusercontent.com/modules/EZnuCM4DnHpsxZvGcvI2/S01KQTzbxmGTdxGIW9wJ/PageTheme.js\";import{formatUsdCents,useCurrencyConversion}from\"https://framerusercontent.com/modules/loBkPNHYHxVQk7SMiMuR/T06bF6ylP4G4ISWQqUWk/currencyConversion.js\";export function HoldToConfirm({children,onConfirm,disabled=false,style}){const{t}=useLocalization();const[remaining,setRemaining]=React.useState(null);const started=React.useRef(null);const timer=React.useRef(null);const completed=React.useRef(false);const latestConfirm=React.useRef(onConfirm);latestConfirm.current=onConfirm;const stop=React.useCallback(()=>{if(timer.current!==null)clearInterval(timer.current);timer.current=null;started.current=null;setRemaining(null);},[]);const begin=()=>{if(disabled||completed.current||started.current!==null)return;started.current=performance.now();setRemaining(3);timer.current=setInterval(()=>{if(started.current===null||document.visibilityState===\"hidden\"){stop();return;}const elapsed=performance.now()-started.current;setRemaining(Math.max(1,Math.ceil((3e3-elapsed)/1e3)));if(elapsed>=3e3){completed.current=true;stop();latestConfirm.current();}},50);};React.useEffect(()=>{const cancel=()=>stop();window.addEventListener(\"blur\",cancel);document.addEventListener(\"visibilitychange\",cancel);return()=>{if(timer.current!==null)clearInterval(timer.current);window.removeEventListener(\"blur\",cancel);document.removeEventListener(\"visibilitychange\",cancel);};},[stop]);React.useEffect(()=>{if(disabled){stop();completed.current=false;}},[disabled,stop]);const key=remaining===null?\"market.confirm.holdThreeSeconds\":\"market.confirm.keepHolding\";const translated=t(key,{seconds:remaining??3});const instruction=translated===key?remaining===null?\"Hold for 3 seconds\":\"Keep holding: \"+remaining+\"s\":translated;return /*#__PURE__*/_jsx(\"div\",{style:{...style,display:\"flex\",minWidth:0},onPointerDown:event=>{if(event.button!==0||!event.isPrimary)return;event.preventDefault();event.stopPropagation();event.currentTarget.querySelector(\"button\")?.focus({preventScroll:true});begin();},onPointerUp:stop,onPointerLeave:stop,onPointerCancel:stop,onLostPointerCapture:stop,onBlur:stop,onKeyDown:event=>{if(event.key!==\" \"&&event.key!==\"Enter\")return;event.preventDefault();event.stopPropagation();if(!event.repeat)begin();},onKeyUp:event=>{if(event.key===\" \"||event.key===\"Enter\"){event.preventDefault();stop();}},onContextMenu:event=>{event.preventDefault();stop();},children:/*#__PURE__*/_jsx(Button,{actionOnly:true,type:\"button\",variant:\"primary\",disabled:disabled,onClick:event=>{event.preventDefault();event.stopPropagation();},style:{width:\"100%\",minHeight:48,whiteSpace:\"normal\",touchAction:\"none\",userSelect:\"none\"},\"aria-label\":String(children)+\". Hold mouse, touch, Space or Enter for 3 seconds to confirm.\",children:/*#__PURE__*/_jsxs(\"span\",{style:{display:\"flex\",flexDirection:\"column\",gap:3},children:[/*#__PURE__*/_jsx(\"span\",{children:children}),/*#__PURE__*/_jsx(\"span\",{\"aria-live\":\"polite\",style:{fontSize:11,fontWeight:500},children:instruction})]})})});}export const SELLER_FAILURE_DISCLOSURE=\"A failed accepted sale incurs a 10% fee on the sale price. The first failure suspends all selling for 30 days; the second permanently bans selling. A failed trade-held sale also permanently bans trade-held selling. Use Report an issue for mistakes or exceptional circumstances; opening a ticket does not automatically pause the deadline.\";export default function OfferActionDialog({amount,cancel=false,seller=false,busy=false,onClose,onConfirm}){useCurrencyConversion();const[terms,setTerms]=React.useState(false);const[rawQuote,setQuote]=React.useState(null);const quote=rawQuote?.funding_amount===amount?rawQuote:null;const[error,setError]=React.useState(\"\");const[retry,setRetry]=React.useState(0);const panel=React.useRef(null);React.useEffect(()=>{if(cancel||!Number.isSafeInteger(amount)||amount<=0)return;let active=true;const controller=new AbortController;const timeout=window.setTimeout(()=>controller.abort(),2e4);setQuote(null);setError(\"\");setTerms(false);void fetch(\"https://api.csfol.io/stripe/transactions/quote\",{method:\"POST\",credentials:\"include\",signal:controller.signal,headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({funding_amount:amount,taxable_amount:amount})}).then(async response=>{const data=await response.json();const q=data?.quote;if(!response.ok||!q||q.funding_amount!==amount||String(q.currency).toUpperCase()!==\"USD\"||![q.fee_amount,q.tax_amount,q.charge_amount].every(n=>Number.isSafeInteger(n)&&n>=0)||q.charge_amount!==amount+q.fee_amount+q.tax_amount){throw new Error(\"Could not confirm the payment total. Please try again.\");}if(!controller.signal.aborted)setQuote(q);}).catch(()=>{if(active)setError(\"Could not calculate the payment total. Please try again.\");});return()=>{active=false;window.clearTimeout(timeout);controller.abort();};},[amount,cancel,retry]);React.useEffect(()=>{const previous=document.activeElement;panel.current?.focus({preventScroll:true});return()=>{if(previous?.isConnected)previous.focus({preventScroll:true});};},[]);if(typeof document===\"undefined\")return null;const row=(label,value)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",gap:16},children:[/*#__PURE__*/_jsx(\"span\",{children:label}),/*#__PURE__*/_jsx(\"span\",{style:{color:PAGE_TEXT},children:value})]});return /*#__PURE__*/createPortal(/*#__PURE__*/_jsx(\"div\",{onClick:event=>{event.stopPropagation();if(!busy)onClose();},style:{position:\"fixed\",inset:0,zIndex:1e4,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:16,background:\"rgba(0,0,0,.22)\",backdropFilter:\"blur(10px)\",boxSizing:\"border-box\"},children:/*#__PURE__*/_jsxs(\"div\",{className:\"csfolio-offer-action\",ref:panel,role:\"dialog\",\"aria-modal\":\"true\",\"aria-label\":cancel?\"Cancel accepted offer\":\"Confirm offer payment\",tabIndex:-1,onClick:event=>event.stopPropagation(),onKeyDown:event=>{if(event.key===\"Escape\"&&!busy){event.stopPropagation();onClose();}if(event.key===\"Tab\"){const controls=Array.from(panel.current?.querySelectorAll(\"button:not(:disabled), input:not(:disabled), a[href]\")||[]);const first=controls[0],last=controls[controls.length-1];if(event.shiftKey&&(document.activeElement===first||document.activeElement===panel.current)){event.preventDefault();last?.focus();}else if(!event.shiftKey&&document.activeElement===last){event.preventDefault();first?.focus();}}},style:{width:\"min(380px,100%)\",maxHeight:\"calc(100dvh - 32px)\",overflowY:\"auto\",padding:18,borderRadius:10,border:`1px solid ${PAGE_BORDER}`,background:PAGE_MODAL,color:PAGE_TEXT,fontFamily:'\"DM Sans\", sans-serif',boxShadow:\"0 24px 70px rgba(0,0,0,.52)\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"h2\",{style:{fontSize:20,lineHeight:1.2,margin:\"0 0 16px\"},children:cancel?\"Cancel this offer?\":\"Confirm offer payment\"}),cancel?/*#__PURE__*/_jsx(\"p\",{style:{fontSize:14,color:PAGE_TEXT_WEAK,lineHeight:1.5},children:seller?`Cancel this accepted offer? A 10% seller failure fee (${formatUsdCents(Math.ceil(amount/10))}) will be charged to your account. The first failed accepted sale suspends all selling for 30 days; the second permanently bans selling. The buyer will not receive a non-payment strike. Use Report an issue if acceptance was a mistake.`:\"Canceling this accepted offer counts as a non-payment strike and may restrict your access to offers, bids, and buy orders.\"}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gap:10,fontSize:14,color:PAGE_TEXT_WEAK},\"aria-busy\":!quote&&!error,children:[/*#__PURE__*/_jsx(\"strong\",{style:{color:PAGE_TEXT},children:\"Order summary\"}),row(\"Marketplace items\",formatUsdCents(amount)),row(\"Card processing\",quote?formatUsdCents(quote.fee_amount):\"Calculating…\"),quote?.tax_amount>0&&row(\"Sales tax / VAT\",formatUsdCents(quote.tax_amount)),/*#__PURE__*/_jsx(\"div\",{style:{borderTop:`1px solid ${PAGE_BORDER}`,paddingTop:10},children:row(\"Required card payment\",quote?formatUsdCents(quote.charge_amount):\"Calculating…\")})]}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:12,color:PAGE_TEXT_WEAK,lineHeight:1.5},children:\"For marketplace purchases, buying multiple items together in your cart can reduce card-processing costs.\"}),/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",alignItems:\"flex-start\",gap:8,fontSize:13,color:PAGE_TEXT_WEAK,lineHeight:1.5,marginBottom:16},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:terms,disabled:busy,onChange:event=>setTerms(event.target.checked)}),\" \",/*#__PURE__*/_jsxs(\"span\",{children:[\"I agree to the\",\" \",/*#__PURE__*/_jsx(\"a\",{href:\"/#terms\",target:\"_blank\",rel:\"noopener noreferrer\",style:{color:PAGE_TEXT},children:\"Terms of Service\"}),\".\"]})]}),error&&/*#__PURE__*/_jsxs(\"div\",{role:\"alert\",style:{fontSize:13,marginBottom:12},children:[error,/*#__PURE__*/_jsx(Button,{link:\"\",variant:\"weak\",onClick:()=>setRetry(n=>n+1),children:\"Try again\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:8,marginTop:16},children:[/*#__PURE__*/_jsx(Button,{link:\"\",variant:\"weak\",disabled:busy,onClick:onClose,style:{flex:1,minHeight:44},children:cancel?\"Keep offer\":\"Back\"}),cancel?/*#__PURE__*/_jsx(HoldToConfirm,{disabled:busy,onConfirm:onConfirm,style:{flex:1},children:\"Confirm cancel\"}):/*#__PURE__*/_jsx(Button,{actionOnly:true,link:\"\",variant:\"primary\",disabled:busy||!cancel&&(!terms||!quote),onClick:onConfirm,style:{flex:1,minHeight:44},children:busy?\"Please wait…\":cancel?\"Confirm cancel\":\"Continue to payment\"})]})]})}),document.body);}\nexport const __FramerMetadata__ = {\"exports\":{\"SELLER_FAILURE_DISCLOSURE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"OfferActionDialog\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"HoldToConfirm\":{\"type\":\"reactComponent\",\"name\":\"HoldToConfirm\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,2TAA4qB,SAAgB8B,EAAc,CAAC,WAAS,YAAU,WAAS,GAAM,SAAO,CAAC,GAAK,CAAC,KAAGN,EAAgB,EAAO,CAACO,EAAUC,GAAchC,EAAe,IAAI,EAAQiC,EAAQhC,EAAa,IAAI,EAAQiC,EAAMjC,EAAa,IAAI,EAAQkC,EAAUlC,EAAa,EAAK,EAAQmC,EAAcnC,EAAaoC,CAAS,EAAE,EAAc,QAAQA,EAAU,IAAMC,EAAKpC,MAAsB,CAAIgC,EAAM,UAAU,MAAK,cAAcA,EAAM,OAAO,EAAE,EAAM,QAAQ,KAAK,EAAQ,QAAQ,KAAKF,EAAa,IAAI,CAAE,EAAE,CAAC,CAAC,EAAQO,MAAU,CAAIC,GA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